delete_capacity_provider_session¶
Operation¶
delete_capacity_provider_session
¶
delete_capacity_provider_session(request: DeleteCapacityProviderSessionInput | DeleteCapacityProviderSessionInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeleteCapacityProviderSessionInputDict]) -> DeleteCapacityProviderSessionOutput
Deletes a session associated with a capacity provider in Amazon Bedrock AgentCore and makes the session unavailable for further use. To delete a capacity provider session, specify both the capacity provider identifier and the session ID. After you delete a session, you cannot restart it.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
DeleteCapacityProviderSessionInput | DeleteCapacityProviderSessionInputDict | 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[DeleteCapacityProviderSessionInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
DeleteCapacityProviderSessionOutput
|
An instance of |
delete_capacity_provider_session
async
¶
delete_capacity_provider_session(request: DeleteCapacityProviderSessionInput | DeleteCapacityProviderSessionInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeleteCapacityProviderSessionInputDict]) -> DeleteCapacityProviderSessionOutput
Deletes a session associated with a capacity provider in Amazon Bedrock AgentCore and makes the session unavailable for further use. To delete a capacity provider session, specify both the capacity provider identifier and the session ID. After you delete a session, you cannot restart it.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
DeleteCapacityProviderSessionInput | DeleteCapacityProviderSessionInputDict | 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[DeleteCapacityProviderSessionInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
DeleteCapacityProviderSessionOutput
|
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.
DeleteCapacityProviderSessionInput
dataclass
¶
Output¶
DeleteCapacityProviderSessionOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for DeleteCapacityProviderSessionOutput structure.
Attributes¶
capacity_provider_arn
instance-attribute
¶
capacity_provider_arn: str
The Amazon Resource Name (ARN) of the capacity provider associated with the deleted session.
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.