@aws-sdk/client-secrets-manager 3.50.0 → 3.53.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/CHANGELOG.md +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/SecretsManagerServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +171 -2
- package/dist-cjs/protocols/Aws_json1_1.js +246 -923
- package/dist-es/index.js +1 -0
- package/dist-es/models/SecretsManagerServiceException.js +12 -0
- package/dist-es/models/models_0.js +158 -1
- package/dist-es/protocols/Aws_json1_1.js +529 -988
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/SecretsManagerServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +86 -37
- package/dist-types/ts3.4/SecretsManager.d.ts +115 -0
- package/dist-types/ts3.4/SecretsManagerClient.d.ts +95 -0
- package/dist-types/ts3.4/commands/CancelRotateSecretCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateSecretCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteSecretCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeSecretCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetRandomPasswordCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSecretValueCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListSecretVersionIdsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListSecretsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutSecretValueCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RemoveRegionsFromReplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ReplicateSecretToRegionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RestoreSecretCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RotateSecretCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StopReplicationToReplicaCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateSecretCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateSecretVersionStageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ValidateResourcePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +22 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/SecretsManagerServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +774 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListSecretVersionIdsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListSecretsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +68 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import { SecretsManager } from "../SecretsManager";
|
|
3
|
+
import { SecretsManagerClient } from "../SecretsManagerClient";
|
|
4
|
+
export interface SecretsManagerPaginationConfiguration extends PaginationConfiguration {
|
|
5
|
+
client: SecretsManager | SecretsManagerClient;
|
|
6
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListSecretVersionIdsCommandInput, ListSecretVersionIdsCommandOutput } from "../commands/ListSecretVersionIdsCommand";
|
|
3
|
+
import { SecretsManagerPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateListSecretVersionIds(config: SecretsManagerPaginationConfiguration, input: ListSecretVersionIdsCommandInput, ...additionalArguments: any): Paginator<ListSecretVersionIdsCommandOutput>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListSecretsCommandInput, ListSecretsCommandOutput } from "../commands/ListSecretsCommand";
|
|
3
|
+
import { SecretsManagerPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateListSecrets(config: SecretsManagerPaginationConfiguration, input: ListSecretsCommandInput, ...additionalArguments: any): Paginator<ListSecretsCommandOutput>;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
|
+
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
3
|
+
import { CancelRotateSecretCommandInput, CancelRotateSecretCommandOutput } from "../commands/CancelRotateSecretCommand";
|
|
4
|
+
import { CreateSecretCommandInput, CreateSecretCommandOutput } from "../commands/CreateSecretCommand";
|
|
5
|
+
import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "../commands/DeleteResourcePolicyCommand";
|
|
6
|
+
import { DeleteSecretCommandInput, DeleteSecretCommandOutput } from "../commands/DeleteSecretCommand";
|
|
7
|
+
import { DescribeSecretCommandInput, DescribeSecretCommandOutput } from "../commands/DescribeSecretCommand";
|
|
8
|
+
import { GetRandomPasswordCommandInput, GetRandomPasswordCommandOutput } from "../commands/GetRandomPasswordCommand";
|
|
9
|
+
import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "../commands/GetResourcePolicyCommand";
|
|
10
|
+
import { GetSecretValueCommandInput, GetSecretValueCommandOutput } from "../commands/GetSecretValueCommand";
|
|
11
|
+
import { ListSecretsCommandInput, ListSecretsCommandOutput } from "../commands/ListSecretsCommand";
|
|
12
|
+
import { ListSecretVersionIdsCommandInput, ListSecretVersionIdsCommandOutput } from "../commands/ListSecretVersionIdsCommand";
|
|
13
|
+
import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "../commands/PutResourcePolicyCommand";
|
|
14
|
+
import { PutSecretValueCommandInput, PutSecretValueCommandOutput } from "../commands/PutSecretValueCommand";
|
|
15
|
+
import { RemoveRegionsFromReplicationCommandInput, RemoveRegionsFromReplicationCommandOutput } from "../commands/RemoveRegionsFromReplicationCommand";
|
|
16
|
+
import { ReplicateSecretToRegionsCommandInput, ReplicateSecretToRegionsCommandOutput } from "../commands/ReplicateSecretToRegionsCommand";
|
|
17
|
+
import { RestoreSecretCommandInput, RestoreSecretCommandOutput } from "../commands/RestoreSecretCommand";
|
|
18
|
+
import { RotateSecretCommandInput, RotateSecretCommandOutput } from "../commands/RotateSecretCommand";
|
|
19
|
+
import { StopReplicationToReplicaCommandInput, StopReplicationToReplicaCommandOutput } from "../commands/StopReplicationToReplicaCommand";
|
|
20
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
21
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
22
|
+
import { UpdateSecretCommandInput, UpdateSecretCommandOutput } from "../commands/UpdateSecretCommand";
|
|
23
|
+
import { UpdateSecretVersionStageCommandInput, UpdateSecretVersionStageCommandOutput } from "../commands/UpdateSecretVersionStageCommand";
|
|
24
|
+
import { ValidateResourcePolicyCommandInput, ValidateResourcePolicyCommandOutput } from "../commands/ValidateResourcePolicyCommand";
|
|
25
|
+
export declare const serializeAws_json1_1CancelRotateSecretCommand: (input: CancelRotateSecretCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
26
|
+
export declare const serializeAws_json1_1CreateSecretCommand: (input: CreateSecretCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
27
|
+
export declare const serializeAws_json1_1DeleteResourcePolicyCommand: (input: DeleteResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
28
|
+
export declare const serializeAws_json1_1DeleteSecretCommand: (input: DeleteSecretCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
29
|
+
export declare const serializeAws_json1_1DescribeSecretCommand: (input: DescribeSecretCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
30
|
+
export declare const serializeAws_json1_1GetRandomPasswordCommand: (input: GetRandomPasswordCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
31
|
+
export declare const serializeAws_json1_1GetResourcePolicyCommand: (input: GetResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
32
|
+
export declare const serializeAws_json1_1GetSecretValueCommand: (input: GetSecretValueCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
33
|
+
export declare const serializeAws_json1_1ListSecretsCommand: (input: ListSecretsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
34
|
+
export declare const serializeAws_json1_1ListSecretVersionIdsCommand: (input: ListSecretVersionIdsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
35
|
+
export declare const serializeAws_json1_1PutResourcePolicyCommand: (input: PutResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
36
|
+
export declare const serializeAws_json1_1PutSecretValueCommand: (input: PutSecretValueCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
37
|
+
export declare const serializeAws_json1_1RemoveRegionsFromReplicationCommand: (input: RemoveRegionsFromReplicationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
38
|
+
export declare const serializeAws_json1_1ReplicateSecretToRegionsCommand: (input: ReplicateSecretToRegionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
39
|
+
export declare const serializeAws_json1_1RestoreSecretCommand: (input: RestoreSecretCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
40
|
+
export declare const serializeAws_json1_1RotateSecretCommand: (input: RotateSecretCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
41
|
+
export declare const serializeAws_json1_1StopReplicationToReplicaCommand: (input: StopReplicationToReplicaCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
42
|
+
export declare const serializeAws_json1_1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
43
|
+
export declare const serializeAws_json1_1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
44
|
+
export declare const serializeAws_json1_1UpdateSecretCommand: (input: UpdateSecretCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
45
|
+
export declare const serializeAws_json1_1UpdateSecretVersionStageCommand: (input: UpdateSecretVersionStageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
46
|
+
export declare const serializeAws_json1_1ValidateResourcePolicyCommand: (input: ValidateResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
47
|
+
export declare const deserializeAws_json1_1CancelRotateSecretCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CancelRotateSecretCommandOutput>;
|
|
48
|
+
export declare const deserializeAws_json1_1CreateSecretCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateSecretCommandOutput>;
|
|
49
|
+
export declare const deserializeAws_json1_1DeleteResourcePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteResourcePolicyCommandOutput>;
|
|
50
|
+
export declare const deserializeAws_json1_1DeleteSecretCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteSecretCommandOutput>;
|
|
51
|
+
export declare const deserializeAws_json1_1DescribeSecretCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeSecretCommandOutput>;
|
|
52
|
+
export declare const deserializeAws_json1_1GetRandomPasswordCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetRandomPasswordCommandOutput>;
|
|
53
|
+
export declare const deserializeAws_json1_1GetResourcePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetResourcePolicyCommandOutput>;
|
|
54
|
+
export declare const deserializeAws_json1_1GetSecretValueCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSecretValueCommandOutput>;
|
|
55
|
+
export declare const deserializeAws_json1_1ListSecretsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListSecretsCommandOutput>;
|
|
56
|
+
export declare const deserializeAws_json1_1ListSecretVersionIdsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListSecretVersionIdsCommandOutput>;
|
|
57
|
+
export declare const deserializeAws_json1_1PutResourcePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutResourcePolicyCommandOutput>;
|
|
58
|
+
export declare const deserializeAws_json1_1PutSecretValueCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutSecretValueCommandOutput>;
|
|
59
|
+
export declare const deserializeAws_json1_1RemoveRegionsFromReplicationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RemoveRegionsFromReplicationCommandOutput>;
|
|
60
|
+
export declare const deserializeAws_json1_1ReplicateSecretToRegionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ReplicateSecretToRegionsCommandOutput>;
|
|
61
|
+
export declare const deserializeAws_json1_1RestoreSecretCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RestoreSecretCommandOutput>;
|
|
62
|
+
export declare const deserializeAws_json1_1RotateSecretCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RotateSecretCommandOutput>;
|
|
63
|
+
export declare const deserializeAws_json1_1StopReplicationToReplicaCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopReplicationToReplicaCommandOutput>;
|
|
64
|
+
export declare const deserializeAws_json1_1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
|
|
65
|
+
export declare const deserializeAws_json1_1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
66
|
+
export declare const deserializeAws_json1_1UpdateSecretCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateSecretCommandOutput>;
|
|
67
|
+
export declare const deserializeAws_json1_1UpdateSecretVersionStageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateSecretVersionStageCommandOutput>;
|
|
68
|
+
export declare const deserializeAws_json1_1ValidateResourcePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ValidateResourcePolicyCommandOutput>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
|
+
import { SecretsManagerClientConfig } from "./SecretsManagerClient";
|
|
3
|
+
|
|
4
|
+
export declare const getRuntimeConfig: (config: SecretsManagerClientConfig) => {
|
|
5
|
+
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
13
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
15
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
16
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
17
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
18
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
21
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
22
|
+
apiVersion: string;
|
|
23
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
|
+
disableHostPrefix: boolean;
|
|
25
|
+
logger: import("@aws-sdk/types").Logger;
|
|
26
|
+
serviceId: string;
|
|
27
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
28
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
|
+
tls?: boolean | undefined;
|
|
30
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
31
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
32
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
33
|
+
signingEscapePath?: boolean | undefined;
|
|
34
|
+
systemClockOffset?: number | undefined;
|
|
35
|
+
signingRegion?: string | undefined;
|
|
36
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
37
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
38
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
|
+
import { SecretsManagerClientConfig } from "./SecretsManagerClient";
|
|
3
|
+
|
|
4
|
+
export declare const getRuntimeConfig: (config: SecretsManagerClientConfig) => {
|
|
5
|
+
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
13
|
+
region: string | import("@aws-sdk/types").Provider<string>;
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
15
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
16
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
17
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
18
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
21
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
22
|
+
apiVersion: string;
|
|
23
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
|
+
disableHostPrefix: boolean;
|
|
25
|
+
logger: import("@aws-sdk/types").Logger;
|
|
26
|
+
serviceId: string;
|
|
27
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
28
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
|
+
tls?: boolean | undefined;
|
|
30
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
31
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
32
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
33
|
+
signingEscapePath?: boolean | undefined;
|
|
34
|
+
systemClockOffset?: number | undefined;
|
|
35
|
+
signingRegion?: string | undefined;
|
|
36
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
37
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
38
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { SecretsManagerClientConfig } from "./SecretsManagerClient";
|
|
2
|
+
|
|
3
|
+
export declare const getRuntimeConfig: (config: SecretsManagerClientConfig) => {
|
|
4
|
+
runtime: string;
|
|
5
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
6
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
|
+
apiVersion: string;
|
|
8
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
10
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
13
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
14
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
15
|
+
disableHostPrefix: boolean;
|
|
16
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
17
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
18
|
+
logger: import("@aws-sdk/types").Logger;
|
|
19
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
|
+
serviceId: string;
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
|
|
23
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
27
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
|
+
tls?: boolean | undefined;
|
|
29
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
30
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
31
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
32
|
+
signingEscapePath?: boolean | undefined;
|
|
33
|
+
systemClockOffset?: number | undefined;
|
|
34
|
+
signingRegion?: string | undefined;
|
|
35
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
36
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
37
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Logger as __Logger } from "@aws-sdk/types";
|
|
2
|
+
import { SecretsManagerClientConfig } from "./SecretsManagerClient";
|
|
3
|
+
|
|
4
|
+
export declare const getRuntimeConfig: (config: SecretsManagerClientConfig) => {
|
|
5
|
+
apiVersion: string;
|
|
6
|
+
disableHostPrefix: boolean;
|
|
7
|
+
logger: __Logger;
|
|
8
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
9
|
+
serviceId: string;
|
|
10
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
+
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-secrets-manager",
|
|
3
3
|
"description": "AWS SDK for JavaScript Secrets Manager Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.53.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",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "rimraf ./dist-*"
|
|
12
|
+
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
|
|
13
13
|
},
|
|
14
14
|
"main": "./dist-cjs/index.js",
|
|
15
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -18,41 +18,41 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
41
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-node": "3.
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.53.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.53.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.53.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.53.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.53.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.53.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.53.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.53.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.53.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.53.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.53.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.53.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.53.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.53.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.53.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.53.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.53.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.53.0",
|
|
39
|
+
"@aws-sdk/types": "3.53.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.53.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.52.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.52.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.53.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.53.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.53.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.53.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
51
|
"tslib": "^2.3.0",
|
|
52
52
|
"uuid": "^8.3.2"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
55
|
+
"@aws-sdk/service-client-documentation-generator": "3.52.0",
|
|
56
56
|
"@tsconfig/recommended": "1.0.1",
|
|
57
57
|
"@types/node": "^12.7.5",
|
|
58
58
|
"@types/uuid": "^8.3.0",
|