@aws-sdk/client-secrets-manager 3.34.0 → 3.35.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 +12 -0
- package/{dist/cjs → dist-cjs}/SecretsManager.js +2 -2
- package/dist-cjs/SecretsManager.js.map +1 -0
- package/{dist/cjs → dist-cjs}/SecretsManagerClient.js +8 -8
- package/dist-cjs/SecretsManagerClient.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CancelRotateSecretCommand.js +2 -2
- package/dist-cjs/commands/CancelRotateSecretCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateSecretCommand.js +2 -2
- package/dist-cjs/commands/CreateSecretCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteResourcePolicyCommand.js +2 -2
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteSecretCommand.js +2 -2
- package/dist-cjs/commands/DeleteSecretCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeSecretCommand.js +2 -2
- package/dist-cjs/commands/DescribeSecretCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetRandomPasswordCommand.js +2 -2
- package/dist-cjs/commands/GetRandomPasswordCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetResourcePolicyCommand.js +2 -2
- package/dist-cjs/commands/GetResourcePolicyCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetSecretValueCommand.js +2 -2
- package/dist-cjs/commands/GetSecretValueCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListSecretVersionIdsCommand.js +2 -2
- package/dist-cjs/commands/ListSecretVersionIdsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListSecretsCommand.js +2 -2
- package/dist-cjs/commands/ListSecretsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/PutResourcePolicyCommand.js +2 -2
- package/dist-cjs/commands/PutResourcePolicyCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/PutSecretValueCommand.js +2 -2
- package/dist-cjs/commands/PutSecretValueCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/RemoveRegionsFromReplicationCommand.js +2 -2
- package/{dist/cjs → dist-cjs}/commands/RemoveRegionsFromReplicationCommand.js.map +1 -1
- package/{dist/cjs → dist-cjs}/commands/ReplicateSecretToRegionsCommand.js +2 -2
- package/dist-cjs/commands/ReplicateSecretToRegionsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/RestoreSecretCommand.js +2 -2
- package/dist-cjs/commands/RestoreSecretCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/RotateSecretCommand.js +2 -2
- package/dist-cjs/commands/RotateSecretCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/StopReplicationToReplicaCommand.js +2 -2
- package/{dist/cjs/commands/ReplicateSecretToRegionsCommand.js.map → dist-cjs/commands/StopReplicationToReplicaCommand.js.map} +1 -1
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UpdateSecretCommand.js +2 -2
- package/dist-cjs/commands/UpdateSecretCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UpdateSecretVersionStageCommand.js +2 -2
- package/dist-cjs/commands/UpdateSecretVersionStageCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ValidateResourcePolicyCommand.js +2 -2
- package/dist-cjs/commands/ValidateResourcePolicyCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -0
- package/dist-cjs/endpoints.js.map +1 -0
- package/{dist/cjs → dist-cjs}/index.js +0 -0
- package/dist-cjs/index.js.map +1 -0
- package/{dist/cjs → dist-cjs}/models/index.js +0 -0
- package/{dist/cjs → dist-cjs}/models/index.js.map +1 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -0
- package/dist-cjs/models/models_0.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -0
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js.map +1 -1
- package/{dist/cjs → dist-cjs}/pagination/ListSecretVersionIdsPaginator.js +1 -1
- package/dist-cjs/pagination/ListSecretVersionIdsPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/ListSecretsPaginator.js +1 -1
- package/dist-cjs/pagination/ListSecretsPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -0
- package/dist-cjs/protocols/Aws_json1_1.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -1
- package/dist-cjs/runtimeConfig.browser.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +3 -2
- package/dist-cjs/runtimeConfig.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -0
- package/dist-cjs/runtimeConfig.native.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -1
- package/dist-cjs/runtimeConfig.shared.js.map +1 -0
- package/{dist/es → dist-es}/SecretsManager.js +2 -2
- package/dist-es/SecretsManager.js.map +1 -0
- package/{dist/es → dist-es}/SecretsManagerClient.js +1 -1
- package/dist-es/SecretsManagerClient.js.map +1 -0
- package/{dist/es → dist-es}/commands/CancelRotateSecretCommand.js +2 -2
- package/dist-es/commands/CancelRotateSecretCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/CreateSecretCommand.js +2 -2
- package/dist-es/commands/CreateSecretCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DeleteResourcePolicyCommand.js +2 -2
- package/dist-es/commands/DeleteResourcePolicyCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DeleteSecretCommand.js +2 -2
- package/dist-es/commands/DeleteSecretCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DescribeSecretCommand.js +2 -2
- package/dist-es/commands/DescribeSecretCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GetRandomPasswordCommand.js +2 -2
- package/dist-es/commands/GetRandomPasswordCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GetResourcePolicyCommand.js +2 -2
- package/dist-es/commands/GetResourcePolicyCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GetSecretValueCommand.js +2 -2
- package/dist-es/commands/GetSecretValueCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ListSecretVersionIdsCommand.js +2 -2
- package/dist-es/commands/ListSecretVersionIdsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ListSecretsCommand.js +2 -2
- package/dist-es/commands/ListSecretsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/PutResourcePolicyCommand.js +2 -2
- package/dist-es/commands/PutResourcePolicyCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/PutSecretValueCommand.js +2 -2
- package/dist-es/commands/PutSecretValueCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/RemoveRegionsFromReplicationCommand.js +2 -2
- package/dist-es/commands/RemoveRegionsFromReplicationCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ReplicateSecretToRegionsCommand.js +2 -2
- package/dist-es/commands/ReplicateSecretToRegionsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/RestoreSecretCommand.js +2 -2
- package/dist-es/commands/RestoreSecretCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/RotateSecretCommand.js +2 -2
- package/dist-es/commands/RotateSecretCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/StopReplicationToReplicaCommand.js +2 -2
- package/dist-es/commands/StopReplicationToReplicaCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UpdateSecretCommand.js +2 -2
- package/dist-es/commands/UpdateSecretCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UpdateSecretVersionStageCommand.js +2 -2
- package/dist-es/commands/UpdateSecretVersionStageCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ValidateResourcePolicyCommand.js +2 -2
- package/dist-es/commands/ValidateResourcePolicyCommand.js.map +1 -0
- package/{dist/es → dist-es}/endpoints.js +0 -0
- package/dist-es/endpoints.js.map +1 -0
- package/{dist/es → dist-es}/index.js +0 -0
- package/dist-es/index.js.map +1 -0
- package/{dist/es → dist-es}/models/index.js +0 -0
- package/dist-es/models/index.js.map +1 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -0
- package/dist-es/models/models_0.js.map +1 -0
- package/{dist/es → dist-es}/pagination/Interfaces.js +0 -0
- package/{dist/es → dist-es}/pagination/Interfaces.js.map +1 -1
- package/{dist/es → dist-es}/pagination/ListSecretVersionIdsPaginator.js +1 -1
- package/dist-es/pagination/ListSecretVersionIdsPaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/ListSecretsPaginator.js +1 -1
- package/dist-es/pagination/ListSecretsPaginator.js.map +1 -0
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -0
- package/dist-es/protocols/Aws_json1_1.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -1
- package/dist-es/runtimeConfig.browser.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.js +2 -2
- package/dist-es/runtimeConfig.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -0
- package/dist-es/runtimeConfig.native.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -1
- package/dist-es/runtimeConfig.shared.js.map +1 -0
- package/{dist/types → dist-types}/SecretsManager.d.ts +3 -3
- package/{dist/types → dist-types}/SecretsManagerClient.d.ts +9 -9
- package/{dist/types → dist-types}/commands/CancelRotateSecretCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateSecretCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteResourcePolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteSecretCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeSecretCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetRandomPasswordCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetResourcePolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetSecretValueCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListSecretVersionIdsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListSecretsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/PutResourcePolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/PutSecretValueCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/RemoveRegionsFromReplicationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ReplicateSecretToRegionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/RestoreSecretCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/RotateSecretCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/StopReplicationToReplicaCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateSecretCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateSecretVersionStageCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ValidateResourcePolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/index.d.ts +0 -0
- package/{dist/types → dist-types}/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListSecretVersionIdsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListSecretsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +3 -3
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/SecretsManager.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/SecretsManagerClient.d.ts +9 -9
- package/{dist/types → dist-types}/ts3.4/commands/CancelRotateSecretCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/CreateSecretCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeleteSecretCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DescribeSecretCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetRandomPasswordCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetResourcePolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetSecretValueCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListSecretVersionIdsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListSecretsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/PutResourcePolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/PutSecretValueCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/RemoveRegionsFromReplicationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ReplicateSecretToRegionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/RestoreSecretCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/RotateSecretCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/StopReplicationToReplicaCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UpdateSecretCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UpdateSecretVersionStageCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ValidateResourcePolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListSecretVersionIdsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListSecretsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +42 -42
- package/{SecretsManager.ts → src/SecretsManager.ts} +4 -3
- package/{SecretsManagerClient.ts → src/SecretsManagerClient.ts} +58 -57
- package/{commands → src/commands}/CancelRotateSecretCommand.ts +8 -7
- package/{commands → src/commands}/CreateSecretCommand.ts +8 -7
- package/{commands → src/commands}/DeleteResourcePolicyCommand.ts +8 -7
- package/{commands → src/commands}/DeleteSecretCommand.ts +8 -7
- package/{commands → src/commands}/DescribeSecretCommand.ts +8 -7
- package/{commands → src/commands}/GetRandomPasswordCommand.ts +8 -7
- package/{commands → src/commands}/GetResourcePolicyCommand.ts +8 -7
- package/{commands → src/commands}/GetSecretValueCommand.ts +8 -7
- package/{commands → src/commands}/ListSecretVersionIdsCommand.ts +8 -7
- package/{commands → src/commands}/ListSecretsCommand.ts +8 -7
- package/{commands → src/commands}/PutResourcePolicyCommand.ts +8 -7
- package/{commands → src/commands}/PutSecretValueCommand.ts +8 -7
- package/{commands → src/commands}/RemoveRegionsFromReplicationCommand.ts +8 -7
- package/{commands → src/commands}/ReplicateSecretToRegionsCommand.ts +8 -7
- package/{commands → src/commands}/RestoreSecretCommand.ts +8 -7
- package/{commands → src/commands}/RotateSecretCommand.ts +8 -7
- package/{commands → src/commands}/StopReplicationToReplicaCommand.ts +8 -7
- package/{commands → src/commands}/TagResourceCommand.ts +8 -7
- package/{commands → src/commands}/UntagResourceCommand.ts +8 -7
- package/{commands → src/commands}/UpdateSecretCommand.ts +8 -7
- package/{commands → src/commands}/UpdateSecretVersionStageCommand.ts +8 -7
- package/{commands → src/commands}/ValidateResourcePolicyCommand.ts +8 -7
- package/{endpoints.ts → src/endpoints.ts} +1 -1
- package/{index.ts → src/index.ts} +0 -0
- package/{models → src/models}/index.ts +0 -0
- package/{models → src/models}/models_0.ts +0 -0
- package/{pagination → src/pagination}/Interfaces.ts +2 -1
- package/{pagination → src/pagination}/ListSecretVersionIdsPaginator.ts +4 -3
- package/{pagination → src/pagination}/ListSecretsPaginator.ts +3 -2
- package/{protocols → src/protocols}/Aws_json1_1.ts +44 -43
- package/{runtimeConfig.browser.ts → src/runtimeConfig.browser.ts} +4 -3
- package/{runtimeConfig.native.ts → src/runtimeConfig.native.ts} +2 -1
- package/{runtimeConfig.shared.ts → src/runtimeConfig.shared.ts} +2 -1
- package/{runtimeConfig.ts → src/runtimeConfig.ts} +5 -4
- package/tsconfig.es.json +1 -1
- package/tsconfig.json +4 -2
- package/tsconfig.types.json +3 -2
- package/dist/cjs/SecretsManager.js.map +0 -1
- package/dist/cjs/SecretsManagerClient.js.map +0 -1
- package/dist/cjs/commands/CancelRotateSecretCommand.js.map +0 -1
- package/dist/cjs/commands/CreateSecretCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteResourcePolicyCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteSecretCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeSecretCommand.js.map +0 -1
- package/dist/cjs/commands/GetRandomPasswordCommand.js.map +0 -1
- package/dist/cjs/commands/GetResourcePolicyCommand.js.map +0 -1
- package/dist/cjs/commands/GetSecretValueCommand.js.map +0 -1
- package/dist/cjs/commands/ListSecretVersionIdsCommand.js.map +0 -1
- package/dist/cjs/commands/ListSecretsCommand.js.map +0 -1
- package/dist/cjs/commands/PutResourcePolicyCommand.js.map +0 -1
- package/dist/cjs/commands/PutSecretValueCommand.js.map +0 -1
- package/dist/cjs/commands/RestoreSecretCommand.js.map +0 -1
- package/dist/cjs/commands/RotateSecretCommand.js.map +0 -1
- package/dist/cjs/commands/StopReplicationToReplicaCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateSecretCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateSecretVersionStageCommand.js.map +0 -1
- package/dist/cjs/commands/ValidateResourcePolicyCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -93
- package/dist/cjs/pagination/ListSecretVersionIdsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListSecretsPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/SecretsManager.js.map +0 -1
- package/dist/es/SecretsManagerClient.js.map +0 -1
- package/dist/es/commands/CancelRotateSecretCommand.js.map +0 -1
- package/dist/es/commands/CreateSecretCommand.js.map +0 -1
- package/dist/es/commands/DeleteResourcePolicyCommand.js.map +0 -1
- package/dist/es/commands/DeleteSecretCommand.js.map +0 -1
- package/dist/es/commands/DescribeSecretCommand.js.map +0 -1
- package/dist/es/commands/GetRandomPasswordCommand.js.map +0 -1
- package/dist/es/commands/GetResourcePolicyCommand.js.map +0 -1
- package/dist/es/commands/GetSecretValueCommand.js.map +0 -1
- package/dist/es/commands/ListSecretVersionIdsCommand.js.map +0 -1
- package/dist/es/commands/ListSecretsCommand.js.map +0 -1
- package/dist/es/commands/PutResourcePolicyCommand.js.map +0 -1
- package/dist/es/commands/PutSecretValueCommand.js.map +0 -1
- package/dist/es/commands/RemoveRegionsFromReplicationCommand.js.map +0 -1
- package/dist/es/commands/ReplicateSecretToRegionsCommand.js.map +0 -1
- package/dist/es/commands/RestoreSecretCommand.js.map +0 -1
- package/dist/es/commands/RotateSecretCommand.js.map +0 -1
- package/dist/es/commands/StopReplicationToReplicaCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateSecretCommand.js.map +0 -1
- package/dist/es/commands/UpdateSecretVersionStageCommand.js.map +0 -1
- package/dist/es/commands/ValidateResourcePolicyCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -93
- package/dist/es/pagination/ListSecretVersionIdsPaginator.js.map +0 -1
- package/dist/es/pagination/ListSecretsPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_json1_1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
|
|
2
|
-
import { RotateSecretRequest, RotateSecretResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1RotateSecretCommand,
|
|
5
|
-
serializeAws_json1_1RotateSecretCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -11,12 +5,19 @@ import {
|
|
|
11
5
|
FinalizeHandlerArguments,
|
|
12
6
|
Handler,
|
|
13
7
|
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
17
11
|
SerdeContext as __SerdeContext,
|
|
18
12
|
} from "@aws-sdk/types";
|
|
19
13
|
|
|
14
|
+
import { RotateSecretRequest, RotateSecretResponse } from "../models/models_0";
|
|
15
|
+
import {
|
|
16
|
+
deserializeAws_json1_1RotateSecretCommand,
|
|
17
|
+
serializeAws_json1_1RotateSecretCommand,
|
|
18
|
+
} from "../protocols/Aws_json1_1";
|
|
19
|
+
import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
|
|
20
|
+
|
|
20
21
|
export interface RotateSecretCommandInput extends RotateSecretRequest {}
|
|
21
22
|
export interface RotateSecretCommandOutput extends RotateSecretResponse, __MetadataBearer {}
|
|
22
23
|
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
|
|
2
|
-
import { StopReplicationToReplicaRequest, StopReplicationToReplicaResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1StopReplicationToReplicaCommand,
|
|
5
|
-
serializeAws_json1_1StopReplicationToReplicaCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -11,12 +5,19 @@ import {
|
|
|
11
5
|
FinalizeHandlerArguments,
|
|
12
6
|
Handler,
|
|
13
7
|
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
17
11
|
SerdeContext as __SerdeContext,
|
|
18
12
|
} from "@aws-sdk/types";
|
|
19
13
|
|
|
14
|
+
import { StopReplicationToReplicaRequest, StopReplicationToReplicaResponse } from "../models/models_0";
|
|
15
|
+
import {
|
|
16
|
+
deserializeAws_json1_1StopReplicationToReplicaCommand,
|
|
17
|
+
serializeAws_json1_1StopReplicationToReplicaCommand,
|
|
18
|
+
} from "../protocols/Aws_json1_1";
|
|
19
|
+
import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
|
|
20
|
+
|
|
20
21
|
export interface StopReplicationToReplicaCommandInput extends StopReplicationToReplicaRequest {}
|
|
21
22
|
export interface StopReplicationToReplicaCommandOutput extends StopReplicationToReplicaResponse, __MetadataBearer {}
|
|
22
23
|
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
|
|
2
|
-
import { TagResourceRequest } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1TagResourceCommand,
|
|
5
|
-
serializeAws_json1_1TagResourceCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -11,12 +5,19 @@ import {
|
|
|
11
5
|
FinalizeHandlerArguments,
|
|
12
6
|
Handler,
|
|
13
7
|
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
17
11
|
SerdeContext as __SerdeContext,
|
|
18
12
|
} from "@aws-sdk/types";
|
|
19
13
|
|
|
14
|
+
import { TagResourceRequest } from "../models/models_0";
|
|
15
|
+
import {
|
|
16
|
+
deserializeAws_json1_1TagResourceCommand,
|
|
17
|
+
serializeAws_json1_1TagResourceCommand,
|
|
18
|
+
} from "../protocols/Aws_json1_1";
|
|
19
|
+
import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
|
|
20
|
+
|
|
20
21
|
export interface TagResourceCommandInput extends TagResourceRequest {}
|
|
21
22
|
export interface TagResourceCommandOutput extends __MetadataBearer {}
|
|
22
23
|
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
|
|
2
|
-
import { UntagResourceRequest } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1UntagResourceCommand,
|
|
5
|
-
serializeAws_json1_1UntagResourceCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -11,12 +5,19 @@ import {
|
|
|
11
5
|
FinalizeHandlerArguments,
|
|
12
6
|
Handler,
|
|
13
7
|
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
17
11
|
SerdeContext as __SerdeContext,
|
|
18
12
|
} from "@aws-sdk/types";
|
|
19
13
|
|
|
14
|
+
import { UntagResourceRequest } from "../models/models_0";
|
|
15
|
+
import {
|
|
16
|
+
deserializeAws_json1_1UntagResourceCommand,
|
|
17
|
+
serializeAws_json1_1UntagResourceCommand,
|
|
18
|
+
} from "../protocols/Aws_json1_1";
|
|
19
|
+
import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
|
|
20
|
+
|
|
20
21
|
export interface UntagResourceCommandInput extends UntagResourceRequest {}
|
|
21
22
|
export interface UntagResourceCommandOutput extends __MetadataBearer {}
|
|
22
23
|
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
|
|
2
|
-
import { UpdateSecretRequest, UpdateSecretResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1UpdateSecretCommand,
|
|
5
|
-
serializeAws_json1_1UpdateSecretCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -11,12 +5,19 @@ import {
|
|
|
11
5
|
FinalizeHandlerArguments,
|
|
12
6
|
Handler,
|
|
13
7
|
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
17
11
|
SerdeContext as __SerdeContext,
|
|
18
12
|
} from "@aws-sdk/types";
|
|
19
13
|
|
|
14
|
+
import { UpdateSecretRequest, UpdateSecretResponse } from "../models/models_0";
|
|
15
|
+
import {
|
|
16
|
+
deserializeAws_json1_1UpdateSecretCommand,
|
|
17
|
+
serializeAws_json1_1UpdateSecretCommand,
|
|
18
|
+
} from "../protocols/Aws_json1_1";
|
|
19
|
+
import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
|
|
20
|
+
|
|
20
21
|
export interface UpdateSecretCommandInput extends UpdateSecretRequest {}
|
|
21
22
|
export interface UpdateSecretCommandOutput extends UpdateSecretResponse, __MetadataBearer {}
|
|
22
23
|
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
|
|
2
|
-
import { UpdateSecretVersionStageRequest, UpdateSecretVersionStageResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1UpdateSecretVersionStageCommand,
|
|
5
|
-
serializeAws_json1_1UpdateSecretVersionStageCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -11,12 +5,19 @@ import {
|
|
|
11
5
|
FinalizeHandlerArguments,
|
|
12
6
|
Handler,
|
|
13
7
|
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
17
11
|
SerdeContext as __SerdeContext,
|
|
18
12
|
} from "@aws-sdk/types";
|
|
19
13
|
|
|
14
|
+
import { UpdateSecretVersionStageRequest, UpdateSecretVersionStageResponse } from "../models/models_0";
|
|
15
|
+
import {
|
|
16
|
+
deserializeAws_json1_1UpdateSecretVersionStageCommand,
|
|
17
|
+
serializeAws_json1_1UpdateSecretVersionStageCommand,
|
|
18
|
+
} from "../protocols/Aws_json1_1";
|
|
19
|
+
import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
|
|
20
|
+
|
|
20
21
|
export interface UpdateSecretVersionStageCommandInput extends UpdateSecretVersionStageRequest {}
|
|
21
22
|
export interface UpdateSecretVersionStageCommandOutput extends UpdateSecretVersionStageResponse, __MetadataBearer {}
|
|
22
23
|
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
|
|
2
|
-
import { ValidateResourcePolicyRequest, ValidateResourcePolicyResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1ValidateResourcePolicyCommand,
|
|
5
|
-
serializeAws_json1_1ValidateResourcePolicyCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -11,12 +5,19 @@ import {
|
|
|
11
5
|
FinalizeHandlerArguments,
|
|
12
6
|
Handler,
|
|
13
7
|
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
17
11
|
SerdeContext as __SerdeContext,
|
|
18
12
|
} from "@aws-sdk/types";
|
|
19
13
|
|
|
14
|
+
import { ValidateResourcePolicyRequest, ValidateResourcePolicyResponse } from "../models/models_0";
|
|
15
|
+
import {
|
|
16
|
+
deserializeAws_json1_1ValidateResourcePolicyCommand,
|
|
17
|
+
serializeAws_json1_1ValidateResourcePolicyCommand,
|
|
18
|
+
} from "../protocols/Aws_json1_1";
|
|
19
|
+
import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
|
|
20
|
+
|
|
20
21
|
export interface ValidateResourcePolicyCommandInput extends ValidateResourcePolicyRequest {}
|
|
21
22
|
export interface ValidateResourcePolicyCommandOutput extends ValidateResourcePolicyResponse, __MetadataBearer {}
|
|
22
23
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
+
|
|
1
3
|
import { SecretsManager } from "../SecretsManager";
|
|
2
4
|
import { SecretsManagerClient } from "../SecretsManagerClient";
|
|
3
|
-
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
4
5
|
|
|
5
6
|
export interface SecretsManagerPaginationConfiguration extends PaginationConfiguration {
|
|
6
7
|
client: SecretsManager | SecretsManagerClient;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
|
|
3
3
|
import {
|
|
4
4
|
ListSecretVersionIdsCommand,
|
|
5
5
|
ListSecretVersionIdsCommandInput,
|
|
6
6
|
ListSecretVersionIdsCommandOutput,
|
|
7
7
|
} from "../commands/ListSecretVersionIdsCommand";
|
|
8
|
+
import { SecretsManager } from "../SecretsManager";
|
|
9
|
+
import { SecretsManagerClient } from "../SecretsManagerClient";
|
|
8
10
|
import { SecretsManagerPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* @private
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
|
|
3
|
+
import { ListSecretsCommand, ListSecretsCommandInput, ListSecretsCommandOutput } from "../commands/ListSecretsCommand";
|
|
1
4
|
import { SecretsManager } from "../SecretsManager";
|
|
2
5
|
import { SecretsManagerClient } from "../SecretsManagerClient";
|
|
3
|
-
import { ListSecretsCommand, ListSecretsCommandInput, ListSecretsCommandOutput } from "../commands/ListSecretsCommand";
|
|
4
6
|
import { SecretsManagerPaginationConfiguration } from "./Interfaces";
|
|
5
|
-
import { Paginator } from "@aws-sdk/types";
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* @private
|
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
|
+
import {
|
|
3
|
+
expectBoolean as __expectBoolean,
|
|
4
|
+
expectLong as __expectLong,
|
|
5
|
+
expectNonNull as __expectNonNull,
|
|
6
|
+
expectNumber as __expectNumber,
|
|
7
|
+
expectString as __expectString,
|
|
8
|
+
parseEpochTimestamp as __parseEpochTimestamp,
|
|
9
|
+
} from "@aws-sdk/smithy-client";
|
|
10
|
+
import {
|
|
11
|
+
Endpoint as __Endpoint,
|
|
12
|
+
HeaderBag as __HeaderBag,
|
|
13
|
+
MetadataBearer as __MetadataBearer,
|
|
14
|
+
ResponseMetadata as __ResponseMetadata,
|
|
15
|
+
SerdeContext as __SerdeContext,
|
|
16
|
+
SmithyException as __SmithyException,
|
|
17
|
+
} from "@aws-sdk/types";
|
|
18
|
+
import { v4 as generateIdempotencyToken } from "uuid";
|
|
19
|
+
|
|
1
20
|
import { CancelRotateSecretCommandInput, CancelRotateSecretCommandOutput } from "../commands/CancelRotateSecretCommand";
|
|
2
21
|
import { CreateSecretCommandInput, CreateSecretCommandOutput } from "../commands/CreateSecretCommand";
|
|
3
22
|
import {
|
|
@@ -9,11 +28,11 @@ import { DescribeSecretCommandInput, DescribeSecretCommandOutput } from "../comm
|
|
|
9
28
|
import { GetRandomPasswordCommandInput, GetRandomPasswordCommandOutput } from "../commands/GetRandomPasswordCommand";
|
|
10
29
|
import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "../commands/GetResourcePolicyCommand";
|
|
11
30
|
import { GetSecretValueCommandInput, GetSecretValueCommandOutput } from "../commands/GetSecretValueCommand";
|
|
31
|
+
import { ListSecretsCommandInput, ListSecretsCommandOutput } from "../commands/ListSecretsCommand";
|
|
12
32
|
import {
|
|
13
33
|
ListSecretVersionIdsCommandInput,
|
|
14
34
|
ListSecretVersionIdsCommandOutput,
|
|
15
35
|
} from "../commands/ListSecretVersionIdsCommand";
|
|
16
|
-
import { ListSecretsCommandInput, ListSecretsCommandOutput } from "../commands/ListSecretsCommand";
|
|
17
36
|
import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "../commands/PutResourcePolicyCommand";
|
|
18
37
|
import { PutSecretValueCommandInput, PutSecretValueCommandOutput } from "../commands/PutSecretValueCommand";
|
|
19
38
|
import {
|
|
@@ -66,10 +85,10 @@ import {
|
|
|
66
85
|
InvalidParameterException,
|
|
67
86
|
InvalidRequestException,
|
|
68
87
|
LimitExceededException,
|
|
69
|
-
ListSecretVersionIdsRequest,
|
|
70
|
-
ListSecretVersionIdsResponse,
|
|
71
88
|
ListSecretsRequest,
|
|
72
89
|
ListSecretsResponse,
|
|
90
|
+
ListSecretVersionIdsRequest,
|
|
91
|
+
ListSecretVersionIdsResponse,
|
|
73
92
|
MalformedPolicyDocumentException,
|
|
74
93
|
PreconditionNotMetException,
|
|
75
94
|
PublicPolicyException,
|
|
@@ -105,24 +124,6 @@ import {
|
|
|
105
124
|
ValidateResourcePolicyResponse,
|
|
106
125
|
ValidationErrorsEntry,
|
|
107
126
|
} from "../models/models_0";
|
|
108
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
109
|
-
import {
|
|
110
|
-
expectBoolean as __expectBoolean,
|
|
111
|
-
expectLong as __expectLong,
|
|
112
|
-
expectNonNull as __expectNonNull,
|
|
113
|
-
expectNumber as __expectNumber,
|
|
114
|
-
expectString as __expectString,
|
|
115
|
-
parseEpochTimestamp as __parseEpochTimestamp,
|
|
116
|
-
} from "@aws-sdk/smithy-client";
|
|
117
|
-
import {
|
|
118
|
-
Endpoint as __Endpoint,
|
|
119
|
-
HeaderBag as __HeaderBag,
|
|
120
|
-
MetadataBearer as __MetadataBearer,
|
|
121
|
-
ResponseMetadata as __ResponseMetadata,
|
|
122
|
-
SerdeContext as __SerdeContext,
|
|
123
|
-
SmithyException as __SmithyException,
|
|
124
|
-
} from "@aws-sdk/types";
|
|
125
|
-
import { v4 as generateIdempotencyToken } from "uuid";
|
|
126
127
|
|
|
127
128
|
export const serializeAws_json1_1CancelRotateSecretCommand = async (
|
|
128
129
|
input: CancelRotateSecretCommandInput,
|
|
@@ -436,7 +437,7 @@ const deserializeAws_json1_1CancelRotateSecretCommandError = async (
|
|
|
436
437
|
body: await parseBody(output.body, context),
|
|
437
438
|
};
|
|
438
439
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
439
|
-
let errorCode
|
|
440
|
+
let errorCode = "UnknownError";
|
|
440
441
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
441
442
|
switch (errorCode) {
|
|
442
443
|
case "InternalServiceError":
|
|
@@ -514,7 +515,7 @@ const deserializeAws_json1_1CreateSecretCommandError = async (
|
|
|
514
515
|
body: await parseBody(output.body, context),
|
|
515
516
|
};
|
|
516
517
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
517
|
-
let errorCode
|
|
518
|
+
let errorCode = "UnknownError";
|
|
518
519
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
519
520
|
switch (errorCode) {
|
|
520
521
|
case "EncryptionFailure":
|
|
@@ -632,7 +633,7 @@ const deserializeAws_json1_1DeleteResourcePolicyCommandError = async (
|
|
|
632
633
|
body: await parseBody(output.body, context),
|
|
633
634
|
};
|
|
634
635
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
635
|
-
let errorCode
|
|
636
|
+
let errorCode = "UnknownError";
|
|
636
637
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
637
638
|
switch (errorCode) {
|
|
638
639
|
case "InternalServiceError":
|
|
@@ -710,7 +711,7 @@ const deserializeAws_json1_1DeleteSecretCommandError = async (
|
|
|
710
711
|
body: await parseBody(output.body, context),
|
|
711
712
|
};
|
|
712
713
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
713
|
-
let errorCode
|
|
714
|
+
let errorCode = "UnknownError";
|
|
714
715
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
715
716
|
switch (errorCode) {
|
|
716
717
|
case "InternalServiceError":
|
|
@@ -788,7 +789,7 @@ const deserializeAws_json1_1DescribeSecretCommandError = async (
|
|
|
788
789
|
body: await parseBody(output.body, context),
|
|
789
790
|
};
|
|
790
791
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
791
|
-
let errorCode
|
|
792
|
+
let errorCode = "UnknownError";
|
|
792
793
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
793
794
|
switch (errorCode) {
|
|
794
795
|
case "InternalServiceError":
|
|
@@ -858,7 +859,7 @@ const deserializeAws_json1_1GetRandomPasswordCommandError = async (
|
|
|
858
859
|
body: await parseBody(output.body, context),
|
|
859
860
|
};
|
|
860
861
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
861
|
-
let errorCode
|
|
862
|
+
let errorCode = "UnknownError";
|
|
862
863
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
863
864
|
switch (errorCode) {
|
|
864
865
|
case "InternalServiceError":
|
|
@@ -928,7 +929,7 @@ const deserializeAws_json1_1GetResourcePolicyCommandError = async (
|
|
|
928
929
|
body: await parseBody(output.body, context),
|
|
929
930
|
};
|
|
930
931
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
931
|
-
let errorCode
|
|
932
|
+
let errorCode = "UnknownError";
|
|
932
933
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
933
934
|
switch (errorCode) {
|
|
934
935
|
case "InternalServiceError":
|
|
@@ -1006,7 +1007,7 @@ const deserializeAws_json1_1GetSecretValueCommandError = async (
|
|
|
1006
1007
|
body: await parseBody(output.body, context),
|
|
1007
1008
|
};
|
|
1008
1009
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1009
|
-
let errorCode
|
|
1010
|
+
let errorCode = "UnknownError";
|
|
1010
1011
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1011
1012
|
switch (errorCode) {
|
|
1012
1013
|
case "DecryptionFailure":
|
|
@@ -1092,7 +1093,7 @@ const deserializeAws_json1_1ListSecretsCommandError = async (
|
|
|
1092
1093
|
body: await parseBody(output.body, context),
|
|
1093
1094
|
};
|
|
1094
1095
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1095
|
-
let errorCode
|
|
1096
|
+
let errorCode = "UnknownError";
|
|
1096
1097
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1097
1098
|
switch (errorCode) {
|
|
1098
1099
|
case "InternalServiceError":
|
|
@@ -1162,7 +1163,7 @@ const deserializeAws_json1_1ListSecretVersionIdsCommandError = async (
|
|
|
1162
1163
|
body: await parseBody(output.body, context),
|
|
1163
1164
|
};
|
|
1164
1165
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1165
|
-
let errorCode
|
|
1166
|
+
let errorCode = "UnknownError";
|
|
1166
1167
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1167
1168
|
switch (errorCode) {
|
|
1168
1169
|
case "InternalServiceError":
|
|
@@ -1240,7 +1241,7 @@ const deserializeAws_json1_1PutResourcePolicyCommandError = async (
|
|
|
1240
1241
|
body: await parseBody(output.body, context),
|
|
1241
1242
|
};
|
|
1242
1243
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1243
|
-
let errorCode
|
|
1244
|
+
let errorCode = "UnknownError";
|
|
1244
1245
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1245
1246
|
switch (errorCode) {
|
|
1246
1247
|
case "InternalServiceError":
|
|
@@ -1334,7 +1335,7 @@ const deserializeAws_json1_1PutSecretValueCommandError = async (
|
|
|
1334
1335
|
body: await parseBody(output.body, context),
|
|
1335
1336
|
};
|
|
1336
1337
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1337
|
-
let errorCode
|
|
1338
|
+
let errorCode = "UnknownError";
|
|
1338
1339
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1339
1340
|
switch (errorCode) {
|
|
1340
1341
|
case "EncryptionFailure":
|
|
@@ -1436,7 +1437,7 @@ const deserializeAws_json1_1RemoveRegionsFromReplicationCommandError = async (
|
|
|
1436
1437
|
body: await parseBody(output.body, context),
|
|
1437
1438
|
};
|
|
1438
1439
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1439
|
-
let errorCode
|
|
1440
|
+
let errorCode = "UnknownError";
|
|
1440
1441
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1441
1442
|
switch (errorCode) {
|
|
1442
1443
|
case "InternalServiceError":
|
|
@@ -1514,7 +1515,7 @@ const deserializeAws_json1_1ReplicateSecretToRegionsCommandError = async (
|
|
|
1514
1515
|
body: await parseBody(output.body, context),
|
|
1515
1516
|
};
|
|
1516
1517
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1517
|
-
let errorCode
|
|
1518
|
+
let errorCode = "UnknownError";
|
|
1518
1519
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1519
1520
|
switch (errorCode) {
|
|
1520
1521
|
case "InternalServiceError":
|
|
@@ -1592,7 +1593,7 @@ const deserializeAws_json1_1RestoreSecretCommandError = async (
|
|
|
1592
1593
|
body: await parseBody(output.body, context),
|
|
1593
1594
|
};
|
|
1594
1595
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1595
|
-
let errorCode
|
|
1596
|
+
let errorCode = "UnknownError";
|
|
1596
1597
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1597
1598
|
switch (errorCode) {
|
|
1598
1599
|
case "InternalServiceError":
|
|
@@ -1670,7 +1671,7 @@ const deserializeAws_json1_1RotateSecretCommandError = async (
|
|
|
1670
1671
|
body: await parseBody(output.body, context),
|
|
1671
1672
|
};
|
|
1672
1673
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1673
|
-
let errorCode
|
|
1674
|
+
let errorCode = "UnknownError";
|
|
1674
1675
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1675
1676
|
switch (errorCode) {
|
|
1676
1677
|
case "InternalServiceError":
|
|
@@ -1748,7 +1749,7 @@ const deserializeAws_json1_1StopReplicationToReplicaCommandError = async (
|
|
|
1748
1749
|
body: await parseBody(output.body, context),
|
|
1749
1750
|
};
|
|
1750
1751
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1751
|
-
let errorCode
|
|
1752
|
+
let errorCode = "UnknownError";
|
|
1752
1753
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1753
1754
|
switch (errorCode) {
|
|
1754
1755
|
case "InternalServiceError":
|
|
@@ -1823,7 +1824,7 @@ const deserializeAws_json1_1TagResourceCommandError = async (
|
|
|
1823
1824
|
body: await parseBody(output.body, context),
|
|
1824
1825
|
};
|
|
1825
1826
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1826
|
-
let errorCode
|
|
1827
|
+
let errorCode = "UnknownError";
|
|
1827
1828
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1828
1829
|
switch (errorCode) {
|
|
1829
1830
|
case "InternalServiceError":
|
|
@@ -1898,7 +1899,7 @@ const deserializeAws_json1_1UntagResourceCommandError = async (
|
|
|
1898
1899
|
body: await parseBody(output.body, context),
|
|
1899
1900
|
};
|
|
1900
1901
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1901
|
-
let errorCode
|
|
1902
|
+
let errorCode = "UnknownError";
|
|
1902
1903
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1903
1904
|
switch (errorCode) {
|
|
1904
1905
|
case "InternalServiceError":
|
|
@@ -1976,7 +1977,7 @@ const deserializeAws_json1_1UpdateSecretCommandError = async (
|
|
|
1976
1977
|
body: await parseBody(output.body, context),
|
|
1977
1978
|
};
|
|
1978
1979
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1979
|
-
let errorCode
|
|
1980
|
+
let errorCode = "UnknownError";
|
|
1980
1981
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1981
1982
|
switch (errorCode) {
|
|
1982
1983
|
case "EncryptionFailure":
|
|
@@ -2094,7 +2095,7 @@ const deserializeAws_json1_1UpdateSecretVersionStageCommandError = async (
|
|
|
2094
2095
|
body: await parseBody(output.body, context),
|
|
2095
2096
|
};
|
|
2096
2097
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2097
|
-
let errorCode
|
|
2098
|
+
let errorCode = "UnknownError";
|
|
2098
2099
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2099
2100
|
switch (errorCode) {
|
|
2100
2101
|
case "InternalServiceError":
|
|
@@ -2180,7 +2181,7 @@ const deserializeAws_json1_1ValidateResourcePolicyCommandError = async (
|
|
|
2180
2181
|
body: await parseBody(output.body, context),
|
|
2181
2182
|
};
|
|
2182
2183
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2183
|
-
let errorCode
|
|
2184
|
+
let errorCode = "UnknownError";
|
|
2184
2185
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2185
2186
|
switch (errorCode) {
|
|
2186
2187
|
case "InternalServiceError":
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import packageInfo from "./package.json";
|
|
2
|
-
|
|
3
1
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
2
|
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
3
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
@@ -8,8 +6,11 @@ import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
|
8
6
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
9
7
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
10
8
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
11
|
-
|
|
9
|
+
|
|
10
|
+
// @ts-ignore: package.json will be imported from dist folders
|
|
11
|
+
import packageInfo from "../package.json";
|
|
12
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
+
import { SecretsManagerClientConfig } from "./SecretsManagerClient";
|
|
13
14
|
|
|
14
15
|
/**
|
|
15
16
|
* @internal
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
|
-
|
|
2
|
+
|
|
3
3
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
4
|
+
import { SecretsManagerClientConfig } from "./SecretsManagerClient";
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* @internal
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { defaultRegionInfoProvider } from "./endpoints";
|
|
2
1
|
import { Logger as __Logger } from "@aws-sdk/types";
|
|
3
2
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
3
|
+
|
|
4
|
+
import { defaultRegionInfoProvider } from "./endpoints";
|
|
4
5
|
import { SecretsManagerClientConfig } from "./SecretsManagerClient";
|
|
5
6
|
|
|
6
7
|
/**
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import packageInfo from "./package.json";
|
|
2
|
-
|
|
3
1
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
2
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
|
|
5
3
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
@@ -7,13 +5,16 @@ import { Hash } from "@aws-sdk/hash-node";
|
|
|
7
5
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
8
6
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
7
|
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
8
|
+
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
10
9
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
10
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
11
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
12
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
|
-
|
|
13
|
+
|
|
14
|
+
// @ts-ignore: package.json will be imported from dist folders
|
|
15
|
+
import packageInfo from "../package.json";
|
|
15
16
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
16
|
-
import {
|
|
17
|
+
import { SecretsManagerClientConfig } from "./SecretsManagerClient";
|
|
17
18
|
|
|
18
19
|
/**
|
|
19
20
|
* @internal
|
package/tsconfig.es.json
CHANGED
package/tsconfig.json
CHANGED
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"incremental": true,
|
|
12
12
|
"resolveJsonModule": true,
|
|
13
13
|
"esModuleInterop": true,
|
|
14
|
-
"
|
|
14
|
+
"rootDir": "src",
|
|
15
|
+
"outDir": "dist-cjs",
|
|
15
16
|
"removeComments": true
|
|
16
17
|
},
|
|
17
18
|
"typedocOptions": {
|
|
@@ -27,5 +28,6 @@
|
|
|
27
28
|
"out": "docs",
|
|
28
29
|
"theme": "minimal",
|
|
29
30
|
"plugin": ["@aws-sdk/client-documentation-generator"]
|
|
30
|
-
}
|
|
31
|
+
},
|
|
32
|
+
"exclude": ["test/**/*"]
|
|
31
33
|
}
|