Skip to content

Interface: SQSAdapterConfiguration

The configuration interface of SQSClient class constructor that set the region, credentials and other options.

See

https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sqs/Interface/SQSClientConfig/

Extends

  • SQSClientConfig

Properties

PropertyModifierTypeDescriptionInherited from
apiVersion?readonlystringInternal The API version set internally by the SDK, and is not planned to be used by customer code.SQSClientConfig.apiVersion
base64Decoder?publicDecoderInternal The function that will be used to convert a base64-encoded string to a byte array.SQSClientConfig.base64Decoder
base64Encoder?publicEncoderInternal The function that will be used to convert binary data to a base64-encoded string.SQSClientConfig.base64Encoder
bodyLengthChecker?publicBodyLengthCalculatorInternal A function that can calculate the length of a request body.SQSClientConfig.bodyLengthChecker
cacheMiddleware?publicbooleanDefault 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.SQSClientConfig.cacheMiddleware
credentialDefaultProvider?public(input: any) => AwsCredentialIdentityProviderInternal Default credentials provider; Not available in browser runtime. DeprecatedSQSClientConfig.credentialDefaultProvider
credentials?publicAwsCredentialIdentityProvider | AwsCredentialIdentityThe credentials used to sign requests.SQSClientConfig.credentials
customUserAgent?publicstring | UserAgentThe custom user agent header that would be appended to default oneSQSClientConfig.customUserAgent
defaultsMode?publicDefaultsMode | Provider<DefaultsMode>The @smithy/smithy-client#DefaultsMode that will be used to determine how certain default configuration options are resolved in the SDK.SQSClientConfig.defaultsMode
defaultUserAgentProvider?publicProvider<UserAgent>Internal The provider populating default tracking information to be sent with user-agent, x-amz-user-agent headerSQSClientConfig.defaultUserAgentProvider
disableHostPrefix?publicbooleanDisable dynamically changing the endpoint of the client based on the hostPrefix trait of an operation.SQSClientConfig.disableHostPrefix
endpoint?public(string | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>) & (string | Provider<string> | Endpoint | Provider<...> | EndpointV2 | Provider<...>)The fully qualified endpoint of the webservice. This is only for using a custom endpoint (for example, when using a local version of S3). Endpoint transformations such as S3 applying a bucket to the hostname are still applicable to this custom endpoint.SQSClientConfig.endpoint
endpointProvider?public(params: EndpointParameters, context?: { logger: Logger; }) => EndpointV2Providing a custom endpointProvider will override built-in transformations of the endpoint such as S3 adding the bucket name to the hostname, since they are part of the default endpointProvider.SQSClientConfig.endpointProvider
extensions?publicRuntimeExtension[]Optional extensionsSQSClientConfig.extensions
httpAuthSchemeProvider?publicSQSHttpAuthSchemeProviderInternal Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.SQSClientConfig.httpAuthSchemeProvider
httpAuthSchemes?publicHttpAuthScheme[]Internal Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.SQSClientConfig.httpAuthSchemes
logger?publicLoggerOptional logger for logging debug/info/warn/error.SQSClientConfig.logger
maxAttempts?publicnumber | Provider<number>Value for how many times a request will be made at most in case of retry.SQSClientConfig.maxAttempts
md5?publicfalse | ChecksumConstructor | HashConstructorA constructor for a class implementing the __Checksum interface that computes MD5 hashes, or false to prevent MD5 computation.SQSClientConfig.md5
profile?publicstringSetting 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.SQSClientConfig.profile
region?publicstring | Provider<string>The AWS region to which this client will send requestsSQSClientConfig.region
requestHandler?public(NodeHttpHandlerOptions | FetchHttpHandlerOptions | Record<string, unknown> | RequestHandler<any, any, HttpHandlerOptions>) & HttpHandlerUserInputThe HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.SQSClientConfig.requestHandler
retryMode?publicstring | Provider<string>Specifies which retry algorithm to use. See https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/SQSClientConfig.retryMode
retryStrategy?publicRetryStrategy | RetryStrategyV2The strategy to retry the request. Using built-in exponential backoff strategy by default.SQSClientConfig.retryStrategy
runtime?publicstringInternal The runtime environment.SQSClientConfig.runtime
serviceConfiguredEndpoint?publicundefinedInternal This field is used internally so you should not fill any value to this field.SQSClientConfig.serviceConfiguredEndpoint
serviceId?publicstringInternal Unique service identifier.SQSClientConfig.serviceId
sha256?publicChecksumConstructor | HashConstructorInternal A constructor for a class implementing the @smithy/types#ChecksumConstructor interface that computes the SHA-256 HMAC or checksum of a string or binary buffer.SQSClientConfig.sha256
signer?public| RequestSigner | (authScheme?: AuthScheme) => Promise<RequestSigner>The signer to use when signing requests.SQSClientConfig.signer
signerConstructor?public(options: SignatureV4Init & SignatureV4CryptoInit) => RequestSignerInternal The injectable SigV4-compatible signer class constructor. If not supplied, regular SignatureV4 constructor will be used.SQSClientConfig.signerConstructor
signingEscapePath?publicbooleanWhether to escape request path when signing the request.SQSClientConfig.signingEscapePath
signingRegion?publicstringThe region where you want to sign your request against. This can be different to the region in the endpoint.SQSClientConfig.signingRegion
streamCollector?publicStreamCollectorInternal A function that converts a stream into an array of bytes.SQSClientConfig.streamCollector
systemClockOffset?publicnumberAn offset value in milliseconds to apply to all signing times.SQSClientConfig.systemClockOffset
tls?publicbooleanWhether TLS is enabled for requests. DeprecatedSQSClientConfig.tls
urlParser?publicUrlParserInternal The function that will be used to convert strings into HTTP endpoints.SQSClientConfig.urlParser
useDualstackEndpoint?publicboolean | Provider<boolean>Enables IPv6/IPv4 dualstack endpoint.SQSClientConfig.useDualstackEndpoint
useFipsEndpoint?publicboolean | Provider<boolean>Enables FIPS compatible endpoints.SQSClientConfig.useFipsEndpoint
useQueueUrlAsEndpoint?publicbooleanIn cases where a QueueUrl is given as input, that will be preferred as the request endpoint. Set this value to false to ignore the QueueUrl and use the client's resolved endpoint, which may be a custom endpoint.SQSClientConfig.useQueueUrlAsEndpoint
userAgentAppId?publicstring | Provider<undefined | string>The application ID used to identify the application.SQSClientConfig.userAgentAppId
utf8Decoder?publicDecoderInternal The function that will be used to convert a UTF8-encoded string to a byte array.SQSClientConfig.utf8Decoder
utf8Encoder?publicEncoderInternal The function that will be used to convert binary data to a UTF-8 encoded string.SQSClientConfig.utf8Encoder