Module: Aws::CloudHSMV2::ClientApi Private

Includes:
Seahorse::Model
Defined in:
lib/aws-sdk-cloudhsmv2/client_api.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Constant Summary collapse

Backup =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'Backup')
BackupArn =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'BackupArn')
BackupId =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'BackupId')
BackupPolicy =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'BackupPolicy')
BackupRetentionPolicy =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'BackupRetentionPolicy')
BackupRetentionType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'BackupRetentionType')
BackupRetentionValue =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'BackupRetentionValue')
BackupState =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'BackupState')
Backups =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'Backups')
BackupsMaxSize =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::IntegerShape.new(name: 'BackupsMaxSize')
Boolean =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::BooleanShape.new(name: 'Boolean')
Cert =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'Cert')
Certificates =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'Certificates')
CloudHsmAccessDeniedException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CloudHsmAccessDeniedException')
CloudHsmArn =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'CloudHsmArn')
CloudHsmInternalFailureException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CloudHsmInternalFailureException')
CloudHsmInvalidRequestException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CloudHsmInvalidRequestException')
CloudHsmResourceNotFoundException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CloudHsmResourceNotFoundException')
CloudHsmServiceException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CloudHsmServiceException')
CloudHsmTagException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CloudHsmTagException')
Cluster =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'Cluster')
ClusterId =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ClusterId')
ClusterMode =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ClusterMode')
ClusterState =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ClusterState')
Clusters =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'Clusters')
ClustersMaxSize =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::IntegerShape.new(name: 'ClustersMaxSize')
CopyBackupToRegionRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CopyBackupToRegionRequest')
CopyBackupToRegionResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CopyBackupToRegionResponse')
CreateClusterRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CreateClusterRequest')
CreateClusterResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CreateClusterResponse')
CreateHsmRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CreateHsmRequest')
CreateHsmResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CreateHsmResponse')
DeleteBackupRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DeleteBackupRequest')
DeleteBackupResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DeleteBackupResponse')
DeleteClusterRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DeleteClusterRequest')
DeleteClusterResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DeleteClusterResponse')
DeleteHsmRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DeleteHsmRequest')
DeleteHsmResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DeleteHsmResponse')
DeleteResourcePolicyRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DeleteResourcePolicyRequest')
DeleteResourcePolicyResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DeleteResourcePolicyResponse')
DescribeBackupsRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DescribeBackupsRequest')
DescribeBackupsResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DescribeBackupsResponse')
DescribeClustersRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DescribeClustersRequest')
DescribeClustersResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DescribeClustersResponse')
DestinationBackup =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DestinationBackup')
EniId =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'EniId')
ExternalAz =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ExternalAz')
ExternalSubnetMapping =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::MapShape.new(name: 'ExternalSubnetMapping')
Field =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'Field')
Filters =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::MapShape.new(name: 'Filters')
GetResourcePolicyRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'GetResourcePolicyRequest')
GetResourcePolicyResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'GetResourcePolicyResponse')
Hsm =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'Hsm')
HsmId =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'HsmId')
HsmState =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'HsmState')
HsmType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'HsmType')
Hsms =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'Hsms')
InitializeClusterRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'InitializeClusterRequest')
InitializeClusterResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'InitializeClusterResponse')
IpAddress =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'IpAddress')
ListTagsRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListTagsRequest')
ListTagsResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListTagsResponse')
MaxSize =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::IntegerShape.new(name: 'MaxSize')
ModifyBackupAttributesRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ModifyBackupAttributesRequest')
ModifyBackupAttributesResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ModifyBackupAttributesResponse')
ModifyClusterRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ModifyClusterRequest')
ModifyClusterResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ModifyClusterResponse')
NextToken =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'NextToken')
PreCoPassword =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'PreCoPassword')
PutResourcePolicyRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'PutResourcePolicyRequest')
PutResourcePolicyResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'PutResourcePolicyResponse')
Region =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'Region')
ResourceId =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ResourceId')
ResourcePolicy =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ResourcePolicy')
RestoreBackupRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'RestoreBackupRequest')
RestoreBackupResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'RestoreBackupResponse')
SecurityGroup =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'SecurityGroup')
StateMessage =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'StateMessage')
String =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'String')
Strings =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'Strings')
SubnetId =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'SubnetId')
SubnetIds =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'SubnetIds')
Tag =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'Tag')
TagKey =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'TagKey')
TagKeyList =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'TagKeyList')
TagList =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'TagList')
TagResourceRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'TagResourceRequest')
TagResourceResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'TagResourceResponse')
TagValue =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'TagValue')
Timestamp =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::TimestampShape.new(name: 'Timestamp')
UntagResourceRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'UntagResourceRequest')
UntagResourceResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'UntagResourceResponse')
VpcId =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'VpcId')
API =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Seahorse::Model::Api.new.tap do |api|

  api.version = "2017-04-28"

  api. = {
    "apiVersion" => "2017-04-28",
    "auth" => ["aws.auth#sigv4"],
    "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",
  }

  api.add_operation(:copy_backup_to_region, Seahorse::Model::Operation.new.tap do |o|
    o.name = "CopyBackupToRegion"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: CopyBackupToRegionRequest)
    o.output = Shapes::ShapeRef.new(shape: CopyBackupToRegionResponse)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmAccessDeniedException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmInternalFailureException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmInvalidRequestException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmTagException)
  end)

  api.add_operation(:create_cluster, Seahorse::Model::Operation.new.tap do |o|
    o.name = "CreateCluster"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: CreateClusterRequest)
    o.output = Shapes::ShapeRef.new(shape: CreateClusterResponse)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmAccessDeniedException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmInternalFailureException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmInvalidRequestException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmTagException)
  end)

  api.add_operation(:create_hsm, Seahorse::Model::Operation.new.tap do |o|
    o.name = "CreateHsm"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: CreateHsmRequest)
    o.output = Shapes::ShapeRef.new(shape: CreateHsmResponse)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmInternalFailureException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmInvalidRequestException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmAccessDeniedException)
  end)

  api.add_operation(:delete_backup, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DeleteBackup"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: DeleteBackupRequest)
    o.output = Shapes::ShapeRef.new(shape: DeleteBackupResponse)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmAccessDeniedException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmInternalFailureException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmInvalidRequestException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
  end)

  api.add_operation(:delete_cluster, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DeleteCluster"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: DeleteClusterRequest)
    o.output = Shapes::ShapeRef.new(shape: DeleteClusterResponse)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmAccessDeniedException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmInternalFailureException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmInvalidRequestException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmTagException)
  end)

  api.add_operation(:delete_hsm, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DeleteHsm"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: DeleteHsmRequest)
    o.output = Shapes::ShapeRef.new(shape: DeleteHsmResponse)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmInternalFailureException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmInvalidRequestException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmAccessDeniedException)
  end)

  api.add_operation(:delete_resource_policy, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DeleteResourcePolicy"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: DeleteResourcePolicyRequest)
    o.output = Shapes::ShapeRef.new(shape: DeleteResourcePolicyResponse)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmInternalFailureException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmInvalidRequestException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmAccessDeniedException)
  end)

  api.add_operation(:describe_backups, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DescribeBackups"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: DescribeBackupsRequest)
    o.output = Shapes::ShapeRef.new(shape: DescribeBackupsResponse)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmAccessDeniedException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmInternalFailureException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmInvalidRequestException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmTagException)
    o[:pager] = Aws::Pager.new(
      limit_key: "max_results",
      tokens: {
        "next_token" => "next_token"
      }
    )
  end)

  api.add_operation(:describe_clusters, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DescribeClusters"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: DescribeClustersRequest)
    o.output = Shapes::ShapeRef.new(shape: DescribeClustersResponse)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmAccessDeniedException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmInternalFailureException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmInvalidRequestException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmTagException)
    o[:pager] = Aws::Pager.new(
      limit_key: "max_results",
      tokens: {
        "next_token" => "next_token"
      }
    )
  end)

  api.add_operation(:get_resource_policy, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetResourcePolicy"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: GetResourcePolicyRequest)
    o.output = Shapes::ShapeRef.new(shape: GetResourcePolicyResponse)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmInternalFailureException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmInvalidRequestException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmAccessDeniedException)
  end)

  api.add_operation(:initialize_cluster, Seahorse::Model::Operation.new.tap do |o|
    o.name = "InitializeCluster"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: InitializeClusterRequest)
    o.output = Shapes::ShapeRef.new(shape: InitializeClusterResponse)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmAccessDeniedException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmInternalFailureException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmInvalidRequestException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
  end)

  api.add_operation(:list_tags, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListTags"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: ListTagsRequest)
    o.output = Shapes::ShapeRef.new(shape: ListTagsResponse)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmAccessDeniedException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmInternalFailureException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmInvalidRequestException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmTagException)
    o[:pager] = Aws::Pager.new(
      limit_key: "max_results",
      tokens: {
        "next_token" => "next_token"
      }
    )
  end)

  api.add_operation(:modify_backup_attributes, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ModifyBackupAttributes"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: ModifyBackupAttributesRequest)
    o.output = Shapes::ShapeRef.new(shape: ModifyBackupAttributesResponse)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmAccessDeniedException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmInternalFailureException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmInvalidRequestException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
  end)

  api.add_operation(:modify_cluster, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ModifyCluster"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: ModifyClusterRequest)
    o.output = Shapes::ShapeRef.new(shape: ModifyClusterResponse)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmAccessDeniedException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmInternalFailureException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmInvalidRequestException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
  end)

  api.add_operation(:put_resource_policy, Seahorse::Model::Operation.new.tap do |o|
    o.name = "PutResourcePolicy"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: PutResourcePolicyRequest)
    o.output = Shapes::ShapeRef.new(shape: PutResourcePolicyResponse)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmInternalFailureException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmInvalidRequestException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmAccessDeniedException)
  end)

  api.add_operation(:restore_backup, Seahorse::Model::Operation.new.tap do |o|
    o.name = "RestoreBackup"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: RestoreBackupRequest)
    o.output = Shapes::ShapeRef.new(shape: RestoreBackupResponse)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmAccessDeniedException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmInternalFailureException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmInvalidRequestException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
  end)

  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
    o.name = "TagResource"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
    o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmAccessDeniedException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmInternalFailureException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmInvalidRequestException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmTagException)
  end)

  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
    o.name = "UntagResource"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
    o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmAccessDeniedException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmInternalFailureException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmInvalidRequestException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmTagException)
  end)
end