aws-sdk-kms 1.3.0 → 1.88.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.
@@ -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/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
7
  #
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
@@ -18,42 +20,84 @@ 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')
24
27
  CiphertextType = Shapes::BlobShape.new(name: 'CiphertextType')
28
+ CloudHsmClusterIdType = Shapes::StringShape.new(name: 'CloudHsmClusterIdType')
29
+ CloudHsmClusterInUseException = Shapes::StructureShape.new(name: 'CloudHsmClusterInUseException')
30
+ CloudHsmClusterInvalidConfigurationException = Shapes::StructureShape.new(name: 'CloudHsmClusterInvalidConfigurationException')
31
+ CloudHsmClusterNotActiveException = Shapes::StructureShape.new(name: 'CloudHsmClusterNotActiveException')
32
+ CloudHsmClusterNotFoundException = Shapes::StructureShape.new(name: 'CloudHsmClusterNotFoundException')
33
+ CloudHsmClusterNotRelatedException = Shapes::StructureShape.new(name: 'CloudHsmClusterNotRelatedException')
34
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
35
+ ConnectCustomKeyStoreRequest = Shapes::StructureShape.new(name: 'ConnectCustomKeyStoreRequest')
36
+ ConnectCustomKeyStoreResponse = Shapes::StructureShape.new(name: 'ConnectCustomKeyStoreResponse')
37
+ ConnectionErrorCodeType = Shapes::StringShape.new(name: 'ConnectionErrorCodeType')
38
+ ConnectionStateType = Shapes::StringShape.new(name: 'ConnectionStateType')
25
39
  CreateAliasRequest = Shapes::StructureShape.new(name: 'CreateAliasRequest')
40
+ CreateCustomKeyStoreRequest = Shapes::StructureShape.new(name: 'CreateCustomKeyStoreRequest')
41
+ CreateCustomKeyStoreResponse = Shapes::StructureShape.new(name: 'CreateCustomKeyStoreResponse')
26
42
  CreateGrantRequest = Shapes::StructureShape.new(name: 'CreateGrantRequest')
27
43
  CreateGrantResponse = Shapes::StructureShape.new(name: 'CreateGrantResponse')
28
44
  CreateKeyRequest = Shapes::StructureShape.new(name: 'CreateKeyRequest')
29
45
  CreateKeyResponse = Shapes::StructureShape.new(name: 'CreateKeyResponse')
46
+ CustomKeyStoreHasCMKsException = Shapes::StructureShape.new(name: 'CustomKeyStoreHasCMKsException')
47
+ CustomKeyStoreIdType = Shapes::StringShape.new(name: 'CustomKeyStoreIdType')
48
+ CustomKeyStoreInvalidStateException = Shapes::StructureShape.new(name: 'CustomKeyStoreInvalidStateException')
49
+ CustomKeyStoreNameInUseException = Shapes::StructureShape.new(name: 'CustomKeyStoreNameInUseException')
50
+ CustomKeyStoreNameType = Shapes::StringShape.new(name: 'CustomKeyStoreNameType')
51
+ CustomKeyStoreNotFoundException = Shapes::StructureShape.new(name: 'CustomKeyStoreNotFoundException')
52
+ CustomKeyStoreType = Shapes::StringShape.new(name: 'CustomKeyStoreType')
53
+ CustomKeyStoresList = Shapes::ListShape.new(name: 'CustomKeyStoresList')
54
+ CustomKeyStoresListEntry = Shapes::StructureShape.new(name: 'CustomKeyStoresListEntry')
55
+ CustomerMasterKeySpec = Shapes::StringShape.new(name: 'CustomerMasterKeySpec')
56
+ DataKeyPairSpec = Shapes::StringShape.new(name: 'DataKeyPairSpec')
30
57
  DataKeySpec = Shapes::StringShape.new(name: 'DataKeySpec')
31
58
  DateType = Shapes::TimestampShape.new(name: 'DateType')
32
59
  DecryptRequest = Shapes::StructureShape.new(name: 'DecryptRequest')
33
60
  DecryptResponse = Shapes::StructureShape.new(name: 'DecryptResponse')
34
61
  DeleteAliasRequest = Shapes::StructureShape.new(name: 'DeleteAliasRequest')
62
+ DeleteCustomKeyStoreRequest = Shapes::StructureShape.new(name: 'DeleteCustomKeyStoreRequest')
63
+ DeleteCustomKeyStoreResponse = Shapes::StructureShape.new(name: 'DeleteCustomKeyStoreResponse')
35
64
  DeleteImportedKeyMaterialRequest = Shapes::StructureShape.new(name: 'DeleteImportedKeyMaterialRequest')
36
65
  DependencyTimeoutException = Shapes::StructureShape.new(name: 'DependencyTimeoutException')
66
+ DeriveSharedSecretRequest = Shapes::StructureShape.new(name: 'DeriveSharedSecretRequest')
67
+ DeriveSharedSecretResponse = Shapes::StructureShape.new(name: 'DeriveSharedSecretResponse')
68
+ DescribeCustomKeyStoresRequest = Shapes::StructureShape.new(name: 'DescribeCustomKeyStoresRequest')
69
+ DescribeCustomKeyStoresResponse = Shapes::StructureShape.new(name: 'DescribeCustomKeyStoresResponse')
37
70
  DescribeKeyRequest = Shapes::StructureShape.new(name: 'DescribeKeyRequest')
38
71
  DescribeKeyResponse = Shapes::StructureShape.new(name: 'DescribeKeyResponse')
39
72
  DescriptionType = Shapes::StringShape.new(name: 'DescriptionType')
40
73
  DisableKeyRequest = Shapes::StructureShape.new(name: 'DisableKeyRequest')
41
74
  DisableKeyRotationRequest = Shapes::StructureShape.new(name: 'DisableKeyRotationRequest')
42
75
  DisabledException = Shapes::StructureShape.new(name: 'DisabledException')
76
+ DisconnectCustomKeyStoreRequest = Shapes::StructureShape.new(name: 'DisconnectCustomKeyStoreRequest')
77
+ DisconnectCustomKeyStoreResponse = Shapes::StructureShape.new(name: 'DisconnectCustomKeyStoreResponse')
78
+ DryRunOperationException = Shapes::StructureShape.new(name: 'DryRunOperationException')
43
79
  EnableKeyRequest = Shapes::StructureShape.new(name: 'EnableKeyRequest')
44
80
  EnableKeyRotationRequest = Shapes::StructureShape.new(name: 'EnableKeyRotationRequest')
45
81
  EncryptRequest = Shapes::StructureShape.new(name: 'EncryptRequest')
46
82
  EncryptResponse = Shapes::StructureShape.new(name: 'EncryptResponse')
83
+ EncryptionAlgorithmSpec = Shapes::StringShape.new(name: 'EncryptionAlgorithmSpec')
84
+ EncryptionAlgorithmSpecList = Shapes::ListShape.new(name: 'EncryptionAlgorithmSpecList')
47
85
  EncryptionContextKey = Shapes::StringShape.new(name: 'EncryptionContextKey')
48
86
  EncryptionContextType = Shapes::MapShape.new(name: 'EncryptionContextType')
49
87
  EncryptionContextValue = Shapes::StringShape.new(name: 'EncryptionContextValue')
50
88
  ErrorMessageType = Shapes::StringShape.new(name: 'ErrorMessageType')
51
89
  ExpirationModelType = Shapes::StringShape.new(name: 'ExpirationModelType')
52
90
  ExpiredImportTokenException = Shapes::StructureShape.new(name: 'ExpiredImportTokenException')
91
+ GenerateDataKeyPairRequest = Shapes::StructureShape.new(name: 'GenerateDataKeyPairRequest')
92
+ GenerateDataKeyPairResponse = Shapes::StructureShape.new(name: 'GenerateDataKeyPairResponse')
93
+ GenerateDataKeyPairWithoutPlaintextRequest = Shapes::StructureShape.new(name: 'GenerateDataKeyPairWithoutPlaintextRequest')
94
+ GenerateDataKeyPairWithoutPlaintextResponse = Shapes::StructureShape.new(name: 'GenerateDataKeyPairWithoutPlaintextResponse')
53
95
  GenerateDataKeyRequest = Shapes::StructureShape.new(name: 'GenerateDataKeyRequest')
54
96
  GenerateDataKeyResponse = Shapes::StructureShape.new(name: 'GenerateDataKeyResponse')
55
97
  GenerateDataKeyWithoutPlaintextRequest = Shapes::StructureShape.new(name: 'GenerateDataKeyWithoutPlaintextRequest')
56
98
  GenerateDataKeyWithoutPlaintextResponse = Shapes::StructureShape.new(name: 'GenerateDataKeyWithoutPlaintextResponse')
99
+ GenerateMacRequest = Shapes::StructureShape.new(name: 'GenerateMacRequest')
100
+ GenerateMacResponse = Shapes::StructureShape.new(name: 'GenerateMacResponse')
57
101
  GenerateRandomRequest = Shapes::StructureShape.new(name: 'GenerateRandomRequest')
58
102
  GenerateRandomResponse = Shapes::StructureShape.new(name: 'GenerateRandomResponse')
59
103
  GetKeyPolicyRequest = Shapes::StructureShape.new(name: 'GetKeyPolicyRequest')
@@ -62,6 +106,8 @@ module Aws::KMS
62
106
  GetKeyRotationStatusResponse = Shapes::StructureShape.new(name: 'GetKeyRotationStatusResponse')
63
107
  GetParametersForImportRequest = Shapes::StructureShape.new(name: 'GetParametersForImportRequest')
64
108
  GetParametersForImportResponse = Shapes::StructureShape.new(name: 'GetParametersForImportResponse')
109
+ GetPublicKeyRequest = Shapes::StructureShape.new(name: 'GetPublicKeyRequest')
110
+ GetPublicKeyResponse = Shapes::StructureShape.new(name: 'GetPublicKeyResponse')
65
111
  GrantConstraints = Shapes::StructureShape.new(name: 'GrantConstraints')
66
112
  GrantIdType = Shapes::StringShape.new(name: 'GrantIdType')
67
113
  GrantList = Shapes::ListShape.new(name: 'GrantList')
@@ -73,7 +119,9 @@ module Aws::KMS
73
119
  GrantTokenType = Shapes::StringShape.new(name: 'GrantTokenType')
74
120
  ImportKeyMaterialRequest = Shapes::StructureShape.new(name: 'ImportKeyMaterialRequest')
75
121
  ImportKeyMaterialResponse = Shapes::StructureShape.new(name: 'ImportKeyMaterialResponse')
122
+ IncorrectKeyException = Shapes::StructureShape.new(name: 'IncorrectKeyException')
76
123
  IncorrectKeyMaterialException = Shapes::StructureShape.new(name: 'IncorrectKeyMaterialException')
124
+ IncorrectTrustAnchorException = Shapes::StructureShape.new(name: 'IncorrectTrustAnchorException')
77
125
  InvalidAliasNameException = Shapes::StructureShape.new(name: 'InvalidAliasNameException')
78
126
  InvalidArnException = Shapes::StructureShape.new(name: 'InvalidArnException')
79
127
  InvalidCiphertextException = Shapes::StructureShape.new(name: 'InvalidCiphertextException')
@@ -83,13 +131,20 @@ module Aws::KMS
83
131
  InvalidKeyUsageException = Shapes::StructureShape.new(name: 'InvalidKeyUsageException')
84
132
  InvalidMarkerException = Shapes::StructureShape.new(name: 'InvalidMarkerException')
85
133
  KMSInternalException = Shapes::StructureShape.new(name: 'KMSInternalException')
134
+ KMSInvalidMacException = Shapes::StructureShape.new(name: 'KMSInvalidMacException')
135
+ KMSInvalidSignatureException = Shapes::StructureShape.new(name: 'KMSInvalidSignatureException')
86
136
  KMSInvalidStateException = Shapes::StructureShape.new(name: 'KMSInvalidStateException')
137
+ KeyAgreementAlgorithmSpec = Shapes::StringShape.new(name: 'KeyAgreementAlgorithmSpec')
138
+ KeyAgreementAlgorithmSpecList = Shapes::ListShape.new(name: 'KeyAgreementAlgorithmSpecList')
139
+ KeyEncryptionMechanism = Shapes::StringShape.new(name: 'KeyEncryptionMechanism')
87
140
  KeyIdType = Shapes::StringShape.new(name: 'KeyIdType')
88
141
  KeyList = Shapes::ListShape.new(name: 'KeyList')
89
142
  KeyListEntry = Shapes::StructureShape.new(name: 'KeyListEntry')
90
143
  KeyManagerType = Shapes::StringShape.new(name: 'KeyManagerType')
91
144
  KeyMetadata = Shapes::StructureShape.new(name: 'KeyMetadata')
145
+ KeySpec = Shapes::StringShape.new(name: 'KeySpec')
92
146
  KeyState = Shapes::StringShape.new(name: 'KeyState')
147
+ KeyStorePasswordType = Shapes::StringShape.new(name: 'KeyStorePasswordType')
93
148
  KeyUnavailableException = Shapes::StructureShape.new(name: 'KeyUnavailableException')
94
149
  KeyUsageType = Shapes::StringShape.new(name: 'KeyUsageType')
95
150
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
@@ -100,14 +155,24 @@ module Aws::KMS
100
155
  ListGrantsResponse = Shapes::StructureShape.new(name: 'ListGrantsResponse')
101
156
  ListKeyPoliciesRequest = Shapes::StructureShape.new(name: 'ListKeyPoliciesRequest')
102
157
  ListKeyPoliciesResponse = Shapes::StructureShape.new(name: 'ListKeyPoliciesResponse')
158
+ ListKeyRotationsRequest = Shapes::StructureShape.new(name: 'ListKeyRotationsRequest')
159
+ ListKeyRotationsResponse = Shapes::StructureShape.new(name: 'ListKeyRotationsResponse')
103
160
  ListKeysRequest = Shapes::StructureShape.new(name: 'ListKeysRequest')
104
161
  ListKeysResponse = Shapes::StructureShape.new(name: 'ListKeysResponse')
105
162
  ListResourceTagsRequest = Shapes::StructureShape.new(name: 'ListResourceTagsRequest')
106
163
  ListResourceTagsResponse = Shapes::StructureShape.new(name: 'ListResourceTagsResponse')
107
164
  ListRetirableGrantsRequest = Shapes::StructureShape.new(name: 'ListRetirableGrantsRequest')
165
+ MacAlgorithmSpec = Shapes::StringShape.new(name: 'MacAlgorithmSpec')
166
+ MacAlgorithmSpecList = Shapes::ListShape.new(name: 'MacAlgorithmSpecList')
108
167
  MalformedPolicyDocumentException = Shapes::StructureShape.new(name: 'MalformedPolicyDocumentException')
109
168
  MarkerType = Shapes::StringShape.new(name: 'MarkerType')
169
+ MessageType = Shapes::StringShape.new(name: 'MessageType')
170
+ MultiRegionConfiguration = Shapes::StructureShape.new(name: 'MultiRegionConfiguration')
171
+ MultiRegionKey = Shapes::StructureShape.new(name: 'MultiRegionKey')
172
+ MultiRegionKeyList = Shapes::ListShape.new(name: 'MultiRegionKeyList')
173
+ MultiRegionKeyType = Shapes::StringShape.new(name: 'MultiRegionKeyType')
110
174
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
175
+ NullableBooleanType = Shapes::BooleanShape.new(name: 'NullableBooleanType')
111
176
  NumberOfBytesType = Shapes::IntegerShape.new(name: 'NumberOfBytesType')
112
177
  OriginType = Shapes::StringShape.new(name: 'OriginType')
113
178
  PendingWindowInDaysType = Shapes::IntegerShape.new(name: 'PendingWindowInDaysType')
@@ -116,13 +181,28 @@ module Aws::KMS
116
181
  PolicyNameType = Shapes::StringShape.new(name: 'PolicyNameType')
117
182
  PolicyType = Shapes::StringShape.new(name: 'PolicyType')
118
183
  PrincipalIdType = Shapes::StringShape.new(name: 'PrincipalIdType')
184
+ PublicKeyType = Shapes::BlobShape.new(name: 'PublicKeyType')
119
185
  PutKeyPolicyRequest = Shapes::StructureShape.new(name: 'PutKeyPolicyRequest')
120
186
  ReEncryptRequest = Shapes::StructureShape.new(name: 'ReEncryptRequest')
121
187
  ReEncryptResponse = Shapes::StructureShape.new(name: 'ReEncryptResponse')
188
+ RecipientInfo = Shapes::StructureShape.new(name: 'RecipientInfo')
189
+ RegionType = Shapes::StringShape.new(name: 'RegionType')
190
+ ReplicateKeyRequest = Shapes::StructureShape.new(name: 'ReplicateKeyRequest')
191
+ ReplicateKeyResponse = Shapes::StructureShape.new(name: 'ReplicateKeyResponse')
122
192
  RetireGrantRequest = Shapes::StructureShape.new(name: 'RetireGrantRequest')
123
193
  RevokeGrantRequest = Shapes::StructureShape.new(name: 'RevokeGrantRequest')
194
+ RotateKeyOnDemandRequest = Shapes::StructureShape.new(name: 'RotateKeyOnDemandRequest')
195
+ RotateKeyOnDemandResponse = Shapes::StructureShape.new(name: 'RotateKeyOnDemandResponse')
196
+ RotationPeriodInDaysType = Shapes::IntegerShape.new(name: 'RotationPeriodInDaysType')
197
+ RotationType = Shapes::StringShape.new(name: 'RotationType')
198
+ RotationsList = Shapes::ListShape.new(name: 'RotationsList')
199
+ RotationsListEntry = Shapes::StructureShape.new(name: 'RotationsListEntry')
124
200
  ScheduleKeyDeletionRequest = Shapes::StructureShape.new(name: 'ScheduleKeyDeletionRequest')
125
201
  ScheduleKeyDeletionResponse = Shapes::StructureShape.new(name: 'ScheduleKeyDeletionResponse')
202
+ SignRequest = Shapes::StructureShape.new(name: 'SignRequest')
203
+ SignResponse = Shapes::StructureShape.new(name: 'SignResponse')
204
+ SigningAlgorithmSpec = Shapes::StringShape.new(name: 'SigningAlgorithmSpec')
205
+ SigningAlgorithmSpecList = Shapes::ListShape.new(name: 'SigningAlgorithmSpecList')
126
206
  Tag = Shapes::StructureShape.new(name: 'Tag')
127
207
  TagException = Shapes::StructureShape.new(name: 'TagException')
128
208
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
@@ -130,29 +210,102 @@ module Aws::KMS
130
210
  TagList = Shapes::ListShape.new(name: 'TagList')
131
211
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
132
212
  TagValueType = Shapes::StringShape.new(name: 'TagValueType')
213
+ TrustAnchorCertificateType = Shapes::StringShape.new(name: 'TrustAnchorCertificateType')
133
214
  UnsupportedOperationException = Shapes::StructureShape.new(name: 'UnsupportedOperationException')
134
215
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
135
216
  UpdateAliasRequest = Shapes::StructureShape.new(name: 'UpdateAliasRequest')
217
+ UpdateCustomKeyStoreRequest = Shapes::StructureShape.new(name: 'UpdateCustomKeyStoreRequest')
218
+ UpdateCustomKeyStoreResponse = Shapes::StructureShape.new(name: 'UpdateCustomKeyStoreResponse')
136
219
  UpdateKeyDescriptionRequest = Shapes::StructureShape.new(name: 'UpdateKeyDescriptionRequest')
220
+ UpdatePrimaryRegionRequest = Shapes::StructureShape.new(name: 'UpdatePrimaryRegionRequest')
221
+ VerifyMacRequest = Shapes::StructureShape.new(name: 'VerifyMacRequest')
222
+ VerifyMacResponse = Shapes::StructureShape.new(name: 'VerifyMacResponse')
223
+ VerifyRequest = Shapes::StructureShape.new(name: 'VerifyRequest')
224
+ VerifyResponse = Shapes::StructureShape.new(name: 'VerifyResponse')
137
225
  WrappingKeySpec = Shapes::StringShape.new(name: 'WrappingKeySpec')
226
+ XksKeyAlreadyInUseException = Shapes::StructureShape.new(name: 'XksKeyAlreadyInUseException')
227
+ XksKeyConfigurationType = Shapes::StructureShape.new(name: 'XksKeyConfigurationType')
228
+ XksKeyIdType = Shapes::StringShape.new(name: 'XksKeyIdType')
229
+ XksKeyInvalidConfigurationException = Shapes::StructureShape.new(name: 'XksKeyInvalidConfigurationException')
230
+ XksKeyNotFoundException = Shapes::StructureShape.new(name: 'XksKeyNotFoundException')
231
+ XksProxyAuthenticationAccessKeyIdType = Shapes::StringShape.new(name: 'XksProxyAuthenticationAccessKeyIdType')
232
+ XksProxyAuthenticationCredentialType = Shapes::StructureShape.new(name: 'XksProxyAuthenticationCredentialType')
233
+ XksProxyAuthenticationRawSecretAccessKeyType = Shapes::StringShape.new(name: 'XksProxyAuthenticationRawSecretAccessKeyType')
234
+ XksProxyConfigurationType = Shapes::StructureShape.new(name: 'XksProxyConfigurationType')
235
+ XksProxyConnectivityType = Shapes::StringShape.new(name: 'XksProxyConnectivityType')
236
+ XksProxyIncorrectAuthenticationCredentialException = Shapes::StructureShape.new(name: 'XksProxyIncorrectAuthenticationCredentialException')
237
+ XksProxyInvalidConfigurationException = Shapes::StructureShape.new(name: 'XksProxyInvalidConfigurationException')
238
+ XksProxyInvalidResponseException = Shapes::StructureShape.new(name: 'XksProxyInvalidResponseException')
239
+ XksProxyUriEndpointInUseException = Shapes::StructureShape.new(name: 'XksProxyUriEndpointInUseException')
240
+ XksProxyUriEndpointType = Shapes::StringShape.new(name: 'XksProxyUriEndpointType')
241
+ XksProxyUriInUseException = Shapes::StructureShape.new(name: 'XksProxyUriInUseException')
242
+ XksProxyUriPathType = Shapes::StringShape.new(name: 'XksProxyUriPathType')
243
+ XksProxyUriUnreachableException = Shapes::StructureShape.new(name: 'XksProxyUriUnreachableException')
244
+ XksProxyVpcEndpointServiceInUseException = Shapes::StructureShape.new(name: 'XksProxyVpcEndpointServiceInUseException')
245
+ XksProxyVpcEndpointServiceInvalidConfigurationException = Shapes::StructureShape.new(name: 'XksProxyVpcEndpointServiceInvalidConfigurationException')
246
+ XksProxyVpcEndpointServiceNameType = Shapes::StringShape.new(name: 'XksProxyVpcEndpointServiceNameType')
247
+ XksProxyVpcEndpointServiceNotFoundException = Shapes::StructureShape.new(name: 'XksProxyVpcEndpointServiceNotFoundException')
138
248
 
139
249
  AliasList.member = Shapes::ShapeRef.new(shape: AliasListEntry)
140
250
 
141
251
  AliasListEntry.add_member(:alias_name, Shapes::ShapeRef.new(shape: AliasNameType, location_name: "AliasName"))
142
252
  AliasListEntry.add_member(:alias_arn, Shapes::ShapeRef.new(shape: ArnType, location_name: "AliasArn"))
143
253
  AliasListEntry.add_member(:target_key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "TargetKeyId"))
254
+ AliasListEntry.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "CreationDate"))
255
+ AliasListEntry.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: DateType, location_name: "LastUpdatedDate"))
144
256
  AliasListEntry.struct_class = Types::AliasListEntry
145
257
 
258
+ AlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
259
+ AlreadyExistsException.struct_class = Types::AlreadyExistsException
260
+
146
261
  CancelKeyDeletionRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
147
262
  CancelKeyDeletionRequest.struct_class = Types::CancelKeyDeletionRequest
148
263
 
149
264
  CancelKeyDeletionResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
150
265
  CancelKeyDeletionResponse.struct_class = Types::CancelKeyDeletionResponse
151
266
 
267
+ CloudHsmClusterInUseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
268
+ CloudHsmClusterInUseException.struct_class = Types::CloudHsmClusterInUseException
269
+
270
+ CloudHsmClusterInvalidConfigurationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
271
+ CloudHsmClusterInvalidConfigurationException.struct_class = Types::CloudHsmClusterInvalidConfigurationException
272
+
273
+ CloudHsmClusterNotActiveException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
274
+ CloudHsmClusterNotActiveException.struct_class = Types::CloudHsmClusterNotActiveException
275
+
276
+ CloudHsmClusterNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
277
+ CloudHsmClusterNotFoundException.struct_class = Types::CloudHsmClusterNotFoundException
278
+
279
+ CloudHsmClusterNotRelatedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
280
+ CloudHsmClusterNotRelatedException.struct_class = Types::CloudHsmClusterNotRelatedException
281
+
282
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
283
+ ConflictException.struct_class = Types::ConflictException
284
+
285
+ ConnectCustomKeyStoreRequest.add_member(:custom_key_store_id, Shapes::ShapeRef.new(shape: CustomKeyStoreIdType, required: true, location_name: "CustomKeyStoreId"))
286
+ ConnectCustomKeyStoreRequest.struct_class = Types::ConnectCustomKeyStoreRequest
287
+
288
+ ConnectCustomKeyStoreResponse.struct_class = Types::ConnectCustomKeyStoreResponse
289
+
152
290
  CreateAliasRequest.add_member(:alias_name, Shapes::ShapeRef.new(shape: AliasNameType, required: true, location_name: "AliasName"))
153
291
  CreateAliasRequest.add_member(:target_key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "TargetKeyId"))
154
292
  CreateAliasRequest.struct_class = Types::CreateAliasRequest
155
293
 
294
+ CreateCustomKeyStoreRequest.add_member(:custom_key_store_name, Shapes::ShapeRef.new(shape: CustomKeyStoreNameType, required: true, location_name: "CustomKeyStoreName"))
295
+ CreateCustomKeyStoreRequest.add_member(:cloud_hsm_cluster_id, Shapes::ShapeRef.new(shape: CloudHsmClusterIdType, location_name: "CloudHsmClusterId"))
296
+ CreateCustomKeyStoreRequest.add_member(:trust_anchor_certificate, Shapes::ShapeRef.new(shape: TrustAnchorCertificateType, location_name: "TrustAnchorCertificate"))
297
+ CreateCustomKeyStoreRequest.add_member(:key_store_password, Shapes::ShapeRef.new(shape: KeyStorePasswordType, location_name: "KeyStorePassword"))
298
+ CreateCustomKeyStoreRequest.add_member(:custom_key_store_type, Shapes::ShapeRef.new(shape: CustomKeyStoreType, location_name: "CustomKeyStoreType"))
299
+ CreateCustomKeyStoreRequest.add_member(:xks_proxy_uri_endpoint, Shapes::ShapeRef.new(shape: XksProxyUriEndpointType, location_name: "XksProxyUriEndpoint"))
300
+ CreateCustomKeyStoreRequest.add_member(:xks_proxy_uri_path, Shapes::ShapeRef.new(shape: XksProxyUriPathType, location_name: "XksProxyUriPath"))
301
+ CreateCustomKeyStoreRequest.add_member(:xks_proxy_vpc_endpoint_service_name, Shapes::ShapeRef.new(shape: XksProxyVpcEndpointServiceNameType, location_name: "XksProxyVpcEndpointServiceName"))
302
+ CreateCustomKeyStoreRequest.add_member(:xks_proxy_authentication_credential, Shapes::ShapeRef.new(shape: XksProxyAuthenticationCredentialType, location_name: "XksProxyAuthenticationCredential"))
303
+ CreateCustomKeyStoreRequest.add_member(:xks_proxy_connectivity, Shapes::ShapeRef.new(shape: XksProxyConnectivityType, location_name: "XksProxyConnectivity"))
304
+ CreateCustomKeyStoreRequest.struct_class = Types::CreateCustomKeyStoreRequest
305
+
306
+ CreateCustomKeyStoreResponse.add_member(:custom_key_store_id, Shapes::ShapeRef.new(shape: CustomKeyStoreIdType, location_name: "CustomKeyStoreId"))
307
+ CreateCustomKeyStoreResponse.struct_class = Types::CreateCustomKeyStoreResponse
308
+
156
309
  CreateGrantRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
157
310
  CreateGrantRequest.add_member(:grantee_principal, Shapes::ShapeRef.new(shape: PrincipalIdType, required: true, location_name: "GranteePrincipal"))
158
311
  CreateGrantRequest.add_member(:retiring_principal, Shapes::ShapeRef.new(shape: PrincipalIdType, location_name: "RetiringPrincipal"))
@@ -160,6 +313,7 @@ module Aws::KMS
160
313
  CreateGrantRequest.add_member(:constraints, Shapes::ShapeRef.new(shape: GrantConstraints, location_name: "Constraints"))
161
314
  CreateGrantRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
162
315
  CreateGrantRequest.add_member(:name, Shapes::ShapeRef.new(shape: GrantNameType, location_name: "Name"))
316
+ CreateGrantRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
163
317
  CreateGrantRequest.struct_class = Types::CreateGrantRequest
164
318
 
165
319
  CreateGrantResponse.add_member(:grant_token, Shapes::ShapeRef.new(shape: GrantTokenType, location_name: "GrantToken"))
@@ -169,29 +323,99 @@ module Aws::KMS
169
323
  CreateKeyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: PolicyType, location_name: "Policy"))
170
324
  CreateKeyRequest.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionType, location_name: "Description"))
171
325
  CreateKeyRequest.add_member(:key_usage, Shapes::ShapeRef.new(shape: KeyUsageType, location_name: "KeyUsage"))
326
+ 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."}))
327
+ CreateKeyRequest.add_member(:key_spec, Shapes::ShapeRef.new(shape: KeySpec, location_name: "KeySpec"))
172
328
  CreateKeyRequest.add_member(:origin, Shapes::ShapeRef.new(shape: OriginType, location_name: "Origin"))
329
+ CreateKeyRequest.add_member(:custom_key_store_id, Shapes::ShapeRef.new(shape: CustomKeyStoreIdType, location_name: "CustomKeyStoreId"))
173
330
  CreateKeyRequest.add_member(:bypass_policy_lockout_safety_check, Shapes::ShapeRef.new(shape: BooleanType, location_name: "BypassPolicyLockoutSafetyCheck"))
174
331
  CreateKeyRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
332
+ CreateKeyRequest.add_member(:multi_region, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "MultiRegion"))
333
+ CreateKeyRequest.add_member(:xks_key_id, Shapes::ShapeRef.new(shape: XksKeyIdType, location_name: "XksKeyId"))
175
334
  CreateKeyRequest.struct_class = Types::CreateKeyRequest
176
335
 
177
336
  CreateKeyResponse.add_member(:key_metadata, Shapes::ShapeRef.new(shape: KeyMetadata, location_name: "KeyMetadata"))
178
337
  CreateKeyResponse.struct_class = Types::CreateKeyResponse
179
338
 
339
+ CustomKeyStoreHasCMKsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
340
+ CustomKeyStoreHasCMKsException.struct_class = Types::CustomKeyStoreHasCMKsException
341
+
342
+ CustomKeyStoreInvalidStateException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
343
+ CustomKeyStoreInvalidStateException.struct_class = Types::CustomKeyStoreInvalidStateException
344
+
345
+ CustomKeyStoreNameInUseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
346
+ CustomKeyStoreNameInUseException.struct_class = Types::CustomKeyStoreNameInUseException
347
+
348
+ CustomKeyStoreNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
349
+ CustomKeyStoreNotFoundException.struct_class = Types::CustomKeyStoreNotFoundException
350
+
351
+ CustomKeyStoresList.member = Shapes::ShapeRef.new(shape: CustomKeyStoresListEntry)
352
+
353
+ CustomKeyStoresListEntry.add_member(:custom_key_store_id, Shapes::ShapeRef.new(shape: CustomKeyStoreIdType, location_name: "CustomKeyStoreId"))
354
+ CustomKeyStoresListEntry.add_member(:custom_key_store_name, Shapes::ShapeRef.new(shape: CustomKeyStoreNameType, location_name: "CustomKeyStoreName"))
355
+ CustomKeyStoresListEntry.add_member(:cloud_hsm_cluster_id, Shapes::ShapeRef.new(shape: CloudHsmClusterIdType, location_name: "CloudHsmClusterId"))
356
+ CustomKeyStoresListEntry.add_member(:trust_anchor_certificate, Shapes::ShapeRef.new(shape: TrustAnchorCertificateType, location_name: "TrustAnchorCertificate"))
357
+ CustomKeyStoresListEntry.add_member(:connection_state, Shapes::ShapeRef.new(shape: ConnectionStateType, location_name: "ConnectionState"))
358
+ CustomKeyStoresListEntry.add_member(:connection_error_code, Shapes::ShapeRef.new(shape: ConnectionErrorCodeType, location_name: "ConnectionErrorCode"))
359
+ CustomKeyStoresListEntry.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "CreationDate"))
360
+ CustomKeyStoresListEntry.add_member(:custom_key_store_type, Shapes::ShapeRef.new(shape: CustomKeyStoreType, location_name: "CustomKeyStoreType"))
361
+ CustomKeyStoresListEntry.add_member(:xks_proxy_configuration, Shapes::ShapeRef.new(shape: XksProxyConfigurationType, location_name: "XksProxyConfiguration"))
362
+ CustomKeyStoresListEntry.struct_class = Types::CustomKeyStoresListEntry
363
+
180
364
  DecryptRequest.add_member(:ciphertext_blob, Shapes::ShapeRef.new(shape: CiphertextType, required: true, location_name: "CiphertextBlob"))
181
365
  DecryptRequest.add_member(:encryption_context, Shapes::ShapeRef.new(shape: EncryptionContextType, location_name: "EncryptionContext"))
182
366
  DecryptRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
367
+ DecryptRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
368
+ DecryptRequest.add_member(:encryption_algorithm, Shapes::ShapeRef.new(shape: EncryptionAlgorithmSpec, location_name: "EncryptionAlgorithm"))
369
+ DecryptRequest.add_member(:recipient, Shapes::ShapeRef.new(shape: RecipientInfo, location_name: "Recipient"))
370
+ DecryptRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
183
371
  DecryptRequest.struct_class = Types::DecryptRequest
184
372
 
185
373
  DecryptResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
186
374
  DecryptResponse.add_member(:plaintext, Shapes::ShapeRef.new(shape: PlaintextType, location_name: "Plaintext"))
375
+ DecryptResponse.add_member(:encryption_algorithm, Shapes::ShapeRef.new(shape: EncryptionAlgorithmSpec, location_name: "EncryptionAlgorithm"))
376
+ DecryptResponse.add_member(:ciphertext_for_recipient, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextForRecipient"))
187
377
  DecryptResponse.struct_class = Types::DecryptResponse
188
378
 
189
379
  DeleteAliasRequest.add_member(:alias_name, Shapes::ShapeRef.new(shape: AliasNameType, required: true, location_name: "AliasName"))
190
380
  DeleteAliasRequest.struct_class = Types::DeleteAliasRequest
191
381
 
382
+ DeleteCustomKeyStoreRequest.add_member(:custom_key_store_id, Shapes::ShapeRef.new(shape: CustomKeyStoreIdType, required: true, location_name: "CustomKeyStoreId"))
383
+ DeleteCustomKeyStoreRequest.struct_class = Types::DeleteCustomKeyStoreRequest
384
+
385
+ DeleteCustomKeyStoreResponse.struct_class = Types::DeleteCustomKeyStoreResponse
386
+
192
387
  DeleteImportedKeyMaterialRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
193
388
  DeleteImportedKeyMaterialRequest.struct_class = Types::DeleteImportedKeyMaterialRequest
194
389
 
390
+ DependencyTimeoutException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
391
+ DependencyTimeoutException.struct_class = Types::DependencyTimeoutException
392
+
393
+ DeriveSharedSecretRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
394
+ DeriveSharedSecretRequest.add_member(:key_agreement_algorithm, Shapes::ShapeRef.new(shape: KeyAgreementAlgorithmSpec, required: true, location_name: "KeyAgreementAlgorithm"))
395
+ DeriveSharedSecretRequest.add_member(:public_key, Shapes::ShapeRef.new(shape: PublicKeyType, required: true, location_name: "PublicKey"))
396
+ DeriveSharedSecretRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
397
+ DeriveSharedSecretRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
398
+ DeriveSharedSecretRequest.add_member(:recipient, Shapes::ShapeRef.new(shape: RecipientInfo, location_name: "Recipient"))
399
+ DeriveSharedSecretRequest.struct_class = Types::DeriveSharedSecretRequest
400
+
401
+ DeriveSharedSecretResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
402
+ DeriveSharedSecretResponse.add_member(:shared_secret, Shapes::ShapeRef.new(shape: PlaintextType, location_name: "SharedSecret"))
403
+ DeriveSharedSecretResponse.add_member(:ciphertext_for_recipient, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextForRecipient"))
404
+ DeriveSharedSecretResponse.add_member(:key_agreement_algorithm, Shapes::ShapeRef.new(shape: KeyAgreementAlgorithmSpec, location_name: "KeyAgreementAlgorithm"))
405
+ DeriveSharedSecretResponse.add_member(:key_origin, Shapes::ShapeRef.new(shape: OriginType, location_name: "KeyOrigin"))
406
+ DeriveSharedSecretResponse.struct_class = Types::DeriveSharedSecretResponse
407
+
408
+ DescribeCustomKeyStoresRequest.add_member(:custom_key_store_id, Shapes::ShapeRef.new(shape: CustomKeyStoreIdType, location_name: "CustomKeyStoreId"))
409
+ DescribeCustomKeyStoresRequest.add_member(:custom_key_store_name, Shapes::ShapeRef.new(shape: CustomKeyStoreNameType, location_name: "CustomKeyStoreName"))
410
+ DescribeCustomKeyStoresRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitType, location_name: "Limit"))
411
+ DescribeCustomKeyStoresRequest.add_member(:marker, Shapes::ShapeRef.new(shape: MarkerType, location_name: "Marker"))
412
+ DescribeCustomKeyStoresRequest.struct_class = Types::DescribeCustomKeyStoresRequest
413
+
414
+ DescribeCustomKeyStoresResponse.add_member(:custom_key_stores, Shapes::ShapeRef.new(shape: CustomKeyStoresList, location_name: "CustomKeyStores"))
415
+ DescribeCustomKeyStoresResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: MarkerType, location_name: "NextMarker"))
416
+ DescribeCustomKeyStoresResponse.add_member(:truncated, Shapes::ShapeRef.new(shape: BooleanType, location_name: "Truncated"))
417
+ DescribeCustomKeyStoresResponse.struct_class = Types::DescribeCustomKeyStoresResponse
418
+
195
419
  DescribeKeyRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
196
420
  DescribeKeyRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
197
421
  DescribeKeyRequest.struct_class = Types::DescribeKeyRequest
@@ -205,35 +429,87 @@ module Aws::KMS
205
429
  DisableKeyRotationRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
206
430
  DisableKeyRotationRequest.struct_class = Types::DisableKeyRotationRequest
207
431
 
432
+ DisabledException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
433
+ DisabledException.struct_class = Types::DisabledException
434
+
435
+ DisconnectCustomKeyStoreRequest.add_member(:custom_key_store_id, Shapes::ShapeRef.new(shape: CustomKeyStoreIdType, required: true, location_name: "CustomKeyStoreId"))
436
+ DisconnectCustomKeyStoreRequest.struct_class = Types::DisconnectCustomKeyStoreRequest
437
+
438
+ DisconnectCustomKeyStoreResponse.struct_class = Types::DisconnectCustomKeyStoreResponse
439
+
440
+ DryRunOperationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
441
+ DryRunOperationException.struct_class = Types::DryRunOperationException
442
+
208
443
  EnableKeyRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
209
444
  EnableKeyRequest.struct_class = Types::EnableKeyRequest
210
445
 
211
446
  EnableKeyRotationRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
447
+ EnableKeyRotationRequest.add_member(:rotation_period_in_days, Shapes::ShapeRef.new(shape: RotationPeriodInDaysType, location_name: "RotationPeriodInDays"))
212
448
  EnableKeyRotationRequest.struct_class = Types::EnableKeyRotationRequest
213
449
 
214
450
  EncryptRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
215
451
  EncryptRequest.add_member(:plaintext, Shapes::ShapeRef.new(shape: PlaintextType, required: true, location_name: "Plaintext"))
216
452
  EncryptRequest.add_member(:encryption_context, Shapes::ShapeRef.new(shape: EncryptionContextType, location_name: "EncryptionContext"))
217
453
  EncryptRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
454
+ EncryptRequest.add_member(:encryption_algorithm, Shapes::ShapeRef.new(shape: EncryptionAlgorithmSpec, location_name: "EncryptionAlgorithm"))
455
+ EncryptRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
218
456
  EncryptRequest.struct_class = Types::EncryptRequest
219
457
 
220
458
  EncryptResponse.add_member(:ciphertext_blob, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextBlob"))
221
459
  EncryptResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
460
+ EncryptResponse.add_member(:encryption_algorithm, Shapes::ShapeRef.new(shape: EncryptionAlgorithmSpec, location_name: "EncryptionAlgorithm"))
222
461
  EncryptResponse.struct_class = Types::EncryptResponse
223
462
 
463
+ EncryptionAlgorithmSpecList.member = Shapes::ShapeRef.new(shape: EncryptionAlgorithmSpec)
464
+
224
465
  EncryptionContextType.key = Shapes::ShapeRef.new(shape: EncryptionContextKey)
225
466
  EncryptionContextType.value = Shapes::ShapeRef.new(shape: EncryptionContextValue)
226
467
 
468
+ ExpiredImportTokenException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
469
+ ExpiredImportTokenException.struct_class = Types::ExpiredImportTokenException
470
+
471
+ GenerateDataKeyPairRequest.add_member(:encryption_context, Shapes::ShapeRef.new(shape: EncryptionContextType, location_name: "EncryptionContext"))
472
+ GenerateDataKeyPairRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
473
+ GenerateDataKeyPairRequest.add_member(:key_pair_spec, Shapes::ShapeRef.new(shape: DataKeyPairSpec, required: true, location_name: "KeyPairSpec"))
474
+ GenerateDataKeyPairRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
475
+ GenerateDataKeyPairRequest.add_member(:recipient, Shapes::ShapeRef.new(shape: RecipientInfo, location_name: "Recipient"))
476
+ GenerateDataKeyPairRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
477
+ GenerateDataKeyPairRequest.struct_class = Types::GenerateDataKeyPairRequest
478
+
479
+ GenerateDataKeyPairResponse.add_member(:private_key_ciphertext_blob, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "PrivateKeyCiphertextBlob"))
480
+ GenerateDataKeyPairResponse.add_member(:private_key_plaintext, Shapes::ShapeRef.new(shape: PlaintextType, location_name: "PrivateKeyPlaintext"))
481
+ GenerateDataKeyPairResponse.add_member(:public_key, Shapes::ShapeRef.new(shape: PublicKeyType, location_name: "PublicKey"))
482
+ GenerateDataKeyPairResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
483
+ GenerateDataKeyPairResponse.add_member(:key_pair_spec, Shapes::ShapeRef.new(shape: DataKeyPairSpec, location_name: "KeyPairSpec"))
484
+ GenerateDataKeyPairResponse.add_member(:ciphertext_for_recipient, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextForRecipient"))
485
+ GenerateDataKeyPairResponse.struct_class = Types::GenerateDataKeyPairResponse
486
+
487
+ GenerateDataKeyPairWithoutPlaintextRequest.add_member(:encryption_context, Shapes::ShapeRef.new(shape: EncryptionContextType, location_name: "EncryptionContext"))
488
+ GenerateDataKeyPairWithoutPlaintextRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
489
+ GenerateDataKeyPairWithoutPlaintextRequest.add_member(:key_pair_spec, Shapes::ShapeRef.new(shape: DataKeyPairSpec, required: true, location_name: "KeyPairSpec"))
490
+ GenerateDataKeyPairWithoutPlaintextRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
491
+ GenerateDataKeyPairWithoutPlaintextRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
492
+ GenerateDataKeyPairWithoutPlaintextRequest.struct_class = Types::GenerateDataKeyPairWithoutPlaintextRequest
493
+
494
+ GenerateDataKeyPairWithoutPlaintextResponse.add_member(:private_key_ciphertext_blob, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "PrivateKeyCiphertextBlob"))
495
+ GenerateDataKeyPairWithoutPlaintextResponse.add_member(:public_key, Shapes::ShapeRef.new(shape: PublicKeyType, location_name: "PublicKey"))
496
+ GenerateDataKeyPairWithoutPlaintextResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
497
+ GenerateDataKeyPairWithoutPlaintextResponse.add_member(:key_pair_spec, Shapes::ShapeRef.new(shape: DataKeyPairSpec, location_name: "KeyPairSpec"))
498
+ GenerateDataKeyPairWithoutPlaintextResponse.struct_class = Types::GenerateDataKeyPairWithoutPlaintextResponse
499
+
227
500
  GenerateDataKeyRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
228
501
  GenerateDataKeyRequest.add_member(:encryption_context, Shapes::ShapeRef.new(shape: EncryptionContextType, location_name: "EncryptionContext"))
229
502
  GenerateDataKeyRequest.add_member(:number_of_bytes, Shapes::ShapeRef.new(shape: NumberOfBytesType, location_name: "NumberOfBytes"))
230
503
  GenerateDataKeyRequest.add_member(:key_spec, Shapes::ShapeRef.new(shape: DataKeySpec, location_name: "KeySpec"))
231
504
  GenerateDataKeyRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
505
+ GenerateDataKeyRequest.add_member(:recipient, Shapes::ShapeRef.new(shape: RecipientInfo, location_name: "Recipient"))
506
+ GenerateDataKeyRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
232
507
  GenerateDataKeyRequest.struct_class = Types::GenerateDataKeyRequest
233
508
 
234
509
  GenerateDataKeyResponse.add_member(:ciphertext_blob, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextBlob"))
235
510
  GenerateDataKeyResponse.add_member(:plaintext, Shapes::ShapeRef.new(shape: PlaintextType, location_name: "Plaintext"))
236
511
  GenerateDataKeyResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
512
+ GenerateDataKeyResponse.add_member(:ciphertext_for_recipient, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextForRecipient"))
237
513
  GenerateDataKeyResponse.struct_class = Types::GenerateDataKeyResponse
238
514
 
239
515
  GenerateDataKeyWithoutPlaintextRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
@@ -241,29 +517,50 @@ module Aws::KMS
241
517
  GenerateDataKeyWithoutPlaintextRequest.add_member(:key_spec, Shapes::ShapeRef.new(shape: DataKeySpec, location_name: "KeySpec"))
242
518
  GenerateDataKeyWithoutPlaintextRequest.add_member(:number_of_bytes, Shapes::ShapeRef.new(shape: NumberOfBytesType, location_name: "NumberOfBytes"))
243
519
  GenerateDataKeyWithoutPlaintextRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
520
+ GenerateDataKeyWithoutPlaintextRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
244
521
  GenerateDataKeyWithoutPlaintextRequest.struct_class = Types::GenerateDataKeyWithoutPlaintextRequest
245
522
 
246
523
  GenerateDataKeyWithoutPlaintextResponse.add_member(:ciphertext_blob, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextBlob"))
247
524
  GenerateDataKeyWithoutPlaintextResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
248
525
  GenerateDataKeyWithoutPlaintextResponse.struct_class = Types::GenerateDataKeyWithoutPlaintextResponse
249
526
 
527
+ GenerateMacRequest.add_member(:message, Shapes::ShapeRef.new(shape: PlaintextType, required: true, location_name: "Message"))
528
+ GenerateMacRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
529
+ GenerateMacRequest.add_member(:mac_algorithm, Shapes::ShapeRef.new(shape: MacAlgorithmSpec, required: true, location_name: "MacAlgorithm"))
530
+ GenerateMacRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
531
+ GenerateMacRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
532
+ GenerateMacRequest.struct_class = Types::GenerateMacRequest
533
+
534
+ GenerateMacResponse.add_member(:mac, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "Mac"))
535
+ GenerateMacResponse.add_member(:mac_algorithm, Shapes::ShapeRef.new(shape: MacAlgorithmSpec, location_name: "MacAlgorithm"))
536
+ GenerateMacResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
537
+ GenerateMacResponse.struct_class = Types::GenerateMacResponse
538
+
250
539
  GenerateRandomRequest.add_member(:number_of_bytes, Shapes::ShapeRef.new(shape: NumberOfBytesType, location_name: "NumberOfBytes"))
540
+ GenerateRandomRequest.add_member(:custom_key_store_id, Shapes::ShapeRef.new(shape: CustomKeyStoreIdType, location_name: "CustomKeyStoreId"))
541
+ GenerateRandomRequest.add_member(:recipient, Shapes::ShapeRef.new(shape: RecipientInfo, location_name: "Recipient"))
251
542
  GenerateRandomRequest.struct_class = Types::GenerateRandomRequest
252
543
 
253
544
  GenerateRandomResponse.add_member(:plaintext, Shapes::ShapeRef.new(shape: PlaintextType, location_name: "Plaintext"))
545
+ GenerateRandomResponse.add_member(:ciphertext_for_recipient, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextForRecipient"))
254
546
  GenerateRandomResponse.struct_class = Types::GenerateRandomResponse
255
547
 
256
548
  GetKeyPolicyRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
257
- GetKeyPolicyRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyNameType, required: true, location_name: "PolicyName"))
549
+ GetKeyPolicyRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyNameType, location_name: "PolicyName"))
258
550
  GetKeyPolicyRequest.struct_class = Types::GetKeyPolicyRequest
259
551
 
260
552
  GetKeyPolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: PolicyType, location_name: "Policy"))
553
+ GetKeyPolicyResponse.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyNameType, location_name: "PolicyName"))
261
554
  GetKeyPolicyResponse.struct_class = Types::GetKeyPolicyResponse
262
555
 
263
556
  GetKeyRotationStatusRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
264
557
  GetKeyRotationStatusRequest.struct_class = Types::GetKeyRotationStatusRequest
265
558
 
266
559
  GetKeyRotationStatusResponse.add_member(:key_rotation_enabled, Shapes::ShapeRef.new(shape: BooleanType, location_name: "KeyRotationEnabled"))
560
+ GetKeyRotationStatusResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
561
+ GetKeyRotationStatusResponse.add_member(:rotation_period_in_days, Shapes::ShapeRef.new(shape: RotationPeriodInDaysType, location_name: "RotationPeriodInDays"))
562
+ GetKeyRotationStatusResponse.add_member(:next_rotation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "NextRotationDate"))
563
+ GetKeyRotationStatusResponse.add_member(:on_demand_rotation_start_date, Shapes::ShapeRef.new(shape: DateType, location_name: "OnDemandRotationStartDate"))
267
564
  GetKeyRotationStatusResponse.struct_class = Types::GetKeyRotationStatusResponse
268
565
 
269
566
  GetParametersForImportRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
@@ -277,6 +574,20 @@ module Aws::KMS
277
574
  GetParametersForImportResponse.add_member(:parameters_valid_to, Shapes::ShapeRef.new(shape: DateType, location_name: "ParametersValidTo"))
278
575
  GetParametersForImportResponse.struct_class = Types::GetParametersForImportResponse
279
576
 
577
+ GetPublicKeyRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
578
+ GetPublicKeyRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
579
+ GetPublicKeyRequest.struct_class = Types::GetPublicKeyRequest
580
+
581
+ GetPublicKeyResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
582
+ GetPublicKeyResponse.add_member(:public_key, Shapes::ShapeRef.new(shape: PublicKeyType, location_name: "PublicKey"))
583
+ 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."}))
584
+ GetPublicKeyResponse.add_member(:key_spec, Shapes::ShapeRef.new(shape: KeySpec, location_name: "KeySpec"))
585
+ GetPublicKeyResponse.add_member(:key_usage, Shapes::ShapeRef.new(shape: KeyUsageType, location_name: "KeyUsage"))
586
+ GetPublicKeyResponse.add_member(:encryption_algorithms, Shapes::ShapeRef.new(shape: EncryptionAlgorithmSpecList, location_name: "EncryptionAlgorithms"))
587
+ GetPublicKeyResponse.add_member(:signing_algorithms, Shapes::ShapeRef.new(shape: SigningAlgorithmSpecList, location_name: "SigningAlgorithms"))
588
+ GetPublicKeyResponse.add_member(:key_agreement_algorithms, Shapes::ShapeRef.new(shape: KeyAgreementAlgorithmSpecList, location_name: "KeyAgreementAlgorithms"))
589
+ GetPublicKeyResponse.struct_class = Types::GetPublicKeyResponse
590
+
280
591
  GrantConstraints.add_member(:encryption_context_subset, Shapes::ShapeRef.new(shape: EncryptionContextType, location_name: "EncryptionContextSubset"))
281
592
  GrantConstraints.add_member(:encryption_context_equals, Shapes::ShapeRef.new(shape: EncryptionContextType, location_name: "EncryptionContextEquals"))
282
593
  GrantConstraints.struct_class = Types::GrantConstraints
@@ -307,6 +618,53 @@ module Aws::KMS
307
618
 
308
619
  ImportKeyMaterialResponse.struct_class = Types::ImportKeyMaterialResponse
309
620
 
621
+ IncorrectKeyException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
622
+ IncorrectKeyException.struct_class = Types::IncorrectKeyException
623
+
624
+ IncorrectKeyMaterialException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
625
+ IncorrectKeyMaterialException.struct_class = Types::IncorrectKeyMaterialException
626
+
627
+ IncorrectTrustAnchorException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
628
+ IncorrectTrustAnchorException.struct_class = Types::IncorrectTrustAnchorException
629
+
630
+ InvalidAliasNameException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
631
+ InvalidAliasNameException.struct_class = Types::InvalidAliasNameException
632
+
633
+ InvalidArnException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
634
+ InvalidArnException.struct_class = Types::InvalidArnException
635
+
636
+ InvalidCiphertextException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
637
+ InvalidCiphertextException.struct_class = Types::InvalidCiphertextException
638
+
639
+ InvalidGrantIdException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
640
+ InvalidGrantIdException.struct_class = Types::InvalidGrantIdException
641
+
642
+ InvalidGrantTokenException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
643
+ InvalidGrantTokenException.struct_class = Types::InvalidGrantTokenException
644
+
645
+ InvalidImportTokenException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
646
+ InvalidImportTokenException.struct_class = Types::InvalidImportTokenException
647
+
648
+ InvalidKeyUsageException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
649
+ InvalidKeyUsageException.struct_class = Types::InvalidKeyUsageException
650
+
651
+ InvalidMarkerException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
652
+ InvalidMarkerException.struct_class = Types::InvalidMarkerException
653
+
654
+ KMSInternalException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
655
+ KMSInternalException.struct_class = Types::KMSInternalException
656
+
657
+ KMSInvalidMacException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
658
+ KMSInvalidMacException.struct_class = Types::KMSInvalidMacException
659
+
660
+ KMSInvalidSignatureException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
661
+ KMSInvalidSignatureException.struct_class = Types::KMSInvalidSignatureException
662
+
663
+ KMSInvalidStateException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
664
+ KMSInvalidStateException.struct_class = Types::KMSInvalidStateException
665
+
666
+ KeyAgreementAlgorithmSpecList.member = Shapes::ShapeRef.new(shape: KeyAgreementAlgorithmSpec)
667
+
310
668
  KeyList.member = Shapes::ShapeRef.new(shape: KeyListEntry)
311
669
 
312
670
  KeyListEntry.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
@@ -324,10 +682,29 @@ module Aws::KMS
324
682
  KeyMetadata.add_member(:deletion_date, Shapes::ShapeRef.new(shape: DateType, location_name: "DeletionDate"))
325
683
  KeyMetadata.add_member(:valid_to, Shapes::ShapeRef.new(shape: DateType, location_name: "ValidTo"))
326
684
  KeyMetadata.add_member(:origin, Shapes::ShapeRef.new(shape: OriginType, location_name: "Origin"))
685
+ KeyMetadata.add_member(:custom_key_store_id, Shapes::ShapeRef.new(shape: CustomKeyStoreIdType, location_name: "CustomKeyStoreId"))
686
+ KeyMetadata.add_member(:cloud_hsm_cluster_id, Shapes::ShapeRef.new(shape: CloudHsmClusterIdType, location_name: "CloudHsmClusterId"))
327
687
  KeyMetadata.add_member(:expiration_model, Shapes::ShapeRef.new(shape: ExpirationModelType, location_name: "ExpirationModel"))
328
688
  KeyMetadata.add_member(:key_manager, Shapes::ShapeRef.new(shape: KeyManagerType, location_name: "KeyManager"))
689
+ 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."}))
690
+ KeyMetadata.add_member(:key_spec, Shapes::ShapeRef.new(shape: KeySpec, location_name: "KeySpec"))
691
+ KeyMetadata.add_member(:encryption_algorithms, Shapes::ShapeRef.new(shape: EncryptionAlgorithmSpecList, location_name: "EncryptionAlgorithms"))
692
+ KeyMetadata.add_member(:signing_algorithms, Shapes::ShapeRef.new(shape: SigningAlgorithmSpecList, location_name: "SigningAlgorithms"))
693
+ KeyMetadata.add_member(:key_agreement_algorithms, Shapes::ShapeRef.new(shape: KeyAgreementAlgorithmSpecList, location_name: "KeyAgreementAlgorithms"))
694
+ KeyMetadata.add_member(:multi_region, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "MultiRegion"))
695
+ KeyMetadata.add_member(:multi_region_configuration, Shapes::ShapeRef.new(shape: MultiRegionConfiguration, location_name: "MultiRegionConfiguration"))
696
+ KeyMetadata.add_member(:pending_deletion_window_in_days, Shapes::ShapeRef.new(shape: PendingWindowInDaysType, location_name: "PendingDeletionWindowInDays"))
697
+ KeyMetadata.add_member(:mac_algorithms, Shapes::ShapeRef.new(shape: MacAlgorithmSpecList, location_name: "MacAlgorithms"))
698
+ KeyMetadata.add_member(:xks_key_configuration, Shapes::ShapeRef.new(shape: XksKeyConfigurationType, location_name: "XksKeyConfiguration"))
329
699
  KeyMetadata.struct_class = Types::KeyMetadata
330
700
 
701
+ KeyUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
702
+ KeyUnavailableException.struct_class = Types::KeyUnavailableException
703
+
704
+ LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
705
+ LimitExceededException.struct_class = Types::LimitExceededException
706
+
707
+ ListAliasesRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
331
708
  ListAliasesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitType, location_name: "Limit"))
332
709
  ListAliasesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: MarkerType, location_name: "Marker"))
333
710
  ListAliasesRequest.struct_class = Types::ListAliasesRequest
@@ -340,6 +717,8 @@ module Aws::KMS
340
717
  ListGrantsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitType, location_name: "Limit"))
341
718
  ListGrantsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: MarkerType, location_name: "Marker"))
342
719
  ListGrantsRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
720
+ ListGrantsRequest.add_member(:grant_id, Shapes::ShapeRef.new(shape: GrantIdType, location_name: "GrantId"))
721
+ ListGrantsRequest.add_member(:grantee_principal, Shapes::ShapeRef.new(shape: PrincipalIdType, location_name: "GranteePrincipal"))
343
722
  ListGrantsRequest.struct_class = Types::ListGrantsRequest
344
723
 
345
724
  ListGrantsResponse.add_member(:grants, Shapes::ShapeRef.new(shape: GrantList, location_name: "Grants"))
@@ -357,6 +736,16 @@ module Aws::KMS
357
736
  ListKeyPoliciesResponse.add_member(:truncated, Shapes::ShapeRef.new(shape: BooleanType, location_name: "Truncated"))
358
737
  ListKeyPoliciesResponse.struct_class = Types::ListKeyPoliciesResponse
359
738
 
739
+ ListKeyRotationsRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
740
+ ListKeyRotationsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitType, location_name: "Limit"))
741
+ ListKeyRotationsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: MarkerType, location_name: "Marker"))
742
+ ListKeyRotationsRequest.struct_class = Types::ListKeyRotationsRequest
743
+
744
+ ListKeyRotationsResponse.add_member(:rotations, Shapes::ShapeRef.new(shape: RotationsList, location_name: "Rotations"))
745
+ ListKeyRotationsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: MarkerType, location_name: "NextMarker"))
746
+ ListKeyRotationsResponse.add_member(:truncated, Shapes::ShapeRef.new(shape: BooleanType, location_name: "Truncated"))
747
+ ListKeyRotationsResponse.struct_class = Types::ListKeyRotationsResponse
748
+
360
749
  ListKeysRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitType, location_name: "Limit"))
361
750
  ListKeysRequest.add_member(:marker, Shapes::ShapeRef.new(shape: MarkerType, location_name: "Marker"))
362
751
  ListKeysRequest.struct_class = Types::ListKeysRequest
@@ -381,47 +770,124 @@ module Aws::KMS
381
770
  ListRetirableGrantsRequest.add_member(:retiring_principal, Shapes::ShapeRef.new(shape: PrincipalIdType, required: true, location_name: "RetiringPrincipal"))
382
771
  ListRetirableGrantsRequest.struct_class = Types::ListRetirableGrantsRequest
383
772
 
773
+ MacAlgorithmSpecList.member = Shapes::ShapeRef.new(shape: MacAlgorithmSpec)
774
+
775
+ MalformedPolicyDocumentException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
776
+ MalformedPolicyDocumentException.struct_class = Types::MalformedPolicyDocumentException
777
+
778
+ MultiRegionConfiguration.add_member(:multi_region_key_type, Shapes::ShapeRef.new(shape: MultiRegionKeyType, location_name: "MultiRegionKeyType"))
779
+ MultiRegionConfiguration.add_member(:primary_key, Shapes::ShapeRef.new(shape: MultiRegionKey, location_name: "PrimaryKey"))
780
+ MultiRegionConfiguration.add_member(:replica_keys, Shapes::ShapeRef.new(shape: MultiRegionKeyList, location_name: "ReplicaKeys"))
781
+ MultiRegionConfiguration.struct_class = Types::MultiRegionConfiguration
782
+
783
+ MultiRegionKey.add_member(:arn, Shapes::ShapeRef.new(shape: ArnType, location_name: "Arn"))
784
+ MultiRegionKey.add_member(:region, Shapes::ShapeRef.new(shape: RegionType, location_name: "Region"))
785
+ MultiRegionKey.struct_class = Types::MultiRegionKey
786
+
787
+ MultiRegionKeyList.member = Shapes::ShapeRef.new(shape: MultiRegionKey)
788
+
789
+ NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
790
+ NotFoundException.struct_class = Types::NotFoundException
791
+
384
792
  PolicyNameList.member = Shapes::ShapeRef.new(shape: PolicyNameType)
385
793
 
386
794
  PutKeyPolicyRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
387
- PutKeyPolicyRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyNameType, required: true, location_name: "PolicyName"))
795
+ PutKeyPolicyRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyNameType, location_name: "PolicyName"))
388
796
  PutKeyPolicyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: PolicyType, required: true, location_name: "Policy"))
389
797
  PutKeyPolicyRequest.add_member(:bypass_policy_lockout_safety_check, Shapes::ShapeRef.new(shape: BooleanType, location_name: "BypassPolicyLockoutSafetyCheck"))
390
798
  PutKeyPolicyRequest.struct_class = Types::PutKeyPolicyRequest
391
799
 
392
800
  ReEncryptRequest.add_member(:ciphertext_blob, Shapes::ShapeRef.new(shape: CiphertextType, required: true, location_name: "CiphertextBlob"))
393
801
  ReEncryptRequest.add_member(:source_encryption_context, Shapes::ShapeRef.new(shape: EncryptionContextType, location_name: "SourceEncryptionContext"))
802
+ ReEncryptRequest.add_member(:source_key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "SourceKeyId"))
394
803
  ReEncryptRequest.add_member(:destination_key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "DestinationKeyId"))
395
804
  ReEncryptRequest.add_member(:destination_encryption_context, Shapes::ShapeRef.new(shape: EncryptionContextType, location_name: "DestinationEncryptionContext"))
805
+ ReEncryptRequest.add_member(:source_encryption_algorithm, Shapes::ShapeRef.new(shape: EncryptionAlgorithmSpec, location_name: "SourceEncryptionAlgorithm"))
806
+ ReEncryptRequest.add_member(:destination_encryption_algorithm, Shapes::ShapeRef.new(shape: EncryptionAlgorithmSpec, location_name: "DestinationEncryptionAlgorithm"))
396
807
  ReEncryptRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
808
+ ReEncryptRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
397
809
  ReEncryptRequest.struct_class = Types::ReEncryptRequest
398
810
 
399
811
  ReEncryptResponse.add_member(:ciphertext_blob, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextBlob"))
400
812
  ReEncryptResponse.add_member(:source_key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "SourceKeyId"))
401
813
  ReEncryptResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
814
+ ReEncryptResponse.add_member(:source_encryption_algorithm, Shapes::ShapeRef.new(shape: EncryptionAlgorithmSpec, location_name: "SourceEncryptionAlgorithm"))
815
+ ReEncryptResponse.add_member(:destination_encryption_algorithm, Shapes::ShapeRef.new(shape: EncryptionAlgorithmSpec, location_name: "DestinationEncryptionAlgorithm"))
402
816
  ReEncryptResponse.struct_class = Types::ReEncryptResponse
403
817
 
818
+ RecipientInfo.add_member(:key_encryption_algorithm, Shapes::ShapeRef.new(shape: KeyEncryptionMechanism, location_name: "KeyEncryptionAlgorithm"))
819
+ RecipientInfo.add_member(:attestation_document, Shapes::ShapeRef.new(shape: AttestationDocumentType, location_name: "AttestationDocument"))
820
+ RecipientInfo.struct_class = Types::RecipientInfo
821
+
822
+ ReplicateKeyRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
823
+ ReplicateKeyRequest.add_member(:replica_region, Shapes::ShapeRef.new(shape: RegionType, required: true, location_name: "ReplicaRegion"))
824
+ ReplicateKeyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: PolicyType, location_name: "Policy"))
825
+ ReplicateKeyRequest.add_member(:bypass_policy_lockout_safety_check, Shapes::ShapeRef.new(shape: BooleanType, location_name: "BypassPolicyLockoutSafetyCheck"))
826
+ ReplicateKeyRequest.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionType, location_name: "Description"))
827
+ ReplicateKeyRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
828
+ ReplicateKeyRequest.struct_class = Types::ReplicateKeyRequest
829
+
830
+ ReplicateKeyResponse.add_member(:replica_key_metadata, Shapes::ShapeRef.new(shape: KeyMetadata, location_name: "ReplicaKeyMetadata"))
831
+ ReplicateKeyResponse.add_member(:replica_policy, Shapes::ShapeRef.new(shape: PolicyType, location_name: "ReplicaPolicy"))
832
+ ReplicateKeyResponse.add_member(:replica_tags, Shapes::ShapeRef.new(shape: TagList, location_name: "ReplicaTags"))
833
+ ReplicateKeyResponse.struct_class = Types::ReplicateKeyResponse
834
+
404
835
  RetireGrantRequest.add_member(:grant_token, Shapes::ShapeRef.new(shape: GrantTokenType, location_name: "GrantToken"))
405
836
  RetireGrantRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
406
837
  RetireGrantRequest.add_member(:grant_id, Shapes::ShapeRef.new(shape: GrantIdType, location_name: "GrantId"))
838
+ RetireGrantRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
407
839
  RetireGrantRequest.struct_class = Types::RetireGrantRequest
408
840
 
409
841
  RevokeGrantRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
410
842
  RevokeGrantRequest.add_member(:grant_id, Shapes::ShapeRef.new(shape: GrantIdType, required: true, location_name: "GrantId"))
843
+ RevokeGrantRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
411
844
  RevokeGrantRequest.struct_class = Types::RevokeGrantRequest
412
845
 
846
+ RotateKeyOnDemandRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
847
+ RotateKeyOnDemandRequest.struct_class = Types::RotateKeyOnDemandRequest
848
+
849
+ RotateKeyOnDemandResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
850
+ RotateKeyOnDemandResponse.struct_class = Types::RotateKeyOnDemandResponse
851
+
852
+ RotationsList.member = Shapes::ShapeRef.new(shape: RotationsListEntry)
853
+
854
+ RotationsListEntry.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
855
+ RotationsListEntry.add_member(:rotation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "RotationDate"))
856
+ RotationsListEntry.add_member(:rotation_type, Shapes::ShapeRef.new(shape: RotationType, location_name: "RotationType"))
857
+ RotationsListEntry.struct_class = Types::RotationsListEntry
858
+
413
859
  ScheduleKeyDeletionRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
414
860
  ScheduleKeyDeletionRequest.add_member(:pending_window_in_days, Shapes::ShapeRef.new(shape: PendingWindowInDaysType, location_name: "PendingWindowInDays"))
415
861
  ScheduleKeyDeletionRequest.struct_class = Types::ScheduleKeyDeletionRequest
416
862
 
417
863
  ScheduleKeyDeletionResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
418
864
  ScheduleKeyDeletionResponse.add_member(:deletion_date, Shapes::ShapeRef.new(shape: DateType, location_name: "DeletionDate"))
865
+ ScheduleKeyDeletionResponse.add_member(:key_state, Shapes::ShapeRef.new(shape: KeyState, location_name: "KeyState"))
866
+ ScheduleKeyDeletionResponse.add_member(:pending_window_in_days, Shapes::ShapeRef.new(shape: PendingWindowInDaysType, location_name: "PendingWindowInDays"))
419
867
  ScheduleKeyDeletionResponse.struct_class = Types::ScheduleKeyDeletionResponse
420
868
 
869
+ SignRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
870
+ SignRequest.add_member(:message, Shapes::ShapeRef.new(shape: PlaintextType, required: true, location_name: "Message"))
871
+ SignRequest.add_member(:message_type, Shapes::ShapeRef.new(shape: MessageType, location_name: "MessageType"))
872
+ SignRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
873
+ SignRequest.add_member(:signing_algorithm, Shapes::ShapeRef.new(shape: SigningAlgorithmSpec, required: true, location_name: "SigningAlgorithm"))
874
+ SignRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
875
+ SignRequest.struct_class = Types::SignRequest
876
+
877
+ SignResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
878
+ SignResponse.add_member(:signature, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "Signature"))
879
+ SignResponse.add_member(:signing_algorithm, Shapes::ShapeRef.new(shape: SigningAlgorithmSpec, location_name: "SigningAlgorithm"))
880
+ SignResponse.struct_class = Types::SignResponse
881
+
882
+ SigningAlgorithmSpecList.member = Shapes::ShapeRef.new(shape: SigningAlgorithmSpec)
883
+
421
884
  Tag.add_member(:tag_key, Shapes::ShapeRef.new(shape: TagKeyType, required: true, location_name: "TagKey"))
422
885
  Tag.add_member(:tag_value, Shapes::ShapeRef.new(shape: TagValueType, required: true, location_name: "TagValue"))
423
886
  Tag.struct_class = Types::Tag
424
887
 
888
+ TagException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
889
+ TagException.struct_class = Types::TagException
890
+
425
891
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKeyType)
426
892
 
427
893
  TagList.member = Shapes::ShapeRef.new(shape: Tag)
@@ -430,6 +896,9 @@ module Aws::KMS
430
896
  TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
431
897
  TagResourceRequest.struct_class = Types::TagResourceRequest
432
898
 
899
+ UnsupportedOperationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
900
+ UnsupportedOperationException.struct_class = Types::UnsupportedOperationException
901
+
433
902
  UntagResourceRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
434
903
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
435
904
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
@@ -438,10 +907,104 @@ module Aws::KMS
438
907
  UpdateAliasRequest.add_member(:target_key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "TargetKeyId"))
439
908
  UpdateAliasRequest.struct_class = Types::UpdateAliasRequest
440
909
 
910
+ UpdateCustomKeyStoreRequest.add_member(:custom_key_store_id, Shapes::ShapeRef.new(shape: CustomKeyStoreIdType, required: true, location_name: "CustomKeyStoreId"))
911
+ UpdateCustomKeyStoreRequest.add_member(:new_custom_key_store_name, Shapes::ShapeRef.new(shape: CustomKeyStoreNameType, location_name: "NewCustomKeyStoreName"))
912
+ UpdateCustomKeyStoreRequest.add_member(:key_store_password, Shapes::ShapeRef.new(shape: KeyStorePasswordType, location_name: "KeyStorePassword"))
913
+ UpdateCustomKeyStoreRequest.add_member(:cloud_hsm_cluster_id, Shapes::ShapeRef.new(shape: CloudHsmClusterIdType, location_name: "CloudHsmClusterId"))
914
+ UpdateCustomKeyStoreRequest.add_member(:xks_proxy_uri_endpoint, Shapes::ShapeRef.new(shape: XksProxyUriEndpointType, location_name: "XksProxyUriEndpoint"))
915
+ UpdateCustomKeyStoreRequest.add_member(:xks_proxy_uri_path, Shapes::ShapeRef.new(shape: XksProxyUriPathType, location_name: "XksProxyUriPath"))
916
+ UpdateCustomKeyStoreRequest.add_member(:xks_proxy_vpc_endpoint_service_name, Shapes::ShapeRef.new(shape: XksProxyVpcEndpointServiceNameType, location_name: "XksProxyVpcEndpointServiceName"))
917
+ UpdateCustomKeyStoreRequest.add_member(:xks_proxy_authentication_credential, Shapes::ShapeRef.new(shape: XksProxyAuthenticationCredentialType, location_name: "XksProxyAuthenticationCredential"))
918
+ UpdateCustomKeyStoreRequest.add_member(:xks_proxy_connectivity, Shapes::ShapeRef.new(shape: XksProxyConnectivityType, location_name: "XksProxyConnectivity"))
919
+ UpdateCustomKeyStoreRequest.struct_class = Types::UpdateCustomKeyStoreRequest
920
+
921
+ UpdateCustomKeyStoreResponse.struct_class = Types::UpdateCustomKeyStoreResponse
922
+
441
923
  UpdateKeyDescriptionRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
442
924
  UpdateKeyDescriptionRequest.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionType, required: true, location_name: "Description"))
443
925
  UpdateKeyDescriptionRequest.struct_class = Types::UpdateKeyDescriptionRequest
444
926
 
927
+ UpdatePrimaryRegionRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
928
+ UpdatePrimaryRegionRequest.add_member(:primary_region, Shapes::ShapeRef.new(shape: RegionType, required: true, location_name: "PrimaryRegion"))
929
+ UpdatePrimaryRegionRequest.struct_class = Types::UpdatePrimaryRegionRequest
930
+
931
+ VerifyMacRequest.add_member(:message, Shapes::ShapeRef.new(shape: PlaintextType, required: true, location_name: "Message"))
932
+ VerifyMacRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
933
+ VerifyMacRequest.add_member(:mac_algorithm, Shapes::ShapeRef.new(shape: MacAlgorithmSpec, required: true, location_name: "MacAlgorithm"))
934
+ VerifyMacRequest.add_member(:mac, Shapes::ShapeRef.new(shape: CiphertextType, required: true, location_name: "Mac"))
935
+ VerifyMacRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
936
+ VerifyMacRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
937
+ VerifyMacRequest.struct_class = Types::VerifyMacRequest
938
+
939
+ VerifyMacResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
940
+ VerifyMacResponse.add_member(:mac_valid, Shapes::ShapeRef.new(shape: BooleanType, location_name: "MacValid"))
941
+ VerifyMacResponse.add_member(:mac_algorithm, Shapes::ShapeRef.new(shape: MacAlgorithmSpec, location_name: "MacAlgorithm"))
942
+ VerifyMacResponse.struct_class = Types::VerifyMacResponse
943
+
944
+ VerifyRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
945
+ VerifyRequest.add_member(:message, Shapes::ShapeRef.new(shape: PlaintextType, required: true, location_name: "Message"))
946
+ VerifyRequest.add_member(:message_type, Shapes::ShapeRef.new(shape: MessageType, location_name: "MessageType"))
947
+ VerifyRequest.add_member(:signature, Shapes::ShapeRef.new(shape: CiphertextType, required: true, location_name: "Signature"))
948
+ VerifyRequest.add_member(:signing_algorithm, Shapes::ShapeRef.new(shape: SigningAlgorithmSpec, required: true, location_name: "SigningAlgorithm"))
949
+ VerifyRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
950
+ VerifyRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
951
+ VerifyRequest.struct_class = Types::VerifyRequest
952
+
953
+ VerifyResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
954
+ VerifyResponse.add_member(:signature_valid, Shapes::ShapeRef.new(shape: BooleanType, location_name: "SignatureValid"))
955
+ VerifyResponse.add_member(:signing_algorithm, Shapes::ShapeRef.new(shape: SigningAlgorithmSpec, location_name: "SigningAlgorithm"))
956
+ VerifyResponse.struct_class = Types::VerifyResponse
957
+
958
+ XksKeyAlreadyInUseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
959
+ XksKeyAlreadyInUseException.struct_class = Types::XksKeyAlreadyInUseException
960
+
961
+ XksKeyConfigurationType.add_member(:id, Shapes::ShapeRef.new(shape: XksKeyIdType, location_name: "Id"))
962
+ XksKeyConfigurationType.struct_class = Types::XksKeyConfigurationType
963
+
964
+ XksKeyInvalidConfigurationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
965
+ XksKeyInvalidConfigurationException.struct_class = Types::XksKeyInvalidConfigurationException
966
+
967
+ XksKeyNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
968
+ XksKeyNotFoundException.struct_class = Types::XksKeyNotFoundException
969
+
970
+ XksProxyAuthenticationCredentialType.add_member(:access_key_id, Shapes::ShapeRef.new(shape: XksProxyAuthenticationAccessKeyIdType, required: true, location_name: "AccessKeyId"))
971
+ XksProxyAuthenticationCredentialType.add_member(:raw_secret_access_key, Shapes::ShapeRef.new(shape: XksProxyAuthenticationRawSecretAccessKeyType, required: true, location_name: "RawSecretAccessKey"))
972
+ XksProxyAuthenticationCredentialType.struct_class = Types::XksProxyAuthenticationCredentialType
973
+
974
+ XksProxyConfigurationType.add_member(:connectivity, Shapes::ShapeRef.new(shape: XksProxyConnectivityType, location_name: "Connectivity"))
975
+ XksProxyConfigurationType.add_member(:access_key_id, Shapes::ShapeRef.new(shape: XksProxyAuthenticationAccessKeyIdType, location_name: "AccessKeyId"))
976
+ XksProxyConfigurationType.add_member(:uri_endpoint, Shapes::ShapeRef.new(shape: XksProxyUriEndpointType, location_name: "UriEndpoint"))
977
+ XksProxyConfigurationType.add_member(:uri_path, Shapes::ShapeRef.new(shape: XksProxyUriPathType, location_name: "UriPath"))
978
+ XksProxyConfigurationType.add_member(:vpc_endpoint_service_name, Shapes::ShapeRef.new(shape: XksProxyVpcEndpointServiceNameType, location_name: "VpcEndpointServiceName"))
979
+ XksProxyConfigurationType.struct_class = Types::XksProxyConfigurationType
980
+
981
+ XksProxyIncorrectAuthenticationCredentialException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
982
+ XksProxyIncorrectAuthenticationCredentialException.struct_class = Types::XksProxyIncorrectAuthenticationCredentialException
983
+
984
+ XksProxyInvalidConfigurationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
985
+ XksProxyInvalidConfigurationException.struct_class = Types::XksProxyInvalidConfigurationException
986
+
987
+ XksProxyInvalidResponseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
988
+ XksProxyInvalidResponseException.struct_class = Types::XksProxyInvalidResponseException
989
+
990
+ XksProxyUriEndpointInUseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
991
+ XksProxyUriEndpointInUseException.struct_class = Types::XksProxyUriEndpointInUseException
992
+
993
+ XksProxyUriInUseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
994
+ XksProxyUriInUseException.struct_class = Types::XksProxyUriInUseException
995
+
996
+ XksProxyUriUnreachableException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
997
+ XksProxyUriUnreachableException.struct_class = Types::XksProxyUriUnreachableException
998
+
999
+ XksProxyVpcEndpointServiceInUseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
1000
+ XksProxyVpcEndpointServiceInUseException.struct_class = Types::XksProxyVpcEndpointServiceInUseException
1001
+
1002
+ XksProxyVpcEndpointServiceInvalidConfigurationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
1003
+ XksProxyVpcEndpointServiceInvalidConfigurationException.struct_class = Types::XksProxyVpcEndpointServiceInvalidConfigurationException
1004
+
1005
+ XksProxyVpcEndpointServiceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
1006
+ XksProxyVpcEndpointServiceNotFoundException.struct_class = Types::XksProxyVpcEndpointServiceNotFoundException
1007
+
445
1008
 
446
1009
  # @api private
447
1010
  API = Seahorse::Model::Api.new.tap do |api|
@@ -449,12 +1012,18 @@ module Aws::KMS
449
1012
  api.version = "2014-11-01"
450
1013
 
451
1014
  api.metadata = {
1015
+ "apiVersion" => "2014-11-01",
1016
+ "auth" => ["aws.auth#sigv4"],
452
1017
  "endpointPrefix" => "kms",
453
1018
  "jsonVersion" => "1.1",
454
1019
  "protocol" => "json",
1020
+ "protocols" => ["json"],
1021
+ "serviceAbbreviation" => "KMS",
455
1022
  "serviceFullName" => "AWS Key Management Service",
1023
+ "serviceId" => "KMS",
456
1024
  "signatureVersion" => "v4",
457
1025
  "targetPrefix" => "TrentService",
1026
+ "uid" => "kms-2014-11-01",
458
1027
  }
459
1028
 
460
1029
  api.add_operation(:cancel_key_deletion, Seahorse::Model::Operation.new.tap do |o|
@@ -470,6 +1039,19 @@ module Aws::KMS
470
1039
  o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
471
1040
  end)
472
1041
 
1042
+ api.add_operation(:connect_custom_key_store, Seahorse::Model::Operation.new.tap do |o|
1043
+ o.name = "ConnectCustomKeyStore"
1044
+ o.http_method = "POST"
1045
+ o.http_request_uri = "/"
1046
+ o.input = Shapes::ShapeRef.new(shape: ConnectCustomKeyStoreRequest)
1047
+ o.output = Shapes::ShapeRef.new(shape: ConnectCustomKeyStoreResponse)
1048
+ o.errors << Shapes::ShapeRef.new(shape: CloudHsmClusterNotActiveException)
1049
+ o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreInvalidStateException)
1050
+ o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreNotFoundException)
1051
+ o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1052
+ o.errors << Shapes::ShapeRef.new(shape: CloudHsmClusterInvalidConfigurationException)
1053
+ end)
1054
+
473
1055
  api.add_operation(:create_alias, Seahorse::Model::Operation.new.tap do |o|
474
1056
  o.name = "CreateAlias"
475
1057
  o.http_method = "POST"
@@ -485,6 +1067,31 @@ module Aws::KMS
485
1067
  o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
486
1068
  end)
487
1069
 
1070
+ api.add_operation(:create_custom_key_store, Seahorse::Model::Operation.new.tap do |o|
1071
+ o.name = "CreateCustomKeyStore"
1072
+ o.http_method = "POST"
1073
+ o.http_request_uri = "/"
1074
+ o.input = Shapes::ShapeRef.new(shape: CreateCustomKeyStoreRequest)
1075
+ o.output = Shapes::ShapeRef.new(shape: CreateCustomKeyStoreResponse)
1076
+ o.errors << Shapes::ShapeRef.new(shape: CloudHsmClusterInUseException)
1077
+ o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreNameInUseException)
1078
+ o.errors << Shapes::ShapeRef.new(shape: CloudHsmClusterNotFoundException)
1079
+ o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1080
+ o.errors << Shapes::ShapeRef.new(shape: CloudHsmClusterNotActiveException)
1081
+ o.errors << Shapes::ShapeRef.new(shape: IncorrectTrustAnchorException)
1082
+ o.errors << Shapes::ShapeRef.new(shape: CloudHsmClusterInvalidConfigurationException)
1083
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1084
+ o.errors << Shapes::ShapeRef.new(shape: XksProxyUriInUseException)
1085
+ o.errors << Shapes::ShapeRef.new(shape: XksProxyUriEndpointInUseException)
1086
+ o.errors << Shapes::ShapeRef.new(shape: XksProxyUriUnreachableException)
1087
+ o.errors << Shapes::ShapeRef.new(shape: XksProxyIncorrectAuthenticationCredentialException)
1088
+ o.errors << Shapes::ShapeRef.new(shape: XksProxyVpcEndpointServiceInUseException)
1089
+ o.errors << Shapes::ShapeRef.new(shape: XksProxyVpcEndpointServiceNotFoundException)
1090
+ o.errors << Shapes::ShapeRef.new(shape: XksProxyVpcEndpointServiceInvalidConfigurationException)
1091
+ o.errors << Shapes::ShapeRef.new(shape: XksProxyInvalidResponseException)
1092
+ o.errors << Shapes::ShapeRef.new(shape: XksProxyInvalidConfigurationException)
1093
+ end)
1094
+
488
1095
  api.add_operation(:create_grant, Seahorse::Model::Operation.new.tap do |o|
489
1096
  o.name = "CreateGrant"
490
1097
  o.http_method = "POST"
@@ -499,6 +1106,7 @@ module Aws::KMS
499
1106
  o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
500
1107
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
501
1108
  o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
1109
+ o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
502
1110
  end)
503
1111
 
504
1112
  api.add_operation(:create_key, Seahorse::Model::Operation.new.tap do |o|
@@ -514,6 +1122,12 @@ module Aws::KMS
514
1122
  o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
515
1123
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
516
1124
  o.errors << Shapes::ShapeRef.new(shape: TagException)
1125
+ o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreNotFoundException)
1126
+ o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreInvalidStateException)
1127
+ o.errors << Shapes::ShapeRef.new(shape: CloudHsmClusterInvalidConfigurationException)
1128
+ o.errors << Shapes::ShapeRef.new(shape: XksKeyInvalidConfigurationException)
1129
+ o.errors << Shapes::ShapeRef.new(shape: XksKeyAlreadyInUseException)
1130
+ o.errors << Shapes::ShapeRef.new(shape: XksKeyNotFoundException)
517
1131
  end)
518
1132
 
519
1133
  api.add_operation(:decrypt, Seahorse::Model::Operation.new.tap do |o|
@@ -526,10 +1140,13 @@ module Aws::KMS
526
1140
  o.errors << Shapes::ShapeRef.new(shape: DisabledException)
527
1141
  o.errors << Shapes::ShapeRef.new(shape: InvalidCiphertextException)
528
1142
  o.errors << Shapes::ShapeRef.new(shape: KeyUnavailableException)
1143
+ o.errors << Shapes::ShapeRef.new(shape: IncorrectKeyException)
1144
+ o.errors << Shapes::ShapeRef.new(shape: InvalidKeyUsageException)
529
1145
  o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
530
1146
  o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
531
1147
  o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
532
1148
  o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
1149
+ o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
533
1150
  end)
534
1151
 
535
1152
  api.add_operation(:delete_alias, Seahorse::Model::Operation.new.tap do |o|
@@ -544,6 +1161,18 @@ module Aws::KMS
544
1161
  o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
545
1162
  end)
546
1163
 
1164
+ api.add_operation(:delete_custom_key_store, Seahorse::Model::Operation.new.tap do |o|
1165
+ o.name = "DeleteCustomKeyStore"
1166
+ o.http_method = "POST"
1167
+ o.http_request_uri = "/"
1168
+ o.input = Shapes::ShapeRef.new(shape: DeleteCustomKeyStoreRequest)
1169
+ o.output = Shapes::ShapeRef.new(shape: DeleteCustomKeyStoreResponse)
1170
+ o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreHasCMKsException)
1171
+ o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreInvalidStateException)
1172
+ o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreNotFoundException)
1173
+ o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1174
+ end)
1175
+
547
1176
  api.add_operation(:delete_imported_key_material, Seahorse::Model::Operation.new.tap do |o|
548
1177
  o.name = "DeleteImportedKeyMaterial"
549
1178
  o.http_method = "POST"
@@ -558,6 +1187,41 @@ module Aws::KMS
558
1187
  o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
559
1188
  end)
560
1189
 
1190
+ api.add_operation(:derive_shared_secret, Seahorse::Model::Operation.new.tap do |o|
1191
+ o.name = "DeriveSharedSecret"
1192
+ o.http_method = "POST"
1193
+ o.http_request_uri = "/"
1194
+ o.input = Shapes::ShapeRef.new(shape: DeriveSharedSecretRequest)
1195
+ o.output = Shapes::ShapeRef.new(shape: DeriveSharedSecretResponse)
1196
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1197
+ o.errors << Shapes::ShapeRef.new(shape: DisabledException)
1198
+ o.errors << Shapes::ShapeRef.new(shape: KeyUnavailableException)
1199
+ o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
1200
+ o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
1201
+ o.errors << Shapes::ShapeRef.new(shape: InvalidKeyUsageException)
1202
+ o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1203
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
1204
+ o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
1205
+ end)
1206
+
1207
+ api.add_operation(:describe_custom_key_stores, Seahorse::Model::Operation.new.tap do |o|
1208
+ o.name = "DescribeCustomKeyStores"
1209
+ o.http_method = "POST"
1210
+ o.http_request_uri = "/"
1211
+ o.input = Shapes::ShapeRef.new(shape: DescribeCustomKeyStoresRequest)
1212
+ o.output = Shapes::ShapeRef.new(shape: DescribeCustomKeyStoresResponse)
1213
+ o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreNotFoundException)
1214
+ o.errors << Shapes::ShapeRef.new(shape: InvalidMarkerException)
1215
+ o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1216
+ o[:pager] = Aws::Pager.new(
1217
+ more_results: "truncated",
1218
+ limit_key: "limit",
1219
+ tokens: {
1220
+ "next_marker" => "marker"
1221
+ }
1222
+ )
1223
+ end)
1224
+
561
1225
  api.add_operation(:describe_key, Seahorse::Model::Operation.new.tap do |o|
562
1226
  o.name = "DescribeKey"
563
1227
  o.http_method = "POST"
@@ -598,6 +1262,17 @@ module Aws::KMS
598
1262
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
599
1263
  end)
600
1264
 
1265
+ api.add_operation(:disconnect_custom_key_store, Seahorse::Model::Operation.new.tap do |o|
1266
+ o.name = "DisconnectCustomKeyStore"
1267
+ o.http_method = "POST"
1268
+ o.http_request_uri = "/"
1269
+ o.input = Shapes::ShapeRef.new(shape: DisconnectCustomKeyStoreRequest)
1270
+ o.output = Shapes::ShapeRef.new(shape: DisconnectCustomKeyStoreResponse)
1271
+ o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreInvalidStateException)
1272
+ o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreNotFoundException)
1273
+ o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1274
+ end)
1275
+
601
1276
  api.add_operation(:enable_key, Seahorse::Model::Operation.new.tap do |o|
602
1277
  o.name = "EnableKey"
603
1278
  o.http_method = "POST"
@@ -641,6 +1316,7 @@ module Aws::KMS
641
1316
  o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
642
1317
  o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
643
1318
  o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
1319
+ o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
644
1320
  end)
645
1321
 
646
1322
  api.add_operation(:generate_data_key, Seahorse::Model::Operation.new.tap do |o|
@@ -657,6 +1333,43 @@ module Aws::KMS
657
1333
  o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
658
1334
  o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
659
1335
  o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
1336
+ o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
1337
+ end)
1338
+
1339
+ api.add_operation(:generate_data_key_pair, Seahorse::Model::Operation.new.tap do |o|
1340
+ o.name = "GenerateDataKeyPair"
1341
+ o.http_method = "POST"
1342
+ o.http_request_uri = "/"
1343
+ o.input = Shapes::ShapeRef.new(shape: GenerateDataKeyPairRequest)
1344
+ o.output = Shapes::ShapeRef.new(shape: GenerateDataKeyPairResponse)
1345
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1346
+ o.errors << Shapes::ShapeRef.new(shape: DisabledException)
1347
+ o.errors << Shapes::ShapeRef.new(shape: KeyUnavailableException)
1348
+ o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
1349
+ o.errors << Shapes::ShapeRef.new(shape: InvalidKeyUsageException)
1350
+ o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
1351
+ o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1352
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
1353
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1354
+ o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
1355
+ end)
1356
+
1357
+ api.add_operation(:generate_data_key_pair_without_plaintext, Seahorse::Model::Operation.new.tap do |o|
1358
+ o.name = "GenerateDataKeyPairWithoutPlaintext"
1359
+ o.http_method = "POST"
1360
+ o.http_request_uri = "/"
1361
+ o.input = Shapes::ShapeRef.new(shape: GenerateDataKeyPairWithoutPlaintextRequest)
1362
+ o.output = Shapes::ShapeRef.new(shape: GenerateDataKeyPairWithoutPlaintextResponse)
1363
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1364
+ o.errors << Shapes::ShapeRef.new(shape: DisabledException)
1365
+ o.errors << Shapes::ShapeRef.new(shape: KeyUnavailableException)
1366
+ o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
1367
+ o.errors << Shapes::ShapeRef.new(shape: InvalidKeyUsageException)
1368
+ o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
1369
+ o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1370
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
1371
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1372
+ o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
660
1373
  end)
661
1374
 
662
1375
  api.add_operation(:generate_data_key_without_plaintext, Seahorse::Model::Operation.new.tap do |o|
@@ -673,6 +1386,23 @@ module Aws::KMS
673
1386
  o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
674
1387
  o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
675
1388
  o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
1389
+ o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
1390
+ end)
1391
+
1392
+ api.add_operation(:generate_mac, Seahorse::Model::Operation.new.tap do |o|
1393
+ o.name = "GenerateMac"
1394
+ o.http_method = "POST"
1395
+ o.http_request_uri = "/"
1396
+ o.input = Shapes::ShapeRef.new(shape: GenerateMacRequest)
1397
+ o.output = Shapes::ShapeRef.new(shape: GenerateMacResponse)
1398
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1399
+ o.errors << Shapes::ShapeRef.new(shape: DisabledException)
1400
+ o.errors << Shapes::ShapeRef.new(shape: KeyUnavailableException)
1401
+ o.errors << Shapes::ShapeRef.new(shape: InvalidKeyUsageException)
1402
+ o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
1403
+ o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1404
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
1405
+ o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
676
1406
  end)
677
1407
 
678
1408
  api.add_operation(:generate_random, Seahorse::Model::Operation.new.tap do |o|
@@ -683,6 +1413,9 @@ module Aws::KMS
683
1413
  o.output = Shapes::ShapeRef.new(shape: GenerateRandomResponse)
684
1414
  o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
685
1415
  o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1416
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1417
+ o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreNotFoundException)
1418
+ o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreInvalidStateException)
686
1419
  end)
687
1420
 
688
1421
  api.add_operation(:get_key_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -726,6 +1459,24 @@ module Aws::KMS
726
1459
  o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
727
1460
  end)
728
1461
 
1462
+ api.add_operation(:get_public_key, Seahorse::Model::Operation.new.tap do |o|
1463
+ o.name = "GetPublicKey"
1464
+ o.http_method = "POST"
1465
+ o.http_request_uri = "/"
1466
+ o.input = Shapes::ShapeRef.new(shape: GetPublicKeyRequest)
1467
+ o.output = Shapes::ShapeRef.new(shape: GetPublicKeyResponse)
1468
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1469
+ o.errors << Shapes::ShapeRef.new(shape: DisabledException)
1470
+ o.errors << Shapes::ShapeRef.new(shape: KeyUnavailableException)
1471
+ o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
1472
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1473
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
1474
+ o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
1475
+ o.errors << Shapes::ShapeRef.new(shape: InvalidKeyUsageException)
1476
+ o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1477
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
1478
+ end)
1479
+
729
1480
  api.add_operation(:import_key_material, Seahorse::Model::Operation.new.tap do |o|
730
1481
  o.name = "ImportKeyMaterial"
731
1482
  o.http_method = "POST"
@@ -753,6 +1504,8 @@ module Aws::KMS
753
1504
  o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
754
1505
  o.errors << Shapes::ShapeRef.new(shape: InvalidMarkerException)
755
1506
  o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1507
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
1508
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
756
1509
  o[:pager] = Aws::Pager.new(
757
1510
  more_results: "truncated",
758
1511
  limit_key: "limit",
@@ -771,6 +1524,7 @@ module Aws::KMS
771
1524
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
772
1525
  o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
773
1526
  o.errors << Shapes::ShapeRef.new(shape: InvalidMarkerException)
1527
+ o.errors << Shapes::ShapeRef.new(shape: InvalidGrantIdException)
774
1528
  o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
775
1529
  o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
776
1530
  o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
@@ -803,6 +1557,27 @@ module Aws::KMS
803
1557
  )
804
1558
  end)
805
1559
 
1560
+ api.add_operation(:list_key_rotations, Seahorse::Model::Operation.new.tap do |o|
1561
+ o.name = "ListKeyRotations"
1562
+ o.http_method = "POST"
1563
+ o.http_request_uri = "/"
1564
+ o.input = Shapes::ShapeRef.new(shape: ListKeyRotationsRequest)
1565
+ o.output = Shapes::ShapeRef.new(shape: ListKeyRotationsResponse)
1566
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1567
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
1568
+ o.errors << Shapes::ShapeRef.new(shape: InvalidMarkerException)
1569
+ o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1570
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
1571
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1572
+ o[:pager] = Aws::Pager.new(
1573
+ more_results: "truncated",
1574
+ limit_key: "limit",
1575
+ tokens: {
1576
+ "next_marker" => "marker"
1577
+ }
1578
+ )
1579
+ end)
1580
+
806
1581
  api.add_operation(:list_keys, Seahorse::Model::Operation.new.tap do |o|
807
1582
  o.name = "ListKeys"
808
1583
  o.http_method = "POST"
@@ -831,6 +1606,13 @@ module Aws::KMS
831
1606
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
832
1607
  o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
833
1608
  o.errors << Shapes::ShapeRef.new(shape: InvalidMarkerException)
1609
+ o[:pager] = Aws::Pager.new(
1610
+ more_results: "truncated",
1611
+ limit_key: "limit",
1612
+ tokens: {
1613
+ "next_marker" => "marker"
1614
+ }
1615
+ )
834
1616
  end)
835
1617
 
836
1618
  api.add_operation(:list_retirable_grants, Seahorse::Model::Operation.new.tap do |o|
@@ -844,6 +1626,13 @@ module Aws::KMS
844
1626
  o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
845
1627
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
846
1628
  o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1629
+ o[:pager] = Aws::Pager.new(
1630
+ more_results: "truncated",
1631
+ limit_key: "limit",
1632
+ tokens: {
1633
+ "next_marker" => "marker"
1634
+ }
1635
+ )
847
1636
  end)
848
1637
 
849
1638
  api.add_operation(:put_key_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -872,11 +1661,31 @@ module Aws::KMS
872
1661
  o.errors << Shapes::ShapeRef.new(shape: DisabledException)
873
1662
  o.errors << Shapes::ShapeRef.new(shape: InvalidCiphertextException)
874
1663
  o.errors << Shapes::ShapeRef.new(shape: KeyUnavailableException)
1664
+ o.errors << Shapes::ShapeRef.new(shape: IncorrectKeyException)
875
1665
  o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
876
1666
  o.errors << Shapes::ShapeRef.new(shape: InvalidKeyUsageException)
877
1667
  o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
878
1668
  o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
879
1669
  o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
1670
+ o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
1671
+ end)
1672
+
1673
+ api.add_operation(:replicate_key, Seahorse::Model::Operation.new.tap do |o|
1674
+ o.name = "ReplicateKey"
1675
+ o.http_method = "POST"
1676
+ o.http_request_uri = "/"
1677
+ o.input = Shapes::ShapeRef.new(shape: ReplicateKeyRequest)
1678
+ o.output = Shapes::ShapeRef.new(shape: ReplicateKeyResponse)
1679
+ o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
1680
+ o.errors << Shapes::ShapeRef.new(shape: DisabledException)
1681
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
1682
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
1683
+ o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1684
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1685
+ o.errors << Shapes::ShapeRef.new(shape: MalformedPolicyDocumentException)
1686
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1687
+ o.errors << Shapes::ShapeRef.new(shape: TagException)
1688
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
880
1689
  end)
881
1690
 
882
1691
  api.add_operation(:retire_grant, Seahorse::Model::Operation.new.tap do |o|
@@ -885,12 +1694,14 @@ module Aws::KMS
885
1694
  o.http_request_uri = "/"
886
1695
  o.input = Shapes::ShapeRef.new(shape: RetireGrantRequest)
887
1696
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1697
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
888
1698
  o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
889
1699
  o.errors << Shapes::ShapeRef.new(shape: InvalidGrantIdException)
890
1700
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
891
1701
  o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
892
1702
  o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
893
1703
  o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
1704
+ o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
894
1705
  end)
895
1706
 
896
1707
  api.add_operation(:revoke_grant, Seahorse::Model::Operation.new.tap do |o|
@@ -905,6 +1716,24 @@ module Aws::KMS
905
1716
  o.errors << Shapes::ShapeRef.new(shape: InvalidGrantIdException)
906
1717
  o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
907
1718
  o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
1719
+ o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
1720
+ end)
1721
+
1722
+ api.add_operation(:rotate_key_on_demand, Seahorse::Model::Operation.new.tap do |o|
1723
+ o.name = "RotateKeyOnDemand"
1724
+ o.http_method = "POST"
1725
+ o.http_request_uri = "/"
1726
+ o.input = Shapes::ShapeRef.new(shape: RotateKeyOnDemandRequest)
1727
+ o.output = Shapes::ShapeRef.new(shape: RotateKeyOnDemandResponse)
1728
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1729
+ o.errors << Shapes::ShapeRef.new(shape: DisabledException)
1730
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
1731
+ o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
1732
+ o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1733
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
1734
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1735
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1736
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
908
1737
  end)
909
1738
 
910
1739
  api.add_operation(:schedule_key_deletion, Seahorse::Model::Operation.new.tap do |o|
@@ -920,6 +1749,23 @@ module Aws::KMS
920
1749
  o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
921
1750
  end)
922
1751
 
1752
+ api.add_operation(:sign, Seahorse::Model::Operation.new.tap do |o|
1753
+ o.name = "Sign"
1754
+ o.http_method = "POST"
1755
+ o.http_request_uri = "/"
1756
+ o.input = Shapes::ShapeRef.new(shape: SignRequest)
1757
+ o.output = Shapes::ShapeRef.new(shape: SignResponse)
1758
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1759
+ o.errors << Shapes::ShapeRef.new(shape: DisabledException)
1760
+ o.errors << Shapes::ShapeRef.new(shape: KeyUnavailableException)
1761
+ o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
1762
+ o.errors << Shapes::ShapeRef.new(shape: InvalidKeyUsageException)
1763
+ o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
1764
+ o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1765
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
1766
+ o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
1767
+ end)
1768
+
923
1769
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
924
1770
  o.name = "TagResource"
925
1771
  o.http_method = "POST"
@@ -956,9 +1802,35 @@ module Aws::KMS
956
1802
  o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
957
1803
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
958
1804
  o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1805
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
959
1806
  o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
960
1807
  end)
961
1808
 
1809
+ api.add_operation(:update_custom_key_store, Seahorse::Model::Operation.new.tap do |o|
1810
+ o.name = "UpdateCustomKeyStore"
1811
+ o.http_method = "POST"
1812
+ o.http_request_uri = "/"
1813
+ o.input = Shapes::ShapeRef.new(shape: UpdateCustomKeyStoreRequest)
1814
+ o.output = Shapes::ShapeRef.new(shape: UpdateCustomKeyStoreResponse)
1815
+ o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreNotFoundException)
1816
+ o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreNameInUseException)
1817
+ o.errors << Shapes::ShapeRef.new(shape: CloudHsmClusterNotFoundException)
1818
+ o.errors << Shapes::ShapeRef.new(shape: CloudHsmClusterNotRelatedException)
1819
+ o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreInvalidStateException)
1820
+ o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1821
+ o.errors << Shapes::ShapeRef.new(shape: CloudHsmClusterNotActiveException)
1822
+ o.errors << Shapes::ShapeRef.new(shape: CloudHsmClusterInvalidConfigurationException)
1823
+ o.errors << Shapes::ShapeRef.new(shape: XksProxyUriInUseException)
1824
+ o.errors << Shapes::ShapeRef.new(shape: XksProxyUriEndpointInUseException)
1825
+ o.errors << Shapes::ShapeRef.new(shape: XksProxyUriUnreachableException)
1826
+ o.errors << Shapes::ShapeRef.new(shape: XksProxyIncorrectAuthenticationCredentialException)
1827
+ o.errors << Shapes::ShapeRef.new(shape: XksProxyVpcEndpointServiceInUseException)
1828
+ o.errors << Shapes::ShapeRef.new(shape: XksProxyVpcEndpointServiceNotFoundException)
1829
+ o.errors << Shapes::ShapeRef.new(shape: XksProxyVpcEndpointServiceInvalidConfigurationException)
1830
+ o.errors << Shapes::ShapeRef.new(shape: XksProxyInvalidResponseException)
1831
+ o.errors << Shapes::ShapeRef.new(shape: XksProxyInvalidConfigurationException)
1832
+ end)
1833
+
962
1834
  api.add_operation(:update_key_description, Seahorse::Model::Operation.new.tap do |o|
963
1835
  o.name = "UpdateKeyDescription"
964
1836
  o.http_method = "POST"
@@ -971,6 +1843,55 @@ module Aws::KMS
971
1843
  o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
972
1844
  o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
973
1845
  end)
1846
+
1847
+ api.add_operation(:update_primary_region, Seahorse::Model::Operation.new.tap do |o|
1848
+ o.name = "UpdatePrimaryRegion"
1849
+ o.http_method = "POST"
1850
+ o.http_request_uri = "/"
1851
+ o.input = Shapes::ShapeRef.new(shape: UpdatePrimaryRegionRequest)
1852
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1853
+ o.errors << Shapes::ShapeRef.new(shape: DisabledException)
1854
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
1855
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
1856
+ o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1857
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1858
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1859
+ end)
1860
+
1861
+ api.add_operation(:verify, Seahorse::Model::Operation.new.tap do |o|
1862
+ o.name = "Verify"
1863
+ o.http_method = "POST"
1864
+ o.http_request_uri = "/"
1865
+ o.input = Shapes::ShapeRef.new(shape: VerifyRequest)
1866
+ o.output = Shapes::ShapeRef.new(shape: VerifyResponse)
1867
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1868
+ o.errors << Shapes::ShapeRef.new(shape: DisabledException)
1869
+ o.errors << Shapes::ShapeRef.new(shape: KeyUnavailableException)
1870
+ o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
1871
+ o.errors << Shapes::ShapeRef.new(shape: InvalidKeyUsageException)
1872
+ o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
1873
+ o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1874
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
1875
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidSignatureException)
1876
+ o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
1877
+ end)
1878
+
1879
+ api.add_operation(:verify_mac, Seahorse::Model::Operation.new.tap do |o|
1880
+ o.name = "VerifyMac"
1881
+ o.http_method = "POST"
1882
+ o.http_request_uri = "/"
1883
+ o.input = Shapes::ShapeRef.new(shape: VerifyMacRequest)
1884
+ o.output = Shapes::ShapeRef.new(shape: VerifyMacResponse)
1885
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1886
+ o.errors << Shapes::ShapeRef.new(shape: DisabledException)
1887
+ o.errors << Shapes::ShapeRef.new(shape: KeyUnavailableException)
1888
+ o.errors << Shapes::ShapeRef.new(shape: InvalidKeyUsageException)
1889
+ o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
1890
+ o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1891
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidMacException)
1892
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
1893
+ o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
1894
+ end)
974
1895
  end
975
1896
 
976
1897
  end