get_capacity_provider¶
Operation¶
get_capacity_provider
async
¶
get_capacity_provider(input: GetCapacityProviderInput, plugins: list[Plugin] | None = None) -> GetCapacityProviderOutput
Retrieves information about a capacity provider, including its status, permissions configuration, and compute configuration.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
GetCapacityProviderInput
|
An instance of |
required |
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 |
|---|---|
GetCapacityProviderOutput
|
An instance of |
Input¶
GetCapacityProviderInput
dataclass
¶
Output¶
GetCapacityProviderOutput
dataclass
¶
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
¶
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.
status
instance-attribute
¶
status: CapacityProviderStatus
The current status of the capacity provider. For possible values, see
CapacityProviderStatus.
status_code
class-attribute
instance-attribute
¶
status_code: CapacityProviderStatusCode | None = None
A reason code for a capacity provider that is not in the READY state.
Use this code for programmatic error handling.