Optional
Readonly
Internal
apiThe API version set internally by the SDK, and is not planned to be used by customer code.
Optional
authA comma-separated list of case-sensitive auth scheme names. An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed. For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
Optional
Internal
base64The function that will be used to convert a base64-encoded string to a byte array.
Optional
Internal
base64The function that will be used to convert binary data to a base64-encoded string.
Optional
Internal
bodyA function that can calculate the length of a request body.
Optional
cacheDefault false.
When true, the client will only resolve the middleware stack once per Command class. This means modifying the middlewareStack of the command or client after requests have been made will not be recognized.
Calling client.destroy() also clears this cache.
Enable this only if needing the additional time saved (0-1ms per request) and not needing middleware modifications between requests.
Optional
customThe custom user agent header that would be appended to default one
Optional
defaultsThe @smithy/smithy-client#DefaultsMode that will be used to determine how certain default configuration options are resolved in the SDK.
Optional
Internal
defaultThe provider populating default tracking information to be sent with user-agent
, x-amz-user-agent
header
Optional
disableDisable dynamically changing the endpoint of the client based on the hostPrefix trait of an operation.
Optional
endpointThe fully qualified endpoint of the webservice. This is only required when using a custom endpoint (for example, when using a local version of S3).
Optional
extensionsOptional extensions
Optional
Internal
httpConfiguration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
Optional
Internal
httpConfiguration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
Optional
loggerOptional logger for logging debug/info/warn/error.
Optional
maxValue for how many times a request will be made at most in case of retry.
Optional
profileSetting a client profile is similar to setting a value for the AWS_PROFILE environment variable. Setting a profile on a client in code only affects the single client instance, unlike AWS_PROFILE.
When set, and only for environments where an AWS configuration file exists, fields configurable by this file will be retrieved from the specified profile within that file. Conflicting code configuration and environment variables will still have higher priority.
For client credential resolution that involves checking the AWS configuration file, the client's profile (this value) will be used unless a different profile is set in the credential provider options.
Optional
regionThe AWS region to which this client will send requests
Optional
Internal
regionFetch related hostname, signing name or signing region with given region.
Optional
requestThe HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
Optional
retrySpecifies which retry algorithm to use.
Optional
retryThe strategy to retry the request. Using built-in exponential backoff strategy by default.
Optional
Internal
runtimeThe runtime environment.
Optional
Internal
serviceUnique service identifier.
Optional
Internal
sha256A constructor for a class implementing the @smithy/types#ChecksumConstructor interface that computes the SHA-256 HMAC or checksum of a string or binary buffer.
Optional
Internal
streamA function that converts a stream into an array of bytes.
Optional
tlsWhether TLS is enabled for requests.
Optional
tokenThe token used to authenticate requests.
Optional
Internal
urlThe function that will be used to convert strings into HTTP endpoints.
Optional
useEnables IPv6/IPv4 dualstack endpoint.
Optional
useEnables FIPS compatible endpoints.
Optional
userThe application ID used to identify the application.
Optional
Internal
utf8The function that will be used to convert a UTF8-encoded string to a byte array.
Optional
Internal
utf8The function that will be used to convert binary data to a UTF-8 encoded string.
The configuration interface of Apiv2Client class constructor that set the region, credentials and other options.