aws-sdk-kms 1.23.0 → 1.77.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +466 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-kms/client.rb +8388 -2345
- data/lib/aws-sdk-kms/client_api.rb +530 -8
- data/lib/aws-sdk-kms/customizations.rb +2 -1
- data/lib/aws-sdk-kms/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-kms/endpoint_provider.rb +54 -0
- data/lib/aws-sdk-kms/endpoints.rb +716 -0
- data/lib/aws-sdk-kms/errors.rb +308 -28
- data/lib/aws-sdk-kms/plugins/endpoints.rb +170 -0
- data/lib/aws-sdk-kms/resource.rb +4 -1
- data/lib/aws-sdk-kms/types.rb +4973 -1839
- data/lib/aws-sdk-kms.rb +16 -6
- data/sig/client.rbs +748 -0
- data/sig/errors.rbs +157 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +973 -0
- data/sig/waiters.rbs +13 -0
- metadata +24 -13
@@ -1,7 +1,9 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
4
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
7
|
#
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
@@ -18,6 +20,7 @@ module Aws::KMS
|
|
18
20
|
AliasNameType = Shapes::StringShape.new(name: 'AliasNameType')
|
19
21
|
AlreadyExistsException = Shapes::StructureShape.new(name: 'AlreadyExistsException')
|
20
22
|
ArnType = Shapes::StringShape.new(name: 'ArnType')
|
23
|
+
AttestationDocumentType = Shapes::BlobShape.new(name: 'AttestationDocumentType')
|
21
24
|
BooleanType = Shapes::BooleanShape.new(name: 'BooleanType')
|
22
25
|
CancelKeyDeletionRequest = Shapes::StructureShape.new(name: 'CancelKeyDeletionRequest')
|
23
26
|
CancelKeyDeletionResponse = Shapes::StructureShape.new(name: 'CancelKeyDeletionResponse')
|
@@ -45,8 +48,11 @@ module Aws::KMS
|
|
45
48
|
CustomKeyStoreNameInUseException = Shapes::StructureShape.new(name: 'CustomKeyStoreNameInUseException')
|
46
49
|
CustomKeyStoreNameType = Shapes::StringShape.new(name: 'CustomKeyStoreNameType')
|
47
50
|
CustomKeyStoreNotFoundException = Shapes::StructureShape.new(name: 'CustomKeyStoreNotFoundException')
|
51
|
+
CustomKeyStoreType = Shapes::StringShape.new(name: 'CustomKeyStoreType')
|
48
52
|
CustomKeyStoresList = Shapes::ListShape.new(name: 'CustomKeyStoresList')
|
49
53
|
CustomKeyStoresListEntry = Shapes::StructureShape.new(name: 'CustomKeyStoresListEntry')
|
54
|
+
CustomerMasterKeySpec = Shapes::StringShape.new(name: 'CustomerMasterKeySpec')
|
55
|
+
DataKeyPairSpec = Shapes::StringShape.new(name: 'DataKeyPairSpec')
|
50
56
|
DataKeySpec = Shapes::StringShape.new(name: 'DataKeySpec')
|
51
57
|
DateType = Shapes::TimestampShape.new(name: 'DateType')
|
52
58
|
DecryptRequest = Shapes::StructureShape.new(name: 'DecryptRequest')
|
@@ -66,20 +72,29 @@ module Aws::KMS
|
|
66
72
|
DisabledException = Shapes::StructureShape.new(name: 'DisabledException')
|
67
73
|
DisconnectCustomKeyStoreRequest = Shapes::StructureShape.new(name: 'DisconnectCustomKeyStoreRequest')
|
68
74
|
DisconnectCustomKeyStoreResponse = Shapes::StructureShape.new(name: 'DisconnectCustomKeyStoreResponse')
|
75
|
+
DryRunOperationException = Shapes::StructureShape.new(name: 'DryRunOperationException')
|
69
76
|
EnableKeyRequest = Shapes::StructureShape.new(name: 'EnableKeyRequest')
|
70
77
|
EnableKeyRotationRequest = Shapes::StructureShape.new(name: 'EnableKeyRotationRequest')
|
71
78
|
EncryptRequest = Shapes::StructureShape.new(name: 'EncryptRequest')
|
72
79
|
EncryptResponse = Shapes::StructureShape.new(name: 'EncryptResponse')
|
80
|
+
EncryptionAlgorithmSpec = Shapes::StringShape.new(name: 'EncryptionAlgorithmSpec')
|
81
|
+
EncryptionAlgorithmSpecList = Shapes::ListShape.new(name: 'EncryptionAlgorithmSpecList')
|
73
82
|
EncryptionContextKey = Shapes::StringShape.new(name: 'EncryptionContextKey')
|
74
83
|
EncryptionContextType = Shapes::MapShape.new(name: 'EncryptionContextType')
|
75
84
|
EncryptionContextValue = Shapes::StringShape.new(name: 'EncryptionContextValue')
|
76
85
|
ErrorMessageType = Shapes::StringShape.new(name: 'ErrorMessageType')
|
77
86
|
ExpirationModelType = Shapes::StringShape.new(name: 'ExpirationModelType')
|
78
87
|
ExpiredImportTokenException = Shapes::StructureShape.new(name: 'ExpiredImportTokenException')
|
88
|
+
GenerateDataKeyPairRequest = Shapes::StructureShape.new(name: 'GenerateDataKeyPairRequest')
|
89
|
+
GenerateDataKeyPairResponse = Shapes::StructureShape.new(name: 'GenerateDataKeyPairResponse')
|
90
|
+
GenerateDataKeyPairWithoutPlaintextRequest = Shapes::StructureShape.new(name: 'GenerateDataKeyPairWithoutPlaintextRequest')
|
91
|
+
GenerateDataKeyPairWithoutPlaintextResponse = Shapes::StructureShape.new(name: 'GenerateDataKeyPairWithoutPlaintextResponse')
|
79
92
|
GenerateDataKeyRequest = Shapes::StructureShape.new(name: 'GenerateDataKeyRequest')
|
80
93
|
GenerateDataKeyResponse = Shapes::StructureShape.new(name: 'GenerateDataKeyResponse')
|
81
94
|
GenerateDataKeyWithoutPlaintextRequest = Shapes::StructureShape.new(name: 'GenerateDataKeyWithoutPlaintextRequest')
|
82
95
|
GenerateDataKeyWithoutPlaintextResponse = Shapes::StructureShape.new(name: 'GenerateDataKeyWithoutPlaintextResponse')
|
96
|
+
GenerateMacRequest = Shapes::StructureShape.new(name: 'GenerateMacRequest')
|
97
|
+
GenerateMacResponse = Shapes::StructureShape.new(name: 'GenerateMacResponse')
|
83
98
|
GenerateRandomRequest = Shapes::StructureShape.new(name: 'GenerateRandomRequest')
|
84
99
|
GenerateRandomResponse = Shapes::StructureShape.new(name: 'GenerateRandomResponse')
|
85
100
|
GetKeyPolicyRequest = Shapes::StructureShape.new(name: 'GetKeyPolicyRequest')
|
@@ -88,6 +103,8 @@ module Aws::KMS
|
|
88
103
|
GetKeyRotationStatusResponse = Shapes::StructureShape.new(name: 'GetKeyRotationStatusResponse')
|
89
104
|
GetParametersForImportRequest = Shapes::StructureShape.new(name: 'GetParametersForImportRequest')
|
90
105
|
GetParametersForImportResponse = Shapes::StructureShape.new(name: 'GetParametersForImportResponse')
|
106
|
+
GetPublicKeyRequest = Shapes::StructureShape.new(name: 'GetPublicKeyRequest')
|
107
|
+
GetPublicKeyResponse = Shapes::StructureShape.new(name: 'GetPublicKeyResponse')
|
91
108
|
GrantConstraints = Shapes::StructureShape.new(name: 'GrantConstraints')
|
92
109
|
GrantIdType = Shapes::StringShape.new(name: 'GrantIdType')
|
93
110
|
GrantList = Shapes::ListShape.new(name: 'GrantList')
|
@@ -99,6 +116,7 @@ module Aws::KMS
|
|
99
116
|
GrantTokenType = Shapes::StringShape.new(name: 'GrantTokenType')
|
100
117
|
ImportKeyMaterialRequest = Shapes::StructureShape.new(name: 'ImportKeyMaterialRequest')
|
101
118
|
ImportKeyMaterialResponse = Shapes::StructureShape.new(name: 'ImportKeyMaterialResponse')
|
119
|
+
IncorrectKeyException = Shapes::StructureShape.new(name: 'IncorrectKeyException')
|
102
120
|
IncorrectKeyMaterialException = Shapes::StructureShape.new(name: 'IncorrectKeyMaterialException')
|
103
121
|
IncorrectTrustAnchorException = Shapes::StructureShape.new(name: 'IncorrectTrustAnchorException')
|
104
122
|
InvalidAliasNameException = Shapes::StructureShape.new(name: 'InvalidAliasNameException')
|
@@ -110,12 +128,16 @@ module Aws::KMS
|
|
110
128
|
InvalidKeyUsageException = Shapes::StructureShape.new(name: 'InvalidKeyUsageException')
|
111
129
|
InvalidMarkerException = Shapes::StructureShape.new(name: 'InvalidMarkerException')
|
112
130
|
KMSInternalException = Shapes::StructureShape.new(name: 'KMSInternalException')
|
131
|
+
KMSInvalidMacException = Shapes::StructureShape.new(name: 'KMSInvalidMacException')
|
132
|
+
KMSInvalidSignatureException = Shapes::StructureShape.new(name: 'KMSInvalidSignatureException')
|
113
133
|
KMSInvalidStateException = Shapes::StructureShape.new(name: 'KMSInvalidStateException')
|
134
|
+
KeyEncryptionMechanism = Shapes::StringShape.new(name: 'KeyEncryptionMechanism')
|
114
135
|
KeyIdType = Shapes::StringShape.new(name: 'KeyIdType')
|
115
136
|
KeyList = Shapes::ListShape.new(name: 'KeyList')
|
116
137
|
KeyListEntry = Shapes::StructureShape.new(name: 'KeyListEntry')
|
117
138
|
KeyManagerType = Shapes::StringShape.new(name: 'KeyManagerType')
|
118
139
|
KeyMetadata = Shapes::StructureShape.new(name: 'KeyMetadata')
|
140
|
+
KeySpec = Shapes::StringShape.new(name: 'KeySpec')
|
119
141
|
KeyState = Shapes::StringShape.new(name: 'KeyState')
|
120
142
|
KeyStorePasswordType = Shapes::StringShape.new(name: 'KeyStorePasswordType')
|
121
143
|
KeyUnavailableException = Shapes::StructureShape.new(name: 'KeyUnavailableException')
|
@@ -133,9 +155,17 @@ module Aws::KMS
|
|
133
155
|
ListResourceTagsRequest = Shapes::StructureShape.new(name: 'ListResourceTagsRequest')
|
134
156
|
ListResourceTagsResponse = Shapes::StructureShape.new(name: 'ListResourceTagsResponse')
|
135
157
|
ListRetirableGrantsRequest = Shapes::StructureShape.new(name: 'ListRetirableGrantsRequest')
|
158
|
+
MacAlgorithmSpec = Shapes::StringShape.new(name: 'MacAlgorithmSpec')
|
159
|
+
MacAlgorithmSpecList = Shapes::ListShape.new(name: 'MacAlgorithmSpecList')
|
136
160
|
MalformedPolicyDocumentException = Shapes::StructureShape.new(name: 'MalformedPolicyDocumentException')
|
137
161
|
MarkerType = Shapes::StringShape.new(name: 'MarkerType')
|
162
|
+
MessageType = Shapes::StringShape.new(name: 'MessageType')
|
163
|
+
MultiRegionConfiguration = Shapes::StructureShape.new(name: 'MultiRegionConfiguration')
|
164
|
+
MultiRegionKey = Shapes::StructureShape.new(name: 'MultiRegionKey')
|
165
|
+
MultiRegionKeyList = Shapes::ListShape.new(name: 'MultiRegionKeyList')
|
166
|
+
MultiRegionKeyType = Shapes::StringShape.new(name: 'MultiRegionKeyType')
|
138
167
|
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
168
|
+
NullableBooleanType = Shapes::BooleanShape.new(name: 'NullableBooleanType')
|
139
169
|
NumberOfBytesType = Shapes::IntegerShape.new(name: 'NumberOfBytesType')
|
140
170
|
OriginType = Shapes::StringShape.new(name: 'OriginType')
|
141
171
|
PendingWindowInDaysType = Shapes::IntegerShape.new(name: 'PendingWindowInDaysType')
|
@@ -144,13 +174,22 @@ module Aws::KMS
|
|
144
174
|
PolicyNameType = Shapes::StringShape.new(name: 'PolicyNameType')
|
145
175
|
PolicyType = Shapes::StringShape.new(name: 'PolicyType')
|
146
176
|
PrincipalIdType = Shapes::StringShape.new(name: 'PrincipalIdType')
|
177
|
+
PublicKeyType = Shapes::BlobShape.new(name: 'PublicKeyType')
|
147
178
|
PutKeyPolicyRequest = Shapes::StructureShape.new(name: 'PutKeyPolicyRequest')
|
148
179
|
ReEncryptRequest = Shapes::StructureShape.new(name: 'ReEncryptRequest')
|
149
180
|
ReEncryptResponse = Shapes::StructureShape.new(name: 'ReEncryptResponse')
|
181
|
+
RecipientInfo = Shapes::StructureShape.new(name: 'RecipientInfo')
|
182
|
+
RegionType = Shapes::StringShape.new(name: 'RegionType')
|
183
|
+
ReplicateKeyRequest = Shapes::StructureShape.new(name: 'ReplicateKeyRequest')
|
184
|
+
ReplicateKeyResponse = Shapes::StructureShape.new(name: 'ReplicateKeyResponse')
|
150
185
|
RetireGrantRequest = Shapes::StructureShape.new(name: 'RetireGrantRequest')
|
151
186
|
RevokeGrantRequest = Shapes::StructureShape.new(name: 'RevokeGrantRequest')
|
152
187
|
ScheduleKeyDeletionRequest = Shapes::StructureShape.new(name: 'ScheduleKeyDeletionRequest')
|
153
188
|
ScheduleKeyDeletionResponse = Shapes::StructureShape.new(name: 'ScheduleKeyDeletionResponse')
|
189
|
+
SignRequest = Shapes::StructureShape.new(name: 'SignRequest')
|
190
|
+
SignResponse = Shapes::StructureShape.new(name: 'SignResponse')
|
191
|
+
SigningAlgorithmSpec = Shapes::StringShape.new(name: 'SigningAlgorithmSpec')
|
192
|
+
SigningAlgorithmSpecList = Shapes::ListShape.new(name: 'SigningAlgorithmSpecList')
|
154
193
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
155
194
|
TagException = Shapes::StructureShape.new(name: 'TagException')
|
156
195
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
@@ -165,13 +204,42 @@ module Aws::KMS
|
|
165
204
|
UpdateCustomKeyStoreRequest = Shapes::StructureShape.new(name: 'UpdateCustomKeyStoreRequest')
|
166
205
|
UpdateCustomKeyStoreResponse = Shapes::StructureShape.new(name: 'UpdateCustomKeyStoreResponse')
|
167
206
|
UpdateKeyDescriptionRequest = Shapes::StructureShape.new(name: 'UpdateKeyDescriptionRequest')
|
207
|
+
UpdatePrimaryRegionRequest = Shapes::StructureShape.new(name: 'UpdatePrimaryRegionRequest')
|
208
|
+
VerifyMacRequest = Shapes::StructureShape.new(name: 'VerifyMacRequest')
|
209
|
+
VerifyMacResponse = Shapes::StructureShape.new(name: 'VerifyMacResponse')
|
210
|
+
VerifyRequest = Shapes::StructureShape.new(name: 'VerifyRequest')
|
211
|
+
VerifyResponse = Shapes::StructureShape.new(name: 'VerifyResponse')
|
168
212
|
WrappingKeySpec = Shapes::StringShape.new(name: 'WrappingKeySpec')
|
213
|
+
XksKeyAlreadyInUseException = Shapes::StructureShape.new(name: 'XksKeyAlreadyInUseException')
|
214
|
+
XksKeyConfigurationType = Shapes::StructureShape.new(name: 'XksKeyConfigurationType')
|
215
|
+
XksKeyIdType = Shapes::StringShape.new(name: 'XksKeyIdType')
|
216
|
+
XksKeyInvalidConfigurationException = Shapes::StructureShape.new(name: 'XksKeyInvalidConfigurationException')
|
217
|
+
XksKeyNotFoundException = Shapes::StructureShape.new(name: 'XksKeyNotFoundException')
|
218
|
+
XksProxyAuthenticationAccessKeyIdType = Shapes::StringShape.new(name: 'XksProxyAuthenticationAccessKeyIdType')
|
219
|
+
XksProxyAuthenticationCredentialType = Shapes::StructureShape.new(name: 'XksProxyAuthenticationCredentialType')
|
220
|
+
XksProxyAuthenticationRawSecretAccessKeyType = Shapes::StringShape.new(name: 'XksProxyAuthenticationRawSecretAccessKeyType')
|
221
|
+
XksProxyConfigurationType = Shapes::StructureShape.new(name: 'XksProxyConfigurationType')
|
222
|
+
XksProxyConnectivityType = Shapes::StringShape.new(name: 'XksProxyConnectivityType')
|
223
|
+
XksProxyIncorrectAuthenticationCredentialException = Shapes::StructureShape.new(name: 'XksProxyIncorrectAuthenticationCredentialException')
|
224
|
+
XksProxyInvalidConfigurationException = Shapes::StructureShape.new(name: 'XksProxyInvalidConfigurationException')
|
225
|
+
XksProxyInvalidResponseException = Shapes::StructureShape.new(name: 'XksProxyInvalidResponseException')
|
226
|
+
XksProxyUriEndpointInUseException = Shapes::StructureShape.new(name: 'XksProxyUriEndpointInUseException')
|
227
|
+
XksProxyUriEndpointType = Shapes::StringShape.new(name: 'XksProxyUriEndpointType')
|
228
|
+
XksProxyUriInUseException = Shapes::StructureShape.new(name: 'XksProxyUriInUseException')
|
229
|
+
XksProxyUriPathType = Shapes::StringShape.new(name: 'XksProxyUriPathType')
|
230
|
+
XksProxyUriUnreachableException = Shapes::StructureShape.new(name: 'XksProxyUriUnreachableException')
|
231
|
+
XksProxyVpcEndpointServiceInUseException = Shapes::StructureShape.new(name: 'XksProxyVpcEndpointServiceInUseException')
|
232
|
+
XksProxyVpcEndpointServiceInvalidConfigurationException = Shapes::StructureShape.new(name: 'XksProxyVpcEndpointServiceInvalidConfigurationException')
|
233
|
+
XksProxyVpcEndpointServiceNameType = Shapes::StringShape.new(name: 'XksProxyVpcEndpointServiceNameType')
|
234
|
+
XksProxyVpcEndpointServiceNotFoundException = Shapes::StructureShape.new(name: 'XksProxyVpcEndpointServiceNotFoundException')
|
169
235
|
|
170
236
|
AliasList.member = Shapes::ShapeRef.new(shape: AliasListEntry)
|
171
237
|
|
172
238
|
AliasListEntry.add_member(:alias_name, Shapes::ShapeRef.new(shape: AliasNameType, location_name: "AliasName"))
|
173
239
|
AliasListEntry.add_member(:alias_arn, Shapes::ShapeRef.new(shape: ArnType, location_name: "AliasArn"))
|
174
240
|
AliasListEntry.add_member(:target_key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "TargetKeyId"))
|
241
|
+
AliasListEntry.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "CreationDate"))
|
242
|
+
AliasListEntry.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: DateType, location_name: "LastUpdatedDate"))
|
175
243
|
AliasListEntry.struct_class = Types::AliasListEntry
|
176
244
|
|
177
245
|
AlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
|
@@ -208,9 +276,15 @@ module Aws::KMS
|
|
208
276
|
CreateAliasRequest.struct_class = Types::CreateAliasRequest
|
209
277
|
|
210
278
|
CreateCustomKeyStoreRequest.add_member(:custom_key_store_name, Shapes::ShapeRef.new(shape: CustomKeyStoreNameType, required: true, location_name: "CustomKeyStoreName"))
|
211
|
-
CreateCustomKeyStoreRequest.add_member(:cloud_hsm_cluster_id, Shapes::ShapeRef.new(shape: CloudHsmClusterIdType,
|
212
|
-
CreateCustomKeyStoreRequest.add_member(:trust_anchor_certificate, Shapes::ShapeRef.new(shape: TrustAnchorCertificateType,
|
213
|
-
CreateCustomKeyStoreRequest.add_member(:key_store_password, Shapes::ShapeRef.new(shape: KeyStorePasswordType,
|
279
|
+
CreateCustomKeyStoreRequest.add_member(:cloud_hsm_cluster_id, Shapes::ShapeRef.new(shape: CloudHsmClusterIdType, location_name: "CloudHsmClusterId"))
|
280
|
+
CreateCustomKeyStoreRequest.add_member(:trust_anchor_certificate, Shapes::ShapeRef.new(shape: TrustAnchorCertificateType, location_name: "TrustAnchorCertificate"))
|
281
|
+
CreateCustomKeyStoreRequest.add_member(:key_store_password, Shapes::ShapeRef.new(shape: KeyStorePasswordType, location_name: "KeyStorePassword"))
|
282
|
+
CreateCustomKeyStoreRequest.add_member(:custom_key_store_type, Shapes::ShapeRef.new(shape: CustomKeyStoreType, location_name: "CustomKeyStoreType"))
|
283
|
+
CreateCustomKeyStoreRequest.add_member(:xks_proxy_uri_endpoint, Shapes::ShapeRef.new(shape: XksProxyUriEndpointType, location_name: "XksProxyUriEndpoint"))
|
284
|
+
CreateCustomKeyStoreRequest.add_member(:xks_proxy_uri_path, Shapes::ShapeRef.new(shape: XksProxyUriPathType, location_name: "XksProxyUriPath"))
|
285
|
+
CreateCustomKeyStoreRequest.add_member(:xks_proxy_vpc_endpoint_service_name, Shapes::ShapeRef.new(shape: XksProxyVpcEndpointServiceNameType, location_name: "XksProxyVpcEndpointServiceName"))
|
286
|
+
CreateCustomKeyStoreRequest.add_member(:xks_proxy_authentication_credential, Shapes::ShapeRef.new(shape: XksProxyAuthenticationCredentialType, location_name: "XksProxyAuthenticationCredential"))
|
287
|
+
CreateCustomKeyStoreRequest.add_member(:xks_proxy_connectivity, Shapes::ShapeRef.new(shape: XksProxyConnectivityType, location_name: "XksProxyConnectivity"))
|
214
288
|
CreateCustomKeyStoreRequest.struct_class = Types::CreateCustomKeyStoreRequest
|
215
289
|
|
216
290
|
CreateCustomKeyStoreResponse.add_member(:custom_key_store_id, Shapes::ShapeRef.new(shape: CustomKeyStoreIdType, location_name: "CustomKeyStoreId"))
|
@@ -223,6 +297,7 @@ module Aws::KMS
|
|
223
297
|
CreateGrantRequest.add_member(:constraints, Shapes::ShapeRef.new(shape: GrantConstraints, location_name: "Constraints"))
|
224
298
|
CreateGrantRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
|
225
299
|
CreateGrantRequest.add_member(:name, Shapes::ShapeRef.new(shape: GrantNameType, location_name: "Name"))
|
300
|
+
CreateGrantRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
|
226
301
|
CreateGrantRequest.struct_class = Types::CreateGrantRequest
|
227
302
|
|
228
303
|
CreateGrantResponse.add_member(:grant_token, Shapes::ShapeRef.new(shape: GrantTokenType, location_name: "GrantToken"))
|
@@ -232,10 +307,14 @@ module Aws::KMS
|
|
232
307
|
CreateKeyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: PolicyType, location_name: "Policy"))
|
233
308
|
CreateKeyRequest.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionType, location_name: "Description"))
|
234
309
|
CreateKeyRequest.add_member(:key_usage, Shapes::ShapeRef.new(shape: KeyUsageType, location_name: "KeyUsage"))
|
310
|
+
CreateKeyRequest.add_member(:customer_master_key_spec, Shapes::ShapeRef.new(shape: CustomerMasterKeySpec, deprecated: true, location_name: "CustomerMasterKeySpec", metadata: {"deprecatedMessage"=>"This parameter has been deprecated. Instead, use the KeySpec parameter."}))
|
311
|
+
CreateKeyRequest.add_member(:key_spec, Shapes::ShapeRef.new(shape: KeySpec, location_name: "KeySpec"))
|
235
312
|
CreateKeyRequest.add_member(:origin, Shapes::ShapeRef.new(shape: OriginType, location_name: "Origin"))
|
236
313
|
CreateKeyRequest.add_member(:custom_key_store_id, Shapes::ShapeRef.new(shape: CustomKeyStoreIdType, location_name: "CustomKeyStoreId"))
|
237
314
|
CreateKeyRequest.add_member(:bypass_policy_lockout_safety_check, Shapes::ShapeRef.new(shape: BooleanType, location_name: "BypassPolicyLockoutSafetyCheck"))
|
238
315
|
CreateKeyRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
316
|
+
CreateKeyRequest.add_member(:multi_region, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "MultiRegion"))
|
317
|
+
CreateKeyRequest.add_member(:xks_key_id, Shapes::ShapeRef.new(shape: XksKeyIdType, location_name: "XksKeyId"))
|
239
318
|
CreateKeyRequest.struct_class = Types::CreateKeyRequest
|
240
319
|
|
241
320
|
CreateKeyResponse.add_member(:key_metadata, Shapes::ShapeRef.new(shape: KeyMetadata, location_name: "KeyMetadata"))
|
@@ -262,15 +341,23 @@ module Aws::KMS
|
|
262
341
|
CustomKeyStoresListEntry.add_member(:connection_state, Shapes::ShapeRef.new(shape: ConnectionStateType, location_name: "ConnectionState"))
|
263
342
|
CustomKeyStoresListEntry.add_member(:connection_error_code, Shapes::ShapeRef.new(shape: ConnectionErrorCodeType, location_name: "ConnectionErrorCode"))
|
264
343
|
CustomKeyStoresListEntry.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "CreationDate"))
|
344
|
+
CustomKeyStoresListEntry.add_member(:custom_key_store_type, Shapes::ShapeRef.new(shape: CustomKeyStoreType, location_name: "CustomKeyStoreType"))
|
345
|
+
CustomKeyStoresListEntry.add_member(:xks_proxy_configuration, Shapes::ShapeRef.new(shape: XksProxyConfigurationType, location_name: "XksProxyConfiguration"))
|
265
346
|
CustomKeyStoresListEntry.struct_class = Types::CustomKeyStoresListEntry
|
266
347
|
|
267
348
|
DecryptRequest.add_member(:ciphertext_blob, Shapes::ShapeRef.new(shape: CiphertextType, required: true, location_name: "CiphertextBlob"))
|
268
349
|
DecryptRequest.add_member(:encryption_context, Shapes::ShapeRef.new(shape: EncryptionContextType, location_name: "EncryptionContext"))
|
269
350
|
DecryptRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
|
351
|
+
DecryptRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
|
352
|
+
DecryptRequest.add_member(:encryption_algorithm, Shapes::ShapeRef.new(shape: EncryptionAlgorithmSpec, location_name: "EncryptionAlgorithm"))
|
353
|
+
DecryptRequest.add_member(:recipient, Shapes::ShapeRef.new(shape: RecipientInfo, location_name: "Recipient"))
|
354
|
+
DecryptRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
|
270
355
|
DecryptRequest.struct_class = Types::DecryptRequest
|
271
356
|
|
272
357
|
DecryptResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
|
273
358
|
DecryptResponse.add_member(:plaintext, Shapes::ShapeRef.new(shape: PlaintextType, location_name: "Plaintext"))
|
359
|
+
DecryptResponse.add_member(:encryption_algorithm, Shapes::ShapeRef.new(shape: EncryptionAlgorithmSpec, location_name: "EncryptionAlgorithm"))
|
360
|
+
DecryptResponse.add_member(:ciphertext_for_recipient, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextForRecipient"))
|
274
361
|
DecryptResponse.struct_class = Types::DecryptResponse
|
275
362
|
|
276
363
|
DeleteAliasRequest.add_member(:alias_name, Shapes::ShapeRef.new(shape: AliasNameType, required: true, location_name: "AliasName"))
|
@@ -319,6 +406,9 @@ module Aws::KMS
|
|
319
406
|
|
320
407
|
DisconnectCustomKeyStoreResponse.struct_class = Types::DisconnectCustomKeyStoreResponse
|
321
408
|
|
409
|
+
DryRunOperationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
|
410
|
+
DryRunOperationException.struct_class = Types::DryRunOperationException
|
411
|
+
|
322
412
|
EnableKeyRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
323
413
|
EnableKeyRequest.struct_class = Types::EnableKeyRequest
|
324
414
|
|
@@ -329,28 +419,65 @@ module Aws::KMS
|
|
329
419
|
EncryptRequest.add_member(:plaintext, Shapes::ShapeRef.new(shape: PlaintextType, required: true, location_name: "Plaintext"))
|
330
420
|
EncryptRequest.add_member(:encryption_context, Shapes::ShapeRef.new(shape: EncryptionContextType, location_name: "EncryptionContext"))
|
331
421
|
EncryptRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
|
422
|
+
EncryptRequest.add_member(:encryption_algorithm, Shapes::ShapeRef.new(shape: EncryptionAlgorithmSpec, location_name: "EncryptionAlgorithm"))
|
423
|
+
EncryptRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
|
332
424
|
EncryptRequest.struct_class = Types::EncryptRequest
|
333
425
|
|
334
426
|
EncryptResponse.add_member(:ciphertext_blob, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextBlob"))
|
335
427
|
EncryptResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
|
428
|
+
EncryptResponse.add_member(:encryption_algorithm, Shapes::ShapeRef.new(shape: EncryptionAlgorithmSpec, location_name: "EncryptionAlgorithm"))
|
336
429
|
EncryptResponse.struct_class = Types::EncryptResponse
|
337
430
|
|
431
|
+
EncryptionAlgorithmSpecList.member = Shapes::ShapeRef.new(shape: EncryptionAlgorithmSpec)
|
432
|
+
|
338
433
|
EncryptionContextType.key = Shapes::ShapeRef.new(shape: EncryptionContextKey)
|
339
434
|
EncryptionContextType.value = Shapes::ShapeRef.new(shape: EncryptionContextValue)
|
340
435
|
|
341
436
|
ExpiredImportTokenException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
|
342
437
|
ExpiredImportTokenException.struct_class = Types::ExpiredImportTokenException
|
343
438
|
|
439
|
+
GenerateDataKeyPairRequest.add_member(:encryption_context, Shapes::ShapeRef.new(shape: EncryptionContextType, location_name: "EncryptionContext"))
|
440
|
+
GenerateDataKeyPairRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
441
|
+
GenerateDataKeyPairRequest.add_member(:key_pair_spec, Shapes::ShapeRef.new(shape: DataKeyPairSpec, required: true, location_name: "KeyPairSpec"))
|
442
|
+
GenerateDataKeyPairRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
|
443
|
+
GenerateDataKeyPairRequest.add_member(:recipient, Shapes::ShapeRef.new(shape: RecipientInfo, location_name: "Recipient"))
|
444
|
+
GenerateDataKeyPairRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
|
445
|
+
GenerateDataKeyPairRequest.struct_class = Types::GenerateDataKeyPairRequest
|
446
|
+
|
447
|
+
GenerateDataKeyPairResponse.add_member(:private_key_ciphertext_blob, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "PrivateKeyCiphertextBlob"))
|
448
|
+
GenerateDataKeyPairResponse.add_member(:private_key_plaintext, Shapes::ShapeRef.new(shape: PlaintextType, location_name: "PrivateKeyPlaintext"))
|
449
|
+
GenerateDataKeyPairResponse.add_member(:public_key, Shapes::ShapeRef.new(shape: PublicKeyType, location_name: "PublicKey"))
|
450
|
+
GenerateDataKeyPairResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
|
451
|
+
GenerateDataKeyPairResponse.add_member(:key_pair_spec, Shapes::ShapeRef.new(shape: DataKeyPairSpec, location_name: "KeyPairSpec"))
|
452
|
+
GenerateDataKeyPairResponse.add_member(:ciphertext_for_recipient, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextForRecipient"))
|
453
|
+
GenerateDataKeyPairResponse.struct_class = Types::GenerateDataKeyPairResponse
|
454
|
+
|
455
|
+
GenerateDataKeyPairWithoutPlaintextRequest.add_member(:encryption_context, Shapes::ShapeRef.new(shape: EncryptionContextType, location_name: "EncryptionContext"))
|
456
|
+
GenerateDataKeyPairWithoutPlaintextRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
457
|
+
GenerateDataKeyPairWithoutPlaintextRequest.add_member(:key_pair_spec, Shapes::ShapeRef.new(shape: DataKeyPairSpec, required: true, location_name: "KeyPairSpec"))
|
458
|
+
GenerateDataKeyPairWithoutPlaintextRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
|
459
|
+
GenerateDataKeyPairWithoutPlaintextRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
|
460
|
+
GenerateDataKeyPairWithoutPlaintextRequest.struct_class = Types::GenerateDataKeyPairWithoutPlaintextRequest
|
461
|
+
|
462
|
+
GenerateDataKeyPairWithoutPlaintextResponse.add_member(:private_key_ciphertext_blob, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "PrivateKeyCiphertextBlob"))
|
463
|
+
GenerateDataKeyPairWithoutPlaintextResponse.add_member(:public_key, Shapes::ShapeRef.new(shape: PublicKeyType, location_name: "PublicKey"))
|
464
|
+
GenerateDataKeyPairWithoutPlaintextResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
|
465
|
+
GenerateDataKeyPairWithoutPlaintextResponse.add_member(:key_pair_spec, Shapes::ShapeRef.new(shape: DataKeyPairSpec, location_name: "KeyPairSpec"))
|
466
|
+
GenerateDataKeyPairWithoutPlaintextResponse.struct_class = Types::GenerateDataKeyPairWithoutPlaintextResponse
|
467
|
+
|
344
468
|
GenerateDataKeyRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
345
469
|
GenerateDataKeyRequest.add_member(:encryption_context, Shapes::ShapeRef.new(shape: EncryptionContextType, location_name: "EncryptionContext"))
|
346
470
|
GenerateDataKeyRequest.add_member(:number_of_bytes, Shapes::ShapeRef.new(shape: NumberOfBytesType, location_name: "NumberOfBytes"))
|
347
471
|
GenerateDataKeyRequest.add_member(:key_spec, Shapes::ShapeRef.new(shape: DataKeySpec, location_name: "KeySpec"))
|
348
472
|
GenerateDataKeyRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
|
473
|
+
GenerateDataKeyRequest.add_member(:recipient, Shapes::ShapeRef.new(shape: RecipientInfo, location_name: "Recipient"))
|
474
|
+
GenerateDataKeyRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
|
349
475
|
GenerateDataKeyRequest.struct_class = Types::GenerateDataKeyRequest
|
350
476
|
|
351
477
|
GenerateDataKeyResponse.add_member(:ciphertext_blob, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextBlob"))
|
352
478
|
GenerateDataKeyResponse.add_member(:plaintext, Shapes::ShapeRef.new(shape: PlaintextType, location_name: "Plaintext"))
|
353
479
|
GenerateDataKeyResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
|
480
|
+
GenerateDataKeyResponse.add_member(:ciphertext_for_recipient, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextForRecipient"))
|
354
481
|
GenerateDataKeyResponse.struct_class = Types::GenerateDataKeyResponse
|
355
482
|
|
356
483
|
GenerateDataKeyWithoutPlaintextRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
@@ -358,17 +485,32 @@ module Aws::KMS
|
|
358
485
|
GenerateDataKeyWithoutPlaintextRequest.add_member(:key_spec, Shapes::ShapeRef.new(shape: DataKeySpec, location_name: "KeySpec"))
|
359
486
|
GenerateDataKeyWithoutPlaintextRequest.add_member(:number_of_bytes, Shapes::ShapeRef.new(shape: NumberOfBytesType, location_name: "NumberOfBytes"))
|
360
487
|
GenerateDataKeyWithoutPlaintextRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
|
488
|
+
GenerateDataKeyWithoutPlaintextRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
|
361
489
|
GenerateDataKeyWithoutPlaintextRequest.struct_class = Types::GenerateDataKeyWithoutPlaintextRequest
|
362
490
|
|
363
491
|
GenerateDataKeyWithoutPlaintextResponse.add_member(:ciphertext_blob, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextBlob"))
|
364
492
|
GenerateDataKeyWithoutPlaintextResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
|
365
493
|
GenerateDataKeyWithoutPlaintextResponse.struct_class = Types::GenerateDataKeyWithoutPlaintextResponse
|
366
494
|
|
495
|
+
GenerateMacRequest.add_member(:message, Shapes::ShapeRef.new(shape: PlaintextType, required: true, location_name: "Message"))
|
496
|
+
GenerateMacRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
497
|
+
GenerateMacRequest.add_member(:mac_algorithm, Shapes::ShapeRef.new(shape: MacAlgorithmSpec, required: true, location_name: "MacAlgorithm"))
|
498
|
+
GenerateMacRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
|
499
|
+
GenerateMacRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
|
500
|
+
GenerateMacRequest.struct_class = Types::GenerateMacRequest
|
501
|
+
|
502
|
+
GenerateMacResponse.add_member(:mac, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "Mac"))
|
503
|
+
GenerateMacResponse.add_member(:mac_algorithm, Shapes::ShapeRef.new(shape: MacAlgorithmSpec, location_name: "MacAlgorithm"))
|
504
|
+
GenerateMacResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
|
505
|
+
GenerateMacResponse.struct_class = Types::GenerateMacResponse
|
506
|
+
|
367
507
|
GenerateRandomRequest.add_member(:number_of_bytes, Shapes::ShapeRef.new(shape: NumberOfBytesType, location_name: "NumberOfBytes"))
|
368
508
|
GenerateRandomRequest.add_member(:custom_key_store_id, Shapes::ShapeRef.new(shape: CustomKeyStoreIdType, location_name: "CustomKeyStoreId"))
|
509
|
+
GenerateRandomRequest.add_member(:recipient, Shapes::ShapeRef.new(shape: RecipientInfo, location_name: "Recipient"))
|
369
510
|
GenerateRandomRequest.struct_class = Types::GenerateRandomRequest
|
370
511
|
|
371
512
|
GenerateRandomResponse.add_member(:plaintext, Shapes::ShapeRef.new(shape: PlaintextType, location_name: "Plaintext"))
|
513
|
+
GenerateRandomResponse.add_member(:ciphertext_for_recipient, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextForRecipient"))
|
372
514
|
GenerateRandomResponse.struct_class = Types::GenerateRandomResponse
|
373
515
|
|
374
516
|
GetKeyPolicyRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
@@ -395,6 +537,19 @@ module Aws::KMS
|
|
395
537
|
GetParametersForImportResponse.add_member(:parameters_valid_to, Shapes::ShapeRef.new(shape: DateType, location_name: "ParametersValidTo"))
|
396
538
|
GetParametersForImportResponse.struct_class = Types::GetParametersForImportResponse
|
397
539
|
|
540
|
+
GetPublicKeyRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
541
|
+
GetPublicKeyRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
|
542
|
+
GetPublicKeyRequest.struct_class = Types::GetPublicKeyRequest
|
543
|
+
|
544
|
+
GetPublicKeyResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
|
545
|
+
GetPublicKeyResponse.add_member(:public_key, Shapes::ShapeRef.new(shape: PublicKeyType, location_name: "PublicKey"))
|
546
|
+
GetPublicKeyResponse.add_member(:customer_master_key_spec, Shapes::ShapeRef.new(shape: CustomerMasterKeySpec, deprecated: true, location_name: "CustomerMasterKeySpec", metadata: {"deprecatedMessage"=>"This field has been deprecated. Instead, use the KeySpec field."}))
|
547
|
+
GetPublicKeyResponse.add_member(:key_spec, Shapes::ShapeRef.new(shape: KeySpec, location_name: "KeySpec"))
|
548
|
+
GetPublicKeyResponse.add_member(:key_usage, Shapes::ShapeRef.new(shape: KeyUsageType, location_name: "KeyUsage"))
|
549
|
+
GetPublicKeyResponse.add_member(:encryption_algorithms, Shapes::ShapeRef.new(shape: EncryptionAlgorithmSpecList, location_name: "EncryptionAlgorithms"))
|
550
|
+
GetPublicKeyResponse.add_member(:signing_algorithms, Shapes::ShapeRef.new(shape: SigningAlgorithmSpecList, location_name: "SigningAlgorithms"))
|
551
|
+
GetPublicKeyResponse.struct_class = Types::GetPublicKeyResponse
|
552
|
+
|
398
553
|
GrantConstraints.add_member(:encryption_context_subset, Shapes::ShapeRef.new(shape: EncryptionContextType, location_name: "EncryptionContextSubset"))
|
399
554
|
GrantConstraints.add_member(:encryption_context_equals, Shapes::ShapeRef.new(shape: EncryptionContextType, location_name: "EncryptionContextEquals"))
|
400
555
|
GrantConstraints.struct_class = Types::GrantConstraints
|
@@ -425,6 +580,9 @@ module Aws::KMS
|
|
425
580
|
|
426
581
|
ImportKeyMaterialResponse.struct_class = Types::ImportKeyMaterialResponse
|
427
582
|
|
583
|
+
IncorrectKeyException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
|
584
|
+
IncorrectKeyException.struct_class = Types::IncorrectKeyException
|
585
|
+
|
428
586
|
IncorrectKeyMaterialException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
|
429
587
|
IncorrectKeyMaterialException.struct_class = Types::IncorrectKeyMaterialException
|
430
588
|
|
@@ -458,6 +616,12 @@ module Aws::KMS
|
|
458
616
|
KMSInternalException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
|
459
617
|
KMSInternalException.struct_class = Types::KMSInternalException
|
460
618
|
|
619
|
+
KMSInvalidMacException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
|
620
|
+
KMSInvalidMacException.struct_class = Types::KMSInvalidMacException
|
621
|
+
|
622
|
+
KMSInvalidSignatureException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
|
623
|
+
KMSInvalidSignatureException.struct_class = Types::KMSInvalidSignatureException
|
624
|
+
|
461
625
|
KMSInvalidStateException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
|
462
626
|
KMSInvalidStateException.struct_class = Types::KMSInvalidStateException
|
463
627
|
|
@@ -482,6 +646,15 @@ module Aws::KMS
|
|
482
646
|
KeyMetadata.add_member(:cloud_hsm_cluster_id, Shapes::ShapeRef.new(shape: CloudHsmClusterIdType, location_name: "CloudHsmClusterId"))
|
483
647
|
KeyMetadata.add_member(:expiration_model, Shapes::ShapeRef.new(shape: ExpirationModelType, location_name: "ExpirationModel"))
|
484
648
|
KeyMetadata.add_member(:key_manager, Shapes::ShapeRef.new(shape: KeyManagerType, location_name: "KeyManager"))
|
649
|
+
KeyMetadata.add_member(:customer_master_key_spec, Shapes::ShapeRef.new(shape: CustomerMasterKeySpec, deprecated: true, location_name: "CustomerMasterKeySpec", metadata: {"deprecatedMessage"=>"This field has been deprecated. Instead, use the KeySpec field."}))
|
650
|
+
KeyMetadata.add_member(:key_spec, Shapes::ShapeRef.new(shape: KeySpec, location_name: "KeySpec"))
|
651
|
+
KeyMetadata.add_member(:encryption_algorithms, Shapes::ShapeRef.new(shape: EncryptionAlgorithmSpecList, location_name: "EncryptionAlgorithms"))
|
652
|
+
KeyMetadata.add_member(:signing_algorithms, Shapes::ShapeRef.new(shape: SigningAlgorithmSpecList, location_name: "SigningAlgorithms"))
|
653
|
+
KeyMetadata.add_member(:multi_region, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "MultiRegion"))
|
654
|
+
KeyMetadata.add_member(:multi_region_configuration, Shapes::ShapeRef.new(shape: MultiRegionConfiguration, location_name: "MultiRegionConfiguration"))
|
655
|
+
KeyMetadata.add_member(:pending_deletion_window_in_days, Shapes::ShapeRef.new(shape: PendingWindowInDaysType, location_name: "PendingDeletionWindowInDays"))
|
656
|
+
KeyMetadata.add_member(:mac_algorithms, Shapes::ShapeRef.new(shape: MacAlgorithmSpecList, location_name: "MacAlgorithms"))
|
657
|
+
KeyMetadata.add_member(:xks_key_configuration, Shapes::ShapeRef.new(shape: XksKeyConfigurationType, location_name: "XksKeyConfiguration"))
|
485
658
|
KeyMetadata.struct_class = Types::KeyMetadata
|
486
659
|
|
487
660
|
KeyUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
|
@@ -503,6 +676,8 @@ module Aws::KMS
|
|
503
676
|
ListGrantsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitType, location_name: "Limit"))
|
504
677
|
ListGrantsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: MarkerType, location_name: "Marker"))
|
505
678
|
ListGrantsRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
679
|
+
ListGrantsRequest.add_member(:grant_id, Shapes::ShapeRef.new(shape: GrantIdType, location_name: "GrantId"))
|
680
|
+
ListGrantsRequest.add_member(:grantee_principal, Shapes::ShapeRef.new(shape: PrincipalIdType, location_name: "GranteePrincipal"))
|
506
681
|
ListGrantsRequest.struct_class = Types::ListGrantsRequest
|
507
682
|
|
508
683
|
ListGrantsResponse.add_member(:grants, Shapes::ShapeRef.new(shape: GrantList, location_name: "Grants"))
|
@@ -544,9 +719,22 @@ module Aws::KMS
|
|
544
719
|
ListRetirableGrantsRequest.add_member(:retiring_principal, Shapes::ShapeRef.new(shape: PrincipalIdType, required: true, location_name: "RetiringPrincipal"))
|
545
720
|
ListRetirableGrantsRequest.struct_class = Types::ListRetirableGrantsRequest
|
546
721
|
|
722
|
+
MacAlgorithmSpecList.member = Shapes::ShapeRef.new(shape: MacAlgorithmSpec)
|
723
|
+
|
547
724
|
MalformedPolicyDocumentException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
|
548
725
|
MalformedPolicyDocumentException.struct_class = Types::MalformedPolicyDocumentException
|
549
726
|
|
727
|
+
MultiRegionConfiguration.add_member(:multi_region_key_type, Shapes::ShapeRef.new(shape: MultiRegionKeyType, location_name: "MultiRegionKeyType"))
|
728
|
+
MultiRegionConfiguration.add_member(:primary_key, Shapes::ShapeRef.new(shape: MultiRegionKey, location_name: "PrimaryKey"))
|
729
|
+
MultiRegionConfiguration.add_member(:replica_keys, Shapes::ShapeRef.new(shape: MultiRegionKeyList, location_name: "ReplicaKeys"))
|
730
|
+
MultiRegionConfiguration.struct_class = Types::MultiRegionConfiguration
|
731
|
+
|
732
|
+
MultiRegionKey.add_member(:arn, Shapes::ShapeRef.new(shape: ArnType, location_name: "Arn"))
|
733
|
+
MultiRegionKey.add_member(:region, Shapes::ShapeRef.new(shape: RegionType, location_name: "Region"))
|
734
|
+
MultiRegionKey.struct_class = Types::MultiRegionKey
|
735
|
+
|
736
|
+
MultiRegionKeyList.member = Shapes::ShapeRef.new(shape: MultiRegionKey)
|
737
|
+
|
550
738
|
NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
|
551
739
|
NotFoundException.struct_class = Types::NotFoundException
|
552
740
|
|
@@ -560,23 +748,48 @@ module Aws::KMS
|
|
560
748
|
|
561
749
|
ReEncryptRequest.add_member(:ciphertext_blob, Shapes::ShapeRef.new(shape: CiphertextType, required: true, location_name: "CiphertextBlob"))
|
562
750
|
ReEncryptRequest.add_member(:source_encryption_context, Shapes::ShapeRef.new(shape: EncryptionContextType, location_name: "SourceEncryptionContext"))
|
751
|
+
ReEncryptRequest.add_member(:source_key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "SourceKeyId"))
|
563
752
|
ReEncryptRequest.add_member(:destination_key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "DestinationKeyId"))
|
564
753
|
ReEncryptRequest.add_member(:destination_encryption_context, Shapes::ShapeRef.new(shape: EncryptionContextType, location_name: "DestinationEncryptionContext"))
|
754
|
+
ReEncryptRequest.add_member(:source_encryption_algorithm, Shapes::ShapeRef.new(shape: EncryptionAlgorithmSpec, location_name: "SourceEncryptionAlgorithm"))
|
755
|
+
ReEncryptRequest.add_member(:destination_encryption_algorithm, Shapes::ShapeRef.new(shape: EncryptionAlgorithmSpec, location_name: "DestinationEncryptionAlgorithm"))
|
565
756
|
ReEncryptRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
|
757
|
+
ReEncryptRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
|
566
758
|
ReEncryptRequest.struct_class = Types::ReEncryptRequest
|
567
759
|
|
568
760
|
ReEncryptResponse.add_member(:ciphertext_blob, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextBlob"))
|
569
761
|
ReEncryptResponse.add_member(:source_key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "SourceKeyId"))
|
570
762
|
ReEncryptResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
|
763
|
+
ReEncryptResponse.add_member(:source_encryption_algorithm, Shapes::ShapeRef.new(shape: EncryptionAlgorithmSpec, location_name: "SourceEncryptionAlgorithm"))
|
764
|
+
ReEncryptResponse.add_member(:destination_encryption_algorithm, Shapes::ShapeRef.new(shape: EncryptionAlgorithmSpec, location_name: "DestinationEncryptionAlgorithm"))
|
571
765
|
ReEncryptResponse.struct_class = Types::ReEncryptResponse
|
572
766
|
|
767
|
+
RecipientInfo.add_member(:key_encryption_algorithm, Shapes::ShapeRef.new(shape: KeyEncryptionMechanism, location_name: "KeyEncryptionAlgorithm"))
|
768
|
+
RecipientInfo.add_member(:attestation_document, Shapes::ShapeRef.new(shape: AttestationDocumentType, location_name: "AttestationDocument"))
|
769
|
+
RecipientInfo.struct_class = Types::RecipientInfo
|
770
|
+
|
771
|
+
ReplicateKeyRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
772
|
+
ReplicateKeyRequest.add_member(:replica_region, Shapes::ShapeRef.new(shape: RegionType, required: true, location_name: "ReplicaRegion"))
|
773
|
+
ReplicateKeyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: PolicyType, location_name: "Policy"))
|
774
|
+
ReplicateKeyRequest.add_member(:bypass_policy_lockout_safety_check, Shapes::ShapeRef.new(shape: BooleanType, location_name: "BypassPolicyLockoutSafetyCheck"))
|
775
|
+
ReplicateKeyRequest.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionType, location_name: "Description"))
|
776
|
+
ReplicateKeyRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
777
|
+
ReplicateKeyRequest.struct_class = Types::ReplicateKeyRequest
|
778
|
+
|
779
|
+
ReplicateKeyResponse.add_member(:replica_key_metadata, Shapes::ShapeRef.new(shape: KeyMetadata, location_name: "ReplicaKeyMetadata"))
|
780
|
+
ReplicateKeyResponse.add_member(:replica_policy, Shapes::ShapeRef.new(shape: PolicyType, location_name: "ReplicaPolicy"))
|
781
|
+
ReplicateKeyResponse.add_member(:replica_tags, Shapes::ShapeRef.new(shape: TagList, location_name: "ReplicaTags"))
|
782
|
+
ReplicateKeyResponse.struct_class = Types::ReplicateKeyResponse
|
783
|
+
|
573
784
|
RetireGrantRequest.add_member(:grant_token, Shapes::ShapeRef.new(shape: GrantTokenType, location_name: "GrantToken"))
|
574
785
|
RetireGrantRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
|
575
786
|
RetireGrantRequest.add_member(:grant_id, Shapes::ShapeRef.new(shape: GrantIdType, location_name: "GrantId"))
|
787
|
+
RetireGrantRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
|
576
788
|
RetireGrantRequest.struct_class = Types::RetireGrantRequest
|
577
789
|
|
578
790
|
RevokeGrantRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
579
791
|
RevokeGrantRequest.add_member(:grant_id, Shapes::ShapeRef.new(shape: GrantIdType, required: true, location_name: "GrantId"))
|
792
|
+
RevokeGrantRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
|
580
793
|
RevokeGrantRequest.struct_class = Types::RevokeGrantRequest
|
581
794
|
|
582
795
|
ScheduleKeyDeletionRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
@@ -585,8 +798,25 @@ module Aws::KMS
|
|
585
798
|
|
586
799
|
ScheduleKeyDeletionResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
|
587
800
|
ScheduleKeyDeletionResponse.add_member(:deletion_date, Shapes::ShapeRef.new(shape: DateType, location_name: "DeletionDate"))
|
801
|
+
ScheduleKeyDeletionResponse.add_member(:key_state, Shapes::ShapeRef.new(shape: KeyState, location_name: "KeyState"))
|
802
|
+
ScheduleKeyDeletionResponse.add_member(:pending_window_in_days, Shapes::ShapeRef.new(shape: PendingWindowInDaysType, location_name: "PendingWindowInDays"))
|
588
803
|
ScheduleKeyDeletionResponse.struct_class = Types::ScheduleKeyDeletionResponse
|
589
804
|
|
805
|
+
SignRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
806
|
+
SignRequest.add_member(:message, Shapes::ShapeRef.new(shape: PlaintextType, required: true, location_name: "Message"))
|
807
|
+
SignRequest.add_member(:message_type, Shapes::ShapeRef.new(shape: MessageType, location_name: "MessageType"))
|
808
|
+
SignRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
|
809
|
+
SignRequest.add_member(:signing_algorithm, Shapes::ShapeRef.new(shape: SigningAlgorithmSpec, required: true, location_name: "SigningAlgorithm"))
|
810
|
+
SignRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
|
811
|
+
SignRequest.struct_class = Types::SignRequest
|
812
|
+
|
813
|
+
SignResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
|
814
|
+
SignResponse.add_member(:signature, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "Signature"))
|
815
|
+
SignResponse.add_member(:signing_algorithm, Shapes::ShapeRef.new(shape: SigningAlgorithmSpec, location_name: "SigningAlgorithm"))
|
816
|
+
SignResponse.struct_class = Types::SignResponse
|
817
|
+
|
818
|
+
SigningAlgorithmSpecList.member = Shapes::ShapeRef.new(shape: SigningAlgorithmSpec)
|
819
|
+
|
590
820
|
Tag.add_member(:tag_key, Shapes::ShapeRef.new(shape: TagKeyType, required: true, location_name: "TagKey"))
|
591
821
|
Tag.add_member(:tag_value, Shapes::ShapeRef.new(shape: TagValueType, required: true, location_name: "TagValue"))
|
592
822
|
Tag.struct_class = Types::Tag
|
@@ -617,6 +847,11 @@ module Aws::KMS
|
|
617
847
|
UpdateCustomKeyStoreRequest.add_member(:new_custom_key_store_name, Shapes::ShapeRef.new(shape: CustomKeyStoreNameType, location_name: "NewCustomKeyStoreName"))
|
618
848
|
UpdateCustomKeyStoreRequest.add_member(:key_store_password, Shapes::ShapeRef.new(shape: KeyStorePasswordType, location_name: "KeyStorePassword"))
|
619
849
|
UpdateCustomKeyStoreRequest.add_member(:cloud_hsm_cluster_id, Shapes::ShapeRef.new(shape: CloudHsmClusterIdType, location_name: "CloudHsmClusterId"))
|
850
|
+
UpdateCustomKeyStoreRequest.add_member(:xks_proxy_uri_endpoint, Shapes::ShapeRef.new(shape: XksProxyUriEndpointType, location_name: "XksProxyUriEndpoint"))
|
851
|
+
UpdateCustomKeyStoreRequest.add_member(:xks_proxy_uri_path, Shapes::ShapeRef.new(shape: XksProxyUriPathType, location_name: "XksProxyUriPath"))
|
852
|
+
UpdateCustomKeyStoreRequest.add_member(:xks_proxy_vpc_endpoint_service_name, Shapes::ShapeRef.new(shape: XksProxyVpcEndpointServiceNameType, location_name: "XksProxyVpcEndpointServiceName"))
|
853
|
+
UpdateCustomKeyStoreRequest.add_member(:xks_proxy_authentication_credential, Shapes::ShapeRef.new(shape: XksProxyAuthenticationCredentialType, location_name: "XksProxyAuthenticationCredential"))
|
854
|
+
UpdateCustomKeyStoreRequest.add_member(:xks_proxy_connectivity, Shapes::ShapeRef.new(shape: XksProxyConnectivityType, location_name: "XksProxyConnectivity"))
|
620
855
|
UpdateCustomKeyStoreRequest.struct_class = Types::UpdateCustomKeyStoreRequest
|
621
856
|
|
622
857
|
UpdateCustomKeyStoreResponse.struct_class = Types::UpdateCustomKeyStoreResponse
|
@@ -625,6 +860,87 @@ module Aws::KMS
|
|
625
860
|
UpdateKeyDescriptionRequest.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionType, required: true, location_name: "Description"))
|
626
861
|
UpdateKeyDescriptionRequest.struct_class = Types::UpdateKeyDescriptionRequest
|
627
862
|
|
863
|
+
UpdatePrimaryRegionRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
864
|
+
UpdatePrimaryRegionRequest.add_member(:primary_region, Shapes::ShapeRef.new(shape: RegionType, required: true, location_name: "PrimaryRegion"))
|
865
|
+
UpdatePrimaryRegionRequest.struct_class = Types::UpdatePrimaryRegionRequest
|
866
|
+
|
867
|
+
VerifyMacRequest.add_member(:message, Shapes::ShapeRef.new(shape: PlaintextType, required: true, location_name: "Message"))
|
868
|
+
VerifyMacRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
869
|
+
VerifyMacRequest.add_member(:mac_algorithm, Shapes::ShapeRef.new(shape: MacAlgorithmSpec, required: true, location_name: "MacAlgorithm"))
|
870
|
+
VerifyMacRequest.add_member(:mac, Shapes::ShapeRef.new(shape: CiphertextType, required: true, location_name: "Mac"))
|
871
|
+
VerifyMacRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
|
872
|
+
VerifyMacRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
|
873
|
+
VerifyMacRequest.struct_class = Types::VerifyMacRequest
|
874
|
+
|
875
|
+
VerifyMacResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
|
876
|
+
VerifyMacResponse.add_member(:mac_valid, Shapes::ShapeRef.new(shape: BooleanType, location_name: "MacValid"))
|
877
|
+
VerifyMacResponse.add_member(:mac_algorithm, Shapes::ShapeRef.new(shape: MacAlgorithmSpec, location_name: "MacAlgorithm"))
|
878
|
+
VerifyMacResponse.struct_class = Types::VerifyMacResponse
|
879
|
+
|
880
|
+
VerifyRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
881
|
+
VerifyRequest.add_member(:message, Shapes::ShapeRef.new(shape: PlaintextType, required: true, location_name: "Message"))
|
882
|
+
VerifyRequest.add_member(:message_type, Shapes::ShapeRef.new(shape: MessageType, location_name: "MessageType"))
|
883
|
+
VerifyRequest.add_member(:signature, Shapes::ShapeRef.new(shape: CiphertextType, required: true, location_name: "Signature"))
|
884
|
+
VerifyRequest.add_member(:signing_algorithm, Shapes::ShapeRef.new(shape: SigningAlgorithmSpec, required: true, location_name: "SigningAlgorithm"))
|
885
|
+
VerifyRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
|
886
|
+
VerifyRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
|
887
|
+
VerifyRequest.struct_class = Types::VerifyRequest
|
888
|
+
|
889
|
+
VerifyResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
|
890
|
+
VerifyResponse.add_member(:signature_valid, Shapes::ShapeRef.new(shape: BooleanType, location_name: "SignatureValid"))
|
891
|
+
VerifyResponse.add_member(:signing_algorithm, Shapes::ShapeRef.new(shape: SigningAlgorithmSpec, location_name: "SigningAlgorithm"))
|
892
|
+
VerifyResponse.struct_class = Types::VerifyResponse
|
893
|
+
|
894
|
+
XksKeyAlreadyInUseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
|
895
|
+
XksKeyAlreadyInUseException.struct_class = Types::XksKeyAlreadyInUseException
|
896
|
+
|
897
|
+
XksKeyConfigurationType.add_member(:id, Shapes::ShapeRef.new(shape: XksKeyIdType, location_name: "Id"))
|
898
|
+
XksKeyConfigurationType.struct_class = Types::XksKeyConfigurationType
|
899
|
+
|
900
|
+
XksKeyInvalidConfigurationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
|
901
|
+
XksKeyInvalidConfigurationException.struct_class = Types::XksKeyInvalidConfigurationException
|
902
|
+
|
903
|
+
XksKeyNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
|
904
|
+
XksKeyNotFoundException.struct_class = Types::XksKeyNotFoundException
|
905
|
+
|
906
|
+
XksProxyAuthenticationCredentialType.add_member(:access_key_id, Shapes::ShapeRef.new(shape: XksProxyAuthenticationAccessKeyIdType, required: true, location_name: "AccessKeyId"))
|
907
|
+
XksProxyAuthenticationCredentialType.add_member(:raw_secret_access_key, Shapes::ShapeRef.new(shape: XksProxyAuthenticationRawSecretAccessKeyType, required: true, location_name: "RawSecretAccessKey"))
|
908
|
+
XksProxyAuthenticationCredentialType.struct_class = Types::XksProxyAuthenticationCredentialType
|
909
|
+
|
910
|
+
XksProxyConfigurationType.add_member(:connectivity, Shapes::ShapeRef.new(shape: XksProxyConnectivityType, location_name: "Connectivity"))
|
911
|
+
XksProxyConfigurationType.add_member(:access_key_id, Shapes::ShapeRef.new(shape: XksProxyAuthenticationAccessKeyIdType, location_name: "AccessKeyId"))
|
912
|
+
XksProxyConfigurationType.add_member(:uri_endpoint, Shapes::ShapeRef.new(shape: XksProxyUriEndpointType, location_name: "UriEndpoint"))
|
913
|
+
XksProxyConfigurationType.add_member(:uri_path, Shapes::ShapeRef.new(shape: XksProxyUriPathType, location_name: "UriPath"))
|
914
|
+
XksProxyConfigurationType.add_member(:vpc_endpoint_service_name, Shapes::ShapeRef.new(shape: XksProxyVpcEndpointServiceNameType, location_name: "VpcEndpointServiceName"))
|
915
|
+
XksProxyConfigurationType.struct_class = Types::XksProxyConfigurationType
|
916
|
+
|
917
|
+
XksProxyIncorrectAuthenticationCredentialException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
|
918
|
+
XksProxyIncorrectAuthenticationCredentialException.struct_class = Types::XksProxyIncorrectAuthenticationCredentialException
|
919
|
+
|
920
|
+
XksProxyInvalidConfigurationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
|
921
|
+
XksProxyInvalidConfigurationException.struct_class = Types::XksProxyInvalidConfigurationException
|
922
|
+
|
923
|
+
XksProxyInvalidResponseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
|
924
|
+
XksProxyInvalidResponseException.struct_class = Types::XksProxyInvalidResponseException
|
925
|
+
|
926
|
+
XksProxyUriEndpointInUseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
|
927
|
+
XksProxyUriEndpointInUseException.struct_class = Types::XksProxyUriEndpointInUseException
|
928
|
+
|
929
|
+
XksProxyUriInUseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
|
930
|
+
XksProxyUriInUseException.struct_class = Types::XksProxyUriInUseException
|
931
|
+
|
932
|
+
XksProxyUriUnreachableException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
|
933
|
+
XksProxyUriUnreachableException.struct_class = Types::XksProxyUriUnreachableException
|
934
|
+
|
935
|
+
XksProxyVpcEndpointServiceInUseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
|
936
|
+
XksProxyVpcEndpointServiceInUseException.struct_class = Types::XksProxyVpcEndpointServiceInUseException
|
937
|
+
|
938
|
+
XksProxyVpcEndpointServiceInvalidConfigurationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
|
939
|
+
XksProxyVpcEndpointServiceInvalidConfigurationException.struct_class = Types::XksProxyVpcEndpointServiceInvalidConfigurationException
|
940
|
+
|
941
|
+
XksProxyVpcEndpointServiceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
|
942
|
+
XksProxyVpcEndpointServiceNotFoundException.struct_class = Types::XksProxyVpcEndpointServiceNotFoundException
|
943
|
+
|
628
944
|
|
629
945
|
# @api private
|
630
946
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -698,6 +1014,16 @@ module Aws::KMS
|
|
698
1014
|
o.errors << Shapes::ShapeRef.new(shape: CloudHsmClusterNotActiveException)
|
699
1015
|
o.errors << Shapes::ShapeRef.new(shape: IncorrectTrustAnchorException)
|
700
1016
|
o.errors << Shapes::ShapeRef.new(shape: CloudHsmClusterInvalidConfigurationException)
|
1017
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1018
|
+
o.errors << Shapes::ShapeRef.new(shape: XksProxyUriInUseException)
|
1019
|
+
o.errors << Shapes::ShapeRef.new(shape: XksProxyUriEndpointInUseException)
|
1020
|
+
o.errors << Shapes::ShapeRef.new(shape: XksProxyUriUnreachableException)
|
1021
|
+
o.errors << Shapes::ShapeRef.new(shape: XksProxyIncorrectAuthenticationCredentialException)
|
1022
|
+
o.errors << Shapes::ShapeRef.new(shape: XksProxyVpcEndpointServiceInUseException)
|
1023
|
+
o.errors << Shapes::ShapeRef.new(shape: XksProxyVpcEndpointServiceNotFoundException)
|
1024
|
+
o.errors << Shapes::ShapeRef.new(shape: XksProxyVpcEndpointServiceInvalidConfigurationException)
|
1025
|
+
o.errors << Shapes::ShapeRef.new(shape: XksProxyInvalidResponseException)
|
1026
|
+
o.errors << Shapes::ShapeRef.new(shape: XksProxyInvalidConfigurationException)
|
701
1027
|
end)
|
702
1028
|
|
703
1029
|
api.add_operation(:create_grant, Seahorse::Model::Operation.new.tap do |o|
|
@@ -714,6 +1040,7 @@ module Aws::KMS
|
|
714
1040
|
o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
|
715
1041
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
716
1042
|
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
1043
|
+
o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
|
717
1044
|
end)
|
718
1045
|
|
719
1046
|
api.add_operation(:create_key, Seahorse::Model::Operation.new.tap do |o|
|
@@ -732,6 +1059,9 @@ module Aws::KMS
|
|
732
1059
|
o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreNotFoundException)
|
733
1060
|
o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreInvalidStateException)
|
734
1061
|
o.errors << Shapes::ShapeRef.new(shape: CloudHsmClusterInvalidConfigurationException)
|
1062
|
+
o.errors << Shapes::ShapeRef.new(shape: XksKeyInvalidConfigurationException)
|
1063
|
+
o.errors << Shapes::ShapeRef.new(shape: XksKeyAlreadyInUseException)
|
1064
|
+
o.errors << Shapes::ShapeRef.new(shape: XksKeyNotFoundException)
|
735
1065
|
end)
|
736
1066
|
|
737
1067
|
api.add_operation(:decrypt, Seahorse::Model::Operation.new.tap do |o|
|
@@ -744,10 +1074,13 @@ module Aws::KMS
|
|
744
1074
|
o.errors << Shapes::ShapeRef.new(shape: DisabledException)
|
745
1075
|
o.errors << Shapes::ShapeRef.new(shape: InvalidCiphertextException)
|
746
1076
|
o.errors << Shapes::ShapeRef.new(shape: KeyUnavailableException)
|
1077
|
+
o.errors << Shapes::ShapeRef.new(shape: IncorrectKeyException)
|
1078
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidKeyUsageException)
|
747
1079
|
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
748
1080
|
o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
|
749
1081
|
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
750
1082
|
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
1083
|
+
o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
|
751
1084
|
end)
|
752
1085
|
|
753
1086
|
api.add_operation(:delete_alias, Seahorse::Model::Operation.new.tap do |o|
|
@@ -795,7 +1128,14 @@ module Aws::KMS
|
|
795
1128
|
o.input = Shapes::ShapeRef.new(shape: DescribeCustomKeyStoresRequest)
|
796
1129
|
o.output = Shapes::ShapeRef.new(shape: DescribeCustomKeyStoresResponse)
|
797
1130
|
o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreNotFoundException)
|
1131
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidMarkerException)
|
798
1132
|
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
1133
|
+
o[:pager] = Aws::Pager.new(
|
1134
|
+
limit_key: "limit",
|
1135
|
+
tokens: {
|
1136
|
+
"next_marker" => "marker"
|
1137
|
+
}
|
1138
|
+
)
|
799
1139
|
end)
|
800
1140
|
|
801
1141
|
api.add_operation(:describe_key, Seahorse::Model::Operation.new.tap do |o|
|
@@ -892,6 +1232,7 @@ module Aws::KMS
|
|
892
1232
|
o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
|
893
1233
|
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
894
1234
|
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
1235
|
+
o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
|
895
1236
|
end)
|
896
1237
|
|
897
1238
|
api.add_operation(:generate_data_key, Seahorse::Model::Operation.new.tap do |o|
|
@@ -908,6 +1249,43 @@ module Aws::KMS
|
|
908
1249
|
o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
|
909
1250
|
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
910
1251
|
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
1252
|
+
o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
|
1253
|
+
end)
|
1254
|
+
|
1255
|
+
api.add_operation(:generate_data_key_pair, Seahorse::Model::Operation.new.tap do |o|
|
1256
|
+
o.name = "GenerateDataKeyPair"
|
1257
|
+
o.http_method = "POST"
|
1258
|
+
o.http_request_uri = "/"
|
1259
|
+
o.input = Shapes::ShapeRef.new(shape: GenerateDataKeyPairRequest)
|
1260
|
+
o.output = Shapes::ShapeRef.new(shape: GenerateDataKeyPairResponse)
|
1261
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1262
|
+
o.errors << Shapes::ShapeRef.new(shape: DisabledException)
|
1263
|
+
o.errors << Shapes::ShapeRef.new(shape: KeyUnavailableException)
|
1264
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
1265
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidKeyUsageException)
|
1266
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
|
1267
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
1268
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
1269
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1270
|
+
o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
|
1271
|
+
end)
|
1272
|
+
|
1273
|
+
api.add_operation(:generate_data_key_pair_without_plaintext, Seahorse::Model::Operation.new.tap do |o|
|
1274
|
+
o.name = "GenerateDataKeyPairWithoutPlaintext"
|
1275
|
+
o.http_method = "POST"
|
1276
|
+
o.http_request_uri = "/"
|
1277
|
+
o.input = Shapes::ShapeRef.new(shape: GenerateDataKeyPairWithoutPlaintextRequest)
|
1278
|
+
o.output = Shapes::ShapeRef.new(shape: GenerateDataKeyPairWithoutPlaintextResponse)
|
1279
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1280
|
+
o.errors << Shapes::ShapeRef.new(shape: DisabledException)
|
1281
|
+
o.errors << Shapes::ShapeRef.new(shape: KeyUnavailableException)
|
1282
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
1283
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidKeyUsageException)
|
1284
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
|
1285
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
1286
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
1287
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1288
|
+
o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
|
911
1289
|
end)
|
912
1290
|
|
913
1291
|
api.add_operation(:generate_data_key_without_plaintext, Seahorse::Model::Operation.new.tap do |o|
|
@@ -924,6 +1302,23 @@ module Aws::KMS
|
|
924
1302
|
o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
|
925
1303
|
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
926
1304
|
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
1305
|
+
o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
|
1306
|
+
end)
|
1307
|
+
|
1308
|
+
api.add_operation(:generate_mac, Seahorse::Model::Operation.new.tap do |o|
|
1309
|
+
o.name = "GenerateMac"
|
1310
|
+
o.http_method = "POST"
|
1311
|
+
o.http_request_uri = "/"
|
1312
|
+
o.input = Shapes::ShapeRef.new(shape: GenerateMacRequest)
|
1313
|
+
o.output = Shapes::ShapeRef.new(shape: GenerateMacResponse)
|
1314
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1315
|
+
o.errors << Shapes::ShapeRef.new(shape: DisabledException)
|
1316
|
+
o.errors << Shapes::ShapeRef.new(shape: KeyUnavailableException)
|
1317
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidKeyUsageException)
|
1318
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
|
1319
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
1320
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
1321
|
+
o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
|
927
1322
|
end)
|
928
1323
|
|
929
1324
|
api.add_operation(:generate_random, Seahorse::Model::Operation.new.tap do |o|
|
@@ -934,6 +1329,7 @@ module Aws::KMS
|
|
934
1329
|
o.output = Shapes::ShapeRef.new(shape: GenerateRandomResponse)
|
935
1330
|
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
936
1331
|
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
1332
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
937
1333
|
o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreNotFoundException)
|
938
1334
|
o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreInvalidStateException)
|
939
1335
|
end)
|
@@ -979,6 +1375,24 @@ module Aws::KMS
|
|
979
1375
|
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
980
1376
|
end)
|
981
1377
|
|
1378
|
+
api.add_operation(:get_public_key, Seahorse::Model::Operation.new.tap do |o|
|
1379
|
+
o.name = "GetPublicKey"
|
1380
|
+
o.http_method = "POST"
|
1381
|
+
o.http_request_uri = "/"
|
1382
|
+
o.input = Shapes::ShapeRef.new(shape: GetPublicKeyRequest)
|
1383
|
+
o.output = Shapes::ShapeRef.new(shape: GetPublicKeyResponse)
|
1384
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1385
|
+
o.errors << Shapes::ShapeRef.new(shape: DisabledException)
|
1386
|
+
o.errors << Shapes::ShapeRef.new(shape: KeyUnavailableException)
|
1387
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
1388
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1389
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
1390
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
|
1391
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidKeyUsageException)
|
1392
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
1393
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
1394
|
+
end)
|
1395
|
+
|
982
1396
|
api.add_operation(:import_key_material, Seahorse::Model::Operation.new.tap do |o|
|
983
1397
|
o.name = "ImportKeyMaterial"
|
984
1398
|
o.http_method = "POST"
|
@@ -1009,7 +1423,6 @@ module Aws::KMS
|
|
1009
1423
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
1010
1424
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1011
1425
|
o[:pager] = Aws::Pager.new(
|
1012
|
-
more_results: "truncated",
|
1013
1426
|
limit_key: "limit",
|
1014
1427
|
tokens: {
|
1015
1428
|
"next_marker" => "marker"
|
@@ -1026,11 +1439,11 @@ module Aws::KMS
|
|
1026
1439
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1027
1440
|
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
1028
1441
|
o.errors << Shapes::ShapeRef.new(shape: InvalidMarkerException)
|
1442
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGrantIdException)
|
1029
1443
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
1030
1444
|
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
1031
1445
|
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
1032
1446
|
o[:pager] = Aws::Pager.new(
|
1033
|
-
more_results: "truncated",
|
1034
1447
|
limit_key: "limit",
|
1035
1448
|
tokens: {
|
1036
1449
|
"next_marker" => "marker"
|
@@ -1050,7 +1463,6 @@ module Aws::KMS
|
|
1050
1463
|
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
1051
1464
|
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
1052
1465
|
o[:pager] = Aws::Pager.new(
|
1053
|
-
more_results: "truncated",
|
1054
1466
|
limit_key: "limit",
|
1055
1467
|
tokens: {
|
1056
1468
|
"next_marker" => "marker"
|
@@ -1068,7 +1480,6 @@ module Aws::KMS
|
|
1068
1480
|
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
1069
1481
|
o.errors << Shapes::ShapeRef.new(shape: InvalidMarkerException)
|
1070
1482
|
o[:pager] = Aws::Pager.new(
|
1071
|
-
more_results: "truncated",
|
1072
1483
|
limit_key: "limit",
|
1073
1484
|
tokens: {
|
1074
1485
|
"next_marker" => "marker"
|
@@ -1086,6 +1497,12 @@ module Aws::KMS
|
|
1086
1497
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1087
1498
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
1088
1499
|
o.errors << Shapes::ShapeRef.new(shape: InvalidMarkerException)
|
1500
|
+
o[:pager] = Aws::Pager.new(
|
1501
|
+
limit_key: "limit",
|
1502
|
+
tokens: {
|
1503
|
+
"next_marker" => "marker"
|
1504
|
+
}
|
1505
|
+
)
|
1089
1506
|
end)
|
1090
1507
|
|
1091
1508
|
api.add_operation(:list_retirable_grants, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1099,6 +1516,12 @@ module Aws::KMS
|
|
1099
1516
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
1100
1517
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1101
1518
|
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
1519
|
+
o[:pager] = Aws::Pager.new(
|
1520
|
+
limit_key: "limit",
|
1521
|
+
tokens: {
|
1522
|
+
"next_marker" => "marker"
|
1523
|
+
}
|
1524
|
+
)
|
1102
1525
|
end)
|
1103
1526
|
|
1104
1527
|
api.add_operation(:put_key_policy, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1127,11 +1550,31 @@ module Aws::KMS
|
|
1127
1550
|
o.errors << Shapes::ShapeRef.new(shape: DisabledException)
|
1128
1551
|
o.errors << Shapes::ShapeRef.new(shape: InvalidCiphertextException)
|
1129
1552
|
o.errors << Shapes::ShapeRef.new(shape: KeyUnavailableException)
|
1553
|
+
o.errors << Shapes::ShapeRef.new(shape: IncorrectKeyException)
|
1130
1554
|
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
1131
1555
|
o.errors << Shapes::ShapeRef.new(shape: InvalidKeyUsageException)
|
1132
1556
|
o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
|
1133
1557
|
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
1134
1558
|
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
1559
|
+
o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
|
1560
|
+
end)
|
1561
|
+
|
1562
|
+
api.add_operation(:replicate_key, Seahorse::Model::Operation.new.tap do |o|
|
1563
|
+
o.name = "ReplicateKey"
|
1564
|
+
o.http_method = "POST"
|
1565
|
+
o.http_request_uri = "/"
|
1566
|
+
o.input = Shapes::ShapeRef.new(shape: ReplicateKeyRequest)
|
1567
|
+
o.output = Shapes::ShapeRef.new(shape: ReplicateKeyResponse)
|
1568
|
+
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
|
1569
|
+
o.errors << Shapes::ShapeRef.new(shape: DisabledException)
|
1570
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
1571
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
1572
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
1573
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1574
|
+
o.errors << Shapes::ShapeRef.new(shape: MalformedPolicyDocumentException)
|
1575
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1576
|
+
o.errors << Shapes::ShapeRef.new(shape: TagException)
|
1577
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1135
1578
|
end)
|
1136
1579
|
|
1137
1580
|
api.add_operation(:retire_grant, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1147,6 +1590,7 @@ module Aws::KMS
|
|
1147
1590
|
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
1148
1591
|
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
1149
1592
|
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
1593
|
+
o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
|
1150
1594
|
end)
|
1151
1595
|
|
1152
1596
|
api.add_operation(:revoke_grant, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1161,6 +1605,7 @@ module Aws::KMS
|
|
1161
1605
|
o.errors << Shapes::ShapeRef.new(shape: InvalidGrantIdException)
|
1162
1606
|
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
1163
1607
|
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
1608
|
+
o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
|
1164
1609
|
end)
|
1165
1610
|
|
1166
1611
|
api.add_operation(:schedule_key_deletion, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1176,6 +1621,23 @@ module Aws::KMS
|
|
1176
1621
|
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
1177
1622
|
end)
|
1178
1623
|
|
1624
|
+
api.add_operation(:sign, Seahorse::Model::Operation.new.tap do |o|
|
1625
|
+
o.name = "Sign"
|
1626
|
+
o.http_method = "POST"
|
1627
|
+
o.http_request_uri = "/"
|
1628
|
+
o.input = Shapes::ShapeRef.new(shape: SignRequest)
|
1629
|
+
o.output = Shapes::ShapeRef.new(shape: SignResponse)
|
1630
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1631
|
+
o.errors << Shapes::ShapeRef.new(shape: DisabledException)
|
1632
|
+
o.errors << Shapes::ShapeRef.new(shape: KeyUnavailableException)
|
1633
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
1634
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidKeyUsageException)
|
1635
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
|
1636
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
1637
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
1638
|
+
o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
|
1639
|
+
end)
|
1640
|
+
|
1179
1641
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
1180
1642
|
o.name = "TagResource"
|
1181
1643
|
o.http_method = "POST"
|
@@ -1212,6 +1674,7 @@ module Aws::KMS
|
|
1212
1674
|
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
1213
1675
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1214
1676
|
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
1677
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1215
1678
|
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
1216
1679
|
end)
|
1217
1680
|
|
@@ -1222,12 +1685,22 @@ module Aws::KMS
|
|
1222
1685
|
o.input = Shapes::ShapeRef.new(shape: UpdateCustomKeyStoreRequest)
|
1223
1686
|
o.output = Shapes::ShapeRef.new(shape: UpdateCustomKeyStoreResponse)
|
1224
1687
|
o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreNotFoundException)
|
1688
|
+
o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreNameInUseException)
|
1225
1689
|
o.errors << Shapes::ShapeRef.new(shape: CloudHsmClusterNotFoundException)
|
1226
1690
|
o.errors << Shapes::ShapeRef.new(shape: CloudHsmClusterNotRelatedException)
|
1227
1691
|
o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreInvalidStateException)
|
1228
1692
|
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
1229
1693
|
o.errors << Shapes::ShapeRef.new(shape: CloudHsmClusterNotActiveException)
|
1230
1694
|
o.errors << Shapes::ShapeRef.new(shape: CloudHsmClusterInvalidConfigurationException)
|
1695
|
+
o.errors << Shapes::ShapeRef.new(shape: XksProxyUriInUseException)
|
1696
|
+
o.errors << Shapes::ShapeRef.new(shape: XksProxyUriEndpointInUseException)
|
1697
|
+
o.errors << Shapes::ShapeRef.new(shape: XksProxyUriUnreachableException)
|
1698
|
+
o.errors << Shapes::ShapeRef.new(shape: XksProxyIncorrectAuthenticationCredentialException)
|
1699
|
+
o.errors << Shapes::ShapeRef.new(shape: XksProxyVpcEndpointServiceInUseException)
|
1700
|
+
o.errors << Shapes::ShapeRef.new(shape: XksProxyVpcEndpointServiceNotFoundException)
|
1701
|
+
o.errors << Shapes::ShapeRef.new(shape: XksProxyVpcEndpointServiceInvalidConfigurationException)
|
1702
|
+
o.errors << Shapes::ShapeRef.new(shape: XksProxyInvalidResponseException)
|
1703
|
+
o.errors << Shapes::ShapeRef.new(shape: XksProxyInvalidConfigurationException)
|
1231
1704
|
end)
|
1232
1705
|
|
1233
1706
|
api.add_operation(:update_key_description, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1242,6 +1715,55 @@ module Aws::KMS
|
|
1242
1715
|
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
1243
1716
|
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
1244
1717
|
end)
|
1718
|
+
|
1719
|
+
api.add_operation(:update_primary_region, Seahorse::Model::Operation.new.tap do |o|
|
1720
|
+
o.name = "UpdatePrimaryRegion"
|
1721
|
+
o.http_method = "POST"
|
1722
|
+
o.http_request_uri = "/"
|
1723
|
+
o.input = Shapes::ShapeRef.new(shape: UpdatePrimaryRegionRequest)
|
1724
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1725
|
+
o.errors << Shapes::ShapeRef.new(shape: DisabledException)
|
1726
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
1727
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
1728
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
1729
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1730
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1731
|
+
end)
|
1732
|
+
|
1733
|
+
api.add_operation(:verify, Seahorse::Model::Operation.new.tap do |o|
|
1734
|
+
o.name = "Verify"
|
1735
|
+
o.http_method = "POST"
|
1736
|
+
o.http_request_uri = "/"
|
1737
|
+
o.input = Shapes::ShapeRef.new(shape: VerifyRequest)
|
1738
|
+
o.output = Shapes::ShapeRef.new(shape: VerifyResponse)
|
1739
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1740
|
+
o.errors << Shapes::ShapeRef.new(shape: DisabledException)
|
1741
|
+
o.errors << Shapes::ShapeRef.new(shape: KeyUnavailableException)
|
1742
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
1743
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidKeyUsageException)
|
1744
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
|
1745
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
1746
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
1747
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidSignatureException)
|
1748
|
+
o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
|
1749
|
+
end)
|
1750
|
+
|
1751
|
+
api.add_operation(:verify_mac, Seahorse::Model::Operation.new.tap do |o|
|
1752
|
+
o.name = "VerifyMac"
|
1753
|
+
o.http_method = "POST"
|
1754
|
+
o.http_request_uri = "/"
|
1755
|
+
o.input = Shapes::ShapeRef.new(shape: VerifyMacRequest)
|
1756
|
+
o.output = Shapes::ShapeRef.new(shape: VerifyMacResponse)
|
1757
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1758
|
+
o.errors << Shapes::ShapeRef.new(shape: DisabledException)
|
1759
|
+
o.errors << Shapes::ShapeRef.new(shape: KeyUnavailableException)
|
1760
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidKeyUsageException)
|
1761
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
|
1762
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
1763
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidMacException)
|
1764
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
1765
|
+
o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
|
1766
|
+
end)
|
1245
1767
|
end
|
1246
1768
|
|
1247
1769
|
end
|