add_source_identifier_to_subscription¶
Operation¶
add_source_identifier_to_subscription
async
¶
add_source_identifier_to_subscription(request: AddSourceIdentifierToSubscriptionInput | AddSourceIdentifierToSubscriptionInputDict, /, *, plugins: list[Plugin] | None = None) -> AddSourceIdentifierToSubscriptionOutput
add_source_identifier_to_subscription(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[AddSourceIdentifierToSubscriptionInputDict]) -> AddSourceIdentifierToSubscriptionOutput
Adds a source identifier to an existing RDS event notification subscription.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
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
|
Returns:
| Type | Description |
|---|---|
AddSourceIdentifierToSubscriptionOutput
|
An instance of |
Input¶
Pass the input fields as keyword arguments, or pass a model or dictionary as the first positional argument. Pass plugins separately as a keyword argument.
Model¶
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
DBInstanceIdentifiervalue must be supplied. -
If the source type is a DB cluster, a
DBClusterIdentifiervalue must be supplied. -
If the source type is a DB parameter group, a
DBParameterGroupNamevalue must be supplied. -
If the source type is a DB security group, a
DBSecurityGroupNamevalue must be supplied. -
If the source type is a DB snapshot, a
DBSnapshotIdentifiervalue must be supplied. -
If the source type is a DB cluster snapshot, a
DBClusterSnapshotIdentifiervalue must be supplied. -
If the source type is an RDS Proxy, a
DBProxyNamevalue must be supplied.
Dictionaries¶
AddSourceIdentifierToSubscriptionInputDict
¶
Bases: TypedDict
Dictionary form of AddSourceIdentifierToSubscriptionInput.
Attributes¶
source_identifier
instance-attribute
¶
The identifier of the event source to be added.
Constraints:
-
If the source type is a DB instance, a
DBInstanceIdentifiervalue must be supplied. -
If the source type is a DB cluster, a
DBClusterIdentifiervalue must be supplied. -
If the source type is a DB parameter group, a
DBParameterGroupNamevalue must be supplied. -
If the source type is a DB security group, a
DBSecurityGroupNamevalue must be supplied. -
If the source type is a DB snapshot, a
DBSnapshotIdentifiervalue must be supplied. -
If the source type is a DB cluster snapshot, a
DBClusterSnapshotIdentifiervalue must be supplied. -
If the source type is an RDS Proxy, a
DBProxyNamevalue must be supplied.
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
¶
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.