'2014-11-01', 'endpointPrefix' => 'kms', 'serviceFullName' => 'AWS Key Management Service', 'serviceAbbreviation' => 'KMS', 'serviceType' => 'json', 'jsonVersion' => '1.1', 'targetPrefix' => 'TrentService.', 'signatureVersion' => 'v4', 'namespace' => 'Kms', 'operations' => array( 'CancelKeyDeletion' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\JsonCommand', 'responseClass' => 'CancelKeyDeletionResponse', 'responseType' => 'model', 'parameters' => array( 'Content-Type' => array( 'static' => true, 'location' => 'header', 'default' => 'application/x-amz-json-1.1', ), 'command.expects' => array( 'static' => true, 'default' => 'application/json', ), 'X-Amz-Target' => array( 'static' => true, 'location' => 'header', 'default' => 'TrentService.CancelKeyDeletion', ), 'KeyId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), ), 'errorResponses' => array( array( 'reason' => 'The request was rejected because the specified entity or resource could not be found.', 'class' => 'NotFoundException', ), array( 'reason' => 'The request was rejected because a specified ARN was not valid.', 'class' => 'InvalidArnException', ), array( 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), array( 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', 'class' => 'KMSInvalidStateException', ), ), ), 'CreateAlias' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\JsonCommand', 'responseClass' => 'EmptyOutput', 'responseType' => 'model', 'parameters' => array( 'Content-Type' => array( 'static' => true, 'location' => 'header', 'default' => 'application/x-amz-json-1.1', ), 'command.expects' => array( 'static' => true, 'default' => 'application/json', ), 'X-Amz-Target' => array( 'static' => true, 'location' => 'header', 'default' => 'TrentService.CreateAlias', ), 'AliasName' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), 'TargetKeyId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), ), 'errorResponses' => array( array( 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( 'reason' => 'The request was rejected because it attempted to create a resource that already exists.', 'class' => 'AlreadyExistsException', ), array( 'reason' => 'The request was rejected because the specified entity or resource could not be found.', 'class' => 'NotFoundException', ), array( 'reason' => 'The request was rejected because the specified alias name is not valid.', 'class' => 'InvalidAliasNameException', ), array( 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), array( 'reason' => 'The request was rejected because a limit was exceeded. For more information, see Limits in the AWS Key Management Service Developer Guide.', 'class' => 'LimitExceededException', ), array( 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', 'class' => 'KMSInvalidStateException', ), ), ), 'CreateGrant' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\JsonCommand', 'responseClass' => 'CreateGrantResponse', 'responseType' => 'model', 'parameters' => array( 'Content-Type' => array( 'static' => true, 'location' => 'header', 'default' => 'application/x-amz-json-1.1', ), 'command.expects' => array( 'static' => true, 'default' => 'application/json', ), 'X-Amz-Target' => array( 'static' => true, 'location' => 'header', 'default' => 'TrentService.CreateGrant', ), 'KeyId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), 'GranteePrincipal' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), 'RetiringPrincipal' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), 'Operations' => array( 'type' => 'array', 'location' => 'json', 'items' => array( 'name' => 'GrantOperation', 'type' => 'string', ), ), 'Constraints' => array( 'type' => 'object', 'location' => 'json', 'properties' => array( 'EncryptionContextSubset' => array( 'type' => 'object', 'additionalProperties' => array( 'type' => 'string', 'data' => array( 'shape_name' => 'EncryptionContextKey', ), ), ), 'EncryptionContextEquals' => array( 'type' => 'object', 'additionalProperties' => array( 'type' => 'string', 'data' => array( 'shape_name' => 'EncryptionContextKey', ), ), ), ), ), 'GrantTokens' => array( 'type' => 'array', 'location' => 'json', 'maxItems' => 10, 'items' => array( 'name' => 'GrantTokenType', 'type' => 'string', 'minLength' => 1, ), ), 'Name' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), ), 'errorResponses' => array( array( 'reason' => 'The request was rejected because the specified entity or resource could not be found.', 'class' => 'NotFoundException', ), array( 'reason' => 'The request was rejected because the specified key was marked as disabled.', 'class' => 'DisabledException', ), array( 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( 'reason' => 'The request was rejected because a specified ARN was not valid.', 'class' => 'InvalidArnException', ), array( 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), array( 'reason' => 'The request was rejected because a grant token provided as part of the request is invalid.', 'class' => 'InvalidGrantTokenException', ), array( 'reason' => 'The request was rejected because a limit was exceeded. For more information, see Limits in the AWS Key Management Service Developer Guide.', 'class' => 'LimitExceededException', ), array( 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', 'class' => 'KMSInvalidStateException', ), ), ), 'CreateKey' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\JsonCommand', 'responseClass' => 'CreateKeyResponse', 'responseType' => 'model', 'parameters' => array( 'Content-Type' => array( 'static' => true, 'location' => 'header', 'default' => 'application/x-amz-json-1.1', ), 'command.expects' => array( 'static' => true, 'default' => 'application/json', ), 'X-Amz-Target' => array( 'static' => true, 'location' => 'header', 'default' => 'TrentService.CreateKey', ), 'Policy' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), 'Description' => array( 'type' => 'string', 'location' => 'json', ), 'KeyUsage' => array( 'type' => 'string', 'location' => 'json', ), ), 'errorResponses' => array( array( 'reason' => 'The request was rejected because the specified policy is not syntactically or semantically correct.', 'class' => 'MalformedPolicyDocumentException', ), array( 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( 'reason' => 'The request was rejected because a specified ARN was not valid.', 'class' => 'InvalidArnException', ), array( 'reason' => 'The request was rejected because a specified parameter is not supported.', 'class' => 'UnsupportedOperationException', ), array( 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), array( 'reason' => 'The request was rejected because a limit was exceeded. For more information, see Limits in the AWS Key Management Service Developer Guide.', 'class' => 'LimitExceededException', ), ), ), 'Decrypt' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\JsonCommand', 'responseClass' => 'DecryptResponse', 'responseType' => 'model', 'parameters' => array( 'Content-Type' => array( 'static' => true, 'location' => 'header', 'default' => 'application/x-amz-json-1.1', ), 'command.expects' => array( 'static' => true, 'default' => 'application/json', ), 'X-Amz-Target' => array( 'static' => true, 'location' => 'header', 'default' => 'TrentService.Decrypt', ), 'CiphertextBlob' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'filters' => array( 'base64_encode', ), ), 'EncryptionContext' => array( 'type' => 'object', 'location' => 'json', 'additionalProperties' => array( 'type' => 'string', 'data' => array( 'shape_name' => 'EncryptionContextKey', ), ), ), 'GrantTokens' => array( 'type' => 'array', 'location' => 'json', 'maxItems' => 10, 'items' => array( 'name' => 'GrantTokenType', 'type' => 'string', 'minLength' => 1, ), ), ), 'errorResponses' => array( array( 'reason' => 'The request was rejected because the specified entity or resource could not be found.', 'class' => 'NotFoundException', ), array( 'reason' => 'The request was rejected because the specified key was marked as disabled.', 'class' => 'DisabledException', ), array( 'reason' => 'The request was rejected because the specified ciphertext has been corrupted or is otherwise invalid.', 'class' => 'InvalidCiphertextException', ), array( 'reason' => 'The request was rejected because the key was not available. The request can be retried.', 'class' => 'KeyUnavailableException', ), array( 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( 'reason' => 'The request was rejected because a grant token provided as part of the request is invalid.', 'class' => 'InvalidGrantTokenException', ), array( 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), array( 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', 'class' => 'KMSInvalidStateException', ), ), ), 'DeleteAlias' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\JsonCommand', 'responseClass' => 'EmptyOutput', 'responseType' => 'model', 'parameters' => array( 'Content-Type' => array( 'static' => true, 'location' => 'header', 'default' => 'application/x-amz-json-1.1', ), 'command.expects' => array( 'static' => true, 'default' => 'application/json', ), 'X-Amz-Target' => array( 'static' => true, 'location' => 'header', 'default' => 'TrentService.DeleteAlias', ), 'AliasName' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), ), 'errorResponses' => array( array( 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( 'reason' => 'The request was rejected because the specified entity or resource could not be found.', 'class' => 'NotFoundException', ), array( 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), array( 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', 'class' => 'KMSInvalidStateException', ), ), ), 'DescribeKey' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\JsonCommand', 'responseClass' => 'DescribeKeyResponse', 'responseType' => 'model', 'parameters' => array( 'Content-Type' => array( 'static' => true, 'location' => 'header', 'default' => 'application/x-amz-json-1.1', ), 'command.expects' => array( 'static' => true, 'default' => 'application/json', ), 'X-Amz-Target' => array( 'static' => true, 'location' => 'header', 'default' => 'TrentService.DescribeKey', ), 'KeyId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), 'GrantTokens' => array( 'type' => 'array', 'location' => 'json', 'maxItems' => 10, 'items' => array( 'name' => 'GrantTokenType', 'type' => 'string', 'minLength' => 1, ), ), ), 'errorResponses' => array( array( 'reason' => 'The request was rejected because the specified entity or resource could not be found.', 'class' => 'NotFoundException', ), array( 'reason' => 'The request was rejected because a specified ARN was not valid.', 'class' => 'InvalidArnException', ), array( 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), ), ), 'DisableKey' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\JsonCommand', 'responseClass' => 'EmptyOutput', 'responseType' => 'model', 'parameters' => array( 'Content-Type' => array( 'static' => true, 'location' => 'header', 'default' => 'application/x-amz-json-1.1', ), 'command.expects' => array( 'static' => true, 'default' => 'application/json', ), 'X-Amz-Target' => array( 'static' => true, 'location' => 'header', 'default' => 'TrentService.DisableKey', ), 'KeyId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), ), 'errorResponses' => array( array( 'reason' => 'The request was rejected because the specified entity or resource could not be found.', 'class' => 'NotFoundException', ), array( 'reason' => 'The request was rejected because a specified ARN was not valid.', 'class' => 'InvalidArnException', ), array( 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), array( 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', 'class' => 'KMSInvalidStateException', ), ), ), 'DisableKeyRotation' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\JsonCommand', 'responseClass' => 'EmptyOutput', 'responseType' => 'model', 'parameters' => array( 'Content-Type' => array( 'static' => true, 'location' => 'header', 'default' => 'application/x-amz-json-1.1', ), 'command.expects' => array( 'static' => true, 'default' => 'application/json', ), 'X-Amz-Target' => array( 'static' => true, 'location' => 'header', 'default' => 'TrentService.DisableKeyRotation', ), 'KeyId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), ), 'errorResponses' => array( array( 'reason' => 'The request was rejected because the specified entity or resource could not be found.', 'class' => 'NotFoundException', ), array( 'reason' => 'The request was rejected because the specified key was marked as disabled.', 'class' => 'DisabledException', ), array( 'reason' => 'The request was rejected because a specified ARN was not valid.', 'class' => 'InvalidArnException', ), array( 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), array( 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', 'class' => 'KMSInvalidStateException', ), ), ), 'EnableKey' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\JsonCommand', 'responseClass' => 'EmptyOutput', 'responseType' => 'model', 'parameters' => array( 'Content-Type' => array( 'static' => true, 'location' => 'header', 'default' => 'application/x-amz-json-1.1', ), 'command.expects' => array( 'static' => true, 'default' => 'application/json', ), 'X-Amz-Target' => array( 'static' => true, 'location' => 'header', 'default' => 'TrentService.EnableKey', ), 'KeyId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), ), 'errorResponses' => array( array( 'reason' => 'The request was rejected because the specified entity or resource could not be found.', 'class' => 'NotFoundException', ), array( 'reason' => 'The request was rejected because a specified ARN was not valid.', 'class' => 'InvalidArnException', ), array( 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), array( 'reason' => 'The request was rejected because a limit was exceeded. For more information, see Limits in the AWS Key Management Service Developer Guide.', 'class' => 'LimitExceededException', ), array( 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', 'class' => 'KMSInvalidStateException', ), ), ), 'EnableKeyRotation' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\JsonCommand', 'responseClass' => 'EmptyOutput', 'responseType' => 'model', 'parameters' => array( 'Content-Type' => array( 'static' => true, 'location' => 'header', 'default' => 'application/x-amz-json-1.1', ), 'command.expects' => array( 'static' => true, 'default' => 'application/json', ), 'X-Amz-Target' => array( 'static' => true, 'location' => 'header', 'default' => 'TrentService.EnableKeyRotation', ), 'KeyId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), ), 'errorResponses' => array( array( 'reason' => 'The request was rejected because the specified entity or resource could not be found.', 'class' => 'NotFoundException', ), array( 'reason' => 'The request was rejected because the specified key was marked as disabled.', 'class' => 'DisabledException', ), array( 'reason' => 'The request was rejected because a specified ARN was not valid.', 'class' => 'InvalidArnException', ), array( 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), array( 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', 'class' => 'KMSInvalidStateException', ), ), ), 'Encrypt' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\JsonCommand', 'responseClass' => 'EncryptResponse', 'responseType' => 'model', 'parameters' => array( 'Content-Type' => array( 'static' => true, 'location' => 'header', 'default' => 'application/x-amz-json-1.1', ), 'command.expects' => array( 'static' => true, 'default' => 'application/json', ), 'X-Amz-Target' => array( 'static' => true, 'location' => 'header', 'default' => 'TrentService.Encrypt', ), 'KeyId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), 'Plaintext' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'filters' => array( 'base64_encode', ), ), 'EncryptionContext' => array( 'type' => 'object', 'location' => 'json', 'additionalProperties' => array( 'type' => 'string', 'data' => array( 'shape_name' => 'EncryptionContextKey', ), ), ), 'GrantTokens' => array( 'type' => 'array', 'location' => 'json', 'maxItems' => 10, 'items' => array( 'name' => 'GrantTokenType', 'type' => 'string', 'minLength' => 1, ), ), ), 'errorResponses' => array( array( 'reason' => 'The request was rejected because the specified entity or resource could not be found.', 'class' => 'NotFoundException', ), array( 'reason' => 'The request was rejected because the specified key was marked as disabled.', 'class' => 'DisabledException', ), array( 'reason' => 'The request was rejected because the key was not available. The request can be retried.', 'class' => 'KeyUnavailableException', ), array( 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( 'reason' => 'The request was rejected because the specified KeySpec parameter is not valid. The currently supported value is ENCRYPT/DECRYPT.', 'class' => 'InvalidKeyUsageException', ), array( 'reason' => 'The request was rejected because a grant token provided as part of the request is invalid.', 'class' => 'InvalidGrantTokenException', ), array( 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), array( 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', 'class' => 'KMSInvalidStateException', ), ), ), 'GenerateDataKey' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\JsonCommand', 'responseClass' => 'GenerateDataKeyResponse', 'responseType' => 'model', 'parameters' => array( 'Content-Type' => array( 'static' => true, 'location' => 'header', 'default' => 'application/x-amz-json-1.1', ), 'command.expects' => array( 'static' => true, 'default' => 'application/json', ), 'X-Amz-Target' => array( 'static' => true, 'location' => 'header', 'default' => 'TrentService.GenerateDataKey', ), 'KeyId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), 'EncryptionContext' => array( 'type' => 'object', 'location' => 'json', 'additionalProperties' => array( 'type' => 'string', 'data' => array( 'shape_name' => 'EncryptionContextKey', ), ), ), 'NumberOfBytes' => array( 'type' => 'numeric', 'location' => 'json', 'minimum' => 1, 'maximum' => 1024, ), 'KeySpec' => array( 'type' => 'string', 'location' => 'json', ), 'GrantTokens' => array( 'type' => 'array', 'location' => 'json', 'maxItems' => 10, 'items' => array( 'name' => 'GrantTokenType', 'type' => 'string', 'minLength' => 1, ), ), ), 'errorResponses' => array( array( 'reason' => 'The request was rejected because the specified entity or resource could not be found.', 'class' => 'NotFoundException', ), array( 'reason' => 'The request was rejected because the specified key was marked as disabled.', 'class' => 'DisabledException', ), array( 'reason' => 'The request was rejected because the key was not available. The request can be retried.', 'class' => 'KeyUnavailableException', ), array( 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( 'reason' => 'The request was rejected because the specified KeySpec parameter is not valid. The currently supported value is ENCRYPT/DECRYPT.', 'class' => 'InvalidKeyUsageException', ), array( 'reason' => 'The request was rejected because a grant token provided as part of the request is invalid.', 'class' => 'InvalidGrantTokenException', ), array( 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), array( 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', 'class' => 'KMSInvalidStateException', ), ), ), 'GenerateDataKeyWithoutPlaintext' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\JsonCommand', 'responseClass' => 'GenerateDataKeyWithoutPlaintextResponse', 'responseType' => 'model', 'parameters' => array( 'Content-Type' => array( 'static' => true, 'location' => 'header', 'default' => 'application/x-amz-json-1.1', ), 'command.expects' => array( 'static' => true, 'default' => 'application/json', ), 'X-Amz-Target' => array( 'static' => true, 'location' => 'header', 'default' => 'TrentService.GenerateDataKeyWithoutPlaintext', ), 'KeyId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), 'EncryptionContext' => array( 'type' => 'object', 'location' => 'json', 'additionalProperties' => array( 'type' => 'string', 'data' => array( 'shape_name' => 'EncryptionContextKey', ), ), ), 'KeySpec' => array( 'type' => 'string', 'location' => 'json', ), 'NumberOfBytes' => array( 'type' => 'numeric', 'location' => 'json', 'minimum' => 1, 'maximum' => 1024, ), 'GrantTokens' => array( 'type' => 'array', 'location' => 'json', 'maxItems' => 10, 'items' => array( 'name' => 'GrantTokenType', 'type' => 'string', 'minLength' => 1, ), ), ), 'errorResponses' => array( array( 'reason' => 'The request was rejected because the specified entity or resource could not be found.', 'class' => 'NotFoundException', ), array( 'reason' => 'The request was rejected because the specified key was marked as disabled.', 'class' => 'DisabledException', ), array( 'reason' => 'The request was rejected because the key was not available. The request can be retried.', 'class' => 'KeyUnavailableException', ), array( 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( 'reason' => 'The request was rejected because the specified KeySpec parameter is not valid. The currently supported value is ENCRYPT/DECRYPT.', 'class' => 'InvalidKeyUsageException', ), array( 'reason' => 'The request was rejected because a grant token provided as part of the request is invalid.', 'class' => 'InvalidGrantTokenException', ), array( 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), array( 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', 'class' => 'KMSInvalidStateException', ), ), ), 'GenerateRandom' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\JsonCommand', 'responseClass' => 'GenerateRandomResponse', 'responseType' => 'model', 'parameters' => array( 'Content-Type' => array( 'static' => true, 'location' => 'header', 'default' => 'application/x-amz-json-1.1', ), 'command.expects' => array( 'static' => true, 'default' => 'application/json', ), 'X-Amz-Target' => array( 'static' => true, 'location' => 'header', 'default' => 'TrentService.GenerateRandom', ), 'NumberOfBytes' => array( 'type' => 'numeric', 'location' => 'json', 'minimum' => 1, 'maximum' => 1024, ), ), 'errorResponses' => array( array( 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), ), ), 'GetKeyPolicy' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\JsonCommand', 'responseClass' => 'GetKeyPolicyResponse', 'responseType' => 'model', 'parameters' => array( 'Content-Type' => array( 'static' => true, 'location' => 'header', 'default' => 'application/x-amz-json-1.1', ), 'command.expects' => array( 'static' => true, 'default' => 'application/json', ), 'X-Amz-Target' => array( 'static' => true, 'location' => 'header', 'default' => 'TrentService.GetKeyPolicy', ), 'KeyId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), 'PolicyName' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), ), 'errorResponses' => array( array( 'reason' => 'The request was rejected because the specified entity or resource could not be found.', 'class' => 'NotFoundException', ), array( 'reason' => 'The request was rejected because a specified ARN was not valid.', 'class' => 'InvalidArnException', ), array( 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), array( 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', 'class' => 'KMSInvalidStateException', ), ), ), 'GetKeyRotationStatus' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\JsonCommand', 'responseClass' => 'GetKeyRotationStatusResponse', 'responseType' => 'model', 'parameters' => array( 'Content-Type' => array( 'static' => true, 'location' => 'header', 'default' => 'application/x-amz-json-1.1', ), 'command.expects' => array( 'static' => true, 'default' => 'application/json', ), 'X-Amz-Target' => array( 'static' => true, 'location' => 'header', 'default' => 'TrentService.GetKeyRotationStatus', ), 'KeyId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), ), 'errorResponses' => array( array( 'reason' => 'The request was rejected because the specified entity or resource could not be found.', 'class' => 'NotFoundException', ), array( 'reason' => 'The request was rejected because a specified ARN was not valid.', 'class' => 'InvalidArnException', ), array( 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), array( 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', 'class' => 'KMSInvalidStateException', ), ), ), 'ListAliases' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\JsonCommand', 'responseClass' => 'ListAliasesResponse', 'responseType' => 'model', 'parameters' => array( 'Content-Type' => array( 'static' => true, 'location' => 'header', 'default' => 'application/x-amz-json-1.1', ), 'command.expects' => array( 'static' => true, 'default' => 'application/json', ), 'X-Amz-Target' => array( 'static' => true, 'location' => 'header', 'default' => 'TrentService.ListAliases', ), 'Limit' => array( 'type' => 'numeric', 'location' => 'json', 'minimum' => 1, 'maximum' => 1000, ), 'Marker' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), ), 'errorResponses' => array( array( 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( 'reason' => 'The request was rejected because the marker that specifies where pagination should next begin is not valid.', 'class' => 'InvalidMarkerException', ), array( 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), ), ), 'ListGrants' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\JsonCommand', 'responseClass' => 'ListGrantsResponse', 'responseType' => 'model', 'parameters' => array( 'Content-Type' => array( 'static' => true, 'location' => 'header', 'default' => 'application/x-amz-json-1.1', ), 'command.expects' => array( 'static' => true, 'default' => 'application/json', ), 'X-Amz-Target' => array( 'static' => true, 'location' => 'header', 'default' => 'TrentService.ListGrants', ), 'Limit' => array( 'type' => 'numeric', 'location' => 'json', 'minimum' => 1, 'maximum' => 1000, ), 'Marker' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), 'KeyId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), ), 'errorResponses' => array( array( 'reason' => 'The request was rejected because the specified entity or resource could not be found.', 'class' => 'NotFoundException', ), array( 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( 'reason' => 'The request was rejected because the marker that specifies where pagination should next begin is not valid.', 'class' => 'InvalidMarkerException', ), array( 'reason' => 'The request was rejected because a specified ARN was not valid.', 'class' => 'InvalidArnException', ), array( 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), array( 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', 'class' => 'KMSInvalidStateException', ), ), ), 'ListKeyPolicies' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\JsonCommand', 'responseClass' => 'ListKeyPoliciesResponse', 'responseType' => 'model', 'parameters' => array( 'Content-Type' => array( 'static' => true, 'location' => 'header', 'default' => 'application/x-amz-json-1.1', ), 'command.expects' => array( 'static' => true, 'default' => 'application/json', ), 'X-Amz-Target' => array( 'static' => true, 'location' => 'header', 'default' => 'TrentService.ListKeyPolicies', ), 'KeyId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), 'Limit' => array( 'type' => 'numeric', 'location' => 'json', 'minimum' => 1, 'maximum' => 1000, ), 'Marker' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), ), 'errorResponses' => array( array( 'reason' => 'The request was rejected because the specified entity or resource could not be found.', 'class' => 'NotFoundException', ), array( 'reason' => 'The request was rejected because a specified ARN was not valid.', 'class' => 'InvalidArnException', ), array( 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), array( 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', 'class' => 'KMSInvalidStateException', ), ), ), 'ListKeys' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\JsonCommand', 'responseClass' => 'ListKeysResponse', 'responseType' => 'model', 'parameters' => array( 'Content-Type' => array( 'static' => true, 'location' => 'header', 'default' => 'application/x-amz-json-1.1', ), 'command.expects' => array( 'static' => true, 'default' => 'application/json', ), 'X-Amz-Target' => array( 'static' => true, 'location' => 'header', 'default' => 'TrentService.ListKeys', ), 'Limit' => array( 'type' => 'numeric', 'location' => 'json', 'minimum' => 1, 'maximum' => 1000, ), 'Marker' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), ), 'errorResponses' => array( array( 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), ), ), 'ListRetirableGrants' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\JsonCommand', 'responseClass' => 'ListGrantsResponse', 'responseType' => 'model', 'parameters' => array( 'Content-Type' => array( 'static' => true, 'location' => 'header', 'default' => 'application/x-amz-json-1.1', ), 'command.expects' => array( 'static' => true, 'default' => 'application/json', ), 'X-Amz-Target' => array( 'static' => true, 'location' => 'header', 'default' => 'TrentService.ListRetirableGrants', ), 'Limit' => array( 'type' => 'numeric', 'location' => 'json', 'minimum' => 1, 'maximum' => 1000, ), 'Marker' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), 'RetiringPrincipal' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), ), 'errorResponses' => array( array( 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( 'reason' => 'The request was rejected because the marker that specifies where pagination should next begin is not valid.', 'class' => 'InvalidMarkerException', ), array( 'reason' => 'The request was rejected because a specified ARN was not valid.', 'class' => 'InvalidArnException', ), array( 'reason' => 'The request was rejected because the specified entity or resource could not be found.', 'class' => 'NotFoundException', ), array( 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), ), ), 'PutKeyPolicy' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\JsonCommand', 'responseClass' => 'EmptyOutput', 'responseType' => 'model', 'parameters' => array( 'Content-Type' => array( 'static' => true, 'location' => 'header', 'default' => 'application/x-amz-json-1.1', ), 'command.expects' => array( 'static' => true, 'default' => 'application/json', ), 'X-Amz-Target' => array( 'static' => true, 'location' => 'header', 'default' => 'TrentService.PutKeyPolicy', ), 'KeyId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), 'PolicyName' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), 'Policy' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), ), 'errorResponses' => array( array( 'reason' => 'The request was rejected because the specified entity or resource could not be found.', 'class' => 'NotFoundException', ), array( 'reason' => 'The request was rejected because a specified ARN was not valid.', 'class' => 'InvalidArnException', ), array( 'reason' => 'The request was rejected because the specified policy is not syntactically or semantically correct.', 'class' => 'MalformedPolicyDocumentException', ), array( 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( 'reason' => 'The request was rejected because a specified ARN was not valid.', 'class' => 'InvalidArnException', ), array( 'reason' => 'The request was rejected because a specified parameter is not supported.', 'class' => 'UnsupportedOperationException', ), array( 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), array( 'reason' => 'The request was rejected because a limit was exceeded. For more information, see Limits in the AWS Key Management Service Developer Guide.', 'class' => 'LimitExceededException', ), array( 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', 'class' => 'KMSInvalidStateException', ), ), ), 'ReEncrypt' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\JsonCommand', 'responseClass' => 'ReEncryptResponse', 'responseType' => 'model', 'parameters' => array( 'Content-Type' => array( 'static' => true, 'location' => 'header', 'default' => 'application/x-amz-json-1.1', ), 'command.expects' => array( 'static' => true, 'default' => 'application/json', ), 'X-Amz-Target' => array( 'static' => true, 'location' => 'header', 'default' => 'TrentService.ReEncrypt', ), 'CiphertextBlob' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'filters' => array( 'base64_encode', ), ), 'SourceEncryptionContext' => array( 'type' => 'object', 'location' => 'json', 'additionalProperties' => array( 'type' => 'string', 'data' => array( 'shape_name' => 'EncryptionContextKey', ), ), ), 'DestinationKeyId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), 'DestinationEncryptionContext' => array( 'type' => 'object', 'location' => 'json', 'additionalProperties' => array( 'type' => 'string', 'data' => array( 'shape_name' => 'EncryptionContextKey', ), ), ), 'GrantTokens' => array( 'type' => 'array', 'location' => 'json', 'maxItems' => 10, 'items' => array( 'name' => 'GrantTokenType', 'type' => 'string', 'minLength' => 1, ), ), ), 'errorResponses' => array( array( 'reason' => 'The request was rejected because the specified entity or resource could not be found.', 'class' => 'NotFoundException', ), array( 'reason' => 'The request was rejected because the specified key was marked as disabled.', 'class' => 'DisabledException', ), array( 'reason' => 'The request was rejected because the specified ciphertext has been corrupted or is otherwise invalid.', 'class' => 'InvalidCiphertextException', ), array( 'reason' => 'The request was rejected because the key was not available. The request can be retried.', 'class' => 'KeyUnavailableException', ), array( 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( 'reason' => 'The request was rejected because the specified KeySpec parameter is not valid. The currently supported value is ENCRYPT/DECRYPT.', 'class' => 'InvalidKeyUsageException', ), array( 'reason' => 'The request was rejected because a grant token provided as part of the request is invalid.', 'class' => 'InvalidGrantTokenException', ), array( 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), array( 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', 'class' => 'KMSInvalidStateException', ), ), ), 'RetireGrant' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\JsonCommand', 'responseClass' => 'EmptyOutput', 'responseType' => 'model', 'parameters' => array( 'Content-Type' => array( 'static' => true, 'location' => 'header', 'default' => 'application/x-amz-json-1.1', ), 'command.expects' => array( 'static' => true, 'default' => 'application/json', ), 'X-Amz-Target' => array( 'static' => true, 'location' => 'header', 'default' => 'TrentService.RetireGrant', ), 'GrantToken' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), 'KeyId' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), 'GrantId' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), ), 'errorResponses' => array( array( 'reason' => 'The request was rejected because a grant token provided as part of the request is invalid.', 'class' => 'InvalidGrantTokenException', ), array( 'reason' => 'The request was rejected because the specified GrantId is not valid.', 'class' => 'InvalidGrantIdException', ), array( 'reason' => 'The request was rejected because the specified entity or resource could not be found.', 'class' => 'NotFoundException', ), array( 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), array( 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', 'class' => 'KMSInvalidStateException', ), ), ), 'RevokeGrant' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\JsonCommand', 'responseClass' => 'EmptyOutput', 'responseType' => 'model', 'parameters' => array( 'Content-Type' => array( 'static' => true, 'location' => 'header', 'default' => 'application/x-amz-json-1.1', ), 'command.expects' => array( 'static' => true, 'default' => 'application/json', ), 'X-Amz-Target' => array( 'static' => true, 'location' => 'header', 'default' => 'TrentService.RevokeGrant', ), 'KeyId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), 'GrantId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), ), 'errorResponses' => array( array( 'reason' => 'The request was rejected because the specified entity or resource could not be found.', 'class' => 'NotFoundException', ), array( 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( 'reason' => 'The request was rejected because a specified ARN was not valid.', 'class' => 'InvalidArnException', ), array( 'reason' => 'The request was rejected because the specified GrantId is not valid.', 'class' => 'InvalidGrantIdException', ), array( 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), array( 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', 'class' => 'KMSInvalidStateException', ), ), ), 'ScheduleKeyDeletion' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\JsonCommand', 'responseClass' => 'ScheduleKeyDeletionResponse', 'responseType' => 'model', 'parameters' => array( 'Content-Type' => array( 'static' => true, 'location' => 'header', 'default' => 'application/x-amz-json-1.1', ), 'command.expects' => array( 'static' => true, 'default' => 'application/json', ), 'X-Amz-Target' => array( 'static' => true, 'location' => 'header', 'default' => 'TrentService.ScheduleKeyDeletion', ), 'KeyId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), 'PendingWindowInDays' => array( 'type' => 'numeric', 'location' => 'json', 'minimum' => 1, 'maximum' => 365, ), ), 'errorResponses' => array( array( 'reason' => 'The request was rejected because the specified entity or resource could not be found.', 'class' => 'NotFoundException', ), array( 'reason' => 'The request was rejected because a specified ARN was not valid.', 'class' => 'InvalidArnException', ), array( 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), array( 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', 'class' => 'KMSInvalidStateException', ), ), ), 'UpdateAlias' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\JsonCommand', 'responseClass' => 'EmptyOutput', 'responseType' => 'model', 'parameters' => array( 'Content-Type' => array( 'static' => true, 'location' => 'header', 'default' => 'application/x-amz-json-1.1', ), 'command.expects' => array( 'static' => true, 'default' => 'application/json', ), 'X-Amz-Target' => array( 'static' => true, 'location' => 'header', 'default' => 'TrentService.UpdateAlias', ), 'AliasName' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), 'TargetKeyId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), ), 'errorResponses' => array( array( 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( 'reason' => 'The request was rejected because the specified entity or resource could not be found.', 'class' => 'NotFoundException', ), array( 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), array( 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', 'class' => 'KMSInvalidStateException', ), ), ), 'UpdateKeyDescription' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\JsonCommand', 'responseClass' => 'EmptyOutput', 'responseType' => 'model', 'parameters' => array( 'Content-Type' => array( 'static' => true, 'location' => 'header', 'default' => 'application/x-amz-json-1.1', ), 'command.expects' => array( 'static' => true, 'default' => 'application/json', ), 'X-Amz-Target' => array( 'static' => true, 'location' => 'header', 'default' => 'TrentService.UpdateKeyDescription', ), 'KeyId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, ), 'Description' => array( 'required' => true, 'type' => 'string', 'location' => 'json', ), ), 'errorResponses' => array( array( 'reason' => 'The request was rejected because the specified entity or resource could not be found.', 'class' => 'NotFoundException', ), array( 'reason' => 'The request was rejected because a specified ARN was not valid.', 'class' => 'InvalidArnException', ), array( 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), array( 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', 'class' => 'KMSInvalidStateException', ), ), ), ), 'models' => array( 'CancelKeyDeletionResponse' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( 'KeyId' => array( 'type' => 'string', 'location' => 'json', ), ), ), 'EmptyOutput' => array( 'type' => 'object', 'additionalProperties' => true, ), 'CreateGrantResponse' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( 'GrantToken' => array( 'type' => 'string', 'location' => 'json', ), 'GrantId' => array( 'type' => 'string', 'location' => 'json', ), ), ), 'CreateKeyResponse' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( 'KeyMetadata' => array( 'type' => 'object', 'location' => 'json', 'properties' => array( 'AWSAccountId' => array( 'type' => 'string', ), 'KeyId' => array( 'type' => 'string', ), 'Arn' => array( 'type' => 'string', ), 'CreationDate' => array( 'type' => 'string', ), 'Enabled' => array( 'type' => 'boolean', ), 'Description' => array( 'type' => 'string', ), 'KeyUsage' => array( 'type' => 'string', ), 'KeyState' => array( 'type' => 'string', ), 'DeletionDate' => array( 'type' => 'string', ), ), ), ), ), 'DecryptResponse' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( 'KeyId' => array( 'type' => 'string', 'location' => 'json', ), 'Plaintext' => array( 'type' => 'string', 'location' => 'json', 'filters' => array( 'base64_decode', ), ), ), ), 'DescribeKeyResponse' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( 'KeyMetadata' => array( 'type' => 'object', 'location' => 'json', 'properties' => array( 'AWSAccountId' => array( 'type' => 'string', ), 'KeyId' => array( 'type' => 'string', ), 'Arn' => array( 'type' => 'string', ), 'CreationDate' => array( 'type' => 'string', ), 'Enabled' => array( 'type' => 'boolean', ), 'Description' => array( 'type' => 'string', ), 'KeyUsage' => array( 'type' => 'string', ), 'KeyState' => array( 'type' => 'string', ), 'DeletionDate' => array( 'type' => 'string', ), ), ), ), ), 'EncryptResponse' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( 'CiphertextBlob' => array( 'type' => 'string', 'location' => 'json', 'filters' => array( 'base64_decode', ), ), 'KeyId' => array( 'type' => 'string', 'location' => 'json', ), ), ), 'GenerateDataKeyResponse' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( 'CiphertextBlob' => array( 'type' => 'string', 'location' => 'json', 'filters' => array( 'base64_decode', ), ), 'Plaintext' => array( 'type' => 'string', 'location' => 'json', 'filters' => array( 'base64_decode', ), ), 'KeyId' => array( 'type' => 'string', 'location' => 'json', ), ), ), 'GenerateDataKeyWithoutPlaintextResponse' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( 'CiphertextBlob' => array( 'type' => 'string', 'location' => 'json', 'filters' => array( 'base64_decode', ), ), 'KeyId' => array( 'type' => 'string', 'location' => 'json', ), ), ), 'GenerateRandomResponse' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( 'Plaintext' => array( 'type' => 'string', 'location' => 'json', 'filters' => array( 'base64_decode', ), ), ), ), 'GetKeyPolicyResponse' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( 'Policy' => array( 'type' => 'string', 'location' => 'json', ), ), ), 'GetKeyRotationStatusResponse' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( 'KeyRotationEnabled' => array( 'type' => 'boolean', 'location' => 'json', ), ), ), 'ListAliasesResponse' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( 'Aliases' => array( 'type' => 'array', 'location' => 'json', 'items' => array( 'name' => 'AliasListEntry', 'type' => 'object', 'properties' => array( 'AliasName' => array( 'type' => 'string', ), 'AliasArn' => array( 'type' => 'string', ), 'TargetKeyId' => array( 'type' => 'string', ), ), ), ), 'NextMarker' => array( 'type' => 'string', 'location' => 'json', ), 'Truncated' => array( 'type' => 'boolean', 'location' => 'json', ), ), ), 'ListGrantsResponse' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( 'Grants' => array( 'type' => 'array', 'location' => 'json', 'items' => array( 'name' => 'GrantListEntry', 'type' => 'object', 'properties' => array( 'KeyId' => array( 'type' => 'string', ), 'GrantId' => array( 'type' => 'string', ), 'Name' => array( 'type' => 'string', ), 'CreationDate' => array( 'type' => 'string', ), 'GranteePrincipal' => array( 'type' => 'string', ), 'RetiringPrincipal' => array( 'type' => 'string', ), 'IssuingAccount' => array( 'type' => 'string', ), 'Operations' => array( 'type' => 'array', 'items' => array( 'name' => 'GrantOperation', 'type' => 'string', ), ), 'Constraints' => array( 'type' => 'object', 'properties' => array( 'EncryptionContextSubset' => array( 'type' => 'object', 'additionalProperties' => array( 'type' => 'string', ), ), 'EncryptionContextEquals' => array( 'type' => 'object', 'additionalProperties' => array( 'type' => 'string', ), ), ), ), ), ), ), 'NextMarker' => array( 'type' => 'string', 'location' => 'json', ), 'Truncated' => array( 'type' => 'boolean', 'location' => 'json', ), ), ), 'ListKeyPoliciesResponse' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( 'PolicyNames' => array( 'type' => 'array', 'location' => 'json', 'items' => array( 'name' => 'PolicyNameType', 'type' => 'string', ), ), 'NextMarker' => array( 'type' => 'string', 'location' => 'json', ), 'Truncated' => array( 'type' => 'boolean', 'location' => 'json', ), ), ), 'ListKeysResponse' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( 'Keys' => array( 'type' => 'array', 'location' => 'json', 'items' => array( 'name' => 'KeyListEntry', 'type' => 'object', 'properties' => array( 'KeyId' => array( 'type' => 'string', ), 'KeyArn' => array( 'type' => 'string', ), ), ), ), 'NextMarker' => array( 'type' => 'string', 'location' => 'json', ), 'Truncated' => array( 'type' => 'boolean', 'location' => 'json', ), ), ), 'ReEncryptResponse' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( 'CiphertextBlob' => array( 'type' => 'string', 'location' => 'json', 'filters' => array( 'base64_decode', ), ), 'SourceKeyId' => array( 'type' => 'string', 'location' => 'json', ), 'KeyId' => array( 'type' => 'string', 'location' => 'json', ), ), ), 'ScheduleKeyDeletionResponse' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( 'KeyId' => array( 'type' => 'string', 'location' => 'json', ), 'DeletionDate' => array( 'type' => 'string', 'location' => 'json', ), ), ), ), 'iterators' => array( 'ListAliases' => array( 'limit_key' => 'Limit', 'input_token' => 'Marker', 'output_token' => 'NextMarker', 'more_results' => 'Truncated', 'result_key' => 'Aliases', ), 'ListGrants' => array( 'limit_key' => 'Limit', 'input_token' => 'Marker', 'output_token' => 'NextMarker', 'more_results' => 'Truncated', 'result_key' => 'Grants', ), 'ListKeyPolicies' => array( 'limit_key' => 'Limit', 'input_token' => 'Marker', 'output_token' => 'NextMarker', 'more_results' => 'Truncated', 'result_key' => 'PolicyNames', ), 'ListKeys' => array( 'limit_key' => 'Limit', 'input_token' => 'Marker', 'output_token' => 'NextMarker', 'more_results' => 'Truncated', 'result_key' => 'Keys', ), ), );