<?php
// This file was auto-generated from sdk-root/src/data/cloudhsmv2/2017-04-28/api-2.json
return [ 'version' => '2.0', 'metadata' => [ 'apiVersion' => '2017-04-28', 'endpointPrefix' => 'cloudhsmv2', 'jsonVersion' => '1.1', 'protocol' => 'json', 'protocols' => [ 'json', ], 'serviceAbbreviation' => 'CloudHSM V2', 'serviceFullName' => 'AWS CloudHSM V2', 'serviceId' => 'CloudHSM V2', 'signatureVersion' => 'v4', 'signingName' => 'cloudhsm', 'targetPrefix' => 'BaldrApiService', 'uid' => 'cloudhsmv2-2017-04-28', 'auth' => [ 'aws.auth#sigv4', ], ], 'operations' => [ 'CopyBackupToRegion' => [ 'name' => 'CopyBackupToRegion', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'CopyBackupToRegionRequest', ], 'output' => [ 'shape' => 'CopyBackupToRegionResponse', ], 'errors' => [ [ 'shape' => 'CloudHsmAccessDeniedException', ], [ 'shape' => 'CloudHsmInternalFailureException', ], [ 'shape' => 'CloudHsmInvalidRequestException', ], [ 'shape' => 'CloudHsmResourceNotFoundException', ], [ 'shape' => 'CloudHsmServiceException', ], [ 'shape' => 'CloudHsmTagException', ], ], ], 'CreateCluster' => [ 'name' => 'CreateCluster', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'CreateClusterRequest', ], 'output' => [ 'shape' => 'CreateClusterResponse', ], 'errors' => [ [ 'shape' => 'CloudHsmAccessDeniedException', ], [ 'shape' => 'CloudHsmInternalFailureException', ], [ 'shape' => 'CloudHsmInvalidRequestException', ], [ 'shape' => 'CloudHsmResourceNotFoundException', ], [ 'shape' => 'CloudHsmServiceException', ], [ 'shape' => 'CloudHsmTagException', ], ], ], 'CreateHsm' => [ 'name' => 'CreateHsm', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'CreateHsmRequest', ], 'output' => [ 'shape' => 'CreateHsmResponse', ], 'errors' => [ [ 'shape' => 'CloudHsmInternalFailureException', ], [ 'shape' => 'CloudHsmServiceException', ], [ 'shape' => 'CloudHsmInvalidRequestException', ], [ 'shape' => 'CloudHsmResourceNotFoundException', ], [ 'shape' => 'CloudHsmAccessDeniedException', ], ], ], 'DeleteBackup' => [ 'name' => 'DeleteBackup', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'DeleteBackupRequest', ], 'output' => [ 'shape' => 'DeleteBackupResponse', ], 'errors' => [ [ 'shape' => 'CloudHsmAccessDeniedException', ], [ 'shape' => 'CloudHsmInternalFailureException', ], [ 'shape' => 'CloudHsmInvalidRequestException', ], [ 'shape' => 'CloudHsmResourceNotFoundException', ], [ 'shape' => 'CloudHsmServiceException', ], ], ], 'DeleteCluster' => [ 'name' => 'DeleteCluster', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'DeleteClusterRequest', ], 'output' => [ 'shape' => 'DeleteClusterResponse', ], 'errors' => [ [ 'shape' => 'CloudHsmAccessDeniedException', ], [ 'shape' => 'CloudHsmInternalFailureException', ], [ 'shape' => 'CloudHsmInvalidRequestException', ], [ 'shape' => 'CloudHsmResourceNotFoundException', ], [ 'shape' => 'CloudHsmServiceException', ], [ 'shape' => 'CloudHsmTagException', ], ], ], 'DeleteHsm' => [ 'name' => 'DeleteHsm', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'DeleteHsmRequest', ], 'output' => [ 'shape' => 'DeleteHsmResponse', ], 'errors' => [ [ 'shape' => 'CloudHsmInternalFailureException', ], [ 'shape' => 'CloudHsmServiceException', ], [ 'shape' => 'CloudHsmResourceNotFoundException', ], [ 'shape' => 'CloudHsmInvalidRequestException', ], [ 'shape' => 'CloudHsmAccessDeniedException', ], ], ], 'DeleteResourcePolicy' => [ 'name' => 'DeleteResourcePolicy', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'DeleteResourcePolicyRequest', ], 'output' => [ 'shape' => 'DeleteResourcePolicyResponse', ], 'errors' => [ [ 'shape' => 'CloudHsmInternalFailureException', ], [ 'shape' => 'CloudHsmServiceException', ], [ 'shape' => 'CloudHsmInvalidRequestException', ], [ 'shape' => 'CloudHsmResourceNotFoundException', ], [ 'shape' => 'CloudHsmAccessDeniedException', ], ], ], 'DescribeBackups' => [ 'name' => 'DescribeBackups', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'DescribeBackupsRequest', ], 'output' => [ 'shape' => 'DescribeBackupsResponse', ], 'errors' => [ [ 'shape' => 'CloudHsmAccessDeniedException', ], [ 'shape' => 'CloudHsmInternalFailureException', ], [ 'shape' => 'CloudHsmInvalidRequestException', ], [ 'shape' => 'CloudHsmResourceNotFoundException', ], [ 'shape' => 'CloudHsmServiceException', ], [ 'shape' => 'CloudHsmTagException', ], ], ], 'DescribeClusters' => [ 'name' => 'DescribeClusters', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'DescribeClustersRequest', ], 'output' => [ 'shape' => 'DescribeClustersResponse', ], 'errors' => [ [ 'shape' => 'CloudHsmAccessDeniedException', ], [ 'shape' => 'CloudHsmInternalFailureException', ], [ 'shape' => 'CloudHsmInvalidRequestException', ], [ 'shape' => 'CloudHsmServiceException', ], [ 'shape' => 'CloudHsmTagException', ], ], ], 'GetResourcePolicy' => [ 'name' => 'GetResourcePolicy', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'GetResourcePolicyRequest', ], 'output' => [ 'shape' => 'GetResourcePolicyResponse', ], 'errors' => [ [ 'shape' => 'CloudHsmInternalFailureException', ], [ 'shape' => 'CloudHsmServiceException', ], [ 'shape' => 'CloudHsmInvalidRequestException', ], [ 'shape' => 'CloudHsmResourceNotFoundException', ], [ 'shape' => 'CloudHsmAccessDeniedException', ], ], ], 'InitializeCluster' => [ 'name' => 'InitializeCluster', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'InitializeClusterRequest', ], 'output' => [ 'shape' => 'InitializeClusterResponse', ], 'errors' => [ [ 'shape' => 'CloudHsmAccessDeniedException', ], [ 'shape' => 'CloudHsmInternalFailureException', ], [ 'shape' => 'CloudHsmInvalidRequestException', ], [ 'shape' => 'CloudHsmResourceNotFoundException', ], [ 'shape' => 'CloudHsmServiceException', ], ], ], 'ListTags' => [ 'name' => 'ListTags', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'ListTagsRequest', ], 'output' => [ 'shape' => 'ListTagsResponse', ], 'errors' => [ [ 'shape' => 'CloudHsmAccessDeniedException', ], [ 'shape' => 'CloudHsmInternalFailureException', ], [ 'shape' => 'CloudHsmInvalidRequestException', ], [ 'shape' => 'CloudHsmResourceNotFoundException', ], [ 'shape' => 'CloudHsmServiceException', ], [ 'shape' => 'CloudHsmTagException', ], ], ], 'ModifyBackupAttributes' => [ 'name' => 'ModifyBackupAttributes', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'ModifyBackupAttributesRequest', ], 'output' => [ 'shape' => 'ModifyBackupAttributesResponse', ], 'errors' => [ [ 'shape' => 'CloudHsmAccessDeniedException', ], [ 'shape' => 'CloudHsmInternalFailureException', ], [ 'shape' => 'CloudHsmInvalidRequestException', ], [ 'shape' => 'CloudHsmResourceNotFoundException', ], [ 'shape' => 'CloudHsmServiceException', ], ], ], 'ModifyCluster' => [ 'name' => 'ModifyCluster', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'ModifyClusterRequest', ], 'output' => [ 'shape' => 'ModifyClusterResponse', ], 'errors' => [ [ 'shape' => 'CloudHsmAccessDeniedException', ], [ 'shape' => 'CloudHsmInternalFailureException', ], [ 'shape' => 'CloudHsmInvalidRequestException', ], [ 'shape' => 'CloudHsmResourceNotFoundException', ], [ 'shape' => 'CloudHsmServiceException', ], ], ], 'PutResourcePolicy' => [ 'name' => 'PutResourcePolicy', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'PutResourcePolicyRequest', ], 'output' => [ 'shape' => 'PutResourcePolicyResponse', ], 'errors' => [ [ 'shape' => 'CloudHsmInternalFailureException', ], [ 'shape' => 'CloudHsmServiceException', ], [ 'shape' => 'CloudHsmInvalidRequestException', ], [ 'shape' => 'CloudHsmResourceNotFoundException', ], [ 'shape' => 'CloudHsmAccessDeniedException', ], ], ], 'RestoreBackup' => [ 'name' => 'RestoreBackup', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'RestoreBackupRequest', ], 'output' => [ 'shape' => 'RestoreBackupResponse', ], 'errors' => [ [ 'shape' => 'CloudHsmAccessDeniedException', ], [ 'shape' => 'CloudHsmInternalFailureException', ], [ 'shape' => 'CloudHsmInvalidRequestException', ], [ 'shape' => 'CloudHsmResourceNotFoundException', ], [ 'shape' => 'CloudHsmServiceException', ], ], ], 'TagResource' => [ 'name' => 'TagResource', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'TagResourceRequest', ], 'output' => [ 'shape' => 'TagResourceResponse', ], 'errors' => [ [ 'shape' => 'CloudHsmAccessDeniedException', ], [ 'shape' => 'CloudHsmInternalFailureException', ], [ 'shape' => 'CloudHsmInvalidRequestException', ], [ 'shape' => 'CloudHsmResourceLimitExceededException', ], [ 'shape' => 'CloudHsmResourceNotFoundException', ], [ 'shape' => 'CloudHsmServiceException', ], [ 'shape' => 'CloudHsmTagException', ], ], ], 'UntagResource' => [ 'name' => 'UntagResource', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'UntagResourceRequest', ], 'output' => [ 'shape' => 'UntagResourceResponse', ], 'errors' => [ [ 'shape' => 'CloudHsmAccessDeniedException', ], [ 'shape' => 'CloudHsmInternalFailureException', ], [ 'shape' => 'CloudHsmInvalidRequestException', ], [ 'shape' => 'CloudHsmResourceNotFoundException', ], [ 'shape' => 'CloudHsmServiceException', ], [ 'shape' => 'CloudHsmTagException', ], ], ], ], 'shapes' => [ 'Backup' => [ 'type' => 'structure', 'required' => [ 'BackupId', ], 'members' => [ 'BackupId' => [ 'shape' => 'BackupId', ], 'BackupArn' => [ 'shape' => 'BackupArn', ], 'BackupState' => [ 'shape' => 'BackupState', ], 'ClusterId' => [ 'shape' => 'ClusterId', ], 'CreateTimestamp' => [ 'shape' => 'Timestamp', ], 'CopyTimestamp' => [ 'shape' => 'Timestamp', ], 'NeverExpires' => [ 'shape' => 'Boolean', ], 'SourceRegion' => [ 'shape' => 'Region', ], 'SourceBackup' => [ 'shape' => 'BackupId', ], 'SourceCluster' => [ 'shape' => 'ClusterId', ], 'DeleteTimestamp' => [ 'shape' => 'Timestamp', ], 'TagList' => [ 'shape' => 'TagList', ], 'HsmType' => [ 'shape' => 'HsmType', ], 'Mode' => [ 'shape' => 'ClusterMode', ], ], ], 'BackupArn' => [ 'type' => 'string', 'pattern' => '^(arn:aws(-(us-gov))?:cloudhsm:([a-z]{2}(-(gov|isob|iso))?-(east|west|north|south|central){1,2}-[0-9]{1}):[0-9]{12}:backup/)?backup-[2-7a-zA-Z]{11,16}', ], 'BackupId' => [ 'type' => 'string', 'pattern' => 'backup-[2-7a-zA-Z]{11,16}', ], 'BackupPolicy' => [ 'type' => 'string', 'enum' => [ 'DEFAULT', ], ], 'BackupRetentionPolicy' => [ 'type' => 'structure', 'members' => [ 'Type' => [ 'shape' => 'BackupRetentionType', ], 'Value' => [ 'shape' => 'BackupRetentionValue', ], ], ], 'BackupRetentionType' => [ 'type' => 'string', 'enum' => [ 'DAYS', ], ], 'BackupRetentionValue' => [ 'type' => 'string', 'max' => 3, 'min' => 1, 'pattern' => '[0-9]+', ], 'BackupState' => [ 'type' => 'string', 'enum' => [ 'CREATE_IN_PROGRESS', 'READY', 'DELETED', 'PENDING_DELETION', ], ], 'Backups' => [ 'type' => 'list', 'member' => [ 'shape' => 'Backup', ], ], 'BackupsMaxSize' => [ 'type' => 'integer', 'max' => 50, 'min' => 1, ], 'Boolean' => [ 'type' => 'boolean', ], 'Cert' => [ 'type' => 'string', 'max' => 20000, 'pattern' => '[a-zA-Z0-9+-/=\\s]*', ], 'Certificates' => [ 'type' => 'structure', 'members' => [ 'ClusterCsr' => [ 'shape' => 'Cert', ], 'HsmCertificate' => [ 'shape' => 'Cert', ], 'AwsHardwareCertificate' => [ 'shape' => 'Cert', ], 'ManufacturerHardwareCertificate' => [ 'shape' => 'Cert', ], 'ClusterCertificate' => [ 'shape' => 'Cert', ], ], ], 'CloudHsmAccessDeniedException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'errorMessage', ], ], 'exception' => true, ], 'CloudHsmArn' => [ 'type' => 'string', 'pattern' => 'arn:aws(-(us-gov))?:cloudhsm:([a-z]{2}(-(gov|isob|iso))?-(east|west|north|south|central){1,2}-[0-9]{1}):[0-9]{12}:(backup/backup|cluster/cluster|hsm/hsm)-[2-7a-zA-Z]{11,16}', ], 'CloudHsmInternalFailureException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'errorMessage', ], ], 'exception' => true, 'fault' => true, ], 'CloudHsmInvalidRequestException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'errorMessage', ], ], 'exception' => true, ], 'CloudHsmResourceLimitExceededException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'errorMessage', ], ], 'exception' => true, ], 'CloudHsmResourceNotFoundException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'errorMessage', ], ], 'exception' => true, ], 'CloudHsmServiceException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'errorMessage', ], ], 'exception' => true, ], 'CloudHsmTagException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'errorMessage', ], ], 'exception' => true, ], 'Cluster' => [ 'type' => 'structure', 'members' => [ 'BackupPolicy' => [ 'shape' => 'BackupPolicy', ], 'BackupRetentionPolicy' => [ 'shape' => 'BackupRetentionPolicy', ], 'ClusterId' => [ 'shape' => 'ClusterId', ], 'CreateTimestamp' => [ 'shape' => 'Timestamp', ], 'Hsms' => [ 'shape' => 'Hsms', ], 'HsmType' => [ 'shape' => 'HsmType', ], 'HsmTypeRollbackExpiration' => [ 'shape' => 'Timestamp', ], 'PreCoPassword' => [ 'shape' => 'PreCoPassword', ], 'SecurityGroup' => [ 'shape' => 'SecurityGroup', ], 'SourceBackupId' => [ 'shape' => 'BackupId', ], 'State' => [ 'shape' => 'ClusterState', ], 'StateMessage' => [ 'shape' => 'StateMessage', ], 'SubnetMapping' => [ 'shape' => 'ExternalSubnetMapping', ], 'VpcId' => [ 'shape' => 'VpcId', ], 'NetworkType' => [ 'shape' => 'NetworkType', ], 'Certificates' => [ 'shape' => 'Certificates', ], 'TagList' => [ 'shape' => 'TagList', ], 'Mode' => [ 'shape' => 'ClusterMode', ], ], ], 'ClusterId' => [ 'type' => 'string', 'pattern' => 'cluster-[2-7a-zA-Z]{11,16}', ], 'ClusterMode' => [ 'type' => 'string', 'enum' => [ 'FIPS', 'NON_FIPS', ], ], 'ClusterState' => [ 'type' => 'string', 'enum' => [ 'CREATE_IN_PROGRESS', 'UNINITIALIZED', 'INITIALIZE_IN_PROGRESS', 'INITIALIZED', 'ACTIVE', 'UPDATE_IN_PROGRESS', 'MODIFY_IN_PROGRESS', 'ROLLBACK_IN_PROGRESS', 'DELETE_IN_PROGRESS', 'DELETED', 'DEGRADED', ], ], 'Clusters' => [ 'type' => 'list', 'member' => [ 'shape' => 'Cluster', ], ], 'ClustersMaxSize' => [ 'type' => 'integer', 'max' => 25, 'min' => 1, ], 'CopyBackupToRegionRequest' => [ 'type' => 'structure', 'required' => [ 'DestinationRegion', 'BackupId', ], 'members' => [ 'DestinationRegion' => [ 'shape' => 'Region', ], 'BackupId' => [ 'shape' => 'BackupId', ], 'TagList' => [ 'shape' => 'TagList', ], ], ], 'CopyBackupToRegionResponse' => [ 'type' => 'structure', 'members' => [ 'DestinationBackup' => [ 'shape' => 'DestinationBackup', ], ], ], 'CreateClusterRequest' => [ 'type' => 'structure', 'required' => [ 'HsmType', 'SubnetIds', ], 'members' => [ 'BackupRetentionPolicy' => [ 'shape' => 'BackupRetentionPolicy', ], 'HsmType' => [ 'shape' => 'HsmType', ], 'SourceBackupId' => [ 'shape' => 'BackupArn', ], 'SubnetIds' => [ 'shape' => 'SubnetIds', ], 'NetworkType' => [ 'shape' => 'NetworkType', ], 'TagList' => [ 'shape' => 'TagList', ], 'Mode' => [ 'shape' => 'ClusterMode', ], ], ], 'CreateClusterResponse' => [ 'type' => 'structure', 'members' => [ 'Cluster' => [ 'shape' => 'Cluster', ], ], ], 'CreateHsmRequest' => [ 'type' => 'structure', 'required' => [ 'ClusterId', 'AvailabilityZone', ], 'members' => [ 'ClusterId' => [ 'shape' => 'ClusterId', ], 'AvailabilityZone' => [ 'shape' => 'ExternalAz', ], 'IpAddress' => [ 'shape' => 'IpAddress', ], ], ], 'CreateHsmResponse' => [ 'type' => 'structure', 'members' => [ 'Hsm' => [ 'shape' => 'Hsm', ], ], ], 'DeleteBackupRequest' => [ 'type' => 'structure', 'required' => [ 'BackupId', ], 'members' => [ 'BackupId' => [ 'shape' => 'BackupId', ], ], ], 'DeleteBackupResponse' => [ 'type' => 'structure', 'members' => [ 'Backup' => [ 'shape' => 'Backup', ], ], ], 'DeleteClusterRequest' => [ 'type' => 'structure', 'required' => [ 'ClusterId', ], 'members' => [ 'ClusterId' => [ 'shape' => 'ClusterId', ], ], ], 'DeleteClusterResponse' => [ 'type' => 'structure', 'members' => [ 'Cluster' => [ 'shape' => 'Cluster', ], ], ], 'DeleteHsmRequest' => [ 'type' => 'structure', 'required' => [ 'ClusterId', ], 'members' => [ 'ClusterId' => [ 'shape' => 'ClusterId', ], 'HsmId' => [ 'shape' => 'HsmId', ], 'EniId' => [ 'shape' => 'EniId', ], 'EniIp' => [ 'shape' => 'IpAddress', ], ], ], 'DeleteHsmResponse' => [ 'type' => 'structure', 'members' => [ 'HsmId' => [ 'shape' => 'HsmId', ], ], ], 'DeleteResourcePolicyRequest' => [ 'type' => 'structure', 'members' => [ 'ResourceArn' => [ 'shape' => 'CloudHsmArn', ], ], ], 'DeleteResourcePolicyResponse' => [ 'type' => 'structure', 'members' => [ 'ResourceArn' => [ 'shape' => 'CloudHsmArn', ], 'Policy' => [ 'shape' => 'ResourcePolicy', ], ], ], 'DescribeBackupsRequest' => [ 'type' => 'structure', 'members' => [ 'NextToken' => [ 'shape' => 'NextToken', ], 'MaxResults' => [ 'shape' => 'BackupsMaxSize', ], 'Filters' => [ 'shape' => 'Filters', ], 'Shared' => [ 'shape' => 'Boolean', ], 'SortAscending' => [ 'shape' => 'Boolean', ], ], ], 'DescribeBackupsResponse' => [ 'type' => 'structure', 'members' => [ 'Backups' => [ 'shape' => 'Backups', ], 'NextToken' => [ 'shape' => 'NextToken', ], ], ], 'DescribeClustersRequest' => [ 'type' => 'structure', 'members' => [ 'Filters' => [ 'shape' => 'Filters', ], 'NextToken' => [ 'shape' => 'NextToken', ], 'MaxResults' => [ 'shape' => 'ClustersMaxSize', ], ], ], 'DescribeClustersResponse' => [ 'type' => 'structure', 'members' => [ 'Clusters' => [ 'shape' => 'Clusters', ], 'NextToken' => [ 'shape' => 'NextToken', ], ], ], 'DestinationBackup' => [ 'type' => 'structure', 'members' => [ 'CreateTimestamp' => [ 'shape' => 'Timestamp', ], 'SourceRegion' => [ 'shape' => 'Region', ], 'SourceBackup' => [ 'shape' => 'BackupId', ], 'SourceCluster' => [ 'shape' => 'ClusterId', ], ], ], 'EniId' => [ 'type' => 'string', 'pattern' => 'eni-[0-9a-fA-F]{8,17}', ], 'ExternalAz' => [ 'type' => 'string', 'pattern' => '[a-z]{2}(-(gov))?-(east|west|north|south|central){1,2}-\\d[a-z]', ], 'ExternalSubnetMapping' => [ 'type' => 'map', 'key' => [ 'shape' => 'ExternalAz', ], 'value' => [ 'shape' => 'SubnetId', ], ], 'Field' => [ 'type' => 'string', 'pattern' => '[a-zA-Z0-9_-]+', ], 'Filters' => [ 'type' => 'map', 'key' => [ 'shape' => 'Field', ], 'value' => [ 'shape' => 'Strings', ], 'max' => 30, ], 'GetResourcePolicyRequest' => [ 'type' => 'structure', 'members' => [ 'ResourceArn' => [ 'shape' => 'CloudHsmArn', ], ], ], 'GetResourcePolicyResponse' => [ 'type' => 'structure', 'members' => [ 'Policy' => [ 'shape' => 'ResourcePolicy', ], ], ], 'Hsm' => [ 'type' => 'structure', 'required' => [ 'HsmId', ], 'members' => [ 'AvailabilityZone' => [ 'shape' => 'ExternalAz', ], 'ClusterId' => [ 'shape' => 'ClusterId', ], 'SubnetId' => [ 'shape' => 'SubnetId', ], 'EniId' => [ 'shape' => 'EniId', ], 'EniIp' => [ 'shape' => 'IpAddress', ], 'EniIpV6' => [ 'shape' => 'IpV6Address', ], 'HsmId' => [ 'shape' => 'HsmId', ], 'HsmType' => [ 'shape' => 'HsmType', ], 'State' => [ 'shape' => 'HsmState', ], 'StateMessage' => [ 'shape' => 'String', ], ], ], 'HsmId' => [ 'type' => 'string', 'pattern' => 'hsm-[2-7a-zA-Z]{11,16}', ], 'HsmState' => [ 'type' => 'string', 'enum' => [ 'CREATE_IN_PROGRESS', 'ACTIVE', 'DEGRADED', 'DELETE_IN_PROGRESS', 'DELETED', ], ], 'HsmType' => [ 'type' => 'string', 'max' => 32, 'pattern' => '((p|)hsm[0-9][a-z.]*\\.[a-zA-Z]+)', ], 'Hsms' => [ 'type' => 'list', 'member' => [ 'shape' => 'Hsm', ], ], 'InitializeClusterRequest' => [ 'type' => 'structure', 'required' => [ 'ClusterId', 'SignedCert', 'TrustAnchor', ], 'members' => [ 'ClusterId' => [ 'shape' => 'ClusterId', ], 'SignedCert' => [ 'shape' => 'Cert', ], 'TrustAnchor' => [ 'shape' => 'Cert', ], ], ], 'InitializeClusterResponse' => [ 'type' => 'structure', 'members' => [ 'State' => [ 'shape' => 'ClusterState', ], 'StateMessage' => [ 'shape' => 'StateMessage', ], ], ], 'IpAddress' => [ 'type' => 'string', 'pattern' => '\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}', ], 'IpV6Address' => [ 'type' => 'string', 'max' => 100, ], 'ListTagsRequest' => [ 'type' => 'structure', 'required' => [ 'ResourceId', ], 'members' => [ 'ResourceId' => [ 'shape' => 'ResourceId', ], 'NextToken' => [ 'shape' => 'NextToken', ], 'MaxResults' => [ 'shape' => 'MaxSize', ], ], ], 'ListTagsResponse' => [ 'type' => 'structure', 'required' => [ 'TagList', ], 'members' => [ 'TagList' => [ 'shape' => 'TagList', ], 'NextToken' => [ 'shape' => 'NextToken', ], ], ], 'MaxSize' => [ 'type' => 'integer', 'max' => 100, 'min' => 1, ], 'ModifyBackupAttributesRequest' => [ 'type' => 'structure', 'required' => [ 'BackupId', 'NeverExpires', ], 'members' => [ 'BackupId' => [ 'shape' => 'BackupId', ], 'NeverExpires' => [ 'shape' => 'Boolean', ], ], ], 'ModifyBackupAttributesResponse' => [ 'type' => 'structure', 'members' => [ 'Backup' => [ 'shape' => 'Backup', ], ], ], 'ModifyClusterRequest' => [ 'type' => 'structure', 'required' => [ 'ClusterId', ], 'members' => [ 'HsmType' => [ 'shape' => 'HsmType', ], 'BackupRetentionPolicy' => [ 'shape' => 'BackupRetentionPolicy', ], 'ClusterId' => [ 'shape' => 'ClusterId', ], ], ], 'ModifyClusterResponse' => [ 'type' => 'structure', 'members' => [ 'Cluster' => [ 'shape' => 'Cluster', ], ], ], 'NetworkType' => [ 'type' => 'string', 'enum' => [ 'IPV4', 'DUALSTACK', ], ], 'NextToken' => [ 'type' => 'string', 'max' => 256, 'pattern' => '.*', ], 'PreCoPassword' => [ 'type' => 'string', 'max' => 32, 'min' => 7, ], 'PutResourcePolicyRequest' => [ 'type' => 'structure', 'members' => [ 'ResourceArn' => [ 'shape' => 'CloudHsmArn', ], 'Policy' => [ 'shape' => 'ResourcePolicy', ], ], ], 'PutResourcePolicyResponse' => [ 'type' => 'structure', 'members' => [ 'ResourceArn' => [ 'shape' => 'CloudHsmArn', ], 'Policy' => [ 'shape' => 'ResourcePolicy', ], ], ], 'Region' => [ 'type' => 'string', 'pattern' => '[a-z]{2}(-(gov))?-(east|west|north|south|central){1,2}-\\d', ], 'ResourceId' => [ 'type' => 'string', 'pattern' => '(?:cluster|backup)-[2-7a-zA-Z]{11,16}', ], 'ResourcePolicy' => [ 'type' => 'string', 'max' => 20000, 'min' => 1, ], 'RestoreBackupRequest' => [ 'type' => 'structure', 'required' => [ 'BackupId', ], 'members' => [ 'BackupId' => [ 'shape' => 'BackupId', ], ], ], 'RestoreBackupResponse' => [ 'type' => 'structure', 'members' => [ 'Backup' => [ 'shape' => 'Backup', ], ], ], 'SecurityGroup' => [ 'type' => 'string', 'pattern' => 'sg-[0-9a-fA-F]{8,17}', ], 'StateMessage' => [ 'type' => 'string', 'max' => 300, 'pattern' => '.*', ], 'String' => [ 'type' => 'string', ], 'Strings' => [ 'type' => 'list', 'member' => [ 'shape' => 'String', ], ], 'SubnetId' => [ 'type' => 'string', 'pattern' => 'subnet-[0-9a-fA-F]{8,17}', ], 'SubnetIds' => [ 'type' => 'list', 'member' => [ 'shape' => 'SubnetId', ], 'max' => 10, 'min' => 1, ], 'Tag' => [ 'type' => 'structure', 'required' => [ 'Key', 'Value', ], 'members' => [ 'Key' => [ 'shape' => 'TagKey', ], 'Value' => [ 'shape' => 'TagValue', ], ], ], 'TagKey' => [ 'type' => 'string', 'max' => 128, 'min' => 1, 'pattern' => '^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$', ], 'TagKeyList' => [ 'type' => 'list', 'member' => [ 'shape' => 'TagKey', ], 'max' => 50, 'min' => 1, ], 'TagList' => [ 'type' => 'list', 'member' => [ 'shape' => 'Tag', ], 'max' => 50, 'min' => 1, ], 'TagResourceRequest' => [ 'type' => 'structure', 'required' => [ 'ResourceId', 'TagList', ], 'members' => [ 'ResourceId' => [ 'shape' => 'ResourceId', ], 'TagList' => [ 'shape' => 'TagList', ], ], ], 'TagResourceResponse' => [ 'type' => 'structure', 'members' => [], ], 'TagValue' => [ 'type' => 'string', 'max' => 256, 'min' => 0, 'pattern' => '^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$', ], 'Timestamp' => [ 'type' => 'timestamp', ], 'UntagResourceRequest' => [ 'type' => 'structure', 'required' => [ 'ResourceId', 'TagKeyList', ], 'members' => [ 'ResourceId' => [ 'shape' => 'ResourceId', ], 'TagKeyList' => [ 'shape' => 'TagKeyList', ], ], ], 'UntagResourceResponse' => [ 'type' => 'structure', 'members' => [], ], 'VpcId' => [ 'type' => 'string', 'pattern' => 'vpc-[0-9a-fA-F]', ], 'errorMessage' => [ 'type' => 'string', ], ],];
