Module: Aws::MigrationHubConfig::ClientApi Private

Includes:
Seahorse::Model
Defined in:
lib/aws-sdk-migrationhubconfig/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

AccessDeniedException =

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: 'AccessDeniedException')
ControlId =

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: 'ControlId')
CreateHomeRegionControlRequest =

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: 'CreateHomeRegionControlRequest')
CreateHomeRegionControlResult =

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: 'CreateHomeRegionControlResult')
DeleteHomeRegionControlRequest =

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: 'DeleteHomeRegionControlRequest')
DeleteHomeRegionControlResult =

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: 'DeleteHomeRegionControlResult')
DescribeHomeRegionControlsMaxResults =

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: 'DescribeHomeRegionControlsMaxResults')
DescribeHomeRegionControlsRequest =

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: 'DescribeHomeRegionControlsRequest')
DescribeHomeRegionControlsResult =

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: 'DescribeHomeRegionControlsResult')
DryRun =

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: 'DryRun')
DryRunOperation =

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: 'DryRunOperation')
ErrorMessage =

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: 'ErrorMessage')
GetHomeRegionRequest =

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: 'GetHomeRegionRequest')
GetHomeRegionResult =

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: 'GetHomeRegionResult')
HomeRegion =

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: 'HomeRegion')
HomeRegionControl =

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: 'HomeRegionControl')
HomeRegionControls =

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: 'HomeRegionControls')
InternalServerError =

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: 'InternalServerError')
InvalidInputException =

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: 'InvalidInputException')
RequestedTime =

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: 'RequestedTime')
RetryAfterSeconds =

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: 'RetryAfterSeconds')
ServiceUnavailableException =

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: 'ServiceUnavailableException')
Target =

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: 'Target')
TargetId =

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: 'TargetId')
TargetType =

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: 'TargetType')
ThrottlingException =

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: 'ThrottlingException')
Token =

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: 'Token')
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 = "2019-06-30"

  api. = {
    "apiVersion" => "2019-06-30",
    "auth" => ["aws.auth#sigv4"],
    "endpointPrefix" => "migrationhub-config",
    "jsonVersion" => "1.1",
    "protocol" => "json",
    "protocols" => ["json"],
    "serviceFullName" => "AWS Migration Hub Config",
    "serviceId" => "MigrationHub Config",
    "signatureVersion" => "v4",
    "signingName" => "mgh",
    "targetPrefix" => "AWSMigrationHubMultiAccountService",
    "uid" => "migrationhub-config-2019-06-30",
  }

  api.add_operation(:create_home_region_control, Seahorse::Model::Operation.new.tap do |o|
    o.name = "CreateHomeRegionControl"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: CreateHomeRegionControlRequest)
    o.output = Shapes::ShapeRef.new(shape: CreateHomeRegionControlResult)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
    o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
    o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
    o.errors << Shapes::ShapeRef.new(shape: DryRunOperation)
    o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
  end)

  api.add_operation(:delete_home_region_control, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DeleteHomeRegionControl"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: DeleteHomeRegionControlRequest)
    o.output = Shapes::ShapeRef.new(shape: DeleteHomeRegionControlResult)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
    o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
    o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
  end)

  api.add_operation(:describe_home_region_controls, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DescribeHomeRegionControls"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: DescribeHomeRegionControlsRequest)
    o.output = Shapes::ShapeRef.new(shape: DescribeHomeRegionControlsResult)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
    o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
    o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
    o[:pager] = Aws::Pager.new(
      limit_key: "max_results",
      tokens: {
        "next_token" => "next_token"
      }
    )
  end)

  api.add_operation(:get_home_region, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetHomeRegion"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: GetHomeRegionRequest)
    o.output = Shapes::ShapeRef.new(shape: GetHomeRegionResult)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
    o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
    o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
  end)
end