@depup/aws-sdk__client-secrets-manager 3.1010.0-depup.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/LICENSE +201 -0
- package/README.md +39 -0
- package/changes.json +42 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +511 -0
- package/dist-cjs/models/SecretsManagerServiceException.js +12 -0
- package/dist-cjs/models/errors.js +184 -0
- package/dist-cjs/runtimeConfig.browser.js +38 -0
- package/dist-cjs/runtimeConfig.js +53 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +43 -0
- package/dist-cjs/schemas/schemas_0.js +665 -0
- package/dist-es/SecretsManager.js +61 -0
- package/dist-es/SecretsManagerClient.js +50 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commands/BatchGetSecretValueCommand.js +16 -0
- package/dist-es/commands/CancelRotateSecretCommand.js +16 -0
- package/dist-es/commands/CreateSecretCommand.js +16 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +16 -0
- package/dist-es/commands/DeleteSecretCommand.js +16 -0
- package/dist-es/commands/DescribeSecretCommand.js +16 -0
- package/dist-es/commands/GetRandomPasswordCommand.js +16 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +16 -0
- package/dist-es/commands/GetSecretValueCommand.js +16 -0
- package/dist-es/commands/ListSecretVersionIdsCommand.js +16 -0
- package/dist-es/commands/ListSecretsCommand.js +16 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +16 -0
- package/dist-es/commands/PutSecretValueCommand.js +16 -0
- package/dist-es/commands/RemoveRegionsFromReplicationCommand.js +16 -0
- package/dist-es/commands/ReplicateSecretToRegionsCommand.js +16 -0
- package/dist-es/commands/RestoreSecretCommand.js +16 -0
- package/dist-es/commands/RotateSecretCommand.js +16 -0
- package/dist-es/commands/StopReplicationToReplicaCommand.js +16 -0
- package/dist-es/commands/TagResourceCommand.js +16 -0
- package/dist-es/commands/UntagResourceCommand.js +16 -0
- package/dist-es/commands/UpdateSecretCommand.js +16 -0
- package/dist-es/commands/UpdateSecretVersionStageCommand.js +16 -0
- package/dist-es/commands/ValidateResourcePolicyCommand.js +16 -0
- package/dist-es/commands/index.js +23 -0
- package/dist-es/endpoint/EndpointParameters.js +13 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +9 -0
- package/dist-es/models/SecretsManagerServiceException.js +8 -0
- package/dist-es/models/enums.js +24 -0
- package/dist-es/models/errors.js +169 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/BatchGetSecretValuePaginator.js +4 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListSecretVersionIdsPaginator.js +4 -0
- package/dist-es/pagination/ListSecretsPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/runtimeConfig.browser.js +33 -0
- package/dist-es/runtimeConfig.js +48 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +39 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +661 -0
- package/dist-types/SecretsManager.d.ts +220 -0
- package/dist-types/SecretsManagerClient.d.ts +235 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/BatchGetSecretValueCommand.d.ts +210 -0
- package/dist-types/commands/CancelRotateSecretCommand.d.ts +135 -0
- package/dist-types/commands/CreateSecretCommand.d.ts +218 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +126 -0
- package/dist-types/commands/DeleteSecretCommand.d.ts +135 -0
- package/dist-types/commands/DescribeSecretCommand.d.ts +137 -0
- package/dist-types/commands/GetRandomPasswordCommand.d.ts +135 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +138 -0
- package/dist-types/commands/GetSecretValueCommand.d.ts +157 -0
- package/dist-types/commands/ListSecretVersionIdsCommand.d.ts +151 -0
- package/dist-types/commands/ListSecretsCommand.d.ts +208 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +147 -0
- package/dist-types/commands/PutSecretValueCommand.d.ts +183 -0
- package/dist-types/commands/RemoveRegionsFromReplicationCommand.d.ts +122 -0
- package/dist-types/commands/ReplicateSecretToRegionsCommand.d.ts +157 -0
- package/dist-types/commands/RestoreSecretCommand.d.ts +126 -0
- package/dist-types/commands/RotateSecretCommand.d.ts +180 -0
- package/dist-types/commands/StopReplicationToReplicaCommand.d.ts +111 -0
- package/dist-types/commands/TagResourceCommand.d.ts +145 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +134 -0
- package/dist-types/commands/UpdateSecretCommand.d.ts +221 -0
- package/dist-types/commands/UpdateSecretVersionStageCommand.d.ts +187 -0
- package/dist-types/commands/ValidateResourcePolicyCommand.d.ts +161 -0
- package/dist-types/commands/index.d.ts +23 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +50 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +42 -0
- package/dist-types/models/SecretsManagerServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +56 -0
- package/dist-types/models/errors.d.ts +175 -0
- package/dist-types/models/models_0.d.ts +1957 -0
- package/dist-types/pagination/BatchGetSecretValuePaginator.d.ts +7 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListSecretVersionIdsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSecretsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/runtimeConfig.browser.d.ts +55 -0
- package/dist-types/runtimeConfig.d.ts +55 -0
- package/dist-types/runtimeConfig.native.d.ts +54 -0
- package/dist-types/runtimeConfig.shared.d.ts +27 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +99 -0
- package/dist-types/ts3.4/SecretsManager.d.ts +426 -0
- package/dist-types/ts3.4/SecretsManagerClient.d.ts +258 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/BatchGetSecretValueCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CancelRotateSecretCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateSecretCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteSecretCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DescribeSecretCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetRandomPasswordCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetSecretValueCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListSecretVersionIdsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListSecretsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutSecretValueCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/RemoveRegionsFromReplicationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ReplicateSecretToRegionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RestoreSecretCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/RotateSecretCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/StopReplicationToReplicaCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/UpdateSecretCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateSecretVersionStageCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ValidateResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +23 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +12 -0
- package/dist-types/ts3.4/models/SecretsManagerServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +29 -0
- package/dist-types/ts3.4/models/errors.d.ts +97 -0
- package/dist-types/ts3.4/models/models_0.d.ts +333 -0
- package/dist-types/ts3.4/pagination/BatchGetSecretValuePaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListSecretVersionIdsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSecretsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +100 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +104 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +98 -0
- package/package.json +159 -0
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
|
+
import { SecretsManagerClientConfig } from "./SecretsManagerClient";
|
|
3
|
+
export declare const getRuntimeConfig: (config: SecretsManagerClientConfig) => {
|
|
4
|
+
runtime: string;
|
|
5
|
+
defaultsMode: import("@smithy/types").Provider<
|
|
6
|
+
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
|
+
>;
|
|
8
|
+
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
9
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
+
credentialDefaultProvider:
|
|
11
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
12
|
+
| ((
|
|
13
|
+
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
14
|
+
) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
15
|
+
defaultUserAgentProvider: (
|
|
16
|
+
config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
17
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
18
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
19
|
+
region: string | import("@smithy/types").Provider<string>;
|
|
20
|
+
requestHandler:
|
|
21
|
+
| RequestHandler
|
|
22
|
+
| import("@smithy/protocol-http").HttpHandler<any>;
|
|
23
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
24
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
25
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
26
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
27
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
28
|
+
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
29
|
+
cacheMiddleware?: boolean | undefined;
|
|
30
|
+
protocol:
|
|
31
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
32
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
33
|
+
| typeof import("@aws-sdk/core").AwsJson1_1Protocol;
|
|
34
|
+
protocolSettings: {
|
|
35
|
+
defaultNamespace?: string;
|
|
36
|
+
[setting: string]: unknown;
|
|
37
|
+
};
|
|
38
|
+
apiVersion: string;
|
|
39
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
40
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
41
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
42
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
43
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
44
|
+
disableHostPrefix: boolean;
|
|
45
|
+
serviceId: string;
|
|
46
|
+
profile?: string;
|
|
47
|
+
logger: import("@smithy/types").Logger;
|
|
48
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
49
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
50
|
+
retryStrategy?:
|
|
51
|
+
| import("@smithy/types").RetryStrategy
|
|
52
|
+
| import("@smithy/types").RetryStrategyV2;
|
|
53
|
+
endpoint?:
|
|
54
|
+
| ((
|
|
55
|
+
| string
|
|
56
|
+
| import("@smithy/types").Endpoint
|
|
57
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
58
|
+
| import("@smithy/types").EndpointV2
|
|
59
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
60
|
+
) &
|
|
61
|
+
(
|
|
62
|
+
| string
|
|
63
|
+
| import("@smithy/types").Provider<string>
|
|
64
|
+
| import("@smithy/types").Endpoint
|
|
65
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
66
|
+
| import("@smithy/types").EndpointV2
|
|
67
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
68
|
+
))
|
|
69
|
+
| undefined;
|
|
70
|
+
endpointProvider: (
|
|
71
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
72
|
+
context?: {
|
|
73
|
+
logger?: import("@smithy/types").Logger;
|
|
74
|
+
}
|
|
75
|
+
) => import("@smithy/types").EndpointV2;
|
|
76
|
+
tls?: boolean;
|
|
77
|
+
serviceConfiguredEndpoint?: never;
|
|
78
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
79
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SecretsManagerHttpAuthSchemeProvider;
|
|
80
|
+
credentials?:
|
|
81
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
82
|
+
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
83
|
+
signer?:
|
|
84
|
+
| import("@smithy/types").RequestSigner
|
|
85
|
+
| ((
|
|
86
|
+
authScheme?: import("@smithy/types").AuthScheme
|
|
87
|
+
) => Promise<import("@smithy/types").RequestSigner>);
|
|
88
|
+
signingEscapePath?: boolean;
|
|
89
|
+
systemClockOffset?: number;
|
|
90
|
+
signingRegion?: string;
|
|
91
|
+
signerConstructor?: new (
|
|
92
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
93
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
94
|
+
) => import("@smithy/types").RequestSigner;
|
|
95
|
+
};
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { SecretsManagerClientConfig } from "./SecretsManagerClient";
|
|
2
|
+
export declare const getRuntimeConfig: (config: SecretsManagerClientConfig) => {
|
|
3
|
+
runtime: string;
|
|
4
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
5
|
+
requestHandler:
|
|
6
|
+
| import("@smithy/types").NodeHttpHandlerOptions
|
|
7
|
+
| import("@smithy/types").FetchHttpHandlerOptions
|
|
8
|
+
| Record<string, unknown>
|
|
9
|
+
| import("@smithy/protocol-http").HttpHandler<any>
|
|
10
|
+
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
11
|
+
cacheMiddleware?: boolean;
|
|
12
|
+
protocol:
|
|
13
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
14
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
15
|
+
| typeof import("@aws-sdk/core").AwsJson1_1Protocol;
|
|
16
|
+
protocolSettings: {
|
|
17
|
+
defaultNamespace?: string;
|
|
18
|
+
[setting: string]: unknown;
|
|
19
|
+
};
|
|
20
|
+
apiVersion: string;
|
|
21
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
22
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
23
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
24
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
25
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
26
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
27
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
28
|
+
disableHostPrefix: boolean;
|
|
29
|
+
serviceId: string;
|
|
30
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
31
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
32
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
33
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
34
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
35
|
+
profile?: string;
|
|
36
|
+
defaultUserAgentProvider: (
|
|
37
|
+
config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
38
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
39
|
+
credentialDefaultProvider:
|
|
40
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
41
|
+
| ((
|
|
42
|
+
_: unknown
|
|
43
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
44
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
45
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
46
|
+
logger: import("@smithy/types").Logger;
|
|
47
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
48
|
+
defaultsMode:
|
|
49
|
+
| import("@smithy/smithy-client").DefaultsMode
|
|
50
|
+
| import("@smithy/types").Provider<
|
|
51
|
+
import("@smithy/smithy-client").DefaultsMode
|
|
52
|
+
>;
|
|
53
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
54
|
+
userAgentAppId?:
|
|
55
|
+
| string
|
|
56
|
+
| undefined
|
|
57
|
+
| import("@smithy/types").Provider<string | undefined>;
|
|
58
|
+
retryStrategy?:
|
|
59
|
+
| import("@smithy/types").RetryStrategy
|
|
60
|
+
| import("@smithy/types").RetryStrategyV2;
|
|
61
|
+
endpoint?:
|
|
62
|
+
| ((
|
|
63
|
+
| string
|
|
64
|
+
| import("@smithy/types").Endpoint
|
|
65
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
66
|
+
| import("@smithy/types").EndpointV2
|
|
67
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
68
|
+
) &
|
|
69
|
+
(
|
|
70
|
+
| string
|
|
71
|
+
| import("@smithy/types").Provider<string>
|
|
72
|
+
| import("@smithy/types").Endpoint
|
|
73
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
74
|
+
| import("@smithy/types").EndpointV2
|
|
75
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
76
|
+
))
|
|
77
|
+
| undefined;
|
|
78
|
+
endpointProvider: (
|
|
79
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
80
|
+
context?: {
|
|
81
|
+
logger?: import("@smithy/types").Logger;
|
|
82
|
+
}
|
|
83
|
+
) => import("@smithy/types").EndpointV2;
|
|
84
|
+
tls?: boolean;
|
|
85
|
+
serviceConfiguredEndpoint?: never;
|
|
86
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
87
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
88
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SecretsManagerHttpAuthSchemeProvider;
|
|
89
|
+
credentials?:
|
|
90
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
91
|
+
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
92
|
+
signer?:
|
|
93
|
+
| import("@smithy/types").RequestSigner
|
|
94
|
+
| ((
|
|
95
|
+
authScheme?: import("@smithy/types").AuthScheme
|
|
96
|
+
) => Promise<import("@smithy/types").RequestSigner>);
|
|
97
|
+
signingEscapePath?: boolean;
|
|
98
|
+
systemClockOffset?: number;
|
|
99
|
+
signingRegion?: string;
|
|
100
|
+
signerConstructor?: new (
|
|
101
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
102
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
103
|
+
) => import("@smithy/types").RequestSigner;
|
|
104
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
2
|
+
import { SecretsManagerClientConfig } from "./SecretsManagerClient";
|
|
3
|
+
export declare const getRuntimeConfig: (config: SecretsManagerClientConfig) => {
|
|
4
|
+
apiVersion: string;
|
|
5
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
6
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
7
|
+
disableHostPrefix: boolean;
|
|
8
|
+
endpointProvider: (
|
|
9
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
10
|
+
context?: {
|
|
11
|
+
logger?: import("@smithy/types").Logger;
|
|
12
|
+
}
|
|
13
|
+
) => import("@smithy/types").EndpointV2;
|
|
14
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
15
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SecretsManagerHttpAuthSchemeProvider;
|
|
16
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
17
|
+
logger: import("@smithy/types").Logger;
|
|
18
|
+
protocol:
|
|
19
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
20
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
21
|
+
| typeof AwsJson1_1Protocol;
|
|
22
|
+
protocolSettings: {
|
|
23
|
+
[setting: string]: unknown;
|
|
24
|
+
defaultNamespace?: string;
|
|
25
|
+
};
|
|
26
|
+
serviceId: string;
|
|
27
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
28
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
29
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
30
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SecretsManagerExtensionConfiguration } from "./extensionConfiguration";
|
|
2
|
+
export interface RuntimeExtension {
|
|
3
|
+
configure(extensionConfiguration: SecretsManagerExtensionConfiguration): void;
|
|
4
|
+
}
|
|
5
|
+
export interface RuntimeExtensionsConfig {
|
|
6
|
+
extensions: RuntimeExtension[];
|
|
7
|
+
}
|
|
8
|
+
export declare const resolveRuntimeExtensions: (
|
|
9
|
+
runtimeConfig: any,
|
|
10
|
+
extensions: RuntimeExtension[]
|
|
11
|
+
) => any;
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
+
import {
|
|
3
|
+
StaticErrorSchema,
|
|
4
|
+
StaticOperationSchema,
|
|
5
|
+
StaticStructureSchema,
|
|
6
|
+
} from "@smithy/types";
|
|
7
|
+
export declare var SecretsManagerServiceException$: StaticErrorSchema;
|
|
8
|
+
export declare var DecryptionFailure$: StaticErrorSchema;
|
|
9
|
+
export declare var EncryptionFailure$: StaticErrorSchema;
|
|
10
|
+
export declare var InternalServiceError$: StaticErrorSchema;
|
|
11
|
+
export declare var InvalidNextTokenException$: StaticErrorSchema;
|
|
12
|
+
export declare var InvalidParameterException$: StaticErrorSchema;
|
|
13
|
+
export declare var InvalidRequestException$: StaticErrorSchema;
|
|
14
|
+
export declare var LimitExceededException$: StaticErrorSchema;
|
|
15
|
+
export declare var MalformedPolicyDocumentException$: StaticErrorSchema;
|
|
16
|
+
export declare var PreconditionNotMetException$: StaticErrorSchema;
|
|
17
|
+
export declare var PublicPolicyException$: StaticErrorSchema;
|
|
18
|
+
export declare var ResourceExistsException$: StaticErrorSchema;
|
|
19
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
20
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
21
|
+
export declare var APIErrorType$: StaticStructureSchema;
|
|
22
|
+
export declare var BatchGetSecretValueRequest$: StaticStructureSchema;
|
|
23
|
+
export declare var BatchGetSecretValueResponse$: StaticStructureSchema;
|
|
24
|
+
export declare var CancelRotateSecretRequest$: StaticStructureSchema;
|
|
25
|
+
export declare var CancelRotateSecretResponse$: StaticStructureSchema;
|
|
26
|
+
export declare var CreateSecretRequest$: StaticStructureSchema;
|
|
27
|
+
export declare var CreateSecretResponse$: StaticStructureSchema;
|
|
28
|
+
export declare var DeleteResourcePolicyRequest$: StaticStructureSchema;
|
|
29
|
+
export declare var DeleteResourcePolicyResponse$: StaticStructureSchema;
|
|
30
|
+
export declare var DeleteSecretRequest$: StaticStructureSchema;
|
|
31
|
+
export declare var DeleteSecretResponse$: StaticStructureSchema;
|
|
32
|
+
export declare var DescribeSecretRequest$: StaticStructureSchema;
|
|
33
|
+
export declare var DescribeSecretResponse$: StaticStructureSchema;
|
|
34
|
+
export declare var ExternalSecretRotationMetadataItem$: StaticStructureSchema;
|
|
35
|
+
export declare var Filter$: StaticStructureSchema;
|
|
36
|
+
export declare var GetRandomPasswordRequest$: StaticStructureSchema;
|
|
37
|
+
export declare var GetRandomPasswordResponse$: StaticStructureSchema;
|
|
38
|
+
export declare var GetResourcePolicyRequest$: StaticStructureSchema;
|
|
39
|
+
export declare var GetResourcePolicyResponse$: StaticStructureSchema;
|
|
40
|
+
export declare var GetSecretValueRequest$: StaticStructureSchema;
|
|
41
|
+
export declare var GetSecretValueResponse$: StaticStructureSchema;
|
|
42
|
+
export declare var ListSecretsRequest$: StaticStructureSchema;
|
|
43
|
+
export declare var ListSecretsResponse$: StaticStructureSchema;
|
|
44
|
+
export declare var ListSecretVersionIdsRequest$: StaticStructureSchema;
|
|
45
|
+
export declare var ListSecretVersionIdsResponse$: StaticStructureSchema;
|
|
46
|
+
export declare var PutResourcePolicyRequest$: StaticStructureSchema;
|
|
47
|
+
export declare var PutResourcePolicyResponse$: StaticStructureSchema;
|
|
48
|
+
export declare var PutSecretValueRequest$: StaticStructureSchema;
|
|
49
|
+
export declare var PutSecretValueResponse$: StaticStructureSchema;
|
|
50
|
+
export declare var RemoveRegionsFromReplicationRequest$: StaticStructureSchema;
|
|
51
|
+
export declare var RemoveRegionsFromReplicationResponse$: StaticStructureSchema;
|
|
52
|
+
export declare var ReplicaRegionType$: StaticStructureSchema;
|
|
53
|
+
export declare var ReplicateSecretToRegionsRequest$: StaticStructureSchema;
|
|
54
|
+
export declare var ReplicateSecretToRegionsResponse$: StaticStructureSchema;
|
|
55
|
+
export declare var ReplicationStatusType$: StaticStructureSchema;
|
|
56
|
+
export declare var RestoreSecretRequest$: StaticStructureSchema;
|
|
57
|
+
export declare var RestoreSecretResponse$: StaticStructureSchema;
|
|
58
|
+
export declare var RotateSecretRequest$: StaticStructureSchema;
|
|
59
|
+
export declare var RotateSecretResponse$: StaticStructureSchema;
|
|
60
|
+
export declare var RotationRulesType$: StaticStructureSchema;
|
|
61
|
+
export declare var SecretListEntry$: StaticStructureSchema;
|
|
62
|
+
export declare var SecretValueEntry$: StaticStructureSchema;
|
|
63
|
+
export declare var SecretVersionsListEntry$: StaticStructureSchema;
|
|
64
|
+
export declare var StopReplicationToReplicaRequest$: StaticStructureSchema;
|
|
65
|
+
export declare var StopReplicationToReplicaResponse$: StaticStructureSchema;
|
|
66
|
+
export declare var Tag$: StaticStructureSchema;
|
|
67
|
+
export declare var TagResourceRequest$: StaticStructureSchema;
|
|
68
|
+
export declare var UntagResourceRequest$: StaticStructureSchema;
|
|
69
|
+
export declare var UpdateSecretRequest$: StaticStructureSchema;
|
|
70
|
+
export declare var UpdateSecretResponse$: StaticStructureSchema;
|
|
71
|
+
export declare var UpdateSecretVersionStageRequest$: StaticStructureSchema;
|
|
72
|
+
export declare var UpdateSecretVersionStageResponse$: StaticStructureSchema;
|
|
73
|
+
export declare var ValidateResourcePolicyRequest$: StaticStructureSchema;
|
|
74
|
+
export declare var ValidateResourcePolicyResponse$: StaticStructureSchema;
|
|
75
|
+
export declare var ValidationErrorsEntry$: StaticStructureSchema;
|
|
76
|
+
export declare var BatchGetSecretValue$: StaticOperationSchema;
|
|
77
|
+
export declare var CancelRotateSecret$: StaticOperationSchema;
|
|
78
|
+
export declare var CreateSecret$: StaticOperationSchema;
|
|
79
|
+
export declare var DeleteResourcePolicy$: StaticOperationSchema;
|
|
80
|
+
export declare var DeleteSecret$: StaticOperationSchema;
|
|
81
|
+
export declare var DescribeSecret$: StaticOperationSchema;
|
|
82
|
+
export declare var GetRandomPassword$: StaticOperationSchema;
|
|
83
|
+
export declare var GetResourcePolicy$: StaticOperationSchema;
|
|
84
|
+
export declare var GetSecretValue$: StaticOperationSchema;
|
|
85
|
+
export declare var ListSecrets$: StaticOperationSchema;
|
|
86
|
+
export declare var ListSecretVersionIds$: StaticOperationSchema;
|
|
87
|
+
export declare var PutResourcePolicy$: StaticOperationSchema;
|
|
88
|
+
export declare var PutSecretValue$: StaticOperationSchema;
|
|
89
|
+
export declare var RemoveRegionsFromReplication$: StaticOperationSchema;
|
|
90
|
+
export declare var ReplicateSecretToRegions$: StaticOperationSchema;
|
|
91
|
+
export declare var RestoreSecret$: StaticOperationSchema;
|
|
92
|
+
export declare var RotateSecret$: StaticOperationSchema;
|
|
93
|
+
export declare var StopReplicationToReplica$: StaticOperationSchema;
|
|
94
|
+
export declare var TagResource$: StaticOperationSchema;
|
|
95
|
+
export declare var UntagResource$: StaticOperationSchema;
|
|
96
|
+
export declare var UpdateSecret$: StaticOperationSchema;
|
|
97
|
+
export declare var UpdateSecretVersionStage$: StaticOperationSchema;
|
|
98
|
+
export declare var ValidateResourcePolicy$: StaticOperationSchema;
|
package/package.json
ADDED
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@depup/aws-sdk__client-secrets-manager",
|
|
3
|
+
"description": "[DepUp] AWS SDK for JavaScript Secrets Manager Client for Node.js, Browser and React Native",
|
|
4
|
+
"version": "3.1010.0-depup.0",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
|
+
"build:cjs": "node ../../scripts/compilation/inline client-secrets-manager",
|
|
8
|
+
"build:es": "tsc -p tsconfig.es.json",
|
|
9
|
+
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
10
|
+
"build:types": "tsc -p tsconfig.types.json",
|
|
11
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
+
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
13
|
+
"extract:docs": "api-extractor run --local",
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service --solo secrets-manager",
|
|
15
|
+
"test": "yarn g:vitest run --passWithNoTests",
|
|
16
|
+
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs",
|
|
17
|
+
"test:integration": "yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts",
|
|
18
|
+
"test:integration:watch": "yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts",
|
|
19
|
+
"test:watch": "yarn g:vitest watch --passWithNoTests"
|
|
20
|
+
},
|
|
21
|
+
"main": "./dist-cjs/index.js",
|
|
22
|
+
"types": "./dist-types/index.d.ts",
|
|
23
|
+
"module": "./dist-es/index.js",
|
|
24
|
+
"sideEffects": false,
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"@aws-crypto/sha256-browser": "5.2.0",
|
|
27
|
+
"@aws-crypto/sha256-js": "5.2.0",
|
|
28
|
+
"@aws-sdk/core": "^3.973.20",
|
|
29
|
+
"@aws-sdk/credential-provider-node": "^3.972.21",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "^3.972.8",
|
|
31
|
+
"@aws-sdk/middleware-logger": "^3.972.8",
|
|
32
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.8",
|
|
33
|
+
"@aws-sdk/middleware-user-agent": "^3.972.21",
|
|
34
|
+
"@aws-sdk/region-config-resolver": "^3.972.8",
|
|
35
|
+
"@aws-sdk/types": "^3.973.6",
|
|
36
|
+
"@aws-sdk/util-endpoints": "^3.996.5",
|
|
37
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.8",
|
|
38
|
+
"@aws-sdk/util-user-agent-node": "^3.973.7",
|
|
39
|
+
"@smithy/config-resolver": "^4.4.11",
|
|
40
|
+
"@smithy/core": "^3.23.12",
|
|
41
|
+
"@smithy/fetch-http-handler": "^5.3.15",
|
|
42
|
+
"@smithy/hash-node": "^4.2.12",
|
|
43
|
+
"@smithy/invalid-dependency": "^4.2.12",
|
|
44
|
+
"@smithy/middleware-content-length": "^4.2.12",
|
|
45
|
+
"@smithy/middleware-endpoint": "^4.4.26",
|
|
46
|
+
"@smithy/middleware-retry": "^4.4.43",
|
|
47
|
+
"@smithy/middleware-serde": "^4.2.15",
|
|
48
|
+
"@smithy/middleware-stack": "^4.2.12",
|
|
49
|
+
"@smithy/node-config-provider": "^4.3.12",
|
|
50
|
+
"@smithy/node-http-handler": "^4.5.0",
|
|
51
|
+
"@smithy/protocol-http": "^5.3.12",
|
|
52
|
+
"@smithy/smithy-client": "^4.12.6",
|
|
53
|
+
"@smithy/types": "^4.13.1",
|
|
54
|
+
"@smithy/url-parser": "^4.2.12",
|
|
55
|
+
"@smithy/util-base64": "^4.3.2",
|
|
56
|
+
"@smithy/util-body-length-browser": "^4.2.2",
|
|
57
|
+
"@smithy/util-body-length-node": "^4.2.3",
|
|
58
|
+
"@smithy/util-defaults-mode-browser": "^4.3.42",
|
|
59
|
+
"@smithy/util-defaults-mode-node": "^4.2.45",
|
|
60
|
+
"@smithy/util-endpoints": "^3.3.3",
|
|
61
|
+
"@smithy/util-middleware": "^4.2.12",
|
|
62
|
+
"@smithy/util-retry": "^4.2.12",
|
|
63
|
+
"@smithy/util-utf8": "^4.2.2",
|
|
64
|
+
"tslib": "^2.8.1"
|
|
65
|
+
},
|
|
66
|
+
"devDependencies": {
|
|
67
|
+
"@smithy/snapshot-testing": "^2.0.2",
|
|
68
|
+
"@tsconfig/node20": "20.1.8",
|
|
69
|
+
"@types/node": "^20.14.8",
|
|
70
|
+
"concurrently": "7.0.0",
|
|
71
|
+
"downlevel-dts": "0.10.1",
|
|
72
|
+
"premove": "4.0.0",
|
|
73
|
+
"typescript": "~5.8.3",
|
|
74
|
+
"vitest": "^4.0.17"
|
|
75
|
+
},
|
|
76
|
+
"engines": {
|
|
77
|
+
"node": ">=20.0.0"
|
|
78
|
+
},
|
|
79
|
+
"typesVersions": {
|
|
80
|
+
"<4.5": {
|
|
81
|
+
"dist-types/*": [
|
|
82
|
+
"dist-types/ts3.4/*"
|
|
83
|
+
]
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"files": [
|
|
87
|
+
"dist-*/**",
|
|
88
|
+
"changes.json",
|
|
89
|
+
"README.md"
|
|
90
|
+
],
|
|
91
|
+
"author": {
|
|
92
|
+
"name": "AWS SDK for JavaScript Team",
|
|
93
|
+
"url": "https://aws.amazon.com/javascript/"
|
|
94
|
+
},
|
|
95
|
+
"license": "Apache-2.0",
|
|
96
|
+
"browser": {
|
|
97
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
98
|
+
},
|
|
99
|
+
"react-native": {
|
|
100
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
101
|
+
},
|
|
102
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-secrets-manager",
|
|
103
|
+
"repository": {
|
|
104
|
+
"type": "git",
|
|
105
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
106
|
+
"directory": "clients/client-secrets-manager"
|
|
107
|
+
},
|
|
108
|
+
"keywords": [
|
|
109
|
+
"depup",
|
|
110
|
+
"dependency-bumped",
|
|
111
|
+
"updated-deps",
|
|
112
|
+
"@aws-sdk/client-secrets-manager"
|
|
113
|
+
],
|
|
114
|
+
"depup": {
|
|
115
|
+
"changes": {
|
|
116
|
+
"@smithy/core": {
|
|
117
|
+
"from": "^3.23.11",
|
|
118
|
+
"to": "^3.23.12"
|
|
119
|
+
},
|
|
120
|
+
"@smithy/middleware-endpoint": {
|
|
121
|
+
"from": "^4.4.25",
|
|
122
|
+
"to": "^4.4.26"
|
|
123
|
+
},
|
|
124
|
+
"@smithy/middleware-retry": {
|
|
125
|
+
"from": "^4.4.42",
|
|
126
|
+
"to": "^4.4.43"
|
|
127
|
+
},
|
|
128
|
+
"@smithy/middleware-serde": {
|
|
129
|
+
"from": "^4.2.14",
|
|
130
|
+
"to": "^4.2.15"
|
|
131
|
+
},
|
|
132
|
+
"@smithy/node-http-handler": {
|
|
133
|
+
"from": "^4.4.16",
|
|
134
|
+
"to": "^4.5.0"
|
|
135
|
+
},
|
|
136
|
+
"@smithy/smithy-client": {
|
|
137
|
+
"from": "^4.12.5",
|
|
138
|
+
"to": "^4.12.6"
|
|
139
|
+
},
|
|
140
|
+
"@smithy/util-defaults-mode-browser": {
|
|
141
|
+
"from": "^4.3.41",
|
|
142
|
+
"to": "^4.3.42"
|
|
143
|
+
},
|
|
144
|
+
"@smithy/util-defaults-mode-node": {
|
|
145
|
+
"from": "^4.2.44",
|
|
146
|
+
"to": "^4.2.45"
|
|
147
|
+
},
|
|
148
|
+
"tslib": {
|
|
149
|
+
"from": "^2.6.2",
|
|
150
|
+
"to": "^2.8.1"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"depsUpdated": 9,
|
|
154
|
+
"originalPackage": "@aws-sdk/client-secrets-manager",
|
|
155
|
+
"originalVersion": "3.1010.0",
|
|
156
|
+
"processedAt": "2026-03-17T16:30:23.141Z",
|
|
157
|
+
"smokeTest": "passed"
|
|
158
|
+
}
|
|
159
|
+
}
|