Module: Aws::OAM::ClientApi Private

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

Arn =

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: 'Arn')
ConflictException =

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: 'ConflictException')
CreateLinkInput =

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: 'CreateLinkInput')
CreateLinkOutput =

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: 'CreateLinkOutput')
CreateSinkInput =

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: 'CreateSinkInput')
CreateSinkOutput =

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: 'CreateSinkOutput')
DeleteLinkInput =

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: 'DeleteLinkInput')
DeleteLinkOutput =

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: 'DeleteLinkOutput')
DeleteSinkInput =

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: 'DeleteSinkInput')
DeleteSinkOutput =

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: 'DeleteSinkOutput')
GetLinkInput =

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: 'GetLinkInput')
GetLinkOutput =

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: 'GetLinkOutput')
GetSinkInput =

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: 'GetSinkInput')
GetSinkOutput =

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: 'GetSinkOutput')
GetSinkPolicyInput =

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: 'GetSinkPolicyInput')
GetSinkPolicyOutput =

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: 'GetSinkPolicyOutput')
InternalServiceFault =

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: 'InternalServiceFault')
InvalidParameterException =

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: 'InvalidParameterException')
LabelTemplate =

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: 'LabelTemplate')
ListAttachedLinksInput =

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: 'ListAttachedLinksInput')
ListAttachedLinksItem =

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: 'ListAttachedLinksItem')
ListAttachedLinksItems =

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: 'ListAttachedLinksItems')
ListAttachedLinksMaxResults =

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: 'ListAttachedLinksMaxResults')
ListAttachedLinksOutput =

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: 'ListAttachedLinksOutput')
ListLinksInput =

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: 'ListLinksInput')
ListLinksItem =

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: 'ListLinksItem')
ListLinksItems =

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: 'ListLinksItems')
ListLinksMaxResults =

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: 'ListLinksMaxResults')
ListLinksOutput =

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: 'ListLinksOutput')
ListSinksInput =

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: 'ListSinksInput')
ListSinksItem =

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: 'ListSinksItem')
ListSinksItems =

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: 'ListSinksItems')
ListSinksMaxResults =

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: 'ListSinksMaxResults')
ListSinksOutput =

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: 'ListSinksOutput')
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')
MissingRequiredParameterException =

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: 'MissingRequiredParameterException')
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')
PutSinkPolicyInput =

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: 'PutSinkPolicyInput')
PutSinkPolicyOutput =

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: 'PutSinkPolicyOutput')
ResourceIdentifier =

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: 'ResourceIdentifier')
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')
ResourceType =

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: 'ResourceType')
ResourceTypesInput =

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: 'ResourceTypesInput')
ResourceTypesOutput =

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: 'ResourceTypesOutput')
ServiceQuotaExceededException =

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: 'ServiceQuotaExceededException')
SinkName =

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: 'SinkName')
SinkPolicy =

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: 'SinkPolicy')
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')
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')
TagKeys =

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: 'TagKeys')
TagMapInput =

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: 'TagMapInput')
TagMapOutput =

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: 'TagMapOutput')
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')
TooManyTagsException =

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: 'TooManyTagsException')
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')
UpdateLinkInput =

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: 'UpdateLinkInput')
UpdateLinkOutput =

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: 'UpdateLinkOutput')
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')
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 = "2022-06-10"

  api. = {
    "apiVersion" => "2022-06-10",
    "endpointPrefix" => "oam",
    "jsonVersion" => "1.1",
    "protocol" => "rest-json",
    "serviceFullName" => "CloudWatch Observability Access Manager",
    "serviceId" => "OAM",
    "signatureVersion" => "v4",
    "signingName" => "oam",
    "uid" => "oam-2022-06-10",
  }

  api.add_operation(:create_link, Seahorse::Model::Operation.new.tap do |o|
    o.name = "CreateLink"
    o.http_method = "POST"
    o.http_request_uri = "/CreateLink"
    o.input = Shapes::ShapeRef.new(shape: CreateLinkInput)
    o.output = Shapes::ShapeRef.new(shape: CreateLinkOutput)
    o.errors << Shapes::ShapeRef.new(shape: InternalServiceFault)
    o.errors << Shapes::ShapeRef.new(shape: ConflictException)
    o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameterException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
  end)

  api.add_operation(:create_sink, Seahorse::Model::Operation.new.tap do |o|
    o.name = "CreateSink"
    o.http_method = "POST"
    o.http_request_uri = "/CreateSink"
    o.input = Shapes::ShapeRef.new(shape: CreateSinkInput)
    o.output = Shapes::ShapeRef.new(shape: CreateSinkOutput)
    o.errors << Shapes::ShapeRef.new(shape: InternalServiceFault)
    o.errors << Shapes::ShapeRef.new(shape: ConflictException)
    o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameterException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
  end)

  api.add_operation(:delete_link, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DeleteLink"
    o.http_method = "POST"
    o.http_request_uri = "/DeleteLink"
    o.input = Shapes::ShapeRef.new(shape: DeleteLinkInput)
    o.output = Shapes::ShapeRef.new(shape: DeleteLinkOutput)
    o.errors << Shapes::ShapeRef.new(shape: InternalServiceFault)
    o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameterException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
  end)

  api.add_operation(:delete_sink, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DeleteSink"
    o.http_method = "POST"
    o.http_request_uri = "/DeleteSink"
    o.input = Shapes::ShapeRef.new(shape: DeleteSinkInput)
    o.output = Shapes::ShapeRef.new(shape: DeleteSinkOutput)
    o.errors << Shapes::ShapeRef.new(shape: InternalServiceFault)
    o.errors << Shapes::ShapeRef.new(shape: ConflictException)
    o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameterException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
  end)

  api.add_operation(:get_link, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetLink"
    o.http_method = "POST"
    o.http_request_uri = "/GetLink"
    o.input = Shapes::ShapeRef.new(shape: GetLinkInput)
    o.output = Shapes::ShapeRef.new(shape: GetLinkOutput)
    o.errors << Shapes::ShapeRef.new(shape: InternalServiceFault)
    o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameterException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
  end)

  api.add_operation(:get_sink, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetSink"
    o.http_method = "POST"
    o.http_request_uri = "/GetSink"
    o.input = Shapes::ShapeRef.new(shape: GetSinkInput)
    o.output = Shapes::ShapeRef.new(shape: GetSinkOutput)
    o.errors << Shapes::ShapeRef.new(shape: InternalServiceFault)
    o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameterException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
  end)

  api.add_operation(:get_sink_policy, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetSinkPolicy"
    o.http_method = "POST"
    o.http_request_uri = "/GetSinkPolicy"
    o.input = Shapes::ShapeRef.new(shape: GetSinkPolicyInput)
    o.output = Shapes::ShapeRef.new(shape: GetSinkPolicyOutput)
    o.errors << Shapes::ShapeRef.new(shape: InternalServiceFault)
    o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameterException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
  end)

  api.add_operation(:list_attached_links, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListAttachedLinks"
    o.http_method = "POST"
    o.http_request_uri = "/ListAttachedLinks"
    o.input = Shapes::ShapeRef.new(shape: ListAttachedLinksInput)
    o.output = Shapes::ShapeRef.new(shape: ListAttachedLinksOutput)
    o.errors << Shapes::ShapeRef.new(shape: InternalServiceFault)
    o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameterException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o[:pager] = Aws::Pager.new(
      limit_key: "max_results",
      tokens: {
        "next_token" => "next_token"
      }
    )
  end)

  api.add_operation(:list_links, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListLinks"
    o.http_method = "POST"
    o.http_request_uri = "/ListLinks"
    o.input = Shapes::ShapeRef.new(shape: ListLinksInput)
    o.output = Shapes::ShapeRef.new(shape: ListLinksOutput)
    o.errors << Shapes::ShapeRef.new(shape: InternalServiceFault)
    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o[:pager] = Aws::Pager.new(
      limit_key: "max_results",
      tokens: {
        "next_token" => "next_token"
      }
    )
  end)

  api.add_operation(:list_sinks, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListSinks"
    o.http_method = "POST"
    o.http_request_uri = "/ListSinks"
    o.input = Shapes::ShapeRef.new(shape: ListSinksInput)
    o.output = Shapes::ShapeRef.new(shape: ListSinksOutput)
    o.errors << Shapes::ShapeRef.new(shape: InternalServiceFault)
    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    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.input = Shapes::ShapeRef.new(shape: ListTagsForResourceInput)
    o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceOutput)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
  end)

  api.add_operation(:put_sink_policy, Seahorse::Model::Operation.new.tap do |o|
    o.name = "PutSinkPolicy"
    o.http_method = "POST"
    o.http_request_uri = "/PutSinkPolicy"
    o.input = Shapes::ShapeRef.new(shape: PutSinkPolicyInput)
    o.output = Shapes::ShapeRef.new(shape: PutSinkPolicyOutput)
    o.errors << Shapes::ShapeRef.new(shape: InternalServiceFault)
    o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameterException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
  end)

  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
    o.name = "TagResource"
    o.http_method = "PUT"
    o.http_request_uri = "/tags/{ResourceArn}"
    o.input = Shapes::ShapeRef.new(shape: TagResourceInput)
    o.output = Shapes::ShapeRef.new(shape: TagResourceOutput)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
    o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
  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.input = Shapes::ShapeRef.new(shape: UntagResourceInput)
    o.output = Shapes::ShapeRef.new(shape: UntagResourceOutput)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
  end)

  api.add_operation(:update_link, Seahorse::Model::Operation.new.tap do |o|
    o.name = "UpdateLink"
    o.http_method = "POST"
    o.http_request_uri = "/UpdateLink"
    o.input = Shapes::ShapeRef.new(shape: UpdateLinkInput)
    o.output = Shapes::ShapeRef.new(shape: UpdateLinkOutput)
    o.errors << Shapes::ShapeRef.new(shape: InternalServiceFault)
    o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameterException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
  end)
end