get_policy_summary¶
Operation¶
get_policy_summary
async
¶
get_policy_summary(input: GetPolicySummaryInput, plugins: list[Plugin] | None = None) -> GetPolicySummaryOutput
Retrieves a metadata-only summary of a specific policy without decrypting customer content. This lightweight read operation returns resource identifiers, status, and timestamps, but does not include the policy definition, description, or status reasons. Because this operation does not require access to the customer's KMS key, it is suitable for resource discovery, inventory, and integration scenarios where only metadata is needed.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
GetPolicySummaryInput
|
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 |
|---|---|
GetPolicySummaryOutput
|
An instance of |
Input¶
GetPolicySummaryInput
dataclass
¶
Output¶
GetPolicySummaryOutput
dataclass
¶
Dataclass for GetPolicySummaryOutput structure.
Attributes¶
created_at
instance-attribute
¶
created_at: datetime
The timestamp when the policy was originally created.
enforcement_mode
class-attribute
instance-attribute
¶
enforcement_mode: EnforcementMode = EnforcementMode('ACTIVE')
The current enforcement mode of the policy.