Module Values.DescribeEventsForOrganizationResponseSource

Returns information about events across your organization in Organizations. You can use thefilters parameter to specify the events that you want to return. Events are returned in a summary form and don't include the affected accounts, detailed description, any additional metadata that depends on the event type, or any affected resources. To retrieve that information, use the following operations: DescribeAffectedAccountsForOrganization DescribeEventDetailsForOrganization DescribeAffectedEntitiesForOrganization If you don't specify a filter, the DescribeEventsForOrganizations returns all events across your organization. Results are sorted by lastModifiedTime, starting with the most recent event. For more information about the different types of Health events, see Event. 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.

Sourcetype nonrec t = {
  1. events : OrganizationEventList.t option;
    (*

    The events that match the specified filter criteria.

    *)
  2. 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 : ?events:??? -> ?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 | `List of [> `Enum of string ] list | `String of EventArn.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