2023/06/07 - Amazon Connect Customer Profiles - 4 new api methods
Changes This release introduces event stream related APIs.
Returns information about the specified event stream in a specific domain.
See also: AWS API Documentation
Request Syntax
client.get_event_stream( DomainName='string', EventStreamName='string' )
string
[REQUIRED]
The unique name of the domain.
string
[REQUIRED]
The name of the event stream provided during create operations.
dict
Response Syntax
{ 'DomainName': 'string', 'EventStreamArn': 'string', 'CreatedAt': datetime(2015, 1, 1), 'State': 'RUNNING'|'STOPPED', 'StoppedSince': datetime(2015, 1, 1), 'DestinationDetails': { 'Uri': 'string', 'Status': 'HEALTHY'|'UNHEALTHY', 'UnhealthySince': datetime(2015, 1, 1), 'Message': 'string' }, 'Tags': { 'string': 'string' } }
Response Structure
(dict) --
DomainName (string) --
The unique name of the domain.
EventStreamArn (string) --
A unique identifier for the event stream.
CreatedAt (datetime) --
The timestamp of when the export was created.
State (string) --
The operational state of destination stream for export.
StoppedSince (datetime) --
The timestamp when the State changed to STOPPED.
DestinationDetails (dict) --
Details regarding the Kinesis stream.
Uri (string) --
The StreamARN of the destination to deliver profile events to. For example, arn:aws:kinesis:region:account-id:stream/stream-name.
Status (string) --
The status of enabling the Kinesis stream as a destination for export.
UnhealthySince (datetime) --
The timestamp when the status last changed to UNHEALHY.
Message (string) --
The human-readable string that corresponds to the error or success while enabling the streaming destination.
Tags (dict) --
The tags used to organize, track, or control access for this resource.
(string) --
(string) --
Returns a list of all the event streams in a specific domain.
See also: AWS API Documentation
Request Syntax
client.list_event_streams( DomainName='string', NextToken='string', MaxResults=123 )
string
[REQUIRED]
The unique name of the domain.
string
Identifies the next page of results to return.
integer
The maximum number of objects returned per page.
dict
Response Syntax
{ 'Items': [ { 'DomainName': 'string', 'EventStreamName': 'string', 'EventStreamArn': 'string', 'State': 'RUNNING'|'STOPPED', 'StoppedSince': datetime(2015, 1, 1), 'DestinationSummary': { 'Uri': 'string', 'Status': 'HEALTHY'|'UNHEALTHY', 'UnhealthySince': datetime(2015, 1, 1) }, 'Tags': { 'string': 'string' } }, ], 'NextToken': 'string' }
Response Structure
(dict) --
Items (list) --
Contains summary information about an EventStream.
(dict) --
An instance of EventStream in a list of EventStreams.
DomainName (string) --
The unique name of the domain.
EventStreamName (string) --
The name of the event stream.
EventStreamArn (string) --
A unique identifier for the event stream.
State (string) --
The operational state of destination stream for export.
StoppedSince (datetime) --
The timestamp when the State changed to STOPPED.
DestinationSummary (dict) --
Summary information about the Kinesis data stream.
Uri (string) --
The StreamARN of the destination to deliver profile events to. For example, arn:aws:kinesis:region:account-id:stream/stream-name.
Status (string) --
The status of enabling the Kinesis stream as a destination for export.
UnhealthySince (datetime) --
The timestamp when the status last changed to UNHEALHY.
Tags (dict) --
The tags used to organize, track, or control access for this resource.
(string) --
(string) --
NextToken (string) --
Identifies the next page of results to return.
Creates an event stream, which is a subscription to real-time events, such as when profiles are created and updated through Amazon Connect Customer Profiles.
Each event stream can be associated with only one Kinesis Data Stream destination in the same region and Amazon Web Services account as the customer profiles domain
See also: AWS API Documentation
Request Syntax
client.create_event_stream( DomainName='string', Uri='string', EventStreamName='string', Tags={ 'string': 'string' } )
string
[REQUIRED]
The unique name of the domain.
string
[REQUIRED]
The StreamARN of the destination to deliver profile events to. For example, arn:aws:kinesis:region:account-id:stream/stream-name
string
[REQUIRED]
The name of the event stream.
dict
The tags used to organize, track, or control access for this resource.
(string) --
(string) --
dict
Response Syntax
{ 'EventStreamArn': 'string', 'Tags': { 'string': 'string' } }
Response Structure
(dict) --
EventStreamArn (string) --
A unique identifier for the event stream.
Tags (dict) --
The tags used to organize, track, or control access for this resource.
(string) --
(string) --
Disables and deletes the specified event stream.
See also: AWS API Documentation
Request Syntax
client.delete_event_stream( DomainName='string', EventStreamName='string' )
string
[REQUIRED]
The unique name of the domain.
string
[REQUIRED]
The name of the event stream
dict
Response Syntax
{}
Response Structure
(dict) --