<?php
// This file was auto-generated from sdk-root/src/data/dsql/2018-05-10/api-2.json
return [ 'version' => '2.0', 'metadata' => [ 'apiVersion' => '2018-05-10', 'auth' => [ 'aws.auth#sigv4', ], 'endpointPrefix' => 'dsql', 'protocol' => 'rest-json', 'protocols' => [ 'rest-json', ], 'serviceFullName' => 'Amazon Aurora DSQL', 'serviceId' => 'DSQL', 'signatureVersion' => 'v4', 'signingName' => 'dsql', 'uid' => 'dsql-2018-05-10', ], 'operations' => [ 'CreateCluster' => [ 'name' => 'CreateCluster', 'http' => [ 'method' => 'POST', 'requestUri' => '/cluster', 'responseCode' => 200, ], 'input' => [ 'shape' => 'CreateClusterInput', ], 'output' => [ 'shape' => 'CreateClusterOutput', ], 'errors' => [ [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ConflictException', ], ], ], 'CreateMultiRegionClusters' => [ 'name' => 'CreateMultiRegionClusters', 'http' => [ 'method' => 'POST', 'requestUri' => '/multi-region-clusters', 'responseCode' => 200, ], 'input' => [ 'shape' => 'CreateMultiRegionClustersInput', ], 'output' => [ 'shape' => 'CreateMultiRegionClustersOutput', ], 'errors' => [ [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ConflictException', ], ], ], 'DeleteCluster' => [ 'name' => 'DeleteCluster', 'http' => [ 'method' => 'DELETE', 'requestUri' => '/cluster/{identifier}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'DeleteClusterInput', ], 'output' => [ 'shape' => 'DeleteClusterOutput', ], 'errors' => [ [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ConflictException', ], ], 'idempotent' => true, ], 'DeleteMultiRegionClusters' => [ 'name' => 'DeleteMultiRegionClusters', 'http' => [ 'method' => 'DELETE', 'requestUri' => '/multi-region-clusters', 'responseCode' => 200, ], 'input' => [ 'shape' => 'DeleteMultiRegionClustersInput', ], 'errors' => [ [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ConflictException', ], ], 'idempotent' => true, ], 'GetCluster' => [ 'name' => 'GetCluster', 'http' => [ 'method' => 'GET', 'requestUri' => '/cluster/{identifier}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetClusterInput', ], 'output' => [ 'shape' => 'GetClusterOutput', ], 'errors' => [ [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ResourceNotFoundException', ], ], ], 'ListClusters' => [ 'name' => 'ListClusters', 'http' => [ 'method' => 'GET', 'requestUri' => '/cluster', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListClustersInput', ], 'output' => [ 'shape' => 'ListClustersOutput', ], 'errors' => [ [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ResourceNotFoundException', ], ], ], 'ListTagsForResource' => [ 'name' => 'ListTagsForResource', 'http' => [ 'method' => 'GET', 'requestUri' => '/tags/{resourceArn}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListTagsForResourceInput', ], 'output' => [ 'shape' => 'ListTagsForResourceOutput', ], 'errors' => [ [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ResourceNotFoundException', ], ], ], 'TagResource' => [ 'name' => 'TagResource', 'http' => [ 'method' => 'POST', 'requestUri' => '/tags/{resourceArn}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'TagResourceInput', ], 'errors' => [ [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ResourceNotFoundException', ], ], 'idempotent' => true, ], 'UntagResource' => [ 'name' => 'UntagResource', 'http' => [ 'method' => 'DELETE', 'requestUri' => '/tags/{resourceArn}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'UntagResourceInput', ], 'errors' => [ [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ResourceNotFoundException', ], ], 'idempotent' => true, ], 'UpdateCluster' => [ 'name' => 'UpdateCluster', 'http' => [ 'method' => 'POST', 'requestUri' => '/cluster/{identifier}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'UpdateClusterInput', ], 'output' => [ 'shape' => 'UpdateClusterOutput', ], 'errors' => [ [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ConflictException', ], ], ], ], 'shapes' => [ 'AccessDeniedException' => [ 'type' => 'structure', 'required' => [ 'message', ], 'members' => [ 'message' => [ 'shape' => 'String', ], ], 'error' => [ 'httpStatusCode' => 403, 'senderFault' => true, ], 'exception' => true, ], 'Arn' => [ 'type' => 'string', 'max' => 1011, 'min' => 1, 'pattern' => 'arn:.+', ], 'ClientToken' => [ 'type' => 'string', 'max' => 128, 'min' => 1, 'pattern' => '[!-~]+', ], 'ClusterArn' => [ 'type' => 'string', ], 'ClusterArnList' => [ 'type' => 'list', 'member' => [ 'shape' => 'ClusterArn', ], ], 'ClusterCreationTime' => [ 'type' => 'timestamp', ], 'ClusterId' => [ 'type' => 'string', ], 'ClusterList' => [ 'type' => 'list', 'member' => [ 'shape' => 'ClusterSummary', ], ], 'ClusterPropertyMap' => [ 'type' => 'map', 'key' => [ 'shape' => 'Region', ], 'value' => [ 'shape' => 'LinkedClusterProperties', ], ], 'ClusterStatus' => [ 'type' => 'string', 'enum' => [ 'CREATING', 'ACTIVE', 'UPDATING', 'DELETING', 'DELETED', 'FAILED', ], ], 'ClusterSummary' => [ 'type' => 'structure', 'required' => [ 'identifier', 'arn', ], 'members' => [ 'identifier' => [ 'shape' => 'ClusterId', ], 'arn' => [ 'shape' => 'ClusterArn', ], ], ], 'ConflictException' => [ 'type' => 'structure', 'required' => [ 'message', ], 'members' => [ 'message' => [ 'shape' => 'String', ], 'resourceId' => [ 'shape' => 'String', ], 'resourceType' => [ 'shape' => 'String', ], ], 'error' => [ 'httpStatusCode' => 409, 'senderFault' => true, ], 'exception' => true, ], 'CreateClusterInput' => [ 'type' => 'structure', 'members' => [ 'deletionProtectionEnabled' => [ 'shape' => 'DeletionProtectionEnabled', ], 'tags' => [ 'shape' => 'TagMap', ], 'clientToken' => [ 'shape' => 'ClientToken', 'idempotencyToken' => true, ], ], ], 'CreateClusterOutput' => [ 'type' => 'structure', 'required' => [ 'identifier', 'arn', 'status', 'creationTime', 'deletionProtectionEnabled', ], 'members' => [ 'identifier' => [ 'shape' => 'ClusterId', ], 'arn' => [ 'shape' => 'ClusterArn', ], 'status' => [ 'shape' => 'ClusterStatus', ], 'creationTime' => [ 'shape' => 'ClusterCreationTime', ], 'deletionProtectionEnabled' => [ 'shape' => 'DeletionProtectionEnabled', ], ], ], 'CreateMultiRegionClustersInput' => [ 'type' => 'structure', 'required' => [ 'linkedRegionList', 'witnessRegion', ], 'members' => [ 'linkedRegionList' => [ 'shape' => 'RegionList', ], 'clusterProperties' => [ 'shape' => 'ClusterPropertyMap', ], 'witnessRegion' => [ 'shape' => 'Region', ], 'clientToken' => [ 'shape' => 'ClientToken', 'idempotencyToken' => true, ], ], ], 'CreateMultiRegionClustersOutput' => [ 'type' => 'structure', 'required' => [ 'linkedClusterArns', ], 'members' => [ 'linkedClusterArns' => [ 'shape' => 'ClusterArnList', ], ], ], 'DeleteClusterInput' => [ 'type' => 'structure', 'required' => [ 'identifier', ], 'members' => [ 'identifier' => [ 'shape' => 'ClusterId', 'location' => 'uri', 'locationName' => 'identifier', ], 'clientToken' => [ 'shape' => 'ClientToken', 'idempotencyToken' => true, 'location' => 'querystring', 'locationName' => 'client-token', ], ], ], 'DeleteClusterOutput' => [ 'type' => 'structure', 'required' => [ 'identifier', 'arn', 'status', 'creationTime', 'deletionProtectionEnabled', ], 'members' => [ 'identifier' => [ 'shape' => 'ClusterId', ], 'arn' => [ 'shape' => 'ClusterArn', ], 'status' => [ 'shape' => 'ClusterStatus', ], 'creationTime' => [ 'shape' => 'ClusterCreationTime', ], 'deletionProtectionEnabled' => [ 'shape' => 'DeletionProtectionEnabled', ], ], ], 'DeleteMultiRegionClustersInput' => [ 'type' => 'structure', 'required' => [ 'linkedClusterArns', ], 'members' => [ 'linkedClusterArns' => [ 'shape' => 'ClusterArnList', 'location' => 'querystring', 'locationName' => 'linked-cluster-arns', ], 'clientToken' => [ 'shape' => 'ClientToken', 'idempotencyToken' => true, 'location' => 'querystring', 'locationName' => 'client-token', ], ], ], 'DeletionProtectionEnabled' => [ 'type' => 'boolean', 'box' => true, ], 'GetClusterInput' => [ 'type' => 'structure', 'required' => [ 'identifier', ], 'members' => [ 'identifier' => [ 'shape' => 'ClusterId', 'location' => 'uri', 'locationName' => 'identifier', ], ], ], 'GetClusterOutput' => [ 'type' => 'structure', 'required' => [ 'identifier', 'arn', 'status', 'creationTime', 'deletionProtectionEnabled', ], 'members' => [ 'identifier' => [ 'shape' => 'ClusterId', ], 'arn' => [ 'shape' => 'ClusterArn', ], 'status' => [ 'shape' => 'ClusterStatus', ], 'creationTime' => [ 'shape' => 'ClusterCreationTime', ], 'deletionProtectionEnabled' => [ 'shape' => 'DeletionProtectionEnabled', ], 'witnessRegion' => [ 'shape' => 'Region', ], 'linkedClusterArns' => [ 'shape' => 'ClusterArnList', ], ], ], 'Integer' => [ 'type' => 'integer', 'box' => true, ], 'InternalServerException' => [ 'type' => 'structure', 'required' => [ 'message', ], 'members' => [ 'message' => [ 'shape' => 'String', ], 'retryAfterSeconds' => [ 'shape' => 'Integer', 'location' => 'header', 'locationName' => 'Retry-After', ], ], 'error' => [ 'httpStatusCode' => 500, ], 'exception' => true, 'fault' => true, 'retryable' => [ 'throttling' => false, ], ], 'LinkedClusterProperties' => [ 'type' => 'structure', 'members' => [ 'deletionProtectionEnabled' => [ 'shape' => 'DeletionProtectionEnabled', ], 'tags' => [ 'shape' => 'TagMap', ], ], ], 'ListClustersInput' => [ 'type' => 'structure', 'members' => [ 'maxResults' => [ 'shape' => 'MaxResults', 'location' => 'querystring', 'locationName' => 'max-results', ], 'nextToken' => [ 'shape' => 'NextToken', 'location' => 'querystring', 'locationName' => 'next-token', ], ], ], 'ListClustersOutput' => [ 'type' => 'structure', 'required' => [ 'clusters', ], 'members' => [ 'nextToken' => [ 'shape' => 'NextToken', ], 'clusters' => [ 'shape' => 'ClusterList', ], ], ], 'ListTagsForResourceInput' => [ 'type' => 'structure', 'required' => [ 'resourceArn', ], 'members' => [ 'resourceArn' => [ 'shape' => 'Arn', 'location' => 'uri', 'locationName' => 'resourceArn', ], ], ], 'ListTagsForResourceOutput' => [ 'type' => 'structure', 'members' => [ 'tags' => [ 'shape' => 'TagMap', ], ], ], 'MaxResults' => [ 'type' => 'integer', 'box' => true, 'max' => 100, 'min' => 1, ], 'NextToken' => [ 'type' => 'string', ], 'Region' => [ 'type' => 'string', 'max' => 20, 'min' => 0, ], 'RegionList' => [ 'type' => 'list', 'member' => [ 'shape' => 'Region', ], ], 'ResourceNotFoundException' => [ 'type' => 'structure', 'required' => [ 'message', 'resourceId', 'resourceType', ], 'members' => [ 'message' => [ 'shape' => 'String', ], 'resourceId' => [ 'shape' => 'String', ], 'resourceType' => [ 'shape' => 'String', ], ], 'error' => [ 'httpStatusCode' => 404, 'senderFault' => true, ], 'exception' => true, ], 'ServiceQuotaExceededException' => [ 'type' => 'structure', 'required' => [ 'message', 'resourceId', 'resourceType', 'serviceCode', 'quotaCode', ], 'members' => [ 'message' => [ 'shape' => 'String', ], 'resourceId' => [ 'shape' => 'String', ], 'resourceType' => [ 'shape' => 'String', ], 'serviceCode' => [ 'shape' => 'String', ], 'quotaCode' => [ 'shape' => 'String', ], ], 'error' => [ 'httpStatusCode' => 402, 'senderFault' => true, ], 'exception' => true, ], 'String' => [ 'type' => 'string', ], 'TagKey' => [ 'type' => 'string', 'max' => 128, 'min' => 1, 'pattern' => '[a-zA-Z0-9_.:/=+\\-@ ]*', ], 'TagKeyList' => [ 'type' => 'list', 'member' => [ 'shape' => 'TagKey', ], 'max' => 200, 'min' => 0, ], 'TagMap' => [ 'type' => 'map', 'key' => [ 'shape' => 'TagKey', ], 'value' => [ 'shape' => 'TagValue', ], 'max' => 200, 'min' => 0, ], 'TagResourceInput' => [ 'type' => 'structure', 'required' => [ 'resourceArn', 'tags', ], 'members' => [ 'resourceArn' => [ 'shape' => 'Arn', 'location' => 'uri', 'locationName' => 'resourceArn', ], 'tags' => [ 'shape' => 'TagMap', ], ], ], 'TagValue' => [ 'type' => 'string', 'max' => 256, 'min' => 0, 'pattern' => '[a-zA-Z0-9_.:/=+\\-@ ]*', ], 'ThrottlingException' => [ 'type' => 'structure', 'required' => [ 'message', ], 'members' => [ 'message' => [ 'shape' => 'String', ], 'serviceCode' => [ 'shape' => 'String', ], 'quotaCode' => [ 'shape' => 'String', ], 'retryAfterSeconds' => [ 'shape' => 'Integer', 'location' => 'header', 'locationName' => 'Retry-After', ], ], 'error' => [ 'httpStatusCode' => 429, 'senderFault' => true, ], 'exception' => true, 'retryable' => [ 'throttling' => true, ], ], 'UntagResourceInput' => [ 'type' => 'structure', 'required' => [ 'resourceArn', 'tagKeys', ], 'members' => [ 'resourceArn' => [ 'shape' => 'Arn', 'location' => 'uri', 'locationName' => 'resourceArn', ], 'tagKeys' => [ 'shape' => 'TagKeyList', 'location' => 'querystring', 'locationName' => 'tagKeys', ], ], ], 'UpdateClusterInput' => [ 'type' => 'structure', 'required' => [ 'identifier', ], 'members' => [ 'identifier' => [ 'shape' => 'ClusterId', 'location' => 'uri', 'locationName' => 'identifier', ], 'deletionProtectionEnabled' => [ 'shape' => 'DeletionProtectionEnabled', ], 'clientToken' => [ 'shape' => 'ClientToken', 'idempotencyToken' => true, ], ], ], 'UpdateClusterOutput' => [ 'type' => 'structure', 'required' => [ 'identifier', 'arn', 'status', 'creationTime', 'deletionProtectionEnabled', ], 'members' => [ 'identifier' => [ 'shape' => 'ClusterId', ], 'arn' => [ 'shape' => 'ClusterArn', ], 'status' => [ 'shape' => 'ClusterStatus', ], 'creationTime' => [ 'shape' => 'ClusterCreationTime', ], 'deletionProtectionEnabled' => [ 'shape' => 'DeletionProtectionEnabled', ], 'witnessRegion' => [ 'shape' => 'Region', ], 'linkedClusterArns' => [ 'shape' => 'ClusterArnList', ], ], ], 'ValidationException' => [ 'type' => 'structure', 'required' => [ 'message', 'reason', ], 'members' => [ 'message' => [ 'shape' => 'String', ], 'reason' => [ 'shape' => 'ValidationExceptionReason', ], 'fieldList' => [ 'shape' => 'ValidationExceptionFieldList', ], ], 'error' => [ 'httpStatusCode' => 400, 'senderFault' => true, ], 'exception' => true, ], 'ValidationExceptionField' => [ 'type' => 'structure', 'required' => [ 'name', 'message', ], 'members' => [ 'name' => [ 'shape' => 'String', ], 'message' => [ 'shape' => 'String', ], ], ], 'ValidationExceptionFieldList' => [ 'type' => 'list', 'member' => [ 'shape' => 'ValidationExceptionField', ], ], 'ValidationExceptionReason' => [ 'type' => 'string', 'enum' => [ 'unknownOperation', 'cannotParse', 'fieldValidationFailed', 'deletionProtectionEnabled', 'other', ], ], ],];
|