Module: Aws::WorkMailMessageFlow::ClientApi Private

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

GetRawMessageContentRequest =

This constant is part 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: 'GetRawMessageContentRequest')
GetRawMessageContentResponse =

This constant is part 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: 'GetRawMessageContentResponse')
InvalidContentLocation =

This constant is part 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: 'InvalidContentLocation')
MessageFrozen =

This constant is part 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: 'MessageFrozen')
MessageRejected =

This constant is part 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: 'MessageRejected')
PutRawMessageContentRequest =

This constant is part 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: 'PutRawMessageContentRequest')
PutRawMessageContentResponse =

This constant is part 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: 'PutRawMessageContentResponse')
RawMessageContent =

This constant is part 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: 'RawMessageContent')
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')
S3Reference =

This constant is part 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: 'S3Reference')
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-05-01"

  api. = {
    "apiVersion" => "2019-05-01",
    "auth" => ["aws.auth#sigv4"],
    "endpointPrefix" => "workmailmessageflow",
    "jsonVersion" => "1.1",
    "protocol" => "rest-json",
    "protocols" => ["rest-json"],
    "serviceFullName" => "Amazon WorkMail Message Flow",
    "serviceId" => "WorkMailMessageFlow",
    "signatureVersion" => "v4",
    "uid" => "workmailmessageflow-2019-05-01",
  }

  api.add_operation(:get_raw_message_content, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetRawMessageContent"
    o.http_method = "GET"
    o.http_request_uri = "/messages/{messageId}"
    o.input = Shapes::ShapeRef.new(shape: GetRawMessageContentRequest)
    o.output = Shapes::ShapeRef.new(shape: GetRawMessageContentResponse)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
  end)

  api.add_operation(:put_raw_message_content, Seahorse::Model::Operation.new.tap do |o|
    o.name = "PutRawMessageContent"
    o.http_method = "POST"
    o.http_request_uri = "/messages/{messageId}"
    o.input = Shapes::ShapeRef.new(shape: PutRawMessageContentRequest)
    o.output = Shapes::ShapeRef.new(shape: PutRawMessageContentResponse)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidContentLocation)
    o.errors << Shapes::ShapeRef.new(shape: MessageRejected)
    o.errors << Shapes::ShapeRef.new(shape: MessageFrozen)
  end)
end