Class: Aws::PinpointSMSVoiceV2::Types::CreatePoolRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::PinpointSMSVoiceV2::Types::CreatePoolRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-pinpointsmsvoicev2/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#client_token ⇒ String
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
-
#deletion_protection_enabled ⇒ Boolean
By default this is set to false.
-
#iso_country_code ⇒ String
The new two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the new pool.
-
#message_type ⇒ String
The type of message.
-
#origination_identity ⇒ String
The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn.
-
#tags ⇒ Array<Types::Tag>
An array of tags (key and value pairs) associated with the pool.
Instance Attribute Details
#client_token ⇒ String
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.
675 676 677 678 679 680 681 682 683 684 |
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 675 class CreatePoolRequest < Struct.new( :origination_identity, :iso_country_code, :message_type, :deletion_protection_enabled, :tags, :client_token) SENSITIVE = [] include Aws::Structure end |
#deletion_protection_enabled ⇒ Boolean
By default this is set to false. When set to true the pool can’t be deleted. You can change this value using the [UpdatePool] action.
[1]: docs.aws.amazon.com/pinpoint/latest/apireference_smsvoicev2/API_UpdatePool.html
675 676 677 678 679 680 681 682 683 684 |
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 675 class CreatePoolRequest < Struct.new( :origination_identity, :iso_country_code, :message_type, :deletion_protection_enabled, :tags, :client_token) SENSITIVE = [] include Aws::Structure end |
#iso_country_code ⇒ String
The new two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the new pool.
675 676 677 678 679 680 681 682 683 684 |
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 675 class CreatePoolRequest < Struct.new( :origination_identity, :iso_country_code, :message_type, :deletion_protection_enabled, :tags, :client_token) SENSITIVE = [] include Aws::Structure end |
#message_type ⇒ String
The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren’t critical or time-sensitive. After the pool is created the MessageType can’t be changed.
675 676 677 678 679 680 681 682 683 684 |
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 675 class CreatePoolRequest < Struct.new( :origination_identity, :iso_country_code, :message_type, :deletion_protection_enabled, :tags, :client_token) SENSITIVE = [] include Aws::Structure end |
#origination_identity ⇒ String
The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn. You can use
- DescribePhoneNumbers][1
-
to find the values for PhoneNumberId and
PhoneNumberArn, and use [DescribeSenderIds] can be used to get the values for SenderId and SenderIdArn.
After the pool is created you can add more origination identities to the pool by using [AssociateOriginationIdentity].
If you are using a shared End User MessagingSMS resource then you must use the full Amazon Resource Name(ARN).
[1]: docs.aws.amazon.com/pinpoint/latest/apireference_smsvoicev2/API_DescribePhoneNumbers.html [2]: docs.aws.amazon.com/pinpoint/latest/apireference_smsvoicev2/API_DescribeSenderIds.html [3]: docs.aws.amazon.com/pinpoint/latest/apireference_smsvoicev2/API_AssociateOriginationIdentity.html
675 676 677 678 679 680 681 682 683 684 |
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 675 class CreatePoolRequest < Struct.new( :origination_identity, :iso_country_code, :message_type, :deletion_protection_enabled, :tags, :client_token) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
An array of tags (key and value pairs) associated with the pool.
675 676 677 678 679 680 681 682 683 684 |
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 675 class CreatePoolRequest < Struct.new( :origination_identity, :iso_country_code, :message_type, :deletion_protection_enabled, :tags, :client_token) SENSITIVE = [] include Aws::Structure end |