DomainEvents

class aws_cdk.mixins_preview.aws_voiceid.events.DomainEvents(*args: Any, **kwargs)

Bases: object

(experimental) EventBridge event patterns for Domain.

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_voiceid import events as voiceid_events
from aws_cdk.interfaces import aws_voiceid as interfaces_voiceid

# domain_ref: interfaces_voiceid.IDomainRef

domain_events = voiceid_events.DomainEvents.from_domain(domain_ref)

Methods

voice_id_batch_fraudster_registration_action_pattern(*, action=None, batch_job_id=None, data=None, domain_id=None, error_info=None, event_metadata=None, source_id=None, status=None)

(experimental) EventBridge event pattern for Domain VoiceId Batch Fraudster Registration Action.

Parameters:
  • action (Optional[Sequence[str]]) – (experimental) action property. Specify an array of string values to match this event if the actual value of action is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • batch_job_id (Optional[Sequence[str]]) – (experimental) batchJobId property. Specify an array of string values to match this event if the actual value of batchJobId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • data (Union[Data, Dict[str, Any], None]) – (experimental) data property. Specify an array of string values to match this event if the actual value of data is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • domain_id (Optional[Sequence[str]]) – (experimental) domainId property. Specify an array of string values to match this event if the actual value of domainId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Filter with the Domain reference

  • error_info (Union[ErrorInfo, Dict[str, Any], None]) – (experimental) errorInfo property. Specify an array of string values to match this event if the actual value of errorInfo is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_metadata (Union[AWSEventMetadataProps, Dict[str, Any], None]) – (experimental) EventBridge event metadata. Default: - -

  • source_id (Optional[Sequence[str]]) – (experimental) sourceId property. Specify an array of string values to match this event if the actual value of sourceId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • status (Optional[Sequence[str]]) – (experimental) status property. Specify an array of string values to match this event if the actual value of status is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

Return type:

EventPattern

voice_id_batch_speaker_enrollment_action_pattern(*, action=None, batch_job_id=None, data=None, domain_id=None, error_info=None, event_metadata=None, source_id=None, status=None)

(experimental) EventBridge event pattern for Domain VoiceId Batch Speaker Enrollment Action.

Parameters:
  • action (Optional[Sequence[str]]) – (experimental) action property. Specify an array of string values to match this event if the actual value of action is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • batch_job_id (Optional[Sequence[str]]) – (experimental) batchJobId property. Specify an array of string values to match this event if the actual value of batchJobId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • data (Union[Data, Dict[str, Any], None]) – (experimental) data property. Specify an array of string values to match this event if the actual value of data is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • domain_id (Optional[Sequence[str]]) – (experimental) domainId property. Specify an array of string values to match this event if the actual value of domainId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Filter with the Domain reference

  • error_info (Union[ErrorInfo, Dict[str, Any], None]) – (experimental) errorInfo property. Specify an array of string values to match this event if the actual value of errorInfo is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_metadata (Union[AWSEventMetadataProps, Dict[str, Any], None]) – (experimental) EventBridge event metadata. Default: - -

  • source_id (Optional[Sequence[str]]) – (experimental) sourceId property. Specify an array of string values to match this event if the actual value of sourceId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • status (Optional[Sequence[str]]) – (experimental) status property. Specify an array of string values to match this event if the actual value of status is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

Return type:

EventPattern

voice_id_evaluate_session_action_pattern(*, action=None, domain_id=None, error_info=None, event_metadata=None, session=None, source_id=None, status=None, system_attributes=None)

(experimental) EventBridge event pattern for Domain VoiceId Evaluate Session Action.

Parameters:
  • action (Optional[Sequence[str]]) – (experimental) action property. Specify an array of string values to match this event if the actual value of action is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • domain_id (Optional[Sequence[str]]) – (experimental) domainId property. Specify an array of string values to match this event if the actual value of domainId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Filter with the Domain reference

  • error_info (Union[ErrorInfo, Dict[str, Any], None]) – (experimental) errorInfo property. Specify an array of string values to match this event if the actual value of errorInfo is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_metadata (Union[AWSEventMetadataProps, Dict[str, Any], None]) – (experimental) EventBridge event metadata. Default: - -

  • session (Union[Session, Dict[str, Any], None]) – (experimental) session property. Specify an array of string values to match this event if the actual value of session is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • source_id (Optional[Sequence[str]]) – (experimental) sourceId property. Specify an array of string values to match this event if the actual value of sourceId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • status (Optional[Sequence[str]]) – (experimental) status property. Specify an array of string values to match this event if the actual value of status is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • system_attributes (Union[SystemAttributes, Dict[str, Any], None]) – (experimental) systemAttributes property. Specify an array of string values to match this event if the actual value of systemAttributes is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

Return type:

EventPattern

voice_id_fraudster_action_pattern(*, action=None, data=None, domain_id=None, error_info=None, event_metadata=None, generated_fraudster_id=None, source_id=None, status=None, watchlist_ids=None)

(experimental) EventBridge event pattern for Domain VoiceId Fraudster Action.

Parameters:
  • action (Optional[Sequence[str]]) – (experimental) action property. Specify an array of string values to match this event if the actual value of action is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • data (Union[Data, Dict[str, Any], None]) – (experimental) data property. Specify an array of string values to match this event if the actual value of data is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • domain_id (Optional[Sequence[str]]) – (experimental) domainId property. Specify an array of string values to match this event if the actual value of domainId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Filter with the Domain reference

  • error_info (Union[ErrorInfo, Dict[str, Any], None]) – (experimental) errorInfo property. Specify an array of string values to match this event if the actual value of errorInfo is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_metadata (Union[AWSEventMetadataProps, Dict[str, Any], None]) – (experimental) EventBridge event metadata. Default: - -

  • generated_fraudster_id (Optional[Sequence[str]]) – (experimental) generatedFraudsterId property. Specify an array of string values to match this event if the actual value of generatedFraudsterId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • source_id (Optional[Sequence[str]]) – (experimental) sourceId property. Specify an array of string values to match this event if the actual value of sourceId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • status (Optional[Sequence[str]]) – (experimental) status property. Specify an array of string values to match this event if the actual value of status is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • watchlist_ids (Optional[Sequence[str]]) – (experimental) watchlistIds property. Specify an array of string values to match this event if the actual value of watchlistIds is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

Return type:

EventPattern

voice_id_session_speaker_enrollment_action_pattern(*, action=None, domain_id=None, error_info=None, event_metadata=None, session_id=None, session_name=None, source_id=None, status=None, system_attributes=None)

(experimental) EventBridge event pattern for Domain VoiceId Session Speaker Enrollment Action.

Parameters:
  • action (Optional[Sequence[str]]) – (experimental) action property. Specify an array of string values to match this event if the actual value of action is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • domain_id (Optional[Sequence[str]]) – (experimental) domainId property. Specify an array of string values to match this event if the actual value of domainId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Filter with the Domain reference

  • error_info (Union[ErrorInfo, Dict[str, Any], None]) – (experimental) errorInfo property. Specify an array of string values to match this event if the actual value of errorInfo is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_metadata (Union[AWSEventMetadataProps, Dict[str, Any], None]) – (experimental) EventBridge event metadata. Default: - -

  • session_id (Optional[Sequence[str]]) – (experimental) sessionId property. Specify an array of string values to match this event if the actual value of sessionId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • session_name (Optional[Sequence[str]]) – (experimental) sessionName property. Specify an array of string values to match this event if the actual value of sessionName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • source_id (Optional[Sequence[str]]) – (experimental) sourceId property. Specify an array of string values to match this event if the actual value of sourceId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • status (Optional[Sequence[str]]) – (experimental) status property. Specify an array of string values to match this event if the actual value of status is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • system_attributes (Union[SystemAttributes, Dict[str, Any], None]) – (experimental) systemAttributes property. Specify an array of string values to match this event if the actual value of systemAttributes is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

Return type:

EventPattern

voice_id_speaker_action_pattern(*, action=None, data=None, domain_id=None, error_info=None, event_metadata=None, generated_speaker_id=None, source_id=None, status=None, system_attributes=None)

(experimental) EventBridge event pattern for Domain VoiceId Speaker Action.

Parameters:
  • action (Optional[Sequence[str]]) – (experimental) action property. Specify an array of string values to match this event if the actual value of action is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • data (Union[Data, Dict[str, Any], None]) – (experimental) data property. Specify an array of string values to match this event if the actual value of data is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • domain_id (Optional[Sequence[str]]) – (experimental) domainId property. Specify an array of string values to match this event if the actual value of domainId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Filter with the Domain reference

  • error_info (Union[ErrorInfo, Dict[str, Any], None]) – (experimental) errorInfo property. Specify an array of string values to match this event if the actual value of errorInfo is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_metadata (Union[AWSEventMetadataProps, Dict[str, Any], None]) – (experimental) EventBridge event metadata. Default: - -

  • generated_speaker_id (Optional[Sequence[str]]) – (experimental) generatedSpeakerId property. Specify an array of string values to match this event if the actual value of generatedSpeakerId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • source_id (Optional[Sequence[str]]) – (experimental) sourceId property. Specify an array of string values to match this event if the actual value of sourceId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • status (Optional[Sequence[str]]) – (experimental) status property. Specify an array of string values to match this event if the actual value of status is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • system_attributes (Union[SystemAttributes, Dict[str, Any], None]) – (experimental) systemAttributes property. Specify an array of string values to match this event if the actual value of systemAttributes is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

Return type:

EventPattern

voice_id_start_session_action_pattern(*, action=None, domain_id=None, error_info=None, event_metadata=None, session=None, source_id=None, status=None, system_attributes=None)

(experimental) EventBridge event pattern for Domain VoiceId Start Session Action.

Parameters:
  • action (Optional[Sequence[str]]) – (experimental) action property. Specify an array of string values to match this event if the actual value of action is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • domain_id (Optional[Sequence[str]]) – (experimental) domainId property. Specify an array of string values to match this event if the actual value of domainId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Filter with the Domain reference

  • error_info (Union[ErrorInfo, Dict[str, Any], None]) – (experimental) errorInfo property. Specify an array of string values to match this event if the actual value of errorInfo is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_metadata (Union[AWSEventMetadataProps, Dict[str, Any], None]) – (experimental) EventBridge event metadata. Default: - -

  • session (Union[Session, Dict[str, Any], None]) – (experimental) session property. Specify an array of string values to match this event if the actual value of session is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • source_id (Optional[Sequence[str]]) – (experimental) sourceId property. Specify an array of string values to match this event if the actual value of sourceId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • status (Optional[Sequence[str]]) – (experimental) status property. Specify an array of string values to match this event if the actual value of status is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • system_attributes (Union[SystemAttributes, Dict[str, Any], None]) – (experimental) systemAttributes property. Specify an array of string values to match this event if the actual value of systemAttributes is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

Return type:

EventPattern

voice_id_update_session_action_pattern(*, action=None, domain_id=None, error_info=None, event_metadata=None, session=None, source_id=None, status=None)

(experimental) EventBridge event pattern for Domain VoiceId Update Session Action.

Parameters:
  • action (Optional[Sequence[str]]) – (experimental) action property. Specify an array of string values to match this event if the actual value of action is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • domain_id (Optional[Sequence[str]]) – (experimental) domainId property. Specify an array of string values to match this event if the actual value of domainId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Filter with the Domain reference

  • error_info (Union[ErrorInfo, Dict[str, Any], None]) – (experimental) errorInfo property. Specify an array of string values to match this event if the actual value of errorInfo is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_metadata (Union[AWSEventMetadataProps, Dict[str, Any], None]) – (experimental) EventBridge event metadata. Default: - -

  • session (Union[Session, Dict[str, Any], None]) – (experimental) session property. Specify an array of string values to match this event if the actual value of session is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • source_id (Optional[Sequence[str]]) – (experimental) sourceId property. Specify an array of string values to match this event if the actual value of sourceId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • status (Optional[Sequence[str]]) – (experimental) status property. Specify an array of string values to match this event if the actual value of status is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

Return type:

EventPattern

Static Methods

classmethod from_domain(domain_ref)

(experimental) Create DomainEvents from a Domain reference.

Parameters:

domain_ref (IDomainRef)

Stability:

experimental

Return type:

DomainEvents