diff --git a/clients/client-pinpoint-sms-voice-v2/README.md b/clients/client-pinpoint-sms-voice-v2/README.md
index 647d67824c9f..46006d6a29ab 100644
--- a/clients/client-pinpoint-sms-voice-v2/README.md
+++ b/clients/client-pinpoint-sms-voice-v2/README.md
@@ -442,6 +442,14 @@ DeleteRegistrationFieldValue
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice-v2/command/DeleteRegistrationFieldValueCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/DeleteRegistrationFieldValueCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/DeleteRegistrationFieldValueCommandOutput/)
+
+ Deletes the resource-based policy document attached to the AWS End User Messaging SMS and Voice resource. A shared resource can be a Pool, Opt-out list, Sender Id, or Phone number. The request was denied because you don't have sufficient permissions to access the
+ * resource. The API encountered an unexpected error and couldn't complete the request. You might
+ * be able to successfully issue the request again in the future. A requested resource couldn't be found. An error that occurred because too many requests were sent during a certain amount of
+ * time. A validation exception for a field. Base exception class for all service exceptions from PinpointSMSVoiceV2 service. Retrieves the JSON text of the resource-based policy document attached to the AWS End User Messaging SMS and Voice resource. A shared resource can be a Pool, Opt-out list, Sender Id, or Phone number. The request was denied because you don't have sufficient permissions to access the
+ * resource. The API encountered an unexpected error and couldn't complete the request. You might
+ * be able to successfully issue the request again in the future. A requested resource couldn't be found. An error that occurred because too many requests were sent during a certain amount of
+ * time. A validation exception for a field. Base exception class for all service exceptions from PinpointSMSVoiceV2 service. Attaches a resource-based policy to a AWS End User Messaging SMS and Voice resource(phone number, sender Id, phone poll, or opt-out list) that is used for
+ * sharing the resource. A shared resource can be a Pool, Opt-out list, Sender Id, or Phone number. For more information about
+ * resource-based policies, see Working with shared resources in the AWS End User Messaging SMS User Guide. The request was denied because you don't have sufficient permissions to access the
+ * resource. The API encountered an unexpected error and couldn't complete the request. You might
+ * be able to successfully issue the request again in the future. A requested resource couldn't be found. An error that occurred because too many requests were sent during a certain amount of
+ * time. A validation exception for a field. Base exception class for all service exceptions from PinpointSMSVoiceV2 service. The pool to update with the new Identity. This value can be either the PoolId or
* PoolArn, and you can find these values using DescribePools. If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
+DeleteResourcePolicy
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice-v2/command/DeleteResourcePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/DeleteResourcePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/DeleteResourcePolicyCommandOutput/)
+
@@ -650,6 +658,14 @@ GetProtectConfigurationCountryRuleSet
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice-v2/command/GetProtectConfigurationCountryRuleSetCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/GetProtectConfigurationCountryRuleSetCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/GetProtectConfigurationCountryRuleSetCommandOutput/)
+
+GetResourcePolicy
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice-v2/command/GetResourcePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/GetResourcePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/GetResourcePolicyCommandOutput/)
+
@@ -698,6 +714,14 @@ PutRegistrationFieldValue
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice-v2/command/PutRegistrationFieldValueCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/PutRegistrationFieldValueCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/PutRegistrationFieldValueCommandOutput/)
+
+PutResourcePolicy
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice-v2/command/PutResourcePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/PutResourcePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/PutResourcePolicyCommandOutput/)
+
diff --git a/clients/client-pinpoint-sms-voice-v2/src/PinpointSMSVoiceV2.ts b/clients/client-pinpoint-sms-voice-v2/src/PinpointSMSVoiceV2.ts
index 8b4198c63fd7..a92c95198dda 100644
--- a/clients/client-pinpoint-sms-voice-v2/src/PinpointSMSVoiceV2.ts
+++ b/clients/client-pinpoint-sms-voice-v2/src/PinpointSMSVoiceV2.ts
@@ -124,6 +124,11 @@ import {
DeleteRegistrationFieldValueCommandInput,
DeleteRegistrationFieldValueCommandOutput,
} from "./commands/DeleteRegistrationFieldValueCommand";
+import {
+ DeleteResourcePolicyCommand,
+ DeleteResourcePolicyCommandInput,
+ DeleteResourcePolicyCommandOutput,
+} from "./commands/DeleteResourcePolicyCommand";
import {
DeleteTextMessageSpendLimitOverrideCommand,
DeleteTextMessageSpendLimitOverrideCommandInput,
@@ -254,6 +259,11 @@ import {
GetProtectConfigurationCountryRuleSetCommandInput,
GetProtectConfigurationCountryRuleSetCommandOutput,
} from "./commands/GetProtectConfigurationCountryRuleSetCommand";
+import {
+ GetResourcePolicyCommand,
+ GetResourcePolicyCommandInput,
+ GetResourcePolicyCommandOutput,
+} from "./commands/GetResourcePolicyCommand";
import {
ListPoolOriginationIdentitiesCommand,
ListPoolOriginationIdentitiesCommandInput,
@@ -280,6 +290,11 @@ import {
PutRegistrationFieldValueCommandInput,
PutRegistrationFieldValueCommandOutput,
} from "./commands/PutRegistrationFieldValueCommand";
+import {
+ PutResourcePolicyCommand,
+ PutResourcePolicyCommandInput,
+ PutResourcePolicyCommandOutput,
+} from "./commands/PutResourcePolicyCommand";
import {
ReleasePhoneNumberCommand,
ReleasePhoneNumberCommandInput,
@@ -421,6 +436,7 @@ const commands = {
DeleteRegistrationCommand,
DeleteRegistrationAttachmentCommand,
DeleteRegistrationFieldValueCommand,
+ DeleteResourcePolicyCommand,
DeleteTextMessageSpendLimitOverrideCommand,
DeleteVerifiedDestinationNumberCommand,
DeleteVoiceMessageSpendLimitOverrideCommand,
@@ -447,12 +463,14 @@ const commands = {
DisassociateProtectConfigurationCommand,
DiscardRegistrationVersionCommand,
GetProtectConfigurationCountryRuleSetCommand,
+ GetResourcePolicyCommand,
ListPoolOriginationIdentitiesCommand,
ListRegistrationAssociationsCommand,
ListTagsForResourceCommand,
PutKeywordCommand,
PutOptedOutNumberCommand,
PutRegistrationFieldValueCommand,
+ PutResourcePolicyCommand,
ReleasePhoneNumberCommand,
ReleaseSenderIdCommand,
RequestPhoneNumberCommand,
@@ -908,6 +926,23 @@ export interface PinpointSMSVoiceV2 {
cb: (err: any, data?: DeleteRegistrationFieldValueCommandOutput) => void
): void;
+ /**
+ * @see {@link DeleteResourcePolicyCommand}
+ */
+ deleteResourcePolicy(
+ args: DeleteResourcePolicyCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise
If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
+ *After the pool is created you can add more origination identities to the pool by using AssociateOriginationIdentity.
+ *If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
+ *If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
+ *The OptOutListName or OptOutListArn to remove the phone number from.
+ *If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
+ *The OptOutListName or OptOutListArn of the OptOutList to delete. You can use DescribeOptOutLists to find the values for OptOutListName and * OptOutListArn.
+ *If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
+ *The PoolId or PoolArn of the pool to delete. You can use DescribePools to find the values for PoolId and PoolArn .
+ *If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
+ *The Amazon Resource Name (ARN) of the AWS End User Messaging SMS and Voice resource you're deleting the resource-based policy from.
+ * @public + */ + ResourceArn: string | undefined; +} + +/** + * @public + */ +export interface DeleteResourcePolicyResult { + /** + *The Amazon Resource Name (ARN) of the AWS End User Messaging SMS and Voice resource that the resource-based policy was deleted from.
+ * @public + */ + ResourceArn?: string; + + /** + *The JSON formatted resource-based policy that was deleted.
+ * @public + */ + Policy?: string; + + /** + *The time when the resource-based policy was created, in UNIX epoch time format.
+ * @public + */ + CreatedTimestamp?: Date; +} + /** * @public */ @@ -2860,6 +2916,9 @@ export interface DescribeKeywordsRequest { * SenderIdArn. You can use DescribePhoneNumbers to find the values for * PhoneNumberId and PhoneNumberArn while DescribeSenderIds can be used * to get the values for SenderId and SenderIdArn. + *If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
+ *The OptOutListName or OptOutListArn of the OptOutList. You can use DescribeOptOutLists to find the values for OptOutListName and * OptOutListArn.
+ *If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
+ *The OptOutLists to show the details of. This is an array of strings that can be either * the OptOutListName or OptOutListArn.
+ *If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
+ *Use SELF
to filter the list of Opt-Out List to ones your account owns or use SHARED
to filter on Opt-Out List shared with your account. The Owner
and OptOutListNames
parameters can't be used at the same time.
The unique identifier of phone numbers to find information about. This is an array of * strings that can be either the PhoneNumberId or PhoneNumberArn.
+ *If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
+ *Use SELF
to filter the list of phone numbers to ones your account owns or use SHARED
to filter on phone numbers shared with your account. The Owner
and PhoneNumberIds
parameters can't be used at the same time.
The unique identifier of pools to find. This is an array of strings that can be either * the PoolId or PoolArn.
+ *If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
+ *Use SELF
to filter the list of Pools to ones your account owns or use SHARED
to filter on Pools shared with your account. The Owner
and PoolIds
parameters can't be used at the same time.
An array of SenderIdAndCountry objects to search for.
+ *If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
+ *Use SELF
to filter the list of Sender Ids to ones your account owns or use SHARED
to filter on Sender Ids shared with your account. The Owner
and SenderIds
parameters can't be used at the same time.
The unique identifier for the pool to disassociate with the origination identity. This * value can be either the PoolId or PoolArn.
+ *If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
+ *If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
+ *The Amazon Resource Name (ARN) of the AWS End User Messaging SMS and Voice resource attached to the resource-based policy.
+ * @public + */ + ResourceArn: string | undefined; +} + +/** + * @public + */ +export interface GetResourcePolicyResult { + /** + *The Amazon Resource Name (ARN) of the AWS End User Messaging SMS and Voice resource attached to the resource-based policy.
+ * @public + */ + ResourceArn?: string; + + /** + *The JSON formatted string that contains the resource-based policy attached to the AWS End User Messaging SMS and Voice resource.
+ * @public + */ + Policy?: string; + + /** + *The time when the resource-based policy was created, in UNIX epoch time format.
+ * @public + */ + CreatedTimestamp?: Date; +} + /** * @public * @enum @@ -5661,6 +5813,9 @@ export interface ListPoolOriginationIdentitiesRequest { /** *The unique identifier for the pool. This value can be either the PoolId or * PoolArn.
+ *If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
+ *If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
+ *The OptOutListName or OptOutListArn to add the phone number to.
+ *If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
+ *The Amazon Resource Name (ARN) of the AWS End User Messaging SMS and Voice resource to attach the resource-based policy to.
+ * @public + */ + ResourceArn: string | undefined; + + /** + *The JSON formatted resource-based policy to attach.
+ * @public + */ + Policy: string | undefined; +} + +/** + * @public + */ +export interface PutResourcePolicyResult { + /** + *The Amazon Resource Name (ARN) of the AWS End User Messaging SMS and Voice resource attached to the resource-based policy.
+ * @public + */ + ResourceArn?: string; + + /** + *The JSON formatted Resource Policy.
+ * @public + */ + Policy?: string; + + /** + *The time when the resource-based policy was created, in UNIX epoch time format.
+ * @public + */ + CreatedTimestamp?: Date; +} + /** * @public */ @@ -6137,6 +6338,9 @@ export interface ReleasePhoneNumberRequest { /** *The PhoneNumberId or PhoneNumberArn of the phone number to release. You can use DescribePhoneNumbers to get the values for PhoneNumberId and * PhoneNumberArn.
+ *If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
+ *The name of the OptOutList to associate with the phone number. You can use the * OptOutListName or OptOutListArn.
+ *If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
+ *The pool to associated with the phone number. You can use the PoolId or PoolArn.
+ *If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
+ *The origination identity of the message. This can be either the PhoneNumber, * PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.
+ *If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
+ *The origination identity of the message. This can be either the PhoneNumber, * PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.
+ *If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
+ *The origination identity of the message. This can be either the PhoneNumber, * PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.
+ *If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
+ *The origination identity to use for the voice call. This can be the PhoneNumber, * PhoneNumberId, PhoneNumberArn, PoolId, or PoolArn.
+ *If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
+ *The unique identifier of the phone number. Valid values for this field can be either * the PhoneNumberId or PhoneNumberArn.
+ *If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
+ *The unique identifier of the pool to update. Valid values are either the PoolId or * PoolArn.
+ *If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
+ *The OptOutList to associate with the pool. Valid values are either OptOutListName or * OptOutListArn.
+ *If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
+ *The pool to update with the new Identity. This value can be either the PoolId or\n PoolArn, and you can find these values using DescribePools.
", + "smithy.api#documentation": "The pool to update with the new Identity. This value can be either the PoolId or\n PoolArn, and you can find these values using DescribePools.
\nIf you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
\nThe origination identity to use, such as PhoneNumberId, PhoneNumberArn, SenderId, or\n SenderIdArn. You can use DescribePhoneNumbers to find the values for\n PhoneNumberId and PhoneNumberArn, while DescribeSenderIds can be used\n to get the values for SenderId and SenderIdArn.
", + "smithy.api#documentation": "The origination identity to use, such as PhoneNumberId, PhoneNumberArn, SenderId, or\n SenderIdArn. You can use DescribePhoneNumbers to find the values for\n PhoneNumberId and PhoneNumberArn, while DescribeSenderIds can be used\n to get the values for SenderId and SenderIdArn.
\nIf you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
\nThe origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or\n SenderIdArn. You can use DescribePhoneNumbers to find the values for\n PhoneNumberId and PhoneNumberArn while DescribeSenderIds can be used\n to get the values for SenderId and SenderIdArn.
\nAfter the pool is created you can add more origination identities to the pool by using AssociateOriginationIdentity.
", + "smithy.api#documentation": "The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or\n SenderIdArn. You can use DescribePhoneNumbers to find the values for\n PhoneNumberId and PhoneNumberArn while DescribeSenderIds can be used\n to get the values for SenderId and SenderIdArn.
\nAfter the pool is created you can add more origination identities to the pool by using AssociateOriginationIdentity.
\nIf you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
\nThe origination identity to use such as a PhoneNumberId, PhoneNumberArn, PoolId or\n PoolArn. You can use DescribePhoneNumbers to find the values for\n PhoneNumberId and PhoneNumberArn and DescribePools to find the values\n of PoolId and PoolArn.
", + "smithy.api#documentation": "The origination identity to use such as a PhoneNumberId, PhoneNumberArn, PoolId or\n PoolArn. You can use DescribePhoneNumbers to find the values for\n PhoneNumberId and PhoneNumberArn and DescribePools to find the values\n of PoolId and PoolArn.
\nIf you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
\nThe OptOutListName or OptOutListArn of the OptOutList to delete. You can use DescribeOptOutLists to find the values for OptOutListName and\n OptOutListArn.
", + "smithy.api#documentation": "The OptOutListName or OptOutListArn of the OptOutList to delete. You can use DescribeOptOutLists to find the values for OptOutListName and\n OptOutListArn.
\nIf you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
\nThe OptOutListName or OptOutListArn to remove the phone number from.
", + "smithy.api#documentation": "The OptOutListName or OptOutListArn to remove the phone number from.
\nIf you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
\nThe PoolId or PoolArn of the pool to delete. You can use DescribePools to find the values for PoolId and PoolArn .
", + "smithy.api#documentation": "The PoolId or PoolArn of the pool to delete. You can use DescribePools to find the values for PoolId and PoolArn .
\nIf you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
\nDeletes the resource-based policy document attached to the AWS End User Messaging SMS and Voice resource. A shared resource can be a Pool, Opt-out list, Sender Id, or Phone number.
" + } + }, + "com.amazonaws.pinpointsmsvoicev2#DeleteResourcePolicyRequest": { + "type": "structure", + "members": { + "ResourceArn": { + "target": "com.amazonaws.pinpointsmsvoicev2#AmazonResourceName", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the AWS End User Messaging SMS and Voice resource you're deleting the resource-based policy from.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.pinpointsmsvoicev2#DeleteResourcePolicyResult": { + "type": "structure", + "members": { + "ResourceArn": { + "target": "com.amazonaws.pinpointsmsvoicev2#AmazonResourceName", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the AWS End User Messaging SMS and Voice resource that the resource-based policy was deleted from.
" + } + }, + "Policy": { + "target": "com.amazonaws.pinpointsmsvoicev2#ResourcePolicy", + "traits": { + "smithy.api#documentation": "The JSON formatted resource-based policy that was deleted.
" + } + }, + "CreatedTimestamp": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "The time when the resource-based policy was created, in UNIX epoch time format.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.pinpointsmsvoicev2#DeleteTextMessageSpendLimitOverride": { "type": "operation", "input": { @@ -3581,7 +3651,7 @@ "OriginationIdentity": { "target": "com.amazonaws.pinpointsmsvoicev2#PhoneOrPoolIdOrArn", "traits": { - "smithy.api#documentation": "The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or\n SenderIdArn. You can use DescribePhoneNumbers to find the values for\n PhoneNumberId and PhoneNumberArn while DescribeSenderIds can be used\n to get the values for SenderId and SenderIdArn.
", + "smithy.api#documentation": "The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or\n SenderIdArn. You can use DescribePhoneNumbers to find the values for\n PhoneNumberId and PhoneNumberArn while DescribeSenderIds can be used\n to get the values for SenderId and SenderIdArn.
\nIf you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
\nThe OptOutLists to show the details of. This is an array of strings that can be either\n the OptOutListName or OptOutListArn.
" + "smithy.api#documentation": "The OptOutLists to show the details of. This is an array of strings that can be either\n the OptOutListName or OptOutListArn.
\nIf you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
\nThe maximum number of results to return per each request.
" } + }, + "Owner": { + "target": "com.amazonaws.pinpointsmsvoicev2#Owner", + "traits": { + "smithy.api#documentation": "Use SELF
to filter the list of Opt-Out List to ones your account owns or use SHARED
to filter on Opt-Out List shared with your account. The Owner
and OptOutListNames
parameters can't be used at the same time.
The OptOutListName or OptOutListArn of the OptOutList. You can use DescribeOptOutLists to find the values for OptOutListName and\n OptOutListArn.
", + "smithy.api#documentation": "The OptOutListName or OptOutListArn of the OptOutList. You can use DescribeOptOutLists to find the values for OptOutListName and\n OptOutListArn.
\nIf you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
\nThe unique identifier of phone numbers to find information about. This is an array of\n strings that can be either the PhoneNumberId or PhoneNumberArn.
" + "smithy.api#documentation": "The unique identifier of phone numbers to find information about. This is an array of\n strings that can be either the PhoneNumberId or PhoneNumberArn.
\nIf you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
\nThe maximum number of results to return per each request.
" } + }, + "Owner": { + "target": "com.amazonaws.pinpointsmsvoicev2#Owner", + "traits": { + "smithy.api#documentation": "Use SELF
to filter the list of phone numbers to ones your account owns or use SHARED
to filter on phone numbers shared with your account. The Owner
and PhoneNumberIds
parameters can't be used at the same time.
The unique identifier of pools to find. This is an array of strings that can be either\n the PoolId or PoolArn.
" + "smithy.api#documentation": "The unique identifier of pools to find. This is an array of strings that can be either\n the PoolId or PoolArn.
\nIf you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
\nThe maximum number of results to return per each request.
" } + }, + "Owner": { + "target": "com.amazonaws.pinpointsmsvoicev2#Owner", + "traits": { + "smithy.api#documentation": "Use SELF
to filter the list of Pools to ones your account owns or use SHARED
to filter on Pools shared with your account. The Owner
and PoolIds
parameters can't be used at the same time.
An array of SenderIdAndCountry objects to search for.
" + "smithy.api#documentation": "An array of SenderIdAndCountry objects to search for.
\nIf you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
\nThe maximum number of results to return per each request.
" } + }, + "Owner": { + "target": "com.amazonaws.pinpointsmsvoicev2#Owner", + "traits": { + "smithy.api#documentation": "Use SELF
to filter the list of Sender Ids to ones your account owns or use SHARED
to filter on Sender Ids shared with your account. The Owner
and SenderIds
parameters can't be used at the same time.
The unique identifier for the pool to disassociate with the origination identity. This\n value can be either the PoolId or PoolArn.
", + "smithy.api#documentation": "The unique identifier for the pool to disassociate with the origination identity. This\n value can be either the PoolId or PoolArn.
\nIf you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
\nThe origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or\n SenderIdArn. You can use DescribePhoneNumbers find the values for\n PhoneNumberId and PhoneNumberArn, or use DescribeSenderIds to get the\n values for SenderId and SenderIdArn.
", + "smithy.api#documentation": "The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or\n SenderIdArn. You can use DescribePhoneNumbers find the values for\n PhoneNumberId and PhoneNumberArn, or use DescribeSenderIds to get the\n values for SenderId and SenderIdArn.
\nIf you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
\nRetrieves the JSON text of the resource-based policy document attached to the AWS End User Messaging SMS and Voice resource. A shared resource can be a Pool, Opt-out list, Sender Id, or Phone number.
" + } + }, + "com.amazonaws.pinpointsmsvoicev2#GetResourcePolicyRequest": { + "type": "structure", + "members": { + "ResourceArn": { + "target": "com.amazonaws.pinpointsmsvoicev2#AmazonResourceName", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the AWS End User Messaging SMS and Voice resource attached to the resource-based policy.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.pinpointsmsvoicev2#GetResourcePolicyResult": { + "type": "structure", + "members": { + "ResourceArn": { + "target": "com.amazonaws.pinpointsmsvoicev2#AmazonResourceName", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the AWS End User Messaging SMS and Voice resource attached to the resource-based policy.
" + } + }, + "Policy": { + "target": "com.amazonaws.pinpointsmsvoicev2#ResourcePolicy", + "traits": { + "smithy.api#documentation": "The JSON formatted string that contains the resource-based policy attached to the AWS End User Messaging SMS and Voice resource.
" + } + }, + "CreatedTimestamp": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "The time when the resource-based policy was created, in UNIX epoch time format.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.pinpointsmsvoicev2#IamRoleArn": { "type": "string", "traits": { @@ -6027,7 +6191,7 @@ "PoolId": { "target": "com.amazonaws.pinpointsmsvoicev2#PoolIdOrArn", "traits": { - "smithy.api#documentation": "The unique identifier for the pool. This value can be either the PoolId or\n PoolArn.
", + "smithy.api#documentation": "The unique identifier for the pool. This value can be either the PoolId or\n PoolArn.
\nIf you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
\nThe origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or\n SenderIdArn. You can use DescribePhoneNumbers get the values for\n PhoneNumberId and PhoneNumberArn while DescribeSenderIds can be used\n to get the values for SenderId and SenderIdArn.
", + "smithy.api#documentation": "The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or\n SenderIdArn. You can use DescribePhoneNumbers get the values for\n PhoneNumberId and PhoneNumberArn while DescribeSenderIds can be used\n to get the values for SenderId and SenderIdArn.
\nIf you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
\nThe OptOutListName or OptOutListArn to add the phone number to.
", + "smithy.api#documentation": "The OptOutListName or OptOutListArn to add the phone number to.
\nIf you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
\nAttaches a resource-based policy to a AWS End User Messaging SMS and Voice resource(phone number, sender Id, phone poll, or opt-out list) that is used for\n sharing the resource. A shared resource can be a Pool, Opt-out list, Sender Id, or Phone number. For more information about\n resource-based policies, see Working with shared resources in the AWS End User Messaging SMS User Guide.
" + } + }, + "com.amazonaws.pinpointsmsvoicev2#PutResourcePolicyRequest": { + "type": "structure", + "members": { + "ResourceArn": { + "target": "com.amazonaws.pinpointsmsvoicev2#AmazonResourceName", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the AWS End User Messaging SMS and Voice resource to attach the resource-based policy to.
", + "smithy.api#required": {} + } + }, + "Policy": { + "target": "com.amazonaws.pinpointsmsvoicev2#ResourcePolicy", + "traits": { + "smithy.api#documentation": "The JSON formatted resource-based policy to attach.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.pinpointsmsvoicev2#PutResourcePolicyResult": { + "type": "structure", + "members": { + "ResourceArn": { + "target": "com.amazonaws.pinpointsmsvoicev2#AmazonResourceName", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the AWS End User Messaging SMS and Voice resource attached to the resource-based policy.
" + } + }, + "Policy": { + "target": "com.amazonaws.pinpointsmsvoicev2#ResourcePolicy", + "traits": { + "smithy.api#documentation": "The JSON formatted Resource Policy.
" + } + }, + "CreatedTimestamp": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "The time when the resource-based policy was created, in UNIX epoch time format.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.pinpointsmsvoicev2#RegistrationAssociationBehavior": { "type": "string", "traits": { @@ -9824,7 +10089,7 @@ "PhoneNumberId": { "target": "com.amazonaws.pinpointsmsvoicev2#PhoneNumberIdOrArn", "traits": { - "smithy.api#documentation": "The PhoneNumberId or PhoneNumberArn of the phone number to release. You can use DescribePhoneNumbers to get the values for PhoneNumberId and\n PhoneNumberArn.
", + "smithy.api#documentation": "The PhoneNumberId or PhoneNumberArn of the phone number to release. You can use DescribePhoneNumbers to get the values for PhoneNumberId and\n PhoneNumberArn.
\nIf you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
\nThe name of the OptOutList to associate with the phone number. You can use the\n OptOutListName or OptOutListArn.
" + "smithy.api#documentation": "The name of the OptOutList to associate with the phone number. You can use the\n OptOutListName or OptOutListArn.
\nIf you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
\nThe pool to associated with the phone number. You can use the PoolId or PoolArn.
" + "smithy.api#documentation": "The pool to associated with the phone number. You can use the PoolId or PoolArn.
\nIf you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
\nThe origination identity of the message. This can be either the PhoneNumber,\n PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.
" + "smithy.api#documentation": "The origination identity of the message. This can be either the PhoneNumber,\n PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.
\nIf you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
\nThe origination identity of the message. This can be either the PhoneNumber,\n PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.
", + "smithy.api#documentation": "The origination identity of the message. This can be either the PhoneNumber,\n PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.
\nIf you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
\nThe origination identity of the message. This can be either the PhoneNumber,\n PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.
" + "smithy.api#documentation": "The origination identity of the message. This can be either the PhoneNumber,\n PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.
\nIf you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
\nThe origination identity to use for the voice call. This can be the PhoneNumber,\n PhoneNumberId, PhoneNumberArn, PoolId, or PoolArn.
", + "smithy.api#documentation": "The origination identity to use for the voice call. This can be the PhoneNumber,\n PhoneNumberId, PhoneNumberArn, PoolId, or PoolArn.
\nIf you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
\nThe unique identifier of the phone number. Valid values for this field can be either\n the PhoneNumberId or PhoneNumberArn.
", + "smithy.api#documentation": "The unique identifier of the phone number. Valid values for this field can be either\n the PhoneNumberId or PhoneNumberArn.
\nIf you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
\nThe unique identifier of the pool to update. Valid values are either the PoolId or\n PoolArn.
", + "smithy.api#documentation": "The unique identifier of the pool to update. Valid values are either the PoolId or\n PoolArn.
\nIf you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
\nThe OptOutList to associate with the pool. Valid values are either OptOutListName or\n OptOutListArn.
" + "smithy.api#documentation": "The OptOutList to associate with the pool. Valid values are either OptOutListName or\n OptOutListArn.
\nIf you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
\n