@aws-sdk/client-secrets-manager 3.332.0 → 3.335.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/protocols/Aws_json1_1.js +1 -1
- package/dist-es/protocols/Aws_json1_1.js +1 -1
- package/dist-types/SecretsManagerClient.d.ts +3 -2
- package/dist-types/endpoint/EndpointParameters.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +3 -2
- package/dist-types/protocols/Aws_json1_1.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +12 -12
- package/dist-types/runtimeConfig.d.ts +9 -9
- package/dist-types/runtimeConfig.native.d.ts +13 -13
- package/dist-types/runtimeConfig.shared.d.ts +4 -4
- package/dist-types/ts3.4/SecretsManagerClient.d.ts +7 -5
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -2
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +18 -15
- package/dist-types/ts3.4/runtimeConfig.d.ts +12 -12
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -15
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
- package/package.json +5 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.de_ValidateResourcePolicyCommand = exports.de_UpdateSecretVersionStageCommand = exports.de_UpdateSecretCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopReplicationToReplicaCommand = exports.de_RotateSecretCommand = exports.de_RestoreSecretCommand = exports.de_ReplicateSecretToRegionsCommand = exports.de_RemoveRegionsFromReplicationCommand = exports.de_PutSecretValueCommand = exports.de_PutResourcePolicyCommand = exports.de_ListSecretVersionIdsCommand = exports.de_ListSecretsCommand = exports.de_GetSecretValueCommand = exports.de_GetResourcePolicyCommand = exports.de_GetRandomPasswordCommand = exports.de_DescribeSecretCommand = exports.de_DeleteSecretCommand = exports.de_DeleteResourcePolicyCommand = exports.de_CreateSecretCommand = exports.de_CancelRotateSecretCommand = exports.se_ValidateResourcePolicyCommand = exports.se_UpdateSecretVersionStageCommand = exports.se_UpdateSecretCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StopReplicationToReplicaCommand = exports.se_RotateSecretCommand = exports.se_RestoreSecretCommand = exports.se_ReplicateSecretToRegionsCommand = exports.se_RemoveRegionsFromReplicationCommand = exports.se_PutSecretValueCommand = exports.se_PutResourcePolicyCommand = exports.se_ListSecretVersionIdsCommand = exports.se_ListSecretsCommand = exports.se_GetSecretValueCommand = exports.se_GetResourcePolicyCommand = exports.se_GetRandomPasswordCommand = exports.se_DescribeSecretCommand = exports.se_DeleteSecretCommand = exports.se_DeleteResourcePolicyCommand = exports.se_CreateSecretCommand = exports.se_CancelRotateSecretCommand = void 0;
|
|
4
|
-
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
5
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
const protocol_http_1 = require("@smithy/protocol-http");
|
|
6
6
|
const uuid_1 = require("uuid");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const SecretsManagerServiceException_1 = require("../models/SecretsManagerServiceException");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
1
|
import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { DecryptionFailure, EncryptionFailure, InternalServiceError, InvalidNextTokenException, InvalidParameterException, InvalidRequestException, LimitExceededException, MalformedPolicyDocumentException, PreconditionNotMetException, PublicPolicyException, ResourceExistsException, ResourceNotFoundException, } from "../models/models_0";
|
|
5
5
|
import { SecretsManagerServiceException as __BaseException } from "../models/SecretsManagerServiceException";
|
|
@@ -4,9 +4,10 @@ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middle
|
|
|
4
4
|
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
5
5
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
6
6
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
7
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
8
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
|
-
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials,
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
|
+
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
10
|
+
import { Decoder as __Decoder, Encoder as __Encoder, Provider as __Provider, StreamCollector as __StreamCollector } from "@smithy/types";
|
|
10
11
|
import { CancelRotateSecretCommandInput, CancelRotateSecretCommandOutput } from "./commands/CancelRotateSecretCommand";
|
|
11
12
|
import { CreateSecretCommandInput, CreateSecretCommandOutput } from "./commands/CreateSecretCommand";
|
|
12
13
|
import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EndpointParameters as __EndpointParameters, EndpointV2 } from "@aws-sdk/types";
|
|
2
|
+
import { Endpoint, Provider } from "@smithy/types";
|
|
2
3
|
export interface ClientInputEndpointParameters {
|
|
3
4
|
region?: string | Provider<string>;
|
|
4
5
|
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
@@ -473,6 +473,7 @@ export interface DeleteSecretRequest {
|
|
|
473
473
|
* <p>Secrets Manager performs the actual deletion with an asynchronous background process, so there might
|
|
474
474
|
* be a short delay before the secret is permanently deleted. If you delete a secret and then
|
|
475
475
|
* immediately create a secret with the same name, use appropriate back off and retry logic.</p>
|
|
476
|
+
* <p>If you forcibly delete an already deleted or nonexistent secret, the operation does not return <code>ResourceNotFoundException</code>.</p>
|
|
476
477
|
* <important>
|
|
477
478
|
* <p>Use this parameter with caution. This parameter causes the operation to skip the normal
|
|
478
479
|
* recovery window before the permanent deletion that Secrets Manager would normally impose with the
|
|
@@ -626,7 +627,7 @@ export interface DescribeSecretResponse {
|
|
|
626
627
|
*/
|
|
627
628
|
DeletedDate?: Date;
|
|
628
629
|
/**
|
|
629
|
-
* <p>The next
|
|
630
|
+
* <p>The next rotation is scheduled to occur on or before this date. If the secret isn't configured for rotation, Secrets Manager returns null.</p>
|
|
630
631
|
*/
|
|
631
632
|
NextRotationDate?: Date;
|
|
632
633
|
/**
|
|
@@ -1031,7 +1032,7 @@ export interface SecretListEntry {
|
|
|
1031
1032
|
*/
|
|
1032
1033
|
DeletedDate?: Date;
|
|
1033
1034
|
/**
|
|
1034
|
-
* <p>The next
|
|
1035
|
+
* <p>The next rotation is scheduled to occur on or before this date. If the secret isn't configured for rotation, Secrets Manager returns null.</p>
|
|
1035
1036
|
*/
|
|
1036
1037
|
NextRotationDate?: Date;
|
|
1037
1038
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@
|
|
2
|
-
import { SerdeContext as __SerdeContext } from "@
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
2
|
+
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
3
3
|
import { CancelRotateSecretCommandInput, CancelRotateSecretCommandOutput } from "../commands/CancelRotateSecretCommand";
|
|
4
4
|
import { CreateSecretCommandInput, CreateSecretCommandOutput } from "../commands/CreateSecretCommand";
|
|
5
5
|
import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "../commands/DeleteResourcePolicyCommand";
|
|
@@ -7,26 +7,26 @@ export declare const getRuntimeConfig: (config: SecretsManagerClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
|
-
maxAttempts: number | import("@aws-sdk/types").Provider<number
|
|
12
|
+
maxAttempts: (number | import("@smithy/types").Provider<number>) & (number | import("@aws-sdk/types").Provider<number>);
|
|
13
13
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
14
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@
|
|
15
|
-
retryMode: string | import("@
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
|
|
15
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
17
|
-
streamCollector: import("@
|
|
18
|
-
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean
|
|
19
|
-
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean
|
|
17
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
19
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
20
20
|
apiVersion: string;
|
|
21
21
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
22
|
-
base64Decoder: import("@
|
|
23
|
-
base64Encoder: import("@
|
|
24
|
-
utf8Decoder: import("@
|
|
25
|
-
utf8Encoder: import("@
|
|
22
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
23
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
24
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
25
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
serviceId: string;
|
|
28
28
|
logger: import("@aws-sdk/types").Logger;
|
|
29
|
-
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@
|
|
29
|
+
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
|
|
30
30
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
31
31
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
32
32
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
@@ -7,26 +7,26 @@ export declare const getRuntimeConfig: (config: SecretsManagerClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
13
13
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
14
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@
|
|
15
|
-
retryMode: string | import("@
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
|
|
15
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
17
|
-
streamCollector: import("@
|
|
17
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
18
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
19
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
20
|
apiVersion: string;
|
|
21
21
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
22
|
-
base64Decoder: import("@
|
|
23
|
-
base64Encoder: import("@
|
|
24
|
-
utf8Decoder: import("@
|
|
25
|
-
utf8Encoder: import("@
|
|
22
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
23
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
24
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
25
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
serviceId: string;
|
|
28
28
|
logger: import("@aws-sdk/types").Logger;
|
|
29
|
-
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@
|
|
29
|
+
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
|
|
30
30
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
31
31
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
32
32
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
@@ -5,27 +5,27 @@ import { SecretsManagerClientConfig } from "./SecretsManagerClient";
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: SecretsManagerClientConfig) => {
|
|
6
6
|
runtime: string;
|
|
7
7
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
8
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@
|
|
8
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
11
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
|
-
streamCollector: import("@
|
|
13
|
-
base64Decoder: import("@
|
|
14
|
-
base64Encoder: import("@
|
|
15
|
-
utf8Decoder: import("@
|
|
16
|
-
utf8Encoder: import("@
|
|
12
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
13
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
14
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
15
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
16
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
17
17
|
disableHostPrefix: boolean;
|
|
18
18
|
serviceId: string;
|
|
19
|
-
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean
|
|
20
|
-
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean
|
|
19
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
20
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
21
21
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
22
|
-
credentialDefaultProvider: (input: any) => import("@
|
|
22
|
+
credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
23
23
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
24
|
-
maxAttempts: number | import("@aws-sdk/types").Provider<number
|
|
25
|
-
retryMode: string | import("@
|
|
24
|
+
maxAttempts: (number | import("@smithy/types").Provider<number>) & (number | import("@aws-sdk/types").Provider<number>);
|
|
25
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
26
|
logger: import("@aws-sdk/types").Logger;
|
|
27
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@
|
|
28
|
-
endpoint?: string | import("@aws-sdk/types").
|
|
27
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
28
|
+
endpoint?: string | import("@aws-sdk/types").EndpointV2 | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> & import("@smithy/types").Provider<import("@smithy/types").Endpoint>) | (import("@aws-sdk/types").Endpoint & import("@smithy/types").Endpoint) | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> & import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>) | undefined;
|
|
29
29
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
30
30
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
31
31
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
@@ -4,8 +4,8 @@ import { SecretsManagerClientConfig } from "./SecretsManagerClient";
|
|
|
4
4
|
*/
|
|
5
5
|
export declare const getRuntimeConfig: (config: SecretsManagerClientConfig) => {
|
|
6
6
|
apiVersion: string;
|
|
7
|
-
base64Decoder: import("@
|
|
8
|
-
base64Encoder: import("@
|
|
7
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
8
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
9
9
|
disableHostPrefix: boolean;
|
|
10
10
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
11
11
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
@@ -13,6 +13,6 @@ export declare const getRuntimeConfig: (config: SecretsManagerClientConfig) => {
|
|
|
13
13
|
logger: import("@aws-sdk/types").Logger;
|
|
14
14
|
serviceId: string;
|
|
15
15
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
16
|
-
utf8Decoder: import("@
|
|
17
|
-
utf8Encoder: import("@
|
|
16
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
17
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
18
18
|
};
|
|
@@ -22,7 +22,6 @@ import {
|
|
|
22
22
|
UserAgentInputConfig,
|
|
23
23
|
UserAgentResolvedConfig,
|
|
24
24
|
} from "@aws-sdk/middleware-user-agent";
|
|
25
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
26
25
|
import {
|
|
27
26
|
Client as __Client,
|
|
28
27
|
DefaultsMode as __DefaultsMode,
|
|
@@ -33,17 +32,20 @@ import {
|
|
|
33
32
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
34
33
|
ChecksumConstructor as __ChecksumConstructor,
|
|
35
34
|
Credentials as __Credentials,
|
|
36
|
-
Decoder as __Decoder,
|
|
37
|
-
Encoder as __Encoder,
|
|
38
35
|
HashConstructor as __HashConstructor,
|
|
39
36
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
40
37
|
Logger as __Logger,
|
|
41
|
-
Provider as __Provider,
|
|
42
38
|
Provider,
|
|
43
|
-
StreamCollector as __StreamCollector,
|
|
44
39
|
UrlParser as __UrlParser,
|
|
45
40
|
UserAgent as __UserAgent,
|
|
46
41
|
} from "@aws-sdk/types";
|
|
42
|
+
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
43
|
+
import {
|
|
44
|
+
Decoder as __Decoder,
|
|
45
|
+
Encoder as __Encoder,
|
|
46
|
+
Provider as __Provider,
|
|
47
|
+
StreamCollector as __StreamCollector,
|
|
48
|
+
} from "@smithy/types";
|
|
47
49
|
import {
|
|
48
50
|
CancelRotateSecretCommandInput,
|
|
49
51
|
CancelRotateSecretCommandOutput,
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Endpoint,
|
|
3
2
|
EndpointParameters as __EndpointParameters,
|
|
4
3
|
EndpointV2,
|
|
5
|
-
Provider,
|
|
6
4
|
} from "@aws-sdk/types";
|
|
5
|
+
import { Endpoint, Provider } from "@smithy/types";
|
|
7
6
|
export interface ClientInputEndpointParameters {
|
|
8
7
|
region?: string | Provider<string>;
|
|
9
8
|
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HttpRequest as __HttpRequest,
|
|
3
3
|
HttpResponse as __HttpResponse,
|
|
4
|
-
} from "@
|
|
5
|
-
import { SerdeContext as __SerdeContext } from "@
|
|
4
|
+
} from "@smithy/protocol-http";
|
|
5
|
+
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
6
6
|
import {
|
|
7
7
|
CancelRotateSecretCommandInput,
|
|
8
8
|
CancelRotateSecretCommandOutput,
|
|
@@ -8,11 +8,12 @@ export declare const getRuntimeConfig: (config: SecretsManagerClientConfig) => {
|
|
|
8
8
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
9
9
|
credentialDefaultProvider: (
|
|
10
10
|
input: any
|
|
11
|
-
) => import("@
|
|
11
|
+
) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
12
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
13
13
|
import("@aws-sdk/types").UserAgent
|
|
14
14
|
>;
|
|
15
|
-
maxAttempts: number | import("@
|
|
15
|
+
maxAttempts: (number | import("@smithy/types").Provider<number>) &
|
|
16
|
+
(number | import("@aws-sdk/types").Provider<number>);
|
|
16
17
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
17
18
|
requestHandler:
|
|
18
19
|
| (import("@aws-sdk/types").RequestHandler<
|
|
@@ -20,19 +21,21 @@ export declare const getRuntimeConfig: (config: SecretsManagerClientConfig) => {
|
|
|
20
21
|
any,
|
|
21
22
|
import("@aws-sdk/types").HttpHandlerOptions
|
|
22
23
|
> &
|
|
23
|
-
import("@
|
|
24
|
+
import("@smithy/protocol-http").HttpHandler)
|
|
24
25
|
| RequestHandler;
|
|
25
|
-
retryMode: string | import("@
|
|
26
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
27
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
27
|
-
streamCollector: import("@
|
|
28
|
-
useDualstackEndpoint: boolean | import("@
|
|
29
|
-
|
|
28
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
29
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
30
|
+
(boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
31
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
32
|
+
(boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
30
33
|
apiVersion: string;
|
|
31
34
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
32
|
-
base64Decoder: import("@
|
|
33
|
-
base64Encoder: import("@
|
|
34
|
-
utf8Decoder: import("@
|
|
35
|
-
utf8Encoder: import("@
|
|
35
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
36
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
37
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
38
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
36
39
|
disableHostPrefix: boolean;
|
|
37
40
|
serviceId: string;
|
|
38
41
|
logger: import("@aws-sdk/types").Logger;
|
|
@@ -46,11 +49,11 @@ export declare const getRuntimeConfig: (config: SecretsManagerClientConfig) => {
|
|
|
46
49
|
) &
|
|
47
50
|
(
|
|
48
51
|
| string
|
|
49
|
-
| import("@
|
|
50
|
-
| import("@
|
|
51
|
-
| import("@
|
|
52
|
+
| import("@smithy/types").Provider<string>
|
|
53
|
+
| import("@smithy/types").Endpoint
|
|
54
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
52
55
|
| import("@aws-sdk/types").EndpointV2
|
|
53
|
-
| import("@
|
|
56
|
+
| import("@smithy/types").Provider<
|
|
54
57
|
import("@aws-sdk/types").EndpointV2
|
|
55
58
|
>
|
|
56
59
|
))
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: SecretsManagerClientConfig) => {
|
|
|
8
8
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
9
9
|
credentialDefaultProvider: (
|
|
10
10
|
input: any
|
|
11
|
-
) => import("@
|
|
11
|
+
) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
12
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
13
13
|
import("@aws-sdk/types").UserAgent
|
|
14
14
|
>;
|
|
@@ -20,19 +20,19 @@ export declare const getRuntimeConfig: (config: SecretsManagerClientConfig) => {
|
|
|
20
20
|
any,
|
|
21
21
|
import("@aws-sdk/types").HttpHandlerOptions
|
|
22
22
|
> &
|
|
23
|
-
import("@
|
|
23
|
+
import("@smithy/protocol-http").HttpHandler)
|
|
24
24
|
| RequestHandler;
|
|
25
|
-
retryMode: string | import("@
|
|
25
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
26
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
27
|
-
streamCollector: import("@
|
|
27
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
28
28
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
29
29
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
30
30
|
apiVersion: string;
|
|
31
31
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
32
|
-
base64Decoder: import("@
|
|
33
|
-
base64Encoder: import("@
|
|
34
|
-
utf8Decoder: import("@
|
|
35
|
-
utf8Encoder: import("@
|
|
32
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
33
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
34
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
35
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
36
36
|
disableHostPrefix: boolean;
|
|
37
37
|
serviceId: string;
|
|
38
38
|
logger: import("@aws-sdk/types").Logger;
|
|
@@ -46,11 +46,11 @@ export declare const getRuntimeConfig: (config: SecretsManagerClientConfig) => {
|
|
|
46
46
|
) &
|
|
47
47
|
(
|
|
48
48
|
| string
|
|
49
|
-
| import("@
|
|
50
|
-
| import("@
|
|
51
|
-
| import("@
|
|
49
|
+
| import("@smithy/types").Provider<string>
|
|
50
|
+
| import("@smithy/types").Endpoint
|
|
51
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
52
52
|
| import("@aws-sdk/types").EndpointV2
|
|
53
|
-
| import("@
|
|
53
|
+
| import("@smithy/types").Provider<
|
|
54
54
|
import("@aws-sdk/types").EndpointV2
|
|
55
55
|
>
|
|
56
56
|
))
|
|
@@ -8,41 +8,46 @@ export declare const getRuntimeConfig: (config: SecretsManagerClientConfig) => {
|
|
|
8
8
|
any,
|
|
9
9
|
import("@aws-sdk/types").HttpHandlerOptions
|
|
10
10
|
> &
|
|
11
|
-
import("@
|
|
11
|
+
import("@smithy/protocol-http").HttpHandler)
|
|
12
12
|
| import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
13
13
|
apiVersion: string;
|
|
14
14
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
15
15
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
16
|
-
streamCollector: import("@
|
|
17
|
-
base64Decoder: import("@
|
|
18
|
-
base64Encoder: import("@
|
|
19
|
-
utf8Decoder: import("@
|
|
20
|
-
utf8Encoder: import("@
|
|
16
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
17
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
18
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
19
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
20
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
21
21
|
disableHostPrefix: boolean;
|
|
22
22
|
serviceId: string;
|
|
23
|
-
useDualstackEndpoint: boolean | import("@
|
|
24
|
-
|
|
23
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
24
|
+
(boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
25
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
26
|
+
(boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
25
27
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
26
28
|
credentialDefaultProvider: (
|
|
27
29
|
input: any
|
|
28
|
-
) => import("@
|
|
30
|
+
) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
29
31
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
30
32
|
import("@aws-sdk/types").UserAgent
|
|
31
33
|
>;
|
|
32
|
-
maxAttempts: number | import("@
|
|
33
|
-
|
|
34
|
+
maxAttempts: (number | import("@smithy/types").Provider<number>) &
|
|
35
|
+
(number | import("@aws-sdk/types").Provider<number>);
|
|
36
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
34
37
|
logger: import("@aws-sdk/types").Logger;
|
|
35
38
|
defaultsMode:
|
|
36
39
|
| import("@aws-sdk/smithy-client").DefaultsMode
|
|
37
|
-
| import("@
|
|
40
|
+
| import("@smithy/types").Provider<
|
|
38
41
|
import("@aws-sdk/smithy-client").DefaultsMode
|
|
39
42
|
>;
|
|
40
43
|
endpoint?:
|
|
41
44
|
| string
|
|
42
|
-
| import("@aws-sdk/types").Endpoint
|
|
43
|
-
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
44
45
|
| import("@aws-sdk/types").EndpointV2
|
|
45
|
-
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").
|
|
46
|
+
| (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> &
|
|
47
|
+
import("@smithy/types").Provider<import("@smithy/types").Endpoint>)
|
|
48
|
+
| (import("@aws-sdk/types").Endpoint & import("@smithy/types").Endpoint)
|
|
49
|
+
| (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> &
|
|
50
|
+
import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)
|
|
46
51
|
| undefined;
|
|
47
52
|
endpointProvider: (
|
|
48
53
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SecretsManagerClientConfig } from "./SecretsManagerClient";
|
|
2
2
|
export declare const getRuntimeConfig: (config: SecretsManagerClientConfig) => {
|
|
3
3
|
apiVersion: string;
|
|
4
|
-
base64Decoder: import("@
|
|
5
|
-
base64Encoder: import("@
|
|
4
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
5
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
6
6
|
disableHostPrefix: boolean;
|
|
7
7
|
endpointProvider: (
|
|
8
8
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
@@ -13,6 +13,6 @@ export declare const getRuntimeConfig: (config: SecretsManagerClientConfig) => {
|
|
|
13
13
|
logger: import("@aws-sdk/types").Logger;
|
|
14
14
|
serviceId: string;
|
|
15
15
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
16
|
-
utf8Decoder: import("@
|
|
17
|
-
utf8Encoder: import("@
|
|
16
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
17
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
18
18
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-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.335.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.335.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.329.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.335.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.329.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.329.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.329.0",
|
|
@@ -39,7 +39,6 @@
|
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.332.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.329.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.329.0",
|
|
42
|
-
"@aws-sdk/protocol-http": "3.329.0",
|
|
43
42
|
"@aws-sdk/smithy-client": "3.329.0",
|
|
44
43
|
"@aws-sdk/types": "3.329.0",
|
|
45
44
|
"@aws-sdk/url-parser": "3.329.0",
|
|
@@ -53,6 +52,8 @@
|
|
|
53
52
|
"@aws-sdk/util-user-agent-browser": "3.329.0",
|
|
54
53
|
"@aws-sdk/util-user-agent-node": "3.329.0",
|
|
55
54
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
55
|
+
"@smithy/protocol-http": "^1.0.1",
|
|
56
|
+
"@smithy/types": "^1.0.0",
|
|
56
57
|
"tslib": "^2.5.0",
|
|
57
58
|
"uuid": "^8.3.2"
|
|
58
59
|
},
|