get_capacity_provider¶
Operation¶
get_capacity_provider
¶
get_capacity_provider(request: GetCapacityProviderInput | GetCapacityProviderInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetCapacityProviderInputDict]) -> GetCapacityProviderOutput
Retrieves information about a capacity provider, including its status, permissions configuration, and compute configuration.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
GetCapacityProviderInput | GetCapacityProviderInputDict | 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[GetCapacityProviderInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
GetCapacityProviderOutput
|
An instance of |
get_capacity_provider
async
¶
get_capacity_provider(request: GetCapacityProviderInput | GetCapacityProviderInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetCapacityProviderInputDict]) -> GetCapacityProviderOutput
Retrieves information about a capacity provider, including its status, permissions configuration, and compute configuration.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
GetCapacityProviderInput | GetCapacityProviderInputDict | 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[GetCapacityProviderInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
GetCapacityProviderOutput
|
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.
Output¶
GetCapacityProviderOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for GetCapacityProviderOutput structure.
Attributes¶
capacity_provider_arn
instance-attribute
¶
capacity_provider_arn: str
The Amazon Resource Name (ARN) of the capacity provider.
capacity_provider_id
instance-attribute
¶
capacity_provider_id: str
The unique identifier of the capacity provider.
compute_configuration
instance-attribute
¶
compute_configuration: ComputeConfiguration
The compute configuration for the capacity provider.
created_at
instance-attribute
¶
created_at: datetime
The timestamp when the capacity provider was created.
description
class-attribute
instance-attribute
¶
description: str | None = ...
The description of the capacity provider, if one was provided.
last_updated_at
instance-attribute
¶
last_updated_at: datetime
The timestamp when the capacity provider was last updated.
permissions_configuration
instance-attribute
¶
permissions_configuration: PermissionsConfiguration
The permissions configuration for the capacity provider.
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.
status
instance-attribute
¶
status: str
The current status of the capacity provider. For possible values, see
CapacityProviderStatus.