@aws-sdk/client-glacier 3.331.0 → 3.335.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/protocols/Aws_restJson1.js +1 -1
- package/dist-es/protocols/Aws_restJson1.js +1 -1
- package/dist-types/GlacierClient.d.ts +3 -2
- package/dist-types/endpoint/EndpointParameters.d.ts +2 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -2
- package/dist-types/runtimeConfig.browser.d.ts +13 -13
- package/dist-types/runtimeConfig.d.ts +10 -10
- package/dist-types/runtimeConfig.native.d.ts +14 -14
- package/dist-types/runtimeConfig.shared.d.ts +4 -4
- package/dist-types/ts3.4/GlacierClient.d.ts +7 -5
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -2
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -5
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +19 -16
- package/dist-types/ts3.4/runtimeConfig.d.ts +13 -13
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +21 -16
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
- package/package.json +7 -6
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.de_GetVaultNotificationsCommand = exports.de_GetVaultLockCommand = exports.de_GetVaultAccessPolicyCommand = exports.de_GetJobOutputCommand = exports.de_GetDataRetrievalPolicyCommand = exports.de_DescribeVaultCommand = exports.de_DescribeJobCommand = exports.de_DeleteVaultNotificationsCommand = exports.de_DeleteVaultAccessPolicyCommand = exports.de_DeleteVaultCommand = exports.de_DeleteArchiveCommand = exports.de_CreateVaultCommand = exports.de_CompleteVaultLockCommand = exports.de_CompleteMultipartUploadCommand = exports.de_AddTagsToVaultCommand = exports.de_AbortVaultLockCommand = exports.de_AbortMultipartUploadCommand = exports.se_UploadMultipartPartCommand = exports.se_UploadArchiveCommand = exports.se_SetVaultNotificationsCommand = exports.se_SetVaultAccessPolicyCommand = exports.se_SetDataRetrievalPolicyCommand = exports.se_RemoveTagsFromVaultCommand = exports.se_PurchaseProvisionedCapacityCommand = exports.se_ListVaultsCommand = exports.se_ListTagsForVaultCommand = exports.se_ListProvisionedCapacityCommand = exports.se_ListPartsCommand = exports.se_ListMultipartUploadsCommand = exports.se_ListJobsCommand = exports.se_InitiateVaultLockCommand = exports.se_InitiateMultipartUploadCommand = exports.se_InitiateJobCommand = exports.se_GetVaultNotificationsCommand = exports.se_GetVaultLockCommand = exports.se_GetVaultAccessPolicyCommand = exports.se_GetJobOutputCommand = exports.se_GetDataRetrievalPolicyCommand = exports.se_DescribeVaultCommand = exports.se_DescribeJobCommand = exports.se_DeleteVaultNotificationsCommand = exports.se_DeleteVaultAccessPolicyCommand = exports.se_DeleteVaultCommand = exports.se_DeleteArchiveCommand = exports.se_CreateVaultCommand = exports.se_CompleteVaultLockCommand = exports.se_CompleteMultipartUploadCommand = exports.se_AddTagsToVaultCommand = exports.se_AbortVaultLockCommand = exports.se_AbortMultipartUploadCommand = void 0;
|
|
4
4
|
exports.de_UploadMultipartPartCommand = exports.de_UploadArchiveCommand = exports.de_SetVaultNotificationsCommand = exports.de_SetVaultAccessPolicyCommand = exports.de_SetDataRetrievalPolicyCommand = exports.de_RemoveTagsFromVaultCommand = exports.de_PurchaseProvisionedCapacityCommand = exports.de_ListVaultsCommand = exports.de_ListTagsForVaultCommand = exports.de_ListProvisionedCapacityCommand = exports.de_ListPartsCommand = exports.de_ListMultipartUploadsCommand = exports.de_ListJobsCommand = exports.de_InitiateVaultLockCommand = exports.de_InitiateMultipartUploadCommand = exports.de_InitiateJobCommand = void 0;
|
|
5
|
-
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
6
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const protocol_http_1 = require("@smithy/protocol-http");
|
|
7
7
|
const GlacierServiceException_1 = require("../models/GlacierServiceException");
|
|
8
8
|
const models_0_1 = require("../models/models_0");
|
|
9
9
|
const se_AbortMultipartUploadCommand = async (input, context) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
1
|
import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, resolvedPath as __resolvedPath, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { GlacierServiceException as __BaseException } from "../models/GlacierServiceException";
|
|
4
4
|
import { InsufficientCapacityException, InvalidParameterValueException, LimitExceededException, MissingParameterValueException, PolicyEnforcedException, RequestTimeoutException, ResourceNotFoundException, ServiceUnavailableException, } from "../models/models_0";
|
|
5
5
|
export const se_AbortMultipartUploadCommand = async (input, context) => {
|
|
@@ -4,9 +4,10 @@ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middle
|
|
|
4
4
|
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
5
5
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
6
6
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
7
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
8
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
|
-
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials,
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest as __HttpRequest, Logger as __Logger, Provider, SdkStreamMixinInjector as __SdkStreamMixinInjector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
|
+
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
10
|
+
import { Decoder as __Decoder, Encoder as __Encoder, Provider as __Provider, StreamCollector as __StreamCollector } from "@smithy/types";
|
|
10
11
|
import { AbortMultipartUploadCommandInput, AbortMultipartUploadCommandOutput } from "./commands/AbortMultipartUploadCommand";
|
|
11
12
|
import { AbortVaultLockCommandInput, AbortVaultLockCommandOutput } from "./commands/AbortVaultLockCommand";
|
|
12
13
|
import { AddTagsToVaultCommandInput, AddTagsToVaultCommandOutput } from "./commands/AddTagsToVaultCommand";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EndpointParameters as __EndpointParameters, EndpointV2 } from "@aws-sdk/types";
|
|
2
|
+
import { Endpoint, Provider } from "@smithy/types";
|
|
2
3
|
export interface ClientInputEndpointParameters {
|
|
3
4
|
region?: string | Provider<string>;
|
|
4
5
|
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { SdkStreamSerdeContext as __SdkStreamSerdeContext } from "@aws-sdk/types";
|
|
2
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
3
|
+
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
3
4
|
import { AbortMultipartUploadCommandInput, AbortMultipartUploadCommandOutput } from "../commands/AbortMultipartUploadCommand";
|
|
4
5
|
import { AbortVaultLockCommandInput, AbortVaultLockCommandOutput } from "../commands/AbortVaultLockCommand";
|
|
5
6
|
import { AddTagsToVaultCommandInput, AddTagsToVaultCommandOutput } from "../commands/AddTagsToVaultCommand";
|
|
@@ -8,30 +8,30 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyChecksumGenerator: (request: import("@aws-sdk/types").HttpRequest, options: {
|
|
10
10
|
sha256: import("@aws-sdk/types").ChecksumConstructor | import("@aws-sdk/types").HashConstructor;
|
|
11
|
-
utf8Decoder: import("@
|
|
11
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
12
12
|
}) => Promise<[string, string]>;
|
|
13
13
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
14
|
-
credentialDefaultProvider: (input: any) => import("@
|
|
14
|
+
credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
15
15
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
16
|
-
maxAttempts: number | import("@aws-sdk/types").Provider<number
|
|
16
|
+
maxAttempts: (number | import("@smithy/types").Provider<number>) & (number | import("@aws-sdk/types").Provider<number>);
|
|
17
17
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
18
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@
|
|
19
|
-
retryMode: string | import("@
|
|
18
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
|
|
19
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
20
20
|
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
21
21
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
22
|
-
streamCollector: import("@
|
|
23
|
-
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean
|
|
24
|
-
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean
|
|
22
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
23
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
24
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
25
25
|
apiVersion: string;
|
|
26
26
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
27
|
-
base64Decoder: import("@
|
|
28
|
-
base64Encoder: import("@
|
|
29
|
-
utf8Decoder: import("@
|
|
30
|
-
utf8Encoder: import("@
|
|
27
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
28
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
29
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
30
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
31
31
|
disableHostPrefix: boolean;
|
|
32
32
|
serviceId: string;
|
|
33
33
|
logger: import("@aws-sdk/types").Logger;
|
|
34
|
-
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@
|
|
34
|
+
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
|
|
35
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
36
36
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
37
37
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
@@ -8,30 +8,30 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyChecksumGenerator: (request: import("@aws-sdk/types").HttpRequest, options: {
|
|
10
10
|
sha256: import("@aws-sdk/types").ChecksumConstructor | import("@aws-sdk/types").HashConstructor;
|
|
11
|
-
utf8Decoder: import("@
|
|
11
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
12
12
|
}) => Promise<[string, string]>;
|
|
13
13
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
14
|
-
credentialDefaultProvider: (input: any) => import("@
|
|
14
|
+
credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
15
15
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
16
16
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
17
17
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
18
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@
|
|
19
|
-
retryMode: string | import("@
|
|
18
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
|
|
19
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
20
20
|
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
21
21
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
22
|
-
streamCollector: import("@
|
|
22
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
23
23
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
24
24
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
25
25
|
apiVersion: string;
|
|
26
26
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
27
|
-
base64Decoder: import("@
|
|
28
|
-
base64Encoder: import("@
|
|
29
|
-
utf8Decoder: import("@
|
|
30
|
-
utf8Encoder: import("@
|
|
27
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
28
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
29
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
30
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
31
31
|
disableHostPrefix: boolean;
|
|
32
32
|
serviceId: string;
|
|
33
33
|
logger: import("@aws-sdk/types").Logger;
|
|
34
|
-
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@
|
|
34
|
+
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
|
|
35
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
36
36
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
37
37
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
@@ -5,32 +5,32 @@ import { GlacierClientConfig } from "./GlacierClient";
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
|
|
6
6
|
runtime: string;
|
|
7
7
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
8
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@
|
|
8
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
11
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
|
-
streamCollector: import("@
|
|
13
|
-
base64Decoder: import("@
|
|
14
|
-
base64Encoder: import("@
|
|
15
|
-
utf8Decoder: import("@
|
|
16
|
-
utf8Encoder: import("@
|
|
12
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
13
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
14
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
15
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
16
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
17
17
|
disableHostPrefix: boolean;
|
|
18
18
|
serviceId: string;
|
|
19
|
-
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean
|
|
20
|
-
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean
|
|
19
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
20
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
21
21
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
22
|
-
credentialDefaultProvider: (input: any) => import("@
|
|
22
|
+
credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
23
23
|
bodyChecksumGenerator: (request: import("@aws-sdk/types").HttpRequest, options: {
|
|
24
24
|
sha256: import("@aws-sdk/types").ChecksumConstructor | import("@aws-sdk/types").HashConstructor;
|
|
25
|
-
utf8Decoder: import("@
|
|
25
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
26
26
|
}) => Promise<[string, string]>;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
-
maxAttempts: number | import("@aws-sdk/types").Provider<number
|
|
29
|
-
retryMode: string | import("@
|
|
28
|
+
maxAttempts: (number | import("@smithy/types").Provider<number>) & (number | import("@aws-sdk/types").Provider<number>);
|
|
29
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
30
30
|
logger: import("@aws-sdk/types").Logger;
|
|
31
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@
|
|
31
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
32
32
|
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
33
|
-
endpoint?: string | import("@aws-sdk/types").
|
|
33
|
+
endpoint?: string | import("@aws-sdk/types").EndpointV2 | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> & import("@smithy/types").Provider<import("@smithy/types").Endpoint>) | (import("@aws-sdk/types").Endpoint & import("@smithy/types").Endpoint) | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> & import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>) | undefined;
|
|
34
34
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
35
35
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
36
36
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
@@ -4,8 +4,8 @@ import { GlacierClientConfig } from "./GlacierClient";
|
|
|
4
4
|
*/
|
|
5
5
|
export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
|
|
6
6
|
apiVersion: string;
|
|
7
|
-
base64Decoder: import("@
|
|
8
|
-
base64Encoder: import("@
|
|
7
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
8
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
9
9
|
disableHostPrefix: boolean;
|
|
10
10
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
11
11
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
@@ -13,6 +13,6 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
|
|
|
13
13
|
logger: import("@aws-sdk/types").Logger;
|
|
14
14
|
serviceId: string;
|
|
15
15
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
16
|
-
utf8Decoder: import("@
|
|
17
|
-
utf8Encoder: import("@
|
|
16
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
17
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
18
18
|
};
|
|
@@ -22,7 +22,6 @@ import {
|
|
|
22
22
|
UserAgentInputConfig,
|
|
23
23
|
UserAgentResolvedConfig,
|
|
24
24
|
} from "@aws-sdk/middleware-user-agent";
|
|
25
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
26
25
|
import {
|
|
27
26
|
Client as __Client,
|
|
28
27
|
DefaultsMode as __DefaultsMode,
|
|
@@ -33,19 +32,22 @@ import {
|
|
|
33
32
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
34
33
|
ChecksumConstructor as __ChecksumConstructor,
|
|
35
34
|
Credentials as __Credentials,
|
|
36
|
-
Decoder as __Decoder,
|
|
37
|
-
Encoder as __Encoder,
|
|
38
35
|
HashConstructor as __HashConstructor,
|
|
39
36
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
40
37
|
HttpRequest as __HttpRequest,
|
|
41
38
|
Logger as __Logger,
|
|
42
|
-
Provider as __Provider,
|
|
43
39
|
Provider,
|
|
44
40
|
SdkStreamMixinInjector as __SdkStreamMixinInjector,
|
|
45
|
-
StreamCollector as __StreamCollector,
|
|
46
41
|
UrlParser as __UrlParser,
|
|
47
42
|
UserAgent as __UserAgent,
|
|
48
43
|
} from "@aws-sdk/types";
|
|
44
|
+
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
45
|
+
import {
|
|
46
|
+
Decoder as __Decoder,
|
|
47
|
+
Encoder as __Encoder,
|
|
48
|
+
Provider as __Provider,
|
|
49
|
+
StreamCollector as __StreamCollector,
|
|
50
|
+
} from "@smithy/types";
|
|
49
51
|
import {
|
|
50
52
|
AbortMultipartUploadCommandInput,
|
|
51
53
|
AbortMultipartUploadCommandOutput,
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Endpoint,
|
|
3
2
|
EndpointParameters as __EndpointParameters,
|
|
4
3
|
EndpointV2,
|
|
5
|
-
Provider,
|
|
6
4
|
} from "@aws-sdk/types";
|
|
5
|
+
import { Endpoint, Provider } from "@smithy/types";
|
|
7
6
|
export interface ClientInputEndpointParameters {
|
|
8
7
|
region?: string | Provider<string>;
|
|
9
8
|
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
+
import { SdkStreamSerdeContext as __SdkStreamSerdeContext } from "@aws-sdk/types";
|
|
1
2
|
import {
|
|
2
3
|
HttpRequest as __HttpRequest,
|
|
3
4
|
HttpResponse as __HttpResponse,
|
|
4
|
-
} from "@
|
|
5
|
-
import {
|
|
6
|
-
SdkStreamSerdeContext as __SdkStreamSerdeContext,
|
|
7
|
-
SerdeContext as __SerdeContext,
|
|
8
|
-
} from "@aws-sdk/types";
|
|
5
|
+
} from "@smithy/protocol-http";
|
|
6
|
+
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
9
7
|
import {
|
|
10
8
|
AbortMultipartUploadCommandInput,
|
|
11
9
|
AbortMultipartUploadCommandOutput,
|
|
@@ -11,17 +11,18 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
|
|
|
11
11
|
sha256:
|
|
12
12
|
| import("@aws-sdk/types").ChecksumConstructor
|
|
13
13
|
| import("@aws-sdk/types").HashConstructor;
|
|
14
|
-
utf8Decoder: import("@
|
|
14
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
15
15
|
}
|
|
16
16
|
) => Promise<[string, string]>;
|
|
17
17
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
18
18
|
credentialDefaultProvider: (
|
|
19
19
|
input: any
|
|
20
|
-
) => import("@
|
|
20
|
+
) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
21
21
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
22
22
|
import("@aws-sdk/types").UserAgent
|
|
23
23
|
>;
|
|
24
|
-
maxAttempts: number | import("@
|
|
24
|
+
maxAttempts: (number | import("@smithy/types").Provider<number>) &
|
|
25
|
+
(number | import("@aws-sdk/types").Provider<number>);
|
|
25
26
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
26
27
|
requestHandler:
|
|
27
28
|
| (import("@aws-sdk/types").RequestHandler<
|
|
@@ -29,20 +30,22 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
|
|
|
29
30
|
any,
|
|
30
31
|
import("@aws-sdk/types").HttpHandlerOptions
|
|
31
32
|
> &
|
|
32
|
-
import("@
|
|
33
|
+
import("@smithy/protocol-http").HttpHandler)
|
|
33
34
|
| RequestHandler;
|
|
34
|
-
retryMode: string | import("@
|
|
35
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
35
36
|
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
36
37
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
37
|
-
streamCollector: import("@
|
|
38
|
-
useDualstackEndpoint: boolean | import("@
|
|
39
|
-
|
|
38
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
39
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
40
|
+
(boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
41
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
42
|
+
(boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
40
43
|
apiVersion: string;
|
|
41
44
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
42
|
-
base64Decoder: import("@
|
|
43
|
-
base64Encoder: import("@
|
|
44
|
-
utf8Decoder: import("@
|
|
45
|
-
utf8Encoder: import("@
|
|
45
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
46
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
47
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
48
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
46
49
|
disableHostPrefix: boolean;
|
|
47
50
|
serviceId: string;
|
|
48
51
|
logger: import("@aws-sdk/types").Logger;
|
|
@@ -56,11 +59,11 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
|
|
|
56
59
|
) &
|
|
57
60
|
(
|
|
58
61
|
| string
|
|
59
|
-
| import("@
|
|
60
|
-
| import("@
|
|
61
|
-
| import("@
|
|
62
|
+
| import("@smithy/types").Provider<string>
|
|
63
|
+
| import("@smithy/types").Endpoint
|
|
64
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
62
65
|
| import("@aws-sdk/types").EndpointV2
|
|
63
|
-
| import("@
|
|
66
|
+
| import("@smithy/types").Provider<
|
|
64
67
|
import("@aws-sdk/types").EndpointV2
|
|
65
68
|
>
|
|
66
69
|
))
|
|
@@ -11,13 +11,13 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
|
|
|
11
11
|
sha256:
|
|
12
12
|
| import("@aws-sdk/types").ChecksumConstructor
|
|
13
13
|
| import("@aws-sdk/types").HashConstructor;
|
|
14
|
-
utf8Decoder: import("@
|
|
14
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
15
15
|
}
|
|
16
16
|
) => Promise<[string, string]>;
|
|
17
17
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
18
18
|
credentialDefaultProvider: (
|
|
19
19
|
input: any
|
|
20
|
-
) => import("@
|
|
20
|
+
) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
21
21
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
22
22
|
import("@aws-sdk/types").UserAgent
|
|
23
23
|
>;
|
|
@@ -29,20 +29,20 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
|
|
|
29
29
|
any,
|
|
30
30
|
import("@aws-sdk/types").HttpHandlerOptions
|
|
31
31
|
> &
|
|
32
|
-
import("@
|
|
32
|
+
import("@smithy/protocol-http").HttpHandler)
|
|
33
33
|
| RequestHandler;
|
|
34
|
-
retryMode: string | import("@
|
|
34
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
35
35
|
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
36
36
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
37
|
-
streamCollector: import("@
|
|
37
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
38
38
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
39
39
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
40
40
|
apiVersion: string;
|
|
41
41
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
42
|
-
base64Decoder: import("@
|
|
43
|
-
base64Encoder: import("@
|
|
44
|
-
utf8Decoder: import("@
|
|
45
|
-
utf8Encoder: import("@
|
|
42
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
43
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
44
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
45
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
46
46
|
disableHostPrefix: boolean;
|
|
47
47
|
serviceId: string;
|
|
48
48
|
logger: import("@aws-sdk/types").Logger;
|
|
@@ -56,11 +56,11 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
|
|
|
56
56
|
) &
|
|
57
57
|
(
|
|
58
58
|
| string
|
|
59
|
-
| import("@
|
|
60
|
-
| import("@
|
|
61
|
-
| import("@
|
|
59
|
+
| import("@smithy/types").Provider<string>
|
|
60
|
+
| import("@smithy/types").Endpoint
|
|
61
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
62
62
|
| import("@aws-sdk/types").EndpointV2
|
|
63
|
-
| import("@
|
|
63
|
+
| import("@smithy/types").Provider<
|
|
64
64
|
import("@aws-sdk/types").EndpointV2
|
|
65
65
|
>
|
|
66
66
|
))
|
|
@@ -8,51 +8,56 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
|
|
|
8
8
|
any,
|
|
9
9
|
import("@aws-sdk/types").HttpHandlerOptions
|
|
10
10
|
> &
|
|
11
|
-
import("@
|
|
11
|
+
import("@smithy/protocol-http").HttpHandler)
|
|
12
12
|
| import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
13
13
|
apiVersion: string;
|
|
14
14
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
15
15
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
16
|
-
streamCollector: import("@
|
|
17
|
-
base64Decoder: import("@
|
|
18
|
-
base64Encoder: import("@
|
|
19
|
-
utf8Decoder: import("@
|
|
20
|
-
utf8Encoder: import("@
|
|
16
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
17
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
18
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
19
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
20
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
21
21
|
disableHostPrefix: boolean;
|
|
22
22
|
serviceId: string;
|
|
23
|
-
useDualstackEndpoint: boolean | import("@
|
|
24
|
-
|
|
23
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
24
|
+
(boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
25
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
26
|
+
(boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
25
27
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
26
28
|
credentialDefaultProvider: (
|
|
27
29
|
input: any
|
|
28
|
-
) => import("@
|
|
30
|
+
) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
29
31
|
bodyChecksumGenerator: (
|
|
30
32
|
request: import("@aws-sdk/types").HttpRequest,
|
|
31
33
|
options: {
|
|
32
34
|
sha256:
|
|
33
35
|
| import("@aws-sdk/types").ChecksumConstructor
|
|
34
36
|
| import("@aws-sdk/types").HashConstructor;
|
|
35
|
-
utf8Decoder: import("@
|
|
37
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
36
38
|
}
|
|
37
39
|
) => Promise<[string, string]>;
|
|
38
40
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
39
41
|
import("@aws-sdk/types").UserAgent
|
|
40
42
|
>;
|
|
41
|
-
maxAttempts: number | import("@
|
|
42
|
-
|
|
43
|
+
maxAttempts: (number | import("@smithy/types").Provider<number>) &
|
|
44
|
+
(number | import("@aws-sdk/types").Provider<number>);
|
|
45
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
43
46
|
logger: import("@aws-sdk/types").Logger;
|
|
44
47
|
defaultsMode:
|
|
45
48
|
| import("@aws-sdk/smithy-client").DefaultsMode
|
|
46
|
-
| import("@
|
|
49
|
+
| import("@smithy/types").Provider<
|
|
47
50
|
import("@aws-sdk/smithy-client").DefaultsMode
|
|
48
51
|
>;
|
|
49
52
|
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
50
53
|
endpoint?:
|
|
51
54
|
| string
|
|
52
|
-
| import("@aws-sdk/types").Endpoint
|
|
53
|
-
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
54
55
|
| import("@aws-sdk/types").EndpointV2
|
|
55
|
-
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").
|
|
56
|
+
| (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> &
|
|
57
|
+
import("@smithy/types").Provider<import("@smithy/types").Endpoint>)
|
|
58
|
+
| (import("@aws-sdk/types").Endpoint & import("@smithy/types").Endpoint)
|
|
59
|
+
| (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> &
|
|
60
|
+
import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)
|
|
56
61
|
| undefined;
|
|
57
62
|
endpointProvider: (
|
|
58
63
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { GlacierClientConfig } from "./GlacierClient";
|
|
2
2
|
export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
|
|
3
3
|
apiVersion: string;
|
|
4
|
-
base64Decoder: import("@
|
|
5
|
-
base64Encoder: import("@
|
|
4
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
5
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
6
6
|
disableHostPrefix: boolean;
|
|
7
7
|
endpointProvider: (
|
|
8
8
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
@@ -13,6 +13,6 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
|
|
|
13
13
|
logger: import("@aws-sdk/types").Logger;
|
|
14
14
|
serviceId: string;
|
|
15
15
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
16
|
-
utf8Decoder: import("@
|
|
17
|
-
utf8Encoder: import("@
|
|
16
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
17
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
18
18
|
};
|
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.
|
|
4
|
+
"version": "3.335.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
24
|
"@aws-sdk/body-checksum-browser": "3.329.0",
|
|
25
25
|
"@aws-sdk/body-checksum-node": "3.329.0",
|
|
26
|
-
"@aws-sdk/client-sts": "3.
|
|
26
|
+
"@aws-sdk/client-sts": "3.335.0",
|
|
27
27
|
"@aws-sdk/config-resolver": "3.329.0",
|
|
28
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
28
|
+
"@aws-sdk/credential-provider-node": "3.335.0",
|
|
29
29
|
"@aws-sdk/fetch-http-handler": "3.329.0",
|
|
30
30
|
"@aws-sdk/hash-node": "3.329.0",
|
|
31
31
|
"@aws-sdk/invalid-dependency": "3.329.0",
|
|
@@ -39,10 +39,9 @@
|
|
|
39
39
|
"@aws-sdk/middleware-serde": "3.329.0",
|
|
40
40
|
"@aws-sdk/middleware-signing": "3.329.0",
|
|
41
41
|
"@aws-sdk/middleware-stack": "3.329.0",
|
|
42
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
42
|
+
"@aws-sdk/middleware-user-agent": "3.332.0",
|
|
43
43
|
"@aws-sdk/node-config-provider": "3.329.0",
|
|
44
44
|
"@aws-sdk/node-http-handler": "3.329.0",
|
|
45
|
-
"@aws-sdk/protocol-http": "3.329.0",
|
|
46
45
|
"@aws-sdk/smithy-client": "3.329.0",
|
|
47
46
|
"@aws-sdk/types": "3.329.0",
|
|
48
47
|
"@aws-sdk/url-parser": "3.329.0",
|
|
@@ -51,7 +50,7 @@
|
|
|
51
50
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
52
51
|
"@aws-sdk/util-defaults-mode-browser": "3.329.0",
|
|
53
52
|
"@aws-sdk/util-defaults-mode-node": "3.329.0",
|
|
54
|
-
"@aws-sdk/util-endpoints": "3.
|
|
53
|
+
"@aws-sdk/util-endpoints": "3.332.0",
|
|
55
54
|
"@aws-sdk/util-retry": "3.329.0",
|
|
56
55
|
"@aws-sdk/util-stream-browser": "3.329.0",
|
|
57
56
|
"@aws-sdk/util-stream-node": "3.331.0",
|
|
@@ -59,6 +58,8 @@
|
|
|
59
58
|
"@aws-sdk/util-user-agent-node": "3.329.0",
|
|
60
59
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
61
60
|
"@aws-sdk/util-waiter": "3.329.0",
|
|
61
|
+
"@smithy/protocol-http": "^1.0.1",
|
|
62
|
+
"@smithy/types": "^1.0.0",
|
|
62
63
|
"tslib": "^2.5.0"
|
|
63
64
|
},
|
|
64
65
|
"devDependencies": {
|