@aws-sdk/client-secrets-manager 3.952.0 → 3.954.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.
Files changed (43) hide show
  1. package/dist-cjs/index.js +332 -213
  2. package/dist-cjs/runtimeConfig.shared.js +6 -6
  3. package/dist-es/commands/BatchGetSecretValueCommand.js +2 -2
  4. package/dist-es/commands/CancelRotateSecretCommand.js +2 -2
  5. package/dist-es/commands/CreateSecretCommand.js +2 -2
  6. package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -2
  7. package/dist-es/commands/DeleteSecretCommand.js +2 -2
  8. package/dist-es/commands/DescribeSecretCommand.js +2 -2
  9. package/dist-es/commands/GetRandomPasswordCommand.js +2 -2
  10. package/dist-es/commands/GetResourcePolicyCommand.js +2 -2
  11. package/dist-es/commands/GetSecretValueCommand.js +2 -2
  12. package/dist-es/commands/ListSecretVersionIdsCommand.js +2 -2
  13. package/dist-es/commands/ListSecretsCommand.js +2 -2
  14. package/dist-es/commands/PutResourcePolicyCommand.js +2 -2
  15. package/dist-es/commands/PutSecretValueCommand.js +2 -2
  16. package/dist-es/commands/RemoveRegionsFromReplicationCommand.js +2 -2
  17. package/dist-es/commands/ReplicateSecretToRegionsCommand.js +2 -2
  18. package/dist-es/commands/RestoreSecretCommand.js +2 -2
  19. package/dist-es/commands/RotateSecretCommand.js +2 -2
  20. package/dist-es/commands/StopReplicationToReplicaCommand.js +2 -2
  21. package/dist-es/commands/TagResourceCommand.js +2 -2
  22. package/dist-es/commands/UntagResourceCommand.js +2 -2
  23. package/dist-es/commands/UpdateSecretCommand.js +2 -2
  24. package/dist-es/commands/UpdateSecretVersionStageCommand.js +2 -2
  25. package/dist-es/commands/ValidateResourcePolicyCommand.js +2 -2
  26. package/dist-es/index.js +1 -0
  27. package/dist-es/runtimeConfig.shared.js +6 -6
  28. package/dist-es/schemas/schemas_0.js +195 -167
  29. package/dist-types/SecretsManagerClient.d.ts +1 -10
  30. package/dist-types/index.d.ts +1 -0
  31. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  32. package/dist-types/runtimeConfig.d.ts +6 -2
  33. package/dist-types/runtimeConfig.native.d.ts +6 -2
  34. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  35. package/dist-types/schemas/schemas_0.d.ts +92 -114
  36. package/dist-types/ts3.4/SecretsManagerClient.d.ts +0 -4
  37. package/dist-types/ts3.4/index.d.ts +1 -0
  38. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  39. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  40. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  41. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  42. package/dist-types/ts3.4/schemas/schemas_0.d.ts +91 -116
  43. package/package.json +34 -34
@@ -26,12 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ??
30
- new protocols_1.AwsJson1_1Protocol({
31
- defaultNamespace: "com.amazonaws.secretsmanager",
32
- serviceTarget: "secretsmanager",
33
- awsQueryCompatible: false,
34
- }),
29
+ protocol: config?.protocol ?? protocols_1.AwsJson1_1Protocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.secretsmanager",
32
+ version: "2017-10-17",
33
+ serviceTarget: "secretsmanager",
34
+ },
35
35
  serviceId: config?.serviceId ?? "Secrets Manager",
36
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
37
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { BatchGetSecretValue } from "../schemas/schemas_0";
4
+ import { BatchGetSecretValue$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class BatchGetSecretValueCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class BatchGetSecretValueCommand extends $Command
11
11
  })
12
12
  .s("secretsmanager", "BatchGetSecretValue", {})
13
13
  .n("SecretsManagerClient", "BatchGetSecretValueCommand")
14
- .sc(BatchGetSecretValue)
14
+ .sc(BatchGetSecretValue$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CancelRotateSecret } from "../schemas/schemas_0";
4
+ import { CancelRotateSecret$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CancelRotateSecretCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CancelRotateSecretCommand extends $Command
11
11
  })
12
12
  .s("secretsmanager", "CancelRotateSecret", {})
13
13
  .n("SecretsManagerClient", "CancelRotateSecretCommand")
14
- .sc(CancelRotateSecret)
14
+ .sc(CancelRotateSecret$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateSecret } from "../schemas/schemas_0";
4
+ import { CreateSecret$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateSecretCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateSecretCommand extends $Command
11
11
  })
12
12
  .s("secretsmanager", "CreateSecret", {})
13
13
  .n("SecretsManagerClient", "CreateSecretCommand")
14
- .sc(CreateSecret)
14
+ .sc(CreateSecret$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteResourcePolicy } from "../schemas/schemas_0";
4
+ import { DeleteResourcePolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteResourcePolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteResourcePolicyCommand extends $Command
11
11
  })
12
12
  .s("secretsmanager", "DeleteResourcePolicy", {})
13
13
  .n("SecretsManagerClient", "DeleteResourcePolicyCommand")
14
- .sc(DeleteResourcePolicy)
14
+ .sc(DeleteResourcePolicy$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteSecret } from "../schemas/schemas_0";
4
+ import { DeleteSecret$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteSecretCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteSecretCommand extends $Command
11
11
  })
12
12
  .s("secretsmanager", "DeleteSecret", {})
13
13
  .n("SecretsManagerClient", "DeleteSecretCommand")
14
- .sc(DeleteSecret)
14
+ .sc(DeleteSecret$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeSecret } from "../schemas/schemas_0";
4
+ import { DescribeSecret$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeSecretCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeSecretCommand extends $Command
11
11
  })
12
12
  .s("secretsmanager", "DescribeSecret", {})
13
13
  .n("SecretsManagerClient", "DescribeSecretCommand")
14
- .sc(DescribeSecret)
14
+ .sc(DescribeSecret$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetRandomPassword } from "../schemas/schemas_0";
4
+ import { GetRandomPassword$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetRandomPasswordCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetRandomPasswordCommand extends $Command
11
11
  })
12
12
  .s("secretsmanager", "GetRandomPassword", {})
13
13
  .n("SecretsManagerClient", "GetRandomPasswordCommand")
14
- .sc(GetRandomPassword)
14
+ .sc(GetRandomPassword$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetResourcePolicy } from "../schemas/schemas_0";
4
+ import { GetResourcePolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetResourcePolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetResourcePolicyCommand extends $Command
11
11
  })
12
12
  .s("secretsmanager", "GetResourcePolicy", {})
13
13
  .n("SecretsManagerClient", "GetResourcePolicyCommand")
14
- .sc(GetResourcePolicy)
14
+ .sc(GetResourcePolicy$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetSecretValue } from "../schemas/schemas_0";
4
+ import { GetSecretValue$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetSecretValueCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetSecretValueCommand extends $Command
11
11
  })
12
12
  .s("secretsmanager", "GetSecretValue", {})
13
13
  .n("SecretsManagerClient", "GetSecretValueCommand")
14
- .sc(GetSecretValue)
14
+ .sc(GetSecretValue$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListSecretVersionIds } from "../schemas/schemas_0";
4
+ import { ListSecretVersionIds$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListSecretVersionIdsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListSecretVersionIdsCommand extends $Command
11
11
  })
12
12
  .s("secretsmanager", "ListSecretVersionIds", {})
13
13
  .n("SecretsManagerClient", "ListSecretVersionIdsCommand")
14
- .sc(ListSecretVersionIds)
14
+ .sc(ListSecretVersionIds$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListSecrets } from "../schemas/schemas_0";
4
+ import { ListSecrets$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListSecretsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListSecretsCommand extends $Command
11
11
  })
12
12
  .s("secretsmanager", "ListSecrets", {})
13
13
  .n("SecretsManagerClient", "ListSecretsCommand")
14
- .sc(ListSecrets)
14
+ .sc(ListSecrets$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutResourcePolicy } from "../schemas/schemas_0";
4
+ import { PutResourcePolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutResourcePolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutResourcePolicyCommand extends $Command
11
11
  })
12
12
  .s("secretsmanager", "PutResourcePolicy", {})
13
13
  .n("SecretsManagerClient", "PutResourcePolicyCommand")
14
- .sc(PutResourcePolicy)
14
+ .sc(PutResourcePolicy$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutSecretValue } from "../schemas/schemas_0";
4
+ import { PutSecretValue$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutSecretValueCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutSecretValueCommand extends $Command
11
11
  })
12
12
  .s("secretsmanager", "PutSecretValue", {})
13
13
  .n("SecretsManagerClient", "PutSecretValueCommand")
14
- .sc(PutSecretValue)
14
+ .sc(PutSecretValue$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { RemoveRegionsFromReplication } from "../schemas/schemas_0";
4
+ import { RemoveRegionsFromReplication$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class RemoveRegionsFromReplicationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class RemoveRegionsFromReplicationCommand extends $Command
11
11
  })
12
12
  .s("secretsmanager", "RemoveRegionsFromReplication", {})
13
13
  .n("SecretsManagerClient", "RemoveRegionsFromReplicationCommand")
14
- .sc(RemoveRegionsFromReplication)
14
+ .sc(RemoveRegionsFromReplication$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ReplicateSecretToRegions } from "../schemas/schemas_0";
4
+ import { ReplicateSecretToRegions$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ReplicateSecretToRegionsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ReplicateSecretToRegionsCommand extends $Command
11
11
  })
12
12
  .s("secretsmanager", "ReplicateSecretToRegions", {})
13
13
  .n("SecretsManagerClient", "ReplicateSecretToRegionsCommand")
14
- .sc(ReplicateSecretToRegions)
14
+ .sc(ReplicateSecretToRegions$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { RestoreSecret } from "../schemas/schemas_0";
4
+ import { RestoreSecret$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class RestoreSecretCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class RestoreSecretCommand extends $Command
11
11
  })
12
12
  .s("secretsmanager", "RestoreSecret", {})
13
13
  .n("SecretsManagerClient", "RestoreSecretCommand")
14
- .sc(RestoreSecret)
14
+ .sc(RestoreSecret$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { RotateSecret } from "../schemas/schemas_0";
4
+ import { RotateSecret$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class RotateSecretCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class RotateSecretCommand extends $Command
11
11
  })
12
12
  .s("secretsmanager", "RotateSecret", {})
13
13
  .n("SecretsManagerClient", "RotateSecretCommand")
14
- .sc(RotateSecret)
14
+ .sc(RotateSecret$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StopReplicationToReplica } from "../schemas/schemas_0";
4
+ import { StopReplicationToReplica$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StopReplicationToReplicaCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StopReplicationToReplicaCommand extends $Command
11
11
  })
12
12
  .s("secretsmanager", "StopReplicationToReplica", {})
13
13
  .n("SecretsManagerClient", "StopReplicationToReplicaCommand")
14
- .sc(StopReplicationToReplica)
14
+ .sc(StopReplicationToReplica$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { TagResource } from "../schemas/schemas_0";
4
+ import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
11
11
  })
12
12
  .s("secretsmanager", "TagResource", {})
13
13
  .n("SecretsManagerClient", "TagResourceCommand")
14
- .sc(TagResource)
14
+ .sc(TagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UntagResource } from "../schemas/schemas_0";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
11
11
  })
12
12
  .s("secretsmanager", "UntagResource", {})
13
13
  .n("SecretsManagerClient", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateSecret } from "../schemas/schemas_0";
4
+ import { UpdateSecret$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateSecretCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateSecretCommand extends $Command
11
11
  })
12
12
  .s("secretsmanager", "UpdateSecret", {})
13
13
  .n("SecretsManagerClient", "UpdateSecretCommand")
14
- .sc(UpdateSecret)
14
+ .sc(UpdateSecret$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateSecretVersionStage } from "../schemas/schemas_0";
4
+ import { UpdateSecretVersionStage$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateSecretVersionStageCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateSecretVersionStageCommand extends $Command
11
11
  })
12
12
  .s("secretsmanager", "UpdateSecretVersionStage", {})
13
13
  .n("SecretsManagerClient", "UpdateSecretVersionStageCommand")
14
- .sc(UpdateSecretVersionStage)
14
+ .sc(UpdateSecretVersionStage$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ValidateResourcePolicy } from "../schemas/schemas_0";
4
+ import { ValidateResourcePolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ValidateResourcePolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ValidateResourcePolicyCommand extends $Command
11
11
  })
12
12
  .s("secretsmanager", "ValidateResourcePolicy", {})
13
13
  .n("SecretsManagerClient", "ValidateResourcePolicyCommand")
14
- .sc(ValidateResourcePolicy)
14
+ .sc(ValidateResourcePolicy$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./SecretsManagerClient";
2
2
  export * from "./SecretsManager";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,12 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ??
27
- new AwsJson1_1Protocol({
28
- defaultNamespace: "com.amazonaws.secretsmanager",
29
- serviceTarget: "secretsmanager",
30
- awsQueryCompatible: false,
31
- }),
26
+ protocol: config?.protocol ?? AwsJson1_1Protocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.secretsmanager",
29
+ version: "2017-10-17",
30
+ serviceTarget: "secretsmanager",
31
+ },
32
32
  serviceId: config?.serviceId ?? "Secrets Manager",
33
33
  urlParser: config?.urlParser ?? parseUrl,
34
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,