VoiceIdSpeakerAction

class aws_cdk.mixins_preview.aws_voiceid.events.VoiceIdSpeakerAction

Bases: object

(experimental) EventBridge event pattern for aws.voiceid@VoiceIdSpeakerAction.

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

voice_id_speaker_action = voiceid_events.VoiceIdSpeakerAction()
Stability:

experimental

Static Methods

classmethod 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 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

Data

class VoiceIdSpeakerAction.Data(*, enrollment_source=None, enrollment_source_id=None, enrollment_status=None)

Bases: object

(experimental) Type definition for Data.

Parameters:
  • enrollment_source (Optional[Sequence[str]]) – (experimental) enrollmentSource property. Specify an array of string values to match this event if the actual value of enrollmentSource 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

  • enrollment_source_id (Optional[Sequence[str]]) – (experimental) enrollmentSourceId property. Specify an array of string values to match this event if the actual value of enrollmentSourceId 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

  • enrollment_status (Optional[Sequence[str]]) – (experimental) enrollmentStatus property. Specify an array of string values to match this event if the actual value of enrollmentStatus 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

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

data = voiceid_events.VoiceIdSpeakerAction.Data(
    enrollment_source=["enrollmentSource"],
    enrollment_source_id=["enrollmentSourceId"],
    enrollment_status=["enrollmentStatus"]
)

Attributes

enrollment_source

(experimental) enrollmentSource property.

Specify an array of string values to match this event if the actual value of enrollmentSource 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

enrollment_source_id

(experimental) enrollmentSourceId property.

Specify an array of string values to match this event if the actual value of enrollmentSourceId 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

enrollment_status

(experimental) enrollmentStatus property.

Specify an array of string values to match this event if the actual value of enrollmentStatus 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

ErrorInfo

class VoiceIdSpeakerAction.ErrorInfo(*, error_code=None, error_message=None, error_type=None)

Bases: object

(experimental) Type definition for ErrorInfo.

Parameters:
  • error_code (Optional[Sequence[str]]) – (experimental) errorCode property. Specify an array of string values to match this event if the actual value of errorCode 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

  • error_message (Optional[Sequence[str]]) – (experimental) errorMessage property. Specify an array of string values to match this event if the actual value of errorMessage 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

  • error_type (Optional[Sequence[str]]) – (experimental) errorType property. Specify an array of string values to match this event if the actual value of errorType 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

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

error_info = voiceid_events.VoiceIdSpeakerAction.ErrorInfo(
    error_code=["errorCode"],
    error_message=["errorMessage"],
    error_type=["errorType"]
)

Attributes

error_code

(experimental) errorCode property.

Specify an array of string values to match this event if the actual value of errorCode 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

error_message

(experimental) errorMessage property.

Specify an array of string values to match this event if the actual value of errorMessage 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

error_type

(experimental) errorType property.

Specify an array of string values to match this event if the actual value of errorType 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

SystemAttributes

class VoiceIdSpeakerAction.SystemAttributes(*, aws_connect_original_contact_arn=None)

Bases: object

(experimental) Type definition for SystemAttributes.

Parameters:

aws_connect_original_contact_arn (Optional[Sequence[str]]) – (experimental) aws-connect-OriginalContactArn property. Specify an array of string values to match this event if the actual value of aws-connect-OriginalContactArn 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

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

system_attributes = voiceid_events.VoiceIdSpeakerAction.SystemAttributes(
    aws_connect_original_contact_arn=["awsConnectOriginalContactArn"]
)

Attributes

aws_connect_original_contact_arn

(experimental) aws-connect-OriginalContactArn property.

Specify an array of string values to match this event if the actual value of aws-connect-OriginalContactArn 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

VoiceIdSpeakerActionProps

class VoiceIdSpeakerAction.VoiceIdSpeakerActionProps(*, 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)

Bases: object

(experimental) Props type for aws.voiceid@VoiceIdSpeakerAction event.

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

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk import AWSEventMetadataProps
# 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

voice_id_speaker_action_props = voiceid_events.VoiceIdSpeakerAction.VoiceIdSpeakerActionProps(
    action=["action"],
    data=voiceid_events.VoiceIdSpeakerAction.Data(
        enrollment_source=["enrollmentSource"],
        enrollment_source_id=["enrollmentSourceId"],
        enrollment_status=["enrollmentStatus"]
    ),
    domain_id=["domainId"],
    error_info=voiceid_events.VoiceIdSpeakerAction.ErrorInfo(
        error_code=["errorCode"],
        error_message=["errorMessage"],
        error_type=["errorType"]
    ),
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    generated_speaker_id=["generatedSpeakerId"],
    source_id=["sourceId"],
    status=["status"],
    system_attributes=voiceid_events.VoiceIdSpeakerAction.SystemAttributes(
        aws_connect_original_contact_arn=["awsConnectOriginalContactArn"]
    )
)

Attributes

action

(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

Stability:

experimental

data

(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

Stability:

experimental

domain_id

(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

Stability:

experimental

error_info

(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

Stability:

experimental

event_metadata

(experimental) EventBridge event metadata.

Default:

Stability:

experimental

generated_speaker_id

(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

Stability:

experimental

source_id

(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

Stability:

experimental

status

(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

system_attributes

(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