@aws-sdk/client-glacier 3.662.0 → 3.665.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.
@@ -46,6 +46,7 @@ const getRuntimeConfig = (config) => {
46
46
  streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
47
47
  useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
48
48
  useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
49
+ userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS),
49
50
  };
50
51
  };
51
52
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -2,7 +2,7 @@ import packageInfo from "../package.json";
2
2
  import { bodyChecksumGenerator } from "@aws-sdk/body-checksum-node";
3
3
  import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
4
4
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
5
- import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
5
+ import { NODE_APP_ID_CONFIG_OPTIONS, defaultUserAgent } from "@aws-sdk/util-user-agent-node";
6
6
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
7
7
  import { Hash } from "@smithy/hash-node";
8
8
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
@@ -42,5 +42,6 @@ export const getRuntimeConfig = (config) => {
42
42
  streamCollector: config?.streamCollector ?? streamCollector,
43
43
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
44
44
  useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
45
+ userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS),
45
46
  };
46
47
  };
@@ -12,7 +12,7 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
12
12
  }) => Promise<[string, string]>;
13
13
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
14
14
  credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
15
- defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
15
+ defaultUserAgentProvider: (config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
16
16
  maxAttempts: number | import("@smithy/types").Provider<number>;
17
17
  region: string | import("@smithy/types").Provider<any>;
18
18
  requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
@@ -34,6 +34,7 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
34
34
  extensions: import("./runtimeExtensions").RuntimeExtension[];
35
35
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
36
36
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
37
+ userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
37
38
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
38
39
  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;
39
40
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
@@ -12,7 +12,7 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
12
12
  }) => Promise<[string, string]>;
13
13
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
14
14
  credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
15
- defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
15
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
16
16
  maxAttempts: number | import("@smithy/types").Provider<number>;
17
17
  region: string | import("@smithy/types").Provider<string>;
18
18
  requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
@@ -21,6 +21,7 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
21
21
  streamCollector: import("@smithy/types").StreamCollector;
22
22
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
23
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
24
25
  apiVersion: string;
25
26
  cacheMiddleware?: boolean | undefined;
26
27
  urlParser: import("@smithy/types").UrlParser;
@@ -24,7 +24,7 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
24
24
  sha256: import("@smithy/types").ChecksumConstructor | import("@smithy/types").HashConstructor;
25
25
  utf8Decoder: import("@smithy/types").Decoder;
26
26
  }) => Promise<[string, string]>;
27
- defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
27
+ defaultUserAgentProvider: (config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
28
28
  credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
29
29
  maxAttempts: number | import("@smithy/types").Provider<number>;
30
30
  retryMode: string | import("@smithy/types").Provider<string>;
@@ -33,6 +33,7 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
33
33
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
34
34
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
35
35
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
36
+ userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
36
37
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
37
38
  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;
38
39
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
@@ -18,9 +18,9 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
18
18
  credentialDefaultProvider: (
19
19
  input: any
20
20
  ) => import("@smithy/types").AwsCredentialIdentityProvider;
21
- defaultUserAgentProvider: import("@smithy/types").Provider<
22
- import("@smithy/types").UserAgent
23
- >;
21
+ defaultUserAgentProvider: (
22
+ config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
23
+ ) => Promise<import("@smithy/types").UserAgent>;
24
24
  maxAttempts: number | import("@smithy/types").Provider<number>;
25
25
  region: string | import("@smithy/types").Provider<any>;
26
26
  requestHandler:
@@ -44,6 +44,10 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
44
44
  extensions: import("./runtimeExtensions").RuntimeExtension[];
45
45
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
46
46
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
47
+ userAgentAppId?:
48
+ | string
49
+ | import("@smithy/types").Provider<string | undefined>
50
+ | undefined;
47
51
  retryStrategy?:
48
52
  | import("@smithy/types").RetryStrategy
49
53
  | import("@smithy/types").RetryStrategyV2
@@ -22,9 +22,11 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
22
22
  ) => import("@smithy/types").MemoizedProvider<
23
23
  import("@smithy/types").AwsCredentialIdentity
24
24
  >;
25
- defaultUserAgentProvider: import("@smithy/types").Provider<
26
- import("@smithy/types").UserAgent
27
- >;
25
+ defaultUserAgentProvider: (
26
+ config?:
27
+ | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
28
+ | undefined
29
+ ) => Promise<import("@smithy/types").UserAgent>;
28
30
  maxAttempts: number | import("@smithy/types").Provider<number>;
29
31
  region: string | import("@smithy/types").Provider<string>;
30
32
  requestHandler:
@@ -35,6 +37,7 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
35
37
  streamCollector: import("@smithy/types").StreamCollector;
36
38
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
37
39
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
40
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
38
41
  apiVersion: string;
39
42
  cacheMiddleware?: boolean | undefined;
40
43
  urlParser: import("@smithy/types").UrlParser;
@@ -31,9 +31,9 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
31
31
  utf8Decoder: import("@smithy/types").Decoder;
32
32
  }
33
33
  ) => Promise<[string, string]>;
34
- defaultUserAgentProvider: import("@smithy/types").Provider<
35
- import("@smithy/types").UserAgent
36
- >;
34
+ defaultUserAgentProvider: (
35
+ config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
36
+ ) => Promise<import("@smithy/types").UserAgent>;
37
37
  credentialDefaultProvider: (
38
38
  input: any
39
39
  ) => import("@smithy/types").AwsCredentialIdentityProvider;
@@ -48,6 +48,10 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
48
48
  >;
49
49
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
50
50
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
51
+ userAgentAppId?:
52
+ | string
53
+ | import("@smithy/types").Provider<string | undefined>
54
+ | undefined;
51
55
  retryStrategy?:
52
56
  | import("@smithy/types").RetryStrategy
53
57
  | import("@smithy/types").RetryStrategyV2
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-glacier",
3
3
  "description": "AWS SDK for JavaScript Glacier Client for Node.js, Browser and React Native",
4
- "version": "3.662.0",
4
+ "version": "3.665.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-glacier",
@@ -20,22 +20,22 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/body-checksum-browser": "3.662.0",
24
- "@aws-sdk/body-checksum-node": "3.662.0",
25
- "@aws-sdk/client-sso-oidc": "3.662.0",
26
- "@aws-sdk/client-sts": "3.662.0",
27
- "@aws-sdk/core": "3.662.0",
28
- "@aws-sdk/credential-provider-node": "3.662.0",
29
- "@aws-sdk/middleware-host-header": "3.662.0",
30
- "@aws-sdk/middleware-logger": "3.662.0",
31
- "@aws-sdk/middleware-recursion-detection": "3.662.0",
32
- "@aws-sdk/middleware-sdk-glacier": "3.662.0",
33
- "@aws-sdk/middleware-user-agent": "3.662.0",
34
- "@aws-sdk/region-config-resolver": "3.662.0",
35
- "@aws-sdk/types": "3.662.0",
36
- "@aws-sdk/util-endpoints": "3.662.0",
37
- "@aws-sdk/util-user-agent-browser": "3.662.0",
38
- "@aws-sdk/util-user-agent-node": "3.662.0",
23
+ "@aws-sdk/body-checksum-browser": "3.664.0",
24
+ "@aws-sdk/body-checksum-node": "3.664.0",
25
+ "@aws-sdk/client-sso-oidc": "3.665.0",
26
+ "@aws-sdk/client-sts": "3.665.0",
27
+ "@aws-sdk/core": "3.665.0",
28
+ "@aws-sdk/credential-provider-node": "3.665.0",
29
+ "@aws-sdk/middleware-host-header": "3.664.0",
30
+ "@aws-sdk/middleware-logger": "3.664.0",
31
+ "@aws-sdk/middleware-recursion-detection": "3.664.0",
32
+ "@aws-sdk/middleware-sdk-glacier": "3.664.0",
33
+ "@aws-sdk/middleware-user-agent": "3.664.0",
34
+ "@aws-sdk/region-config-resolver": "3.664.0",
35
+ "@aws-sdk/types": "3.664.0",
36
+ "@aws-sdk/util-endpoints": "3.664.0",
37
+ "@aws-sdk/util-user-agent-browser": "3.664.0",
38
+ "@aws-sdk/util-user-agent-node": "3.664.0",
39
39
  "@smithy/config-resolver": "^3.0.9",
40
40
  "@smithy/core": "^2.4.7",
41
41
  "@smithy/fetch-http-handler": "^3.2.9",