{
  "version":"2.0",
  "metadata":{
    "apiVersion":"2016-08-04",
    "endpointPrefix":"health",
    "jsonVersion":"1.1",
    "protocol":"json",
    "protocols":["json"],
    "serviceAbbreviation":"AWSHealth",
    "serviceFullName":"AWS Health APIs and Notifications",
    "serviceId":"Health",
    "signatureVersion":"v4",
    "targetPrefix":"AWSHealth_20160804",
    "uid":"health-2016-08-04",
    "auth":["aws.auth#sigv4"]
  },
  "operations":{
    "DescribeAffectedAccountsForOrganization":{
      "name":"DescribeAffectedAccountsForOrganization",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeAffectedAccountsForOrganizationRequest"},
      "output":{"shape":"DescribeAffectedAccountsForOrganizationResponse"},
      "errors":[
        {"shape":"InvalidPaginationToken"}
      ],
      "documentation":"<p>Returns a list of accounts in the organization from Organizations that are affected by the provided event. For more information about the different types of Health events, see <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_Event.html\">Event</a>. </p> <p>Before you can call this operation, you must first enable Health to work with Organizations. To do this, call the <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_EnableHealthServiceAccessForOrganization.html\">EnableHealthServiceAccessForOrganization</a> operation from your organization's management account.</p> <note> <p>This API operation uses pagination. Specify the <code>nextToken</code> parameter in the next request to return more results.</p> </note>",
      "idempotent":true
    },
    "DescribeAffectedEntities":{
      "name":"DescribeAffectedEntities",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeAffectedEntitiesRequest"},
      "output":{"shape":"DescribeAffectedEntitiesResponse"},
      "errors":[
        {"shape":"InvalidPaginationToken"},
        {"shape":"UnsupportedLocale"}
      ],
      "documentation":"<p>Returns a list of entities that have been affected by the specified events, based on the specified filter criteria. Entities can refer to individual customer resources, groups of customer resources, or any other construct, depending on the Amazon Web Services service. Events that have impact beyond that of the affected entities, or where the extent of impact is unknown, include at least one entity indicating this.</p> <p>At least one event ARN is required.</p> <note> <ul> <li> <p>This API operation uses pagination. Specify the <code>nextToken</code> parameter in the next request to return more results.</p> </li> <li> <p>This operation supports resource-level permissions. You can use this operation to allow or deny access to specific Health events. For more information, see <a href=\"https://docs.aws.amazon.com/health/latest/ug/security_iam_id-based-policy-examples.html#resource-action-based-conditions\">Resource- and action-based conditions</a> in the <i>Health User Guide</i>.</p> </li> </ul> </note>",
      "idempotent":true
    },
    "DescribeAffectedEntitiesForOrganization":{
      "name":"DescribeAffectedEntitiesForOrganization",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeAffectedEntitiesForOrganizationRequest"},
      "output":{"shape":"DescribeAffectedEntitiesForOrganizationResponse"},
      "errors":[
        {"shape":"InvalidPaginationToken"},
        {"shape":"UnsupportedLocale"}
      ],
      "documentation":"<p>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.</p> <p>At least one event Amazon Resource Name (ARN) and account ID are required.</p> <p>Before you can call this operation, you must first enable Health to work with Organizations. To do this, call the <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_EnableHealthServiceAccessForOrganization.html\">EnableHealthServiceAccessForOrganization</a> operation from your organization's management account.</p> <note> <ul> <li> <p>This API operation uses pagination. Specify the <code>nextToken</code> parameter in the next request to return more results.</p> </li> <li> <p>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 <a href=\"https://docs.aws.amazon.com/health/latest/ug/security_iam_id-based-policy-examples.html#resource-action-based-conditions\">Resource- and action-based conditions</a> in the <i>Health User Guide</i>.</p> </li> </ul> </note>",
      "idempotent":true
    },
    "DescribeEntityAggregates":{
      "name":"DescribeEntityAggregates",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeEntityAggregatesRequest"},
      "output":{"shape":"DescribeEntityAggregatesResponse"},
      "documentation":"<p>Returns the number of entities that are affected by each of the specified events.</p>",
      "idempotent":true
    },
    "DescribeEntityAggregatesForOrganization":{
      "name":"DescribeEntityAggregatesForOrganization",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeEntityAggregatesForOrganizationRequest"},
      "output":{"shape":"DescribeEntityAggregatesForOrganizationResponse"},
      "documentation":"<p>Returns a list of entity aggregates for your Organizations that are affected by each of the specified events.</p>",
      "idempotent":true
    },
    "DescribeEventAggregates":{
      "name":"DescribeEventAggregates",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeEventAggregatesRequest"},
      "output":{"shape":"DescribeEventAggregatesResponse"},
      "errors":[
        {"shape":"InvalidPaginationToken"}
      ],
      "documentation":"<p>Returns the number of events of each event type (issue, scheduled change, and account notification). If no filter is specified, the counts of all events in each category are returned.</p> <note> <p>This API operation uses pagination. Specify the <code>nextToken</code> parameter in the next request to return more results.</p> </note>",
      "idempotent":true
    },
    "DescribeEventDetails":{
      "name":"DescribeEventDetails",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeEventDetailsRequest"},
      "output":{"shape":"DescribeEventDetailsResponse"},
      "errors":[
        {"shape":"UnsupportedLocale"}
      ],
      "documentation":"<p>Returns detailed information about one or more specified events. Information includes standard event data (Amazon Web Services Region, service, and so on, as returned by <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEvents.html\">DescribeEvents</a>), a detailed event description, and possible additional metadata that depends upon the nature of the event. Affected entities are not included. To retrieve the entities, use the <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedEntities.html\">DescribeAffectedEntities</a> operation.</p> <p>If a specified event can't be retrieved, an error message is returned for that event.</p> <note> <p>This operation supports resource-level permissions. You can use this operation to allow or deny access to specific Health events. For more information, see <a href=\"https://docs.aws.amazon.com/health/latest/ug/security_iam_id-based-policy-examples.html#resource-action-based-conditions\">Resource- and action-based conditions</a> in the <i>Health User Guide</i>.</p> </note>",
      "idempotent":true
    },
    "DescribeEventDetailsForOrganization":{
      "name":"DescribeEventDetailsForOrganization",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeEventDetailsForOrganizationRequest"},
      "output":{"shape":"DescribeEventDetailsForOrganizationResponse"},
      "errors":[
        {"shape":"UnsupportedLocale"}
      ],
      "documentation":"<p>Returns detailed information about one or more specified events for one or more Amazon Web Services accounts in your organization. This information includes standard event data (such as the Amazon Web Services Region and service), an event description, and (depending on the event) possible metadata. This operation doesn't return affected entities, such as the resources related to the event. To return affected entities, use the <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedEntitiesForOrganization.html\">DescribeAffectedEntitiesForOrganization</a> operation.</p> <note> <p>Before you can call this operation, you must first enable Health to work with Organizations. To do this, call the <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_EnableHealthServiceAccessForOrganization.html\">EnableHealthServiceAccessForOrganization</a> operation from your organization's management account.</p> </note> <p>When you call the <code>DescribeEventDetailsForOrganization</code> operation, specify the <code>organizationEventDetailFilters</code> object in the request. Depending on the Health event type, note the following differences:</p> <ul> <li> <p>To return event details for a public event, you must specify a null value for the <code>awsAccountId</code> parameter. If you specify an account ID for a public event, Health returns an error message because public events aren't specific to an account.</p> </li> <li> <p>To return event details for an event that is specific to an account in your organization, you must specify the <code>awsAccountId</code> parameter in the request. If you don't specify an account ID, Health returns an error message because the event is specific to an account in your organization. </p> </li> </ul> <p>For more information, see <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_Event.html\">Event</a>.</p> <note> <p>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 <a href=\"https://docs.aws.amazon.com/health/latest/ug/security_iam_id-based-policy-examples.html#resource-action-based-conditions\">Resource- and action-based conditions</a> in the <i>Health User Guide</i>.</p> </note>",
      "idempotent":true
    },
    "DescribeEventTypes":{
      "name":"DescribeEventTypes",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeEventTypesRequest"},
      "output":{"shape":"DescribeEventTypesResponse"},
      "errors":[
        {"shape":"InvalidPaginationToken"},
        {"shape":"UnsupportedLocale"}
      ],
      "documentation":"<p>Returns the event types that meet the specified filter criteria. You can use this API operation to find information about the Health event, such as the category, Amazon Web Services service, and event code. The metadata for each event appears in the <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_EventType.html\">EventType</a> object. </p> <p>If you don't specify a filter criteria, the API operation returns all event types, in no particular order. </p> <note> <p>This API operation uses pagination. Specify the <code>nextToken</code> parameter in the next request to return more results.</p> </note>",
      "idempotent":true
    },
    "DescribeEvents":{
      "name":"DescribeEvents",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeEventsRequest"},
      "output":{"shape":"DescribeEventsResponse"},
      "errors":[
        {"shape":"InvalidPaginationToken"},
        {"shape":"UnsupportedLocale"}
      ],
      "documentation":"<p> Returns information about events that meet the specified filter criteria. Events are returned in a summary form and do not include the detailed description, any additional metadata that depends on the event type, or any affected resources. To retrieve that information, use the <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetails.html\">DescribeEventDetails</a> and <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedEntities.html\">DescribeAffectedEntities</a> operations.</p> <p>If no filter criteria are specified, all events are returned. Results are sorted by <code>lastModifiedTime</code>, starting with the most recent event.</p> <note> <ul> <li> <p>When you call the <code>DescribeEvents</code> operation and specify an entity for the <code>entityValues</code> parameter, Health might return public events that aren't specific to that resource. For example, if you call <code>DescribeEvents</code> and specify an ID for an Amazon Elastic Compute Cloud (Amazon EC2) instance, Health might return events that aren't specific to that resource or service. To get events that are specific to a service, use the <code>services</code> parameter in the <code>filter</code> object. For more information, see <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_Event.html\">Event</a>.</p> </li> <li> <p>This API operation uses pagination. Specify the <code>nextToken</code> parameter in the next request to return more results.</p> </li> </ul> </note>",
      "idempotent":true
    },
    "DescribeEventsForOrganization":{
      "name":"DescribeEventsForOrganization",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeEventsForOrganizationRequest"},
      "output":{"shape":"DescribeEventsForOrganizationResponse"},
      "errors":[
        {"shape":"InvalidPaginationToken"},
        {"shape":"UnsupportedLocale"}
      ],
      "documentation":"<p>Returns information about events across your organization in Organizations. You can use the<code>filters</code> 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:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedAccountsForOrganization.html\">DescribeAffectedAccountsForOrganization</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetailsForOrganization.html\">DescribeEventDetailsForOrganization</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedEntitiesForOrganization.html\">DescribeAffectedEntitiesForOrganization</a> </p> </li> </ul> <p>If you don't specify a <code>filter</code>, the <code>DescribeEventsForOrganizations</code> returns all events across your organization. Results are sorted by <code>lastModifiedTime</code>, starting with the most recent event. </p> <p>For more information about the different types of Health events, see <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_Event.html\">Event</a>.</p> <p>Before you can call this operation, you must first enable Health to work with Organizations. To do this, call the <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_EnableHealthServiceAccessForOrganization.html\">EnableHealthServiceAccessForOrganization</a> operation from your organization's management account.</p> <note> <p>This API operation uses pagination. Specify the <code>nextToken</code> parameter in the next request to return more results.</p> </note>",
      "idempotent":true
    },
    "DescribeHealthServiceStatusForOrganization":{
      "name":"DescribeHealthServiceStatusForOrganization",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "output":{"shape":"DescribeHealthServiceStatusForOrganizationResponse"},
      "documentation":"<p>This operation provides status information on enabling or disabling Health to work with your organization. To call this operation, you must use the organization's management account.</p>",
      "idempotent":true
    },
    "DisableHealthServiceAccessForOrganization":{
      "name":"DisableHealthServiceAccessForOrganization",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "errors":[
        {"shape":"ConcurrentModificationException"}
      ],
      "documentation":"<p>Disables Health from working with Organizations. To call this operation, you must sign in to the organization's management account. For more information, see <a href=\"https://docs.aws.amazon.com/health/latest/ug/aggregate-events.html\">Aggregating Health events</a> in the <i>Health User Guide</i>.</p> <p>This operation doesn't remove the service-linked role from the management account in your organization. You must use the IAM console, API, or Command Line Interface (CLI) to remove the service-linked role. For more information, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/using-service-linked-roles.html#delete-service-linked-role\">Deleting a Service-Linked Role</a> in the <i>IAM User Guide</i>.</p> <note> <p>You can also disable the organizational feature by using the Organizations <a href=\"https://docs.aws.amazon.com/organizations/latest/APIReference/API_DisableAWSServiceAccess.html\">DisableAWSServiceAccess</a> API operation. After you call this operation, Health stops aggregating events for all other Amazon Web Services accounts in your organization. If you call the Health API operations for organizational view, Health returns an error. Health continues to aggregate health events for your Amazon Web Services account.</p> </note>",
      "idempotent":true
    },
    "EnableHealthServiceAccessForOrganization":{
      "name":"EnableHealthServiceAccessForOrganization",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "errors":[
        {"shape":"ConcurrentModificationException"}
      ],
      "documentation":"<p>Enables Health to work with Organizations. You can use the organizational view feature to aggregate events from all Amazon Web Services accounts in your organization in a centralized location. </p> <p>This operation also creates a service-linked role for the management account in the organization. </p> <note> <p>To call this operation, you must meet the following requirements:</p> <ul> <li> <p>You must have a Business, Enterprise On-Ramp, or Enterprise Support plan from <a href=\"http://aws.amazon.com/premiumsupport/\">Amazon Web Services Support</a> to use the Health API. If you call the Health API from an Amazon Web Services account that doesn't have a Business, Enterprise On-Ramp, or Enterprise Support plan, you receive a <code>SubscriptionRequiredException</code> error.</p> </li> <li> <p>You must have permission to call this operation from the organization's management account. For example IAM policies, see <a href=\"https://docs.aws.amazon.com/health/latest/ug/security_iam_id-based-policy-examples.html\">Health identity-based policy examples</a>.</p> </li> </ul> </note> <p>If you don't have the required support plan, you can instead use the Health console to enable the organizational view feature. For more information, see <a href=\"https://docs.aws.amazon.com/health/latest/ug/aggregate-events.html\">Aggregating Health events</a> in the <i>Health User Guide</i>.</p>",
      "idempotent":true
    }
  },
  "shapes":{
    "AccountEntityAggregate":{
      "type":"structure",
      "members":{
        "accountId":{
          "shape":"eventArn",
          "documentation":"<p>The 12-digit Amazon Web Services account numbers that contains the affected entities.</p>"
        },
        "count":{
          "shape":"count",
          "documentation":"<p>The number of entities that match the filter criteria for the specified events.</p>"
        },
        "statuses":{
          "shape":"entityStatuses",
          "documentation":"<p>The number of affected entities aggregated by the entity status codes.</p>"
        }
      },
      "documentation":"<p>The number of entities in an account that are impacted by a specific event aggregated by the entity status codes.</p>"
    },
    "AccountEntityAggregatesList":{
      "type":"list",
      "member":{"shape":"AccountEntityAggregate"}
    },
    "AffectedEntity":{
      "type":"structure",
      "members":{
        "entityArn":{
          "shape":"entityArn",
          "documentation":"<p>The unique identifier for the entity. Format: <code>arn:aws:health:<i>entity-region</i>:<i>aws-account</i>:entity/<i>entity-id</i> </code>. Example: <code>arn:aws:health:us-east-1:111222333444:entity/AVh5GGT7ul1arKr1sE1K</code> </p>"
        },
        "eventArn":{
          "shape":"eventArn",
          "documentation":"<p>The unique identifier for the event. The event ARN has the <code>arn:aws:health:<i>event-region</i>::event/<i>SERVICE</i>/<i>EVENT_TYPE_CODE</i>/<i>EVENT_TYPE_PLUS_ID</i> </code> format.</p> <p>For example, an event ARN might look like the following:</p> <p> <code>arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456</code> </p>"
        },
        "entityValue":{
          "shape":"entityValue",
          "documentation":"<p>The ID of the affected entity.</p>"
        },
        "entityUrl":{
          "shape":"entityUrl",
          "documentation":"<p>The URL of the affected entity.</p>"
        },
        "awsAccountId":{
          "shape":"accountId",
          "documentation":"<p>The 12-digit Amazon Web Services account number that contains the affected entity.</p>"
        },
        "lastUpdatedTime":{
          "shape":"timestamp",
          "documentation":"<p>The most recent time that the entity was updated.</p>"
        },
        "statusCode":{
          "shape":"entityStatusCode",
          "documentation":"<p>The most recent status of the entity affected by the event. The possible values are <code>IMPAIRED</code>, <code>UNIMPAIRED</code>, and <code>UNKNOWN</code>.</p>"
        },
        "tags":{
          "shape":"tagSet",
          "documentation":"<p>A map of entity tags attached to the affected entity.</p> <note> <p>Currently, the <code>tags</code> property isn't supported.</p> </note>"
        },
        "entityMetadata":{
          "shape":"entityMetadata",
          "documentation":"<p>Additional metadata about the affected entity.</p>"
        }
      },
      "documentation":"<p>Information about an entity that is affected by a Health event.</p>"
    },
    "ConcurrentModificationException":{
      "type":"structure",
      "members":{
        "message":{"shape":"string"}
      },
      "documentation":"<p> <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_EnableHealthServiceAccessForOrganization.html\">EnableHealthServiceAccessForOrganization</a> is already in progress. Wait for the action to complete before trying again. To get the current status, use the <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeHealthServiceStatusForOrganization.html\">DescribeHealthServiceStatusForOrganization</a> operation.</p>",
      "exception":true
    },
    "DateTimeRange":{
      "type":"structure",
      "members":{
        "from":{
          "shape":"timestamp",
          "documentation":"<p>The starting date and time of a time range.</p>"
        },
        "to":{
          "shape":"timestamp",
          "documentation":"<p>The ending date and time of a time range.</p>"
        }
      },
      "documentation":"<p>A range of dates and times that is used by the <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_EventFilter.html\">EventFilter</a> and <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_EntityFilter.html\">EntityFilter</a> objects. If <code>from</code> is set and <code>to</code> is set: match items where the timestamp (<code>startTime</code>, <code>endTime</code>, or <code>lastUpdatedTime</code>) is between <code>from</code> and <code>to</code> inclusive. If <code>from</code> is set and <code>to</code> is not set: match items where the timestamp value is equal to or after <code>from</code>. If <code>from</code> is not set and <code>to</code> is set: match items where the timestamp value is equal to or before <code>to</code>.</p>"
    },
    "DescribeAffectedAccountsForOrganizationRequest":{
      "type":"structure",
      "required":["eventArn"],
      "members":{
        "eventArn":{
          "shape":"eventArn",
          "documentation":"<p>The unique identifier for the event. The event ARN has the <code>arn:aws:health:<i>event-region</i>::event/<i>SERVICE</i>/<i>EVENT_TYPE_CODE</i>/<i>EVENT_TYPE_PLUS_ID</i> </code> format.</p> <p>For example, an event ARN might look like the following:</p> <p> <code>arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456</code> </p>"
        },
        "nextToken":{
          "shape":"nextToken",
          "documentation":"<p>If the results of a search are large, only a portion of the results are returned, and a <code>nextToken</code> 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.</p>"
        },
        "maxResults":{
          "shape":"maxResults",
          "documentation":"<p>The maximum number of items to return in one batch, between 10 and 100, inclusive.</p>"
        }
      }
    },
    "DescribeAffectedAccountsForOrganizationResponse":{
      "type":"structure",
      "members":{
        "affectedAccounts":{
          "shape":"affectedAccountsList",
          "documentation":"<p>A JSON set of elements of the affected accounts.</p>"
        },
        "eventScopeCode":{
          "shape":"eventScopeCode",
          "documentation":"<p>This parameter specifies if the Health event is a public Amazon Web Services service event or an account-specific event.</p> <ul> <li> <p>If the <code>eventScopeCode</code> value is <code>PUBLIC</code>, then the <code>affectedAccounts</code> value is always empty.</p> </li> <li> <p>If the <code>eventScopeCode</code> value is <code>ACCOUNT_SPECIFIC</code>, then the <code>affectedAccounts</code> 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.</p> </li> <li> <p>If the <code>eventScopeCode</code> value is <code>NONE</code>, then the <code>eventArn</code> that you specified in the request is invalid or doesn't exist.</p> </li> </ul>"
        },
        "nextToken":{
          "shape":"nextToken",
          "documentation":"<p>If the results of a search are large, only a portion of the results are returned, and a <code>nextToken</code> 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.</p>"
        }
      }
    },
    "DescribeAffectedEntitiesForOrganizationFailedSet":{
      "type":"list",
      "member":{"shape":"OrganizationAffectedEntitiesErrorItem"}
    },
    "DescribeAffectedEntitiesForOrganizationRequest":{
      "type":"structure",
      "members":{
        "organizationEntityFilters":{
          "shape":"OrganizationEntityFiltersList",
          "documentation":"<p>A JSON set of elements including the <code>awsAccountId</code> and the <code>eventArn</code>.</p>",
          "deprecated":true,
          "deprecatedMessage":"This property is deprecated, use organizationEntityAccountFilters instead."
        },
        "locale":{
          "shape":"locale",
          "documentation":"<p>The locale (language) to return information in. English (en) is the default and the only supported value at this time.</p>"
        },
        "nextToken":{
          "shape":"nextToken",
          "documentation":"<p>If the results of a search are large, only a portion of the results are returned, and a <code>nextToken</code> 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.</p>"
        },
        "maxResults":{
          "shape":"maxResultsLowerRange",
          "documentation":"<p>The maximum number of items to return in one batch, between 10 and 100, inclusive.</p>"
        },
        "organizationEntityAccountFilters":{
          "shape":"OrganizationEntityAccountFiltersList",
          "documentation":"<p>A JSON set of elements including the <code>awsAccountId</code>, <code>eventArn</code> and a set of <code>statusCodes</code>.</p>"
        }
      }
    },
    "DescribeAffectedEntitiesForOrganizationResponse":{
      "type":"structure",
      "members":{
        "entities":{
          "shape":"EntityList",
          "documentation":"<p>A JSON set of elements including the <code>awsAccountId</code> and its <code>entityArn</code>, <code>entityValue</code> and its <code>entityArn</code>, <code>lastUpdatedTime</code>, and <code>statusCode</code>.</p>"
        },
        "failedSet":{
          "shape":"DescribeAffectedEntitiesForOrganizationFailedSet",
          "documentation":"<p>A JSON set of elements of the failed response, including the <code>awsAccountId</code>, <code>errorMessage</code>, <code>errorName</code>, and <code>eventArn</code>.</p>"
        },
        "nextToken":{
          "shape":"nextToken",
          "documentation":"<p>If the results of a search are large, only a portion of the results are returned, and a <code>nextToken</code> 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.</p>"
        }
      }
    },
    "DescribeAffectedEntitiesRequest":{
      "type":"structure",
      "required":["filter"],
      "members":{
        "filter":{
          "shape":"EntityFilter",
          "documentation":"<p>Values to narrow the results returned. At least one event ARN is required.</p>"
        },
        "locale":{
          "shape":"locale",
          "documentation":"<p>The locale (language) to return information in. English (en) is the default and the only supported value at this time.</p>"
        },
        "nextToken":{
          "shape":"nextToken",
          "documentation":"<p>If the results of a search are large, only a portion of the results are returned, and a <code>nextToken</code> 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.</p>"
        },
        "maxResults":{
          "shape":"maxResults",
          "documentation":"<p>The maximum number of items to return in one batch, between 10 and 100, inclusive.</p>"
        }
      }
    },
    "DescribeAffectedEntitiesResponse":{
      "type":"structure",
      "members":{
        "entities":{
          "shape":"EntityList",
          "documentation":"<p>The entities that match the filter criteria.</p>"
        },
        "nextToken":{
          "shape":"nextToken",
          "documentation":"<p>If the results of a search are large, only a portion of the results are returned, and a <code>nextToken</code> 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.</p>"
        }
      }
    },
    "DescribeEntityAggregatesForOrganizationRequest":{
      "type":"structure",
      "required":["eventArns"],
      "members":{
        "eventArns":{
          "shape":"OrganizationEventArnsList",
          "documentation":"<p>A list of event ARNs (unique identifiers). For example: <code>\"arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456\", \"arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101\"</code> </p>"
        },
        "awsAccountIds":{
          "shape":"OrganizationAccountIdsList",
          "documentation":"<p>A list of 12-digit Amazon Web Services account numbers that contains the affected entities.</p>"
        }
      }
    },
    "DescribeEntityAggregatesForOrganizationResponse":{
      "type":"structure",
      "members":{
        "organizationEntityAggregates":{
          "shape":"OrganizationEntityAggregatesList",
          "documentation":"<p>The list of entity aggregates for each of the specified accounts that are affected by each of the specified events.</p>"
        }
      }
    },
    "DescribeEntityAggregatesRequest":{
      "type":"structure",
      "members":{
        "eventArns":{
          "shape":"EventArnsList",
          "documentation":"<p>A list of event ARNs (unique identifiers). For example: <code>\"arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456\", \"arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101\"</code> </p>"
        }
      }
    },
    "DescribeEntityAggregatesResponse":{
      "type":"structure",
      "members":{
        "entityAggregates":{
          "shape":"EntityAggregateList",
          "documentation":"<p>The number of entities that are affected by each of the specified events.</p>"
        }
      }
    },
    "DescribeEventAggregatesRequest":{
      "type":"structure",
      "required":["aggregateField"],
      "members":{
        "filter":{
          "shape":"EventFilter",
          "documentation":"<p>Values to narrow the results returned.</p>"
        },
        "aggregateField":{
          "shape":"eventAggregateField",
          "documentation":"<p>The only currently supported value is <code>eventTypeCategory</code>.</p>"
        },
        "maxResults":{
          "shape":"maxResults",
          "documentation":"<p>The maximum number of items to return in one batch, between 10 and 100, inclusive.</p>"
        },
        "nextToken":{
          "shape":"nextToken",
          "documentation":"<p>If the results of a search are large, only a portion of the results are returned, and a <code>nextToken</code> 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.</p>"
        }
      }
    },
    "DescribeEventAggregatesResponse":{
      "type":"structure",
      "members":{
        "eventAggregates":{
          "shape":"EventAggregateList",
          "documentation":"<p>The number of events in each category that meet the optional filter criteria.</p>"
        },
        "nextToken":{
          "shape":"nextToken",
          "documentation":"<p>If the results of a search are large, only a portion of the results are returned, and a <code>nextToken</code> 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.</p>"
        }
      }
    },
    "DescribeEventDetailsFailedSet":{
      "type":"list",
      "member":{"shape":"EventDetailsErrorItem"}
    },
    "DescribeEventDetailsForOrganizationFailedSet":{
      "type":"list",
      "member":{"shape":"OrganizationEventDetailsErrorItem"}
    },
    "DescribeEventDetailsForOrganizationRequest":{
      "type":"structure",
      "required":["organizationEventDetailFilters"],
      "members":{
        "organizationEventDetailFilters":{
          "shape":"OrganizationEventDetailFiltersList",
          "documentation":"<p>A set of JSON elements that includes the <code>awsAccountId</code> and the <code>eventArn</code>.</p>"
        },
        "locale":{
          "shape":"locale",
          "documentation":"<p>The locale (language) to return information in. English (en) is the default and the only supported value at this time.</p>"
        }
      }
    },
    "DescribeEventDetailsForOrganizationResponse":{
      "type":"structure",
      "members":{
        "successfulSet":{
          "shape":"DescribeEventDetailsForOrganizationSuccessfulSet",
          "documentation":"<p>Information about the events that could be retrieved.</p>"
        },
        "failedSet":{
          "shape":"DescribeEventDetailsForOrganizationFailedSet",
          "documentation":"<p>Error messages for any events that could not be retrieved.</p>"
        }
      }
    },
    "DescribeEventDetailsForOrganizationSuccessfulSet":{
      "type":"list",
      "member":{"shape":"OrganizationEventDetails"}
    },
    "DescribeEventDetailsRequest":{
      "type":"structure",
      "required":["eventArns"],
      "members":{
        "eventArns":{
          "shape":"eventArnList",
          "documentation":"<p>A list of event ARNs (unique identifiers). For example: <code>\"arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456\", \"arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101\"</code> </p>"
        },
        "locale":{
          "shape":"locale",
          "documentation":"<p>The locale (language) to return information in. English (en) is the default and the only supported value at this time.</p>"
        }
      }
    },
    "DescribeEventDetailsResponse":{
      "type":"structure",
      "members":{
        "successfulSet":{
          "shape":"DescribeEventDetailsSuccessfulSet",
          "documentation":"<p>Information about the events that could be retrieved.</p>"
        },
        "failedSet":{
          "shape":"DescribeEventDetailsFailedSet",
          "documentation":"<p>Error messages for any events that could not be retrieved.</p>"
        }
      }
    },
    "DescribeEventDetailsSuccessfulSet":{
      "type":"list",
      "member":{"shape":"EventDetails"}
    },
    "DescribeEventTypesRequest":{
      "type":"structure",
      "members":{
        "filter":{
          "shape":"EventTypeFilter",
          "documentation":"<p>Values to narrow the results returned.</p>"
        },
        "locale":{
          "shape":"locale",
          "documentation":"<p>The locale (language) to return information in. English (en) is the default and the only supported value at this time.</p>"
        },
        "nextToken":{
          "shape":"nextToken",
          "documentation":"<p>If the results of a search are large, only a portion of the results are returned, and a <code>nextToken</code> 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.</p>"
        },
        "maxResults":{
          "shape":"maxResults",
          "documentation":"<p>The maximum number of items to return in one batch, between 10 and 100, inclusive.</p> <note> <p>If you don't specify the <code>maxResults</code> parameter, this operation returns a maximum of 30 items by default.</p> </note>"
        }
      }
    },
    "DescribeEventTypesResponse":{
      "type":"structure",
      "members":{
        "eventTypes":{
          "shape":"EventTypeList",
          "documentation":"<p>A list of event types that match the filter criteria. Event types have a category (<code>issue</code>, <code>accountNotification</code>, or <code>scheduledChange</code>), a service (for example, <code>EC2</code>, <code>RDS</code>, <code>DATAPIPELINE</code>, <code>BILLING</code>), and a code (in the format <code>AWS_<i>SERVICE</i>_<i>DESCRIPTION</i> </code>; for example, <code>AWS_EC2_SYSTEM_MAINTENANCE_EVENT</code>).</p>"
        },
        "nextToken":{
          "shape":"nextToken",
          "documentation":"<p>If the results of a search are large, only a portion of the results are returned, and a <code>nextToken</code> 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.</p>"
        }
      }
    },
    "DescribeEventsForOrganizationRequest":{
      "type":"structure",
      "members":{
        "filter":{
          "shape":"OrganizationEventFilter",
          "documentation":"<p>Values to narrow the results returned.</p>"
        },
        "nextToken":{
          "shape":"nextToken",
          "documentation":"<p>If the results of a search are large, only a portion of the results are returned, and a <code>nextToken</code> 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.</p>"
        },
        "maxResults":{
          "shape":"maxResultsLowerRange",
          "documentation":"<p>The maximum number of items to return in one batch, between 10 and 100, inclusive.</p>"
        },
        "locale":{
          "shape":"locale",
          "documentation":"<p>The locale (language) to return information in. English (en) is the default and the only supported value at this time.</p>"
        }
      }
    },
    "DescribeEventsForOrganizationResponse":{
      "type":"structure",
      "members":{
        "events":{
          "shape":"OrganizationEventList",
          "documentation":"<p>The events that match the specified filter criteria.</p>"
        },
        "nextToken":{
          "shape":"nextToken",
          "documentation":"<p>If the results of a search are large, only a portion of the results are returned, and a <code>nextToken</code> 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.</p>"
        }
      }
    },
    "DescribeEventsRequest":{
      "type":"structure",
      "members":{
        "filter":{
          "shape":"EventFilter",
          "documentation":"<p>Values to narrow the results returned.</p>"
        },
        "nextToken":{
          "shape":"nextToken",
          "documentation":"<p>If the results of a search are large, only a portion of the results are returned, and a <code>nextToken</code> 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.</p>"
        },
        "maxResults":{
          "shape":"maxResults",
          "documentation":"<p>The maximum number of items to return in one batch, between 10 and 100, inclusive.</p>"
        },
        "locale":{
          "shape":"locale",
          "documentation":"<p>The locale (language) to return information in. English (en) is the default and the only supported value at this time.</p>"
        }
      }
    },
    "DescribeEventsResponse":{
      "type":"structure",
      "members":{
        "events":{
          "shape":"EventList",
          "documentation":"<p>The events that match the specified filter criteria.</p>"
        },
        "nextToken":{
          "shape":"nextToken",
          "documentation":"<p>If the results of a search are large, only a portion of the results are returned, and a <code>nextToken</code> 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.</p>"
        }
      }
    },
    "DescribeHealthServiceStatusForOrganizationResponse":{
      "type":"structure",
      "members":{
        "healthServiceAccessStatusForOrganization":{
          "shape":"healthServiceAccessStatusForOrganization",
          "documentation":"<p>Information about the status of enabling or disabling the Health organizational view feature in your organization.</p> <p>Valid values are <code>ENABLED | DISABLED | PENDING</code>. </p>"
        }
      }
    },
    "EntityAccountFilter":{
      "type":"structure",
      "required":["eventArn"],
      "members":{
        "eventArn":{
          "shape":"eventArn",
          "documentation":"<p>The unique identifier for the event. The event ARN has the <code>arn:aws:health:<i>event-region</i>::event/<i>SERVICE</i>/<i>EVENT_TYPE_CODE</i>/<i>EVENT_TYPE_PLUS_ID</i> </code> format.</p> <p>For example, an event ARN might look like the following:</p> <p> <code>arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456</code> </p>"
        },
        "awsAccountId":{
          "shape":"accountId",
          "documentation":"<p>The 12-digit Amazon Web Services account numbers that contains the affected entities.</p>"
        },
        "statusCodes":{
          "shape":"entityStatusCodeList",
          "documentation":"<p>A list of entity status codes.</p>"
        }
      },
      "documentation":"<p>A JSON set of elements including the <code>awsAccountId</code>, <code>eventArn</code> and a set of <code>statusCodes</code>.</p>"
    },
    "EntityAggregate":{
      "type":"structure",
      "members":{
        "eventArn":{
          "shape":"eventArn",
          "documentation":"<p>The unique identifier for the event. The event ARN has the <code>arn:aws:health:<i>event-region</i>::event/<i>SERVICE</i>/<i>EVENT_TYPE_CODE</i>/<i>EVENT_TYPE_PLUS_ID</i> </code> format.</p> <p>For example, an event ARN might look like the following:</p> <p> <code>arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456</code> </p>"
        },
        "count":{
          "shape":"count",
          "documentation":"<p>The number of entities that match the criteria for the specified events.</p>"
        },
        "statuses":{
          "shape":"entityStatuses",
          "documentation":"<p>The number of affected entities aggregated by the entity status codes.</p>"
        }
      },
      "documentation":"<p>The number of entities that are affected by one or more events. Returned by the <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEntityAggregates.html\">DescribeEntityAggregates</a> operation.</p>"
    },
    "EntityAggregateList":{
      "type":"list",
      "member":{"shape":"EntityAggregate"}
    },
    "EntityFilter":{
      "type":"structure",
      "required":["eventArns"],
      "members":{
        "eventArns":{
          "shape":"eventArnList",
          "documentation":"<p>A list of event ARNs (unique identifiers). For example: <code>\"arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456\", \"arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101\"</code> </p>"
        },
        "entityArns":{
          "shape":"entityArnList",
          "documentation":"<p>A list of entity ARNs (unique identifiers).</p>"
        },
        "entityValues":{
          "shape":"entityValueList",
          "documentation":"<p>A list of IDs for affected entities.</p>"
        },
        "lastUpdatedTimes":{
          "shape":"dateTimeRangeList",
          "documentation":"<p>A list of the most recent dates and times that the entity was updated.</p>"
        },
        "tags":{
          "shape":"tagFilter",
          "documentation":"<p>A map of entity tags attached to the affected entity.</p> <note> <p>Currently, the <code>tags</code> property isn't supported.</p> </note>"
        },
        "statusCodes":{
          "shape":"entityStatusCodeList",
          "documentation":"<p>A list of entity status codes (<code>IMPAIRED</code>, <code>UNIMPAIRED</code>, or <code>UNKNOWN</code>).</p>"
        }
      },
      "documentation":"<p>The values to use to filter results from the <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedEntities.html\">DescribeAffectedEntities</a> operation.</p>"
    },
    "EntityList":{
      "type":"list",
      "member":{"shape":"AffectedEntity"}
    },
    "Event":{
      "type":"structure",
      "members":{
        "arn":{
          "shape":"eventArn",
          "documentation":"<p>The unique identifier for the event. The event ARN has the <code>arn:aws:health:<i>event-region</i>::event/<i>SERVICE</i>/<i>EVENT_TYPE_CODE</i>/<i>EVENT_TYPE_PLUS_ID</i> </code> format.</p> <p>For example, an event ARN might look like the following:</p> <p> <code>arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456</code> </p>"
        },
        "service":{
          "shape":"service",
          "documentation":"<p>The Amazon Web Services service that is affected by the event. For example, <code>EC2</code>, <code>RDS</code>.</p>"
        },
        "eventTypeCode":{
          "shape":"eventTypeCode",
          "documentation":"<p>The unique identifier for the event type. The format is <code>AWS_<i>SERVICE</i>_<i>DESCRIPTION</i> </code>; for example, <code>AWS_EC2_SYSTEM_MAINTENANCE_EVENT</code>.</p>"
        },
        "eventTypeCategory":{
          "shape":"eventTypeCategory",
          "documentation":"<p>A list of event type category codes. Possible values are <code>issue</code>, <code>accountNotification</code>, or <code>scheduledChange</code>. Currently, the <code>investigation</code> value isn't supported at this time.</p>"
        },
        "region":{
          "shape":"region",
          "documentation":"<p>The Amazon Web Services Region name of the event.</p>"
        },
        "availabilityZone":{
          "shape":"availabilityZone",
          "documentation":"<p>The Amazon Web Services Availability Zone of the event. For example, us-east-1a.</p>"
        },
        "startTime":{
          "shape":"timestamp",
          "documentation":"<p>The date and time that the event began.</p>"
        },
        "endTime":{
          "shape":"timestamp",
          "documentation":"<p>The date and time that the event ended.</p>"
        },
        "lastUpdatedTime":{
          "shape":"timestamp",
          "documentation":"<p>The most recent date and time that the event was updated.</p>"
        },
        "statusCode":{
          "shape":"eventStatusCode",
          "documentation":"<p>The most recent status of the event. Possible values are <code>open</code>, <code>closed</code>, and <code>upcoming</code>.</p>"
        },
        "eventScopeCode":{
          "shape":"eventScopeCode",
          "documentation":"<p>This parameter specifies if the Health event is a public Amazon Web Services service event or an account-specific event.</p> <ul> <li> <p>If the <code>eventScopeCode</code> value is <code>PUBLIC</code>, then the <code>affectedAccounts</code> value is always empty.</p> </li> <li> <p>If the <code>eventScopeCode</code> value is <code>ACCOUNT_SPECIFIC</code>, then the <code>affectedAccounts</code> 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.</p> </li> <li> <p>If the <code>eventScopeCode</code> value is <code>NONE</code>, then the <code>eventArn</code> that you specified in the request is invalid or doesn't exist.</p> </li> </ul>"
        }
      },
      "documentation":"<p>Summary information about an Health event.</p> <p>Health events can be public or account-specific:</p> <ul> <li> <p> <i>Public events</i> might be service events that are not specific to an Amazon Web Services account. For example, if there is an issue with an Amazon Web Services Region, Health provides information about the event, even if you don't use services or resources in that Region.</p> </li> <li> <p> <i>Account-specific</i> events are specific to either your Amazon Web Services account or an account in your organization. For example, if there's an issue with Amazon Elastic Compute Cloud in a Region that you use, Health provides information about the event and the affected resources in the account.</p> </li> </ul> <p>You can determine if an event is public or account-specific by using the <code>eventScopeCode</code> parameter. For more information, see <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_Event.html#AWSHealth-Type-Event-eventScopeCode\">eventScopeCode</a>.</p>"
    },
    "EventAccountFilter":{
      "type":"structure",
      "required":["eventArn"],
      "members":{
        "eventArn":{
          "shape":"eventArn",
          "documentation":"<p>The unique identifier for the event. The event ARN has the <code>arn:aws:health:<i>event-region</i>::event/<i>SERVICE</i>/<i>EVENT_TYPE_CODE</i>/<i>EVENT_TYPE_PLUS_ID</i> </code> format.</p> <p>For example, an event ARN might look like the following:</p> <p> <code>arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456</code> </p>"
        },
        "awsAccountId":{
          "shape":"accountId",
          "documentation":"<p>The 12-digit Amazon Web Services account numbers that contains the affected entities.</p>"
        }
      },
      "documentation":"<p>The values used to filter results from the <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetailsForOrganization.html\">DescribeEventDetailsForOrganization</a> and <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedEntitiesForOrganization.html\">DescribeAffectedEntitiesForOrganization</a> operations.</p>"
    },
    "EventAggregate":{
      "type":"structure",
      "members":{
        "aggregateValue":{
          "shape":"aggregateValue",
          "documentation":"<p>The issue type for the associated count.</p>"
        },
        "count":{
          "shape":"count",
          "documentation":"<p>The number of events of the associated issue type.</p>"
        }
      },
      "documentation":"<p>The number of events of each issue type. Returned by the <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventAggregates.html\">DescribeEventAggregates</a> operation.</p>"
    },
    "EventAggregateList":{
      "type":"list",
      "member":{"shape":"EventAggregate"}
    },
    "EventArnsList":{
      "type":"list",
      "member":{"shape":"eventArn"},
      "max":50,
      "min":1
    },
    "EventDescription":{
      "type":"structure",
      "members":{
        "latestDescription":{
          "shape":"eventDescription",
          "documentation":"<p>The most recent description of the event.</p>"
        }
      },
      "documentation":"<p>The detailed description of the event. Included in the information returned by the <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetails.html\">DescribeEventDetails</a> operation.</p>"
    },
    "EventDetails":{
      "type":"structure",
      "members":{
        "event":{
          "shape":"Event",
          "documentation":"<p>Summary information about the event.</p>"
        },
        "eventDescription":{
          "shape":"EventDescription",
          "documentation":"<p>The most recent description of the event.</p>"
        },
        "eventMetadata":{
          "shape":"eventMetadata",
          "documentation":"<p>Additional metadata about the event.</p>"
        }
      },
      "documentation":"<p>Detailed information about an event. A combination of an <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_Event.html\">Event</a> object, an <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_EventDescription.html\">EventDescription</a> object, and additional metadata about the event. Returned by the <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetails.html\">DescribeEventDetails</a> operation.</p>"
    },
    "EventDetailsErrorItem":{
      "type":"structure",
      "members":{
        "eventArn":{
          "shape":"eventArn",
          "documentation":"<p>The unique identifier for the event. The event ARN has the <code>arn:aws:health:<i>event-region</i>::event/<i>SERVICE</i>/<i>EVENT_TYPE_CODE</i>/<i>EVENT_TYPE_PLUS_ID</i> </code> format.</p> <p>For example, an event ARN might look like the following:</p> <p> <code>arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456</code> </p>"
        },
        "errorName":{
          "shape":"string",
          "documentation":"<p>The name of the error.</p>"
        },
        "errorMessage":{
          "shape":"string",
          "documentation":"<p>A message that describes the error.</p>"
        }
      },
      "documentation":"<p>Error information returned when a <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetails.html\">DescribeEventDetails</a> operation can't find a specified event.</p>"
    },
    "EventFilter":{
      "type":"structure",
      "members":{
        "eventArns":{
          "shape":"eventArnList",
          "documentation":"<p>A list of event ARNs (unique identifiers). For example: <code>\"arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456\", \"arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101\"</code> </p>"
        },
        "eventTypeCodes":{
          "shape":"eventTypeList",
          "documentation":"<p>A list of unique identifiers for event types. For example, <code>\"AWS_EC2_SYSTEM_MAINTENANCE_EVENT\",\"AWS_RDS_MAINTENANCE_SCHEDULED\".</code> </p>"
        },
        "services":{
          "shape":"serviceList",
          "documentation":"<p>The Amazon Web Services services associated with the event. For example, <code>EC2</code>, <code>RDS</code>.</p>"
        },
        "regions":{
          "shape":"regionList",
          "documentation":"<p>A list of Amazon Web Services Regions.</p>"
        },
        "availabilityZones":{
          "shape":"availabilityZones",
          "documentation":"<p>A list of Amazon Web Services Availability Zones.</p>"
        },
        "startTimes":{
          "shape":"dateTimeRangeList",
          "documentation":"<p>A list of dates and times that the event began.</p>"
        },
        "endTimes":{
          "shape":"dateTimeRangeList",
          "documentation":"<p>A list of dates and times that the event ended.</p>"
        },
        "lastUpdatedTimes":{
          "shape":"dateTimeRangeList",
          "documentation":"<p>A list of dates and times that the event was last updated.</p>"
        },
        "entityArns":{
          "shape":"entityArnList",
          "documentation":"<p>A list of entity ARNs (unique identifiers).</p>"
        },
        "entityValues":{
          "shape":"entityValueList",
          "documentation":"<p>A list of entity identifiers, such as EC2 instance IDs (<code>i-34ab692e</code>) or EBS volumes (<code>vol-426ab23e</code>).</p>"
        },
        "eventTypeCategories":{
          "shape":"eventTypeCategoryList",
          "documentation":"<p>A list of event type category codes. Possible values are <code>issue</code>, <code>accountNotification</code>, or <code>scheduledChange</code>. Currently, the <code>investigation</code> value isn't supported at this time.</p>"
        },
        "tags":{
          "shape":"tagFilter",
          "documentation":"<p>A map of entity tags attached to the affected entity.</p> <note> <p>Currently, the <code>tags</code> property isn't supported.</p> </note>"
        },
        "eventStatusCodes":{
          "shape":"eventStatusCodeList",
          "documentation":"<p>A list of event status codes.</p>"
        }
      },
      "documentation":"<p>The values to use to filter results from the <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEvents.html\">DescribeEvents</a> and <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventAggregates.html\">DescribeEventAggregates</a> operations.</p>"
    },
    "EventList":{
      "type":"list",
      "member":{"shape":"Event"}
    },
    "EventType":{
      "type":"structure",
      "members":{
        "service":{
          "shape":"service",
          "documentation":"<p>The Amazon Web Services service that is affected by the event. For example, <code>EC2</code>, <code>RDS</code>.</p>"
        },
        "code":{
          "shape":"eventTypeCode",
          "documentation":"<p>The unique identifier for the event type. The format is <code>AWS_<i>SERVICE</i>_<i>DESCRIPTION</i> </code>; for example, <code>AWS_EC2_SYSTEM_MAINTENANCE_EVENT</code>.</p>"
        },
        "category":{
          "shape":"eventTypeCategory",
          "documentation":"<p>A list of event type category codes. Possible values are <code>issue</code>, <code>accountNotification</code>, or <code>scheduledChange</code>. Currently, the <code>investigation</code> value isn't supported at this time.</p>"
        }
      },
      "documentation":"<p>Contains the metadata about a type of event that is reported by Health. The <code>EventType</code> shows the category, service, and the event type code of the event. For example, an <code>issue</code> might be the category, <code>EC2</code> the service, and <code>AWS_EC2_SYSTEM_MAINTENANCE_EVENT</code> the event type code.</p> <p>You can use the <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventTypes.html\">DescribeEventTypes</a> API operation to return this information about an event.</p> <p>You can also use the Amazon CloudWatch Events console to create a rule so that you can get notified or take action when Health delivers a specific event to your Amazon Web Services account. For more information, see <a href=\"https://docs.aws.amazon.com/health/latest/ug/cloudwatch-events-health.html\">Monitor for Health events with Amazon CloudWatch Events</a> in the <i>Health User Guide</i>.</p>"
    },
    "EventTypeCategoryList":{
      "type":"list",
      "member":{"shape":"eventTypeCategory"},
      "max":10,
      "min":1
    },
    "EventTypeCodeList":{
      "type":"list",
      "member":{"shape":"eventTypeCode"},
      "max":10,
      "min":1
    },
    "EventTypeFilter":{
      "type":"structure",
      "members":{
        "eventTypeCodes":{
          "shape":"EventTypeCodeList",
          "documentation":"<p>A list of event type codes.</p>"
        },
        "services":{
          "shape":"serviceList",
          "documentation":"<p>The Amazon Web Services services associated with the event. For example, <code>EC2</code>, <code>RDS</code>.</p>"
        },
        "eventTypeCategories":{
          "shape":"EventTypeCategoryList",
          "documentation":"<p>A list of event type category codes. Possible values are <code>issue</code>, <code>accountNotification</code>, or <code>scheduledChange</code>. Currently, the <code>investigation</code> value isn't supported at this time.</p>"
        }
      },
      "documentation":"<p>The values to use to filter results from the <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventTypes.html\">DescribeEventTypes</a> operation.</p>"
    },
    "EventTypeList":{
      "type":"list",
      "member":{"shape":"EventType"}
    },
    "InvalidPaginationToken":{
      "type":"structure",
      "members":{
        "message":{"shape":"string"}
      },
      "documentation":"<p>The specified pagination token (<code>nextToken</code>) is not valid.</p>",
      "exception":true
    },
    "OrganizationAccountIdsList":{
      "type":"list",
      "member":{"shape":"accountId"},
      "max":25,
      "min":1
    },
    "OrganizationAffectedEntitiesErrorItem":{
      "type":"structure",
      "members":{
        "awsAccountId":{
          "shape":"accountId",
          "documentation":"<p>The 12-digit Amazon Web Services account numbers that contains the affected entities.</p>"
        },
        "eventArn":{
          "shape":"eventArn",
          "documentation":"<p>The unique identifier for the event. The event ARN has the <code>arn:aws:health:<i>event-region</i>::event/<i>SERVICE</i>/<i>EVENT_TYPE_CODE</i>/<i>EVENT_TYPE_PLUS_ID</i> </code> format.</p> <p>For example, an event ARN might look like the following:</p> <p> <code>arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456</code> </p>"
        },
        "errorName":{
          "shape":"string",
          "documentation":"<p>The name of the error.</p>"
        },
        "errorMessage":{
          "shape":"string",
          "documentation":"<p>A message that describes the error. Follow the error message and retry your request.</p> <p>For example, the <code>InvalidAccountInputError</code> error message appears if you call the <code>DescribeAffectedEntitiesForOrganization</code> operation and specify the <code>AccountSpecific</code> value for the <code>EventScopeCode</code> parameter, but don't specify an Amazon Web Services account.</p>"
        }
      },
      "documentation":"<p>Error information returned when a <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedEntitiesForOrganization.html\">DescribeAffectedEntitiesForOrganization</a> operation can't find or process a specific entity.</p>"
    },
    "OrganizationEntityAccountFiltersList":{
      "type":"list",
      "member":{"shape":"EntityAccountFilter"},
      "max":10,
      "min":1
    },
    "OrganizationEntityAggregate":{
      "type":"structure",
      "members":{
        "eventArn":{
          "shape":"eventArn",
          "documentation":"<p>A list of event ARNs (unique identifiers). For example: <code>\"arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456\", \"arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101\"</code> </p>"
        },
        "count":{
          "shape":"count",
          "documentation":"<p>The number of entities for the organization that match the filter criteria for the specified events.</p>"
        },
        "statuses":{
          "shape":"entityStatuses",
          "documentation":"<p>The number of affected entities aggregated by the entitiy status codes.</p>"
        },
        "accounts":{
          "shape":"AccountEntityAggregatesList",
          "documentation":"<p>A list of entity aggregates for each of the specified accounts in your organization that are affected by a specific event. If there are no <code>awsAccountIds</code> provided in the request, this field will be empty in the response.</p>"
        }
      },
      "documentation":"<p>The aggregate results of entities affected by the specified event in your organization. The results are aggregated by the entity status codes for the specified set of accountsIDs.</p>"
    },
    "OrganizationEntityAggregatesList":{
      "type":"list",
      "member":{"shape":"OrganizationEntityAggregate"}
    },
    "OrganizationEntityFiltersList":{
      "type":"list",
      "member":{"shape":"EventAccountFilter"},
      "max":10,
      "min":1
    },
    "OrganizationEvent":{
      "type":"structure",
      "members":{
        "arn":{
          "shape":"eventArn",
          "documentation":"<p>The unique identifier for the event. The event ARN has the <code>arn:aws:health:<i>event-region</i>::event/<i>SERVICE</i>/<i>EVENT_TYPE_CODE</i>/<i>EVENT_TYPE_PLUS_ID</i> </code> format.</p> <p>For example, an event ARN might look like the following:</p> <p> <code>arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456</code> </p>"
        },
        "service":{
          "shape":"service",
          "documentation":"<p>The Amazon Web Services service that is affected by the event, such as EC2 and RDS.</p>"
        },
        "eventTypeCode":{
          "shape":"eventTypeCode",
          "documentation":"<p>The unique identifier for the event type. The format is <code>AWS_SERVICE_DESCRIPTION</code>. For example, <code>AWS_EC2_SYSTEM_MAINTENANCE_EVENT</code>.</p>"
        },
        "eventTypeCategory":{
          "shape":"eventTypeCategory",
          "documentation":"<p>A list of event type category codes. Possible values are <code>issue</code>, <code>accountNotification</code>, or <code>scheduledChange</code>. Currently, the <code>investigation</code> value isn't supported at this time.</p>"
        },
        "eventScopeCode":{
          "shape":"eventScopeCode",
          "documentation":"<p>This parameter specifies if the Health event is a public Amazon Web Services service event or an account-specific event.</p> <ul> <li> <p>If the <code>eventScopeCode</code> value is <code>PUBLIC</code>, then the <code>affectedAccounts</code> value is always empty.</p> </li> <li> <p>If the <code>eventScopeCode</code> value is <code>ACCOUNT_SPECIFIC</code>, then the <code>affectedAccounts</code> 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.</p> </li> <li> <p>If the <code>eventScopeCode</code> value is <code>NONE</code>, then the <code>eventArn</code> that you specified in the request is invalid or doesn't exist.</p> </li> </ul>"
        },
        "region":{
          "shape":"region",
          "documentation":"<p>The Amazon Web Services Region name of the event.</p>"
        },
        "startTime":{
          "shape":"timestamp",
          "documentation":"<p>The date and time that the event began.</p>"
        },
        "endTime":{
          "shape":"timestamp",
          "documentation":"<p>The date and time that the event ended.</p>"
        },
        "lastUpdatedTime":{
          "shape":"timestamp",
          "documentation":"<p>The most recent date and time that the event was updated.</p>"
        },
        "statusCode":{
          "shape":"eventStatusCode",
          "documentation":"<p>The most recent status of the event. Possible values are <code>open</code>, <code>closed</code>, and <code>upcoming</code>.</p>"
        }
      },
      "documentation":"<p>Summary information about an event, returned by the <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventsForOrganization.html\">DescribeEventsForOrganization</a> operation.</p>"
    },
    "OrganizationEventArnsList":{
      "type":"list",
      "member":{"shape":"eventArn"},
      "max":25,
      "min":1
    },
    "OrganizationEventDetailFiltersList":{
      "type":"list",
      "member":{"shape":"EventAccountFilter"},
      "max":10,
      "min":1
    },
    "OrganizationEventDetails":{
      "type":"structure",
      "members":{
        "awsAccountId":{
          "shape":"accountId",
          "documentation":"<p>The 12-digit Amazon Web Services account numbers that contains the affected entities.</p>"
        },
        "event":{"shape":"Event"},
        "eventDescription":{"shape":"EventDescription"},
        "eventMetadata":{
          "shape":"eventMetadata",
          "documentation":"<p>Additional metadata about the event.</p>"
        }
      },
      "documentation":"<p>Detailed information about an event. A combination of an <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_Event.html\">Event</a> object, an <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_EventDescription.html\">EventDescription</a> object, and additional metadata about the event. Returned by the <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetailsForOrganization.html\">DescribeEventDetailsForOrganization</a> operation.</p>"
    },
    "OrganizationEventDetailsErrorItem":{
      "type":"structure",
      "members":{
        "awsAccountId":{
          "shape":"accountId",
          "documentation":"<p>Error information returned when a <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetailsForOrganization.html\">DescribeEventDetailsForOrganization</a> operation can't find a specified event.</p>"
        },
        "eventArn":{
          "shape":"eventArn",
          "documentation":"<p>The unique identifier for the event. The event ARN has the <code>arn:aws:health:<i>event-region</i>::event/<i>SERVICE</i>/<i>EVENT_TYPE_CODE</i>/<i>EVENT_TYPE_PLUS_ID</i> </code> format.</p> <p>For example, an event ARN might look like the following:</p> <p> <code>arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456</code> </p>"
        },
        "errorName":{
          "shape":"string",
          "documentation":"<p>The name of the error.</p>"
        },
        "errorMessage":{
          "shape":"string",
          "documentation":"<p>A message that describes the error.</p> <p>If you call the <code>DescribeEventDetailsForOrganization</code> operation and receive one of the following errors, follow the recommendations in the message:</p> <ul> <li> <p>We couldn't find a public event that matches your request. To find an event that is account specific, you must enter an Amazon Web Services account ID in the request.</p> </li> <li> <p>We couldn't find an account specific event for the specified Amazon Web Services account. To find an event that is public, you must enter a null value for the Amazon Web Services account ID in the request.</p> </li> <li> <p>Your Amazon Web Services account doesn't include the Amazon Web Services Support plan required to use the Health API. You must have either a Business, Enterprise On-Ramp, or Enterprise Support plan.</p> </li> </ul>"
        }
      },
      "documentation":"<p>Error information returned when a <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetailsForOrganization.html\">DescribeEventDetailsForOrganization</a> operation can't find a specified event.</p>"
    },
    "OrganizationEventFilter":{
      "type":"structure",
      "members":{
        "eventTypeCodes":{
          "shape":"eventTypeList",
          "documentation":"<p>A list of unique identifiers for event types. For example, <code>\"AWS_EC2_SYSTEM_MAINTENANCE_EVENT\",\"AWS_RDS_MAINTENANCE_SCHEDULED\".</code> </p>"
        },
        "awsAccountIds":{
          "shape":"awsAccountIdsList",
          "documentation":"<p>A list of 12-digit Amazon Web Services account numbers that contains the affected entities.</p>"
        },
        "services":{
          "shape":"serviceList",
          "documentation":"<p>The Amazon Web Services services associated with the event. For example, <code>EC2</code>, <code>RDS</code>.</p>"
        },
        "regions":{
          "shape":"regionList",
          "documentation":"<p>A list of Amazon Web Services Regions.</p>"
        },
        "startTime":{"shape":"DateTimeRange"},
        "endTime":{"shape":"DateTimeRange"},
        "lastUpdatedTime":{"shape":"DateTimeRange"},
        "entityArns":{
          "shape":"entityArnList",
          "documentation":"<p>A list of entity ARNs (unique identifiers).</p>"
        },
        "entityValues":{
          "shape":"entityValueList",
          "documentation":"<p>A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (vol-426ab23e).</p>"
        },
        "eventTypeCategories":{
          "shape":"eventTypeCategoryList",
          "documentation":"<p>A list of event type category codes. Possible values are <code>issue</code>, <code>accountNotification</code>, or <code>scheduledChange</code>. Currently, the <code>investigation</code> value isn't supported at this time.</p>"
        },
        "eventStatusCodes":{
          "shape":"eventStatusCodeList",
          "documentation":"<p>A list of event status codes.</p>"
        }
      },
      "documentation":"<p>The values to filter results from the <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventsForOrganization.html\">DescribeEventsForOrganization</a> operation.</p>"
    },
    "OrganizationEventList":{
      "type":"list",
      "member":{"shape":"OrganizationEvent"}
    },
    "UnsupportedLocale":{
      "type":"structure",
      "members":{
        "message":{"shape":"string"}
      },
      "documentation":"<p>The specified locale is not supported.</p>",
      "exception":true
    },
    "accountId":{
      "type":"string",
      "max":12,
      "pattern":"^\\S+$"
    },
    "affectedAccountsList":{
      "type":"list",
      "member":{"shape":"accountId"}
    },
    "aggregateValue":{"type":"string"},
    "availabilityZone":{
      "type":"string",
      "max":18,
      "min":6,
      "pattern":"[a-z]{2}\\-[0-9a-z\\-]{4,16}"
    },
    "availabilityZones":{
      "type":"list",
      "member":{"shape":"availabilityZone"}
    },
    "awsAccountIdsList":{
      "type":"list",
      "member":{"shape":"accountId"},
      "max":50,
      "min":1
    },
    "count":{"type":"integer"},
    "dateTimeRangeList":{
      "type":"list",
      "member":{"shape":"DateTimeRange"},
      "max":10,
      "min":1
    },
    "entityArn":{
      "type":"string",
      "max":1600,
      "pattern":".{0,1600}"
    },
    "entityArnList":{
      "type":"list",
      "member":{"shape":"entityArn"},
      "max":99,
      "min":1
    },
    "entityMetadata":{
      "type":"map",
      "key":{"shape":"entityMetadataKey"},
      "value":{"shape":"entityMetadataValue"}
    },
    "entityMetadataKey":{
      "type":"string",
      "max":1024
    },
    "entityMetadataValue":{
      "type":"string",
      "max":1024
    },
    "entityStatusCode":{
      "type":"string",
      "enum":[
        "IMPAIRED",
        "UNIMPAIRED",
        "UNKNOWN",
        "PENDING",
        "RESOLVED"
      ]
    },
    "entityStatusCodeList":{
      "type":"list",
      "member":{"shape":"entityStatusCode"},
      "max":5,
      "min":1
    },
    "entityStatuses":{
      "type":"map",
      "key":{"shape":"entityStatusCode"},
      "value":{"shape":"count"}
    },
    "entityUrl":{"type":"string"},
    "entityValue":{
      "type":"string",
      "max":1224,
      "pattern":".{0,1224}"
    },
    "entityValueList":{
      "type":"list",
      "member":{"shape":"entityValue"},
      "max":99,
      "min":1
    },
    "eventAggregateField":{
      "type":"string",
      "enum":["eventTypeCategory"]
    },
    "eventArn":{
      "type":"string",
      "max":1600,
      "pattern":"arn:aws(-[a-z]+(-[a-z]+)?)?:health:[^:]*:[^:]*:event(?:/[\\w-]+){3}"
    },
    "eventArnList":{
      "type":"list",
      "member":{"shape":"eventArn"},
      "max":10,
      "min":1
    },
    "eventDescription":{"type":"string"},
    "eventMetadata":{
      "type":"map",
      "key":{"shape":"metadataKey"},
      "value":{"shape":"metadataValue"}
    },
    "eventScopeCode":{
      "type":"string",
      "enum":[
        "PUBLIC",
        "ACCOUNT_SPECIFIC",
        "NONE"
      ]
    },
    "eventStatusCode":{
      "type":"string",
      "enum":[
        "open",
        "closed",
        "upcoming"
      ]
    },
    "eventStatusCodeList":{
      "type":"list",
      "member":{"shape":"eventStatusCode"},
      "max":6,
      "min":1
    },
    "eventType":{
      "type":"string",
      "max":100,
      "min":3,
      "pattern":"[^:/]{3,100}"
    },
    "eventTypeCategory":{
      "type":"string",
      "enum":[
        "issue",
        "accountNotification",
        "scheduledChange",
        "investigation"
      ],
      "max":255,
      "min":3
    },
    "eventTypeCategoryList":{
      "type":"list",
      "member":{"shape":"eventTypeCategory"},
      "max":10,
      "min":1
    },
    "eventTypeCode":{
      "type":"string",
      "max":100,
      "min":3,
      "pattern":"[a-zA-Z0-9\\_\\-]{3,100}"
    },
    "eventTypeList":{
      "type":"list",
      "member":{"shape":"eventType"},
      "max":10,
      "min":1
    },
    "healthServiceAccessStatusForOrganization":{"type":"string"},
    "locale":{
      "type":"string",
      "max":256,
      "min":2,
      "pattern":".{2,256}"
    },
    "maxResults":{
      "type":"integer",
      "max":100,
      "min":10
    },
    "maxResultsLowerRange":{
      "type":"integer",
      "max":100,
      "min":1
    },
    "metadataKey":{
      "type":"string",
      "max":32766
    },
    "metadataValue":{
      "type":"string",
      "max":32766
    },
    "nextToken":{
      "type":"string",
      "max":10000,
      "min":4,
      "pattern":"[a-zA-Z0-9=/+_.-]{4,10000}"
    },
    "region":{
      "type":"string",
      "max":25,
      "min":2,
      "pattern":"[^:/]{2,25}"
    },
    "regionList":{
      "type":"list",
      "member":{"shape":"region"},
      "max":10,
      "min":1
    },
    "service":{
      "type":"string",
      "max":30,
      "min":2,
      "pattern":"[^:/]{2,30}"
    },
    "serviceList":{
      "type":"list",
      "member":{"shape":"service"},
      "max":10,
      "min":1
    },
    "string":{"type":"string"},
    "tagFilter":{
      "type":"list",
      "member":{"shape":"tagSet"},
      "max":50
    },
    "tagKey":{
      "type":"string",
      "max":127,
      "pattern":".{0,127}"
    },
    "tagSet":{
      "type":"map",
      "key":{"shape":"tagKey"},
      "value":{"shape":"tagValue"},
      "max":50
    },
    "tagValue":{
      "type":"string",
      "max":255,
      "pattern":".{0,255}"
    },
    "timestamp":{"type":"timestamp"}
  },
  "documentation":"<fullname>Health</fullname> <p>The Health API provides access to the Health information that appears in the <a href=\"https://health.aws.amazon.com/health/home\">Health Dashboard</a>. You can use the API operations to get information about events that might affect your Amazon Web Services services and resources.</p> <p>You must have a Business, Enterprise On-Ramp, or Enterprise Support plan from <a href=\"http://aws.amazon.com/premiumsupport/\">Amazon Web Services Support</a> to use the Health API. If you call the Health API from an Amazon Web Services account that doesn't have a Business, Enterprise On-Ramp, or Enterprise Support plan, you receive a <code>SubscriptionRequiredException</code> error.</p> <p>For API access, you need an access key ID and a secret access key. Use temporary credentials instead of long-term access keys when possible. Temporary credentials include an access key ID, a secret access key, and a security token that indicates when the credentials expire. For more information, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html\">Best practices for managing Amazon Web Services access keys</a> in the <i>Amazon Web Services General Reference</i>.</p> <p>You can use the Health endpoint health.us-east-1.amazonaws.com (HTTPS) to call the Health API operations. Health supports a multi-Region application architecture and has two regional endpoints in an active-passive configuration. You can use the high availability endpoint example to determine which Amazon Web Services Region is active, so that you can get the latest information from the API. For more information, see <a href=\"https://docs.aws.amazon.com/health/latest/ug/health-api.html\">Accessing the Health API</a> in the <i>Health User Guide</i>.</p> <p>For authentication of requests, Health uses the <a href=\"https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html\">Signature Version 4 Signing Process</a>.</p> <p>If your Amazon Web Services account is part of Organizations, you can use the Health organizational view feature. This feature provides a centralized view of Health events across all accounts in your organization. You can aggregate Health events in real time to identify accounts in your organization that are affected by an operational event or get notified of security vulnerabilities. Use the organizational view API operations to enable this feature and return event information. For more information, see <a href=\"https://docs.aws.amazon.com/health/latest/ug/aggregate-events.html\">Aggregating Health events</a> in the <i>Health User Guide</i>.</p> <note> <p>When you use the Health API operations to return Health events, see the following recommendations:</p> <ul> <li> <p>Use the <a href=\"https://docs.aws.amazon.com/health/latest/APIReference/API_Event.html#AWSHealth-Type-Event-eventScopeCode\">eventScopeCode</a> parameter to specify whether to return Health events that are public or account-specific.</p> </li> <li> <p>Use pagination to view all events from the response. For example, if you call the <code>DescribeEventsForOrganization</code> operation to get all events in your organization, you might receive several page results. Specify the <code>nextToken</code> in the next request to return more results.</p> </li> </ul> </note>"
}
