list_stack_instance_resource_drifts
async
¶
list_stack_instance_resource_drifts(
*,
config_overrides: Optional[AsyncCloudFormationClientConfig] = None,
stack_set_name: Optional[StackSetNameOrId] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
stack_instance_resource_drift_statuses: Optional[
StackResourceDriftStatusFilters
] = None,
stack_instance_account: Optional[Account] = None,
stack_instance_region: Optional[Region] = None,
operation_id: Optional[ClientRequestToken] = None,
call_as: Optional[CallAs] = None,
) -> ListStackInstanceResourceDriftsOutput
Returns drift information for resources in a stack instance.
ListStackInstanceResourceDrifts returns drift information for the most recent drift detection operation. If an operation is in progress, it may only return partial results.
Parameters:
-
stack_set_name(Optional[StackSetNameOrId], default:None) –The name or unique ID of the StackSet that you want to list drifted resources for.
-
next_token(Optional[NextToken], default:None) –The token for the next set of items to return. (You received this token from a previous call.)
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a
NextTokenvalue that you can assign to theNextTokenrequest parameter to get the next set of results. -
stack_instance_resource_drift_statuses(Optional[StackResourceDriftStatusFilters], default:None) –The resource drift status of the stack instance.
-
DELETED: The resource differs from its expected template configuration in that the resource has been deleted. -
MODIFIED: One or more resource properties differ from their expected template values. -
IN_SYNC: The resource's actual configuration matches its expected template configuration. -
NOT_CHECKED: CloudFormation doesn't currently return this value.
-
-
stack_instance_account(Optional[Account], default:None) –The name of the Amazon Web Services account that you want to list resource drifts for.
-
stack_instance_region(Optional[Region], default:None) –The name of the Region where you want to list resource drifts.
-
operation_id(Optional[ClientRequestToken], default:None) –The unique ID of the drift operation.
-
call_as(Optional[CallAs], default:None) –[Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.
By default,
SELFis specified. UseSELFfor StackSets with self-managed permissions.-
If you are signed in to the management account, specify
SELF. -
If you are signed in to a delegated administrator account, specify
DELEGATED_ADMIN.Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.
-
Raises:
-
OperationNotFoundException–The specified ID refers to an operation that doesn't exist.
-
StackInstanceNotFoundException–The specified stack instance doesn't exist.
-
StackSetNotFoundException–The specified StackSet doesn't exist.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_cloudformation/_services/async_cloud_formation.py
4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 | |