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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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 500KB and valid file extensions are PDF, JPEG and PNG.

Returns:

  • (String)


867
868
869
870
871
872
873
874
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 867

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

#attachment_urlString

Registration files have to be stored in an Amazon S3 bucket. The URI to use when sending is in the format ‘s3://BucketName/FileName`.

Returns:

  • (String)


867
868
869
870
871
872
873
874
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 867

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)


867
868
869
870
871
872
873
874
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 867

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:



867
868
869
870
871
872
873
874
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 867

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