Module: Aws::MWAA::ClientApi Private

Includes:
Seahorse::Model
Defined in:
lib/aws-sdk-mwaa/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')
AirflowConfigurationOptions =

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: 'AirflowConfigurationOptions')
AirflowIdentity =

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: 'AirflowIdentity')
AirflowVersion =

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: 'AirflowVersion')
CeleryExecutorQueue =

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: 'CeleryExecutorQueue')
CloudWatchLogGroupArn =

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: 'CloudWatchLogGroupArn')
ConfigKey =

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: 'ConfigKey')
ConfigValue =

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: 'ConfigValue')
CreateCliTokenRequest =

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: 'CreateCliTokenRequest')
CreateCliTokenResponse =

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: 'CreateCliTokenResponse')
CreateEnvironmentInput =

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: 'CreateEnvironmentInput')
CreateEnvironmentOutput =

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: 'CreateEnvironmentOutput')
CreateWebLoginTokenRequest =

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: 'CreateWebLoginTokenRequest')
CreateWebLoginTokenResponse =

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: 'CreateWebLoginTokenResponse')
CreatedAt =

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: 'CreatedAt')
DeleteEnvironmentInput =

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: 'DeleteEnvironmentInput')
DeleteEnvironmentOutput =

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: 'DeleteEnvironmentOutput')
Dimension =

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: 'Dimension')
Dimensions =

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: 'Dimensions')
Document =

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::DocumentShape.new(name: 'Document', document: true)
Double =

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::FloatShape.new(name: 'Double')
EndpointManagement =

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: 'EndpointManagement')
Environment =

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: 'Environment')
EnvironmentArn =

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: 'EnvironmentArn')
EnvironmentClass =

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: 'EnvironmentClass')
EnvironmentList =

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: 'EnvironmentList')
EnvironmentName =

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: 'EnvironmentName')
EnvironmentStatus =

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: 'EnvironmentStatus')
ErrorCode =

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: 'ErrorCode')
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')
GetEnvironmentInput =

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: 'GetEnvironmentInput')
GetEnvironmentOutput =

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: 'GetEnvironmentOutput')
Hostname =

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: 'Hostname')
IamIdentity =

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: 'IamIdentity')
IamRoleArn =

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: 'IamRoleArn')
Integer =

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: 'Integer')
InternalServerException =

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: 'InternalServerException')
InvokeRestApiRequest =

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: 'InvokeRestApiRequest')
InvokeRestApiResponse =

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: 'InvokeRestApiResponse')
KmsKey =

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: 'KmsKey')
LastUpdate =

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: 'LastUpdate')
ListEnvironmentsInput =

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: 'ListEnvironmentsInput')
ListEnvironmentsInputMaxResultsInteger =

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: 'ListEnvironmentsInputMaxResultsInteger')
ListEnvironmentsOutput =

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: 'ListEnvironmentsOutput')
ListTagsForResourceInput =

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: 'ListTagsForResourceInput')
ListTagsForResourceOutput =

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: 'ListTagsForResourceOutput')
LoggingConfiguration =

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: 'LoggingConfiguration')
LoggingConfigurationInput =

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: 'LoggingConfigurationInput')
LoggingEnabled =

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: 'LoggingEnabled')
LoggingLevel =

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: 'LoggingLevel')
MaxWebservers =

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: 'MaxWebservers')
MaxWorkers =

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: 'MaxWorkers')
MetricData =

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: 'MetricData')
MetricDatum =

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: 'MetricDatum')
MinWebservers =

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: 'MinWebservers')
MinWorkers =

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: 'MinWorkers')
ModuleLoggingConfiguration =

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: 'ModuleLoggingConfiguration')
ModuleLoggingConfigurationInput =

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: 'ModuleLoggingConfigurationInput')
NetworkConfiguration =

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: 'NetworkConfiguration')
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')
PublishMetricsInput =

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: 'PublishMetricsInput')
PublishMetricsOutput =

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: 'PublishMetricsOutput')
RelativePath =

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: 'RelativePath')
ResourceNotFoundException =

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: 'ResourceNotFoundException')
RestApiClientException =

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: 'RestApiClientException')
RestApiMethod =

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: 'RestApiMethod')
RestApiPath =

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: 'RestApiPath')
RestApiRequestBody =

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::DocumentShape.new(name: 'RestApiRequestBody', document: true)
RestApiResponse =

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::DocumentShape.new(name: 'RestApiResponse', document: true)
RestApiServerException =

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: 'RestApiServerException')
S3BucketArn =

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: 'S3BucketArn')
S3ObjectVersion =

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: 'S3ObjectVersion')
Schedulers =

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: 'Schedulers')
SecurityGroupId =

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: 'SecurityGroupId')
SecurityGroupList =

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: 'SecurityGroupList')
StatisticSet =

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: 'StatisticSet')
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')
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')
SubnetList =

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: 'SubnetList')
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')
TagMap =

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: 'TagMap')
TagResourceInput =

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: 'TagResourceInput')
TagResourceOutput =

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: 'TagResourceOutput')
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')
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')
Unit =

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: 'Unit')
UntagResourceInput =

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: 'UntagResourceInput')
UntagResourceOutput =

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: 'UntagResourceOutput')
UpdateCreatedAt =

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: 'UpdateCreatedAt')
UpdateEnvironmentInput =

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: 'UpdateEnvironmentInput')
UpdateEnvironmentOutput =

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: 'UpdateEnvironmentOutput')
UpdateError =

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: 'UpdateError')
UpdateNetworkConfigurationInput =

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: 'UpdateNetworkConfigurationInput')
UpdateSource =

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: 'UpdateSource')
UpdateStatus =

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: 'UpdateStatus')
ValidationException =

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: 'ValidationException')
VpcEndpointServiceName =

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: 'VpcEndpointServiceName')
WebserverAccessMode =

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: 'WebserverAccessMode')
WebserverUrl =

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: 'WebserverUrl')
WeeklyMaintenanceWindowStart =

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: 'WeeklyMaintenanceWindowStart')
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 = "2020-07-01"

  api. = {
    "apiVersion" => "2020-07-01",
    "auth" => ["aws.auth#sigv4"],
    "endpointPrefix" => "airflow",
    "protocol" => "rest-json",
    "protocols" => ["rest-json"],
    "serviceFullName" => "AmazonMWAA",
    "serviceId" => "MWAA",
    "signatureVersion" => "v4",
    "signingName" => "airflow",
    "uid" => "mwaa-2020-07-01",
  }

  api.add_operation(:create_cli_token, Seahorse::Model::Operation.new.tap do |o|
    o.name = "CreateCliToken"
    o.http_method = "POST"
    o.http_request_uri = "/clitoken/{Name}"
    o.endpoint_pattern = {
      "hostPrefix" => "env.",
    }
    o.input = Shapes::ShapeRef.new(shape: CreateCliTokenRequest)
    o.output = Shapes::ShapeRef.new(shape: CreateCliTokenResponse)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
  end)

  api.add_operation(:create_environment, Seahorse::Model::Operation.new.tap do |o|
    o.name = "CreateEnvironment"
    o.http_method = "PUT"
    o.http_request_uri = "/environments/{Name}"
    o.endpoint_pattern = {
      "hostPrefix" => "api.",
    }
    o.input = Shapes::ShapeRef.new(shape: CreateEnvironmentInput)
    o.output = Shapes::ShapeRef.new(shape: CreateEnvironmentOutput)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
  end)

  api.add_operation(:create_web_login_token, Seahorse::Model::Operation.new.tap do |o|
    o.name = "CreateWebLoginToken"
    o.http_method = "POST"
    o.http_request_uri = "/webtoken/{Name}"
    o.endpoint_pattern = {
      "hostPrefix" => "env.",
    }
    o.input = Shapes::ShapeRef.new(shape: CreateWebLoginTokenRequest)
    o.output = Shapes::ShapeRef.new(shape: CreateWebLoginTokenResponse)
    o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
  end)

  api.add_operation(:delete_environment, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DeleteEnvironment"
    o.http_method = "DELETE"
    o.http_request_uri = "/environments/{Name}"
    o.endpoint_pattern = {
      "hostPrefix" => "api.",
    }
    o.input = Shapes::ShapeRef.new(shape: DeleteEnvironmentInput)
    o.output = Shapes::ShapeRef.new(shape: DeleteEnvironmentOutput)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
  end)

  api.add_operation(:get_environment, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetEnvironment"
    o.http_method = "GET"
    o.http_request_uri = "/environments/{Name}"
    o.endpoint_pattern = {
      "hostPrefix" => "api.",
    }
    o.input = Shapes::ShapeRef.new(shape: GetEnvironmentInput)
    o.output = Shapes::ShapeRef.new(shape: GetEnvironmentOutput)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
  end)

  api.add_operation(:invoke_rest_api, Seahorse::Model::Operation.new.tap do |o|
    o.name = "InvokeRestApi"
    o.http_method = "POST"
    o.http_request_uri = "/restapi/{Name}"
    o.endpoint_pattern = {
      "hostPrefix" => "env.",
    }
    o.input = Shapes::ShapeRef.new(shape: InvokeRestApiRequest)
    o.output = Shapes::ShapeRef.new(shape: InvokeRestApiResponse)
    o.errors << Shapes::ShapeRef.new(shape: RestApiClientException)
    o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
    o.errors << Shapes::ShapeRef.new(shape: RestApiServerException)
  end)

  api.add_operation(:list_environments, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListEnvironments"
    o.http_method = "GET"
    o.http_request_uri = "/environments"
    o.endpoint_pattern = {
      "hostPrefix" => "api.",
    }
    o.input = Shapes::ShapeRef.new(shape: ListEnvironmentsInput)
    o.output = Shapes::ShapeRef.new(shape: ListEnvironmentsOutput)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
    o[:pager] = Aws::Pager.new(
      limit_key: "max_results",
      tokens: {
        "next_token" => "next_token"
      }
    )
  end)

  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListTagsForResource"
    o.http_method = "GET"
    o.http_request_uri = "/tags/{ResourceArn}"
    o.endpoint_pattern = {
      "hostPrefix" => "api.",
    }
    o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceInput)
    o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceOutput)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
  end)

  api.add_operation(:publish_metrics, Seahorse::Model::Operation.new.tap do |o|
    o.name = "PublishMetrics"
    o.http_method = "POST"
    o.http_request_uri = "/metrics/environments/{EnvironmentName}"
    o.deprecated = true
    o.endpoint_pattern = {
      "hostPrefix" => "ops.",
    }
    o.input = Shapes::ShapeRef.new(shape: PublishMetricsInput)
    o.output = Shapes::ShapeRef.new(shape: PublishMetricsOutput)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
  end)

  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
    o.name = "TagResource"
    o.http_method = "POST"
    o.http_request_uri = "/tags/{ResourceArn}"
    o.endpoint_pattern = {
      "hostPrefix" => "api.",
    }
    o.input = Shapes::ShapeRef.new(shape: TagResourceInput)
    o.output = Shapes::ShapeRef.new(shape: TagResourceOutput)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
  end)

  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
    o.name = "UntagResource"
    o.http_method = "DELETE"
    o.http_request_uri = "/tags/{ResourceArn}"
    o.endpoint_pattern = {
      "hostPrefix" => "api.",
    }
    o.input = Shapes::ShapeRef.new(shape: UntagResourceInput)
    o.output = Shapes::ShapeRef.new(shape: UntagResourceOutput)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
  end)

  api.add_operation(:update_environment, Seahorse::Model::Operation.new.tap do |o|
    o.name = "UpdateEnvironment"
    o.http_method = "PATCH"
    o.http_request_uri = "/environments/{Name}"
    o.endpoint_pattern = {
      "hostPrefix" => "api.",
    }
    o.input = Shapes::ShapeRef.new(shape: UpdateEnvironmentInput)
    o.output = Shapes::ShapeRef.new(shape: UpdateEnvironmentOutput)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
  end)
end