Liking cljdoc? Tell your friends :D

cognitect.aws.region

Region providers. Primarily for internal use, and subject to change.

Region providers. Primarily for internal use, and subject to change.
raw docstring

chain-region-providerclj

(chain-region-provider providers)

Chain together multiple region providers.

fetch calls each provider in order until one returns a non-nil result, or returns nil.

Alpha. Subject to change.

Chain together multiple region providers.

`fetch` calls each provider in order until one returns a non-nil result,
or returns nil.

Alpha. Subject to change.
sourceraw docstring

default-region-providerclj

(default-region-provider http-client)

Returns a chain-region-provider with, in order:

environment-region-provider system-property-region-provider profile-region-provider instance-region-provider

Alpha. Subject to change.

Returns a chain-region-provider with, in order:

  environment-region-provider
  system-property-region-provider
  profile-region-provider
  instance-region-provider

Alpha. Subject to change.
sourceraw docstring

environment-region-providerclj

(environment-region-provider)

Returns the region from the AWS_REGION env var, or nil if not present.

Alpha. Subject to change.

Returns the region from the AWS_REGION env var, or nil if not present.

Alpha. Subject to change.
sourceraw docstring

fetch-asyncclj

(fetch-async provider)

Returns a channel that will produce the result of calling fetch on the provider.

Alpha. Subject to change.

Returns a channel that will produce the result of calling fetch on
the provider.

Alpha. Subject to change.
sourceraw docstring

instance-region-providerclj

(instance-region-provider http-client)

Returns the region from the ec2 instance's metadata service, or nil if the service can not be found.

Alpha. Subject to change.

Returns the region from the ec2 instance's metadata service,
or nil if the service can not be found.

Alpha. Subject to change.
sourceraw docstring

profile-region-providerclj

(profile-region-provider)
(profile-region-provider profile-name)
(profile-region-provider profile-name f)

Returns the region from an AWS configuration profile.

Arguments:

f File The profile configuration file. (default: ~/.aws/config) profile-name string The name of the profile in the file. (default: default)

Parsed properties:

region required

Alpha. Subject to change.

Returns the region from an AWS configuration profile.

Arguments:

  f             File    The profile configuration file. (default: ~/.aws/config)
  profile-name  string  The name of the profile in the file. (default: default)

Parsed properties:

  region        required

Alpha. Subject to change.
sourceraw docstring

RegionProvidercljprotocol

fetchclj

(fetch _)

Returns the region found by this provider, or nil.

Returns the region found by this provider, or nil.
source

system-property-region-providerclj

(system-property-region-provider)

Returns the region from the aws.region system property, or nil if not present.

Alpha. Subject to change.

Returns the region from the aws.region system property, or nil if not present.

Alpha. Subject to change.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close