Documentation ¶
Overview ¶
Package health provides the API client, operations, and parameter types for AWS Health APIs and Notifications.
Health ¶
The Health API provides access to the Health information that appears in the Health Dashboard. You can use the API operations to get information about events that might affect your Amazon Web Services services and resources.
You must have a Business, Enterprise On-Ramp, or Enterprise Support plan from Amazon Web Services Support 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 SubscriptionRequiredException error.
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 Best practices for managing Amazon Web Services access keysin the Amazon Web Services General Reference.
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 Accessing the Health APIin the Health User Guide.
For authentication of requests, Health uses the Signature Version 4 Signing Process.
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 Aggregating Health eventsin the Health User Guide.
When you use the Health API operations to return Health events, see the following recommendations:
Use the eventScopeCodeparameter to specify whether to return 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.
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)deprecated
- func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
- func WithSigV4SigningName(name string) func(*Options)
- func WithSigV4SigningRegion(region string) func(*Options)
- type AuthResolverParameters
- type AuthSchemeResolver
- type Client
- func (c *Client) DescribeAffectedAccountsForOrganization(ctx context.Context, params *DescribeAffectedAccountsForOrganizationInput, ...) (*DescribeAffectedAccountsForOrganizationOutput, error)
- func (c *Client) DescribeAffectedEntities(ctx context.Context, params *DescribeAffectedEntitiesInput, ...) (*DescribeAffectedEntitiesOutput, error)
- func (c *Client) DescribeAffectedEntitiesForOrganization(ctx context.Context, params *DescribeAffectedEntitiesForOrganizationInput, ...) (*DescribeAffectedEntitiesForOrganizationOutput, error)
- func (c *Client) DescribeEntityAggregates(ctx context.Context, params *DescribeEntityAggregatesInput, ...) (*DescribeEntityAggregatesOutput, error)
- func (c *Client) DescribeEntityAggregatesForOrganization(ctx context.Context, params *DescribeEntityAggregatesForOrganizationInput, ...) (*DescribeEntityAggregatesForOrganizationOutput, error)
- func (c *Client) DescribeEventAggregates(ctx context.Context, params *DescribeEventAggregatesInput, ...) (*DescribeEventAggregatesOutput, error)
- func (c *Client) DescribeEventDetails(ctx context.Context, params *DescribeEventDetailsInput, ...) (*DescribeEventDetailsOutput, error)
- func (c *Client) DescribeEventDetailsForOrganization(ctx context.Context, params *DescribeEventDetailsForOrganizationInput, ...) (*DescribeEventDetailsForOrganizationOutput, error)
- func (c *Client) DescribeEventTypes(ctx context.Context, params *DescribeEventTypesInput, optFns ...func(*Options)) (*DescribeEventTypesOutput, error)
- func (c *Client) DescribeEvents(ctx context.Context, params *DescribeEventsInput, optFns ...func(*Options)) (*DescribeEventsOutput, error)
- func (c *Client) DescribeEventsForOrganization(ctx context.Context, params *DescribeEventsForOrganizationInput, ...) (*DescribeEventsForOrganizationOutput, error)
- func (c *Client) DescribeHealthServiceStatusForOrganization(ctx context.Context, params *DescribeHealthServiceStatusForOrganizationInput, ...) (*DescribeHealthServiceStatusForOrganizationOutput, error)
- func (c *Client) DisableHealthServiceAccessForOrganization(ctx context.Context, params *DisableHealthServiceAccessForOrganizationInput, ...) (*DisableHealthServiceAccessForOrganizationOutput, error)
- func (c *Client) EnableHealthServiceAccessForOrganization(ctx context.Context, params *EnableHealthServiceAccessForOrganizationInput, ...) (*EnableHealthServiceAccessForOrganizationOutput, error)
- func (c *Client) Options() Options
- type DescribeAffectedAccountsForOrganizationAPIClient
- type DescribeAffectedAccountsForOrganizationInput
- type DescribeAffectedAccountsForOrganizationOutput
- type DescribeAffectedAccountsForOrganizationPaginator
- type DescribeAffectedAccountsForOrganizationPaginatorOptions
- type DescribeAffectedEntitiesAPIClient
- type DescribeAffectedEntitiesForOrganizationAPIClient
- type DescribeAffectedEntitiesForOrganizationInput
- type DescribeAffectedEntitiesForOrganizationOutput
- type DescribeAffectedEntitiesForOrganizationPaginator
- type DescribeAffectedEntitiesForOrganizationPaginatorOptions
- type DescribeAffectedEntitiesInput
- type DescribeAffectedEntitiesOutput
- type DescribeAffectedEntitiesPaginator
- type DescribeAffectedEntitiesPaginatorOptions
- type DescribeEntityAggregatesForOrganizationInput
- type DescribeEntityAggregatesForOrganizationOutput
- type DescribeEntityAggregatesInput
- type DescribeEntityAggregatesOutput
- type DescribeEventAggregatesAPIClient
- type DescribeEventAggregatesInput
- type DescribeEventAggregatesOutput
- type DescribeEventAggregatesPaginator
- type DescribeEventAggregatesPaginatorOptions
- type DescribeEventDetailsForOrganizationInput
- type DescribeEventDetailsForOrganizationOutput
- type DescribeEventDetailsInput
- type DescribeEventDetailsOutput
- type DescribeEventTypesAPIClient
- type DescribeEventTypesInput
- type DescribeEventTypesOutput
- type DescribeEventTypesPaginator
- type DescribeEventTypesPaginatorOptions
- type DescribeEventsAPIClient
- type DescribeEventsForOrganizationAPIClient
- type DescribeEventsForOrganizationInput
- type DescribeEventsForOrganizationOutput
- type DescribeEventsForOrganizationPaginator
- type DescribeEventsForOrganizationPaginatorOptions
- type DescribeEventsInput
- type DescribeEventsOutput
- type DescribeEventsPaginator
- type DescribeEventsPaginatorOptions
- type DescribeHealthServiceStatusForOrganizationInput
- type DescribeHealthServiceStatusForOrganizationOutput
- type DisableHealthServiceAccessForOrganizationInput
- type DisableHealthServiceAccessForOrganizationOutput
- type EnableHealthServiceAccessForOrganizationInput
- type EnableHealthServiceAccessForOrganizationOutput
- type EndpointParameters
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type EndpointResolverV2
- type HTTPClient
- type HTTPSignerV4
- type Options
- type ResolveEndpoint
Constants ¶
const ServiceAPIVersion = "2016-08-04"
const ServiceID = "Health"
Variables ¶
This section is empty.
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶ added in v1.0.0
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver
deprecated
func WithEndpointResolver(v EndpointResolver) func(*Options)
Deprecated: EndpointResolver and WithEndpointResolver. Providing a value for this field will likely prevent you from using any endpoint-related service features released after the introduction of EndpointResolverV2 and BaseEndpoint.
To migrate an EndpointResolver implementation that uses a custom endpoint, set the client option BaseEndpoint instead.
func WithEndpointResolverV2 ¶ added in v1.18.0
func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
WithEndpointResolverV2 returns a functional option for setting the Client's EndpointResolverV2 option.
func WithSigV4SigningName ¶ added in v1.21.2
WithSigV4SigningName applies an override to the authentication workflow to use the given signing name for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing name from both auth scheme resolution and endpoint resolution.
func WithSigV4SigningRegion ¶ added in v1.21.2
WithSigV4SigningRegion applies an override to the authentication workflow to use the given signing region for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing region from both auth scheme resolution and endpoint resolution.
Types ¶
type AuthResolverParameters ¶ added in v1.21.2
type AuthResolverParameters struct { // The name of the operation being invoked. Operation string // The region in which the operation is being invoked. Region string }
AuthResolverParameters contains the set of inputs necessary for auth scheme resolution.
type AuthSchemeResolver ¶ added in v1.21.2
type AuthSchemeResolver interface {
ResolveAuthSchemes(context.Context, *AuthResolverParameters) ([]*smithyauth.Option, error)
}
AuthSchemeResolver returns a set of possible authentication options for an operation.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for AWS Health APIs and Notifications.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) DescribeAffectedAccountsForOrganization ¶
func (c *Client) DescribeAffectedAccountsForOrganization(ctx context.Context, params *DescribeAffectedAccountsForOrganizationInput, optFns ...func(*Options)) (*DescribeAffectedAccountsForOrganizationOutput, error)
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 Event.
Before you can call this operation, you must first enable Health to work with Organizations. To do this, call the EnableHealthServiceAccessForOrganizationoperation from your organization's management account.
This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.
func (*Client) DescribeAffectedEntities ¶
func (c *Client) DescribeAffectedEntities(ctx context.Context, params *DescribeAffectedEntitiesInput, optFns ...func(*Options)) (*DescribeAffectedEntitiesOutput, error)
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.
At least one event ARN is required.
This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.
This operation supports resource-level permissions. You can use this operation to allow or deny access to specific Health events. For more information, see Resource- and action-based conditionsin the Health User Guide.
func (*Client) DescribeAffectedEntitiesForOrganization ¶
func (c *Client) DescribeAffectedEntitiesForOrganization(ctx context.Context, params *DescribeAffectedEntitiesForOrganizationInput, optFns ...func(*Options)) (*DescribeAffectedEntitiesForOrganizationOutput, error)
Returns a list of entities that have been affected by one or more events for one or more accounts in your organization in Organizations, based on the filter criteria. Entities can refer to individual customer resources, groups of customer resources, or any other construct, depending on the Amazon Web Services service.
At least one event Amazon Resource Name (ARN) and account ID are required.
Before you can call this operation, you must first enable Health to work with Organizations. To do this, call the EnableHealthServiceAccessForOrganizationoperation from your organization's management account.
This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.
This operation doesn't support resource-level permissions. You can't use this operation to allow or deny access to specific Health events. For more information, see Resource- and action-based conditionsin the Health User Guide.
func (*Client) DescribeEntityAggregates ¶
func (c *Client) DescribeEntityAggregates(ctx context.Context, params *DescribeEntityAggregatesInput, optFns ...func(*Options)) (*DescribeEntityAggregatesOutput, error)
Returns the number of entities that are affected by each of the specified events.
func (*Client) DescribeEntityAggregatesForOrganization ¶ added in v1.19.0
func (c *Client) DescribeEntityAggregatesForOrganization(ctx context.Context, params *DescribeEntityAggregatesForOrganizationInput, optFns ...func(*Options)) (*DescribeEntityAggregatesForOrganizationOutput, error)
Returns a list of entity aggregates for your Organizations that are affected by each of the specified events.
func (*Client) DescribeEventAggregates ¶
func (c *Client) DescribeEventAggregates(ctx context.Context, params *DescribeEventAggregatesInput, optFns ...func(*Options)) (*DescribeEventAggregatesOutput, error)
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.
func (*Client) DescribeEventDetails ¶
func (c *Client) DescribeEventDetails(ctx context.Context, params *DescribeEventDetailsInput, optFns ...func(*Options)) (*DescribeEventDetailsOutput, error)
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 DescribeEvents), 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 DescribeAffectedEntitiesoperation.
If a specified event can't be retrieved, an error message is returned for that event.
This operation supports resource-level permissions. You can use this operation to allow or deny access to specific Health events. For more information, see Resource- and action-based conditionsin the Health User Guide.
func (*Client) DescribeEventDetailsForOrganization ¶
func (c *Client) DescribeEventDetailsForOrganization(ctx context.Context, params *DescribeEventDetailsForOrganizationInput, optFns ...func(*Options)) (*DescribeEventDetailsForOrganizationOutput, error)
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 DescribeAffectedEntitiesForOrganizationoperation.
Before you can call this operation, you must first enable Health to work with Organizations. To do this, call the EnableHealthServiceAccessForOrganizationoperation from your organization's management account.
When you call the DescribeEventDetailsForOrganization operation, specify the organizationEventDetailFilters object in the request. Depending on the Health event type, note the following differences:
To return event details for a public event, you must specify a null value for the awsAccountId 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.
To return event details for an event that is specific to an account in your organization, you must specify the awsAccountId 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.
For more information, see Event.
This operation doesn't support resource-level permissions. You can't use this operation to allow or deny access to specific Health events. For more information, see Resource- and action-based conditionsin the Health User Guide.
func (*Client) DescribeEventTypes ¶
func (c *Client) DescribeEventTypes(ctx context.Context, params *DescribeEventTypesInput, optFns ...func(*Options)) (*DescribeEventTypesOutput, error)
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 EventTypeobject.
If you don't specify a filter criteria, the API operation returns all event types, in no particular order.
This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.
func (*Client) DescribeEvents ¶
func (c *Client) DescribeEvents(ctx context.Context, params *DescribeEventsInput, optFns ...func(*Options)) (*DescribeEventsOutput, error)
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 DescribeEventDetailsand DescribeAffectedEntities operations.
If no filter criteria are specified, all events are returned. Results are sorted by lastModifiedTime , starting with the most recent event.
When you call the DescribeEvents operation and specify an entity for the entityValues parameter, 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, 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.
This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.
func (*Client) DescribeEventsForOrganization ¶
func (c *Client) DescribeEventsForOrganization(ctx context.Context, params *DescribeEventsForOrganizationInput, optFns ...func(*Options)) (*DescribeEventsForOrganizationOutput, error)
Returns information about events across your organization in Organizations. You can use the filters parameter to specify the events that you want to return. Events are returned in a summary form and don't include the affected accounts, detailed description, any additional metadata that depends on the event type, or any affected resources. To retrieve that information, use the following operations:
DescribeAffectedAccountsForOrganization
DescribeEventDetailsForOrganization
DescribeAffectedEntitiesForOrganization
If you don't specify a filter , the DescribeEventsForOrganizations returns all events across your organization. Results are sorted by lastModifiedTime , starting with the most recent event.
For more information about the different types of Health events, see Event.
Before you can call this operation, you must first enable Health to work with Organizations. To do this, call the EnableHealthServiceAccessForOrganizationoperation from your organization's management account.
This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.
func (*Client) DescribeHealthServiceStatusForOrganization ¶
func (c *Client) DescribeHealthServiceStatusForOrganization(ctx context.Context, params *DescribeHealthServiceStatusForOrganizationInput, optFns ...func(*Options)) (*DescribeHealthServiceStatusForOrganizationOutput, error)
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.
func (*Client) DisableHealthServiceAccessForOrganization ¶
func (c *Client) DisableHealthServiceAccessForOrganization(ctx context.Context, params *DisableHealthServiceAccessForOrganizationInput, optFns ...func(*Options)) (*DisableHealthServiceAccessForOrganizationOutput, error)
Disables Health from working with Organizations. To call this operation, you must sign in to the organization's management account. For more information, see Aggregating Health eventsin the Health User Guide.
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 Deleting a Service-Linked Rolein the IAM User Guide.
You can also disable the organizational feature by using the Organizations DisableAWSServiceAccess 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.
func (*Client) EnableHealthServiceAccessForOrganization ¶
func (c *Client) EnableHealthServiceAccessForOrganization(ctx context.Context, params *EnableHealthServiceAccessForOrganizationInput, optFns ...func(*Options)) (*EnableHealthServiceAccessForOrganizationOutput, error)
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.
This operation also creates a service-linked role for the management account in the organization.
To call this operation, you must meet the following requirements:
You must have a Business, Enterprise On-Ramp, or Enterprise Support plan from Amazon Web Services Supportto 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 SubscriptionRequiredException error.
You must have permission to call this operation from the organization's management account. For example IAM policies, see Health identity-based policy examples.
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 Aggregating Health eventsin the Health User Guide.
type DescribeAffectedAccountsForOrganizationAPIClient ¶ added in v0.30.0
type DescribeAffectedAccountsForOrganizationAPIClient interface {
DescribeAffectedAccountsForOrganization(context.Context, *DescribeAffectedAccountsForOrganizationInput, ...func(*Options)) (*DescribeAffectedAccountsForOrganizationOutput, error)
}
DescribeAffectedAccountsForOrganizationAPIClient is a client that implements the DescribeAffectedAccountsForOrganization operation.
type DescribeAffectedAccountsForOrganizationInput ¶
type DescribeAffectedAccountsForOrganizationInput struct { // The unique identifier for the event. The event ARN has the // arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID // format. // // For example, an event ARN might look like the following: // // arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456 // // This member is required. EventArn *string // The maximum number of items to return in one batch, between 10 and 100, // inclusive. MaxResults *int32 // If the results of a search are large, only a portion of the results are // returned, and a nextToken pagination token is returned in the response. To // retrieve the next batch of results, reissue the search request and include the // returned token. When all results have been returned, the response does not // contain a pagination token value. NextToken *string // contains filtered or unexported fields }
type DescribeAffectedAccountsForOrganizationOutput ¶
type DescribeAffectedAccountsForOrganizationOutput struct { // A JSON set of elements of the affected accounts. AffectedAccounts []string // This parameter specifies if the Health event is a public Amazon Web Services // 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 Amazon Web Services accounts in your organization. For // example, if an event affects a service such as Amazon Elastic Compute Cloud and // you have Amazon Web Services accounts that use that service, those account IDs // appear in the response. // // - If the eventScopeCode value is NONE , then the eventArn that you specified // in the request is invalid or doesn't exist. EventScopeCode types.EventScopeCode // If the results of a search are large, only a portion of the results are // returned, and a nextToken pagination token is returned in the response. To // retrieve the next batch of results, reissue the search request and include the // returned token. When all results have been returned, the response does not // contain a pagination token value. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeAffectedAccountsForOrganizationPaginator ¶ added in v0.30.0
type DescribeAffectedAccountsForOrganizationPaginator struct {
// contains filtered or unexported fields
}
DescribeAffectedAccountsForOrganizationPaginator is a paginator for DescribeAffectedAccountsForOrganization
func NewDescribeAffectedAccountsForOrganizationPaginator ¶ added in v0.30.0
func NewDescribeAffectedAccountsForOrganizationPaginator(client DescribeAffectedAccountsForOrganizationAPIClient, params *DescribeAffectedAccountsForOrganizationInput, optFns ...func(*DescribeAffectedAccountsForOrganizationPaginatorOptions)) *DescribeAffectedAccountsForOrganizationPaginator
NewDescribeAffectedAccountsForOrganizationPaginator returns a new DescribeAffectedAccountsForOrganizationPaginator
func (*DescribeAffectedAccountsForOrganizationPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeAffectedAccountsForOrganizationPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeAffectedAccountsForOrganizationPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeAffectedAccountsForOrganizationPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeAffectedAccountsForOrganizationOutput, error)
NextPage retrieves the next DescribeAffectedAccountsForOrganization page.
type DescribeAffectedAccountsForOrganizationPaginatorOptions ¶ added in v0.30.0
type DescribeAffectedAccountsForOrganizationPaginatorOptions struct { // The maximum number of items to return in one batch, between 10 and 100, // inclusive. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeAffectedAccountsForOrganizationPaginatorOptions is the paginator options for DescribeAffectedAccountsForOrganization
type DescribeAffectedEntitiesAPIClient ¶ added in v0.30.0
type DescribeAffectedEntitiesAPIClient interface {
DescribeAffectedEntities(context.Context, *DescribeAffectedEntitiesInput, ...func(*Options)) (*DescribeAffectedEntitiesOutput, error)
}
DescribeAffectedEntitiesAPIClient is a client that implements the DescribeAffectedEntities operation.
type DescribeAffectedEntitiesForOrganizationAPIClient ¶ added in v0.30.0
type DescribeAffectedEntitiesForOrganizationAPIClient interface {
DescribeAffectedEntitiesForOrganization(context.Context, *DescribeAffectedEntitiesForOrganizationInput, ...func(*Options)) (*DescribeAffectedEntitiesForOrganizationOutput, error)
}
DescribeAffectedEntitiesForOrganizationAPIClient is a client that implements the DescribeAffectedEntitiesForOrganization operation.
type DescribeAffectedEntitiesForOrganizationInput ¶
type DescribeAffectedEntitiesForOrganizationInput struct { // The locale (language) to return information in. English (en) is the default and // the only supported value at this time. Locale *string // The maximum number of items to return in one batch, between 10 and 100, // inclusive. MaxResults *int32 // If the results of a search are large, only a portion of the results are // returned, and a nextToken pagination token is returned in the response. To // retrieve the next batch of results, reissue the search request and include the // returned token. When all results have been returned, the response does not // contain a pagination token value. NextToken *string // A JSON set of elements including the awsAccountId , eventArn and a set of // statusCodes . OrganizationEntityAccountFilters []types.EntityAccountFilter // A JSON set of elements including the awsAccountId and the eventArn . // // Deprecated: This property is deprecated, use organizationEntityAccountFilters // instead. OrganizationEntityFilters []types.EventAccountFilter // contains filtered or unexported fields }
type DescribeAffectedEntitiesForOrganizationOutput ¶
type DescribeAffectedEntitiesForOrganizationOutput struct { // A JSON set of elements including the awsAccountId and its entityArn , // entityValue and its entityArn , lastUpdatedTime , and statusCode . Entities []types.AffectedEntity // A JSON set of elements of the failed response, including the awsAccountId , // errorMessage , errorName , and eventArn . FailedSet []types.OrganizationAffectedEntitiesErrorItem // If the results of a search are large, only a portion of the results are // returned, and a nextToken pagination token is returned in the response. To // retrieve the next batch of results, reissue the search request and include the // returned token. When all results have been returned, the response does not // contain a pagination token value. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeAffectedEntitiesForOrganizationPaginator ¶ added in v0.30.0
type DescribeAffectedEntitiesForOrganizationPaginator struct {
// contains filtered or unexported fields
}
DescribeAffectedEntitiesForOrganizationPaginator is a paginator for DescribeAffectedEntitiesForOrganization
func NewDescribeAffectedEntitiesForOrganizationPaginator ¶ added in v0.30.0
func NewDescribeAffectedEntitiesForOrganizationPaginator(client DescribeAffectedEntitiesForOrganizationAPIClient, params *DescribeAffectedEntitiesForOrganizationInput, optFns ...func(*DescribeAffectedEntitiesForOrganizationPaginatorOptions)) *DescribeAffectedEntitiesForOrganizationPaginator
NewDescribeAffectedEntitiesForOrganizationPaginator returns a new DescribeAffectedEntitiesForOrganizationPaginator
func (*DescribeAffectedEntitiesForOrganizationPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeAffectedEntitiesForOrganizationPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeAffectedEntitiesForOrganizationPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeAffectedEntitiesForOrganizationPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeAffectedEntitiesForOrganizationOutput, error)
NextPage retrieves the next DescribeAffectedEntitiesForOrganization page.
type DescribeAffectedEntitiesForOrganizationPaginatorOptions ¶ added in v0.30.0
type DescribeAffectedEntitiesForOrganizationPaginatorOptions struct { // The maximum number of items to return in one batch, between 10 and 100, // inclusive. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeAffectedEntitiesForOrganizationPaginatorOptions is the paginator options for DescribeAffectedEntitiesForOrganization
type DescribeAffectedEntitiesInput ¶
type DescribeAffectedEntitiesInput struct { // Values to narrow the results returned. At least one event ARN is required. // // This member is required. Filter *types.EntityFilter // The locale (language) to return information in. English (en) is the default and // the only supported value at this time. Locale *string // The maximum number of items to return in one batch, between 10 and 100, // inclusive. MaxResults *int32 // If the results of a search are large, only a portion of the results are // returned, and a nextToken pagination token is returned in the response. To // retrieve the next batch of results, reissue the search request and include the // returned token. When all results have been returned, the response does not // contain a pagination token value. NextToken *string // contains filtered or unexported fields }
type DescribeAffectedEntitiesOutput ¶
type DescribeAffectedEntitiesOutput struct { // The entities that match the filter criteria. Entities []types.AffectedEntity // If the results of a search are large, only a portion of the results are // returned, and a nextToken pagination token is returned in the response. To // retrieve the next batch of results, reissue the search request and include the // returned token. When all results have been returned, the response does not // contain a pagination token value. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeAffectedEntitiesPaginator ¶ added in v0.30.0
type DescribeAffectedEntitiesPaginator struct {
// contains filtered or unexported fields
}
DescribeAffectedEntitiesPaginator is a paginator for DescribeAffectedEntities
func NewDescribeAffectedEntitiesPaginator ¶ added in v0.30.0
func NewDescribeAffectedEntitiesPaginator(client DescribeAffectedEntitiesAPIClient, params *DescribeAffectedEntitiesInput, optFns ...func(*DescribeAffectedEntitiesPaginatorOptions)) *DescribeAffectedEntitiesPaginator
NewDescribeAffectedEntitiesPaginator returns a new DescribeAffectedEntitiesPaginator
func (*DescribeAffectedEntitiesPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeAffectedEntitiesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeAffectedEntitiesPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeAffectedEntitiesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeAffectedEntitiesOutput, error)
NextPage retrieves the next DescribeAffectedEntities page.
type DescribeAffectedEntitiesPaginatorOptions ¶ added in v0.30.0
type DescribeAffectedEntitiesPaginatorOptions struct { // The maximum number of items to return in one batch, between 10 and 100, // inclusive. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeAffectedEntitiesPaginatorOptions is the paginator options for DescribeAffectedEntities
type DescribeEntityAggregatesForOrganizationInput ¶ added in v1.19.0
type DescribeEntityAggregatesForOrganizationInput struct { // A list of event ARNs (unique identifiers). For example: // "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" // // This member is required. EventArns []string // A list of 12-digit Amazon Web Services account numbers that contains the // affected entities. AwsAccountIds []string // contains filtered or unexported fields }
type DescribeEntityAggregatesForOrganizationOutput ¶ added in v1.19.0
type DescribeEntityAggregatesForOrganizationOutput struct { // The list of entity aggregates for each of the specified accounts that are // affected by each of the specified events. OrganizationEntityAggregates []types.OrganizationEntityAggregate // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeEntityAggregatesInput ¶
type DescribeEntityAggregatesInput struct { // A list of event ARNs (unique identifiers). For example: // "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" EventArns []string // contains filtered or unexported fields }
type DescribeEntityAggregatesOutput ¶
type DescribeEntityAggregatesOutput struct { // The number of entities that are affected by each of the specified events. EntityAggregates []types.EntityAggregate // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeEventAggregatesAPIClient ¶ added in v0.30.0
type DescribeEventAggregatesAPIClient interface {
DescribeEventAggregates(context.Context, *DescribeEventAggregatesInput, ...func(*Options)) (*DescribeEventAggregatesOutput, error)
}
DescribeEventAggregatesAPIClient is a client that implements the DescribeEventAggregates operation.
type DescribeEventAggregatesInput ¶
type DescribeEventAggregatesInput struct { // The only currently supported value is eventTypeCategory . // // This member is required. AggregateField types.EventAggregateField // Values to narrow the results returned. Filter *types.EventFilter // The maximum number of items to return in one batch, between 10 and 100, // inclusive. MaxResults *int32 // If the results of a search are large, only a portion of the results are // returned, and a nextToken pagination token is returned in the response. To // retrieve the next batch of results, reissue the search request and include the // returned token. When all results have been returned, the response does not // contain a pagination token value. NextToken *string // contains filtered or unexported fields }
type DescribeEventAggregatesOutput ¶
type DescribeEventAggregatesOutput struct { // The number of events in each category that meet the optional filter criteria. EventAggregates []types.EventAggregate // If the results of a search are large, only a portion of the results are // returned, and a nextToken pagination token is returned in the response. To // retrieve the next batch of results, reissue the search request and include the // returned token. When all results have been returned, the response does not // contain a pagination token value. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeEventAggregatesPaginator ¶ added in v0.30.0
type DescribeEventAggregatesPaginator struct {
// contains filtered or unexported fields
}
DescribeEventAggregatesPaginator is a paginator for DescribeEventAggregates
func NewDescribeEventAggregatesPaginator ¶ added in v0.30.0
func NewDescribeEventAggregatesPaginator(client DescribeEventAggregatesAPIClient, params *DescribeEventAggregatesInput, optFns ...func(*DescribeEventAggregatesPaginatorOptions)) *DescribeEventAggregatesPaginator
NewDescribeEventAggregatesPaginator returns a new DescribeEventAggregatesPaginator
func (*DescribeEventAggregatesPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeEventAggregatesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeEventAggregatesPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeEventAggregatesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeEventAggregatesOutput, error)
NextPage retrieves the next DescribeEventAggregates page.
type DescribeEventAggregatesPaginatorOptions ¶ added in v0.30.0
type DescribeEventAggregatesPaginatorOptions struct { // The maximum number of items to return in one batch, between 10 and 100, // inclusive. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeEventAggregatesPaginatorOptions is the paginator options for DescribeEventAggregates
type DescribeEventDetailsForOrganizationInput ¶
type DescribeEventDetailsForOrganizationInput struct { // A set of JSON elements that includes the awsAccountId and the eventArn . // // This member is required. OrganizationEventDetailFilters []types.EventAccountFilter // The locale (language) to return information in. English (en) is the default and // the only supported value at this time. Locale *string // contains filtered or unexported fields }
type DescribeEventDetailsForOrganizationOutput ¶
type DescribeEventDetailsForOrganizationOutput struct { // Error messages for any events that could not be retrieved. FailedSet []types.OrganizationEventDetailsErrorItem // Information about the events that could be retrieved. SuccessfulSet []types.OrganizationEventDetails // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeEventDetailsInput ¶
type DescribeEventDetailsInput struct { // A list of event ARNs (unique identifiers). For example: // "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" // // This member is required. EventArns []string // The locale (language) to return information in. English (en) is the default and // the only supported value at this time. Locale *string // contains filtered or unexported fields }
type DescribeEventDetailsOutput ¶
type DescribeEventDetailsOutput struct { // Error messages for any events that could not be retrieved. FailedSet []types.EventDetailsErrorItem // Information about the events that could be retrieved. SuccessfulSet []types.EventDetails // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeEventTypesAPIClient ¶ added in v0.30.0
type DescribeEventTypesAPIClient interface {
DescribeEventTypes(context.Context, *DescribeEventTypesInput, ...func(*Options)) (*DescribeEventTypesOutput, error)
}
DescribeEventTypesAPIClient is a client that implements the DescribeEventTypes operation.
type DescribeEventTypesInput ¶
type DescribeEventTypesInput struct { // Values to narrow the results returned. Filter *types.EventTypeFilter // The locale (language) to return information in. English (en) is the default and // the only supported value at this time. Locale *string // The maximum number of items to return in one batch, between 10 and 100, // inclusive. // // If you don't specify the maxResults parameter, this operation returns a maximum // of 30 items by default. MaxResults *int32 // If the results of a search are large, only a portion of the results are // returned, and a nextToken pagination token is returned in the response. To // retrieve the next batch of results, reissue the search request and include the // returned token. When all results have been returned, the response does not // contain a pagination token value. NextToken *string // contains filtered or unexported fields }
type DescribeEventTypesOutput ¶
type DescribeEventTypesOutput struct { // A list of event types that match the filter criteria. Event types have a // category ( issue , accountNotification , or scheduledChange ), a service (for // example, EC2 , RDS , DATAPIPELINE , BILLING ), and a code (in the format // AWS_SERVICE_DESCRIPTION ; for example, AWS_EC2_SYSTEM_MAINTENANCE_EVENT ). EventTypes []types.EventType // If the results of a search are large, only a portion of the results are // returned, and a nextToken pagination token is returned in the response. To // retrieve the next batch of results, reissue the search request and include the // returned token. When all results have been returned, the response does not // contain a pagination token value. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeEventTypesPaginator ¶ added in v0.30.0
type DescribeEventTypesPaginator struct {
// contains filtered or unexported fields
}
DescribeEventTypesPaginator is a paginator for DescribeEventTypes
func NewDescribeEventTypesPaginator ¶ added in v0.30.0
func NewDescribeEventTypesPaginator(client DescribeEventTypesAPIClient, params *DescribeEventTypesInput, optFns ...func(*DescribeEventTypesPaginatorOptions)) *DescribeEventTypesPaginator
NewDescribeEventTypesPaginator returns a new DescribeEventTypesPaginator
func (*DescribeEventTypesPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeEventTypesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeEventTypesPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeEventTypesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeEventTypesOutput, error)
NextPage retrieves the next DescribeEventTypes page.
type DescribeEventTypesPaginatorOptions ¶ added in v0.30.0
type DescribeEventTypesPaginatorOptions struct { // The maximum number of items to return in one batch, between 10 and 100, // inclusive. // // If you don't specify the maxResults parameter, this operation returns a maximum // of 30 items by default. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeEventTypesPaginatorOptions is the paginator options for DescribeEventTypes
type DescribeEventsAPIClient ¶ added in v0.30.0
type DescribeEventsAPIClient interface {
DescribeEvents(context.Context, *DescribeEventsInput, ...func(*Options)) (*DescribeEventsOutput, error)
}
DescribeEventsAPIClient is a client that implements the DescribeEvents operation.
type DescribeEventsForOrganizationAPIClient ¶ added in v0.30.0
type DescribeEventsForOrganizationAPIClient interface {
DescribeEventsForOrganization(context.Context, *DescribeEventsForOrganizationInput, ...func(*Options)) (*DescribeEventsForOrganizationOutput, error)
}
DescribeEventsForOrganizationAPIClient is a client that implements the DescribeEventsForOrganization operation.
type DescribeEventsForOrganizationInput ¶
type DescribeEventsForOrganizationInput struct { // Values to narrow the results returned. Filter *types.OrganizationEventFilter // The locale (language) to return information in. English (en) is the default and // the only supported value at this time. Locale *string // The maximum number of items to return in one batch, between 10 and 100, // inclusive. MaxResults *int32 // If the results of a search are large, only a portion of the results are // returned, and a nextToken pagination token is returned in the response. To // retrieve the next batch of results, reissue the search request and include the // returned token. When all results have been returned, the response does not // contain a pagination token value. NextToken *string // contains filtered or unexported fields }
type DescribeEventsForOrganizationOutput ¶
type DescribeEventsForOrganizationOutput struct { // The events that match the specified filter criteria. Events []types.OrganizationEvent // If the results of a search are large, only a portion of the results are // returned, and a nextToken pagination token is returned in the response. To // retrieve the next batch of results, reissue the search request and include the // returned token. When all results have been returned, the response does not // contain a pagination token value. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeEventsForOrganizationPaginator ¶ added in v0.30.0
type DescribeEventsForOrganizationPaginator struct {
// contains filtered or unexported fields
}
DescribeEventsForOrganizationPaginator is a paginator for DescribeEventsForOrganization
func NewDescribeEventsForOrganizationPaginator ¶ added in v0.30.0
func NewDescribeEventsForOrganizationPaginator(client DescribeEventsForOrganizationAPIClient, params *DescribeEventsForOrganizationInput, optFns ...func(*DescribeEventsForOrganizationPaginatorOptions)) *DescribeEventsForOrganizationPaginator
NewDescribeEventsForOrganizationPaginator returns a new DescribeEventsForOrganizationPaginator
func (*DescribeEventsForOrganizationPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeEventsForOrganizationPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeEventsForOrganizationPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeEventsForOrganizationPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeEventsForOrganizationOutput, error)
NextPage retrieves the next DescribeEventsForOrganization page.
type DescribeEventsForOrganizationPaginatorOptions ¶ added in v0.30.0
type DescribeEventsForOrganizationPaginatorOptions struct { // The maximum number of items to return in one batch, between 10 and 100, // inclusive. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeEventsForOrganizationPaginatorOptions is the paginator options for DescribeEventsForOrganization
type DescribeEventsInput ¶
type DescribeEventsInput struct { // Values to narrow the results returned. Filter *types.EventFilter // The locale (language) to return information in. English (en) is the default and // the only supported value at this time. Locale *string // The maximum number of items to return in one batch, between 10 and 100, // inclusive. MaxResults *int32 // If the results of a search are large, only a portion of the results are // returned, and a nextToken pagination token is returned in the response. To // retrieve the next batch of results, reissue the search request and include the // returned token. When all results have been returned, the response does not // contain a pagination token value. NextToken *string // contains filtered or unexported fields }
type DescribeEventsOutput ¶
type DescribeEventsOutput struct { // The events that match the specified filter criteria. Events []types.Event // If the results of a search are large, only a portion of the results are // returned, and a nextToken pagination token is returned in the response. To // retrieve the next batch of results, reissue the search request and include the // returned token. When all results have been returned, the response does not // contain a pagination token value. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeEventsPaginator ¶ added in v0.30.0
type DescribeEventsPaginator struct {
// contains filtered or unexported fields
}
DescribeEventsPaginator is a paginator for DescribeEvents
func NewDescribeEventsPaginator ¶ added in v0.30.0
func NewDescribeEventsPaginator(client DescribeEventsAPIClient, params *DescribeEventsInput, optFns ...func(*DescribeEventsPaginatorOptions)) *DescribeEventsPaginator
NewDescribeEventsPaginator returns a new DescribeEventsPaginator
func (*DescribeEventsPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeEventsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeEventsPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeEventsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeEventsOutput, error)
NextPage retrieves the next DescribeEvents page.
type DescribeEventsPaginatorOptions ¶ added in v0.30.0
type DescribeEventsPaginatorOptions struct { // The maximum number of items to return in one batch, between 10 and 100, // inclusive. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeEventsPaginatorOptions is the paginator options for DescribeEvents
type DescribeHealthServiceStatusForOrganizationInput ¶
type DescribeHealthServiceStatusForOrganizationInput struct {
// contains filtered or unexported fields
}
type DescribeHealthServiceStatusForOrganizationOutput ¶
type DescribeHealthServiceStatusForOrganizationOutput struct { // Information about the status of enabling or disabling the Health organizational // view feature in your organization. // // Valid values are ENABLED | DISABLED | PENDING . HealthServiceAccessStatusForOrganization *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DisableHealthServiceAccessForOrganizationInput ¶
type DisableHealthServiceAccessForOrganizationInput struct {
// contains filtered or unexported fields
}
type DisableHealthServiceAccessForOrganizationOutput ¶
type DisableHealthServiceAccessForOrganizationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type EnableHealthServiceAccessForOrganizationInput ¶
type EnableHealthServiceAccessForOrganizationInput struct {
// contains filtered or unexported fields
}
type EnableHealthServiceAccessForOrganizationOutput ¶
type EnableHealthServiceAccessForOrganizationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type EndpointParameters ¶ added in v1.18.0
type EndpointParameters struct { // The AWS region used to dispatch the request. // // Parameter is // required. // // AWS::Region Region *string // When true, use the dual-stack endpoint. If the configured endpoint does not // support dual-stack, dispatching the request MAY return an error. // // Defaults to // false if no value is provided. // // AWS::UseDualStack UseDualStack *bool // When true, send this request to the FIPS-compliant regional endpoint. If the // configured endpoint does not have a FIPS compliant endpoint, dispatching the // request will return an error. // // Defaults to false if no value is // provided. // // AWS::UseFIPS UseFIPS *bool // Override the endpoint used to send this request // // Parameter is // required. // // SDK::Endpoint Endpoint *string }
EndpointParameters provides the parameters that influence how endpoints are resolved.
func (EndpointParameters) ValidateRequired ¶ added in v1.18.0
func (p EndpointParameters) ValidateRequired() error
ValidateRequired validates required parameters are set.
func (EndpointParameters) WithDefaults ¶ added in v1.18.0
func (p EndpointParameters) WithDefaults() EndpointParameters
WithDefaults returns a shallow copy of EndpointParameterswith default values applied to members where applicable.
type EndpointResolver ¶
type EndpointResolver interface {
ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶ added in v1.1.0
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶ added in v0.29.0
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type EndpointResolverV2 ¶ added in v1.18.0
type EndpointResolverV2 interface { // ResolveEndpoint attempts to resolve the endpoint with the provided options, // returning the endpoint if found. Otherwise an error is returned. ResolveEndpoint(ctx context.Context, params EndpointParameters) ( smithyendpoints.Endpoint, error, ) }
EndpointResolverV2 provides the interface for resolving service endpoints.
func NewDefaultEndpointResolverV2 ¶ added in v1.18.0
func NewDefaultEndpointResolverV2() EndpointResolverV2
type HTTPSignerV4 ¶
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // The optional application specific identifier appended to the User-Agent header. AppID string // This endpoint will be given as input to an EndpointResolverV2. It is used for // providing a custom base endpoint that is subject to modifications by the // processing EndpointResolverV2. BaseEndpoint *string // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The configuration DefaultsMode that the SDK should use when constructing the // clients initial default settings. DefaultsMode aws.DefaultsMode // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. // // Deprecated: Deprecated: EndpointResolver and WithEndpointResolver. Providing a // value for this field will likely prevent you from using any endpoint-related // service features released after the introduction of EndpointResolverV2 and // BaseEndpoint. // // To migrate an EndpointResolver implementation that uses a custom endpoint, set // the client option BaseEndpoint instead. EndpointResolver EndpointResolver // Resolves the endpoint used for a particular service operation. This should be // used over the deprecated EndpointResolver. EndpointResolverV2 EndpointResolverV2 // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // The logger writer interface to write logging messages to. Logger logging.Logger // The client meter provider. MeterProvider metrics.MeterProvider // The region to send requests to. (Required) Region string // RetryMaxAttempts specifies the maximum number attempts an API client will call // an operation that fails with a retryable error. A value of 0 is ignored, and // will not be used to configure the API client created default retryer, or modify // per operation call's retry max attempts. // // If specified in an operation call's functional options with a value that is // different than the constructed client's Options, the Client's Retryer will be // wrapped to use the operation's specific RetryMaxAttempts value. RetryMaxAttempts int // RetryMode specifies the retry mode the API client will be created with, if // Retryer option is not also specified. // // When creating a new API Clients this member will only be used if the Retryer // Options member is nil. This value will be ignored if Retryer is not nil. // // Currently does not support per operation call overrides, may in the future. RetryMode aws.RetryMode // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. The kind of // default retry created by the API client can be changed with the RetryMode // option. Retryer aws.Retryer // The RuntimeEnvironment configuration, only populated if the DefaultsMode is set // to DefaultsModeAuto and is initialized using config.LoadDefaultConfig . You // should not populate this structure programmatically, or rely on the values here // within your applications. RuntimeEnvironment aws.RuntimeEnvironment // The client tracer provider. TracerProvider tracing.TracerProvider // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient // The auth scheme resolver which determines how to authenticate for each // operation. AuthSchemeResolver AuthSchemeResolver // The list of auth schemes supported by the client. AuthSchemes []smithyhttp.AuthScheme // contains filtered or unexported fields }
func (Options) GetIdentityResolver ¶ added in v1.21.2
func (o Options) GetIdentityResolver(schemeID string) smithyauth.IdentityResolver
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
Source Files ¶
- api_client.go
- api_op_DescribeAffectedAccountsForOrganization.go
- api_op_DescribeAffectedEntities.go
- api_op_DescribeAffectedEntitiesForOrganization.go
- api_op_DescribeEntityAggregates.go
- api_op_DescribeEntityAggregatesForOrganization.go
- api_op_DescribeEventAggregates.go
- api_op_DescribeEventDetails.go
- api_op_DescribeEventDetailsForOrganization.go
- api_op_DescribeEventTypes.go
- api_op_DescribeEvents.go
- api_op_DescribeEventsForOrganization.go
- api_op_DescribeHealthServiceStatusForOrganization.go
- api_op_DisableHealthServiceAccessForOrganization.go
- api_op_EnableHealthServiceAccessForOrganization.go
- auth.go
- deserializers.go
- doc.go
- endpoints.go
- go_module_metadata.go
- options.go
- serializers.go
- validators.go