Skip to content

add_source_identifier_to_subscription

Operation

add_source_identifier_to_subscription

Adds a source identifier to an existing RDS event notification subscription.

Parameters:

Name Type Description Default
request AddSourceIdentifierToSubscriptionInput | AddSourceIdentifierToSubscriptionInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None
**kwargs Unpack[AddSourceIdentifierToSubscriptionInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
AddSourceIdentifierToSubscriptionOutput

An instance of AddSourceIdentifierToSubscriptionOutput.

add_source_identifier_to_subscription async

Adds a source identifier to an existing RDS event notification subscription.

Parameters:

Name Type Description Default
request AddSourceIdentifierToSubscriptionInput | AddSourceIdentifierToSubscriptionInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None
**kwargs Unpack[AddSourceIdentifierToSubscriptionInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
AddSourceIdentifierToSubscriptionOutput

An instance of AddSourceIdentifierToSubscriptionOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

AddSourceIdentifierToSubscriptionInputDict

Bases: TypedDict

Dictionary form of AddSourceIdentifierToSubscriptionInput.

Attributes

source_identifier instance-attribute
source_identifier: Required[str]

The identifier of the event source to be added.

Constraints:

  • If the source type is a DB instance, a DBInstanceIdentifier value must be supplied.

  • If the source type is a DB cluster, a DBClusterIdentifier value must be supplied.

  • If the source type is a DB parameter group, a DBParameterGroupName value must be supplied.

  • If the source type is a DB security group, a DBSecurityGroupName value must be supplied.

  • If the source type is a DB snapshot, a DBSnapshotIdentifier value must be supplied.

  • If the source type is a DB cluster snapshot, a DBClusterSnapshotIdentifier value must be supplied.

  • If the source type is an RDS Proxy, a DBProxyName value must be supplied.

subscription_name instance-attribute
subscription_name: Required[str]

The name of the RDS event notification subscription you want to add a source identifier to.

AddSourceIdentifierToSubscriptionInput dataclass

Bases: _SerdeShape

Attributes

source_identifier class-attribute instance-attribute
source_identifier: str | None = ...

The identifier of the event source to be added.

Constraints:

  • If the source type is a DB instance, a DBInstanceIdentifier value must be supplied.

  • If the source type is a DB cluster, a DBClusterIdentifier value must be supplied.

  • If the source type is a DB parameter group, a DBParameterGroupName value must be supplied.

  • If the source type is a DB security group, a DBSecurityGroupName value must be supplied.

  • If the source type is a DB snapshot, a DBSnapshotIdentifier value must be supplied.

  • If the source type is a DB cluster snapshot, a DBClusterSnapshotIdentifier value must be supplied.

  • If the source type is an RDS Proxy, a DBProxyName value must be supplied.

subscription_name class-attribute instance-attribute
subscription_name: str | None = ...

The name of the RDS event notification subscription you want to add a source identifier to.

Output

AddSourceIdentifierToSubscriptionOutput dataclass

Bases: _SerdeShape

Dataclass for AddSourceIdentifierToSubscriptionOutput structure.

Attributes

event_subscription class-attribute instance-attribute
event_subscription: EventSubscription | None = ...

Contains the results of a successful invocation of the DescribeEventSubscriptions action.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.