@aws-sdk/client-sqs 3.621.0 → 3.622.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +13 -19
- package/dist-es/SQSClient.js +13 -19
- package/dist-types/SQSClient.d.ts +7 -9
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/SQSClient.d.ts +7 -9
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +6 -6
- package/package.json +11 -11
package/dist-cjs/index.js
CHANGED
|
@@ -185,27 +185,29 @@ var _SQSClient = class _SQSClient extends import_smithy_client.Client {
|
|
|
185
185
|
constructor(...[configuration]) {
|
|
186
186
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
187
187
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
188
|
-
const _config_2 = (0,
|
|
189
|
-
const _config_3 = (0,
|
|
190
|
-
const _config_4 = (0,
|
|
191
|
-
const _config_5 = (0,
|
|
192
|
-
const _config_6 = (0,
|
|
193
|
-
const _config_7 = (0,
|
|
188
|
+
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
189
|
+
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
190
|
+
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
191
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
192
|
+
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
193
|
+
const _config_7 = (0, import_middleware_sdk_sqs.resolveQueueUrlConfig)(_config_6);
|
|
194
194
|
const _config_8 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_7);
|
|
195
195
|
const _config_9 = resolveRuntimeExtensions(_config_8, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
196
196
|
super(_config_9);
|
|
197
197
|
this.config = _config_9;
|
|
198
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
199
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
200
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
198
201
|
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
199
202
|
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
200
203
|
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
201
204
|
this.middlewareStack.use((0, import_middleware_sdk_sqs.getQueueUrlPlugin)(this.config));
|
|
202
|
-
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
203
|
-
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
204
|
-
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
205
205
|
this.middlewareStack.use(
|
|
206
206
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
207
|
-
httpAuthSchemeParametersProvider:
|
|
208
|
-
identityProviderConfigProvider:
|
|
207
|
+
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSQSHttpAuthSchemeParametersProvider,
|
|
208
|
+
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
209
|
+
"aws.auth#sigv4": config.credentials
|
|
210
|
+
})
|
|
209
211
|
})
|
|
210
212
|
);
|
|
211
213
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -218,14 +220,6 @@ var _SQSClient = class _SQSClient extends import_smithy_client.Client {
|
|
|
218
220
|
destroy() {
|
|
219
221
|
super.destroy();
|
|
220
222
|
}
|
|
221
|
-
getDefaultHttpAuthSchemeParametersProvider() {
|
|
222
|
-
return import_httpAuthSchemeProvider.defaultSQSHttpAuthSchemeParametersProvider;
|
|
223
|
-
}
|
|
224
|
-
getIdentityProviderConfigProvider() {
|
|
225
|
-
return async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
226
|
-
"aws.auth#sigv4": config.credentials
|
|
227
|
-
});
|
|
228
|
-
}
|
|
229
223
|
};
|
|
230
224
|
__name(_SQSClient, "SQSClient");
|
|
231
225
|
var SQSClient = _SQSClient;
|
package/dist-es/SQSClient.js
CHANGED
|
@@ -18,38 +18,32 @@ export class SQSClient extends __Client {
|
|
|
18
18
|
constructor(...[configuration]) {
|
|
19
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
20
20
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
21
|
-
const _config_2 =
|
|
22
|
-
const _config_3 =
|
|
23
|
-
const _config_4 =
|
|
24
|
-
const _config_5 =
|
|
25
|
-
const _config_6 =
|
|
26
|
-
const _config_7 =
|
|
21
|
+
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
22
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
23
|
+
const _config_4 = resolveRegionConfig(_config_3);
|
|
24
|
+
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
25
|
+
const _config_6 = resolveEndpointConfig(_config_5);
|
|
26
|
+
const _config_7 = resolveQueueUrlConfig(_config_6);
|
|
27
27
|
const _config_8 = resolveHttpAuthSchemeConfig(_config_7);
|
|
28
28
|
const _config_9 = resolveRuntimeExtensions(_config_8, configuration?.extensions || []);
|
|
29
29
|
super(_config_9);
|
|
30
30
|
this.config = _config_9;
|
|
31
|
+
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
32
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
33
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
31
34
|
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
32
35
|
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
33
36
|
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
34
37
|
this.middlewareStack.use(getQueueUrlPlugin(this.config));
|
|
35
|
-
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
36
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
37
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
38
38
|
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
39
|
-
httpAuthSchemeParametersProvider:
|
|
40
|
-
identityProviderConfigProvider:
|
|
39
|
+
httpAuthSchemeParametersProvider: defaultSQSHttpAuthSchemeParametersProvider,
|
|
40
|
+
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
|
|
41
|
+
"aws.auth#sigv4": config.credentials,
|
|
42
|
+
}),
|
|
41
43
|
}));
|
|
42
44
|
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
43
45
|
}
|
|
44
46
|
destroy() {
|
|
45
47
|
super.destroy();
|
|
46
48
|
}
|
|
47
|
-
getDefaultHttpAuthSchemeParametersProvider() {
|
|
48
|
-
return defaultSQSHttpAuthSchemeParametersProvider;
|
|
49
|
-
}
|
|
50
|
-
getIdentityProviderConfigProvider() {
|
|
51
|
-
return async (config) => new DefaultIdentityProviderConfig({
|
|
52
|
-
"aws.auth#sigv4": config.credentials,
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
49
|
}
|
|
@@ -118,11 +118,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
118
118
|
* The AWS region to which this client will send requests
|
|
119
119
|
*/
|
|
120
120
|
region?: string | __Provider<string>;
|
|
121
|
-
/**
|
|
122
|
-
* A constructor for a class implementing the {@link __Checksum} interface
|
|
123
|
-
* that computes MD5 hashes, or false to prevent MD5 computation.
|
|
124
|
-
*/
|
|
125
|
-
md5?: __ChecksumConstructor | __HashConstructor | false;
|
|
126
121
|
/**
|
|
127
122
|
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
128
123
|
* @internal
|
|
@@ -134,6 +129,11 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
134
129
|
* @internal
|
|
135
130
|
*/
|
|
136
131
|
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
132
|
+
/**
|
|
133
|
+
* A constructor for a class implementing the {@link __Checksum} interface
|
|
134
|
+
* that computes MD5 hashes, or false to prevent MD5 computation.
|
|
135
|
+
*/
|
|
136
|
+
md5?: __ChecksumConstructor | __HashConstructor | false;
|
|
137
137
|
/**
|
|
138
138
|
* Value for how many times a request will be made at most in case of retry.
|
|
139
139
|
*/
|
|
@@ -160,7 +160,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
160
160
|
/**
|
|
161
161
|
* @public
|
|
162
162
|
*/
|
|
163
|
-
export type SQSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults &
|
|
163
|
+
export type SQSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & QueueUrlInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
164
164
|
/**
|
|
165
165
|
* @public
|
|
166
166
|
*
|
|
@@ -171,7 +171,7 @@ export interface SQSClientConfig extends SQSClientConfigType {
|
|
|
171
171
|
/**
|
|
172
172
|
* @public
|
|
173
173
|
*/
|
|
174
|
-
export type SQSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig &
|
|
174
|
+
export type SQSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & QueueUrlResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
175
175
|
/**
|
|
176
176
|
* @public
|
|
177
177
|
*
|
|
@@ -266,6 +266,4 @@ export declare class SQSClient extends __Client<__HttpHandlerOptions, ServiceInp
|
|
|
266
266
|
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
267
267
|
*/
|
|
268
268
|
destroy(): void;
|
|
269
|
-
private getDefaultHttpAuthSchemeParametersProvider;
|
|
270
|
-
private getIdentityProviderConfigProvider;
|
|
271
269
|
}
|
|
@@ -30,12 +30,12 @@ export declare const defaultSQSHttpAuthSchemeProvider: SQSHttpAuthSchemeProvider
|
|
|
30
30
|
*/
|
|
31
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
34
34
|
* @internal
|
|
35
35
|
*/
|
|
36
36
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
39
39
|
* @internal
|
|
40
40
|
*/
|
|
41
41
|
httpAuthSchemeProvider?: SQSHttpAuthSchemeProvider;
|
|
@@ -45,12 +45,12 @@ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
|
45
45
|
*/
|
|
46
46
|
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
49
49
|
* @internal
|
|
50
50
|
*/
|
|
51
51
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
54
54
|
* @internal
|
|
55
55
|
*/
|
|
56
56
|
readonly httpAuthSchemeProvider: SQSHttpAuthSchemeProvider;
|
|
@@ -28,14 +28,14 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
28
28
|
serviceId: string;
|
|
29
29
|
logger: import("@smithy/types").Logger;
|
|
30
30
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
31
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
31
33
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
32
34
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
33
35
|
logger?: import("@smithy/types").Logger | undefined;
|
|
34
36
|
}) => import("@smithy/types").EndpointV2;
|
|
35
37
|
tls?: boolean | undefined;
|
|
36
38
|
useQueueUrlAsEndpoint?: boolean | undefined;
|
|
37
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
38
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
39
39
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
40
40
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SQSHttpAuthSchemeProvider;
|
|
41
41
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -29,14 +29,14 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
29
29
|
serviceId: string;
|
|
30
30
|
logger: import("@smithy/types").Logger;
|
|
31
31
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
33
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
32
34
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
33
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
34
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
35
37
|
}) => import("@smithy/types").EndpointV2;
|
|
36
38
|
tls?: boolean | undefined;
|
|
37
39
|
useQueueUrlAsEndpoint?: boolean | undefined;
|
|
38
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
39
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
40
40
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
41
41
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SQSHttpAuthSchemeProvider;
|
|
42
42
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -19,22 +19,22 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
region: string | import("@smithy/types").Provider<any>;
|
|
22
|
-
md5: false | import("@smithy/types").HashConstructor;
|
|
23
22
|
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
24
23
|
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
24
|
+
md5: false | import("@smithy/types").HashConstructor;
|
|
25
25
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
26
26
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
27
27
|
logger: import("@smithy/types").Logger;
|
|
28
28
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
29
29
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
30
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
31
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
30
32
|
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
31
33
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
32
34
|
logger?: import("@smithy/types").Logger | undefined;
|
|
33
35
|
}) => import("@smithy/types").EndpointV2;
|
|
34
36
|
tls?: boolean | undefined;
|
|
35
37
|
useQueueUrlAsEndpoint?: boolean | undefined;
|
|
36
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
37
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
38
38
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
39
39
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SQSHttpAuthSchemeProvider;
|
|
40
40
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -213,9 +213,9 @@ export interface ClientDefaults
|
|
|
213
213
|
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
214
214
|
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
215
215
|
region?: string | __Provider<string>;
|
|
216
|
-
md5?: __ChecksumConstructor | __HashConstructor | false;
|
|
217
216
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
218
217
|
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
218
|
+
md5?: __ChecksumConstructor | __HashConstructor | false;
|
|
219
219
|
maxAttempts?: number | __Provider<number>;
|
|
220
220
|
retryMode?: string | __Provider<string>;
|
|
221
221
|
logger?: __Logger;
|
|
@@ -226,12 +226,12 @@ export type SQSClientConfigType = Partial<
|
|
|
226
226
|
__SmithyConfiguration<__HttpHandlerOptions>
|
|
227
227
|
> &
|
|
228
228
|
ClientDefaults &
|
|
229
|
+
UserAgentInputConfig &
|
|
230
|
+
RetryInputConfig &
|
|
229
231
|
RegionInputConfig &
|
|
230
|
-
EndpointInputConfig<EndpointParameters> &
|
|
231
232
|
HostHeaderInputConfig &
|
|
233
|
+
EndpointInputConfig<EndpointParameters> &
|
|
232
234
|
QueueUrlInputConfig &
|
|
233
|
-
UserAgentInputConfig &
|
|
234
|
-
RetryInputConfig &
|
|
235
235
|
HttpAuthSchemeInputConfig &
|
|
236
236
|
ClientInputEndpointParameters;
|
|
237
237
|
export interface SQSClientConfig extends SQSClientConfigType {}
|
|
@@ -239,12 +239,12 @@ export type SQSClientResolvedConfigType =
|
|
|
239
239
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
240
240
|
Required<ClientDefaults> &
|
|
241
241
|
RuntimeExtensionsConfig &
|
|
242
|
+
UserAgentResolvedConfig &
|
|
243
|
+
RetryResolvedConfig &
|
|
242
244
|
RegionResolvedConfig &
|
|
243
|
-
EndpointResolvedConfig<EndpointParameters> &
|
|
244
245
|
HostHeaderResolvedConfig &
|
|
246
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
245
247
|
QueueUrlResolvedConfig &
|
|
246
|
-
UserAgentResolvedConfig &
|
|
247
|
-
RetryResolvedConfig &
|
|
248
248
|
HttpAuthSchemeResolvedConfig &
|
|
249
249
|
ClientResolvedEndpointParameters;
|
|
250
250
|
export interface SQSClientResolvedConfig extends SQSClientResolvedConfigType {}
|
|
@@ -257,6 +257,4 @@ export declare class SQSClient extends __Client<
|
|
|
257
257
|
readonly config: SQSClientResolvedConfig;
|
|
258
258
|
constructor(...[configuration]: __CheckOptionalClientConfig<SQSClientConfig>);
|
|
259
259
|
destroy(): void;
|
|
260
|
-
private getDefaultHttpAuthSchemeParametersProvider;
|
|
261
|
-
private getIdentityProviderConfigProvider;
|
|
262
260
|
}
|
|
@@ -33,6 +33,11 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
33
33
|
serviceId: string;
|
|
34
34
|
logger: import("@smithy/types").Logger;
|
|
35
35
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
36
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
37
|
+
retryStrategy?:
|
|
38
|
+
| import("@smithy/types").RetryStrategy
|
|
39
|
+
| import("@smithy/types").RetryStrategyV2
|
|
40
|
+
| undefined;
|
|
36
41
|
endpoint?:
|
|
37
42
|
| ((
|
|
38
43
|
| string
|
|
@@ -58,11 +63,6 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
58
63
|
) => import("@smithy/types").EndpointV2;
|
|
59
64
|
tls?: boolean | undefined;
|
|
60
65
|
useQueueUrlAsEndpoint?: boolean | undefined;
|
|
61
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
62
|
-
retryStrategy?:
|
|
63
|
-
| import("@smithy/types").RetryStrategy
|
|
64
|
-
| import("@smithy/types").RetryStrategyV2
|
|
65
|
-
| undefined;
|
|
66
66
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
67
67
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SQSHttpAuthSchemeProvider;
|
|
68
68
|
credentials?:
|
|
@@ -38,6 +38,11 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
38
38
|
serviceId: string;
|
|
39
39
|
logger: import("@smithy/types").Logger;
|
|
40
40
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
42
|
+
retryStrategy?:
|
|
43
|
+
| import("@smithy/types").RetryStrategy
|
|
44
|
+
| import("@smithy/types").RetryStrategyV2
|
|
45
|
+
| undefined;
|
|
41
46
|
endpoint?:
|
|
42
47
|
| ((
|
|
43
48
|
| string
|
|
@@ -63,11 +68,6 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
63
68
|
) => import("@smithy/types").EndpointV2;
|
|
64
69
|
tls?: boolean | undefined;
|
|
65
70
|
useQueueUrlAsEndpoint?: boolean | undefined;
|
|
66
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
67
|
-
retryStrategy?:
|
|
68
|
-
| import("@smithy/types").RetryStrategy
|
|
69
|
-
| import("@smithy/types").RetryStrategyV2
|
|
70
|
-
| undefined;
|
|
71
71
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
72
72
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SQSHttpAuthSchemeProvider;
|
|
73
73
|
credentials?:
|
|
@@ -21,13 +21,13 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
21
21
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
23
23
|
region: string | import("@smithy/types").Provider<any>;
|
|
24
|
-
md5: false | import("@smithy/types").HashConstructor;
|
|
25
24
|
defaultUserAgentProvider: import("@smithy/types").Provider<
|
|
26
25
|
import("@smithy/types").UserAgent
|
|
27
26
|
>;
|
|
28
27
|
credentialDefaultProvider: (
|
|
29
28
|
input: any
|
|
30
29
|
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
30
|
+
md5: false | import("@smithy/types").HashConstructor;
|
|
31
31
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
32
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
33
33
|
logger: import("@smithy/types").Logger;
|
|
@@ -37,6 +37,11 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
37
37
|
| import("@smithy/types").Provider<
|
|
38
38
|
import("@smithy/smithy-client").DefaultsMode
|
|
39
39
|
>;
|
|
40
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
41
|
+
retryStrategy?:
|
|
42
|
+
| import("@smithy/types").RetryStrategy
|
|
43
|
+
| import("@smithy/types").RetryStrategyV2
|
|
44
|
+
| undefined;
|
|
40
45
|
endpoint?:
|
|
41
46
|
| string
|
|
42
47
|
| import("@smithy/types").Endpoint
|
|
@@ -52,11 +57,6 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
52
57
|
) => import("@smithy/types").EndpointV2;
|
|
53
58
|
tls?: boolean | undefined;
|
|
54
59
|
useQueueUrlAsEndpoint?: boolean | undefined;
|
|
55
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
56
|
-
retryStrategy?:
|
|
57
|
-
| import("@smithy/types").RetryStrategy
|
|
58
|
-
| import("@smithy/types").RetryStrategyV2
|
|
59
|
-
| undefined;
|
|
60
60
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
61
61
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SQSHttpAuthSchemeProvider;
|
|
62
62
|
credentials?:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sqs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sqs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.622.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sqs",
|
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.622.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.622.0",
|
|
25
|
+
"@aws-sdk/core": "3.622.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.622.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.620.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.609.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.620.0",
|
|
30
|
-
"@aws-sdk/middleware-sdk-sqs": "3.
|
|
30
|
+
"@aws-sdk/middleware-sdk-sqs": "3.622.0",
|
|
31
31
|
"@aws-sdk/middleware-user-agent": "3.620.0",
|
|
32
32
|
"@aws-sdk/region-config-resolver": "3.614.0",
|
|
33
33
|
"@aws-sdk/types": "3.609.0",
|
|
@@ -35,27 +35,27 @@
|
|
|
35
35
|
"@aws-sdk/util-user-agent-browser": "3.609.0",
|
|
36
36
|
"@aws-sdk/util-user-agent-node": "3.614.0",
|
|
37
37
|
"@smithy/config-resolver": "^3.0.5",
|
|
38
|
-
"@smithy/core": "^2.3.
|
|
38
|
+
"@smithy/core": "^2.3.2",
|
|
39
39
|
"@smithy/fetch-http-handler": "^3.2.4",
|
|
40
40
|
"@smithy/hash-node": "^3.0.3",
|
|
41
41
|
"@smithy/invalid-dependency": "^3.0.3",
|
|
42
42
|
"@smithy/md5-js": "^3.0.3",
|
|
43
43
|
"@smithy/middleware-content-length": "^3.0.5",
|
|
44
44
|
"@smithy/middleware-endpoint": "^3.1.0",
|
|
45
|
-
"@smithy/middleware-retry": "^3.0.
|
|
45
|
+
"@smithy/middleware-retry": "^3.0.14",
|
|
46
46
|
"@smithy/middleware-serde": "^3.0.3",
|
|
47
47
|
"@smithy/middleware-stack": "^3.0.3",
|
|
48
48
|
"@smithy/node-config-provider": "^3.1.4",
|
|
49
49
|
"@smithy/node-http-handler": "^3.1.4",
|
|
50
50
|
"@smithy/protocol-http": "^4.1.0",
|
|
51
|
-
"@smithy/smithy-client": "^3.1.
|
|
51
|
+
"@smithy/smithy-client": "^3.1.12",
|
|
52
52
|
"@smithy/types": "^3.3.0",
|
|
53
53
|
"@smithy/url-parser": "^3.0.3",
|
|
54
54
|
"@smithy/util-base64": "^3.0.0",
|
|
55
55
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
56
56
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
57
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
58
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
57
|
+
"@smithy/util-defaults-mode-browser": "^3.0.14",
|
|
58
|
+
"@smithy/util-defaults-mode-node": "^3.0.14",
|
|
59
59
|
"@smithy/util-endpoints": "^2.0.5",
|
|
60
60
|
"@smithy/util-middleware": "^3.0.3",
|
|
61
61
|
"@smithy/util-retry": "^3.0.3",
|