Module: Aws::PinpointSMSVoice::ClientApi Private

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

AlreadyExistsException =

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

This constant is part 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: 'WordCharactersWithDelimiters')
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 = "2018-09-05"

  api. = {
    "apiVersion" => "2018-09-05",
    "endpointPrefix" => "sms-voice.pinpoint",
    "jsonVersion" => "1.1",
    "protocol" => "rest-json",
    "serviceAbbreviation" => "Pinpoint SMS Voice",
    "serviceFullName" => "Amazon Pinpoint SMS and Voice Service",
    "serviceId" => "Pinpoint SMS Voice",
    "signatureVersion" => "v4",
    "signingName" => "sms-voice",
    "uid" => "pinpoint-sms-voice-2018-09-05",
  }

  api.add_operation(:create_configuration_set, Seahorse::Model::Operation.new.tap do |o|
    o.name = "CreateConfigurationSet"
    o.http_method = "POST"
    o.http_request_uri = "/v1/sms-voice/configuration-sets"
    o.input = Shapes::ShapeRef.new(shape: CreateConfigurationSetRequest)
    o.output = Shapes::ShapeRef.new(shape: CreateConfigurationSetResponse)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
    o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
  end)

  api.add_operation(:create_configuration_set_event_destination, Seahorse::Model::Operation.new.tap do |o|
    o.name = "CreateConfigurationSetEventDestination"
    o.http_method = "POST"
    o.http_request_uri = "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations"
    o.input = Shapes::ShapeRef.new(shape: CreateConfigurationSetEventDestinationRequest)
    o.output = Shapes::ShapeRef.new(shape: CreateConfigurationSetEventDestinationResponse)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
    o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
  end)

  api.add_operation(:delete_configuration_set, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DeleteConfigurationSet"
    o.http_method = "DELETE"
    o.http_request_uri = "/v1/sms-voice/configuration-sets/{ConfigurationSetName}"
    o.input = Shapes::ShapeRef.new(shape: DeleteConfigurationSetRequest)
    o.output = Shapes::ShapeRef.new(shape: DeleteConfigurationSetResponse)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
  end)

  api.add_operation(:delete_configuration_set_event_destination, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DeleteConfigurationSetEventDestination"
    o.http_method = "DELETE"
    o.http_request_uri = "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}"
    o.input = Shapes::ShapeRef.new(shape: DeleteConfigurationSetEventDestinationRequest)
    o.output = Shapes::ShapeRef.new(shape: DeleteConfigurationSetEventDestinationResponse)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
  end)

  api.add_operation(:get_configuration_set_event_destinations, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetConfigurationSetEventDestinations"
    o.http_method = "GET"
    o.http_request_uri = "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations"
    o.input = Shapes::ShapeRef.new(shape: GetConfigurationSetEventDestinationsRequest)
    o.output = Shapes::ShapeRef.new(shape: GetConfigurationSetEventDestinationsResponse)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
  end)

  api.add_operation(:list_configuration_sets, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListConfigurationSets"
    o.http_method = "GET"
    o.http_request_uri = "/v1/sms-voice/configuration-sets"
    o.input = Shapes::ShapeRef.new(shape: ListConfigurationSetsRequest)
    o.output = Shapes::ShapeRef.new(shape: ListConfigurationSetsResponse)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
  end)

  api.add_operation(:send_voice_message, Seahorse::Model::Operation.new.tap do |o|
    o.name = "SendVoiceMessage"
    o.http_method = "POST"
    o.http_request_uri = "/v1/sms-voice/voice/message"
    o.input = Shapes::ShapeRef.new(shape: SendVoiceMessageRequest)
    o.output = Shapes::ShapeRef.new(shape: SendVoiceMessageResponse)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
  end)

  api.add_operation(:update_configuration_set_event_destination, Seahorse::Model::Operation.new.tap do |o|
    o.name = "UpdateConfigurationSetEventDestination"
    o.http_method = "PUT"
    o.http_request_uri = "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}"
    o.input = Shapes::ShapeRef.new(shape: UpdateConfigurationSetEventDestinationRequest)
    o.output = Shapes::ShapeRef.new(shape: UpdateConfigurationSetEventDestinationResponse)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
  end)
end