list_member_accounts
async
¶
list_member_accounts(
notification_configuration_arn: NotificationConfigurationArn,
*,
config_overrides: Optional[AsyncNotificationsClientConfig] = None,
max_results: Optional[int] = None,
next_token: Optional[NextToken] = None,
member_account: Optional[AccountId] = None,
status: Optional[MemberAccountNotificationConfigurationStatus] = None,
organizational_unit_id: Optional[OrganizationalUnitId] = None,
) -> ListMemberAccountsResponse
Returns a list of member accounts associated with a notification configuration.
Parameters:
-
notification_configuration_arn(NotificationConfigurationArn) –The Amazon Resource Name (ARN) of the notification configuration used to filter the member accounts.
-
max_results(Optional[int], default:None) –The maximum number of results to return in a single call. Valid values are 1-100.
-
next_token(Optional[NextToken], default:None) –The token for the next page of results. Use the value returned in the previous response.
-
member_account(Optional[AccountId], default:None) –The member account identifier used to filter the results.
-
status(Optional[MemberAccountNotificationConfigurationStatus], default:None) –The status used to filter the member accounts.
-
organizational_unit_id(Optional[OrganizationalUnitId], default:None) –The organizational unit ID used to filter the member accounts.
Raises:
-
AccessDeniedException–User does not have sufficient access to perform this action.
-
InternalServerException–Unexpected error during processing of request.
-
ResourceNotFoundException–Request references a resource which does not exist.
-
ThrottlingException–Request was denied due to request throttling.
-
ValidationException–This exception is thrown when the notification event fails validation.
-
UnknownServiceError–The service returned an error code this client does not model.