Class: Aws::PinpointSMSVoiceV2::Types::CreateRegistrationAttachmentRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attachment_bodyString

The registration file to upload. The maximum file size is 1MiB and valid file extensions are PDF, JPEG and PNG.

Returns:

  • (String)


841
842
843
844
845
846
847
848
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 841

class CreateRegistrationAttachmentRequest < Struct.new(
  :attachment_body,
  :attachment_url,
  :tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#attachment_urlString

A URL to the required registration file. For example, you can provide the S3 object URL.

Returns:

  • (String)


841
842
843
844
845
846
847
848
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 841

class CreateRegistrationAttachmentRequest < Struct.new(
  :attachment_body,
  :attachment_url,
  :tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#client_tokenString

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


841
842
843
844
845
846
847
848
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 841

class CreateRegistrationAttachmentRequest < Struct.new(
  :attachment_body,
  :attachment_url,
  :tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

An array of tags (key and value pairs) to associate with the registration attachment.

Returns:



841
842
843
844
845
846
847
848
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 841

class CreateRegistrationAttachmentRequest < Struct.new(
  :attachment_body,
  :attachment_url,
  :tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end