add_role_to_db_cluster¶
Operation¶
add_role_to_db_cluster
¶
add_role_to_db_cluster(request: AddRoleToDBClusterInput | AddRoleToDBClusterInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[AddRoleToDBClusterInputDict]) -> AddRoleToDBClusterOutput
Associates an Identity and Access Management (IAM) role with a DB cluster.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
AddRoleToDBClusterInput | AddRoleToDBClusterInputDict | 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[AddRoleToDBClusterInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
AddRoleToDBClusterOutput
|
An instance of |
add_role_to_db_cluster
async
¶
add_role_to_db_cluster(request: AddRoleToDBClusterInput | AddRoleToDBClusterInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[AddRoleToDBClusterInputDict]) -> AddRoleToDBClusterOutput
Associates an Identity and Access Management (IAM) role with a DB cluster.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
AddRoleToDBClusterInput | AddRoleToDBClusterInputDict | 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[AddRoleToDBClusterInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
AddRoleToDBClusterOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
AddRoleToDBClusterInputDict
¶
Bases: TypedDict
Dictionary form of AddRoleToDBClusterInput.
Attributes¶
db_cluster_identifier
instance-attribute
¶
The name of the DB cluster to associate the IAM role with.
AddRoleToDBClusterInput
dataclass
¶
Bases: _SerdeShape
Dataclass for AddRoleToDBClusterInput structure.
Attributes¶
db_cluster_identifier
class-attribute
instance-attribute
¶
db_cluster_identifier: str | None = ...
The name of the DB cluster to associate the IAM role with.
Output¶
AddRoleToDBClusterOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for AddRoleToDBClusterOutput structure.