Struct aws_sdk_health::output::DescribeAffectedAccountsForOrganizationOutput [−][src]
#[non_exhaustive]pub struct DescribeAffectedAccountsForOrganizationOutput {
pub affected_accounts: Option<Vec<String>>,
pub event_scope_code: Option<EventScopeCode>,
pub next_token: Option<String>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.affected_accounts: Option<Vec<String>>
A JSON set of elements of the affected accounts.
event_scope_code: Option<EventScopeCode>
This parameter specifies if the Health event is a public Amazon Web Services service event or an account-specific event.
-
If the
eventScopeCode
value isPUBLIC
, then theaffectedAccounts
value is always empty. -
If the
eventScopeCode
value isACCOUNT_SPECIFIC
, then theaffectedAccounts
value lists the affected Amazon Web Services accounts in your organization. For example, if an event affects a service such as Amazon Elastic Compute Cloud and you have Amazon Web Services accounts that use that service, those account IDs appear in the response. -
If the
eventScopeCode
value isNONE
, then theeventArn
that you specified in the request is invalid or doesn't exist.
next_token: Option<String>
If the results of a search are large, only a portion of the
results are returned, and a nextToken
pagination token is returned in the response. To
retrieve the next batch of results, reissue the search request and include the returned token.
When all results have been returned, the response does not contain a pagination token value.
Implementations
A JSON set of elements of the affected accounts.
This parameter specifies if the Health event is a public Amazon Web Services service event or an account-specific event.
-
If the
eventScopeCode
value isPUBLIC
, then theaffectedAccounts
value is always empty. -
If the
eventScopeCode
value isACCOUNT_SPECIFIC
, then theaffectedAccounts
value lists the affected Amazon Web Services accounts in your organization. For example, if an event affects a service such as Amazon Elastic Compute Cloud and you have Amazon Web Services accounts that use that service, those account IDs appear in the response. -
If the
eventScopeCode
value isNONE
, then theeventArn
that you specified in the request is invalid or doesn't exist.
If the results of a search are large, only a portion of the
results are returned, and a nextToken
pagination token is returned in the response. To
retrieve the next batch of results, reissue the search request and include the returned token.
When all results have been returned, the response does not contain a pagination token value.
Creates a new builder-style object to manufacture DescribeAffectedAccountsForOrganizationOutput
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more