get_access_key_last_used¶
Operation¶
get_access_key_last_used
¶
get_access_key_last_used(request: GetAccessKeyLastUsedInput | GetAccessKeyLastUsedInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetAccessKeyLastUsedInputDict]) -> GetAccessKeyLastUsedOutput
Retrieves information about when the specified access key was last used. The information includes the date and time of last use, along with the Amazon Web Services service and Region that were specified in the last request made with that key.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
GetAccessKeyLastUsedInput | GetAccessKeyLastUsedInputDict | 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[GetAccessKeyLastUsedInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
GetAccessKeyLastUsedOutput
|
An instance of |
get_access_key_last_used
async
¶
get_access_key_last_used(request: GetAccessKeyLastUsedInput | GetAccessKeyLastUsedInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetAccessKeyLastUsedInputDict]) -> GetAccessKeyLastUsedOutput
Retrieves information about when the specified access key was last used. The information includes the date and time of last use, along with the Amazon Web Services service and Region that were specified in the last request made with that key.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
GetAccessKeyLastUsedInput | GetAccessKeyLastUsedInputDict | 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[GetAccessKeyLastUsedInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
GetAccessKeyLastUsedOutput
|
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.
GetAccessKeyLastUsedInputDict
¶
Bases: TypedDict
Dictionary form of GetAccessKeyLastUsedInput.
Attributes¶
access_key_id
instance-attribute
¶
The identifier of an access key.
This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
GetAccessKeyLastUsedInput
dataclass
¶
Bases: _SerdeShape
Dataclass for GetAccessKeyLastUsedInput structure.
Attributes¶
access_key_id
class-attribute
instance-attribute
¶
access_key_id: str | None = ...
The identifier of an access key.
This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
Output¶
GetAccessKeyLastUsedOutput
dataclass
¶
Bases: _SerdeShape
Contains the response to a successful GetAccessKeyLastUsed request. It is also returned as a member of the AccessKeyMetaData structure returned by the ListAccessKeys action.
Attributes¶
access_key_last_used
class-attribute
instance-attribute
¶
access_key_last_used: AccessKeyLastUsed | None = ...
Contains information about the last time the access key was used.
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.