From a11b006c1d5fb449e92319a115ee6feaceda703c Mon Sep 17 00:00:00 2001 From: awstools Date: Tue, 30 Apr 2024 18:17:36 +0000 Subject: [PATCH] feat(client-chime-sdk-voice): Due to changes made by the Amazon Alexa service, GetSipMediaApplicationAlexaSkillConfiguration and PutSipMediaApplicationAlexaSkillConfiguration APIs are no longer available for use. For more information, refer to the Alexa Smart Properties page. --- .../commands/BatchUpdatePhoneNumberCommand.ts | 7 ++++++- ...pplicationAlexaSkillConfigurationCommand.ts | 6 ++++++ ...pplicationAlexaSkillConfigurationCommand.ts | 6 ++++++ .../src/commands/UpdatePhoneNumberCommand.ts | 4 ++-- .../src/models/models_0.ts | 6 +++++- .../aws-models/chime-sdk-voice.json | 18 ++++++++++++------ 6 files changed, 37 insertions(+), 10 deletions(-) diff --git a/clients/client-chime-sdk-voice/src/commands/BatchUpdatePhoneNumberCommand.ts b/clients/client-chime-sdk-voice/src/commands/BatchUpdatePhoneNumberCommand.ts index a767850ec400..8fc76a888a50 100644 --- a/clients/client-chime-sdk-voice/src/commands/BatchUpdatePhoneNumberCommand.ts +++ b/clients/client-chime-sdk-voice/src/commands/BatchUpdatePhoneNumberCommand.ts @@ -32,7 +32,12 @@ export interface BatchUpdatePhoneNumberCommandInput extends BatchUpdatePhoneNumb export interface BatchUpdatePhoneNumberCommandOutput extends BatchUpdatePhoneNumberResponse, __MetadataBearer {} /** - *

Updates one or more phone numbers.

+ *

Updates phone number product types, calling names, or phone number names. You can update one attribute at a time for each + * UpdatePhoneNumberRequestItem. For example, you can update the product type, the calling name, or phone name. + *

+ * + *

You cannot have a duplicate phoneNumberId in a request.

+ *
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-chime-sdk-voice/src/commands/GetSipMediaApplicationAlexaSkillConfigurationCommand.ts b/clients/client-chime-sdk-voice/src/commands/GetSipMediaApplicationAlexaSkillConfigurationCommand.ts index aca42d87c3d5..bc0ee9c1fd27 100644 --- a/clients/client-chime-sdk-voice/src/commands/GetSipMediaApplicationAlexaSkillConfigurationCommand.ts +++ b/clients/client-chime-sdk-voice/src/commands/GetSipMediaApplicationAlexaSkillConfigurationCommand.ts @@ -38,6 +38,12 @@ export interface GetSipMediaApplicationAlexaSkillConfigurationCommandOutput /** *

Gets the Alexa Skill configuration for the SIP media application.

+ * + *

Due to changes made by the Amazon Alexa service, this API is no longer available for use. For more information, refer to + * the Alexa Smart Properties page.

+ *
+ * + * @deprecated Due to changes made by the Amazon Alexa service, this API is no longer available for use. For more information, refer to the Alexa Smart Properties page(https://developer.amazon.com/en-US/alexa/alexasmartproperties). * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-chime-sdk-voice/src/commands/PutSipMediaApplicationAlexaSkillConfigurationCommand.ts b/clients/client-chime-sdk-voice/src/commands/PutSipMediaApplicationAlexaSkillConfigurationCommand.ts index 30b98d141d62..1608ad616ddd 100644 --- a/clients/client-chime-sdk-voice/src/commands/PutSipMediaApplicationAlexaSkillConfigurationCommand.ts +++ b/clients/client-chime-sdk-voice/src/commands/PutSipMediaApplicationAlexaSkillConfigurationCommand.ts @@ -39,6 +39,12 @@ export interface PutSipMediaApplicationAlexaSkillConfigurationCommandOutput /** *

Updates the Alexa Skill configuration for the SIP media application.

+ * + *

Due to changes made by the Amazon Alexa service, this API is no longer available for use. For more information, refer to + * the Alexa Smart Properties page.

+ *
+ * + * @deprecated Due to changes made by the Amazon Alexa service, this API is no longer available for use. For more information, refer to the Alexa Smart Properties page(https://developer.amazon.com/en-US/alexa/alexasmartproperties). * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-chime-sdk-voice/src/commands/UpdatePhoneNumberCommand.ts b/clients/client-chime-sdk-voice/src/commands/UpdatePhoneNumberCommand.ts index e79d456940ca..37a7bd8fff6c 100644 --- a/clients/client-chime-sdk-voice/src/commands/UpdatePhoneNumberCommand.ts +++ b/clients/client-chime-sdk-voice/src/commands/UpdatePhoneNumberCommand.ts @@ -32,9 +32,9 @@ export interface UpdatePhoneNumberCommandInput extends UpdatePhoneNumberRequest export interface UpdatePhoneNumberCommandOutput extends UpdatePhoneNumberResponse, __MetadataBearer {} /** - *

Updates phone number details, such as product type or calling name, for the + *

Updates phone number details, such as product type, calling name, or phone number name for the * specified phone number ID. You can update one phone number detail at a time. For - * example, you can update either the product type or the calling name in one action.

+ * example, you can update either the product type, calling name, or phone number name in one action.

*

For numbers outside the U.S., you must use the Amazon Chime SDK SIP Media * Application Dial-In product type.

*

Updates to outbound calling names can take 72 hours to complete. Pending diff --git a/clients/client-chime-sdk-voice/src/models/models_0.ts b/clients/client-chime-sdk-voice/src/models/models_0.ts index e4f725a0bddf..d4ebb799bf5e 100644 --- a/clients/client-chime-sdk-voice/src/models/models_0.ts +++ b/clients/client-chime-sdk-voice/src/models/models_0.ts @@ -2370,6 +2370,10 @@ export interface GetSipMediaApplicationAlexaSkillConfigurationRequest { /** *

The Alexa Skill configuration of a SIP media application.

+ * + *

Due to changes made by the Amazon Alexa service, this data type is no longer available for use. For more information, refer to + * the Alexa Smart Properties page.

+ *
* @public */ export interface SipMediaApplicationAlexaSkillConfiguration { @@ -4333,7 +4337,7 @@ export interface UpdatePhoneNumberRequest { CallingName?: string; /** - *

Specifies the name assigned to one or more phone numbers.

+ *

Specifies the updated name assigned to one or more phone numbers.

* @public */ Name?: string; diff --git a/codegen/sdk-codegen/aws-models/chime-sdk-voice.json b/codegen/sdk-codegen/aws-models/chime-sdk-voice.json index 7d1f1bf5f98d..fbbb623c074a 100644 --- a/codegen/sdk-codegen/aws-models/chime-sdk-voice.json +++ b/codegen/sdk-codegen/aws-models/chime-sdk-voice.json @@ -465,7 +465,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates one or more phone numbers.

", + "smithy.api#documentation": "

Updates phone number product types, calling names, or phone number names. You can update one attribute at a time for each \n UpdatePhoneNumberRequestItem. For example, you can update the product type, the calling name, or phone name.\n

\n \n

You cannot have a duplicate phoneNumberId in a request.

\n
", "smithy.api#http": { "method": "POST", "uri": "/phone-numbers?operation=batch-update", @@ -4178,7 +4178,10 @@ } ], "traits": { - "smithy.api#documentation": "

Gets the Alexa Skill configuration for the SIP media application.

", + "smithy.api#deprecated": { + "message": "Due to changes made by the Amazon Alexa service, this API is no longer available for use. For more information, refer to the Alexa Smart Properties page(https://developer.amazon.com/en-US/alexa/alexasmartproperties)." + }, + "smithy.api#documentation": "

Gets the Alexa Skill configuration for the SIP media application.

\n \n

Due to changes made by the Amazon Alexa service, this API is no longer available for use. For more information, refer to \n the Alexa Smart Properties page.

\n
", "smithy.api#http": { "method": "GET", "uri": "/sip-media-applications/{SipMediaApplicationId}/alexa-skill-configuration", @@ -7536,7 +7539,10 @@ } ], "traits": { - "smithy.api#documentation": "

Updates the Alexa Skill configuration for the SIP media application.

", + "smithy.api#deprecated": { + "message": "Due to changes made by the Amazon Alexa service, this API is no longer available for use. For more information, refer to the Alexa Smart Properties page(https://developer.amazon.com/en-US/alexa/alexasmartproperties)." + }, + "smithy.api#documentation": "

Updates the Alexa Skill configuration for the SIP media application.

\n \n

Due to changes made by the Amazon Alexa service, this API is no longer available for use. For more information, refer to \n the Alexa Smart Properties page.

\n
", "smithy.api#http": { "method": "PUT", "uri": "/sip-media-applications/{SipMediaApplicationId}/alexa-skill-configuration", @@ -8620,7 +8626,7 @@ } }, "traits": { - "smithy.api#documentation": "

The Alexa Skill configuration of a SIP media application.

" + "smithy.api#documentation": "

The Alexa Skill configuration of a SIP media application.

\n \n

Due to changes made by the Amazon Alexa service, this data type is no longer available for use. For more information, refer to \n the Alexa Smart Properties page.

\n
" } }, "com.amazonaws.chimesdkvoice#SipMediaApplicationCall": { @@ -9752,7 +9758,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates phone number details, such as product type or calling name, for the \n specified phone number ID. You can update one phone number detail at a time. For \n example, you can update either the product type or the calling name in one action.

\n

For numbers outside the U.S., you must use the Amazon Chime SDK SIP Media \n Application Dial-In product type.

\n

Updates to outbound calling names can take 72 hours to complete. Pending \n updates to outbound calling names must be complete before you can request another \n update.

", + "smithy.api#documentation": "

Updates phone number details, such as product type, calling name, or phone number name for the \n specified phone number ID. You can update one phone number detail at a time. For \n example, you can update either the product type, calling name, or phone number name in one action.

\n

For numbers outside the U.S., you must use the Amazon Chime SDK SIP Media \n Application Dial-In product type.

\n

Updates to outbound calling names can take 72 hours to complete. Pending \n updates to outbound calling names must be complete before you can request another \n update.

", "smithy.api#http": { "method": "POST", "uri": "/phone-numbers/{PhoneNumberId}", @@ -9786,7 +9792,7 @@ "Name": { "target": "com.amazonaws.chimesdkvoice#PhoneNumberName", "traits": { - "smithy.api#documentation": "

Specifies the name assigned to one or more phone numbers.

" + "smithy.api#documentation": "

Specifies the updated name assigned to one or more phone numbers.

" } } },