A low-level client representing Amazon Chime SDK Meetings
The Amazon Chime SDK meetings APIs in this section allow software developers to create Amazon Chime SDK meetings, set the AWS Regions for meetings, create and manage users, and send and receive meeting notifications. For more information about the meeting APIs, see Amazon Chime SDK meetings .
client = session.create_client('chime-sdk-meetings')
These are the available methods:
Creates up to 100 attendees for an active Amazon Chime SDK meeting. For more information about the Amazon Chime SDK, see Using the Amazon Chime SDK in the Amazon Chime Developer Guide .
See also: AWS API Documentation
Request Syntax
response = client.batch_create_attendee(
MeetingId='string',
Attendees=[
{
'ExternalUserId': 'string',
'Capabilities': {
'Audio': 'SendReceive'|'Send'|'Receive'|'None',
'Video': 'SendReceive'|'Send'|'Receive'|'None',
'Content': 'SendReceive'|'Send'|'Receive'|'None'
}
},
]
)
MeetingId (string) –
[REQUIRED]
The Amazon Chime SDK ID of the meeting to which you’re adding attendees.
Attendees (list) –
[REQUIRED]
The attendee information, including attendees’ IDs and join tokens.
(dict) –
The Amazon Chime SDK attendee fields to create, used with the BatchCreateAttendee action.
ExternalUserId (string) – [REQUIRED]
The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to an identity managed by a builder application.
Capabilities (dict) –
A list of one or more capabilities.
Audio (string) – [REQUIRED]
The audio capability assigned to an attendee.
Video (string) – [REQUIRED]
The video capability assigned to an attendee.
Content (string) – [REQUIRED]
The content capability assigned to an attendee.
dict
Response Syntax
{
'Attendees': [
{
'ExternalUserId': 'string',
'AttendeeId': 'string',
'JoinToken': 'string',
'Capabilities': {
'Audio': 'SendReceive'|'Send'|'Receive'|'None',
'Video': 'SendReceive'|'Send'|'Receive'|'None',
'Content': 'SendReceive'|'Send'|'Receive'|'None'
}
},
],
'Errors': [
{
'ExternalUserId': 'string',
'ErrorCode': 'string',
'ErrorMessage': 'string'
},
]
}
Response Structure
(dict) –
Attendees (list) –
The attendee information, including attendees’ IDs and join tokens.
(dict) –
An Amazon Chime SDK meeting attendee. Includes a unique AttendeeId
and JoinToken
. The JoinToken
allows a client to authenticate and join as the specified attendee. The JoinToken
expires when the meeting ends, or when DeleteAttendee is called. After that, the attendee is unable to join the meeting.
We recommend securely transferring each JoinToken
from your server application to the client so that no other client has access to the token except for the one authorized to represent the attendee.
ExternalUserId (string) –
The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to an identity managed by a builder application.
AttendeeId (string) –
The Amazon Chime SDK attendee ID.
JoinToken (string) –
The join token used by the Amazon Chime SDK attendee.
Capabilities (dict) –
The capabilities assigned to an attendee: audio, video, or content.
Note
You use the capabilities with a set of values that control what the capabilities can do, such as SendReceive
data. For more information about those values, see .
When using capabilities, be aware of these corner cases:
You can’t set content
capabilities to SendReceive
or Receive
unless you also set video
capabilities to SendReceive
or Receive
. If you don’t set the video
capability to receive, the response will contain an HTTP 400 Bad Request status code. However, you can set your video
capability to receive and you set your content
capability to not receive.
When you change an audio
capability from None
or Receive
to Send
or SendReceive
, and if the attendee left their microphone unmuted, audio will flow from the attendee to the other meeting participants.
When you change a video
or content
capability from None
or Receive
to Send
or SendReceive
, and if the attendee turned on their video or content streams, remote attendess can receive those streams, but only after media renegotiation between the client and the Amazon Chime back-end server.
Audio (string) –
The audio capability assigned to an attendee.
Video (string) –
The video capability assigned to an attendee.
Content (string) –
The content capability assigned to an attendee.
Errors (list) –
If the action fails for one or more of the attendees in the request, a list of the attendees is returned, along with error codes and error messages.
(dict) –
The list of errors returned when errors are encountered during the BatchCreateAttendee and CreateAttendee actions. This includes external user IDs, error codes, and error messages.
ExternalUserId (string) –
The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to an identity managed by a builder application.
ErrorCode (string) –
The error code.
ErrorMessage (string) –
The error message.
Exceptions
Updates AttendeeCapabilities
except the capabilities listed in an ExcludedAttendeeIds
table.
Note
You use the capabilities with a set of values that control what the capabilities can do, such as SendReceive
data. For more information about those values, see .
When using capabilities, be aware of these corner cases:
You can’t set content
capabilities to SendReceive
or Receive
unless you also set video
capabilities to SendReceive
or Receive
. If you don’t set the video
capability to receive, the response will contain an HTTP 400 Bad Request status code. However, you can set your video
capability to receive and you set your content
capability to not receive.
When you change an audio
capability from None
or Receive
to Send
or SendReceive
, and if the attendee left their microphone unmuted, audio will flow from the attendee to the other meeting participants.
When you change a video
or content
capability from None
or Receive
to Send
or SendReceive
, and if the attendee turned on their video or content streams, remote attendess can receive those streams, but only after media renegotiation between the client and the Amazon Chime back-end server.
See also: AWS API Documentation
Request Syntax
response = client.batch_update_attendee_capabilities_except(
MeetingId='string',
ExcludedAttendeeIds=[
{
'AttendeeId': 'string'
},
],
Capabilities={
'Audio': 'SendReceive'|'Send'|'Receive'|'None',
'Video': 'SendReceive'|'Send'|'Receive'|'None',
'Content': 'SendReceive'|'Send'|'Receive'|'None'
}
)
MeetingId (string) –
[REQUIRED]
The ID of the meeting associated with the update request.
ExcludedAttendeeIds (list) –
[REQUIRED]
The AttendeeIDs
that you want to exclude from one or more capabilities.
(dict) –
A structure that contains one or more attendee IDs.
AttendeeId (string) – [REQUIRED]
A list of one or more attendee IDs.
Capabilities (dict) –
[REQUIRED]
The capabilities (audio
, video
, or content
) that you want to update.
Audio (string) – [REQUIRED]
The audio capability assigned to an attendee.
Video (string) – [REQUIRED]
The video capability assigned to an attendee.
Content (string) – [REQUIRED]
The content capability assigned to an attendee.
None
Exceptions
Check if an operation can be paginated.
operation_name (string) – The operation name. This is the same name
as the method name on the client. For example, if the
method name is create_foo
, and you’d normally invoke the
operation as client.create_foo(**kwargs)
, if the
create_foo
operation can be paginated, you can use the
call client.get_paginator("create_foo")
.
True
if the operation can be paginated,
False
otherwise.
Closes underlying endpoint connections.
Creates a new attendee for an active Amazon Chime SDK meeting. For more information about the Amazon Chime SDK, see Using the Amazon Chime SDK in the Amazon Chime Developer Guide .
See also: AWS API Documentation
Request Syntax
response = client.create_attendee(
MeetingId='string',
ExternalUserId='string',
Capabilities={
'Audio': 'SendReceive'|'Send'|'Receive'|'None',
'Video': 'SendReceive'|'Send'|'Receive'|'None',
'Content': 'SendReceive'|'Send'|'Receive'|'None'
}
)
MeetingId (string) –
[REQUIRED]
The unique ID of the meeting.
ExternalUserId (string) –
[REQUIRED]
The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to an identity managed by a builder application.
Capabilities (dict) –
The capabilities (audio
, video
, or content
) that you want to grant an attendee. If you don’t specify capabilities, all users have send and receive capabilities on all media channels by default.
Note
You use the capabilities with a set of values that control what the capabilities can do, such as SendReceive
data. For more information about those values, see .
When using capabilities, be aware of these corner cases:
You can’t set content
capabilities to SendReceive
or Receive
unless you also set video
capabilities to SendReceive
or Receive
. If you don’t set the video
capability to receive, the response will contain an HTTP 400 Bad Request status code. However, you can set your video
capability to receive and you set your content
capability to not receive.
When you change an audio
capability from None
or Receive
to Send
or SendReceive
, and if the attendee left their microphone unmuted, audio will flow from the attendee to the other meeting participants.
When you change a video
or content
capability from None
or Receive
to Send
or SendReceive
, and if the attendee turned on their video or content streams, remote attendess can receive those streams, but only after media renegotiation between the client and the Amazon Chime back-end server.
Audio (string) – [REQUIRED]
The audio capability assigned to an attendee.
Video (string) – [REQUIRED]
The video capability assigned to an attendee.
Content (string) – [REQUIRED]
The content capability assigned to an attendee.
dict
Response Syntax
{
'Attendee': {
'ExternalUserId': 'string',
'AttendeeId': 'string',
'JoinToken': 'string',
'Capabilities': {
'Audio': 'SendReceive'|'Send'|'Receive'|'None',
'Video': 'SendReceive'|'Send'|'Receive'|'None',
'Content': 'SendReceive'|'Send'|'Receive'|'None'
}
}
}
Response Structure
(dict) –
Attendee (dict) –
The attendee information, including attendee ID and join token.
ExternalUserId (string) –
The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to an identity managed by a builder application.
AttendeeId (string) –
The Amazon Chime SDK attendee ID.
JoinToken (string) –
The join token used by the Amazon Chime SDK attendee.
Capabilities (dict) –
The capabilities assigned to an attendee: audio, video, or content.
Note
You use the capabilities with a set of values that control what the capabilities can do, such as SendReceive
data. For more information about those values, see .
When using capabilities, be aware of these corner cases:
You can’t set content
capabilities to SendReceive
or Receive
unless you also set video
capabilities to SendReceive
or Receive
. If you don’t set the video
capability to receive, the response will contain an HTTP 400 Bad Request status code. However, you can set your video
capability to receive and you set your content
capability to not receive.
When you change an audio
capability from None
or Receive
to Send
or SendReceive
, and if the attendee left their microphone unmuted, audio will flow from the attendee to the other meeting participants.
When you change a video
or content
capability from None
or Receive
to Send
or SendReceive
, and if the attendee turned on their video or content streams, remote attendess can receive those streams, but only after media renegotiation between the client and the Amazon Chime back-end server.
Audio (string) –
The audio capability assigned to an attendee.
Video (string) –
The video capability assigned to an attendee.
Content (string) –
The content capability assigned to an attendee.
Exceptions
Creates a new Amazon Chime SDK meeting in the specified media Region with no initial attendees. For more information about specifying media Regions, see Amazon Chime SDK Media Regions in the Amazon Chime Developer Guide . For more information about the Amazon Chime SDK, see Using the Amazon Chime SDK in the Amazon Chime Developer Guide .
See also: AWS API Documentation
Request Syntax
response = client.create_meeting(
ClientRequestToken='string',
MediaRegion='string',
MeetingHostId='string',
ExternalMeetingId='string',
NotificationsConfiguration={
'LambdaFunctionArn': 'string',
'SnsTopicArn': 'string',
'SqsQueueArn': 'string'
},
MeetingFeatures={
'Audio': {
'EchoReduction': 'AVAILABLE'|'UNAVAILABLE'
}
},
PrimaryMeetingId='string',
TenantIds=[
'string',
],
Tags=[
{
'Key': 'string',
'Value': 'string'
},
]
)
ClientRequestToken (string) –
[REQUIRED]
The unique identifier for the client request. Use a different token for different meetings.
This field is autopopulated if not provided.
MediaRegion (string) –
[REQUIRED]
The Region in which to create the meeting.
Available values: af-south-1
, ap-northeast-1
, ap-northeast-2
, ap-south-1
, ap-southeast-1
, ap-southeast-2
, ca-central-1
, eu-central-1
, eu-north-1
, eu-south-1
, eu-west-1
, eu-west-2
, eu-west-3
, sa-east-1
, us-east-1
, us-east-2
, us-west-1
, us-west-2
.
Available values in AWS GovCloud (US) Regions: us-gov-east-1
, us-gov-west-1
.
MeetingHostId (string) – Reserved.
ExternalMeetingId (string) –
[REQUIRED]
The external meeting ID.
NotificationsConfiguration (dict) –
The configuration for resource targets to receive notifications when meeting and attendee events occur.
LambdaFunctionArn (string) –
The ARN of the AWS Lambda function in the notifications configuration.
SnsTopicArn (string) –
The ARN of the SNS topic.
SqsQueueArn (string) –
The ARN of the SQS queue.
MeetingFeatures (dict) –
Lists the audio and video features enabled for a meeting, such as echo reduction.
Audio (dict) –
The configuration settings for the audio features available to a meeting.
EchoReduction (string) –
Makes echo reduction available to clients who connect to the meeting.
PrimaryMeetingId (string) – When specified, replicates the media from the primary meeting to the new meeting.
TenantIds (list) –
A consistent and opaque identifier, created and maintained by the builder to represent a segment of their users.
(string) –
Tags (list) –
Applies one or more tags to an Amazon Chime SDK meeting. Note the following:
Not all resources have tags. For a list of services with resources that support tagging using this operation, see Services that support the Resource Groups Tagging API . If the resource doesn’t yet support this operation, the resource’s service might support tagging using its own API operations. For more information, refer to the documentation for that service.
Each resource can have up to 50 tags. For other limits, see Tag Naming and Usage Conventions in the AWS General Reference .
You can only tag resources that are located in the specified AWS Region for the AWS account.
To add tags to a resource, you need the necessary permissions for the service that the resource belongs to as well as permissions for adding tags. For more information, see the documentation for each service.
Warning
Do not store personally identifiable information (PII) or other confidential or sensitive information in tags. We use tags to provide you with billing and administration services. Tags are not intended to be used for private or sensitive data.
Minimum permissions
In addition to the tag:TagResources
permission required by this operation, you must also have the tagging permission defined by the service that created the resource. For example, to tag a ChimeSDKMeetings
instance using the TagResources
operation, you must have both of the following permissions:
tag:TagResources
ChimeSDKMeetings:CreateTags
Note
Some services might have specific requirements for tagging some resources. For example, to tag an Amazon S3 bucket, you must also have the s3:GetBucketTagging
permission. If the expected minimum permissions don’t work, check the documentation for that service’s tagging APIs for more information.
(dict) –
A key-value pair that you define.
Key (string) – [REQUIRED]
The tag’s key.
Value (string) – [REQUIRED]
The tag’s value.
dict
Response Syntax
{
'Meeting': {
'MeetingId': 'string',
'MeetingHostId': 'string',
'ExternalMeetingId': 'string',
'MediaRegion': 'string',
'MediaPlacement': {
'AudioHostUrl': 'string',
'AudioFallbackUrl': 'string',
'SignalingUrl': 'string',
'TurnControlUrl': 'string',
'ScreenDataUrl': 'string',
'ScreenViewingUrl': 'string',
'ScreenSharingUrl': 'string',
'EventIngestionUrl': 'string'
},
'MeetingFeatures': {
'Audio': {
'EchoReduction': 'AVAILABLE'|'UNAVAILABLE'
}
},
'PrimaryMeetingId': 'string',
'TenantIds': [
'string',
],
'MeetingArn': 'string'
}
}
Response Structure
(dict) –
Meeting (dict) –
The meeting information, including the meeting ID and MediaPlacement
.
MeetingId (string) –
The Amazon Chime SDK meeting ID.
MeetingHostId (string) –
Reserved.
ExternalMeetingId (string) –
The external meeting ID.
MediaRegion (string) –
The Region in which you create the meeting. Available values: af-south-1
, ap-northeast-1
, ap-northeast-2
, ap-south-1
, ap-southeast-1
, ap-southeast-2
, ca-central-1
, eu-central-1
, eu-north-1
, eu-south-1
, eu-west-1
, eu-west-2
, eu-west-3
, sa-east-1
, us-east-1
, us-east-2
, us-west-1
, us-west-2
.
Available values in AWS GovCloud (US) Regions: us-gov-east-1
, us-gov-west-1
.
MediaPlacement (dict) –
The media placement for the meeting.
AudioHostUrl (string) –
The audio host URL.
AudioFallbackUrl (string) –
The audio fallback URL.
SignalingUrl (string) –
The signaling URL.
TurnControlUrl (string) –
The turn control URL.
ScreenDataUrl (string) –
The screen data URL.
ScreenViewingUrl (string) –
The screen viewing URL.
ScreenSharingUrl (string) –
The screen sharing URL.
EventIngestionUrl (string) –
The event ingestion URL.
MeetingFeatures (dict) –
The features available to a meeting, such as Amazon Voice Focus.
Audio (dict) –
The configuration settings for the audio features available to a meeting.
EchoReduction (string) –
Makes echo reduction available to clients who connect to the meeting.
PrimaryMeetingId (string) –
When specified, replicates the media from the primary meeting to this meeting.
TenantIds (list) –
Array of strings.
(string) –
MeetingArn (string) –
The ARN of the meeting.
Exceptions
Creates a new Amazon Chime SDK meeting in the specified media Region, with attendees. For more information about specifying media Regions, see Amazon Chime SDK Media Regions in the Amazon Chime Developer Guide . For more information about the Amazon Chime SDK, see Using the Amazon Chime SDK in the Amazon Chime Developer Guide .
See also: AWS API Documentation
Request Syntax
response = client.create_meeting_with_attendees(
ClientRequestToken='string',
MediaRegion='string',
MeetingHostId='string',
ExternalMeetingId='string',
MeetingFeatures={
'Audio': {
'EchoReduction': 'AVAILABLE'|'UNAVAILABLE'
}
},
NotificationsConfiguration={
'LambdaFunctionArn': 'string',
'SnsTopicArn': 'string',
'SqsQueueArn': 'string'
},
Attendees=[
{
'ExternalUserId': 'string',
'Capabilities': {
'Audio': 'SendReceive'|'Send'|'Receive'|'None',
'Video': 'SendReceive'|'Send'|'Receive'|'None',
'Content': 'SendReceive'|'Send'|'Receive'|'None'
}
},
],
PrimaryMeetingId='string',
TenantIds=[
'string',
],
Tags=[
{
'Key': 'string',
'Value': 'string'
},
]
)
ClientRequestToken (string) –
[REQUIRED]
The unique identifier for the client request. Use a different token for different meetings.
This field is autopopulated if not provided.
MediaRegion (string) –
[REQUIRED]
The Region in which to create the meeting.
Available values: af-south-1
, ap-northeast-1
, ap-northeast-2
, ap-south-1
, ap-southeast-1
, ap-southeast-2
, ca-central-1
, eu-central-1
, eu-north-1
, eu-south-1
, eu-west-1
, eu-west-2
, eu-west-3
, sa-east-1
, us-east-1
, us-east-2
, us-west-1
, us-west-2
.
Available values in AWS GovCloud (US) Regions: us-gov-east-1
, us-gov-west-1
.
MeetingHostId (string) – Reserved.
ExternalMeetingId (string) –
[REQUIRED]
The external meeting ID.
MeetingFeatures (dict) –
Lists the audio and video features enabled for a meeting, such as echo reduction.
Audio (dict) –
The configuration settings for the audio features available to a meeting.
EchoReduction (string) –
Makes echo reduction available to clients who connect to the meeting.
NotificationsConfiguration (dict) –
The configuration for resource targets to receive notifications when meeting and attendee events occur.
LambdaFunctionArn (string) –
The ARN of the AWS Lambda function in the notifications configuration.
SnsTopicArn (string) –
The ARN of the SNS topic.
SqsQueueArn (string) –
The ARN of the SQS queue.
Attendees (list) –
[REQUIRED]
The attendee information, including attendees’ IDs and join tokens.
(dict) –
The Amazon Chime SDK attendee fields to create, used with the BatchCreateAttendee action.
ExternalUserId (string) – [REQUIRED]
The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to an identity managed by a builder application.
Capabilities (dict) –
A list of one or more capabilities.
Audio (string) – [REQUIRED]
The audio capability assigned to an attendee.
Video (string) – [REQUIRED]
The video capability assigned to an attendee.
Content (string) – [REQUIRED]
The content capability assigned to an attendee.
PrimaryMeetingId (string) – When specified, replicates the media from the primary meeting to the new meeting.
TenantIds (list) –
A consistent and opaque identifier, created and maintained by the builder to represent a segment of their users.
(string) –
Tags (list) –
The tags in the request.
(dict) –
A key-value pair that you define.
Key (string) – [REQUIRED]
The tag’s key.
Value (string) – [REQUIRED]
The tag’s value.
dict
Response Syntax
{
'Meeting': {
'MeetingId': 'string',
'MeetingHostId': 'string',
'ExternalMeetingId': 'string',
'MediaRegion': 'string',
'MediaPlacement': {
'AudioHostUrl': 'string',
'AudioFallbackUrl': 'string',
'SignalingUrl': 'string',
'TurnControlUrl': 'string',
'ScreenDataUrl': 'string',
'ScreenViewingUrl': 'string',
'ScreenSharingUrl': 'string',
'EventIngestionUrl': 'string'
},
'MeetingFeatures': {
'Audio': {
'EchoReduction': 'AVAILABLE'|'UNAVAILABLE'
}
},
'PrimaryMeetingId': 'string',
'TenantIds': [
'string',
],
'MeetingArn': 'string'
},
'Attendees': [
{
'ExternalUserId': 'string',
'AttendeeId': 'string',
'JoinToken': 'string',
'Capabilities': {
'Audio': 'SendReceive'|'Send'|'Receive'|'None',
'Video': 'SendReceive'|'Send'|'Receive'|'None',
'Content': 'SendReceive'|'Send'|'Receive'|'None'
}
},
],
'Errors': [
{
'ExternalUserId': 'string',
'ErrorCode': 'string',
'ErrorMessage': 'string'
},
]
}
Response Structure
(dict) –
Meeting (dict) –
The meeting information, including the meeting ID and MediaPlacement
.
MeetingId (string) –
The Amazon Chime SDK meeting ID.
MeetingHostId (string) –
Reserved.
ExternalMeetingId (string) –
The external meeting ID.
MediaRegion (string) –
The Region in which you create the meeting. Available values: af-south-1
, ap-northeast-1
, ap-northeast-2
, ap-south-1
, ap-southeast-1
, ap-southeast-2
, ca-central-1
, eu-central-1
, eu-north-1
, eu-south-1
, eu-west-1
, eu-west-2
, eu-west-3
, sa-east-1
, us-east-1
, us-east-2
, us-west-1
, us-west-2
.
Available values in AWS GovCloud (US) Regions: us-gov-east-1
, us-gov-west-1
.
MediaPlacement (dict) –
The media placement for the meeting.
AudioHostUrl (string) –
The audio host URL.
AudioFallbackUrl (string) –
The audio fallback URL.
SignalingUrl (string) –
The signaling URL.
TurnControlUrl (string) –
The turn control URL.
ScreenDataUrl (string) –
The screen data URL.
ScreenViewingUrl (string) –
The screen viewing URL.
ScreenSharingUrl (string) –
The screen sharing URL.
EventIngestionUrl (string) –
The event ingestion URL.
MeetingFeatures (dict) –
The features available to a meeting, such as Amazon Voice Focus.
Audio (dict) –
The configuration settings for the audio features available to a meeting.
EchoReduction (string) –
Makes echo reduction available to clients who connect to the meeting.
PrimaryMeetingId (string) –
When specified, replicates the media from the primary meeting to this meeting.
TenantIds (list) –
Array of strings.
(string) –
MeetingArn (string) –
The ARN of the meeting.
Attendees (list) –
The attendee information, including attendees’ IDs and join tokens.
(dict) –
An Amazon Chime SDK meeting attendee. Includes a unique AttendeeId
and JoinToken
. The JoinToken
allows a client to authenticate and join as the specified attendee. The JoinToken
expires when the meeting ends, or when DeleteAttendee is called. After that, the attendee is unable to join the meeting.
We recommend securely transferring each JoinToken
from your server application to the client so that no other client has access to the token except for the one authorized to represent the attendee.
ExternalUserId (string) –
The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to an identity managed by a builder application.
AttendeeId (string) –
The Amazon Chime SDK attendee ID.
JoinToken (string) –
The join token used by the Amazon Chime SDK attendee.
Capabilities (dict) –
The capabilities assigned to an attendee: audio, video, or content.
Note
You use the capabilities with a set of values that control what the capabilities can do, such as SendReceive
data. For more information about those values, see .
When using capabilities, be aware of these corner cases:
You can’t set content
capabilities to SendReceive
or Receive
unless you also set video
capabilities to SendReceive
or Receive
. If you don’t set the video
capability to receive, the response will contain an HTTP 400 Bad Request status code. However, you can set your video
capability to receive and you set your content
capability to not receive.
When you change an audio
capability from None
or Receive
to Send
or SendReceive
, and if the attendee left their microphone unmuted, audio will flow from the attendee to the other meeting participants.
When you change a video
or content
capability from None
or Receive
to Send
or SendReceive
, and if the attendee turned on their video or content streams, remote attendess can receive those streams, but only after media renegotiation between the client and the Amazon Chime back-end server.
Audio (string) –
The audio capability assigned to an attendee.
Video (string) –
The video capability assigned to an attendee.
Content (string) –
The content capability assigned to an attendee.
Errors (list) –
If the action fails for one or more of the attendees in the request, a list of the attendees is returned, along with error codes and error messages.
(dict) –
The list of errors returned when errors are encountered during the BatchCreateAttendee and CreateAttendee actions. This includes external user IDs, error codes, and error messages.
ExternalUserId (string) –
The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to an identity managed by a builder application.
ErrorCode (string) –
The error code.
ErrorMessage (string) –
The error message.
Exceptions
Deletes an attendee from the specified Amazon Chime SDK meeting and deletes their JoinToken
. Attendees are automatically deleted when a Amazon Chime SDK meeting is deleted. For more information about the Amazon Chime SDK, see Using the Amazon Chime SDK in the Amazon Chime Developer Guide .
See also: AWS API Documentation
Request Syntax
response = client.delete_attendee(
MeetingId='string',
AttendeeId='string'
)
MeetingId (string) –
[REQUIRED]
The Amazon Chime SDK meeting ID.
AttendeeId (string) –
[REQUIRED]
The Amazon Chime SDK attendee ID.
None
Exceptions
Deletes the specified Amazon Chime SDK meeting. The operation deletes all attendees, disconnects all clients, and prevents new clients from joining the meeting. For more information about the Amazon Chime SDK, see Using the Amazon Chime SDK in the Amazon Chime Developer Guide .
See also: AWS API Documentation
Request Syntax
response = client.delete_meeting(
MeetingId='string'
)
MeetingId (string) –
[REQUIRED]
The Amazon Chime SDK meeting ID.
None
Exceptions
Gets the Amazon Chime SDK attendee details for a specified meeting ID and attendee ID. For more information about the Amazon Chime SDK, see Using the Amazon Chime SDK in the Amazon Chime Developer Guide .
See also: AWS API Documentation
Request Syntax
response = client.get_attendee(
MeetingId='string',
AttendeeId='string'
)
MeetingId (string) –
[REQUIRED]
The Amazon Chime SDK meeting ID.
AttendeeId (string) –
[REQUIRED]
The Amazon Chime SDK attendee ID.
dict
Response Syntax
{
'Attendee': {
'ExternalUserId': 'string',
'AttendeeId': 'string',
'JoinToken': 'string',
'Capabilities': {
'Audio': 'SendReceive'|'Send'|'Receive'|'None',
'Video': 'SendReceive'|'Send'|'Receive'|'None',
'Content': 'SendReceive'|'Send'|'Receive'|'None'
}
}
}
Response Structure
(dict) –
Attendee (dict) –
The Amazon Chime SDK attendee information.
ExternalUserId (string) –
The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to an identity managed by a builder application.
AttendeeId (string) –
The Amazon Chime SDK attendee ID.
JoinToken (string) –
The join token used by the Amazon Chime SDK attendee.
Capabilities (dict) –
The capabilities assigned to an attendee: audio, video, or content.
Note
You use the capabilities with a set of values that control what the capabilities can do, such as SendReceive
data. For more information about those values, see .
When using capabilities, be aware of these corner cases:
You can’t set content
capabilities to SendReceive
or Receive
unless you also set video
capabilities to SendReceive
or Receive
. If you don’t set the video
capability to receive, the response will contain an HTTP 400 Bad Request status code. However, you can set your video
capability to receive and you set your content
capability to not receive.
When you change an audio
capability from None
or Receive
to Send
or SendReceive
, and if the attendee left their microphone unmuted, audio will flow from the attendee to the other meeting participants.
When you change a video
or content
capability from None
or Receive
to Send
or SendReceive
, and if the attendee turned on their video or content streams, remote attendess can receive those streams, but only after media renegotiation between the client and the Amazon Chime back-end server.
Audio (string) –
The audio capability assigned to an attendee.
Video (string) –
The video capability assigned to an attendee.
Content (string) –
The content capability assigned to an attendee.
Exceptions
Gets the Amazon Chime SDK meeting details for the specified meeting ID. For more information about the Amazon Chime SDK, see Using the Amazon Chime SDK in the Amazon Chime Developer Guide .
See also: AWS API Documentation
Request Syntax
response = client.get_meeting(
MeetingId='string'
)
MeetingId (string) –
[REQUIRED]
The Amazon Chime SDK meeting ID.
dict
Response Syntax
{
'Meeting': {
'MeetingId': 'string',
'MeetingHostId': 'string',
'ExternalMeetingId': 'string',
'MediaRegion': 'string',
'MediaPlacement': {
'AudioHostUrl': 'string',
'AudioFallbackUrl': 'string',
'SignalingUrl': 'string',
'TurnControlUrl': 'string',
'ScreenDataUrl': 'string',
'ScreenViewingUrl': 'string',
'ScreenSharingUrl': 'string',
'EventIngestionUrl': 'string'
},
'MeetingFeatures': {
'Audio': {
'EchoReduction': 'AVAILABLE'|'UNAVAILABLE'
}
},
'PrimaryMeetingId': 'string',
'TenantIds': [
'string',
],
'MeetingArn': 'string'
}
}
Response Structure
(dict) –
Meeting (dict) –
The Amazon Chime SDK meeting information.
MeetingId (string) –
The Amazon Chime SDK meeting ID.
MeetingHostId (string) –
Reserved.
ExternalMeetingId (string) –
The external meeting ID.
MediaRegion (string) –
The Region in which you create the meeting. Available values: af-south-1
, ap-northeast-1
, ap-northeast-2
, ap-south-1
, ap-southeast-1
, ap-southeast-2
, ca-central-1
, eu-central-1
, eu-north-1
, eu-south-1
, eu-west-1
, eu-west-2
, eu-west-3
, sa-east-1
, us-east-1
, us-east-2
, us-west-1
, us-west-2
.
Available values in AWS GovCloud (US) Regions: us-gov-east-1
, us-gov-west-1
.
MediaPlacement (dict) –
The media placement for the meeting.
AudioHostUrl (string) –
The audio host URL.
AudioFallbackUrl (string) –
The audio fallback URL.
SignalingUrl (string) –
The signaling URL.
TurnControlUrl (string) –
The turn control URL.
ScreenDataUrl (string) –
The screen data URL.
ScreenViewingUrl (string) –
The screen viewing URL.
ScreenSharingUrl (string) –
The screen sharing URL.
EventIngestionUrl (string) –
The event ingestion URL.
MeetingFeatures (dict) –
The features available to a meeting, such as Amazon Voice Focus.
Audio (dict) –
The configuration settings for the audio features available to a meeting.
EchoReduction (string) –
Makes echo reduction available to clients who connect to the meeting.
PrimaryMeetingId (string) –
When specified, replicates the media from the primary meeting to this meeting.
TenantIds (list) –
Array of strings.
(string) –
MeetingArn (string) –
The ARN of the meeting.
Exceptions
Create a paginator for an operation.
operation_name (string) – The operation name. This is the same name
as the method name on the client. For example, if the
method name is create_foo
, and you’d normally invoke the
operation as client.create_foo(**kwargs)
, if the
create_foo
operation can be paginated, you can use the
call client.get_paginator("create_foo")
.
OperationNotPageableError – Raised if the operation is not
pageable. You can use the client.can_paginate
method to
check if an operation is pageable.
L{botocore.paginate.Paginator}
A paginator object.
Returns an object that can wait for some condition.
waiter_name (str) – The name of the waiter to get. See the waiters section of the service docs for a list of available waiters.
The specified waiter object.
botocore.waiter.Waiter
Lists the attendees for the specified Amazon Chime SDK meeting. For more information about the Amazon Chime SDK, see Using the Amazon Chime SDK in the Amazon Chime Developer Guide .
See also: AWS API Documentation
Request Syntax
response = client.list_attendees(
MeetingId='string',
NextToken='string',
MaxResults=123
)
MeetingId (string) –
[REQUIRED]
The Amazon Chime SDK meeting ID.
NextToken (string) – The token to use to retrieve the next page of results.
MaxResults (integer) – The maximum number of results to return in a single call.
dict
Response Syntax
{
'Attendees': [
{
'ExternalUserId': 'string',
'AttendeeId': 'string',
'JoinToken': 'string',
'Capabilities': {
'Audio': 'SendReceive'|'Send'|'Receive'|'None',
'Video': 'SendReceive'|'Send'|'Receive'|'None',
'Content': 'SendReceive'|'Send'|'Receive'|'None'
}
},
],
'NextToken': 'string'
}
Response Structure
(dict) –
Attendees (list) –
The Amazon Chime SDK attendee information.
(dict) –
An Amazon Chime SDK meeting attendee. Includes a unique AttendeeId
and JoinToken
. The JoinToken
allows a client to authenticate and join as the specified attendee. The JoinToken
expires when the meeting ends, or when DeleteAttendee is called. After that, the attendee is unable to join the meeting.
We recommend securely transferring each JoinToken
from your server application to the client so that no other client has access to the token except for the one authorized to represent the attendee.
ExternalUserId (string) –
The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to an identity managed by a builder application.
AttendeeId (string) –
The Amazon Chime SDK attendee ID.
JoinToken (string) –
The join token used by the Amazon Chime SDK attendee.
Capabilities (dict) –
The capabilities assigned to an attendee: audio, video, or content.
Note
You use the capabilities with a set of values that control what the capabilities can do, such as SendReceive
data. For more information about those values, see .
When using capabilities, be aware of these corner cases:
You can’t set content
capabilities to SendReceive
or Receive
unless you also set video
capabilities to SendReceive
or Receive
. If you don’t set the video
capability to receive, the response will contain an HTTP 400 Bad Request status code. However, you can set your video
capability to receive and you set your content
capability to not receive.
When you change an audio
capability from None
or Receive
to Send
or SendReceive
, and if the attendee left their microphone unmuted, audio will flow from the attendee to the other meeting participants.
When you change a video
or content
capability from None
or Receive
to Send
or SendReceive
, and if the attendee turned on their video or content streams, remote attendess can receive those streams, but only after media renegotiation between the client and the Amazon Chime back-end server.
Audio (string) –
The audio capability assigned to an attendee.
Video (string) –
The video capability assigned to an attendee.
Content (string) –
The content capability assigned to an attendee.
NextToken (string) –
The token to use to retrieve the next page of results.
Exceptions
Returns a list of the tags available for the specified resource.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource(
ResourceARN='string'
)
ResourceARN (string) –
[REQUIRED]
The ARN of the resource.
dict
Response Syntax
{
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
}
Response Structure
(dict) –
Tags (list) –
The tags requested for the specified resource.
(dict) –
A key-value pair that you define.
Key (string) –
The tag’s key.
Value (string) –
The tag’s value.
Exceptions
Starts transcription for the specified meetingId
.
See also: AWS API Documentation
Request Syntax
response = client.start_meeting_transcription(
MeetingId='string',
TranscriptionConfiguration={
'EngineTranscribeSettings': {
'LanguageCode': 'en-US'|'en-GB'|'es-US'|'fr-CA'|'fr-FR'|'en-AU'|'it-IT'|'de-DE'|'pt-BR'|'ja-JP'|'ko-KR'|'zh-CN',
'VocabularyFilterMethod': 'remove'|'mask'|'tag',
'VocabularyFilterName': 'string',
'VocabularyName': 'string',
'Region': 'us-east-2'|'us-east-1'|'us-west-2'|'ap-northeast-2'|'ap-southeast-2'|'ap-northeast-1'|'ca-central-1'|'eu-central-1'|'eu-west-1'|'eu-west-2'|'sa-east-1'|'auto'|'us-gov-west-1',
'EnablePartialResultsStabilization': True|False,
'PartialResultsStability': 'low'|'medium'|'high',
'ContentIdentificationType': 'PII',
'ContentRedactionType': 'PII',
'PiiEntityTypes': 'string',
'LanguageModelName': 'string',
'IdentifyLanguage': True|False,
'LanguageOptions': 'string',
'PreferredLanguage': 'en-US'|'en-GB'|'es-US'|'fr-CA'|'fr-FR'|'en-AU'|'it-IT'|'de-DE'|'pt-BR'|'ja-JP'|'ko-KR'|'zh-CN'
},
'EngineTranscribeMedicalSettings': {
'LanguageCode': 'en-US',
'Specialty': 'PRIMARYCARE'|'CARDIOLOGY'|'NEUROLOGY'|'ONCOLOGY'|'RADIOLOGY'|'UROLOGY',
'Type': 'CONVERSATION'|'DICTATION',
'VocabularyName': 'string',
'Region': 'us-east-1'|'us-east-2'|'us-west-2'|'ap-southeast-2'|'ca-central-1'|'eu-west-1'|'auto',
'ContentIdentificationType': 'PHI'
}
}
)
MeetingId (string) –
[REQUIRED]
The unique ID of the meeting being transcribed.
TranscriptionConfiguration (dict) –
[REQUIRED]
The configuration for the current transcription operation. Must contain EngineTranscribeSettings
or EngineTranscribeMedicalSettings
.
EngineTranscribeSettings (dict) –
The transcription configuration settings passed to Amazon Transcribe.
LanguageCode (string) –
The language code specified for the Amazon Transcribe engine.
VocabularyFilterMethod (string) –
The filtering method passed to Amazon Transcribe.
VocabularyFilterName (string) –
The name of the vocabulary filter passed to Amazon Transcribe.
VocabularyName (string) –
The name of the vocabulary passed to Amazon Transcribe.
Region (string) –
The AWS Region passed to Amazon Transcribe. If you don’t specify a Region, Amazon Chime uses the meeting’s Region.
EnablePartialResultsStabilization (boolean) –
Generates partial transcription results that are less likely to change as meeting attendees speak. It does so by only allowing the last few words from the partial results to change.
PartialResultsStability (string) –
The stabity level of a partial results transcription. Determines how stable you want the transcription results to be. A higher level means the transcription results are less likely to change.
ContentIdentificationType (string) –
Set this field to PII
to identify personally identifiable information in the transcription output.
ContentRedactionType (string) –
Set this field to PII
to redact personally identifiable information in the transcription output. Content redaction is performed only upon complete transcription of the audio segments.
You can’t set ContentRedactionType
and ContentIdentificationType
in the same request. If you set both, your request returns a BadRequestException
.
PiiEntityTypes (string) –
Lists the PII entity types you want to identify or redact. To specify entity types, you must enable ContentIdentificationType
or ContentRedactionType
.
PIIEntityTypes
must be comma-separated. The available values are:BANK_ACCOUNT_NUMBER
,BANK_ROUTING, CREDIT_DEBIT_NUMBER
,CREDIT_DEBIT_CVV
,CREDIT_DEBIT_EXPIRY
,PIN
,ADDRESS
,NAME
,PHONE
,SSN
, andALL
.
PiiEntityTypes
is an optional parameter with a default value ofALL
.
LanguageModelName (string) –
The name of the language model used during transcription.
IdentifyLanguage (boolean) –
Automatically identifies the language spoken in media files.
LanguageOptions (string) –
Language codes for the languages that you want to identify. You must provide at least 2 codes.
PreferredLanguage (string) –
Language code for the preferred language.
EngineTranscribeMedicalSettings (dict) –
The transcription configuration settings passed to Amazon Transcribe Medical.
LanguageCode (string) – [REQUIRED]
The language code specified for the Amazon Transcribe Medical engine.
Specialty (string) – [REQUIRED]
The specialty specified for the Amazon Transcribe Medical engine.
Type (string) – [REQUIRED]
The type of transcription.
VocabularyName (string) –
The name of the vocabulary passed to Amazon Transcribe Medical.
Region (string) –
The AWS Region passed to Amazon Transcribe Medical. If you don’t specify a Region, Amazon Chime uses the meeting’s Region.
ContentIdentificationType (string) –
Set this field to PHI
to identify personal health information in the transcription output.
None
Exceptions
Stops transcription for the specified meetingId
.
See also: AWS API Documentation
Request Syntax
response = client.stop_meeting_transcription(
MeetingId='string'
)
MeetingId (string) –
[REQUIRED]
The unique ID of the meeting for which you stop transcription.
None
Exceptions
The resource that supports tags.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource(
ResourceARN='string',
Tags=[
{
'Key': 'string',
'Value': 'string'
},
]
)
ResourceARN (string) –
[REQUIRED]
The ARN of the resource.
Tags (list) –
[REQUIRED]
Lists the requested tags.
(dict) –
A key-value pair that you define.
Key (string) – [REQUIRED]
The tag’s key.
Value (string) – [REQUIRED]
The tag’s value.
dict
Response Syntax
{}
Response Structure
(dict) –
Exceptions
Removes the specified tags from the specified resources. When you specify a tag key, the action removes both that key and its associated value. The operation succeeds even if you attempt to remove tags from a resource that were already removed. Note the following:
To remove tags from a resource, you need the necessary permissions for the service that the resource belongs to as well as permissions for removing tags. For more information, see the documentation for the service whose resource you want to untag.
You can only tag resources that are located in the specified AWS Region for the calling AWS account.
Minimum permissions
In addition to the tag:UntagResources
permission required by this operation, you must also have the remove tags permission defined by the service that created the resource. For example, to remove the tags from an Amazon EC2 instance using the UntagResources
operation, you must have both of the following permissions:
tag:UntagResource
ChimeSDKMeetings:DeleteTags
See also: AWS API Documentation
Request Syntax
response = client.untag_resource(
ResourceARN='string',
TagKeys=[
'string',
]
)
ResourceARN (string) –
[REQUIRED]
The ARN of the resource that you’re removing tags from.
TagKeys (list) –
[REQUIRED]
The tag keys being removed from the resources.
(string) –
dict
Response Syntax
{}
Response Structure
(dict) –
Exceptions
The capabilties that you want to update.
Note
You use the capabilities with a set of values that control what the capabilities can do, such as SendReceive
data. For more information about those values, see .
When using capabilities, be aware of these corner cases:
You can’t set content
capabilities to SendReceive
or Receive
unless you also set video
capabilities to SendReceive
or Receive
. If you don’t set the video
capability to receive, the response will contain an HTTP 400 Bad Request status code. However, you can set your video
capability to receive and you set your content
capability to not receive.
When you change an audio
capability from None
or Receive
to Send
or SendReceive
, and if the attendee left their microphone unmuted, audio will flow from the attendee to the other meeting participants.
When you change a video
or content
capability from None
or Receive
to Send
or SendReceive
, and if the attendee turned on their video or content streams, remote attendess can receive those streams, but only after media renegotiation between the client and the Amazon Chime back-end server.
See also: AWS API Documentation
Request Syntax
response = client.update_attendee_capabilities(
MeetingId='string',
AttendeeId='string',
Capabilities={
'Audio': 'SendReceive'|'Send'|'Receive'|'None',
'Video': 'SendReceive'|'Send'|'Receive'|'None',
'Content': 'SendReceive'|'Send'|'Receive'|'None'
}
)
MeetingId (string) –
[REQUIRED]
The ID of the meeting associated with the update request.
AttendeeId (string) –
[REQUIRED]
The ID of the attendee associated with the update request.
Capabilities (dict) –
[REQUIRED]
The capabilties that you want to update.
Audio (string) – [REQUIRED]
The audio capability assigned to an attendee.
Video (string) – [REQUIRED]
The video capability assigned to an attendee.
Content (string) – [REQUIRED]
The content capability assigned to an attendee.
dict
Response Syntax
{
'Attendee': {
'ExternalUserId': 'string',
'AttendeeId': 'string',
'JoinToken': 'string',
'Capabilities': {
'Audio': 'SendReceive'|'Send'|'Receive'|'None',
'Video': 'SendReceive'|'Send'|'Receive'|'None',
'Content': 'SendReceive'|'Send'|'Receive'|'None'
}
}
}
Response Structure
(dict) –
Attendee (dict) –
The updated attendee data.
ExternalUserId (string) –
The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to an identity managed by a builder application.
AttendeeId (string) –
The Amazon Chime SDK attendee ID.
JoinToken (string) –
The join token used by the Amazon Chime SDK attendee.
Capabilities (dict) –
The capabilities assigned to an attendee: audio, video, or content.
Note
You use the capabilities with a set of values that control what the capabilities can do, such as SendReceive
data. For more information about those values, see .
When using capabilities, be aware of these corner cases:
You can’t set content
capabilities to SendReceive
or Receive
unless you also set video
capabilities to SendReceive
or Receive
. If you don’t set the video
capability to receive, the response will contain an HTTP 400 Bad Request status code. However, you can set your video
capability to receive and you set your content
capability to not receive.
When you change an audio
capability from None
or Receive
to Send
or SendReceive
, and if the attendee left their microphone unmuted, audio will flow from the attendee to the other meeting participants.
When you change a video
or content
capability from None
or Receive
to Send
or SendReceive
, and if the attendee turned on their video or content streams, remote attendess can receive those streams, but only after media renegotiation between the client and the Amazon Chime back-end server.
Audio (string) –
The audio capability assigned to an attendee.
Video (string) –
The video capability assigned to an attendee.
Content (string) –
The content capability assigned to an attendee.
Exceptions
Client exceptions are available on a client instance via the exceptions
property. For more detailed instructions and examples on the exact usage of client exceptions, see the error handling user guide.
The available client exceptions are:
ChimeSDKMeetings.Client.exceptions.ResourceNotFoundException
ChimeSDKMeetings.Client.exceptions.ServiceUnavailableException
ChimeSDKMeetings.Client.exceptions.UnprocessableEntityException
The input parameters don’t match the service’s restrictions.
Example
try:
...
except client.exceptions.BadRequestException as e:
print(e.response)
The parsed error response. All exceptions have a top level Error
key that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.
Syntax
{
'Code': 'string',
'Message': 'string',
'RequestId': 'string',
'Error': {
'Code': 'string',
'Message': 'string'
}
}
Structure
(dict) –
The input parameters don’t match the service’s restrictions.
Code (string) –
Message (string) –
RequestId (string) –
The request id associated with the call responsible for the exception.
Error (dict) – Normalized access to common exception attributes.
Code (string) – An identifier specifying the exception type.
Message (string) – A descriptive message explaining why the exception occured.
Multiple instances of the same request have been made simultaneously.
Example
try:
...
except client.exceptions.ConflictException as e:
print(e.response)
The parsed error response. All exceptions have a top level Error
key that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.
Syntax
{
'Code': 'string',
'Message': 'string',
'RequestId': 'string',
'Error': {
'Code': 'string',
'Message': 'string'
}
}
Structure
(dict) –
Multiple instances of the same request have been made simultaneously.
Code (string) –
Message (string) –
RequestId (string) –
The ID of the request involved in the conflict.
Error (dict) – Normalized access to common exception attributes.
Code (string) – An identifier specifying the exception type.
Message (string) – A descriptive message explaining why the exception occured.
The client is permanently forbidden from making the request.
Example
try:
...
except client.exceptions.ForbiddenException as e:
print(e.response)
The parsed error response. All exceptions have a top level Error
key that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.
Syntax
{
'Code': 'string',
'Message': 'string',
'RequestId': 'string',
'Error': {
'Code': 'string',
'Message': 'string'
}
}
Structure
(dict) –
The client is permanently forbidden from making the request.
Code (string) –
Message (string) –
RequestId (string) –
The request id associated with the call responsible for the exception.
Error (dict) – Normalized access to common exception attributes.
Code (string) – An identifier specifying the exception type.
Message (string) – A descriptive message explaining why the exception occured.
The request exceeds the resource limit.
Example
try:
...
except client.exceptions.LimitExceededException as e:
print(e.response)
The parsed error response. All exceptions have a top level Error
key that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.
Syntax
{
'Code': 'string',
'Message': 'string',
'RequestId': 'string',
'Error': {
'Code': 'string',
'Message': 'string'
}
}
Structure
(dict) –
The request exceeds the resource limit.
Code (string) –
Message (string) –
RequestId (string) –
The request id associated with the call responsible for the exception.
Error (dict) – Normalized access to common exception attributes.
Code (string) – An identifier specifying the exception type.
Message (string) – A descriptive message explaining why the exception occured.
One or more of the resources in the request does not exist in the system.
Example
try:
...
except client.exceptions.NotFoundException as e:
print(e.response)
The parsed error response. All exceptions have a top level Error
key that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.
Syntax
{
'Code': 'string',
'Message': 'string',
'RequestId': 'string',
'Error': {
'Code': 'string',
'Message': 'string'
}
}
Structure
(dict) –
One or more of the resources in the request does not exist in the system.
Code (string) –
Message (string) –
RequestId (string) –
The request ID associated with the call responsible for the exception.
Error (dict) – Normalized access to common exception attributes.
Code (string) – An identifier specifying the exception type.
Message (string) – A descriptive message explaining why the exception occured.
The resource that you want to tag couldn’t be found.
Example
try:
...
except client.exceptions.ResourceNotFoundException as e:
print(e.response)
The parsed error response. All exceptions have a top level Error
key that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.
Syntax
{
'Code': 'string',
'Message': 'string',
'RequestId': 'string',
'ResourceName': 'string',
'Error': {
'Code': 'string',
'Message': 'string'
}
}
Structure
(dict) –
The resource that you want to tag couldn’t be found.
Code (string) –
Message (string) –
RequestId (string) –
The ID of the resource that couldn’t be found.
ResourceName (string) –
The name of the resource that couldn’t be found.
Error (dict) – Normalized access to common exception attributes.
Code (string) – An identifier specifying the exception type.
Message (string) – A descriptive message explaining why the exception occured.
The service encountered an unexpected error.
Example
try:
...
except client.exceptions.ServiceFailureException as e:
print(e.response)
The parsed error response. All exceptions have a top level Error
key that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.
Syntax
{
'Code': 'string',
'Message': 'string',
'RequestId': 'string',
'Error': {
'Code': 'string',
'Message': 'string'
}
}
Structure
(dict) –
The service encountered an unexpected error.
Code (string) –
Message (string) –
RequestId (string) –
The ID of the failed request.
Error (dict) – Normalized access to common exception attributes.
Code (string) – An identifier specifying the exception type.
Message (string) – A descriptive message explaining why the exception occured.
The service is currently unavailable.
Example
try:
...
except client.exceptions.ServiceUnavailableException as e:
print(e.response)
The parsed error response. All exceptions have a top level Error
key that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.
Syntax
{
'Code': 'string',
'Message': 'string',
'RequestId': 'string',
'RetryAfterSeconds': 'string',
'Error': {
'Code': 'string',
'Message': 'string'
}
}
Structure
(dict) –
The service is currently unavailable.
Code (string) –
Message (string) –
RequestId (string) –
The request id associated with the call responsible for the exception.
RetryAfterSeconds (string) –
The number of seconds the caller should wait before retrying.
Error (dict) – Normalized access to common exception attributes.
Code (string) – An identifier specifying the exception type.
Message (string) – A descriptive message explaining why the exception occured.
The number of customer requests exceeds the request rate limit.
Example
try:
...
except client.exceptions.ThrottlingException as e:
print(e.response)
The parsed error response. All exceptions have a top level Error
key that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.
Syntax
{
'Code': 'string',
'Message': 'string',
'RequestId': 'string',
'Error': {
'Code': 'string',
'Message': 'string'
}
}
Structure
(dict) –
The number of customer requests exceeds the request rate limit.
Code (string) –
Message (string) –
RequestId (string) –
The ID of the request that exceeded the throttling limit.
Error (dict) – Normalized access to common exception attributes.
Code (string) – An identifier specifying the exception type.
Message (string) – A descriptive message explaining why the exception occured.
Too many tags were added to the specified resource.
Example
try:
...
except client.exceptions.TooManyTagsException as e:
print(e.response)
The parsed error response. All exceptions have a top level Error
key that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.
Syntax
{
'Code': 'string',
'Message': 'string',
'RequestId': 'string',
'ResourceName': 'string',
'Error': {
'Code': 'string',
'Message': 'string'
}
}
Structure
(dict) –
Too many tags were added to the specified resource.
Code (string) –
Message (string) –
RequestId (string) –
The ID of the request that contains too many tags.
ResourceName (string) –
The name of the resource that received too many tags.
Error (dict) – Normalized access to common exception attributes.
Code (string) – An identifier specifying the exception type.
Message (string) – A descriptive message explaining why the exception occured.
The user isn’t authorized to request a resource.
Example
try:
...
except client.exceptions.UnauthorizedException as e:
print(e.response)
The parsed error response. All exceptions have a top level Error
key that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.
Syntax
{
'Code': 'string',
'Message': 'string',
'RequestId': 'string',
'Error': {
'Code': 'string',
'Message': 'string'
}
}
Structure
(dict) –
The user isn’t authorized to request a resource.
Code (string) –
Message (string) –
RequestId (string) –
The request id associated with the call responsible for the exception.
Error (dict) – Normalized access to common exception attributes.
Code (string) – An identifier specifying the exception type.
Message (string) – A descriptive message explaining why the exception occured.
The request was well-formed but was unable to be followed due to semantic errors.
Example
try:
...
except client.exceptions.UnprocessableEntityException as e:
print(e.response)
The parsed error response. All exceptions have a top level Error
key that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.
Syntax
{
'Code': 'string',
'Message': 'string',
'RequestId': 'string',
'Error': {
'Code': 'string',
'Message': 'string'
}
}
Structure
(dict) –
The request was well-formed but was unable to be followed due to semantic errors.
Code (string) –
Message (string) –
RequestId (string) –
The request id associated with the call responsible for the exception.
Error (dict) – Normalized access to common exception attributes.
Code (string) – An identifier specifying the exception type.
Message (string) – A descriptive message explaining why the exception occured.
The available paginators are: