Module Values.DescribeAffectedEntitiesForOrganizationResponseSource

Returns a list of entities that have been affected by one or more events for one or more accounts in your organization in Organizations, based on the filter criteria. Entities can refer to individual customer resources, groups of customer resources, or any other construct, depending on the Amazon Web Services service. At least one event Amazon Resource Name (ARN) and account ID are required. Before you can call this operation, you must first enable Health to work with Organizations. To do this, call the EnableHealthServiceAccessForOrganization operation from your organization's management account. This API operation uses pagination. Specify the nextToken parameter in the next request to return more results. This operation doesn't support resource-level permissions. You can't use this operation to allow or deny access to specific Health events. For more information, see Resource- and action-based conditions in the Health User Guide.

Sourcetype nonrec t = {
  1. entities : EntityList.t option;
    (*

    A JSON set of elements including the awsAccountId and its entityArn, entityValue and its entityArn, lastUpdatedTime, and statusCode.

    *)
  2. failedSet : DescribeAffectedEntitiesForOrganizationFailedSet.t option;
    (*

    A JSON set of elements of the failed response, including the awsAccountId, errorMessage, errorName, and eventArn.

    *)
  3. nextToken : NextToken.t option;
    (*

    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.

    *)
}
Sourcetype nonrec error = [
  1. | `InvalidPaginationToken of InvalidPaginationToken.t
  2. | `UnsupportedLocale of UnsupportedLocale.t
  3. | `Unknown_operation_error of string * string option
]
Sourceval make : ?entities:??? -> ?failedSet:??? -> ?nextToken:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidPaginationToken of InvalidPaginationToken.t | `Unknown_operation_error of string * string option | `UnsupportedLocale of UnsupportedLocale.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidPaginationToken of InvalidPaginationToken.t | `Unknown_operation_error of string * string option | `UnsupportedLocale of UnsupportedLocale.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of EntityArn.t | `Timestamp of Timestamp.t ]) list ] list | `String of NextToken.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t