@aws-sdk/client-kms 3.32.0 → 3.36.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 +45 -0
- package/README.md +8 -7
- package/{dist/cjs → dist-cjs}/KMS.js +9 -9
- package/{dist/cjs → dist-cjs}/KMSClient.js +16 -16
- package/{dist/cjs → dist-cjs}/commands/CancelKeyDeletionCommand.js +8 -7
- package/{dist/cjs → dist-cjs}/commands/ConnectCustomKeyStoreCommand.js +5 -6
- package/{dist/cjs → dist-cjs}/commands/CreateAliasCommand.js +13 -10
- package/{dist/cjs → dist-cjs}/commands/CreateCustomKeyStoreCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateGrantCommand.js +16 -14
- package/{dist/cjs → dist-cjs}/commands/CreateKeyCommand.js +18 -17
- package/{dist/cjs → dist-cjs}/commands/DecryptCommand.js +26 -24
- package/{dist/cjs → dist-cjs}/commands/DeleteAliasCommand.js +13 -10
- package/{dist/cjs → dist-cjs}/commands/DeleteCustomKeyStoreCommand.js +12 -14
- package/{dist/cjs → dist-cjs}/commands/DeleteImportedKeyMaterialCommand.js +7 -9
- package/{dist/cjs → dist-cjs}/commands/DescribeCustomKeyStoresCommand.js +6 -7
- package/{dist/cjs → dist-cjs}/commands/DescribeKeyCommand.js +14 -13
- package/{dist/cjs → dist-cjs}/commands/DisableKeyCommand.js +7 -7
- package/{dist/cjs → dist-cjs}/commands/DisableKeyRotationCommand.js +4 -4
- package/{dist/cjs → dist-cjs}/commands/DisconnectCustomKeyStoreCommand.js +8 -7
- package/{dist/cjs → dist-cjs}/commands/EnableKeyCommand.js +6 -5
- package/{dist/cjs → dist-cjs}/commands/EnableKeyRotationCommand.js +4 -4
- package/{dist/cjs → dist-cjs}/commands/EncryptCommand.js +16 -15
- package/{dist/cjs → dist-cjs}/commands/GenerateDataKeyCommand.js +17 -15
- package/{dist/cjs → dist-cjs}/commands/GenerateDataKeyPairCommand.js +17 -16
- package/{dist/cjs → dist-cjs}/commands/GenerateDataKeyPairWithoutPlaintextCommand.js +18 -16
- package/{dist/cjs → dist-cjs}/commands/GenerateDataKeyWithoutPlaintextCommand.js +13 -12
- package/{dist/cjs → dist-cjs}/commands/GenerateRandomCommand.js +4 -4
- package/{dist/cjs → dist-cjs}/commands/GetKeyPolicyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetKeyRotationStatusCommand.js +4 -4
- package/{dist/cjs → dist-cjs}/commands/GetParametersForImportCommand.js +9 -11
- package/{dist/cjs → dist-cjs}/commands/GetPublicKeyCommand.js +9 -8
- package/{dist/cjs → dist-cjs}/commands/ImportKeyMaterialCommand.js +15 -16
- package/{dist/cjs → dist-cjs}/commands/ListAliasesCommand.js +15 -13
- package/{dist/cjs → dist-cjs}/commands/ListGrantsCommand.js +4 -5
- package/{dist/cjs → dist-cjs}/commands/ListKeyPoliciesCommand.js +5 -6
- package/{dist/cjs → dist-cjs}/commands/ListKeysCommand.js +3 -5
- package/{dist/cjs → dist-cjs}/commands/ListResourceTagsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListRetirableGrantsCommand.js +9 -9
- package/{dist/cjs → dist-cjs}/commands/PutKeyPolicyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ReEncryptCommand.js +35 -30
- package/{dist/cjs → dist-cjs}/commands/ReplicateKeyCommand.js +7 -8
- package/{dist/cjs → dist-cjs}/commands/RetireGrantCommand.js +9 -8
- package/{dist/cjs → dist-cjs}/commands/RevokeGrantCommand.js +3 -5
- package/{dist/cjs → dist-cjs}/commands/ScheduleKeyDeletionCommand.js +21 -18
- package/{dist/cjs → dist-cjs}/commands/SignCommand.js +12 -12
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +8 -7
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +5 -6
- package/{dist/cjs → dist-cjs}/commands/UpdateAliasCommand.js +17 -14
- package/{dist/cjs → dist-cjs}/commands/UpdateCustomKeyStoreCommand.js +19 -20
- package/{dist/cjs → dist-cjs}/commands/UpdateKeyDescriptionCommand.js +5 -6
- package/{dist/cjs → dist-cjs}/commands/UpdatePrimaryRegionCommand.js +3 -4
- package/{dist/cjs → dist-cjs}/commands/VerifyCommand.js +7 -8
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListAliasesPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListGrantsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListKeyPoliciesPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListKeysPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
- package/{dist/es → dist-es}/KMS.js +2 -94
- package/dist-es/KMSClient.js +37 -0
- package/dist-es/commands/CancelKeyDeletionCommand.js +39 -0
- package/dist-es/commands/ConnectCustomKeyStoreCommand.js +39 -0
- package/dist-es/commands/CreateAliasCommand.js +39 -0
- package/dist-es/commands/CreateCustomKeyStoreCommand.js +39 -0
- package/dist-es/commands/CreateGrantCommand.js +39 -0
- package/dist-es/commands/CreateKeyCommand.js +39 -0
- package/dist-es/commands/DecryptCommand.js +39 -0
- package/dist-es/commands/DeleteAliasCommand.js +39 -0
- package/dist-es/commands/DeleteCustomKeyStoreCommand.js +39 -0
- package/dist-es/commands/DeleteImportedKeyMaterialCommand.js +39 -0
- package/dist-es/commands/DescribeCustomKeyStoresCommand.js +39 -0
- package/dist-es/commands/DescribeKeyCommand.js +39 -0
- package/dist-es/commands/DisableKeyCommand.js +39 -0
- package/dist-es/commands/DisableKeyRotationCommand.js +39 -0
- package/dist-es/commands/DisconnectCustomKeyStoreCommand.js +39 -0
- package/dist-es/commands/EnableKeyCommand.js +39 -0
- package/dist-es/commands/EnableKeyRotationCommand.js +39 -0
- package/dist-es/commands/EncryptCommand.js +39 -0
- package/dist-es/commands/GenerateDataKeyCommand.js +39 -0
- package/dist-es/commands/GenerateDataKeyPairCommand.js +39 -0
- package/dist-es/commands/GenerateDataKeyPairWithoutPlaintextCommand.js +39 -0
- package/dist-es/commands/GenerateDataKeyWithoutPlaintextCommand.js +39 -0
- package/dist-es/commands/GenerateRandomCommand.js +39 -0
- package/{dist/es → dist-es}/commands/GetKeyPolicyCommand.js +4 -38
- package/dist-es/commands/GetKeyRotationStatusCommand.js +39 -0
- package/dist-es/commands/GetParametersForImportCommand.js +39 -0
- package/dist-es/commands/GetPublicKeyCommand.js +39 -0
- package/dist-es/commands/ImportKeyMaterialCommand.js +39 -0
- package/dist-es/commands/ListAliasesCommand.js +39 -0
- package/dist-es/commands/ListGrantsCommand.js +39 -0
- package/dist-es/commands/ListKeyPoliciesCommand.js +39 -0
- package/dist-es/commands/ListKeysCommand.js +39 -0
- package/dist-es/commands/ListResourceTagsCommand.js +39 -0
- package/dist-es/commands/ListRetirableGrantsCommand.js +39 -0
- package/dist-es/commands/PutKeyPolicyCommand.js +39 -0
- package/dist-es/commands/ReEncryptCommand.js +39 -0
- package/dist-es/commands/ReplicateKeyCommand.js +39 -0
- package/dist-es/commands/RetireGrantCommand.js +39 -0
- package/dist-es/commands/RevokeGrantCommand.js +39 -0
- package/dist-es/commands/ScheduleKeyDeletionCommand.js +39 -0
- package/dist-es/commands/SignCommand.js +39 -0
- package/dist-es/commands/TagResourceCommand.js +39 -0
- package/dist-es/commands/UntagResourceCommand.js +39 -0
- package/dist-es/commands/UpdateAliasCommand.js +39 -0
- package/dist-es/commands/UpdateCustomKeyStoreCommand.js +39 -0
- package/dist-es/commands/UpdateKeyDescriptionCommand.js +39 -0
- package/dist-es/commands/UpdatePrimaryRegionCommand.js +39 -0
- package/dist-es/commands/VerifyCommand.js +39 -0
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -367
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListAliasesPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListGrantsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListKeyPoliciesPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListKeysPaginator.js +17 -30
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +1615 -1621
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/KMS.d.ts +398 -336
- package/{dist/types → dist-types}/KMSClient.d.ts +16 -15
- package/{dist/types → dist-types}/commands/CancelKeyDeletionCommand.d.ts +8 -6
- package/{dist/types → dist-types}/commands/ConnectCustomKeyStoreCommand.d.ts +5 -5
- package/{dist/types → dist-types}/commands/CreateAliasCommand.d.ts +13 -9
- package/{dist/types → dist-types}/commands/CreateCustomKeyStoreCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateGrantCommand.d.ts +16 -13
- package/{dist/types → dist-types}/commands/CreateKeyCommand.d.ts +18 -16
- package/{dist/types → dist-types}/commands/DecryptCommand.d.ts +26 -23
- package/{dist/types → dist-types}/commands/DeleteAliasCommand.d.ts +13 -9
- package/{dist/types → dist-types}/commands/DeleteCustomKeyStoreCommand.d.ts +12 -13
- package/{dist/types → dist-types}/commands/DeleteImportedKeyMaterialCommand.d.ts +7 -8
- package/{dist/types → dist-types}/commands/DescribeCustomKeyStoresCommand.d.ts +6 -6
- package/{dist/types → dist-types}/commands/DescribeKeyCommand.d.ts +14 -12
- package/{dist/types → dist-types}/commands/DisableKeyCommand.d.ts +7 -6
- package/{dist/types → dist-types}/commands/DisableKeyRotationCommand.d.ts +4 -3
- package/{dist/types → dist-types}/commands/DisconnectCustomKeyStoreCommand.d.ts +8 -6
- package/{dist/types → dist-types}/commands/EnableKeyCommand.d.ts +6 -4
- package/{dist/types → dist-types}/commands/EnableKeyRotationCommand.d.ts +4 -3
- package/{dist/types → dist-types}/commands/EncryptCommand.d.ts +16 -14
- package/{dist/types → dist-types}/commands/GenerateDataKeyCommand.d.ts +17 -14
- package/{dist/types → dist-types}/commands/GenerateDataKeyPairCommand.d.ts +17 -15
- package/{dist/types → dist-types}/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +18 -15
- package/{dist/types → dist-types}/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +13 -11
- package/{dist/types → dist-types}/commands/GenerateRandomCommand.d.ts +4 -3
- package/{dist/types → dist-types}/commands/GetKeyPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetKeyRotationStatusCommand.d.ts +4 -3
- package/{dist/types → dist-types}/commands/GetParametersForImportCommand.d.ts +9 -10
- package/{dist/types → dist-types}/commands/GetPublicKeyCommand.d.ts +9 -7
- package/{dist/types → dist-types}/commands/ImportKeyMaterialCommand.d.ts +15 -15
- package/{dist/types → dist-types}/commands/ListAliasesCommand.d.ts +15 -12
- package/{dist/types → dist-types}/commands/ListGrantsCommand.d.ts +4 -4
- package/{dist/types → dist-types}/commands/ListKeyPoliciesCommand.d.ts +5 -5
- package/{dist/types → dist-types}/commands/ListKeysCommand.d.ts +3 -4
- package/{dist/types → dist-types}/commands/ListResourceTagsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListRetirableGrantsCommand.d.ts +9 -8
- package/{dist/types → dist-types}/commands/PutKeyPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ReEncryptCommand.d.ts +35 -29
- package/{dist/types → dist-types}/commands/ReplicateKeyCommand.d.ts +7 -7
- package/{dist/types → dist-types}/commands/RetireGrantCommand.d.ts +9 -7
- package/{dist/types → dist-types}/commands/RevokeGrantCommand.d.ts +3 -4
- package/{dist/types → dist-types}/commands/ScheduleKeyDeletionCommand.d.ts +21 -17
- package/{dist/types → dist-types}/commands/SignCommand.d.ts +12 -11
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +8 -6
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +5 -5
- package/{dist/types → dist-types}/commands/UpdateAliasCommand.d.ts +17 -13
- package/{dist/types → dist-types}/commands/UpdateCustomKeyStoreCommand.d.ts +19 -19
- package/{dist/types → dist-types}/commands/UpdateKeyDescriptionCommand.d.ts +5 -5
- package/{dist/types → dist-types}/commands/UpdatePrimaryRegionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/VerifyCommand.d.ts +7 -7
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +296 -249
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListAliasesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListGrantsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListKeyPoliciesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListKeysPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +2 -1
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.native.d.ts +36 -35
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/KMS.d.ts +398 -336
- package/{dist/types → dist-types}/ts3.4/KMSClient.d.ts +16 -15
- package/{dist/types → dist-types}/ts3.4/commands/CancelKeyDeletionCommand.d.ts +8 -6
- package/{dist/types → dist-types}/ts3.4/commands/ConnectCustomKeyStoreCommand.d.ts +5 -5
- package/{dist/types → dist-types}/ts3.4/commands/CreateAliasCommand.d.ts +13 -9
- package/{dist/types → dist-types}/ts3.4/commands/CreateCustomKeyStoreCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateGrantCommand.d.ts +16 -13
- package/{dist/types → dist-types}/ts3.4/commands/CreateKeyCommand.d.ts +18 -16
- package/{dist/types → dist-types}/ts3.4/commands/DecryptCommand.d.ts +26 -23
- package/{dist/types → dist-types}/ts3.4/commands/DeleteAliasCommand.d.ts +13 -9
- package/{dist/types → dist-types}/ts3.4/commands/DeleteCustomKeyStoreCommand.d.ts +12 -13
- package/{dist/types → dist-types}/ts3.4/commands/DeleteImportedKeyMaterialCommand.d.ts +7 -8
- package/{dist/types → dist-types}/ts3.4/commands/DescribeCustomKeyStoresCommand.d.ts +6 -6
- package/{dist/types → dist-types}/ts3.4/commands/DescribeKeyCommand.d.ts +14 -12
- package/{dist/types → dist-types}/ts3.4/commands/DisableKeyCommand.d.ts +7 -6
- package/{dist/types → dist-types}/ts3.4/commands/DisableKeyRotationCommand.d.ts +4 -3
- package/{dist/types → dist-types}/ts3.4/commands/DisconnectCustomKeyStoreCommand.d.ts +8 -6
- package/{dist/types → dist-types}/ts3.4/commands/EnableKeyCommand.d.ts +6 -4
- package/{dist/types → dist-types}/ts3.4/commands/EnableKeyRotationCommand.d.ts +4 -3
- package/{dist/types → dist-types}/ts3.4/commands/EncryptCommand.d.ts +16 -14
- package/{dist/types → dist-types}/ts3.4/commands/GenerateDataKeyCommand.d.ts +17 -14
- package/{dist/types → dist-types}/ts3.4/commands/GenerateDataKeyPairCommand.d.ts +17 -15
- package/{dist/types → dist-types}/ts3.4/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +18 -15
- package/{dist/types → dist-types}/ts3.4/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +13 -11
- package/{dist/types → dist-types}/ts3.4/commands/GenerateRandomCommand.d.ts +4 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetKeyPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetKeyRotationStatusCommand.d.ts +4 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetParametersForImportCommand.d.ts +9 -10
- package/{dist/types → dist-types}/ts3.4/commands/GetPublicKeyCommand.d.ts +9 -7
- package/{dist/types → dist-types}/ts3.4/commands/ImportKeyMaterialCommand.d.ts +15 -15
- package/{dist/types → dist-types}/ts3.4/commands/ListAliasesCommand.d.ts +15 -12
- package/{dist/types → dist-types}/ts3.4/commands/ListGrantsCommand.d.ts +4 -4
- package/{dist/types → dist-types}/ts3.4/commands/ListKeyPoliciesCommand.d.ts +5 -5
- package/{dist/types → dist-types}/ts3.4/commands/ListKeysCommand.d.ts +3 -4
- package/{dist/types → dist-types}/ts3.4/commands/ListResourceTagsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListRetirableGrantsCommand.d.ts +9 -8
- package/{dist/types → dist-types}/ts3.4/commands/PutKeyPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ReEncryptCommand.d.ts +35 -29
- package/{dist/types → dist-types}/ts3.4/commands/ReplicateKeyCommand.d.ts +7 -7
- package/{dist/types → dist-types}/ts3.4/commands/RetireGrantCommand.d.ts +9 -7
- package/{dist/types → dist-types}/ts3.4/commands/RevokeGrantCommand.d.ts +3 -4
- package/{dist/types → dist-types}/ts3.4/commands/ScheduleKeyDeletionCommand.d.ts +21 -17
- package/{dist/types → dist-types}/ts3.4/commands/SignCommand.d.ts +12 -11
- package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +8 -6
- package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +5 -5
- package/{dist/types → dist-types}/ts3.4/commands/UpdateAliasCommand.d.ts +17 -13
- package/{dist/types → dist-types}/ts3.4/commands/UpdateCustomKeyStoreCommand.d.ts +19 -19
- package/{dist/types → dist-types}/ts3.4/commands/UpdateKeyDescriptionCommand.d.ts +5 -5
- package/{dist/types → dist-types}/ts3.4/commands/UpdatePrimaryRegionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/VerifyCommand.d.ts +7 -7
- 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 +296 -249
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListAliasesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListGrantsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListKeyPoliciesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListKeysPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -1
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.native.d.ts +36 -35
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +52 -49
- package/KMS.ts +0 -4018
- package/KMSClient.ts +0 -515
- package/commands/CancelKeyDeletionCommand.ts +0 -105
- package/commands/ConnectCustomKeyStoreCommand.ts +0 -155
- package/commands/CreateAliasCommand.ts +0 -147
- package/commands/CreateCustomKeyStoreCommand.ts +0 -143
- package/commands/CreateGrantCommand.ts +0 -153
- package/commands/CreateKeyCommand.ts +0 -209
- package/commands/DecryptCommand.ts +0 -172
- package/commands/DeleteAliasCommand.ts +0 -137
- package/commands/DeleteCustomKeyStoreCommand.ts +0 -149
- package/commands/DeleteImportedKeyMaterialCommand.ts +0 -127
- package/commands/DescribeCustomKeyStoresCommand.ts +0 -147
- package/commands/DescribeKeyCommand.ts +0 -171
- package/commands/DisableKeyCommand.ts +0 -108
- package/commands/DisableKeyRotationCommand.ts +0 -118
- package/commands/DisconnectCustomKeyStoreCommand.ts +0 -144
- package/commands/EnableKeyCommand.ts +0 -97
- package/commands/EnableKeyRotationCommand.ts +0 -118
- package/commands/EncryptCommand.ts +0 -209
- package/commands/GenerateDataKeyCommand.ts +0 -188
- package/commands/GenerateDataKeyPairCommand.ts +0 -168
- package/commands/GenerateDataKeyPairWithoutPlaintextCommand.ts +0 -168
- package/commands/GenerateDataKeyWithoutPlaintextCommand.ts +0 -171
- package/commands/GenerateRandomCommand.ts +0 -102
- package/commands/GetKeyPolicyCommand.ts +0 -102
- package/commands/GetKeyRotationStatusCommand.ts +0 -130
- package/commands/GetParametersForImportCommand.ts +0 -129
- package/commands/GetPublicKeyCommand.ts +0 -138
- package/commands/ImportKeyMaterialCommand.ts +0 -157
- package/commands/ListAliasesCommand.ts +0 -133
- package/commands/ListGrantsCommand.ts +0 -139
- package/commands/ListKeyPoliciesCommand.ts +0 -116
- package/commands/ListKeysCommand.ts +0 -118
- package/commands/ListResourceTagsCommand.ts +0 -128
- package/commands/ListRetirableGrantsCommand.ts +0 -136
- package/commands/PutKeyPolicyCommand.ts +0 -107
- package/commands/ReEncryptCommand.ts +0 -179
- package/commands/ReplicateKeyCommand.ts +0 -171
- package/commands/RetireGrantCommand.ts +0 -138
- package/commands/RevokeGrantCommand.ts +0 -138
- package/commands/ScheduleKeyDeletionCommand.ts +0 -144
- package/commands/SignCommand.ts +0 -131
- package/commands/TagResourceCommand.ts +0 -139
- package/commands/UntagResourceCommand.ts +0 -137
- package/commands/UpdateAliasCommand.ts +0 -152
- package/commands/UpdateCustomKeyStoreCommand.ts +0 -166
- package/commands/UpdateKeyDescriptionCommand.ts +0 -117
- package/commands/UpdatePrimaryRegionCommand.ts +0 -159
- package/commands/VerifyCommand.ts +0 -117
- package/dist/cjs/KMS.js.map +0 -1
- package/dist/cjs/KMSClient.js.map +0 -1
- package/dist/cjs/commands/CancelKeyDeletionCommand.js.map +0 -1
- package/dist/cjs/commands/ConnectCustomKeyStoreCommand.js.map +0 -1
- package/dist/cjs/commands/CreateAliasCommand.js.map +0 -1
- package/dist/cjs/commands/CreateCustomKeyStoreCommand.js.map +0 -1
- package/dist/cjs/commands/CreateGrantCommand.js.map +0 -1
- package/dist/cjs/commands/CreateKeyCommand.js.map +0 -1
- package/dist/cjs/commands/DecryptCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteAliasCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteCustomKeyStoreCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteImportedKeyMaterialCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeCustomKeyStoresCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeKeyCommand.js.map +0 -1
- package/dist/cjs/commands/DisableKeyCommand.js.map +0 -1
- package/dist/cjs/commands/DisableKeyRotationCommand.js.map +0 -1
- package/dist/cjs/commands/DisconnectCustomKeyStoreCommand.js.map +0 -1
- package/dist/cjs/commands/EnableKeyCommand.js.map +0 -1
- package/dist/cjs/commands/EnableKeyRotationCommand.js.map +0 -1
- package/dist/cjs/commands/EncryptCommand.js.map +0 -1
- package/dist/cjs/commands/GenerateDataKeyCommand.js.map +0 -1
- package/dist/cjs/commands/GenerateDataKeyPairCommand.js.map +0 -1
- package/dist/cjs/commands/GenerateDataKeyPairWithoutPlaintextCommand.js.map +0 -1
- package/dist/cjs/commands/GenerateDataKeyWithoutPlaintextCommand.js.map +0 -1
- package/dist/cjs/commands/GenerateRandomCommand.js.map +0 -1
- package/dist/cjs/commands/GetKeyPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/GetKeyRotationStatusCommand.js.map +0 -1
- package/dist/cjs/commands/GetParametersForImportCommand.js.map +0 -1
- package/dist/cjs/commands/GetPublicKeyCommand.js.map +0 -1
- package/dist/cjs/commands/ImportKeyMaterialCommand.js.map +0 -1
- package/dist/cjs/commands/ListAliasesCommand.js.map +0 -1
- package/dist/cjs/commands/ListGrantsCommand.js.map +0 -1
- package/dist/cjs/commands/ListKeyPoliciesCommand.js.map +0 -1
- package/dist/cjs/commands/ListKeysCommand.js.map +0 -1
- package/dist/cjs/commands/ListResourceTagsCommand.js.map +0 -1
- package/dist/cjs/commands/ListRetirableGrantsCommand.js.map +0 -1
- package/dist/cjs/commands/PutKeyPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/ReEncryptCommand.js.map +0 -1
- package/dist/cjs/commands/ReplicateKeyCommand.js.map +0 -1
- package/dist/cjs/commands/RetireGrantCommand.js.map +0 -1
- package/dist/cjs/commands/RevokeGrantCommand.js.map +0 -1
- package/dist/cjs/commands/ScheduleKeyDeletionCommand.js.map +0 -1
- package/dist/cjs/commands/SignCommand.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/UpdateAliasCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateCustomKeyStoreCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateKeyDescriptionCommand.js.map +0 -1
- package/dist/cjs/commands/UpdatePrimaryRegionCommand.js.map +0 -1
- package/dist/cjs/commands/VerifyCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListAliasesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListGrantsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListKeyPoliciesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListKeysPaginator.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/KMS.js.map +0 -1
- package/dist/es/KMSClient.js +0 -134
- package/dist/es/KMSClient.js.map +0 -1
- package/dist/es/commands/CancelKeyDeletionCommand.js +0 -76
- package/dist/es/commands/CancelKeyDeletionCommand.js.map +0 -1
- package/dist/es/commands/ConnectCustomKeyStoreCommand.js +0 -126
- package/dist/es/commands/ConnectCustomKeyStoreCommand.js.map +0 -1
- package/dist/es/commands/CreateAliasCommand.js +0 -118
- package/dist/es/commands/CreateAliasCommand.js.map +0 -1
- package/dist/es/commands/CreateCustomKeyStoreCommand.js +0 -114
- package/dist/es/commands/CreateCustomKeyStoreCommand.js.map +0 -1
- package/dist/es/commands/CreateGrantCommand.js +0 -124
- package/dist/es/commands/CreateGrantCommand.js.map +0 -1
- package/dist/es/commands/CreateKeyCommand.js +0 -187
- package/dist/es/commands/CreateKeyCommand.js.map +0 -1
- package/dist/es/commands/DecryptCommand.js +0 -150
- package/dist/es/commands/DecryptCommand.js.map +0 -1
- package/dist/es/commands/DeleteAliasCommand.js +0 -108
- package/dist/es/commands/DeleteAliasCommand.js.map +0 -1
- package/dist/es/commands/DeleteCustomKeyStoreCommand.js +0 -120
- package/dist/es/commands/DeleteCustomKeyStoreCommand.js.map +0 -1
- package/dist/es/commands/DeleteImportedKeyMaterialCommand.js +0 -95
- package/dist/es/commands/DeleteImportedKeyMaterialCommand.js.map +0 -1
- package/dist/es/commands/DescribeCustomKeyStoresCommand.js +0 -118
- package/dist/es/commands/DescribeCustomKeyStoresCommand.js.map +0 -1
- package/dist/es/commands/DescribeKeyCommand.js +0 -142
- package/dist/es/commands/DescribeKeyCommand.js.map +0 -1
- package/dist/es/commands/DisableKeyCommand.js +0 -79
- package/dist/es/commands/DisableKeyCommand.js.map +0 -1
- package/dist/es/commands/DisableKeyRotationCommand.js +0 -89
- package/dist/es/commands/DisableKeyRotationCommand.js.map +0 -1
- package/dist/es/commands/DisconnectCustomKeyStoreCommand.js +0 -115
- package/dist/es/commands/DisconnectCustomKeyStoreCommand.js.map +0 -1
- package/dist/es/commands/EnableKeyCommand.js +0 -75
- package/dist/es/commands/EnableKeyCommand.js.map +0 -1
- package/dist/es/commands/EnableKeyRotationCommand.js +0 -89
- package/dist/es/commands/EnableKeyRotationCommand.js.map +0 -1
- package/dist/es/commands/EncryptCommand.js +0 -187
- package/dist/es/commands/EncryptCommand.js.map +0 -1
- package/dist/es/commands/GenerateDataKeyCommand.js +0 -159
- package/dist/es/commands/GenerateDataKeyCommand.js.map +0 -1
- package/dist/es/commands/GenerateDataKeyPairCommand.js +0 -139
- package/dist/es/commands/GenerateDataKeyPairCommand.js.map +0 -1
- package/dist/es/commands/GenerateDataKeyPairWithoutPlaintextCommand.js +0 -128
- package/dist/es/commands/GenerateDataKeyPairWithoutPlaintextCommand.js.map +0 -1
- package/dist/es/commands/GenerateDataKeyWithoutPlaintextCommand.js +0 -134
- package/dist/es/commands/GenerateDataKeyWithoutPlaintextCommand.js.map +0 -1
- package/dist/es/commands/GenerateRandomCommand.js +0 -73
- package/dist/es/commands/GenerateRandomCommand.js.map +0 -1
- package/dist/es/commands/GetKeyPolicyCommand.js.map +0 -1
- package/dist/es/commands/GetKeyRotationStatusCommand.js +0 -101
- package/dist/es/commands/GetKeyRotationStatusCommand.js.map +0 -1
- package/dist/es/commands/GetParametersForImportCommand.js +0 -100
- package/dist/es/commands/GetParametersForImportCommand.js.map +0 -1
- package/dist/es/commands/GetPublicKeyCommand.js +0 -109
- package/dist/es/commands/GetPublicKeyCommand.js.map +0 -1
- package/dist/es/commands/ImportKeyMaterialCommand.js +0 -128
- package/dist/es/commands/ImportKeyMaterialCommand.js.map +0 -1
- package/dist/es/commands/ListAliasesCommand.js +0 -104
- package/dist/es/commands/ListAliasesCommand.js.map +0 -1
- package/dist/es/commands/ListGrantsCommand.js +0 -110
- package/dist/es/commands/ListGrantsCommand.js.map +0 -1
- package/dist/es/commands/ListKeyPoliciesCommand.js +0 -87
- package/dist/es/commands/ListKeyPoliciesCommand.js.map +0 -1
- package/dist/es/commands/ListKeysCommand.js +0 -96
- package/dist/es/commands/ListKeysCommand.js.map +0 -1
- package/dist/es/commands/ListResourceTagsCommand.js +0 -99
- package/dist/es/commands/ListResourceTagsCommand.js.map +0 -1
- package/dist/es/commands/ListRetirableGrantsCommand.js +0 -107
- package/dist/es/commands/ListRetirableGrantsCommand.js.map +0 -1
- package/dist/es/commands/PutKeyPolicyCommand.js +0 -78
- package/dist/es/commands/PutKeyPolicyCommand.js.map +0 -1
- package/dist/es/commands/ReEncryptCommand.js +0 -157
- package/dist/es/commands/ReEncryptCommand.js.map +0 -1
- package/dist/es/commands/ReplicateKeyCommand.js +0 -142
- package/dist/es/commands/ReplicateKeyCommand.js.map +0 -1
- package/dist/es/commands/RetireGrantCommand.js +0 -109
- package/dist/es/commands/RetireGrantCommand.js.map +0 -1
- package/dist/es/commands/RevokeGrantCommand.js +0 -109
- package/dist/es/commands/RevokeGrantCommand.js.map +0 -1
- package/dist/es/commands/ScheduleKeyDeletionCommand.js +0 -115
- package/dist/es/commands/ScheduleKeyDeletionCommand.js.map +0 -1
- package/dist/es/commands/SignCommand.js +0 -109
- package/dist/es/commands/SignCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js +0 -110
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js +0 -108
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateAliasCommand.js +0 -123
- package/dist/es/commands/UpdateAliasCommand.js.map +0 -1
- package/dist/es/commands/UpdateCustomKeyStoreCommand.js +0 -137
- package/dist/es/commands/UpdateCustomKeyStoreCommand.js.map +0 -1
- package/dist/es/commands/UpdateKeyDescriptionCommand.js +0 -88
- package/dist/es/commands/UpdateKeyDescriptionCommand.js.map +0 -1
- package/dist/es/commands/UpdatePrimaryRegionCommand.js +0 -130
- package/dist/es/commands/UpdatePrimaryRegionCommand.js.map +0 -1
- package/dist/es/commands/VerifyCommand.js +0 -95
- package/dist/es/commands/VerifyCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -57
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- 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 -91
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListAliasesPaginator.js.map +0 -1
- package/dist/es/pagination/ListGrantsPaginator.js.map +0 -1
- package/dist/es/pagination/ListKeyPoliciesPaginator.js.map +0 -1
- package/dist/es/pagination/ListKeysPaginator.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
- package/endpoints.ts +0 -62
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -4742
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListAliasesPaginator.ts +0 -54
- package/pagination/ListGrantsPaginator.ts +0 -54
- package/pagination/ListKeyPoliciesPaginator.ts +0 -58
- package/pagination/ListKeysPaginator.ts +0 -54
- package/protocols/Aws_json1_1.ts +0 -7631
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { PutKeyPolicyRequest } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1PutKeyPolicyCommand, serializeAws_json1_1PutKeyPolicyCommand, } from "../protocols/Aws_json1_1";
|
|
4
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
/**
|
|
7
|
-
* <p>Attaches a key policy to the specified KMS key. </p>
|
|
8
|
-
* <p>For more information about key policies, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html">Key Policies</a> in the <i>Key Management Service Developer Guide</i>.
|
|
9
|
-
* For help writing and formatting a JSON policy document, see the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies.html">IAM JSON Policy Reference</a> in the <i>
|
|
10
|
-
* <i>Identity and Access Management User Guide</i>
|
|
11
|
-
* </i>. For examples of adding a key policy in multiple programming languages,
|
|
12
|
-
* see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/programming-key-policies.html#put-policy">Setting a key policy</a> in the <i>Key Management Service Developer Guide</i>.</p>
|
|
13
|
-
* <p>
|
|
14
|
-
* <b>Cross-account use</b>: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.</p>
|
|
15
|
-
*
|
|
16
|
-
* <p>
|
|
17
|
-
* <b>Required permissions</b>: <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">kms:PutKeyPolicy</a> (key policy)</p>
|
|
18
|
-
* <p>
|
|
19
|
-
* <b>Related operations</b>: <a>GetKeyPolicy</a>
|
|
20
|
-
* </p>
|
|
21
|
-
* @example
|
|
22
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
23
|
-
* ```javascript
|
|
24
|
-
* import { KMSClient, PutKeyPolicyCommand } from "@aws-sdk/client-kms"; // ES Modules import
|
|
25
|
-
* // const { KMSClient, PutKeyPolicyCommand } = require("@aws-sdk/client-kms"); // CommonJS import
|
|
26
|
-
* const client = new KMSClient(config);
|
|
27
|
-
* const command = new PutKeyPolicyCommand(input);
|
|
28
|
-
* const response = await client.send(command);
|
|
29
|
-
* ```
|
|
30
|
-
*
|
|
31
|
-
* @see {@link PutKeyPolicyCommandInput} for command's `input` shape.
|
|
32
|
-
* @see {@link PutKeyPolicyCommandOutput} for command's `response` shape.
|
|
33
|
-
* @see {@link KMSClientResolvedConfig | config} for command's `input` shape.
|
|
34
|
-
*
|
|
35
|
-
*/
|
|
36
|
-
var PutKeyPolicyCommand = /** @class */ (function (_super) {
|
|
37
|
-
__extends(PutKeyPolicyCommand, _super);
|
|
38
|
-
// Start section: command_properties
|
|
39
|
-
// End section: command_properties
|
|
40
|
-
function PutKeyPolicyCommand(input) {
|
|
41
|
-
var _this =
|
|
42
|
-
// Start section: command_constructor
|
|
43
|
-
_super.call(this) || this;
|
|
44
|
-
_this.input = input;
|
|
45
|
-
return _this;
|
|
46
|
-
// End section: command_constructor
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* @internal
|
|
50
|
-
*/
|
|
51
|
-
PutKeyPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
52
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
53
|
-
var stack = clientStack.concat(this.middlewareStack);
|
|
54
|
-
var logger = configuration.logger;
|
|
55
|
-
var clientName = "KMSClient";
|
|
56
|
-
var commandName = "PutKeyPolicyCommand";
|
|
57
|
-
var handlerExecutionContext = {
|
|
58
|
-
logger: logger,
|
|
59
|
-
clientName: clientName,
|
|
60
|
-
commandName: commandName,
|
|
61
|
-
inputFilterSensitiveLog: PutKeyPolicyRequest.filterSensitiveLog,
|
|
62
|
-
outputFilterSensitiveLog: function (output) { return output; },
|
|
63
|
-
};
|
|
64
|
-
var requestHandler = configuration.requestHandler;
|
|
65
|
-
return stack.resolve(function (request) {
|
|
66
|
-
return requestHandler.handle(request.request, options || {});
|
|
67
|
-
}, handlerExecutionContext);
|
|
68
|
-
};
|
|
69
|
-
PutKeyPolicyCommand.prototype.serialize = function (input, context) {
|
|
70
|
-
return serializeAws_json1_1PutKeyPolicyCommand(input, context);
|
|
71
|
-
};
|
|
72
|
-
PutKeyPolicyCommand.prototype.deserialize = function (output, context) {
|
|
73
|
-
return deserializeAws_json1_1PutKeyPolicyCommand(output, context);
|
|
74
|
-
};
|
|
75
|
-
return PutKeyPolicyCommand;
|
|
76
|
-
}($Command));
|
|
77
|
-
export { PutKeyPolicyCommand };
|
|
78
|
-
//# sourceMappingURL=PutKeyPolicyCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PutKeyPolicyCommand.js","sourceRoot":"","sources":["../../../commands/PutKeyPolicyCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EACL,yCAAyC,EACzC,uCAAuC,GACxC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH;IAAyC,uCAIxC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,6BAAqB,KAA+B;QAApD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA0B;;QAGlD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,+CAAiB,GAAjB,UACE,WAAmE,EACnE,aAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,WAAW,CAAC;QAC/B,IAAM,WAAW,GAAG,qBAAqB,CAAC;QAC1C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,mBAAmB,CAAC,kBAAkB;YAC/D,wBAAwB,EAAE,UAAC,MAAW,IAAK,OAAA,MAAM,EAAN,CAAM;SAClD,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,uCAAS,GAAjB,UAAkB,KAA+B,EAAE,OAAuB;QACxE,OAAO,uCAAuC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAEO,yCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,yCAAyC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAIH,0BAAC;AAAD,CAAC,AAtDD,CAAyC,QAAQ,GAsDhD"}
|
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { ReEncryptRequest, ReEncryptResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1ReEncryptCommand, serializeAws_json1_1ReEncryptCommand } from "../protocols/Aws_json1_1";
|
|
4
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
/**
|
|
7
|
-
* <p>Decrypts ciphertext and then reencrypts it entirely within KMS. You can use this
|
|
8
|
-
* operation to change the KMS key under which data is encrypted, such as when
|
|
9
|
-
* you <a href="https://docs.aws.amazon.com/kms/latest/developerguide/rotate-keys.html#rotate-keys-manually">manually rotate</a> a KMS key or change the KMS key that protects a ciphertext. You can also
|
|
10
|
-
* use it to reencrypt ciphertext under the same KMS key, such as to change the <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context">encryption
|
|
11
|
-
* context</a> of a ciphertext.</p>
|
|
12
|
-
* <p>The <code>ReEncrypt</code> operation can decrypt ciphertext that was encrypted by using an
|
|
13
|
-
* KMS KMS key in an KMS operation, such as <a>Encrypt</a> or <a>GenerateDataKey</a>. It can also decrypt ciphertext that was encrypted by using the
|
|
14
|
-
* public key of an <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symm-asymm-concepts.html#asymmetric-cmks">asymmetric KMS key</a> outside of KMS. However, it cannot decrypt ciphertext
|
|
15
|
-
* produced by other libraries, such as the <a href="https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/">Amazon Web Services Encryption SDK</a> or <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingClientSideEncryption.html">Amazon S3 client-side encryption</a>.
|
|
16
|
-
* These libraries return a ciphertext format that is incompatible with KMS.</p>
|
|
17
|
-
* <p>When you use the <code>ReEncrypt</code> operation, you need to provide information for the
|
|
18
|
-
* decrypt operation and the subsequent encrypt operation.</p>
|
|
19
|
-
* <ul>
|
|
20
|
-
* <li>
|
|
21
|
-
* <p>If your ciphertext was encrypted under an asymmetric KMS key, you must use the
|
|
22
|
-
* <code>SourceKeyId</code> parameter to identify the KMS key that encrypted the ciphertext.
|
|
23
|
-
* You must also supply the encryption algorithm that was used. This information is required
|
|
24
|
-
* to decrypt the data.</p>
|
|
25
|
-
* </li>
|
|
26
|
-
* <li>
|
|
27
|
-
* <p>If your ciphertext was encrypted under a symmetric KMS key, the <code>SourceKeyId</code>
|
|
28
|
-
* parameter is optional. KMS can get this information from metadata that it adds to the
|
|
29
|
-
* symmetric ciphertext blob. This feature adds durability to your implementation by ensuring
|
|
30
|
-
* that authorized users can decrypt ciphertext decades after it was encrypted, even if
|
|
31
|
-
* they've lost track of the key ID. However, specifying the source KMS key is always recommended
|
|
32
|
-
* as a best practice. When you use the <code>SourceKeyId</code> parameter to specify a KMS key,
|
|
33
|
-
* KMS uses only the KMS key you specify. If the ciphertext was encrypted under a different KMS key, the <code>ReEncrypt</code> operation fails. This practice ensures that you use the KMS key that you intend.</p>
|
|
34
|
-
* </li>
|
|
35
|
-
* <li>
|
|
36
|
-
* <p>To reencrypt the data, you must use the <code>DestinationKeyId</code> parameter
|
|
37
|
-
* specify the KMS key that re-encrypts the data after it is decrypted. You can select a
|
|
38
|
-
* symmetric or asymmetric KMS key. If the destination KMS key is an asymmetric KMS key, you must also
|
|
39
|
-
* provide the encryption algorithm. The algorithm that you choose must be compatible with
|
|
40
|
-
* the KMS key.</p>
|
|
41
|
-
*
|
|
42
|
-
* <important>
|
|
43
|
-
* <p>When you use an asymmetric KMS key to encrypt or reencrypt data, be sure to record the KMS key and encryption algorithm that you choose. You will be required to provide the same KMS key and encryption algorithm when you decrypt the data. If the KMS key and algorithm do not match the values used to encrypt the data, the decrypt operation fails.</p>
|
|
44
|
-
* <p>You are not required to supply the key ID and encryption algorithm when you decrypt with symmetric KMS keys because KMS stores this information in the ciphertext blob. KMS cannot store metadata in ciphertext generated with asymmetric keys. The standard format for asymmetric key ciphertext does not include configurable fields.</p>
|
|
45
|
-
* </important>
|
|
46
|
-
* </li>
|
|
47
|
-
* </ul>
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
* <p>The KMS key that you use for this operation must be in a compatible key state. For
|
|
52
|
-
* details, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html">Key state: Effect on your KMS key</a> in the <i>Key Management Service Developer Guide</i>.</p>
|
|
53
|
-
* <p>
|
|
54
|
-
* <b>Cross-account use</b>: Yes. The source KMS key and destination KMS key can be in different Amazon Web Services accounts. Either or both KMS keys can be in a different account than
|
|
55
|
-
* the caller. To specify a KMS key in a different account, you must use its key ARN or alias
|
|
56
|
-
* ARN.</p>
|
|
57
|
-
*
|
|
58
|
-
* <p>
|
|
59
|
-
* <b>Required permissions</b>:</p>
|
|
60
|
-
* <ul>
|
|
61
|
-
* <li>
|
|
62
|
-
* <p>
|
|
63
|
-
* <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">kms:ReEncryptFrom</a> permission on the source KMS key (key policy)</p>
|
|
64
|
-
* </li>
|
|
65
|
-
* <li>
|
|
66
|
-
* <p>
|
|
67
|
-
* <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">kms:ReEncryptTo</a> permission on the destination KMS key (key policy)</p>
|
|
68
|
-
* </li>
|
|
69
|
-
* </ul>
|
|
70
|
-
* <p>To permit reencryption from or to a KMS key, include the <code>"kms:ReEncrypt*"</code>
|
|
71
|
-
* permission in your <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html">key policy</a>. This permission is
|
|
72
|
-
* automatically included in the key policy when you use the console to create a KMS key. But you
|
|
73
|
-
* must include it manually when you create a KMS key programmatically or when you use the <a>PutKeyPolicy</a> operation to set a key policy.</p>
|
|
74
|
-
*
|
|
75
|
-
* <p>
|
|
76
|
-
* <b>Related operations:</b>
|
|
77
|
-
* </p>
|
|
78
|
-
* <ul>
|
|
79
|
-
* <li>
|
|
80
|
-
* <p>
|
|
81
|
-
* <a>Decrypt</a>
|
|
82
|
-
* </p>
|
|
83
|
-
* </li>
|
|
84
|
-
* <li>
|
|
85
|
-
* <p>
|
|
86
|
-
* <a>Encrypt</a>
|
|
87
|
-
* </p>
|
|
88
|
-
* </li>
|
|
89
|
-
* <li>
|
|
90
|
-
* <p>
|
|
91
|
-
* <a>GenerateDataKey</a>
|
|
92
|
-
* </p>
|
|
93
|
-
* </li>
|
|
94
|
-
* <li>
|
|
95
|
-
* <p>
|
|
96
|
-
* <a>GenerateDataKeyPair</a>
|
|
97
|
-
* </p>
|
|
98
|
-
* </li>
|
|
99
|
-
* </ul>
|
|
100
|
-
* @example
|
|
101
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
102
|
-
* ```javascript
|
|
103
|
-
* import { KMSClient, ReEncryptCommand } from "@aws-sdk/client-kms"; // ES Modules import
|
|
104
|
-
* // const { KMSClient, ReEncryptCommand } = require("@aws-sdk/client-kms"); // CommonJS import
|
|
105
|
-
* const client = new KMSClient(config);
|
|
106
|
-
* const command = new ReEncryptCommand(input);
|
|
107
|
-
* const response = await client.send(command);
|
|
108
|
-
* ```
|
|
109
|
-
*
|
|
110
|
-
* @see {@link ReEncryptCommandInput} for command's `input` shape.
|
|
111
|
-
* @see {@link ReEncryptCommandOutput} for command's `response` shape.
|
|
112
|
-
* @see {@link KMSClientResolvedConfig | config} for command's `input` shape.
|
|
113
|
-
*
|
|
114
|
-
*/
|
|
115
|
-
var ReEncryptCommand = /** @class */ (function (_super) {
|
|
116
|
-
__extends(ReEncryptCommand, _super);
|
|
117
|
-
// Start section: command_properties
|
|
118
|
-
// End section: command_properties
|
|
119
|
-
function ReEncryptCommand(input) {
|
|
120
|
-
var _this =
|
|
121
|
-
// Start section: command_constructor
|
|
122
|
-
_super.call(this) || this;
|
|
123
|
-
_this.input = input;
|
|
124
|
-
return _this;
|
|
125
|
-
// End section: command_constructor
|
|
126
|
-
}
|
|
127
|
-
/**
|
|
128
|
-
* @internal
|
|
129
|
-
*/
|
|
130
|
-
ReEncryptCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
131
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
132
|
-
var stack = clientStack.concat(this.middlewareStack);
|
|
133
|
-
var logger = configuration.logger;
|
|
134
|
-
var clientName = "KMSClient";
|
|
135
|
-
var commandName = "ReEncryptCommand";
|
|
136
|
-
var handlerExecutionContext = {
|
|
137
|
-
logger: logger,
|
|
138
|
-
clientName: clientName,
|
|
139
|
-
commandName: commandName,
|
|
140
|
-
inputFilterSensitiveLog: ReEncryptRequest.filterSensitiveLog,
|
|
141
|
-
outputFilterSensitiveLog: ReEncryptResponse.filterSensitiveLog,
|
|
142
|
-
};
|
|
143
|
-
var requestHandler = configuration.requestHandler;
|
|
144
|
-
return stack.resolve(function (request) {
|
|
145
|
-
return requestHandler.handle(request.request, options || {});
|
|
146
|
-
}, handlerExecutionContext);
|
|
147
|
-
};
|
|
148
|
-
ReEncryptCommand.prototype.serialize = function (input, context) {
|
|
149
|
-
return serializeAws_json1_1ReEncryptCommand(input, context);
|
|
150
|
-
};
|
|
151
|
-
ReEncryptCommand.prototype.deserialize = function (output, context) {
|
|
152
|
-
return deserializeAws_json1_1ReEncryptCommand(output, context);
|
|
153
|
-
};
|
|
154
|
-
return ReEncryptCommand;
|
|
155
|
-
}($Command));
|
|
156
|
-
export { ReEncryptCommand };
|
|
157
|
-
//# sourceMappingURL=ReEncryptCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ReEncryptCommand.js","sourceRoot":"","sources":["../../../commands/ReEncryptCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,EAAE,sCAAsC,EAAE,oCAAoC,EAAE,MAAM,0BAA0B,CAAC;AACxH,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4GG;AACH;IAAsC,oCAAgF;IACpH,oCAAoC;IACpC,kCAAkC;IAElC,0BAAqB,KAA4B;QAAjD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAuB;;QAG/C,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,4CAAiB,GAAjB,UACE,WAAmE,EACnE,aAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,WAAW,CAAC;QAC/B,IAAM,WAAW,GAAG,kBAAkB,CAAC;QACvC,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,gBAAgB,CAAC,kBAAkB;YAC5D,wBAAwB,EAAE,iBAAiB,CAAC,kBAAkB;SAC/D,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,oCAAS,GAAjB,UAAkB,KAA4B,EAAE,OAAuB;QACrE,OAAO,oCAAoC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;IAEO,sCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,sCAAsC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAIH,uBAAC;AAAD,CAAC,AAlDD,CAAsC,QAAQ,GAkD7C"}
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { ReplicateKeyRequest, ReplicateKeyResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1ReplicateKeyCommand, serializeAws_json1_1ReplicateKeyCommand, } from "../protocols/Aws_json1_1";
|
|
4
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
/**
|
|
7
|
-
* <p>Replicates a multi-Region key into the specified Region. This operation creates a
|
|
8
|
-
* multi-Region replica key based on a multi-Region primary key in a different Region of the same
|
|
9
|
-
* Amazon Web Services partition. You can create multiple replicas of a primary key, but each must be in a
|
|
10
|
-
* different Region. To create a multi-Region primary key, use the <a>CreateKey</a>
|
|
11
|
-
* operation.</p>
|
|
12
|
-
* <p>This operation supports <i>multi-Region keys</i>, an KMS feature that lets you create multiple
|
|
13
|
-
* interoperable KMS keys in different Amazon Web Services Regions. Because these KMS keys have the same key ID, key
|
|
14
|
-
* material, and other metadata, you can use them interchangeably to encrypt data in one Amazon Web Services Region and decrypt
|
|
15
|
-
* it in a different Amazon Web Services Region without re-encrypting the data or making a cross-Region call. For more information about multi-Region keys, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html">Using multi-Region keys</a> in the <i>Key Management Service Developer Guide</i>.</p>
|
|
16
|
-
* <p>A <i>replica key</i> is a fully-functional KMS key that can be used
|
|
17
|
-
* independently of its primary and peer replica keys. A primary key and its replica keys share
|
|
18
|
-
* properties that make them interoperable. They have the same <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-id">key ID</a> and key material. They also
|
|
19
|
-
* have the same <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-spec">key
|
|
20
|
-
* spec</a>, <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-usage">key
|
|
21
|
-
* usage</a>, <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-origin">key
|
|
22
|
-
* material origin</a>, and <a href="https://docs.aws.amazon.com/kms/latest/developerguide/rotate-keys.html">automatic key rotation status</a>. KMS automatically synchronizes these shared
|
|
23
|
-
* properties among related multi-Region keys. All other properties of a replica key can differ,
|
|
24
|
-
* including its <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html">key
|
|
25
|
-
* policy</a>, <a href="https://docs.aws.amazon.com/kms/latest/developerguide/tagging-keys.html">tags</a>, <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-alias.html">aliases</a>, and <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html">key
|
|
26
|
-
* state</a>. KMS pricing and quotas for KMS keys apply to each primary key and replica
|
|
27
|
-
* key.</p>
|
|
28
|
-
* <p>When this operation completes, the new replica key has a transient key state of
|
|
29
|
-
* <code>Creating</code>. This key state changes to <code>Enabled</code> (or
|
|
30
|
-
* <code>PendingImport</code>) after a few seconds when the process of creating the new replica
|
|
31
|
-
* key is complete. While the key state is <code>Creating</code>, you can manage key, but you
|
|
32
|
-
* cannot yet use it in cryptographic operations. If you are creating and using the replica key
|
|
33
|
-
* programmatically, retry on <code>KMSInvalidStateException</code> or call
|
|
34
|
-
* <code>DescribeKey</code> to check its <code>KeyState</code> value before using it. For
|
|
35
|
-
* details about the <code>Creating</code> key state, see <a href="kms/latest/developerguide/key-state.html">Key state: Effect on your KMS key</a> in the
|
|
36
|
-
* <i>Key Management Service Developer Guide</i>.</p>
|
|
37
|
-
* <p>The CloudTrail log of a <code>ReplicateKey</code> operation records a
|
|
38
|
-
* <code>ReplicateKey</code> operation in the primary key's Region and a <a>CreateKey</a> operation in the replica key's Region.</p>
|
|
39
|
-
* <p>If you replicate a multi-Region primary key with imported key material, the replica key is
|
|
40
|
-
* created with no key material. You must import the same key material that you imported into the
|
|
41
|
-
* primary key. For details, see <a href="kms/latest/developerguide/multi-region-keys-import.html">Importing key material into multi-Region keys</a> in the <i>Key Management Service Developer Guide</i>.</p>
|
|
42
|
-
* <p>To convert a replica key to a primary key, use the <a>UpdatePrimaryRegion</a>
|
|
43
|
-
* operation.</p>
|
|
44
|
-
* <note>
|
|
45
|
-
* <p>
|
|
46
|
-
* <code>ReplicateKey</code> uses different default values for the <code>KeyPolicy</code> and
|
|
47
|
-
* <code>Tags</code> parameters than those used in the KMS console. For details, see the
|
|
48
|
-
* parameter descriptions.</p>
|
|
49
|
-
* </note>
|
|
50
|
-
* <p>
|
|
51
|
-
* <b>Cross-account use</b>: No. You cannot use this operation to
|
|
52
|
-
* create a replica key in a different Amazon Web Services account. </p>
|
|
53
|
-
* <p>
|
|
54
|
-
* <b>Required permissions</b>: </p>
|
|
55
|
-
* <ul>
|
|
56
|
-
* <li>
|
|
57
|
-
* <p>
|
|
58
|
-
* <code>kms:ReplicateKey</code> on the primary key (in the primary key's Region). Include this
|
|
59
|
-
* permission in the primary key's key policy.</p>
|
|
60
|
-
* </li>
|
|
61
|
-
* <li>
|
|
62
|
-
* <p>
|
|
63
|
-
* <code>kms:CreateKey</code> in an IAM policy in the replica Region.</p>
|
|
64
|
-
* </li>
|
|
65
|
-
* <li>
|
|
66
|
-
* <p>To use the <code>Tags</code> parameter, <code>kms:TagResource</code> in an IAM policy
|
|
67
|
-
* in the replica Region.</p>
|
|
68
|
-
* </li>
|
|
69
|
-
* </ul>
|
|
70
|
-
* <p>
|
|
71
|
-
* <b>Related operations</b>
|
|
72
|
-
* </p>
|
|
73
|
-
* <ul>
|
|
74
|
-
* <li>
|
|
75
|
-
* <p>
|
|
76
|
-
* <a>CreateKey</a>
|
|
77
|
-
* </p>
|
|
78
|
-
* </li>
|
|
79
|
-
* <li>
|
|
80
|
-
* <p>
|
|
81
|
-
* <a>UpdatePrimaryRegion</a>
|
|
82
|
-
* </p>
|
|
83
|
-
* </li>
|
|
84
|
-
* </ul>
|
|
85
|
-
* @example
|
|
86
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
87
|
-
* ```javascript
|
|
88
|
-
* import { KMSClient, ReplicateKeyCommand } from "@aws-sdk/client-kms"; // ES Modules import
|
|
89
|
-
* // const { KMSClient, ReplicateKeyCommand } = require("@aws-sdk/client-kms"); // CommonJS import
|
|
90
|
-
* const client = new KMSClient(config);
|
|
91
|
-
* const command = new ReplicateKeyCommand(input);
|
|
92
|
-
* const response = await client.send(command);
|
|
93
|
-
* ```
|
|
94
|
-
*
|
|
95
|
-
* @see {@link ReplicateKeyCommandInput} for command's `input` shape.
|
|
96
|
-
* @see {@link ReplicateKeyCommandOutput} for command's `response` shape.
|
|
97
|
-
* @see {@link KMSClientResolvedConfig | config} for command's `input` shape.
|
|
98
|
-
*
|
|
99
|
-
*/
|
|
100
|
-
var ReplicateKeyCommand = /** @class */ (function (_super) {
|
|
101
|
-
__extends(ReplicateKeyCommand, _super);
|
|
102
|
-
// Start section: command_properties
|
|
103
|
-
// End section: command_properties
|
|
104
|
-
function ReplicateKeyCommand(input) {
|
|
105
|
-
var _this =
|
|
106
|
-
// Start section: command_constructor
|
|
107
|
-
_super.call(this) || this;
|
|
108
|
-
_this.input = input;
|
|
109
|
-
return _this;
|
|
110
|
-
// End section: command_constructor
|
|
111
|
-
}
|
|
112
|
-
/**
|
|
113
|
-
* @internal
|
|
114
|
-
*/
|
|
115
|
-
ReplicateKeyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
116
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
117
|
-
var stack = clientStack.concat(this.middlewareStack);
|
|
118
|
-
var logger = configuration.logger;
|
|
119
|
-
var clientName = "KMSClient";
|
|
120
|
-
var commandName = "ReplicateKeyCommand";
|
|
121
|
-
var handlerExecutionContext = {
|
|
122
|
-
logger: logger,
|
|
123
|
-
clientName: clientName,
|
|
124
|
-
commandName: commandName,
|
|
125
|
-
inputFilterSensitiveLog: ReplicateKeyRequest.filterSensitiveLog,
|
|
126
|
-
outputFilterSensitiveLog: ReplicateKeyResponse.filterSensitiveLog,
|
|
127
|
-
};
|
|
128
|
-
var requestHandler = configuration.requestHandler;
|
|
129
|
-
return stack.resolve(function (request) {
|
|
130
|
-
return requestHandler.handle(request.request, options || {});
|
|
131
|
-
}, handlerExecutionContext);
|
|
132
|
-
};
|
|
133
|
-
ReplicateKeyCommand.prototype.serialize = function (input, context) {
|
|
134
|
-
return serializeAws_json1_1ReplicateKeyCommand(input, context);
|
|
135
|
-
};
|
|
136
|
-
ReplicateKeyCommand.prototype.deserialize = function (output, context) {
|
|
137
|
-
return deserializeAws_json1_1ReplicateKeyCommand(output, context);
|
|
138
|
-
};
|
|
139
|
-
return ReplicateKeyCommand;
|
|
140
|
-
}($Command));
|
|
141
|
-
export { ReplicateKeyCommand };
|
|
142
|
-
//# sourceMappingURL=ReplicateKeyCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ReplicateKeyCommand.js","sourceRoot":"","sources":["../../../commands/ReplicateKeyCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EACL,yCAAyC,EACzC,uCAAuC,GACxC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6FG;AACH;IAAyC,uCAIxC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,6BAAqB,KAA+B;QAApD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA0B;;QAGlD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,+CAAiB,GAAjB,UACE,WAAmE,EACnE,aAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,WAAW,CAAC;QAC/B,IAAM,WAAW,GAAG,qBAAqB,CAAC;QAC1C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,mBAAmB,CAAC,kBAAkB;YAC/D,wBAAwB,EAAE,oBAAoB,CAAC,kBAAkB;SAClE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,uCAAS,GAAjB,UAAkB,KAA+B,EAAE,OAAuB;QACxE,OAAO,uCAAuC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAEO,yCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,yCAAyC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAIH,0BAAC;AAAD,CAAC,AAtDD,CAAyC,QAAQ,GAsDhD"}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { RetireGrantRequest } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1RetireGrantCommand, serializeAws_json1_1RetireGrantCommand, } from "../protocols/Aws_json1_1";
|
|
4
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
/**
|
|
7
|
-
* <p>Deletes a grant. Typically, you retire a grant when you no longer need its permissions. To
|
|
8
|
-
* identify the grant to retire, use a <a href="https://docs.aws.amazon.com/kms/latest/developerguide/grants.html#grant_token">grant token</a>, or both the grant ID and a
|
|
9
|
-
* key identifier (key ID or key ARN) of the KMS key. The <a>CreateGrant</a> operation returns both values.</p>
|
|
10
|
-
* <p>This operation can be called by the <i>retiring principal</i> for a grant,
|
|
11
|
-
* by the <i>grantee principal</i> if the grant allows the <code>RetireGrant</code>
|
|
12
|
-
* operation, and by the Amazon Web Services account (root user) in which the grant is created. It can also be
|
|
13
|
-
* called by principals to whom permission for retiring a grant is delegated. For details, see
|
|
14
|
-
* <a href="https://docs.aws.amazon.com/kms/latest/developerguide/grant-manage.html#grant-delete">Retiring and
|
|
15
|
-
* revoking grants</a> in the <i>Key Management Service Developer Guide</i>.</p>
|
|
16
|
-
* <p>For detailed information about grants, including grant terminology, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/grants.html">Using grants</a> in the
|
|
17
|
-
* <i>
|
|
18
|
-
* <i>Key Management Service Developer Guide</i>
|
|
19
|
-
* </i>. For examples of working with grants in several
|
|
20
|
-
* programming languages, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/programming-grants.html">Programming grants</a>. </p>
|
|
21
|
-
* <p>
|
|
22
|
-
* <b>Cross-account use</b>: Yes. You can retire a grant on a KMS key
|
|
23
|
-
* in a different Amazon Web Services account.</p>
|
|
24
|
-
* <p>
|
|
25
|
-
* <b>Required permissions:</b>:Permission to retire a grant is
|
|
26
|
-
* determined primarily by the grant. For details, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/grant-manage.html#grant-delete">Retiring and revoking grants</a> in the <i>Key Management Service Developer Guide</i>.</p>
|
|
27
|
-
* <p>
|
|
28
|
-
* <b>Related operations:</b>
|
|
29
|
-
* </p>
|
|
30
|
-
* <ul>
|
|
31
|
-
* <li>
|
|
32
|
-
* <p>
|
|
33
|
-
* <a>CreateGrant</a>
|
|
34
|
-
* </p>
|
|
35
|
-
* </li>
|
|
36
|
-
* <li>
|
|
37
|
-
* <p>
|
|
38
|
-
* <a>ListGrants</a>
|
|
39
|
-
* </p>
|
|
40
|
-
* </li>
|
|
41
|
-
* <li>
|
|
42
|
-
* <p>
|
|
43
|
-
* <a>ListRetirableGrants</a>
|
|
44
|
-
* </p>
|
|
45
|
-
* </li>
|
|
46
|
-
* <li>
|
|
47
|
-
* <p>
|
|
48
|
-
* <a>RevokeGrant</a>
|
|
49
|
-
* </p>
|
|
50
|
-
* </li>
|
|
51
|
-
* </ul>
|
|
52
|
-
* @example
|
|
53
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
54
|
-
* ```javascript
|
|
55
|
-
* import { KMSClient, RetireGrantCommand } from "@aws-sdk/client-kms"; // ES Modules import
|
|
56
|
-
* // const { KMSClient, RetireGrantCommand } = require("@aws-sdk/client-kms"); // CommonJS import
|
|
57
|
-
* const client = new KMSClient(config);
|
|
58
|
-
* const command = new RetireGrantCommand(input);
|
|
59
|
-
* const response = await client.send(command);
|
|
60
|
-
* ```
|
|
61
|
-
*
|
|
62
|
-
* @see {@link RetireGrantCommandInput} for command's `input` shape.
|
|
63
|
-
* @see {@link RetireGrantCommandOutput} for command's `response` shape.
|
|
64
|
-
* @see {@link KMSClientResolvedConfig | config} for command's `input` shape.
|
|
65
|
-
*
|
|
66
|
-
*/
|
|
67
|
-
var RetireGrantCommand = /** @class */ (function (_super) {
|
|
68
|
-
__extends(RetireGrantCommand, _super);
|
|
69
|
-
// Start section: command_properties
|
|
70
|
-
// End section: command_properties
|
|
71
|
-
function RetireGrantCommand(input) {
|
|
72
|
-
var _this =
|
|
73
|
-
// Start section: command_constructor
|
|
74
|
-
_super.call(this) || this;
|
|
75
|
-
_this.input = input;
|
|
76
|
-
return _this;
|
|
77
|
-
// End section: command_constructor
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* @internal
|
|
81
|
-
*/
|
|
82
|
-
RetireGrantCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
83
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
84
|
-
var stack = clientStack.concat(this.middlewareStack);
|
|
85
|
-
var logger = configuration.logger;
|
|
86
|
-
var clientName = "KMSClient";
|
|
87
|
-
var commandName = "RetireGrantCommand";
|
|
88
|
-
var handlerExecutionContext = {
|
|
89
|
-
logger: logger,
|
|
90
|
-
clientName: clientName,
|
|
91
|
-
commandName: commandName,
|
|
92
|
-
inputFilterSensitiveLog: RetireGrantRequest.filterSensitiveLog,
|
|
93
|
-
outputFilterSensitiveLog: function (output) { return output; },
|
|
94
|
-
};
|
|
95
|
-
var requestHandler = configuration.requestHandler;
|
|
96
|
-
return stack.resolve(function (request) {
|
|
97
|
-
return requestHandler.handle(request.request, options || {});
|
|
98
|
-
}, handlerExecutionContext);
|
|
99
|
-
};
|
|
100
|
-
RetireGrantCommand.prototype.serialize = function (input, context) {
|
|
101
|
-
return serializeAws_json1_1RetireGrantCommand(input, context);
|
|
102
|
-
};
|
|
103
|
-
RetireGrantCommand.prototype.deserialize = function (output, context) {
|
|
104
|
-
return deserializeAws_json1_1RetireGrantCommand(output, context);
|
|
105
|
-
};
|
|
106
|
-
return RetireGrantCommand;
|
|
107
|
-
}($Command));
|
|
108
|
-
export { RetireGrantCommand };
|
|
109
|
-
//# sourceMappingURL=RetireGrantCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RetireGrantCommand.js","sourceRoot":"","sources":["../../../commands/RetireGrantCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EACL,wCAAwC,EACxC,sCAAsC,GACvC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AACH;IAAwC,sCAIvC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,4BAAqB,KAA8B;QAAnD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAyB;;QAGjD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,8CAAiB,GAAjB,UACE,WAAmE,EACnE,aAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,WAAW,CAAC;QAC/B,IAAM,WAAW,GAAG,oBAAoB,CAAC;QACzC,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,kBAAkB,CAAC,kBAAkB;YAC9D,wBAAwB,EAAE,UAAC,MAAW,IAAK,OAAA,MAAM,EAAN,CAAM;SAClD,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,sCAAS,GAAjB,UAAkB,KAA8B,EAAE,OAAuB;QACvE,OAAO,sCAAsC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;IAEO,wCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,wCAAwC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAIH,yBAAC;AAAD,CAAC,AAtDD,CAAwC,QAAQ,GAsD/C"}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { RevokeGrantRequest } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1RevokeGrantCommand, serializeAws_json1_1RevokeGrantCommand, } from "../protocols/Aws_json1_1";
|
|
4
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
/**
|
|
7
|
-
* <p>Deletes the specified grant. You revoke a grant to terminate the permissions that the
|
|
8
|
-
* grant allows. For more
|
|
9
|
-
* information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/managing-grants.html#grant-delete">Retiring and revoking grants</a> in
|
|
10
|
-
* the <i>
|
|
11
|
-
* <i>Key Management Service Developer Guide</i>
|
|
12
|
-
* </i>.</p>
|
|
13
|
-
* <p>When you create, retire, or revoke a grant, there might be a brief delay, usually less than five minutes, until the grant is available throughout KMS. This state is known as <i>eventual consistency</i>. For details, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/grants.html#terms-eventual-consistency">Eventual consistency</a> in
|
|
14
|
-
* the <i>
|
|
15
|
-
* <i>Key Management Service Developer Guide</i>
|
|
16
|
-
* </i>. </p>
|
|
17
|
-
* <p>For detailed information about grants, including grant terminology, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/grants.html">Using grants</a> in the
|
|
18
|
-
* <i>
|
|
19
|
-
* <i>Key Management Service Developer Guide</i>
|
|
20
|
-
* </i>. For examples of working with grants in several
|
|
21
|
-
* programming languages, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/programming-grants.html">Programming grants</a>. </p>
|
|
22
|
-
* <p>
|
|
23
|
-
* <b>Cross-account use</b>: Yes. To perform this operation on a KMS key in a different Amazon Web Services account, specify the key
|
|
24
|
-
* ARN in the value of the <code>KeyId</code> parameter.</p>
|
|
25
|
-
* <p>
|
|
26
|
-
* <b>Required permissions</b>: <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">kms:RevokeGrant</a> (key policy).</p>
|
|
27
|
-
* <p>
|
|
28
|
-
* <b>Related operations:</b>
|
|
29
|
-
* </p>
|
|
30
|
-
* <ul>
|
|
31
|
-
* <li>
|
|
32
|
-
* <p>
|
|
33
|
-
* <a>CreateGrant</a>
|
|
34
|
-
* </p>
|
|
35
|
-
* </li>
|
|
36
|
-
* <li>
|
|
37
|
-
* <p>
|
|
38
|
-
* <a>ListGrants</a>
|
|
39
|
-
* </p>
|
|
40
|
-
* </li>
|
|
41
|
-
* <li>
|
|
42
|
-
* <p>
|
|
43
|
-
* <a>ListRetirableGrants</a>
|
|
44
|
-
* </p>
|
|
45
|
-
* </li>
|
|
46
|
-
* <li>
|
|
47
|
-
* <p>
|
|
48
|
-
* <a>RetireGrant</a>
|
|
49
|
-
* </p>
|
|
50
|
-
* </li>
|
|
51
|
-
* </ul>
|
|
52
|
-
* @example
|
|
53
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
54
|
-
* ```javascript
|
|
55
|
-
* import { KMSClient, RevokeGrantCommand } from "@aws-sdk/client-kms"; // ES Modules import
|
|
56
|
-
* // const { KMSClient, RevokeGrantCommand } = require("@aws-sdk/client-kms"); // CommonJS import
|
|
57
|
-
* const client = new KMSClient(config);
|
|
58
|
-
* const command = new RevokeGrantCommand(input);
|
|
59
|
-
* const response = await client.send(command);
|
|
60
|
-
* ```
|
|
61
|
-
*
|
|
62
|
-
* @see {@link RevokeGrantCommandInput} for command's `input` shape.
|
|
63
|
-
* @see {@link RevokeGrantCommandOutput} for command's `response` shape.
|
|
64
|
-
* @see {@link KMSClientResolvedConfig | config} for command's `input` shape.
|
|
65
|
-
*
|
|
66
|
-
*/
|
|
67
|
-
var RevokeGrantCommand = /** @class */ (function (_super) {
|
|
68
|
-
__extends(RevokeGrantCommand, _super);
|
|
69
|
-
// Start section: command_properties
|
|
70
|
-
// End section: command_properties
|
|
71
|
-
function RevokeGrantCommand(input) {
|
|
72
|
-
var _this =
|
|
73
|
-
// Start section: command_constructor
|
|
74
|
-
_super.call(this) || this;
|
|
75
|
-
_this.input = input;
|
|
76
|
-
return _this;
|
|
77
|
-
// End section: command_constructor
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* @internal
|
|
81
|
-
*/
|
|
82
|
-
RevokeGrantCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
83
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
84
|
-
var stack = clientStack.concat(this.middlewareStack);
|
|
85
|
-
var logger = configuration.logger;
|
|
86
|
-
var clientName = "KMSClient";
|
|
87
|
-
var commandName = "RevokeGrantCommand";
|
|
88
|
-
var handlerExecutionContext = {
|
|
89
|
-
logger: logger,
|
|
90
|
-
clientName: clientName,
|
|
91
|
-
commandName: commandName,
|
|
92
|
-
inputFilterSensitiveLog: RevokeGrantRequest.filterSensitiveLog,
|
|
93
|
-
outputFilterSensitiveLog: function (output) { return output; },
|
|
94
|
-
};
|
|
95
|
-
var requestHandler = configuration.requestHandler;
|
|
96
|
-
return stack.resolve(function (request) {
|
|
97
|
-
return requestHandler.handle(request.request, options || {});
|
|
98
|
-
}, handlerExecutionContext);
|
|
99
|
-
};
|
|
100
|
-
RevokeGrantCommand.prototype.serialize = function (input, context) {
|
|
101
|
-
return serializeAws_json1_1RevokeGrantCommand(input, context);
|
|
102
|
-
};
|
|
103
|
-
RevokeGrantCommand.prototype.deserialize = function (output, context) {
|
|
104
|
-
return deserializeAws_json1_1RevokeGrantCommand(output, context);
|
|
105
|
-
};
|
|
106
|
-
return RevokeGrantCommand;
|
|
107
|
-
}($Command));
|
|
108
|
-
export { RevokeGrantCommand };
|
|
109
|
-
//# sourceMappingURL=RevokeGrantCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RevokeGrantCommand.js","sourceRoot":"","sources":["../../../commands/RevokeGrantCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EACL,wCAAwC,EACxC,sCAAsC,GACvC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AACH;IAAwC,sCAIvC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,4BAAqB,KAA8B;QAAnD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAyB;;QAGjD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,8CAAiB,GAAjB,UACE,WAAmE,EACnE,aAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,WAAW,CAAC;QAC/B,IAAM,WAAW,GAAG,oBAAoB,CAAC;QACzC,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,kBAAkB,CAAC,kBAAkB;YAC9D,wBAAwB,EAAE,UAAC,MAAW,IAAK,OAAA,MAAM,EAAN,CAAM;SAClD,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,sCAAS,GAAjB,UAAkB,KAA8B,EAAE,OAAuB;QACvE,OAAO,sCAAsC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;IAEO,wCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,wCAAwC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAIH,yBAAC;AAAD,CAAC,AAtDD,CAAwC,QAAQ,GAsD/C"}
|