AWS cli documentation change
Summary
Removed multiple code examples related to Amazon Chime operations including associate-phone-numbers-with-voice-connector-group, associate-phone-numbers-with-voice-connector, create-proxy-session, create-voice-connector-group, create-voice-connector, delete-proxy-session, delete-voice-connector-group, delete-voice-connector-origination, delete-voice-connector-proxy, delete-voice-connector-streaming-configuration, delete-voice-connector-termination-credentials, delete-voice-connector-termination, delete-voice-connector, disassociate-phone-numbers-from-voice-connector-group, disassociate-phone-numbers-from-voice-connector, and others. Added new code examples for disassociate-phone-number-from-user, disassociate-signin-delegate-groups-from-account, get-account-settings, get-account, get-bot, get-global-settings, get-phone-number-order, get-phone-number-settings, get-phone-number, get-room, get-user-settings, get-user, invite-users, list-accounts, list-bots, list-phone-number-orders, list-phone-numbers, list-room-memberships, list-rooms, list-users, and logout-user.
Security assessment
The changes involve removing and adding various code examples for Amazon Chime CLI operations. There is no indication in the diff that these changes are related to security issues or that they add documentation about security features. The changes appear to be routine updates to the CLI documentation.
Diff
diff --git a/cli/v1/userguide/cli_chime_code_examples.md index bc2fe3944..278b070ea 100644 --- a/cli/v1/userguide/cli_chime_code_examples.md +++ b/cli/v1/userguide/cli_chime_code_examples.md @@ -51,60 +50,0 @@ For more information, see [Managing User Phone Numbers](https://docs.aws.amazon. -The following code example shows how to use `associate-phone-numbers-with-voice-connector-group`. - -**AWS CLI** - - -**To associate phone numbers with an Amazon Chime Voice Connector group** - -The following `associate-phone-numbers-with-voice-connector-group` example associates the specified phone numbers with an Amazon Chime Voice Connector group. - - - aws chime associate-phone-numbers-with-voice-connector-group \ - --voice-connector-group-id 123a456b-c7d8-90e1-fg23-4h567jkl8901 \ - --e164-phone-numbers "+12065550100" "+12065550101" \ - --force-associate - - -Output: - - - { - "PhoneNumberErrors": [] - } - -For more information, see [Working with Amazon Chime Voice Connector groups](https://docs.aws.amazon.com/chime/latest/ag/voice-connector-groups.html) in the _Amazon Chime Administration Guide_. - - * For API details, see [AssociatePhoneNumbersWithVoiceConnectorGroup](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/chime/associate-phone-numbers-with-voice-connector-group.html) in _AWS CLI Command Reference_. - - - - -The following code example shows how to use `associate-phone-numbers-with-voice-connector`. - -**AWS CLI** - - -**To associate phone numbers with an Amazon Chime Voice Connector** - -The following `associate-phone-numbers-with-voice-connector` example associates the specified phone numbers with an Amazon Chime Voice Connector. - - - aws chime associate-phone-numbers-with-voice-connector \ - --voice-connector-id abcdef1ghij2klmno3pqr4 \ - --e164-phone-numbers "+12065550100" "+12065550101" - --force-associate - - -Output: - - - { - "PhoneNumberErrors": [] - } - -For more information, see [Working with Amazon Chime Voice Connectors](https://docs.aws.amazon.com/chime/latest/ag/voice-connectors.html) in the _Amazon Chime Administration Guide_. - - * For API details, see [AssociatePhoneNumbersWithVoiceConnector](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/chime/associate-phone-numbers-with-voice-connector.html) in _AWS CLI Command Reference_. - - - - @@ -463,51 +402,0 @@ For more information, see [Working with Phone Numbers](https://docs.aws.amazon.c -The following code example shows how to use `create-proxy-session`. - -**AWS CLI** - - -**To create a proxy session** - -The following `create-proxy-session` example creates a proxy session with voice and SMS capabilities. - - - aws chime create-proxy-session \ - --voice-connector-id abcdef1ghij2klmno3pqr4 \ - --participant-phone-numbers "+14015550101" "+12065550100" \ - --capabilities "Voice" "SMS" - - -Output: - - - { - "ProxySession": { - "VoiceConnectorId": "abcdef1ghij2klmno3pqr4", - "ProxySessionId": "123a4bc5-67d8-901e-2f3g-h4ghjk56789l", - "Status": "Open", - "ExpiryMinutes": 60, - "Capabilities": [ - "SMS", - "Voice" - ], - "CreatedTimestamp": "2020-04-15T16:10:10.288Z", - "UpdatedTimestamp": "2020-04-15T16:10:10.288Z", - "Participants": [ - { - "PhoneNumber": "+12065550100", - "ProxyPhoneNumber": "+19135550199" - }, - { - "PhoneNumber": "+14015550101", - "ProxyPhoneNumber": "+19135550199" - } - ] - } - } - -For more information, see [Proxy Phone Sessions](https://docs.aws.amazon.com/chime/latest/dg/proxy-phone-sessions.html) in the _Amazon Chime Developer Guide_. - - * For API details, see [CreateProxySession](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/chime/create-proxy-session.html) in _AWS CLI Command Reference_. - - - - @@ -634,73 +522,0 @@ For more information, see [Preparing for Setup](https://docs.aws.amazon.com/chim -The following code example shows how to use `create-voice-connector-group`. - -**AWS CLI** - - -**To create an Amazon Chime Voice Connector group** - -The following `create-voice-connector-group` example creates an Amazon Chime Voice Connector group that includes the specified Amazon Chime Voice Connector. - - - aws chime create-voice-connector-group \ - --name myGroup \ - --voice-connector-items VoiceConnectorId=abcdef1ghij2klmno3pqr4,Priority=2 - - -Output: - - - { - "VoiceConnectorGroup": { - "VoiceConnectorGroupId": "123a456b-c7d8-90e1-fg23-4h567jkl8901", - "Name": "myGroup", - "VoiceConnectorItems": [], - "CreatedTimestamp": "2019-09-18T16:38:34.734Z", - "UpdatedTimestamp": "2019-09-18T16:38:34.734Z" - } - } - -For more information, see [Working with Amazon Chime Voice Connector Groups](https://docs.aws.amazon.com/chime/latest/ag/voice-connector-groups.html) in the _Amazon Chime Administration Guide_. - - * For API details, see [CreateVoiceConnectorGroup](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/chime/create-voice-connector-group.html) in _AWS CLI Command Reference_. - - - - -The following code example shows how to use `create-voice-connector`. - -**AWS CLI** - - -**To create an Amazon Chime Voice Connector** - -The following `create-voice-connector` example creates an Amazon Chime Voice Connector in the specified AWS Region, with encryption enabled. - - - aws chime create-voice-connector \ - --name newVoiceConnector \ - --aws-region us-west-2 \ - --require-encryption - - -Output: - - - { - "VoiceConnector": { - "VoiceConnectorId": "abcdef1ghij2klmno3pqr4", - "AwsRegion": "us-west-2", - "Name": "newVoiceConnector", - "OutboundHostName": "abcdef1ghij2klmno3pqr4.voiceconnector.chime.aws", - "RequireEncryption": true, - "CreatedTimestamp": "2019-09-18T20:34:01.352Z", - "UpdatedTimestamp": "2019-09-18T20:34:01.352Z" - } - } - -For more information, see [Working with Amazon Chime Voice Connectors](https://docs.aws.amazon.com/chime/latest/ag/voice-connectors.html) in the _Amazon Chime Administration Guide_. - - * For API details, see [CreateVoiceConnector](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/chime/create-voice-connector.html) in _AWS CLI Command Reference_. - - - - @@ -752,24 +567,0 @@ For more information, see [Working with Phone Numbers](https://docs.aws.amazon.c -The following code example shows how to use `delete-proxy-session`. - -**AWS CLI** - - -**To delete a proxy session** - -The following `delete-proxy-session` example deletes the specified proxy session.