Skip to content

Lambda  >  Operations  >  get_capacity_provider

get_capacity_provider

Operation

get_capacity_provider async

get_capacity_provider(input: GetCapacityProviderInput, plugins: list[Plugin] | None = None) -> GetCapacityProviderOutput

Retrieves information about a specific capacity provider, including its configuration, state, and associated resources.

Parameters:

Name Type Description Default
input GetCapacityProviderInput

An instance of GetCapacityProviderInput.

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 GetCapacityProviderOutput.

Input

GetCapacityProviderInput dataclass

Dataclass for GetCapacityProviderInput structure.

Attributes

capacity_provider_name class-attribute instance-attribute
capacity_provider_name: str | None = None

The name of the capacity provider to retrieve.

Output

GetCapacityProviderOutput dataclass

Dataclass for GetCapacityProviderOutput structure.

Attributes

capacity_provider instance-attribute
capacity_provider: CapacityProvider

Information about the capacity provider, including its configuration and current state.