diff --git a/CHANGELOG.md b/CHANGELOG.md index 95801f34632..543b7b79caf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +Release v1.33.19 (2020-08-04) +=== + +### Service Client Updates +* `service/health`: Updates service documentation + * Documentation updates for health + Release v1.33.18 (2020-08-03) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 8264bd21def..2a4d957f7cc 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -194,12 +194,42 @@ var awsPartition = partition{ "eu-west-1": endpoint{}, "eu-west-2": endpoint{}, "eu-west-3": endpoint{}, - "me-south-1": endpoint{}, - "sa-east-1": endpoint{}, - "us-east-1": endpoint{}, - "us-east-2": endpoint{}, - "us-west-1": endpoint{}, - "us-west-2": endpoint{}, + "fips-ca-central-1": endpoint{ + Hostname: "access-analyzer-fips.ca-central-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ca-central-1", + }, + }, + "fips-us-east-1": endpoint{ + Hostname: "access-analyzer-fips.us-east-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-east-1", + }, + }, + "fips-us-east-2": endpoint{ + Hostname: "access-analyzer-fips.us-east-2.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-east-2", + }, + }, + "fips-us-west-1": endpoint{ + Hostname: "access-analyzer-fips.us-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-west-1", + }, + }, + "fips-us-west-2": endpoint{ + Hostname: "access-analyzer-fips.us-west-2.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-west-2", + }, + }, + "me-south-1": endpoint{}, + "sa-east-1": endpoint{}, + "us-east-1": endpoint{}, + "us-east-2": endpoint{}, + "us-west-1": endpoint{}, + "us-west-2": endpoint{}, }, }, "acm": service{ @@ -2905,9 +2935,21 @@ var awsPartition = partition{ "ap-southeast-2": endpoint{}, "eu-north-1": endpoint{}, "eu-west-1": endpoint{}, - "me-south-1": endpoint{}, - "us-east-2": endpoint{}, - "us-west-2": endpoint{}, + "fips-us-east-2": endpoint{ + Hostname: "groundstation-fips.us-east-2.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-east-2", + }, + }, + "fips-us-west-2": endpoint{ + Hostname: "groundstation-fips.us-west-2.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-west-2", + }, + }, + "me-south-1": endpoint{}, + "us-east-2": endpoint{}, + "us-west-2": endpoint{}, }, }, "guardduty": service{ @@ -4041,6 +4083,12 @@ var awsPartition = partition{ Region: "eu-central-1", }, }, + "eu-north-1": endpoint{ + Hostname: "oidc.eu-north-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "eu-north-1", + }, + }, "eu-west-1": endpoint{ Hostname: "oidc.eu-west-1.amazonaws.com", CredentialScope: credentialScope{ @@ -5670,12 +5718,18 @@ var awsPartition = partition{ "eu-west-1": endpoint{}, "eu-west-2": endpoint{}, "eu-west-3": endpoint{}, - "me-south-1": endpoint{}, - "sa-east-1": endpoint{}, - "us-east-1": endpoint{}, - "us-east-2": endpoint{}, - "us-west-1": endpoint{}, - "us-west-2": endpoint{}, + "fips": endpoint{ + Hostname: "storagegateway-fips.ca-central-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ca-central-1", + }, + }, + "me-south-1": endpoint{}, + "sa-east-1": endpoint{}, + "us-east-1": endpoint{}, + "us-east-2": endpoint{}, + "us-west-1": endpoint{}, + "us-west-2": endpoint{}, }, }, "streams.dynamodb": service{ @@ -7132,8 +7186,18 @@ var awsusgovPartition = partition{ "access-analyzer": service{ Endpoints: endpoints{ - "us-gov-east-1": endpoint{}, - "us-gov-west-1": endpoint{}, + "us-gov-east-1": endpoint{ + Hostname: "access-analyzer.us-gov-east-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-east-1", + }, + }, + "us-gov-west-1": endpoint{ + Hostname: "access-analyzer.us-gov-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-west-1", + }, + }, }, }, "acm": service{ diff --git a/aws/version.go b/aws/version.go index 23e62684789..edf2c57c66a 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.33.18" +const SDKVersion = "1.33.19" diff --git a/models/apis/health/2016-08-04/docs-2.json b/models/apis/health/2016-08-04/docs-2.json index 340961cadf8..83bface4881 100644 --- a/models/apis/health/2016-08-04/docs-2.json +++ b/models/apis/health/2016-08-04/docs-2.json @@ -1,20 +1,20 @@ { "version": "2.0", - "service": "AWS Health

The AWS Health API provides programmatic access to the AWS Health information that is presented in the AWS Personal Health Dashboard. You can get information about events that affect your AWS resources:

In addition, these operations provide information about event types and summary counts of events or affected entities:

AWS Health integrates with AWS Organizations to provide a centralized view of AWS Health events across all accounts in your organization.

You can use the following operations to enable or disable AWS Health from working with AWS Organizations.

The Health API requires a Business or Enterprise support plan from AWS Support. Calling the Health API from an account that does not have a Business or Enterprise support plan causes a SubscriptionRequiredException.

For authentication of requests, AWS Health uses the Signature Version 4 Signing Process.

See the AWS Health User Guide for information about how to use the API.

Service Endpoint

The HTTP endpoint for the AWS Health API is:

", + "service": "AWS Health

The AWS Health API provides programmatic access to the AWS Health information that appears in the AWS Personal Health Dashboard. You can use the API operations to get information about AWS Health events that affect your AWS services and resources.

You must have a Business or Enterprise support plan from AWS Support to use the AWS Health API. If you call the AWS Health API from an AWS account that doesn't have a Business or Enterprise support plan, you receive a SubscriptionRequiredException error.

AWS Health has a single endpoint: health.us-east-1.amazonaws.com (HTTPS). Use this endpoint to call the AWS Health API operations.

For authentication of requests, AWS Health uses the Signature Version 4 Signing Process.

If your AWS account is part of AWS Organizations, you can use the AWS Health organizational view feature. This feature provides a centralized view of AWS Health events across all accounts in your organization. You can aggregate AWS 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 Aggregating AWS Health events in the AWS Health User Guide.

When you use the AWS Health API operations to return AWS Health events, see the following recommendations:

", "operations": { - "DescribeAffectedAccountsForOrganization": "

Returns a list of accounts in the organization from AWS Organizations that are affected by the provided event.

Before you can call this operation, you must first enable AWS Health to work with AWS Organizations. To do this, call the EnableHealthServiceAccessForOrganization operation from your organization's master account.

", - "DescribeAffectedEntities": "

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 AWS 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.

At least one event ARN is required. Results are sorted by the lastUpdatedTime of the entity, starting with the most recent.

", - "DescribeAffectedEntitiesForOrganization": "

Returns a list of entities that have been affected by one or more events for one or more accounts in your organization in AWS Organizations, based on the filter criteria. Entities can refer to individual customer resources, groups of customer resources, or any other construct, depending on the AWS service.

At least one event ARN and account ID are required. Results are sorted by the lastUpdatedTime of the entity, starting with the most recent.

Before you can call this operation, you must first enable AWS Health to work with AWS Organizations. To do this, call the EnableHealthServiceAccessForOrganization operation from your organization's master account.

", + "DescribeAffectedAccountsForOrganization": "

Returns a list of accounts in the organization from AWS Organizations that are affected by the provided event. For more information about the different types of AWS Health events, see Event.

Before you can call this operation, you must first enable AWS Health to work with AWS Organizations. To do this, call the EnableHealthServiceAccessForOrganization operation from your organization's master account.

This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.

", + "DescribeAffectedEntities": "

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 AWS 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.

At least one event ARN is required. Results are sorted by the lastUpdatedTime of the entity, starting with the most recent.

This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.

", + "DescribeAffectedEntitiesForOrganization": "

Returns a list of entities that have been affected by one or more events for one or more accounts in your organization in AWS Organizations, based on the filter criteria. Entities can refer to individual customer resources, groups of customer resources, or any other construct, depending on the AWS service.

At least one event Amazon Resource Name (ARN) and account ID are required. Results are sorted by the lastUpdatedTime of the entity, starting with the most recent.

Before you can call this operation, you must first enable AWS Health to work with AWS Organizations. To do this, call the EnableHealthServiceAccessForOrganization operation from your organization's master account.

This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.

", "DescribeEntityAggregates": "

Returns the number of entities that are affected by each of the specified events. If no events are specified, the counts of all affected entities are returned.

", - "DescribeEventAggregates": "

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.

", - "DescribeEventDetails": "

Returns detailed information about one or more specified events. Information includes standard event data (region, service, and so on, as returned by DescribeEvents), a detailed event description, and possible additional metadata that depends upon the nature of the event. Affected entities are not included; to retrieve those, use the DescribeAffectedEntities operation.

If a specified event cannot be retrieved, an error message is returned for that event.

", - "DescribeEventDetailsForOrganization": "

Returns detailed information about one or more specified events for one or more accounts in your organization. Information includes standard event data (Region, service, and so on, as returned by DescribeEventsForOrganization, a detailed event description, and possible additional metadata that depends upon the nature of the event. Affected entities are not included; to retrieve those, use the DescribeAffectedEntitiesForOrganization operation.

Before you can call this operation, you must first enable AWS Health to work with AWS Organizations. To do this, call the EnableHealthServiceAccessForOrganization operation from your organization's master account.

", - "DescribeEventTypes": "

Returns the event types that meet the specified filter criteria. If no filter criteria are specified, all event types are returned, in no particular order.

", - "DescribeEvents": "

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 DescribeEventDetails and DescribeAffectedEntities operations.

If no filter criteria are specified, all events are returned. Results are sorted by lastModifiedTime, starting with the most recent.

", - "DescribeEventsForOrganization": "

Returns information about events across your organization in AWS Organizations, meeting the specified filter criteria. Events are returned in a summary form and do not include the accounts impacted, detailed description, any additional metadata that depends on the event type, or any affected resources. To retrieve that information, use the DescribeAffectedAccountsForOrganization, DescribeEventDetailsForOrganization, and DescribeAffectedEntitiesForOrganization operations.

If no filter criteria are specified, all events across your organization are returned. Results are sorted by lastModifiedTime, starting with the most recent.

Before you can call this operation, you must first enable Health to work with AWS Organizations. To do this, call the EnableHealthServiceAccessForOrganization operation from your organization's master account.

", + "DescribeEventAggregates": "

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.

This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.

", + "DescribeEventDetails": "

Returns detailed information about one or more specified events. Information includes standard event data (Region, service, and so on, as returned by DescribeEvents), a detailed event description, and possible additional metadata that depends upon the nature of the event. Affected entities are not included. To retrieve those, use the DescribeAffectedEntities operation.

If a specified event cannot be retrieved, an error message is returned for that event.

", + "DescribeEventDetailsForOrganization": "

Returns detailed information about one or more specified events for one or more accounts in your organization. Information includes standard event data (Region, service, and so on, as returned by DescribeEventsForOrganization), a detailed event description, and possible additional metadata that depends upon the nature of the event. Affected entities are not included; to retrieve those, use the DescribeAffectedEntitiesForOrganization operation.

Before you can call this operation, you must first enable AWS Health to work with AWS Organizations. To do this, call the EnableHealthServiceAccessForOrganization operation from your organization's master account.

When you call the DescribeEventDetailsForOrganization operation, you specify the organizationEventDetailFilters object in the request. Depending on the AWS Health event type, note the following differences:

For more information, see Event.

", + "DescribeEventTypes": "

Returns the event types that meet the specified filter criteria. If no filter criteria are specified, all event types are returned, in no particular order.

This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.

", + "DescribeEvents": "

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 DescribeEventDetails and DescribeAffectedEntities operations.

If no filter criteria are specified, all events are returned. Results are sorted by lastModifiedTime, starting with the most recent event.

", + "DescribeEventsForOrganization": "

Returns information about events across your organization in AWS 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:

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 AWS Health events, see Event.

Before you can call this operation, you must first enable AWS Health to work with AWS Organizations. To do this, call the EnableHealthServiceAccessForOrganization operation from your organization's master AWS account.

This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.

", "DescribeHealthServiceStatusForOrganization": "

This operation provides status information on enabling or disabling AWS Health to work with your organization. To call this operation, you must sign in as an IAM user, assume an IAM role, or sign in as the root user (not recommended) in the organization's master account.

", - "DisableHealthServiceAccessForOrganization": "

Calling this operation disables Health from working with AWS Organizations. This does not remove the Service Linked Role (SLR) from the the master account in your organization. Use the IAM console, API, or AWS CLI to remove the SLR if desired. To call this operation, you must sign in as an IAM user, assume an IAM role, or sign in as the root user (not recommended) in the organization's master account.

", - "EnableHealthServiceAccessForOrganization": "

Calling this operation enables AWS Health to work with AWS Organizations. This applies a Service Linked Role (SLR) to the master account in the organization. To learn more about the steps in this process, visit enabling service access for AWS Health in AWS Organizations. To call this operation, you must sign in as an IAM user, assume an IAM role, or sign in as the root user (not recommended) in the organization's master account.

" + "DisableHealthServiceAccessForOrganization": "

Disables AWS Health from working with AWS Organizations. To call this operation, you must sign in as an AWS Identity and Access Management (IAM) user, assume an IAM role, or sign in as the root user (not recommended) in the organization's master AWS account. For more information, see Aggregating AWS Health events in the AWS Health User Guide.

This operation doesn't remove the service-linked role (SLR) from the AWS master account in your organization. You must use the IAM console, API, or AWS Command Line Interface (AWS CLI) to remove the SLR. For more information, see Deleting a Service-Linked Role in the IAM User Guide.

You can also disable the organizational feature by using the Organizations DisableAWSServiceAccess API operation. After you call this operation, AWS Health stops aggregating events for all other AWS accounts in your organization. If you call the AWS Health API operations for organizational view, AWS Health returns an error. AWS Health continues to aggregate health events for your AWS account.

", + "EnableHealthServiceAccessForOrganization": "

Calling this operation enables AWS Health to work with AWS Organizations. This applies a service-linked role (SLR) to the master account in the organization. To call this operation, you must sign in as an IAM user, assume an IAM role, or sign in as the root user (not recommended) in the organization's master account.

For more information, see Aggregating AWS Health events in the AWS Health User Guide.

" }, "shapes": { "AffectedEntity": { @@ -24,12 +24,12 @@ } }, "ConcurrentModificationException": { - "base": "

EnableHealthServiceAccessForOrganization is already in progress. Wait for the action to complete before trying again. To get the current status, use the DescribeHealthServiceStatusForOrganization operation.

", + "base": "

EnableHealthServiceAccessForOrganization is already in progress. Wait for the action to complete before trying again. To get the current status, use the DescribeHealthServiceStatusForOrganization operation.

", "refs": { } }, "DateTimeRange": { - "base": "

A range of dates and times that is used by the EventFilter and EntityFilter objects. If from is set and to is set: match items where the timestamp (startTime, endTime, or lastUpdatedTime) is between from and to inclusive. If from is set and to is not set: match items where the timestamp value is equal to or after from. If from is not set and to is set: match items where the timestamp value is equal to or before to.

", + "base": "

A range of dates and times that is used by the EventFilter and EntityFilter objects. If from is set and to is set: match items where the timestamp (startTime, endTime, or lastUpdatedTime) is between from and to inclusive. If from is set and to is not set: match items where the timestamp value is equal to or after from. If from is not set and to is set: match items where the timestamp value is equal to or before to.

", "refs": { "OrganizationEventFilter$startTime": null, "OrganizationEventFilter$endTime": null, @@ -173,7 +173,7 @@ } }, "EntityAggregate": { - "base": "

The number of entities that are affected by one or more events. Returned by the DescribeEntityAggregates operation.

", + "base": "

The number of entities that are affected by one or more events. Returned by the DescribeEntityAggregates operation.

", "refs": { "EntityAggregateList$member": null } @@ -185,7 +185,7 @@ } }, "EntityFilter": { - "base": "

The values to use to filter results from the DescribeAffectedEntities operation.

", + "base": "

The values to use to filter results from the EntityFilter operation.

", "refs": { "DescribeAffectedEntitiesRequest$filter": "

Values to narrow the results returned. At least one event ARN is required.

" } @@ -193,12 +193,12 @@ "EntityList": { "base": null, "refs": { - "DescribeAffectedEntitiesForOrganizationResponse$entities": "

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

", + "DescribeAffectedEntitiesForOrganizationResponse$entities": "

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

", "DescribeAffectedEntitiesResponse$entities": "

The entities that match the filter criteria.

" } }, "Event": { - "base": "

Summary information about an AWS Health event.

", + "base": "

Summary information about an AWS Health event.

AWS Health events can be public or account-specific:

You can determine if an event is public or account-specific by using the eventScopeCode parameter. For more information, see eventScopeCode.

", "refs": { "EventDetails$event": "

Summary information about the event.

", "EventList$member": null, @@ -206,14 +206,14 @@ } }, "EventAccountFilter": { - "base": "

The values used to filter results from the DescribeEventDetailsForOrganization and DescribeAffectedEntitiesForOrganization operations.

", + "base": "

The values used to filter results from the DescribeEventDetailsForOrganization and DescribeAffectedEntitiesForOrganization operations.

", "refs": { "OrganizationEntityFiltersList$member": null, "OrganizationEventDetailFiltersList$member": null } }, "EventAggregate": { - "base": "

The number of events of each issue type. Returned by the DescribeEventAggregates operation.

", + "base": "

The number of events of each issue type. Returned by the DescribeEventAggregates operation.

", "refs": { "EventAggregateList$member": null } @@ -231,26 +231,26 @@ } }, "EventDescription": { - "base": "

The detailed description of the event. Included in the information returned by the DescribeEventDetails operation.

", + "base": "

The detailed description of the event. Included in the information returned by the DescribeEventDetails operation.

", "refs": { "EventDetails$eventDescription": "

The most recent description of the event.

", "OrganizationEventDetails$eventDescription": null } }, "EventDetails": { - "base": "

Detailed information about an event. A combination of an Event object, an EventDescription object, and additional metadata about the event. Returned by the DescribeEventDetails operation.

", + "base": "

Detailed information about an event. A combination of an Event object, an EventDescription object, and additional metadata about the event. Returned by the DescribeEventDetails operation.

", "refs": { "DescribeEventDetailsSuccessfulSet$member": null } }, "EventDetailsErrorItem": { - "base": "

Error information returned when a DescribeEventDetails operation cannot find a specified event.

", + "base": "

Error information returned when a DescribeEventDetails operation cannot find a specified event.

", "refs": { "DescribeEventDetailsFailedSet$member": null } }, "EventFilter": { - "base": "

The values to use to filter results from the DescribeEvents and DescribeEventAggregates operations.

", + "base": "

The values to use to filter results from the DescribeEvents and DescribeEventAggregates operations.

", "refs": { "DescribeEventAggregatesRequest$filter": "

Values to narrow the results returned.

", "DescribeEventsRequest$filter": "

Values to narrow the results returned.

" @@ -281,7 +281,7 @@ } }, "EventTypeFilter": { - "base": "

The values to use to filter results from the DescribeEventTypes operation.

", + "base": "

The values to use to filter results from the DescribeEventTypes operation.

", "refs": { "DescribeEventTypesRequest$filter": "

Values to narrow the results returned.

" } @@ -298,7 +298,7 @@ } }, "OrganizationAffectedEntitiesErrorItem": { - "base": "

Error information returned when a DescribeAffectedEntitiesForOrganization operation cannot find or process a specific entity.

", + "base": "

Error information returned when a DescribeAffectedEntitiesForOrganization operation cannot find or process a specific entity.

", "refs": { "DescribeAffectedEntitiesForOrganizationFailedSet$member": null } @@ -310,7 +310,7 @@ } }, "OrganizationEvent": { - "base": "

Summary information about an event, returned by the DescribeEventsForOrganization operation.

", + "base": "

Summary information about an event, returned by the DescribeEventsForOrganization operation.

", "refs": { "OrganizationEventList$member": null } @@ -322,19 +322,19 @@ } }, "OrganizationEventDetails": { - "base": "

Detailed information about an event. A combination of an Event object, an EventDescription object, and additional metadata about the event. Returned by the DescribeEventDetailsForOrganization operation.

", + "base": "

Detailed information about an event. A combination of an Event object, an EventDescription object, and additional metadata about the event. Returned by the DescribeEventDetailsForOrganization operation.

", "refs": { "DescribeEventDetailsForOrganizationSuccessfulSet$member": null } }, "OrganizationEventDetailsErrorItem": { - "base": "

Error information returned when a DescribeEventDetailsForOrganization operation cannot find a specified event.

", + "base": "

Error information returned when a DescribeEventDetailsForOrganization operation cannot find a specified event.

", "refs": { "DescribeEventDetailsForOrganizationFailedSet$member": null } }, "OrganizationEventFilter": { - "base": "

The values to filter results from the DescribeEventsForOrganization operation.

", + "base": "

The values to filter results from the DescribeEventsForOrganization operation.

", "refs": { "DescribeEventsForOrganizationRequest$filter": "

Values to narrow the results returned.

" } @@ -357,7 +357,7 @@ "EventAccountFilter$awsAccountId": "

The 12-digit AWS account numbers that contains the affected entities.

", "OrganizationAffectedEntitiesErrorItem$awsAccountId": "

The 12-digit AWS account numbers that contains the affected entities.

", "OrganizationEventDetails$awsAccountId": "

The 12-digit AWS account numbers that contains the affected entities.

", - "OrganizationEventDetailsErrorItem$awsAccountId": "

Error information returned when a DescribeEventDetailsForOrganization operation cannot find a specified event.

", + "OrganizationEventDetailsErrorItem$awsAccountId": "

Error information returned when a DescribeEventDetailsForOrganization operation cannot find a specified event.

", "affectedAccountsList$member": null, "awsAccountIdsList$member": null } @@ -396,7 +396,7 @@ "count": { "base": null, "refs": { - "EntityAggregate$count": "

The number entities that match the criteria for the specified events.

", + "EntityAggregate$count": "

The number of entities that match the criteria for the specified events.

", "EventAggregate$count": "

The number of events of the associated issue type.

" } }, @@ -421,7 +421,7 @@ "refs": { "EntityFilter$entityArns": "

A list of entity ARNs (unique identifiers).

", "EventFilter$entityArns": "

A list of entity ARNs (unique identifiers).

", - "OrganizationEventFilter$entityArns": "

REPLACEME

" + "OrganizationEventFilter$entityArns": "

A list of entity ARNs (unique identifiers).

" } }, "entityStatusCode": { @@ -504,9 +504,9 @@ "eventScopeCode": { "base": null, "refs": { - "DescribeAffectedAccountsForOrganizationResponse$eventScopeCode": null, - "Event$eventScopeCode": null, - "OrganizationEvent$eventScopeCode": null + "DescribeAffectedAccountsForOrganizationResponse$eventScopeCode": "

This parameter specifies if the AWS Health event is a public AWS service event or an account-specific event.

", + "Event$eventScopeCode": "

This parameter specifies if the AWS Health event is a public AWS service event or an account-specific event.

", + "OrganizationEvent$eventScopeCode": "

This parameter specifies if the AWS Health event is a public AWS service event or an account-specific event.

" } }, "eventStatusCode": { @@ -544,7 +544,7 @@ "base": null, "refs": { "EventFilter$eventTypeCategories": "

A list of event type category codes (issue, scheduledChange, or accountNotification).

", - "OrganizationEventFilter$eventTypeCategories": "

REPLACEME

" + "OrganizationEventFilter$eventTypeCategories": "

A list of event type category codes (issue, scheduledChange, or accountNotification).

" } }, "eventTypeCode": { @@ -673,8 +673,8 @@ "tagFilter": { "base": null, "refs": { - "EntityFilter$tags": "

A map of entity tags attached to the affected entity.

", - "EventFilter$tags": "

A map of entity tags attached to the affected entity.

" + "EntityFilter$tags": "

A map of entity tags attached to the affected entity.

Currently, the tags property isn't supported.

", + "EventFilter$tags": "

A map of entity tags attached to the affected entity.

Currently, the tags property isn't supported.

" } }, "tagKey": { @@ -686,7 +686,7 @@ "tagSet": { "base": null, "refs": { - "AffectedEntity$tags": "

A map of entity tags attached to the affected entity.

", + "AffectedEntity$tags": "

A map of entity tags attached to the affected entity.

Currently, the tags property isn't supported.

", "tagFilter$member": null } }, diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 010c78a737a..b17536ceb45 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -93,6 +93,36 @@ "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, + "fips-ca-central-1" : { + "credentialScope" : { + "region" : "ca-central-1" + }, + "hostname" : "access-analyzer-fips.ca-central-1.amazonaws.com" + }, + "fips-us-east-1" : { + "credentialScope" : { + "region" : "us-east-1" + }, + "hostname" : "access-analyzer-fips.us-east-1.amazonaws.com" + }, + "fips-us-east-2" : { + "credentialScope" : { + "region" : "us-east-2" + }, + "hostname" : "access-analyzer-fips.us-east-2.amazonaws.com" + }, + "fips-us-west-1" : { + "credentialScope" : { + "region" : "us-west-1" + }, + "hostname" : "access-analyzer-fips.us-west-1.amazonaws.com" + }, + "fips-us-west-2" : { + "credentialScope" : { + "region" : "us-west-2" + }, + "hostname" : "access-analyzer-fips.us-west-2.amazonaws.com" + }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { }, @@ -2761,6 +2791,18 @@ "ap-southeast-2" : { }, "eu-north-1" : { }, "eu-west-1" : { }, + "fips-us-east-2" : { + "credentialScope" : { + "region" : "us-east-2" + }, + "hostname" : "groundstation-fips.us-east-2.amazonaws.com" + }, + "fips-us-west-2" : { + "credentialScope" : { + "region" : "us-west-2" + }, + "hostname" : "groundstation-fips.us-west-2.amazonaws.com" + }, "me-south-1" : { }, "us-east-2" : { }, "us-west-2" : { } @@ -3862,6 +3904,12 @@ }, "hostname" : "oidc.eu-central-1.amazonaws.com" }, + "eu-north-1" : { + "credentialScope" : { + "region" : "eu-north-1" + }, + "hostname" : "oidc.eu-north-1.amazonaws.com" + }, "eu-west-1" : { "credentialScope" : { "region" : "eu-west-1" @@ -5456,6 +5504,12 @@ "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, + "fips" : { + "credentialScope" : { + "region" : "ca-central-1" + }, + "hostname" : "storagegateway-fips.ca-central-1.amazonaws.com" + }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { }, @@ -6814,8 +6868,18 @@ "services" : { "access-analyzer" : { "endpoints" : { - "us-gov-east-1" : { }, - "us-gov-west-1" : { } + "us-gov-east-1" : { + "credentialScope" : { + "region" : "us-gov-east-1" + }, + "hostname" : "access-analyzer.us-gov-east-1.amazonaws.com" + }, + "us-gov-west-1" : { + "credentialScope" : { + "region" : "us-gov-west-1" + }, + "hostname" : "access-analyzer.us-gov-west-1.amazonaws.com" + } } }, "acm" : { diff --git a/service/health/api.go b/service/health/api.go index 070f3c82e1e..5d8d119a179 100644 --- a/service/health/api.go +++ b/service/health/api.go @@ -64,12 +64,17 @@ func (c *Health) DescribeAffectedAccountsForOrganizationRequest(input *DescribeA // DescribeAffectedAccountsForOrganization API operation for AWS Health APIs and Notifications. // // Returns a list of accounts in the organization from AWS Organizations that -// are affected by the provided event. +// are affected by the provided event. For more information about the different +// types of AWS Health events, see Event (https://docs.aws.amazon.com/health/latest/APIReference/API_Event.html). // // Before you can call this operation, you must first enable AWS Health to work // with AWS Organizations. To do this, call the EnableHealthServiceAccessForOrganization +// (https://docs.aws.amazon.com/health/latest/APIReference/API_EnableHealthServiceAccessForOrganization.html) // operation from your organization's master account. // +// This API operation uses pagination. Specify the nextToken parameter in the +// next request to return more results. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -215,6 +220,9 @@ func (c *Health) DescribeAffectedEntitiesRequest(input *DescribeAffectedEntities // At least one event ARN is required. Results are sorted by the lastUpdatedTime // of the entity, starting with the most recent. // +// This API operation uses pagination. Specify the nextToken parameter in the +// next request to return more results. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -359,13 +367,18 @@ func (c *Health) DescribeAffectedEntitiesForOrganizationRequest(input *DescribeA // groups of customer resources, or any other construct, depending on the AWS // service. // -// At least one event ARN and account ID are required. Results are sorted by -// the lastUpdatedTime of the entity, starting with the most recent. +// At least one event Amazon Resource Name (ARN) and account ID are required. +// Results are sorted by the lastUpdatedTime of the entity, starting with the +// most recent. // // Before you can call this operation, you must first enable AWS Health to work // with AWS Organizations. To do this, call the EnableHealthServiceAccessForOrganization +// (https://docs.aws.amazon.com/health/latest/APIReference/API_EnableHealthServiceAccessForOrganization.html) // operation from your organization's master account. // +// This API operation uses pagination. Specify the nextToken parameter in the +// next request to return more results. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -584,6 +597,9 @@ func (c *Health) DescribeEventAggregatesRequest(input *DescribeEventAggregatesIn // and account notification). If no filter is specified, the counts of all events // in each category are returned. // +// This API operation uses pagination. Specify the nextToken parameter in the +// next request to return more results. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -714,10 +730,12 @@ func (c *Health) DescribeEventDetailsRequest(input *DescribeEventDetailsInput) ( // DescribeEventDetails API operation for AWS Health APIs and Notifications. // // Returns detailed information about one or more specified events. Information -// includes standard event data (region, service, and so on, as returned by -// DescribeEvents), a detailed event description, and possible additional metadata -// that depends upon the nature of the event. Affected entities are not included; -// to retrieve those, use the DescribeAffectedEntities operation. +// includes standard event data (Region, service, and so on, as returned by +// DescribeEvents (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEvents.html)), +// a detailed event description, and possible additional metadata that depends +// upon the nature of the event. Affected entities are not included. To retrieve +// those, use the DescribeAffectedEntities (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedEntities.html) +// operation. // // If a specified event cannot be retrieved, an error message is returned for // that event. @@ -801,15 +819,34 @@ func (c *Health) DescribeEventDetailsForOrganizationRequest(input *DescribeEvent // // Returns detailed information about one or more specified events for one or // more accounts in your organization. Information includes standard event data -// (Region, service, and so on, as returned by DescribeEventsForOrganization, +// (Region, service, and so on, as returned by DescribeEventsForOrganization +// (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventsForOrganization.html)), // a detailed event description, and possible additional metadata that depends // upon the nature of the event. Affected entities are not included; to retrieve -// those, use the DescribeAffectedEntitiesForOrganization operation. +// those, use the DescribeAffectedEntitiesForOrganization (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedEntitiesForOrganization.html) +// operation. // // Before you can call this operation, you must first enable AWS Health to work // with AWS Organizations. To do this, call the EnableHealthServiceAccessForOrganization +// (https://docs.aws.amazon.com/health/latest/APIReference/API_EnableHealthServiceAccessForOrganization.html) // operation from your organization's master account. // +// When you call the DescribeEventDetailsForOrganization operation, you specify +// the organizationEventDetailFilters object in the request. Depending on the +// AWS Health event type, note the following differences: +// +// * If the event is public, the awsAccountId parameter must be empty. If +// you specify an account ID for a public event, then an error message is +// returned. That's because the event might apply to all AWS accounts and +// isn't specific to an account in your organization. +// +// * If the event is specific to an account, then you must specify the awsAccountId +// parameter in the request. If you don't specify an account ID, an error +// message returns because the event is specific to an AWS account in your +// organization. +// +// For more information, see Event (https://docs.aws.amazon.com/health/latest/APIReference/API_Event.html). +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -896,6 +933,9 @@ func (c *Health) DescribeEventTypesRequest(input *DescribeEventTypesInput) (req // Returns the event types that meet the specified filter criteria. If no filter // criteria are specified, all event types are returned, in no particular order. // +// This API operation uses pagination. Specify the nextToken parameter in the +// next request to return more results. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -1037,11 +1077,23 @@ func (c *Health) DescribeEventsRequest(input *DescribeEventsInput) (req *request // 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 DescribeEventDetails and DescribeAffectedEntities +// To retrieve that information, use the DescribeEventDetails (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetails.html) +// and DescribeAffectedEntities (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedEntities.html) // operations. // // If no filter criteria are specified, all events are returned. Results are -// sorted by lastModifiedTime, starting with the most recent. +// sorted by lastModifiedTime, starting with the most recent event. +// +// * When you call the DescribeEvents operation and specify an entity for +// the entityValues parameter, AWS Health might return public events that +// aren't specific to that resource. For example, if you call DescribeEvents +// and specify an ID for an Amazon Elastic Compute Cloud (Amazon EC2) instance, +// AWS Health might return events that aren't specific to that resource or +// service. To get events that are specific to a service, use the services +// parameter in the filter object. For more information, see Event (https://docs.aws.amazon.com/health/latest/APIReference/API_Event.html). +// +// * This API operation uses pagination. Specify the nextToken parameter +// in the next request to return more results. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1181,20 +1233,33 @@ func (c *Health) DescribeEventsForOrganizationRequest(input *DescribeEventsForOr // DescribeEventsForOrganization API operation for AWS Health APIs and Notifications. // -// Returns information about events across your organization in AWS Organizations, -// meeting the specified filter criteria. Events are returned in a summary form -// and do not include the accounts impacted, detailed description, any additional -// metadata that depends on the event type, or any affected resources. To retrieve -// that information, use the DescribeAffectedAccountsForOrganization, DescribeEventDetailsForOrganization, -// and DescribeAffectedEntitiesForOrganization operations. +// Returns information about events across your organization in AWS 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: // -// If no filter criteria are specified, all events across your organization -// are returned. Results are sorted by lastModifiedTime, starting with the most -// recent. +// * DescribeAffectedAccountsForOrganization (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedAccountsForOrganization.html) // -// Before you can call this operation, you must first enable Health to work +// * DescribeEventDetailsForOrganization (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetailsForOrganization.html) +// +// * DescribeAffectedEntitiesForOrganization (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedEntitiesForOrganization.html) +// +// 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 AWS Health events, see +// Event (https://docs.aws.amazon.com/health/latest/APIReference/API_Event.html). +// +// Before you can call this operation, you must first enable AWS Health to work // with AWS Organizations. To do this, call the EnableHealthServiceAccessForOrganization -// operation from your organization's master account. +// (https://docs.aws.amazon.com/health/latest/APIReference/API_EnableHealthServiceAccessForOrganization.html) +// operation from your organization's master AWS account. +// +// This API operation uses pagination. Specify the nextToken parameter in the +// next request to return more results. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1406,12 +1471,25 @@ func (c *Health) DisableHealthServiceAccessForOrganizationRequest(input *Disable // DisableHealthServiceAccessForOrganization API operation for AWS Health APIs and Notifications. // -// Calling this operation disables Health from working with AWS Organizations. -// This does not remove the Service Linked Role (SLR) from the the master account -// in your organization. Use the IAM console, API, or AWS CLI to remove the -// SLR if desired. To call this operation, you must sign in as an IAM user, -// assume an IAM role, or sign in as the root user (not recommended) in the -// organization's master account. +// Disables AWS Health from working with AWS Organizations. To call this operation, +// you must sign in as an AWS Identity and Access Management (IAM) user, assume +// an IAM role, or sign in as the root user (not recommended) in the organization's +// master AWS account. For more information, see Aggregating AWS Health events +// (https://docs.aws.amazon.com/health/latest/ug/aggregate-events.html) in the +// AWS Health User Guide. +// +// This operation doesn't remove the service-linked role (SLR) from the AWS +// master account in your organization. You must use the IAM console, API, or +// AWS Command Line Interface (AWS CLI) to remove the SLR. For more information, +// see Deleting a Service-Linked Role (https://docs.aws.amazon.com/IAM/latest/UserGuide/using-service-linked-roles.html#delete-service-linked-role) +// in the IAM User Guide. +// +// You can also disable the organizational feature by using the Organizations +// DisableAWSServiceAccess (https://docs.aws.amazon.com/organizations/latest/APIReference/API_DisableAWSServiceAccess.html) +// API operation. After you call this operation, AWS Health stops aggregating +// events for all other AWS accounts in your organization. If you call the AWS +// Health API operations for organizational view, AWS Health returns an error. +// AWS Health continues to aggregate health events for your AWS account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1422,9 +1500,11 @@ func (c *Health) DisableHealthServiceAccessForOrganizationRequest(input *Disable // // Returned Error Types: // * ConcurrentModificationException -// EnableHealthServiceAccessForOrganization is already in progress. Wait for -// the action to complete before trying again. To get the current status, use -// the DescribeHealthServiceStatusForOrganization operation. +// EnableHealthServiceAccessForOrganization (https://docs.aws.amazon.com/health/latest/APIReference/API_EnableHealthServiceAccessForOrganization.html) +// is already in progress. Wait for the action to complete before trying again. +// To get the current status, use the DescribeHealthServiceStatusForOrganization +// (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeHealthServiceStatusForOrganization.html) +// operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DisableHealthServiceAccessForOrganization func (c *Health) DisableHealthServiceAccessForOrganization(input *DisableHealthServiceAccessForOrganizationInput) (*DisableHealthServiceAccessForOrganizationOutput, error) { @@ -1494,11 +1574,13 @@ func (c *Health) EnableHealthServiceAccessForOrganizationRequest(input *EnableHe // EnableHealthServiceAccessForOrganization API operation for AWS Health APIs and Notifications. // // Calling this operation enables AWS Health to work with AWS Organizations. -// This applies a Service Linked Role (SLR) to the master account in the organization. -// To learn more about the steps in this process, visit enabling service access -// for AWS Health in AWS Organizations. To call this operation, you must sign -// in as an IAM user, assume an IAM role, or sign in as the root user (not recommended) -// in the organization's master account. +// This applies a service-linked role (SLR) to the master account in the organization. +// To call this operation, you must sign in as an IAM user, assume an IAM role, +// or sign in as the root user (not recommended) in the organization's master +// account. +// +// For more information, see Aggregating AWS Health events (https://docs.aws.amazon.com/health/latest/ug/aggregate-events.html) +// in the AWS Health User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1509,9 +1591,11 @@ func (c *Health) EnableHealthServiceAccessForOrganizationRequest(input *EnableHe // // Returned Error Types: // * ConcurrentModificationException -// EnableHealthServiceAccessForOrganization is already in progress. Wait for -// the action to complete before trying again. To get the current status, use -// the DescribeHealthServiceStatusForOrganization operation. +// EnableHealthServiceAccessForOrganization (https://docs.aws.amazon.com/health/latest/APIReference/API_EnableHealthServiceAccessForOrganization.html) +// is already in progress. Wait for the action to complete before trying again. +// To get the current status, use the DescribeHealthServiceStatusForOrganization +// (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeHealthServiceStatusForOrganization.html) +// operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/EnableHealthServiceAccessForOrganization func (c *Health) EnableHealthServiceAccessForOrganization(input *EnableHealthServiceAccessForOrganizationInput) (*EnableHealthServiceAccessForOrganizationOutput, error) { @@ -1564,6 +1648,8 @@ type AffectedEntity struct { StatusCode *string `locationName:"statusCode" type:"string" enum:"EntityStatusCode"` // A map of entity tags attached to the affected entity. + // + // Currently, the tags property isn't supported. Tags map[string]*string `locationName:"tags" type:"map"` } @@ -1625,9 +1711,11 @@ func (s *AffectedEntity) SetTags(v map[string]*string) *AffectedEntity { return s } -// EnableHealthServiceAccessForOrganization is already in progress. Wait for -// the action to complete before trying again. To get the current status, use -// the DescribeHealthServiceStatusForOrganization operation. +// EnableHealthServiceAccessForOrganization (https://docs.aws.amazon.com/health/latest/APIReference/API_EnableHealthServiceAccessForOrganization.html) +// is already in progress. Wait for the action to complete before trying again. +// To get the current status, use the DescribeHealthServiceStatusForOrganization +// (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeHealthServiceStatusForOrganization.html) +// operation. type ConcurrentModificationException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -1683,7 +1771,8 @@ func (s *ConcurrentModificationException) RequestID() string { return s.RespMetadata.RequestID } -// A range of dates and times that is used by the EventFilter and EntityFilter +// A range of dates and times that is used by the EventFilter (https://docs.aws.amazon.com/health/latest/APIReference/API_EventFilter.html) +// and EntityFilter (https://docs.aws.amazon.com/health/latest/APIReference/API_EntityFilter.html) // objects. If from is set and to is set: match items where the timestamp (startTime, // endTime, or lastUpdatedTime) is between from and to inclusive. If from is // set and to is not set: match items where the timestamp value is equal to @@ -1794,6 +1883,20 @@ type DescribeAffectedAccountsForOrganizationOutput struct { // A JSON set of elements of the affected accounts. AffectedAccounts []*string `locationName:"affectedAccounts" type:"list"` + // This parameter specifies if the AWS Health event is a public AWS service + // event or an account-specific event. + // + // * If the eventScopeCode value is PUBLIC, then the affectedAccounts value + // is always empty. + // + // * If the eventScopeCode value is ACCOUNT_SPECIFIC, then the affectedAccounts + // value lists the affected AWS accounts in your organization. For example, + // if an event affects a service such as Amazon Elastic Compute Cloud and + // you have AWS accounts that use that service, those account IDs appear + // in the response. + // + // * If the eventScopeCode value is NONE, then the eventArn that you specified + // in the request is invalid or doesn't exist. EventScopeCode *string `locationName:"eventScopeCode" type:"string" enum:"EventScopeCode"` // If the results of a search are large, only a portion of the results are returned, @@ -1928,7 +2031,7 @@ type DescribeAffectedEntitiesForOrganizationOutput struct { _ struct{} `type:"structure"` // A JSON set of elements including the awsAccountId and its entityArn, entityValue - // and its entityArn, lastUpdatedTime, statusCode, and tags. + // and its entityArn, lastUpdatedTime, and statusCode. Entities []*AffectedEntity `locationName:"entities" type:"list"` // A JSON set of elements of the failed response, including the awsAccountId, @@ -2895,11 +2998,12 @@ func (s EnableHealthServiceAccessForOrganizationOutput) GoString() string { } // The number of entities that are affected by one or more events. Returned -// by the DescribeEntityAggregates operation. +// by the DescribeEntityAggregates (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEntityAggregates.html) +// operation. type EntityAggregate struct { _ struct{} `type:"structure"` - // The number entities that match the criteria for the specified events. + // The number of entities that match the criteria for the specified events. Count *int64 `locationName:"count" type:"integer"` // The unique identifier for the event. Format: arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID @@ -2929,7 +3033,8 @@ func (s *EntityAggregate) SetEventArn(v string) *EntityAggregate { return s } -// The values to use to filter results from the DescribeAffectedEntities operation. +// The values to use to filter results from the EntityFilter (https://docs.aws.amazon.com/health/latest/APIReference/API_EntityFilter.html) +// operation. type EntityFilter struct { _ struct{} `type:"structure"` @@ -2952,6 +3057,8 @@ type EntityFilter struct { StatusCodes []*string `locationName:"statusCodes" min:"1" type:"list"` // A map of entity tags attached to the affected entity. + // + // Currently, the tags property isn't supported. Tags []map[string]*string `locationName:"tags" type:"list"` } @@ -3030,6 +3137,21 @@ func (s *EntityFilter) SetTags(v []map[string]*string) *EntityFilter { } // Summary information about an AWS Health event. +// +// AWS Health events can be public or account-specific: +// +// * Public events might be service events that are not specific to an AWS +// account. For example, if there is an issue with an AWS Region, AWS Health +// provides information about the event, even if you don't use services or +// resources in that Region. +// +// * Account-specific events are specific to either your AWS 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, AWS Health provides information +// about the event and the affected resources in the account. +// +// You can determine if an event is public or account-specific by using the +// eventScopeCode parameter. For more information, see eventScopeCode (https://docs.aws.amazon.com/health/latest/APIReference/API_Event.html#AWSHealth-Type-Event-eventScopeCode). type Event struct { _ struct{} `type:"structure"` @@ -3043,6 +3165,20 @@ type Event struct { // The date and time that the event ended. EndTime *time.Time `locationName:"endTime" type:"timestamp"` + // This parameter specifies if the AWS Health event is a public AWS service + // event or an account-specific event. + // + // * If the eventScopeCode value is PUBLIC, then the affectedAccounts value + // is always empty. + // + // * If the eventScopeCode value is ACCOUNT_SPECIFIC, then the affectedAccounts + // value lists the affected AWS accounts in your organization. For example, + // if an event affects a service such as Amazon Elastic Compute Cloud and + // you have AWS accounts that use that service, those account IDs appear + // in the response. + // + // * If the eventScopeCode value is NONE, then the eventArn that you specified + // in the request is invalid or doesn't exist. EventScopeCode *string `locationName:"eventScopeCode" type:"string" enum:"EventScopeCode"` // The category of the event. Possible values are issue, scheduledChange, and @@ -3147,7 +3283,9 @@ func (s *Event) SetStatusCode(v string) *Event { } // The values used to filter results from the DescribeEventDetailsForOrganization -// and DescribeAffectedEntitiesForOrganization operations. +// (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetailsForOrganization.html) +// and DescribeAffectedEntitiesForOrganization (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedEntitiesForOrganization.html) +// operations. type EventAccountFilter struct { _ struct{} `type:"structure"` @@ -3197,6 +3335,7 @@ func (s *EventAccountFilter) SetEventArn(v string) *EventAccountFilter { } // The number of events of each issue type. Returned by the DescribeEventAggregates +// (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventAggregates.html) // operation. type EventAggregate struct { _ struct{} `type:"structure"` @@ -3231,7 +3370,8 @@ func (s *EventAggregate) SetCount(v int64) *EventAggregate { } // The detailed description of the event. Included in the information returned -// by the DescribeEventDetails operation. +// by the DescribeEventDetails (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetails.html) +// operation. type EventDescription struct { _ struct{} `type:"structure"` @@ -3255,9 +3395,11 @@ func (s *EventDescription) SetLatestDescription(v string) *EventDescription { return s } -// Detailed information about an event. A combination of an Event object, an -// EventDescription object, and additional metadata about the event. Returned -// by the DescribeEventDetails operation. +// Detailed information about an event. A combination of an Event (https://docs.aws.amazon.com/health/latest/APIReference/API_Event.html) +// object, an EventDescription (https://docs.aws.amazon.com/health/latest/APIReference/API_EventDescription.html) +// object, and additional metadata about the event. Returned by the DescribeEventDetails +// (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetails.html) +// operation. type EventDetails struct { _ struct{} `type:"structure"` @@ -3299,8 +3441,8 @@ func (s *EventDetails) SetEventMetadata(v map[string]*string) *EventDetails { return s } -// Error information returned when a DescribeEventDetails operation cannot find -// a specified event. +// Error information returned when a DescribeEventDetails (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetails.html) +// operation cannot find a specified event. type EventDetailsErrorItem struct { _ struct{} `type:"structure"` @@ -3343,7 +3485,8 @@ func (s *EventDetailsErrorItem) SetEventArn(v string) *EventDetailsErrorItem { return s } -// The values to use to filter results from the DescribeEvents and DescribeEventAggregates +// The values to use to filter results from the DescribeEvents (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEvents.html) +// and DescribeEventAggregates (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventAggregates.html) // operations. type EventFilter struct { _ struct{} `type:"structure"` @@ -3387,6 +3530,8 @@ type EventFilter struct { StartTimes []*DateTimeRange `locationName:"startTimes" min:"1" type:"list"` // A map of entity tags attached to the affected entity. + // + // Currently, the tags property isn't supported. Tags []map[string]*string `locationName:"tags" type:"list"` } @@ -3566,7 +3711,8 @@ func (s *EventType) SetService(v string) *EventType { return s } -// The values to use to filter results from the DescribeEventTypes operation. +// The values to use to filter results from the DescribeEventTypes (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventTypes.html) +// operation. type EventTypeFilter struct { _ struct{} `type:"structure"` @@ -3684,6 +3830,7 @@ func (s *InvalidPaginationToken) RequestID() string { } // Error information returned when a DescribeAffectedEntitiesForOrganization +// (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedEntitiesForOrganization.html) // operation cannot find or process a specific entity. type OrganizationAffectedEntitiesErrorItem struct { _ struct{} `type:"structure"` @@ -3738,6 +3885,7 @@ func (s *OrganizationAffectedEntitiesErrorItem) SetEventArn(v string) *Organizat } // Summary information about an event, returned by the DescribeEventsForOrganization +// (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventsForOrganization.html) // operation. type OrganizationEvent struct { _ struct{} `type:"structure"` @@ -3749,6 +3897,20 @@ type OrganizationEvent struct { // The date and time that the event ended. EndTime *time.Time `locationName:"endTime" type:"timestamp"` + // This parameter specifies if the AWS Health event is a public AWS service + // event or an account-specific event. + // + // * If the eventScopeCode value is PUBLIC, then the affectedAccounts value + // is always empty. + // + // * If the eventScopeCode value is ACCOUNT_SPECIFIC, then the affectedAccounts + // value lists the affected AWS accounts in your organization. For example, + // if an event affects a service such as Amazon Elastic Compute Cloud and + // you have AWS accounts that use that service, those account IDs appear + // in the response. + // + // * If the eventScopeCode value is NONE, then the eventArn that you specified + // in the request is invalid or doesn't exist. EventScopeCode *string `locationName:"eventScopeCode" type:"string" enum:"EventScopeCode"` // The category of the event type. @@ -3845,9 +4007,11 @@ func (s *OrganizationEvent) SetStatusCode(v string) *OrganizationEvent { return s } -// Detailed information about an event. A combination of an Event object, an -// EventDescription object, and additional metadata about the event. Returned -// by the DescribeEventDetailsForOrganization operation. +// Detailed information about an event. A combination of an Event (https://docs.aws.amazon.com/health/latest/APIReference/API_Event.html) +// object, an EventDescription (https://docs.aws.amazon.com/health/latest/APIReference/API_EventDescription.html) +// object, and additional metadata about the event. Returned by the DescribeEventDetailsForOrganization +// (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetailsForOrganization.html) +// operation. type OrganizationEventDetails struct { _ struct{} `type:"structure"` @@ -3855,10 +4019,26 @@ type OrganizationEventDetails struct { AwsAccountId *string `locationName:"awsAccountId" type:"string"` // Summary information about an AWS Health event. + // + // AWS Health events can be public or account-specific: + // + // * Public events might be service events that are not specific to an AWS + // account. For example, if there is an issue with an AWS Region, AWS Health + // provides information about the event, even if you don't use services or + // resources in that Region. + // + // * Account-specific events are specific to either your AWS 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, AWS Health provides information + // about the event and the affected resources in the account. + // + // You can determine if an event is public or account-specific by using the + // eventScopeCode parameter. For more information, see eventScopeCode (https://docs.aws.amazon.com/health/latest/APIReference/API_Event.html#AWSHealth-Type-Event-eventScopeCode). Event *Event `locationName:"event" type:"structure"` // The detailed description of the event. Included in the information returned - // by the DescribeEventDetails operation. + // by the DescribeEventDetails (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetails.html) + // operation. EventDescription *EventDescription `locationName:"eventDescription" type:"structure"` // Additional metadata about the event. @@ -3899,13 +4079,13 @@ func (s *OrganizationEventDetails) SetEventMetadata(v map[string]*string) *Organ return s } -// Error information returned when a DescribeEventDetailsForOrganization operation -// cannot find a specified event. +// Error information returned when a DescribeEventDetailsForOrganization (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetailsForOrganization.html) +// operation cannot find a specified event. type OrganizationEventDetailsErrorItem struct { _ struct{} `type:"structure"` - // Error information returned when a DescribeEventDetailsForOrganization operation - // cannot find a specified event. + // Error information returned when a DescribeEventDetailsForOrganization (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetailsForOrganization.html) + // operation cannot find a specified event. AwsAccountId *string `locationName:"awsAccountId" type:"string"` // A message that describes the error. @@ -3953,14 +4133,16 @@ func (s *OrganizationEventDetailsErrorItem) SetEventArn(v string) *OrganizationE return s } -// The values to filter results from the DescribeEventsForOrganization operation. +// The values to filter results from the DescribeEventsForOrganization (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventsForOrganization.html) +// operation. type OrganizationEventFilter struct { _ struct{} `type:"structure"` // A list of 12-digit AWS account numbers that contains the affected entities. AwsAccountIds []*string `locationName:"awsAccountIds" min:"1" type:"list"` - // A range of dates and times that is used by the EventFilter and EntityFilter + // A range of dates and times that is used by the EventFilter (https://docs.aws.amazon.com/health/latest/APIReference/API_EventFilter.html) + // and EntityFilter (https://docs.aws.amazon.com/health/latest/APIReference/API_EntityFilter.html) // objects. If from is set and to is set: match items where the timestamp (startTime, // endTime, or lastUpdatedTime) is between from and to inclusive. If from is // set and to is not set: match items where the timestamp value is equal to @@ -3968,7 +4150,7 @@ type OrganizationEventFilter struct { // value is equal to or before to. EndTime *DateTimeRange `locationName:"endTime" type:"structure"` - // REPLACEME + // A list of entity ARNs (unique identifiers). EntityArns []*string `locationName:"entityArns" min:"1" type:"list"` // A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS @@ -3978,13 +4160,14 @@ type OrganizationEventFilter struct { // A list of event status codes. EventStatusCodes []*string `locationName:"eventStatusCodes" min:"1" type:"list"` - // REPLACEME + // A list of event type category codes (issue, scheduledChange, or accountNotification). EventTypeCategories []*string `locationName:"eventTypeCategories" min:"1" type:"list"` // A list of unique identifiers for event types. For example, "AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED". EventTypeCodes []*string `locationName:"eventTypeCodes" min:"1" type:"list"` - // A range of dates and times that is used by the EventFilter and EntityFilter + // A range of dates and times that is used by the EventFilter (https://docs.aws.amazon.com/health/latest/APIReference/API_EventFilter.html) + // and EntityFilter (https://docs.aws.amazon.com/health/latest/APIReference/API_EntityFilter.html) // objects. If from is set and to is set: match items where the timestamp (startTime, // endTime, or lastUpdatedTime) is between from and to inclusive. If from is // set and to is not set: match items where the timestamp value is equal to @@ -3998,7 +4181,8 @@ type OrganizationEventFilter struct { // The AWS services associated with the event. For example, EC2, RDS. Services []*string `locationName:"services" min:"1" type:"list"` - // A range of dates and times that is used by the EventFilter and EntityFilter + // A range of dates and times that is used by the EventFilter (https://docs.aws.amazon.com/health/latest/APIReference/API_EventFilter.html) + // and EntityFilter (https://docs.aws.amazon.com/health/latest/APIReference/API_EntityFilter.html) // objects. If from is set and to is set: match items where the timestamp (startTime, // endTime, or lastUpdatedTime) is between from and to inclusive. If from is // set and to is not set: match items where the timestamp value is equal to diff --git a/service/health/doc.go b/service/health/doc.go index 69d9a84fa0a..ded0c959569 100644 --- a/service/health/doc.go +++ b/service/health/doc.go @@ -4,70 +4,42 @@ // requests to AWS Health APIs and Notifications. // // The AWS Health API provides programmatic access to the AWS Health information -// that is presented in the AWS Personal Health Dashboard (https://phd.aws.amazon.com/phd/home#/). -// You can get information about events that affect your AWS resources: +// that appears in the AWS Personal Health Dashboard (https://phd.aws.amazon.com/phd/home#/). +// You can use the API operations to get information about AWS Health events +// that affect your AWS services and resources. // -// * DescribeEvents: Summary information about events. +// You must have a Business or Enterprise support plan from AWS Support (http://aws.amazon.com/premiumsupport/) +// to use the AWS Health API. If you call the AWS Health API from an AWS account +// that doesn't have a Business or Enterprise support plan, you receive a SubscriptionRequiredException +// error. // -// * DescribeEventDetails: Detailed information about one or more events. -// -// * DescribeAffectedEntities: Information about AWS resources that are affected -// by one or more events. -// -// In addition, these operations provide information about event types and summary -// counts of events or affected entities: -// -// * DescribeEventTypes: Information about the kinds of events that AWS Health -// tracks. -// -// * DescribeEventAggregates: A count of the number of events that meet specified -// criteria. -// -// * DescribeEntityAggregates: A count of the number of affected entities -// that meet specified criteria. -// -// AWS Health integrates with AWS Organizations to provide a centralized view -// of AWS Health events across all accounts in your organization. -// -// * DescribeEventsForOrganization: Summary information about events across -// the organization. -// -// * DescribeAffectedAccountsForOrganization: List of accounts in your organization -// impacted by an event. -// -// * DescribeEventDetailsForOrganization: Detailed information about events -// in your organization. -// -// * DescribeAffectedEntitiesForOrganization: Information about AWS resources -// in your organization that are affected by events. -// -// You can use the following operations to enable or disable AWS Health from -// working with AWS Organizations. -// -// * EnableHealthServiceAccessForOrganization: Enables AWS Health to work -// with AWS Organizations. -// -// * DisableHealthServiceAccessForOrganization: Disables AWS Health from -// working with AWS Organizations. -// -// * DescribeHealthServiceStatusForOrganization: Status information about -// enabling or disabling AWS Health from working with AWS Organizations. -// -// The Health API requires a Business or Enterprise support plan from AWS Support -// (http://aws.amazon.com/premiumsupport/). Calling the Health API from an account -// that does not have a Business or Enterprise support plan causes a SubscriptionRequiredException. +// AWS Health has a single endpoint: health.us-east-1.amazonaws.com (HTTPS). +// Use this endpoint to call the AWS Health API operations. // // For authentication of requests, AWS Health uses the Signature Version 4 Signing // Process (https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html). // -// See the AWS Health User Guide (https://docs.aws.amazon.com/health/latest/ug/what-is-aws-health.html) -// for information about how to use the API. -// -// Service Endpoint -// -// The HTTP endpoint for the AWS Health API is: -// -// * https://health.us-east-1.amazonaws.com +// If your AWS account is part of AWS Organizations, you can use the AWS Health +// organizational view feature. This feature provides a centralized view of +// AWS Health events across all accounts in your organization. You can aggregate +// AWS 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 Aggregating AWS Health events +// (https://docs.aws.amazon.com/health/latest/ug/aggregate-events.html) in the +// AWS Health User Guide. +// +// When you use the AWS Health API operations to return AWS Health events, see +// the following recommendations: +// +// * Use the eventScopeCode (https://docs.aws.amazon.com/health/latest/APIReference/API_Event.html#AWSHealth-Type-Event-eventScopeCode) +// parameter to specify whether to return AWS Health events that are public +// or account-specific. +// +// * Use pagination to view all events from the response. For example, if +// you call the DescribeEventsForOrganization operation to get all events +// in your organization, you might receive several page results. Specify +// the nextToken in the next request to return more results. // // See https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04 for more information on this service. // diff --git a/service/health/errors.go b/service/health/errors.go index 7f870bfa31d..4d598b3fb61 100644 --- a/service/health/errors.go +++ b/service/health/errors.go @@ -11,9 +11,11 @@ const ( // ErrCodeConcurrentModificationException for service response error code // "ConcurrentModificationException". // - // EnableHealthServiceAccessForOrganization is already in progress. Wait for - // the action to complete before trying again. To get the current status, use - // the DescribeHealthServiceStatusForOrganization operation. + // EnableHealthServiceAccessForOrganization (https://docs.aws.amazon.com/health/latest/APIReference/API_EnableHealthServiceAccessForOrganization.html) + // is already in progress. Wait for the action to complete before trying again. + // To get the current status, use the DescribeHealthServiceStatusForOrganization + // (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeHealthServiceStatusForOrganization.html) + // operation. ErrCodeConcurrentModificationException = "ConcurrentModificationException" // ErrCodeInvalidPaginationToken for service response error code