@aws-sdk/client-glacier 3.1087.0 → 3.1088.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 +1 -1
- package/dist-types/ts3.4/Glacier.d.ts +112 -142
- package/dist-types/ts3.4/GlacierClient.d.ts +23 -54
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
- package/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +3 -4
- package/dist-types/ts3.4/commands/AbortVaultLockCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/AddTagsToVaultCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/CompleteVaultLockCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/CreateVaultCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/DeleteArchiveCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/DeleteVaultAccessPolicyCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DeleteVaultCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/DeleteVaultNotificationsCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DescribeJobCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/DescribeVaultCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/GetDataRetrievalPolicyCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetJobOutputCommand.d.ts +4 -8
- package/dist-types/ts3.4/commands/GetVaultAccessPolicyCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetVaultLockCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/GetVaultNotificationsCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/InitiateJobCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/InitiateMultipartUploadCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/InitiateVaultLockCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ListPartsCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/ListProvisionedCapacityCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ListTagsForVaultCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListVaultsCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/PurchaseProvisionedCapacityCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/RemoveTagsFromVaultCommand.d.ts +3 -4
- package/dist-types/ts3.4/commands/SetDataRetrievalPolicyCommand.d.ts +3 -4
- package/dist-types/ts3.4/commands/SetVaultAccessPolicyCommand.d.ts +3 -4
- package/dist-types/ts3.4/commands/SetVaultNotificationsCommand.d.ts +3 -4
- package/dist-types/ts3.4/commands/UploadArchiveCommand.d.ts +8 -11
- package/dist-types/ts3.4/commands/UploadMultipartPartCommand.d.ts +9 -17
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/enums.d.ts +3 -6
- package/dist-types/ts3.4/models/errors.d.ts +9 -27
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/dist-types/ts3.4/pagination/ListJobsPaginator.d.ts +1 -4
- package/dist-types/ts3.4/pagination/ListPartsPaginator.d.ts +1 -4
- package/dist-types/ts3.4/pagination/ListVaultsPaginator.d.ts +1 -4
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +11 -26
- package/dist-types/ts3.4/runtimeConfig.d.ts +10 -20
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +11 -26
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
- package/dist-types/ts3.4/waiters/waitForVaultExists.d.ts +3 -5
- package/dist-types/ts3.4/waiters/waitForVaultNotExists.d.ts +3 -5
- package/package.json +41 -41
|
@@ -5,79 +5,61 @@ export declare class InvalidParameterValueException extends __BaseException {
|
|
|
5
5
|
readonly $fault: "client";
|
|
6
6
|
type?: string | undefined;
|
|
7
7
|
code?: string | undefined;
|
|
8
|
-
constructor(
|
|
9
|
-
opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>
|
|
10
|
-
);
|
|
8
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>);
|
|
11
9
|
}
|
|
12
10
|
export declare class MissingParameterValueException extends __BaseException {
|
|
13
11
|
readonly name: "MissingParameterValueException";
|
|
14
12
|
readonly $fault: "client";
|
|
15
13
|
type?: string | undefined;
|
|
16
14
|
code?: string | undefined;
|
|
17
|
-
constructor(
|
|
18
|
-
opts: __ExceptionOptionType<MissingParameterValueException, __BaseException>
|
|
19
|
-
);
|
|
15
|
+
constructor(opts: __ExceptionOptionType<MissingParameterValueException, __BaseException>);
|
|
20
16
|
}
|
|
21
17
|
export declare class NoLongerSupportedException extends __BaseException {
|
|
22
18
|
readonly name: "NoLongerSupportedException";
|
|
23
19
|
readonly $fault: "client";
|
|
24
20
|
type?: string | undefined;
|
|
25
21
|
code?: string | undefined;
|
|
26
|
-
constructor(
|
|
27
|
-
opts: __ExceptionOptionType<NoLongerSupportedException, __BaseException>
|
|
28
|
-
);
|
|
22
|
+
constructor(opts: __ExceptionOptionType<NoLongerSupportedException, __BaseException>);
|
|
29
23
|
}
|
|
30
24
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
31
25
|
readonly name: "ResourceNotFoundException";
|
|
32
26
|
readonly $fault: "client";
|
|
33
27
|
type?: string | undefined;
|
|
34
28
|
code?: string | undefined;
|
|
35
|
-
constructor(
|
|
36
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
37
|
-
);
|
|
29
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
38
30
|
}
|
|
39
31
|
export declare class ServiceUnavailableException extends __BaseException {
|
|
40
32
|
readonly name: "ServiceUnavailableException";
|
|
41
33
|
readonly $fault: "server";
|
|
42
34
|
type?: string | undefined;
|
|
43
35
|
code?: string | undefined;
|
|
44
|
-
constructor(
|
|
45
|
-
opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
|
|
46
|
-
);
|
|
36
|
+
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
47
37
|
}
|
|
48
38
|
export declare class LimitExceededException extends __BaseException {
|
|
49
39
|
readonly name: "LimitExceededException";
|
|
50
40
|
readonly $fault: "client";
|
|
51
41
|
type?: string | undefined;
|
|
52
42
|
code?: string | undefined;
|
|
53
|
-
constructor(
|
|
54
|
-
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
55
|
-
);
|
|
43
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
56
44
|
}
|
|
57
45
|
export declare class InsufficientCapacityException extends __BaseException {
|
|
58
46
|
readonly name: "InsufficientCapacityException";
|
|
59
47
|
readonly $fault: "client";
|
|
60
48
|
type?: string | undefined;
|
|
61
49
|
code?: string | undefined;
|
|
62
|
-
constructor(
|
|
63
|
-
opts: __ExceptionOptionType<InsufficientCapacityException, __BaseException>
|
|
64
|
-
);
|
|
50
|
+
constructor(opts: __ExceptionOptionType<InsufficientCapacityException, __BaseException>);
|
|
65
51
|
}
|
|
66
52
|
export declare class PolicyEnforcedException extends __BaseException {
|
|
67
53
|
readonly name: "PolicyEnforcedException";
|
|
68
54
|
readonly $fault: "client";
|
|
69
55
|
type?: string | undefined;
|
|
70
56
|
code?: string | undefined;
|
|
71
|
-
constructor(
|
|
72
|
-
opts: __ExceptionOptionType<PolicyEnforcedException, __BaseException>
|
|
73
|
-
);
|
|
57
|
+
constructor(opts: __ExceptionOptionType<PolicyEnforcedException, __BaseException>);
|
|
74
58
|
}
|
|
75
59
|
export declare class RequestTimeoutException extends __BaseException {
|
|
76
60
|
readonly name: "RequestTimeoutException";
|
|
77
61
|
readonly $fault: "client";
|
|
78
62
|
type?: string | undefined;
|
|
79
63
|
code?: string | undefined;
|
|
80
|
-
constructor(
|
|
81
|
-
opts: __ExceptionOptionType<RequestTimeoutException, __BaseException>
|
|
82
|
-
);
|
|
64
|
+
constructor(opts: __ExceptionOptionType<RequestTimeoutException, __BaseException>);
|
|
83
65
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@smithy/types";
|
|
2
2
|
import { GlacierClient } from "../GlacierClient";
|
|
3
|
-
export interface GlacierPaginationConfiguration
|
|
4
|
-
extends PaginationConfiguration {
|
|
3
|
+
export interface GlacierPaginationConfiguration extends PaginationConfiguration {
|
|
5
4
|
client: GlacierClient;
|
|
6
5
|
}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { Paginator } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
ListJobsCommandInput,
|
|
4
|
-
ListJobsCommandOutput,
|
|
5
|
-
} from "../commands/ListJobsCommand";
|
|
2
|
+
import { ListJobsCommandInput, ListJobsCommandOutput } from "../commands/ListJobsCommand";
|
|
6
3
|
import { GlacierPaginationConfiguration } from "./Interfaces";
|
|
7
4
|
export declare const paginateListJobs: (
|
|
8
5
|
config: GlacierPaginationConfiguration,
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { Paginator } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
ListPartsCommandInput,
|
|
4
|
-
ListPartsCommandOutput,
|
|
5
|
-
} from "../commands/ListPartsCommand";
|
|
2
|
+
import { ListPartsCommandInput, ListPartsCommandOutput } from "../commands/ListPartsCommand";
|
|
6
3
|
import { GlacierPaginationConfiguration } from "./Interfaces";
|
|
7
4
|
export declare const paginateListParts: (
|
|
8
5
|
config: GlacierPaginationConfiguration,
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { Paginator } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
ListVaultsCommandInput,
|
|
4
|
-
ListVaultsCommandOutput,
|
|
5
|
-
} from "../commands/ListVaultsCommand";
|
|
2
|
+
import { ListVaultsCommandInput, ListVaultsCommandOutput } from "../commands/ListVaultsCommand";
|
|
6
3
|
import { GlacierPaginationConfiguration } from "./Interfaces";
|
|
7
4
|
export declare const paginateListVaults: (
|
|
8
5
|
config: GlacierPaginationConfiguration,
|
|
@@ -8,33 +8,23 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
|
|
|
8
8
|
bodyChecksumGenerator: (
|
|
9
9
|
request: import("@smithy/types").HttpRequest,
|
|
10
10
|
options: {
|
|
11
|
-
sha256:
|
|
12
|
-
| import("@smithy/types").ChecksumConstructor
|
|
13
|
-
| import("@smithy/types").HashConstructor;
|
|
11
|
+
sha256: import("@smithy/types").ChecksumConstructor | import("@smithy/types").HashConstructor;
|
|
14
12
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
15
|
-
}
|
|
13
|
+
},
|
|
16
14
|
) => Promise<[string, string]>;
|
|
17
15
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
18
16
|
credentialDefaultProvider:
|
|
19
17
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
20
|
-
| ((
|
|
21
|
-
_: unknown
|
|
22
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
18
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
23
19
|
defaultUserAgentProvider: (
|
|
24
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
20
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
25
21
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
26
22
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
27
23
|
region: string | import("@smithy/types").Provider<any>;
|
|
28
|
-
requestHandler:
|
|
29
|
-
| import("@smithy/core/protocols").HttpHandler<any>
|
|
30
|
-
| RequestHandler;
|
|
24
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
31
25
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
32
26
|
streamCollector: (
|
|
33
|
-
stream:
|
|
34
|
-
| import("stream").Readable
|
|
35
|
-
| import("stream/web").ReadableStream
|
|
36
|
-
| ReadableStream
|
|
37
|
-
| Blob
|
|
27
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
38
28
|
) => Promise<Uint8Array>;
|
|
39
29
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
40
30
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
@@ -63,13 +53,8 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
|
|
|
63
53
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
64
54
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
65
55
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
66
|
-
userAgentAppId?:
|
|
67
|
-
|
|
68
|
-
| undefined
|
|
69
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
70
|
-
retryStrategy?:
|
|
71
|
-
| import("@smithy/types").RetryStrategy
|
|
72
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
56
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
57
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
73
58
|
endpoint?:
|
|
74
59
|
| ((
|
|
75
60
|
| string
|
|
@@ -91,7 +76,7 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
|
|
|
91
76
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
92
77
|
context?: {
|
|
93
78
|
logger?: import("@smithy/types").Logger;
|
|
94
|
-
}
|
|
79
|
+
},
|
|
95
80
|
) => import("@smithy/types").EndpointV2;
|
|
96
81
|
tls?: boolean;
|
|
97
82
|
serviceConfiguredEndpoint?: never;
|
|
@@ -104,13 +89,13 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
|
|
|
104
89
|
signer?:
|
|
105
90
|
| import("@smithy/types").RequestSigner
|
|
106
91
|
| ((
|
|
107
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
92
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
108
93
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
109
94
|
signingEscapePath?: boolean;
|
|
110
95
|
systemClockOffset?: number;
|
|
111
96
|
signingRegion?: string;
|
|
112
97
|
signerConstructor?: new (
|
|
113
98
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
114
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
99
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
115
100
|
) => import("@smithy/types").RequestSigner;
|
|
116
101
|
};
|
|
@@ -9,33 +9,25 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
|
|
|
9
9
|
bodyChecksumGenerator: (
|
|
10
10
|
request: import("@smithy/types").HttpRequest,
|
|
11
11
|
options: {
|
|
12
|
-
sha256:
|
|
13
|
-
| import("@smithy/types").ChecksumConstructor
|
|
14
|
-
| import("@smithy/types").HashConstructor;
|
|
12
|
+
sha256: import("@smithy/types").ChecksumConstructor | import("@smithy/types").HashConstructor;
|
|
15
13
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
16
|
-
}
|
|
14
|
+
},
|
|
17
15
|
) => Promise<[string, string]>;
|
|
18
16
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
19
17
|
credentialDefaultProvider:
|
|
20
18
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
21
19
|
| ((
|
|
22
|
-
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
20
|
+
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
|
|
23
21
|
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
24
22
|
defaultUserAgentProvider: (
|
|
25
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
23
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
26
24
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
27
25
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
28
26
|
region: string | import("@smithy/types").Provider<string>;
|
|
29
|
-
requestHandler:
|
|
30
|
-
| RequestHandler
|
|
31
|
-
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
27
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
32
28
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
33
29
|
streamCollector: (
|
|
34
|
-
stream:
|
|
35
|
-
| import("stream").Readable
|
|
36
|
-
| import("stream/web").ReadableStream
|
|
37
|
-
| ReadableStream
|
|
38
|
-
| Blob
|
|
30
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
39
31
|
) => Promise<Uint8Array>;
|
|
40
32
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
41
33
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -63,9 +55,7 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
|
|
|
63
55
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
64
56
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
65
57
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
66
|
-
retryStrategy?:
|
|
67
|
-
| import("@smithy/types").RetryStrategy
|
|
68
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
58
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
69
59
|
endpoint?:
|
|
70
60
|
| ((
|
|
71
61
|
| string
|
|
@@ -87,7 +77,7 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
|
|
|
87
77
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
88
78
|
context?: {
|
|
89
79
|
logger?: import("@smithy/types").Logger;
|
|
90
|
-
}
|
|
80
|
+
},
|
|
91
81
|
) => import("@smithy/types").EndpointV2;
|
|
92
82
|
tls?: boolean;
|
|
93
83
|
serviceConfiguredEndpoint?: never;
|
|
@@ -99,13 +89,13 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
|
|
|
99
89
|
signer?:
|
|
100
90
|
| import("@smithy/types").RequestSigner
|
|
101
91
|
| ((
|
|
102
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
92
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
103
93
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
104
94
|
signingEscapePath?: boolean;
|
|
105
95
|
systemClockOffset?: number;
|
|
106
96
|
signingRegion?: string;
|
|
107
97
|
signerConstructor?: new (
|
|
108
98
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
109
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
99
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
110
100
|
) => import("@smithy/types").RequestSigner;
|
|
111
101
|
};
|
|
@@ -21,11 +21,7 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
|
|
|
21
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
23
23
|
streamCollector: (
|
|
24
|
-
stream:
|
|
25
|
-
| import("stream").Readable
|
|
26
|
-
| import("stream/web").ReadableStream
|
|
27
|
-
| ReadableStream
|
|
28
|
-
| Blob
|
|
24
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
29
25
|
) => Promise<Uint8Array>;
|
|
30
26
|
base64Decoder: import("@smithy/types").Decoder;
|
|
31
27
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -42,38 +38,27 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
|
|
|
42
38
|
bodyChecksumGenerator: (
|
|
43
39
|
request: import("@smithy/types").HttpRequest,
|
|
44
40
|
options: {
|
|
45
|
-
sha256:
|
|
46
|
-
| import("@smithy/types").ChecksumConstructor
|
|
47
|
-
| import("@smithy/types").HashConstructor;
|
|
41
|
+
sha256: import("@smithy/types").ChecksumConstructor | import("@smithy/types").HashConstructor;
|
|
48
42
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
49
|
-
}
|
|
43
|
+
},
|
|
50
44
|
) => Promise<[string, string]>;
|
|
51
45
|
defaultUserAgentProvider: (
|
|
52
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
46
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
53
47
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
54
48
|
credentialDefaultProvider:
|
|
55
49
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
56
|
-
| ((
|
|
57
|
-
_: unknown
|
|
58
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
50
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
59
51
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
60
52
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
61
53
|
logger: import("@smithy/types").Logger;
|
|
62
54
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
63
55
|
defaultsMode:
|
|
64
56
|
| import("@smithy/core/client").DefaultsMode
|
|
65
|
-
| import("@smithy/types").Provider<
|
|
66
|
-
import("@smithy/core/client").DefaultsMode
|
|
67
|
-
>;
|
|
57
|
+
| import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
68
58
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
69
59
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
70
|
-
userAgentAppId?:
|
|
71
|
-
|
|
72
|
-
| undefined
|
|
73
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
74
|
-
retryStrategy?:
|
|
75
|
-
| import("@smithy/types").RetryStrategy
|
|
76
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
60
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
61
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
77
62
|
endpoint?:
|
|
78
63
|
| ((
|
|
79
64
|
| string
|
|
@@ -95,7 +80,7 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
|
|
|
95
80
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
96
81
|
context?: {
|
|
97
82
|
logger?: import("@smithy/types").Logger;
|
|
98
|
-
}
|
|
83
|
+
},
|
|
99
84
|
) => import("@smithy/types").EndpointV2;
|
|
100
85
|
tls?: boolean;
|
|
101
86
|
serviceConfiguredEndpoint?: never;
|
|
@@ -108,13 +93,13 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
|
|
|
108
93
|
signer?:
|
|
109
94
|
| import("@smithy/types").RequestSigner
|
|
110
95
|
| ((
|
|
111
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
96
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
112
97
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
113
98
|
signingEscapePath?: boolean;
|
|
114
99
|
systemClockOffset?: number;
|
|
115
100
|
signingRegion?: string;
|
|
116
101
|
signerConstructor?: new (
|
|
117
102
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
118
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
103
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
119
104
|
) => import("@smithy/types").RequestSigner;
|
|
120
105
|
};
|
|
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
|
|
|
9
9
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
10
10
|
context?: {
|
|
11
11
|
logger?: import("@smithy/types").Logger;
|
|
12
|
-
}
|
|
12
|
+
},
|
|
13
13
|
) => import("@smithy/types").EndpointV2;
|
|
14
14
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
15
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").GlacierHttpAuthSchemeProvider;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
-
import {
|
|
3
|
-
StaticErrorSchema,
|
|
4
|
-
StaticOperationSchema,
|
|
5
|
-
StaticStructureSchema,
|
|
6
|
-
} from "@smithy/types";
|
|
2
|
+
import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
7
3
|
export declare var GlacierServiceException$: StaticErrorSchema;
|
|
8
4
|
export declare var InsufficientCapacityException$: StaticErrorSchema;
|
|
9
5
|
export declare var InvalidParameterValueException$: StaticErrorSchema;
|
|
@@ -7,11 +7,9 @@ import { GlacierClient } from "../GlacierClient";
|
|
|
7
7
|
import { GlacierServiceException } from "../models/GlacierServiceException";
|
|
8
8
|
export declare const waitForVaultExists: (
|
|
9
9
|
params: WaiterConfiguration<GlacierClient>,
|
|
10
|
-
input: DescribeVaultCommandInput
|
|
11
|
-
) => Promise<
|
|
12
|
-
WaiterResult<DescribeVaultCommandOutput | GlacierServiceException>
|
|
13
|
-
>;
|
|
10
|
+
input: DescribeVaultCommandInput,
|
|
11
|
+
) => Promise<WaiterResult<DescribeVaultCommandOutput | GlacierServiceException>>;
|
|
14
12
|
export declare const waitUntilVaultExists: (
|
|
15
13
|
params: WaiterConfiguration<GlacierClient>,
|
|
16
|
-
input: DescribeVaultCommandInput
|
|
14
|
+
input: DescribeVaultCommandInput,
|
|
17
15
|
) => Promise<WaiterResult<DescribeVaultCommandOutput>>;
|
|
@@ -8,11 +8,9 @@ import { ResourceNotFoundException } from "../models/errors";
|
|
|
8
8
|
import { GlacierServiceException } from "../models/GlacierServiceException";
|
|
9
9
|
export declare const waitForVaultNotExists: (
|
|
10
10
|
params: WaiterConfiguration<GlacierClient>,
|
|
11
|
-
input: DescribeVaultCommandInput
|
|
12
|
-
) => Promise<
|
|
13
|
-
WaiterResult<DescribeVaultCommandOutput | GlacierServiceException>
|
|
14
|
-
>;
|
|
11
|
+
input: DescribeVaultCommandInput,
|
|
12
|
+
) => Promise<WaiterResult<DescribeVaultCommandOutput | GlacierServiceException>>;
|
|
15
13
|
export declare const waitUntilVaultNotExists: (
|
|
16
14
|
params: WaiterConfiguration<GlacierClient>,
|
|
17
|
-
input: DescribeVaultCommandInput
|
|
15
|
+
input: DescribeVaultCommandInput,
|
|
18
16
|
) => Promise<WaiterResult<ResourceNotFoundException>>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-glacier",
|
|
3
|
+
"version": "3.1088.0",
|
|
3
4
|
"description": "AWS SDK for JavaScript Glacier Client for Node.js, Browser and React Native",
|
|
4
|
-
"
|
|
5
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-glacier",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "AWS SDK for JavaScript Team",
|
|
9
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
14
|
+
"directory": "clients/client-glacier"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist-*/**"
|
|
18
|
+
],
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"main": "./dist-cjs/index.js",
|
|
21
|
+
"module": "./dist-es/index.js",
|
|
22
|
+
"browser": {
|
|
23
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
24
|
+
},
|
|
25
|
+
"types": "./dist-types/index.d.ts",
|
|
26
|
+
"typesVersions": {
|
|
27
|
+
"<4.5": {
|
|
28
|
+
"dist-types/*": [
|
|
29
|
+
"dist-types/ts3.4/*"
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"react-native": {
|
|
34
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
35
|
+
},
|
|
5
36
|
"scripts": {
|
|
6
37
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
38
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -14,20 +45,16 @@
|
|
|
14
45
|
"generate:client": "node ../../scripts/generate-clients/single-service",
|
|
15
46
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
16
47
|
},
|
|
17
|
-
"main": "./dist-cjs/index.js",
|
|
18
|
-
"types": "./dist-types/index.d.ts",
|
|
19
|
-
"module": "./dist-es/index.js",
|
|
20
|
-
"sideEffects": false,
|
|
21
48
|
"dependencies": {
|
|
22
|
-
"@aws-sdk/body-checksum-browser": "^3.972.
|
|
23
|
-
"@aws-sdk/body-checksum-node": "^3.972.
|
|
24
|
-
"@aws-sdk/core": "^3.975.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-sdk-glacier": "^3.972.
|
|
27
|
-
"@aws-sdk/types": "^3.974.
|
|
28
|
-
"@smithy/core": "^3.29.
|
|
29
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
30
|
-
"@smithy/node-http-handler": "^4.9.
|
|
49
|
+
"@aws-sdk/body-checksum-browser": "^3.972.25",
|
|
50
|
+
"@aws-sdk/body-checksum-node": "^3.972.25",
|
|
51
|
+
"@aws-sdk/core": "^3.975.3",
|
|
52
|
+
"@aws-sdk/credential-provider-node": "^3.972.69",
|
|
53
|
+
"@aws-sdk/middleware-sdk-glacier": "^3.972.24",
|
|
54
|
+
"@aws-sdk/types": "^3.974.2",
|
|
55
|
+
"@smithy/core": "^3.29.4",
|
|
56
|
+
"@smithy/fetch-http-handler": "^5.6.6",
|
|
57
|
+
"@smithy/node-http-handler": "^4.9.6",
|
|
31
58
|
"@smithy/types": "^4.16.1",
|
|
32
59
|
"tslib": "^2.6.2"
|
|
33
60
|
},
|
|
@@ -41,32 +68,5 @@
|
|
|
41
68
|
},
|
|
42
69
|
"engines": {
|
|
43
70
|
"node": ">=20.0.0"
|
|
44
|
-
},
|
|
45
|
-
"typesVersions": {
|
|
46
|
-
"<4.5": {
|
|
47
|
-
"dist-types/*": [
|
|
48
|
-
"dist-types/ts3.4/*"
|
|
49
|
-
]
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
"files": [
|
|
53
|
-
"dist-*/**"
|
|
54
|
-
],
|
|
55
|
-
"author": {
|
|
56
|
-
"name": "AWS SDK for JavaScript Team",
|
|
57
|
-
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
58
|
-
},
|
|
59
|
-
"license": "Apache-2.0",
|
|
60
|
-
"browser": {
|
|
61
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
62
|
-
},
|
|
63
|
-
"react-native": {
|
|
64
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
65
|
-
},
|
|
66
|
-
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-glacier",
|
|
67
|
-
"repository": {
|
|
68
|
-
"type": "git",
|
|
69
|
-
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
70
|
-
"directory": "clients/client-glacier"
|
|
71
71
|
}
|
|
72
72
|
}
|