Skip to content

get_api_key_credential_provider

Operation

get_api_key_credential_provider

get_api_key_credential_provider(request: GetApiKeyCredentialProviderInput | GetApiKeyCredentialProviderInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetApiKeyCredentialProviderInputDict]) -> GetApiKeyCredentialProviderOutput

Retrieves information about an API key credential provider.

Parameters:

Name Type Description Default
request GetApiKeyCredentialProviderInput | GetApiKeyCredentialProviderInputDict | 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[GetApiKeyCredentialProviderInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
GetApiKeyCredentialProviderOutput

An instance of GetApiKeyCredentialProviderOutput.

get_api_key_credential_provider async

get_api_key_credential_provider(request: GetApiKeyCredentialProviderInput | GetApiKeyCredentialProviderInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetApiKeyCredentialProviderInputDict]) -> GetApiKeyCredentialProviderOutput

Retrieves information about an API key credential provider.

Parameters:

Name Type Description Default
request GetApiKeyCredentialProviderInput | GetApiKeyCredentialProviderInputDict | 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[GetApiKeyCredentialProviderInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
GetApiKeyCredentialProviderOutput

An instance of GetApiKeyCredentialProviderOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

GetApiKeyCredentialProviderInputDict

Bases: TypedDict

Dictionary form of GetApiKeyCredentialProviderInput.

Attributes

name instance-attribute
name: Required[str]

The name of the API key credential provider to retrieve.

GetApiKeyCredentialProviderInput dataclass

Bases: _SerdeShape

Dataclass for GetApiKeyCredentialProviderInput structure.

Attributes

name class-attribute instance-attribute
name: str | None = ...

The name of the API key credential provider to retrieve.

Output

GetApiKeyCredentialProviderOutput dataclass

Bases: _SerdeShape

Dataclass for GetApiKeyCredentialProviderOutput structure.

Attributes

api_key_secret_arn instance-attribute
api_key_secret_arn: Secret

The Amazon Resource Name (ARN) of the API key secret in Amazon Web Services Secrets Manager.

api_key_secret_json_key class-attribute instance-attribute
api_key_secret_json_key: str | None = ...

The JSON key used to extract the API key value from the Amazon Web Services Secrets Manager secret.

api_key_secret_source class-attribute instance-attribute
api_key_secret_source: str | None = ...

The source type of the API key secret. Either MANAGED if the secret is managed by the service, or EXTERNAL if managed by the user in Amazon Web Services Secrets Manager.

created_time instance-attribute
created_time: datetime

The timestamp when the API key credential provider was created.

credential_provider_arn instance-attribute
credential_provider_arn: str

The Amazon Resource Name (ARN) of the API key credential provider.

last_updated_time instance-attribute
last_updated_time: datetime

The timestamp when the API key credential provider was last updated.

name instance-attribute
name: str

The name of the API key credential provider.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

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.