2021/08/06 - Amazon Connect Service - 7 new api methods
Changes This release adds support for agent status and hours of operation. For details, see the Release Notes in the Amazon Connect Administrator Guide.
This API is in preview release for Amazon Connect and is subject to change.
Lists agent statuses.
See also: AWS API Documentation
Request Syntax
client.list_agent_statuses( InstanceId='string', NextToken='string', MaxResults=123, AgentStatusTypes=[ 'ROUTABLE'|'CUSTOM'|'OFFLINE', ] )
string
[REQUIRED]
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
integer
The maximum number of results to return per page.
list
Available agent status types.
(string) --
dict
Response Syntax
{ 'NextToken': 'string', 'AgentStatusSummaryList': [ { 'Id': 'string', 'Arn': 'string', 'Name': 'string', 'Type': 'ROUTABLE'|'CUSTOM'|'OFFLINE' }, ] }
Response Structure
(dict) --
NextToken (string) --
If there are additional results, this is the token for the next set of results.
AgentStatusSummaryList (list) --
A summary of agent statuses.
(dict) --
Summary information for an agent status.
Id (string) --
The identifier for an agent status.
Arn (string) --
The Amazon Resource Name (ARN) for the agent status.
Name (string) --
The name of the agent status.
Type (string) --
The type of the agent status.
This API is in preview release for Amazon Connect and is subject to change.
Creates an agent status for the specified Amazon Connect instance.
See also: AWS API Documentation
Request Syntax
client.create_agent_status( InstanceId='string', Name='string', Description='string', State='ENABLED'|'DISABLED', DisplayOrder=123, Tags={ 'string': 'string' } )
string
[REQUIRED]
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
string
[REQUIRED]
The name of the status.
string
The description of the status.
string
[REQUIRED]
The state of the status.
integer
The display order of the status.
dict
One or more tags.
(string) --
(string) --
dict
Response Syntax
{ 'AgentStatusARN': 'string', 'AgentStatusId': 'string' }
Response Structure
(dict) --
AgentStatusARN (string) --
The Amazon Resource Name (ARN) of the agent status.
AgentStatusId (string) --
The identifier of the agent status.
This API is in preview release for Amazon Connect and is subject to change.
Deletes an hours of operation.
See also: AWS API Documentation
Request Syntax
client.delete_hours_of_operation( InstanceId='string', HoursOfOperationId='string' )
string
[REQUIRED]
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
string
[REQUIRED]
The identifier for the hours of operation.
None
This API is in preview release for Amazon Connect and is subject to change.
Describes an agent status.
See also: AWS API Documentation
Request Syntax
client.describe_agent_status( InstanceId='string', AgentStatusId='string' )
string
[REQUIRED]
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
string
[REQUIRED]
The identifier for the agent status.
dict
Response Syntax
{ 'AgentStatus': { 'AgentStatusARN': 'string', 'AgentStatusId': 'string', 'Name': 'string', 'Description': 'string', 'Type': 'ROUTABLE'|'CUSTOM'|'OFFLINE', 'DisplayOrder': 123, 'State': 'ENABLED'|'DISABLED', 'Tags': { 'string': 'string' } } }
Response Structure
(dict) --
AgentStatus (dict) --
The agent status.
AgentStatusARN (string) --
The Amazon Resource Name (ARN) of the agent status.
AgentStatusId (string) --
The identifier of the agent status.
Name (string) --
The name of the agent status.
Description (string) --
The description of the agent status.
Type (string) --
The type of agent status.
DisplayOrder (integer) --
The display order of the agent status.
State (string) --
The state of the agent status.
Tags (dict) --
One or more tags.
(string) --
(string) --
This API is in preview release for Amazon Connect and is subject to change.
Updates the hours of operation.
See also: AWS API Documentation
Request Syntax
client.update_hours_of_operation( InstanceId='string', HoursOfOperationId='string', Name='string', Description='string', TimeZone='string', Config=[ { 'Day': 'SUNDAY'|'MONDAY'|'TUESDAY'|'WEDNESDAY'|'THURSDAY'|'FRIDAY'|'SATURDAY', 'StartTime': { 'Hours': 123, 'Minutes': 123 }, 'EndTime': { 'Hours': 123, 'Minutes': 123 } }, ] )
string
[REQUIRED]
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
string
[REQUIRED]
The identifier of the hours of operation.
string
The name of the hours of operation.
string
The description of the hours of operation.
string
The time zone of the hours of operation.
list
Configuration information of the hours of operation.
(dict) --
Contains information about the hours of operation.
Day (string) -- [REQUIRED]
The day that the hours of operation applies to.
StartTime (dict) -- [REQUIRED]
The start time that your contact center is open.
Hours (integer) -- [REQUIRED]
The hours.
Minutes (integer) -- [REQUIRED]
The minutes.
EndTime (dict) -- [REQUIRED]
The end time that your contact center is closes.
Hours (integer) -- [REQUIRED]
The hours.
Minutes (integer) -- [REQUIRED]
The minutes.
None
This API is in preview release for Amazon Connect and is subject to change.
Updates agent status.
See also: AWS API Documentation
Request Syntax
client.update_agent_status( InstanceId='string', AgentStatusId='string', Name='string', Description='string', State='ENABLED'|'DISABLED', DisplayOrder=123, ResetOrderNumber=True|False )
string
[REQUIRED]
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
string
[REQUIRED]
The identifier of the agent status.
string
The name of the agent status.
string
The description of the agent status.
string
The state of the agent status.
integer
The display order of the agent status.
boolean
A number indicating the reset order of the agent status.
None
This API is in preview release for Amazon Connect and is subject to change.
Creates hours of operation.
See also: AWS API Documentation
Request Syntax
client.create_hours_of_operation( InstanceId='string', Name='string', Description='string', TimeZone='string', Config=[ { 'Day': 'SUNDAY'|'MONDAY'|'TUESDAY'|'WEDNESDAY'|'THURSDAY'|'FRIDAY'|'SATURDAY', 'StartTime': { 'Hours': 123, 'Minutes': 123 }, 'EndTime': { 'Hours': 123, 'Minutes': 123 } }, ], Tags={ 'string': 'string' } )
string
[REQUIRED]
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
string
[REQUIRED]
The name of the hours of operation.
string
The description of the hours of operation.
string
[REQUIRED]
The time zone of the hours of operation.
list
[REQUIRED]
Configuration information for the hours of operation: day, start time, and end time.
(dict) --
Contains information about the hours of operation.
Day (string) -- [REQUIRED]
The day that the hours of operation applies to.
StartTime (dict) -- [REQUIRED]
The start time that your contact center is open.
Hours (integer) -- [REQUIRED]
The hours.
Minutes (integer) -- [REQUIRED]
The minutes.
EndTime (dict) -- [REQUIRED]
The end time that your contact center is closes.
Hours (integer) -- [REQUIRED]
The hours.
Minutes (integer) -- [REQUIRED]
The minutes.
dict
One or more tags.
(string) --
(string) --
dict
Response Syntax
{ 'HoursOfOperationId': 'string', 'HoursOfOperationArn': 'string' }
Response Structure
(dict) --
HoursOfOperationId (string) --
The identifier for the hours of operation.
HoursOfOperationArn (string) --
The Amazon Resource Name (ARN) for the hours of operation.