Documentation ¶
Overview ¶
Package ssmincidents provides the API client, operations, and parameter types for AWS Systems Manager Incident Manager.
Systems Manager Incident Manager is an incident management console designed to help users mitigate and recover from incidents affecting their Amazon Web Services-hosted applications. An incident is any unplanned interruption or reduction in quality of services.
Incident Manager increases incident resolution by notifying responders of impact, highlighting relevant troubleshooting data, and providing collaboration tools to get services back up and running. To achieve the primary goal of reducing the time-to-resolution of critical incidents, Incident Manager automates response plans and enables responder team escalation.
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 BatchGetIncidentFindingsInput
- type BatchGetIncidentFindingsOutput
- type Client
- func (c *Client) BatchGetIncidentFindings(ctx context.Context, params *BatchGetIncidentFindingsInput, ...) (*BatchGetIncidentFindingsOutput, error)
- func (c *Client) CreateReplicationSet(ctx context.Context, params *CreateReplicationSetInput, ...) (*CreateReplicationSetOutput, error)
- func (c *Client) CreateResponsePlan(ctx context.Context, params *CreateResponsePlanInput, optFns ...func(*Options)) (*CreateResponsePlanOutput, error)
- func (c *Client) CreateTimelineEvent(ctx context.Context, params *CreateTimelineEventInput, ...) (*CreateTimelineEventOutput, error)
- func (c *Client) DeleteIncidentRecord(ctx context.Context, params *DeleteIncidentRecordInput, ...) (*DeleteIncidentRecordOutput, error)
- func (c *Client) DeleteReplicationSet(ctx context.Context, params *DeleteReplicationSetInput, ...) (*DeleteReplicationSetOutput, error)
- func (c *Client) DeleteResourcePolicy(ctx context.Context, params *DeleteResourcePolicyInput, ...) (*DeleteResourcePolicyOutput, error)
- func (c *Client) DeleteResponsePlan(ctx context.Context, params *DeleteResponsePlanInput, optFns ...func(*Options)) (*DeleteResponsePlanOutput, error)
- func (c *Client) DeleteTimelineEvent(ctx context.Context, params *DeleteTimelineEventInput, ...) (*DeleteTimelineEventOutput, error)
- func (c *Client) GetIncidentRecord(ctx context.Context, params *GetIncidentRecordInput, optFns ...func(*Options)) (*GetIncidentRecordOutput, error)
- func (c *Client) GetReplicationSet(ctx context.Context, params *GetReplicationSetInput, optFns ...func(*Options)) (*GetReplicationSetOutput, error)
- func (c *Client) GetResourcePolicies(ctx context.Context, params *GetResourcePoliciesInput, ...) (*GetResourcePoliciesOutput, error)
- func (c *Client) GetResponsePlan(ctx context.Context, params *GetResponsePlanInput, optFns ...func(*Options)) (*GetResponsePlanOutput, error)
- func (c *Client) GetTimelineEvent(ctx context.Context, params *GetTimelineEventInput, optFns ...func(*Options)) (*GetTimelineEventOutput, error)
- func (c *Client) ListIncidentFindings(ctx context.Context, params *ListIncidentFindingsInput, ...) (*ListIncidentFindingsOutput, error)
- func (c *Client) ListIncidentRecords(ctx context.Context, params *ListIncidentRecordsInput, ...) (*ListIncidentRecordsOutput, error)
- func (c *Client) ListRelatedItems(ctx context.Context, params *ListRelatedItemsInput, optFns ...func(*Options)) (*ListRelatedItemsOutput, error)
- func (c *Client) ListReplicationSets(ctx context.Context, params *ListReplicationSetsInput, ...) (*ListReplicationSetsOutput, error)
- func (c *Client) ListResponsePlans(ctx context.Context, params *ListResponsePlansInput, optFns ...func(*Options)) (*ListResponsePlansOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, ...) (*ListTagsForResourceOutput, error)
- func (c *Client) ListTimelineEvents(ctx context.Context, params *ListTimelineEventsInput, optFns ...func(*Options)) (*ListTimelineEventsOutput, error)
- func (c *Client) Options() Options
- func (c *Client) PutResourcePolicy(ctx context.Context, params *PutResourcePolicyInput, optFns ...func(*Options)) (*PutResourcePolicyOutput, error)
- func (c *Client) StartIncident(ctx context.Context, params *StartIncidentInput, optFns ...func(*Options)) (*StartIncidentOutput, error)
- func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
- func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
- func (c *Client) UpdateDeletionProtection(ctx context.Context, params *UpdateDeletionProtectionInput, ...) (*UpdateDeletionProtectionOutput, error)
- func (c *Client) UpdateIncidentRecord(ctx context.Context, params *UpdateIncidentRecordInput, ...) (*UpdateIncidentRecordOutput, error)
- func (c *Client) UpdateRelatedItems(ctx context.Context, params *UpdateRelatedItemsInput, optFns ...func(*Options)) (*UpdateRelatedItemsOutput, error)
- func (c *Client) UpdateReplicationSet(ctx context.Context, params *UpdateReplicationSetInput, ...) (*UpdateReplicationSetOutput, error)
- func (c *Client) UpdateResponsePlan(ctx context.Context, params *UpdateResponsePlanInput, optFns ...func(*Options)) (*UpdateResponsePlanOutput, error)
- func (c *Client) UpdateTimelineEvent(ctx context.Context, params *UpdateTimelineEventInput, ...) (*UpdateTimelineEventOutput, error)
- type CreateReplicationSetInput
- type CreateReplicationSetOutput
- type CreateResponsePlanInput
- type CreateResponsePlanOutput
- type CreateTimelineEventInput
- type CreateTimelineEventOutput
- type DeleteIncidentRecordInput
- type DeleteIncidentRecordOutput
- type DeleteReplicationSetInput
- type DeleteReplicationSetOutput
- type DeleteResourcePolicyInput
- type DeleteResourcePolicyOutput
- type DeleteResponsePlanInput
- type DeleteResponsePlanOutput
- type DeleteTimelineEventInput
- type DeleteTimelineEventOutput
- type EndpointParameters
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type EndpointResolverV2
- type GetIncidentRecordInput
- type GetIncidentRecordOutput
- type GetReplicationSetAPIClient
- type GetReplicationSetInput
- type GetReplicationSetOutput
- type GetResourcePoliciesAPIClient
- type GetResourcePoliciesInput
- type GetResourcePoliciesOutput
- type GetResourcePoliciesPaginator
- type GetResourcePoliciesPaginatorOptions
- type GetResponsePlanInput
- type GetResponsePlanOutput
- type GetTimelineEventInput
- type GetTimelineEventOutput
- type HTTPClient
- type HTTPSignerV4
- type IdempotencyTokenProvider
- type ListIncidentFindingsAPIClient
- type ListIncidentFindingsInput
- type ListIncidentFindingsOutput
- type ListIncidentFindingsPaginator
- type ListIncidentFindingsPaginatorOptions
- type ListIncidentRecordsAPIClient
- type ListIncidentRecordsInput
- type ListIncidentRecordsOutput
- type ListIncidentRecordsPaginator
- type ListIncidentRecordsPaginatorOptions
- type ListRelatedItemsAPIClient
- type ListRelatedItemsInput
- type ListRelatedItemsOutput
- type ListRelatedItemsPaginator
- type ListRelatedItemsPaginatorOptions
- type ListReplicationSetsAPIClient
- type ListReplicationSetsInput
- type ListReplicationSetsOutput
- type ListReplicationSetsPaginator
- type ListReplicationSetsPaginatorOptions
- type ListResponsePlansAPIClient
- type ListResponsePlansInput
- type ListResponsePlansOutput
- type ListResponsePlansPaginator
- type ListResponsePlansPaginatorOptions
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type ListTimelineEventsAPIClient
- type ListTimelineEventsInput
- type ListTimelineEventsOutput
- type ListTimelineEventsPaginator
- type ListTimelineEventsPaginatorOptions
- type Options
- type PutResourcePolicyInput
- type PutResourcePolicyOutput
- type ResolveEndpoint
- type StartIncidentInput
- type StartIncidentOutput
- type TagResourceInput
- type TagResourceOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateDeletionProtectionInput
- type UpdateDeletionProtectionOutput
- type UpdateIncidentRecordInput
- type UpdateIncidentRecordOutput
- type UpdateRelatedItemsInput
- type UpdateRelatedItemsOutput
- type UpdateReplicationSetInput
- type UpdateReplicationSetOutput
- type UpdateResponsePlanInput
- type UpdateResponsePlanOutput
- type UpdateTimelineEventInput
- type UpdateTimelineEventOutput
- type WaitForReplicationSetActiveWaiter
- func (w *WaitForReplicationSetActiveWaiter) Wait(ctx context.Context, params *GetReplicationSetInput, maxWaitDur time.Duration, ...) error
- func (w *WaitForReplicationSetActiveWaiter) WaitForOutput(ctx context.Context, params *GetReplicationSetInput, maxWaitDur time.Duration, ...) (*GetReplicationSetOutput, error)
- type WaitForReplicationSetActiveWaiterOptions
- type WaitForReplicationSetDeletedWaiter
- func (w *WaitForReplicationSetDeletedWaiter) Wait(ctx context.Context, params *GetReplicationSetInput, maxWaitDur time.Duration, ...) error
- func (w *WaitForReplicationSetDeletedWaiter) WaitForOutput(ctx context.Context, params *GetReplicationSetInput, maxWaitDur time.Duration, ...) (*GetReplicationSetOutput, error)
- type WaitForReplicationSetDeletedWaiterOptions
Constants ¶
const ServiceAPIVersion = "2018-05-10"
const ServiceID = "SSM Incidents"
Variables ¶
This section is empty.
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶
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 ¶
func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
WithEndpointResolverV2 returns a functional option for setting the Client's EndpointResolverV2 option.
func WithSigV4SigningName ¶
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 ¶
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 ¶
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 ¶
type AuthSchemeResolver interface {
ResolveAuthSchemes(context.Context, *AuthResolverParameters) ([]*smithyauth.Option, error)
}
AuthSchemeResolver returns a set of possible authentication options for an operation.
type BatchGetIncidentFindingsInput ¶
type BatchGetIncidentFindingsInput struct { // A list of IDs of findings for which you want to view details. // // This member is required. FindingIds []string // The Amazon Resource Name (ARN) of the incident for which you want to view // finding details. // // This member is required. IncidentRecordArn *string // contains filtered or unexported fields }
type BatchGetIncidentFindingsOutput ¶
type BatchGetIncidentFindingsOutput struct { // A list of errors encountered during the operation. // // This member is required. Errors []types.BatchGetIncidentFindingsError // Information about the requested findings. // // This member is required. Findings []types.Finding // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for AWS Systems Manager Incident Manager.
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) BatchGetIncidentFindings ¶
func (c *Client) BatchGetIncidentFindings(ctx context.Context, params *BatchGetIncidentFindingsInput, optFns ...func(*Options)) (*BatchGetIncidentFindingsOutput, error)
Retrieves details about all specified findings for an incident, including descriptive details about each finding. A finding represents a recent application environment change made by an CodeDeploy deployment or an CloudFormation stack creation or update that can be investigated as a potential cause of the incident.
func (*Client) CreateReplicationSet ¶
func (c *Client) CreateReplicationSet(ctx context.Context, params *CreateReplicationSetInput, optFns ...func(*Options)) (*CreateReplicationSetOutput, error)
A replication set replicates and encrypts your data to the provided Regions with the provided KMS key.
func (*Client) CreateResponsePlan ¶
func (c *Client) CreateResponsePlan(ctx context.Context, params *CreateResponsePlanInput, optFns ...func(*Options)) (*CreateResponsePlanOutput, error)
Creates a response plan that automates the initial response to incidents. A response plan engages contacts, starts chat channel collaboration, and initiates runbooks at the beginning of an incident.
func (*Client) CreateTimelineEvent ¶
func (c *Client) CreateTimelineEvent(ctx context.Context, params *CreateTimelineEventInput, optFns ...func(*Options)) (*CreateTimelineEventOutput, error)
Creates a custom timeline event on the incident details page of an incident record. Incident Manager automatically creates timeline events that mark key moments during an incident. You can create custom timeline events to mark important events that Incident Manager can detect automatically.
func (*Client) DeleteIncidentRecord ¶
func (c *Client) DeleteIncidentRecord(ctx context.Context, params *DeleteIncidentRecordInput, optFns ...func(*Options)) (*DeleteIncidentRecordOutput, error)
Delete an incident record from Incident Manager.
func (*Client) DeleteReplicationSet ¶
func (c *Client) DeleteReplicationSet(ctx context.Context, params *DeleteReplicationSetInput, optFns ...func(*Options)) (*DeleteReplicationSetOutput, error)
Deletes all Regions in your replication set. Deleting the replication set deletes all Incident Manager data.
func (*Client) DeleteResourcePolicy ¶
func (c *Client) DeleteResourcePolicy(ctx context.Context, params *DeleteResourcePolicyInput, optFns ...func(*Options)) (*DeleteResourcePolicyOutput, error)
Deletes the resource policy that Resource Access Manager uses to share your Incident Manager resource.
func (*Client) DeleteResponsePlan ¶
func (c *Client) DeleteResponsePlan(ctx context.Context, params *DeleteResponsePlanInput, optFns ...func(*Options)) (*DeleteResponsePlanOutput, error)
Deletes the specified response plan. Deleting a response plan stops all linked CloudWatch alarms and EventBridge events from creating an incident with this response plan.
func (*Client) DeleteTimelineEvent ¶
func (c *Client) DeleteTimelineEvent(ctx context.Context, params *DeleteTimelineEventInput, optFns ...func(*Options)) (*DeleteTimelineEventOutput, error)
Deletes a timeline event from an incident.
func (*Client) GetIncidentRecord ¶
func (c *Client) GetIncidentRecord(ctx context.Context, params *GetIncidentRecordInput, optFns ...func(*Options)) (*GetIncidentRecordOutput, error)
Returns the details for the specified incident record.
func (*Client) GetReplicationSet ¶
func (c *Client) GetReplicationSet(ctx context.Context, params *GetReplicationSetInput, optFns ...func(*Options)) (*GetReplicationSetOutput, error)
Retrieve your Incident Manager replication set.
func (*Client) GetResourcePolicies ¶
func (c *Client) GetResourcePolicies(ctx context.Context, params *GetResourcePoliciesInput, optFns ...func(*Options)) (*GetResourcePoliciesOutput, error)
Retrieves the resource policies attached to the specified response plan.
func (*Client) GetResponsePlan ¶
func (c *Client) GetResponsePlan(ctx context.Context, params *GetResponsePlanInput, optFns ...func(*Options)) (*GetResponsePlanOutput, error)
Retrieves the details of the specified response plan.
func (*Client) GetTimelineEvent ¶
func (c *Client) GetTimelineEvent(ctx context.Context, params *GetTimelineEventInput, optFns ...func(*Options)) (*GetTimelineEventOutput, error)
Retrieves a timeline event based on its ID and incident record.
func (*Client) ListIncidentFindings ¶
func (c *Client) ListIncidentFindings(ctx context.Context, params *ListIncidentFindingsInput, optFns ...func(*Options)) (*ListIncidentFindingsOutput, error)
Retrieves a list of the IDs of findings, plus their last modified times, that have been identified for a specified incident. A finding represents a recent application environment change made by an CloudFormation stack creation or update or an CodeDeploy deployment that can be investigated as a potential cause of the incident.
func (*Client) ListIncidentRecords ¶
func (c *Client) ListIncidentRecords(ctx context.Context, params *ListIncidentRecordsInput, optFns ...func(*Options)) (*ListIncidentRecordsOutput, error)
Lists all incident records in your account. Use this command to retrieve the Amazon Resource Name (ARN) of the incident record you want to update.
func (*Client) ListRelatedItems ¶
func (c *Client) ListRelatedItems(ctx context.Context, params *ListRelatedItemsInput, optFns ...func(*Options)) (*ListRelatedItemsOutput, error)
List all related items for an incident record.
func (*Client) ListReplicationSets ¶
func (c *Client) ListReplicationSets(ctx context.Context, params *ListReplicationSetsInput, optFns ...func(*Options)) (*ListReplicationSetsOutput, error)
Lists details about the replication set configured in your account.
func (*Client) ListResponsePlans ¶
func (c *Client) ListResponsePlans(ctx context.Context, params *ListResponsePlansInput, optFns ...func(*Options)) (*ListResponsePlansOutput, error)
Lists all response plans in your account.
func (*Client) ListTagsForResource ¶
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
Lists the tags that are attached to the specified response plan or incident.
func (*Client) ListTimelineEvents ¶
func (c *Client) ListTimelineEvents(ctx context.Context, params *ListTimelineEventsInput, optFns ...func(*Options)) (*ListTimelineEventsOutput, error)
Lists timeline events for the specified incident record.
func (*Client) Options ¶
Options returns a copy of the client configuration.
Callers SHOULD NOT perform mutations on any inner structures within client config. Config overrides should instead be made on a per-operation basis through functional options.
func (*Client) PutResourcePolicy ¶
func (c *Client) PutResourcePolicy(ctx context.Context, params *PutResourcePolicyInput, optFns ...func(*Options)) (*PutResourcePolicyOutput, error)
Adds a resource policy to the specified response plan. The resource policy is used to share the response plan using Resource Access Manager (RAM). For more information about cross-account sharing, see Cross-Region and cross-account incident management.
func (*Client) StartIncident ¶
func (c *Client) StartIncident(ctx context.Context, params *StartIncidentInput, optFns ...func(*Options)) (*StartIncidentOutput, error)
Used to start an incident from CloudWatch alarms, EventBridge events, or manually.
func (*Client) TagResource ¶
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
Adds a tag to a response plan.
func (*Client) UntagResource ¶
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
Removes a tag from a resource.
func (*Client) UpdateDeletionProtection ¶
func (c *Client) UpdateDeletionProtection(ctx context.Context, params *UpdateDeletionProtectionInput, optFns ...func(*Options)) (*UpdateDeletionProtectionOutput, error)
Update deletion protection to either allow or deny deletion of the final Region in a replication set.
func (*Client) UpdateIncidentRecord ¶
func (c *Client) UpdateIncidentRecord(ctx context.Context, params *UpdateIncidentRecordInput, optFns ...func(*Options)) (*UpdateIncidentRecordOutput, error)
Update the details of an incident record. You can use this operation to update an incident record from the defined chat channel. For more information about using actions in chat channels, see Interacting through chat.
func (*Client) UpdateRelatedItems ¶
func (c *Client) UpdateRelatedItems(ctx context.Context, params *UpdateRelatedItemsInput, optFns ...func(*Options)) (*UpdateRelatedItemsOutput, error)
Add or remove related items from the related items tab of an incident record.
func (*Client) UpdateReplicationSet ¶
func (c *Client) UpdateReplicationSet(ctx context.Context, params *UpdateReplicationSetInput, optFns ...func(*Options)) (*UpdateReplicationSetOutput, error)
Add or delete Regions from your replication set.
func (*Client) UpdateResponsePlan ¶
func (c *Client) UpdateResponsePlan(ctx context.Context, params *UpdateResponsePlanInput, optFns ...func(*Options)) (*UpdateResponsePlanOutput, error)
Updates the specified response plan.
func (*Client) UpdateTimelineEvent ¶
func (c *Client) UpdateTimelineEvent(ctx context.Context, params *UpdateTimelineEventInput, optFns ...func(*Options)) (*UpdateTimelineEventOutput, error)
Updates a timeline event. You can update events of type Custom Event .
type CreateReplicationSetInput ¶
type CreateReplicationSetInput struct { // The Regions that Incident Manager replicates your data to. You can have up to // three Regions in your replication set. // // This member is required. Regions map[string]types.RegionMapInputValue // A token that ensures that the operation is called only once with the specified // details. ClientToken *string // A list of tags to add to the replication set. Tags map[string]string // contains filtered or unexported fields }
type CreateReplicationSetOutput ¶
type CreateReplicationSetOutput struct { // The Amazon Resource Name (ARN) of the replication set. // // This member is required. Arn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateResponsePlanInput ¶
type CreateResponsePlanInput struct { // Details used to create an incident when using this response plan. // // This member is required. IncidentTemplate *types.IncidentTemplate // The short format name of the response plan. Can't include spaces. // // This member is required. Name *string // The actions that the response plan starts at the beginning of an incident. Actions []types.Action // The Chatbot chat channel used for collaboration during an incident. ChatChannel types.ChatChannel // A token ensuring that the operation is called only once with the specified // details. ClientToken *string // The long format of the response plan name. This field can contain spaces. DisplayName *string // The Amazon Resource Name (ARN) for the contacts and escalation plans that the // response plan engages during an incident. Engagements []string // Information about third-party services integrated into the response plan. Integrations []types.Integration // A list of tags that you are adding to the response plan. Tags map[string]string // contains filtered or unexported fields }
type CreateResponsePlanOutput ¶
type CreateResponsePlanOutput struct { // The Amazon Resource Name (ARN) of the response plan. // // This member is required. Arn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateTimelineEventInput ¶
type CreateTimelineEventInput struct { // A short description of the event. // // This member is required. EventData *string // The timestamp for when the event occurred. // // This member is required. EventTime *time.Time // The type of event. You can create timeline events of type Custom Event and Note . // // To make a Note-type event appear on the Incident notes panel in the console, // specify eventType as Note and enter the Amazon Resource Name (ARN) of the // incident as the value for eventReference . // // This member is required. EventType *string // The Amazon Resource Name (ARN) of the incident record that the action adds the // incident to. // // This member is required. IncidentRecordArn *string // A token that ensures that a client calls the action only once with the // specified details. ClientToken *string // Adds one or more references to the TimelineEvent . A reference is an Amazon Web // Services resource involved or associated with the incident. To specify a // reference, enter its Amazon Resource Name (ARN). You can also specify a related // item associated with a resource. For example, to specify an Amazon DynamoDB // (DynamoDB) table as a resource, use the table's ARN. You can also specify an // Amazon CloudWatch metric associated with the DynamoDB table as a related item. EventReferences []types.EventReference // contains filtered or unexported fields }
type CreateTimelineEventOutput ¶
type CreateTimelineEventOutput struct { // The ID of the event for easy reference later. // // This member is required. EventId *string // The ARN of the incident record that you added the event to. // // This member is required. IncidentRecordArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteIncidentRecordInput ¶
type DeleteIncidentRecordInput struct { // The Amazon Resource Name (ARN) of the incident record you are deleting. // // This member is required. Arn *string // contains filtered or unexported fields }
type DeleteIncidentRecordOutput ¶
type DeleteIncidentRecordOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteReplicationSetInput ¶
type DeleteReplicationSetInput struct { // The Amazon Resource Name (ARN) of the replication set you're deleting. // // This member is required. Arn *string // contains filtered or unexported fields }
type DeleteReplicationSetOutput ¶
type DeleteReplicationSetOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteResourcePolicyInput ¶
type DeleteResourcePolicyInput struct { // The ID of the resource policy you're deleting. // // This member is required. PolicyId *string // The Amazon Resource Name (ARN) of the resource you're deleting the policy from. // // This member is required. ResourceArn *string // contains filtered or unexported fields }
type DeleteResourcePolicyOutput ¶
type DeleteResourcePolicyOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteResponsePlanInput ¶
type DeleteResponsePlanInput struct { // The Amazon Resource Name (ARN) of the response plan. // // This member is required. Arn *string // contains filtered or unexported fields }
type DeleteResponsePlanOutput ¶
type DeleteResponsePlanOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteTimelineEventInput ¶
type DeleteTimelineEventInput struct { // The ID of the event to update. You can use ListTimelineEvents to find an // event's ID. // // This member is required. EventId *string // The Amazon Resource Name (ARN) of the incident that includes the timeline event. // // This member is required. IncidentRecordArn *string // contains filtered or unexported fields }
type DeleteTimelineEventOutput ¶
type DeleteTimelineEventOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type EndpointParameters ¶
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 ¶
func (p EndpointParameters) ValidateRequired() error
ValidateRequired validates required parameters are set.
func (EndpointParameters) WithDefaults ¶
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 ¶
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 ¶
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type EndpointResolverV2 ¶
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 ¶
func NewDefaultEndpointResolverV2() EndpointResolverV2
type GetIncidentRecordInput ¶
type GetIncidentRecordInput struct { // The Amazon Resource Name (ARN) of the incident record. // // This member is required. Arn *string // contains filtered or unexported fields }
type GetIncidentRecordOutput ¶
type GetIncidentRecordOutput struct { // Details the structure of the incident record. // // This member is required. IncidentRecord *types.IncidentRecord // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetReplicationSetAPIClient ¶
type GetReplicationSetAPIClient interface {
GetReplicationSet(context.Context, *GetReplicationSetInput, ...func(*Options)) (*GetReplicationSetOutput, error)
}
GetReplicationSetAPIClient is a client that implements the GetReplicationSet operation.
type GetReplicationSetInput ¶
type GetReplicationSetInput struct { // The Amazon Resource Name (ARN) of the replication set you want to retrieve. // // This member is required. Arn *string // contains filtered or unexported fields }
type GetReplicationSetOutput ¶
type GetReplicationSetOutput struct { // Details of the replication set. // // This member is required. ReplicationSet *types.ReplicationSet // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetResourcePoliciesAPIClient ¶
type GetResourcePoliciesAPIClient interface {
GetResourcePolicies(context.Context, *GetResourcePoliciesInput, ...func(*Options)) (*GetResourcePoliciesOutput, error)
}
GetResourcePoliciesAPIClient is a client that implements the GetResourcePolicies operation.
type GetResourcePoliciesInput ¶
type GetResourcePoliciesInput struct { // The Amazon Resource Name (ARN) of the response plan with the attached resource // policy. // // This member is required. ResourceArn *string // The maximum number of resource policies to display for each page of results. MaxResults *int32 // The pagination token for the next set of items to return. (You received this // token from a previous call.) NextToken *string // contains filtered or unexported fields }
type GetResourcePoliciesOutput ¶
type GetResourcePoliciesOutput struct { // Details about the resource policy attached to the response plan. // // This member is required. ResourcePolicies []types.ResourcePolicy // The pagination token to use when requesting the next set of items. If there are // no additional items to return, the string is null. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetResourcePoliciesPaginator ¶
type GetResourcePoliciesPaginator struct {
// contains filtered or unexported fields
}
GetResourcePoliciesPaginator is a paginator for GetResourcePolicies
func NewGetResourcePoliciesPaginator ¶
func NewGetResourcePoliciesPaginator(client GetResourcePoliciesAPIClient, params *GetResourcePoliciesInput, optFns ...func(*GetResourcePoliciesPaginatorOptions)) *GetResourcePoliciesPaginator
NewGetResourcePoliciesPaginator returns a new GetResourcePoliciesPaginator
func (*GetResourcePoliciesPaginator) HasMorePages ¶
func (p *GetResourcePoliciesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*GetResourcePoliciesPaginator) NextPage ¶
func (p *GetResourcePoliciesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*GetResourcePoliciesOutput, error)
NextPage retrieves the next GetResourcePolicies page.
type GetResourcePoliciesPaginatorOptions ¶
type GetResourcePoliciesPaginatorOptions struct { // The maximum number of resource policies to display for each page of results. 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 }
GetResourcePoliciesPaginatorOptions is the paginator options for GetResourcePolicies
type GetResponsePlanInput ¶
type GetResponsePlanInput struct { // The Amazon Resource Name (ARN) of the response plan. // // This member is required. Arn *string // contains filtered or unexported fields }
type GetResponsePlanOutput ¶
type GetResponsePlanOutput struct { // The ARN of the response plan. // // This member is required. Arn *string // Details used to create the incident when using this response plan. // // This member is required. IncidentTemplate *types.IncidentTemplate // The short format name of the response plan. The name can't contain spaces. // // This member is required. Name *string // The actions that this response plan takes at the beginning of the incident. Actions []types.Action // The Chatbot chat channel used for collaboration during an incident. ChatChannel types.ChatChannel // The long format name of the response plan. Can contain spaces. DisplayName *string // The Amazon Resource Name (ARN) for the contacts and escalation plans that the // response plan engages during an incident. Engagements []string // Information about third-party services integrated into the Incident Manager // response plan. Integrations []types.Integration // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetTimelineEventInput ¶
type GetTimelineEventInput struct { // The ID of the event. You can get an event's ID when you create it, or by using // ListTimelineEvents . // // This member is required. EventId *string // The Amazon Resource Name (ARN) of the incident that includes the timeline event. // // This member is required. IncidentRecordArn *string // contains filtered or unexported fields }
type GetTimelineEventOutput ¶
type GetTimelineEventOutput struct { // Details about the timeline event. // // This member is required. Event *types.TimelineEvent // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type HTTPSignerV4 ¶
type IdempotencyTokenProvider ¶
IdempotencyTokenProvider interface for providing idempotency token
type ListIncidentFindingsAPIClient ¶
type ListIncidentFindingsAPIClient interface {
ListIncidentFindings(context.Context, *ListIncidentFindingsInput, ...func(*Options)) (*ListIncidentFindingsOutput, error)
}
ListIncidentFindingsAPIClient is a client that implements the ListIncidentFindings operation.
type ListIncidentFindingsInput ¶
type ListIncidentFindingsInput struct { // The Amazon Resource Name (ARN) of the incident for which you want to view // associated findings. // // This member is required. IncidentRecordArn *string // The maximum number of findings to retrieve per call. MaxResults *int32 // The pagination token for the next set of items to return. (You received this // token from a previous call.) NextToken *string // contains filtered or unexported fields }
type ListIncidentFindingsOutput ¶
type ListIncidentFindingsOutput struct { // A list of findings that represent deployments that might be the potential cause // of the incident. // // This member is required. Findings []types.FindingSummary // The pagination token to use when requesting the next set of items. If there are // no additional items to return, the string is null. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListIncidentFindingsPaginator ¶
type ListIncidentFindingsPaginator struct {
// contains filtered or unexported fields
}
ListIncidentFindingsPaginator is a paginator for ListIncidentFindings
func NewListIncidentFindingsPaginator ¶
func NewListIncidentFindingsPaginator(client ListIncidentFindingsAPIClient, params *ListIncidentFindingsInput, optFns ...func(*ListIncidentFindingsPaginatorOptions)) *ListIncidentFindingsPaginator
NewListIncidentFindingsPaginator returns a new ListIncidentFindingsPaginator
func (*ListIncidentFindingsPaginator) HasMorePages ¶
func (p *ListIncidentFindingsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListIncidentFindingsPaginator) NextPage ¶
func (p *ListIncidentFindingsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListIncidentFindingsOutput, error)
NextPage retrieves the next ListIncidentFindings page.
type ListIncidentFindingsPaginatorOptions ¶
type ListIncidentFindingsPaginatorOptions struct { // The maximum number of findings to retrieve per call. 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 }
ListIncidentFindingsPaginatorOptions is the paginator options for ListIncidentFindings
type ListIncidentRecordsAPIClient ¶
type ListIncidentRecordsAPIClient interface {
ListIncidentRecords(context.Context, *ListIncidentRecordsInput, ...func(*Options)) (*ListIncidentRecordsOutput, error)
}
ListIncidentRecordsAPIClient is a client that implements the ListIncidentRecords operation.
type ListIncidentRecordsInput ¶
type ListIncidentRecordsInput struct { // Filters the list of incident records you want to search through. You can filter // on the following keys: // // - creationTime // // - impact // // - status // // - createdBy // // Note the following when when you use Filters: // // - If you don't specify a Filter, the response includes all incident records. // // - If you specify more than one filter in a single request, the response // returns incident records that match all filters. // // - If you specify a filter with more than one value, the response returns // incident records that match any of the values provided. Filters []types.Filter // The maximum number of results per page. MaxResults *int32 // The pagination token for the next set of items to return. (You received this // token from a previous call.) NextToken *string // contains filtered or unexported fields }
type ListIncidentRecordsOutput ¶
type ListIncidentRecordsOutput struct { // The details of each listed incident record. // // This member is required. IncidentRecordSummaries []types.IncidentRecordSummary // The pagination token to use when requesting the next set of items. If there are // no additional items to return, the string is null. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListIncidentRecordsPaginator ¶
type ListIncidentRecordsPaginator struct {
// contains filtered or unexported fields
}
ListIncidentRecordsPaginator is a paginator for ListIncidentRecords
func NewListIncidentRecordsPaginator ¶
func NewListIncidentRecordsPaginator(client ListIncidentRecordsAPIClient, params *ListIncidentRecordsInput, optFns ...func(*ListIncidentRecordsPaginatorOptions)) *ListIncidentRecordsPaginator
NewListIncidentRecordsPaginator returns a new ListIncidentRecordsPaginator
func (*ListIncidentRecordsPaginator) HasMorePages ¶
func (p *ListIncidentRecordsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListIncidentRecordsPaginator) NextPage ¶
func (p *ListIncidentRecordsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListIncidentRecordsOutput, error)
NextPage retrieves the next ListIncidentRecords page.
type ListIncidentRecordsPaginatorOptions ¶
type ListIncidentRecordsPaginatorOptions struct { // The maximum number of results per page. 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 }
ListIncidentRecordsPaginatorOptions is the paginator options for ListIncidentRecords
type ListRelatedItemsAPIClient ¶
type ListRelatedItemsAPIClient interface {
ListRelatedItems(context.Context, *ListRelatedItemsInput, ...func(*Options)) (*ListRelatedItemsOutput, error)
}
ListRelatedItemsAPIClient is a client that implements the ListRelatedItems operation.
type ListRelatedItemsInput ¶
type ListRelatedItemsInput struct { // The Amazon Resource Name (ARN) of the incident record containing the listed // related items. // // This member is required. IncidentRecordArn *string // The maximum number of related items per page. MaxResults *int32 // The pagination token for the next set of items to return. (You received this // token from a previous call.) NextToken *string // contains filtered or unexported fields }
type ListRelatedItemsOutput ¶
type ListRelatedItemsOutput struct { // Details about each related item. // // This member is required. RelatedItems []types.RelatedItem // The pagination token to use when requesting the next set of items. If there are // no additional items to return, the string is null. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListRelatedItemsPaginator ¶
type ListRelatedItemsPaginator struct {
// contains filtered or unexported fields
}
ListRelatedItemsPaginator is a paginator for ListRelatedItems
func NewListRelatedItemsPaginator ¶
func NewListRelatedItemsPaginator(client ListRelatedItemsAPIClient, params *ListRelatedItemsInput, optFns ...func(*ListRelatedItemsPaginatorOptions)) *ListRelatedItemsPaginator
NewListRelatedItemsPaginator returns a new ListRelatedItemsPaginator
func (*ListRelatedItemsPaginator) HasMorePages ¶
func (p *ListRelatedItemsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListRelatedItemsPaginator) NextPage ¶
func (p *ListRelatedItemsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListRelatedItemsOutput, error)
NextPage retrieves the next ListRelatedItems page.
type ListRelatedItemsPaginatorOptions ¶
type ListRelatedItemsPaginatorOptions struct { // The maximum number of related items per page. 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 }
ListRelatedItemsPaginatorOptions is the paginator options for ListRelatedItems
type ListReplicationSetsAPIClient ¶
type ListReplicationSetsAPIClient interface {
ListReplicationSets(context.Context, *ListReplicationSetsInput, ...func(*Options)) (*ListReplicationSetsOutput, error)
}
ListReplicationSetsAPIClient is a client that implements the ListReplicationSets operation.
type ListReplicationSetsInput ¶
type ListReplicationSetsOutput ¶
type ListReplicationSetsOutput struct { // The Amazon Resource Name (ARN) of the list replication set. // // This member is required. ReplicationSetArns []string // The pagination token to use when requesting the next set of items. If there are // no additional items to return, the string is null. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListReplicationSetsPaginator ¶
type ListReplicationSetsPaginator struct {
// contains filtered or unexported fields
}
ListReplicationSetsPaginator is a paginator for ListReplicationSets
func NewListReplicationSetsPaginator ¶
func NewListReplicationSetsPaginator(client ListReplicationSetsAPIClient, params *ListReplicationSetsInput, optFns ...func(*ListReplicationSetsPaginatorOptions)) *ListReplicationSetsPaginator
NewListReplicationSetsPaginator returns a new ListReplicationSetsPaginator
func (*ListReplicationSetsPaginator) HasMorePages ¶
func (p *ListReplicationSetsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListReplicationSetsPaginator) NextPage ¶
func (p *ListReplicationSetsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListReplicationSetsOutput, error)
NextPage retrieves the next ListReplicationSets page.
type ListReplicationSetsPaginatorOptions ¶
type ListReplicationSetsPaginatorOptions struct { // The maximum number of results per page. 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 }
ListReplicationSetsPaginatorOptions is the paginator options for ListReplicationSets
type ListResponsePlansAPIClient ¶
type ListResponsePlansAPIClient interface {
ListResponsePlans(context.Context, *ListResponsePlansInput, ...func(*Options)) (*ListResponsePlansOutput, error)
}
ListResponsePlansAPIClient is a client that implements the ListResponsePlans operation.
type ListResponsePlansInput ¶
type ListResponsePlansOutput ¶
type ListResponsePlansOutput struct { // Details of each response plan. // // This member is required. ResponsePlanSummaries []types.ResponsePlanSummary // The pagination token to use when requesting the next set of items. If there are // no additional items to return, the string is null. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListResponsePlansPaginator ¶
type ListResponsePlansPaginator struct {
// contains filtered or unexported fields
}
ListResponsePlansPaginator is a paginator for ListResponsePlans
func NewListResponsePlansPaginator ¶
func NewListResponsePlansPaginator(client ListResponsePlansAPIClient, params *ListResponsePlansInput, optFns ...func(*ListResponsePlansPaginatorOptions)) *ListResponsePlansPaginator
NewListResponsePlansPaginator returns a new ListResponsePlansPaginator
func (*ListResponsePlansPaginator) HasMorePages ¶
func (p *ListResponsePlansPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListResponsePlansPaginator) NextPage ¶
func (p *ListResponsePlansPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListResponsePlansOutput, error)
NextPage retrieves the next ListResponsePlans page.
type ListResponsePlansPaginatorOptions ¶
type ListResponsePlansPaginatorOptions struct { // The maximum number of response plans per page. 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 }
ListResponsePlansPaginatorOptions is the paginator options for ListResponsePlans
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) of the response plan or incident. // // This member is required. ResourceArn *string // contains filtered or unexported fields }
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // A list of tags for the response plan or incident. // // This member is required. Tags map[string]string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListTimelineEventsAPIClient ¶
type ListTimelineEventsAPIClient interface {
ListTimelineEvents(context.Context, *ListTimelineEventsInput, ...func(*Options)) (*ListTimelineEventsOutput, error)
}
ListTimelineEventsAPIClient is a client that implements the ListTimelineEvents operation.
type ListTimelineEventsInput ¶
type ListTimelineEventsInput struct { // The Amazon Resource Name (ARN) of the incident that includes the timeline event. // // This member is required. IncidentRecordArn *string // Filters the timeline events based on the provided conditional values. You can // filter timeline events with the following keys: // // - eventReference // // - eventTime // // - eventType // // Note the following when deciding how to use Filters: // // - If you don't specify a Filter, the response includes all timeline events. // // - If you specify more than one filter in a single request, the response // returns timeline events that match all filters. // // - If you specify a filter with more than one value, the response returns // timeline events that match any of the values provided. Filters []types.Filter // The maximum number of results per page. MaxResults *int32 // The pagination token for the next set of items to return. (You received this // token from a previous call.) NextToken *string // Sort timeline events by the specified key value pair. SortBy types.TimelineEventSort // Sorts the order of timeline events by the value specified in the sortBy field. SortOrder types.SortOrder // contains filtered or unexported fields }
type ListTimelineEventsOutput ¶
type ListTimelineEventsOutput struct { // Details about each event that occurred during the incident. // // This member is required. EventSummaries []types.EventSummary // The pagination token to use when requesting the next set of items. If there are // no additional items to return, the string is null. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListTimelineEventsPaginator ¶
type ListTimelineEventsPaginator struct {
// contains filtered or unexported fields
}
ListTimelineEventsPaginator is a paginator for ListTimelineEvents
func NewListTimelineEventsPaginator ¶
func NewListTimelineEventsPaginator(client ListTimelineEventsAPIClient, params *ListTimelineEventsInput, optFns ...func(*ListTimelineEventsPaginatorOptions)) *ListTimelineEventsPaginator
NewListTimelineEventsPaginator returns a new ListTimelineEventsPaginator
func (*ListTimelineEventsPaginator) HasMorePages ¶
func (p *ListTimelineEventsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListTimelineEventsPaginator) NextPage ¶
func (p *ListTimelineEventsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListTimelineEventsOutput, error)
NextPage retrieves the next ListTimelineEvents page.
type ListTimelineEventsPaginatorOptions ¶
type ListTimelineEventsPaginatorOptions struct { // The maximum number of results per page. 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 }
ListTimelineEventsPaginatorOptions is the paginator options for ListTimelineEvents
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 // Provides idempotency tokens values that will be automatically populated into // idempotent API operations. IdempotencyTokenProvider IdempotencyTokenProvider // The logger writer interface to write logging messages to. Logger logging.Logger // 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 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) Copy ¶
Copy creates a clone where the APIOptions list is deep copied.
func (Options) GetIdentityResolver ¶
func (o Options) GetIdentityResolver(schemeID string) smithyauth.IdentityResolver
type PutResourcePolicyInput ¶
type PutResourcePolicyInput struct { // Details of the resource policy. // // This member is required. Policy *string // The Amazon Resource Name (ARN) of the response plan to add the resource policy // to. // // This member is required. ResourceArn *string // contains filtered or unexported fields }
type PutResourcePolicyOutput ¶
type PutResourcePolicyOutput struct { // The ID of the resource policy. // // This member is required. PolicyId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
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
type StartIncidentInput ¶
type StartIncidentInput struct { // The Amazon Resource Name (ARN) of the response plan that pre-defines summary, // chat channels, Amazon SNS topics, runbooks, title, and impact of the incident. // // This member is required. ResponsePlanArn *string // A token ensuring that the operation is called only once with the specified // details. ClientToken *string // Defines the impact to the customers. Providing an impact overwrites the impact // provided by a response plan. // // Supported impact codes // // - 1 - Critical // // - 2 - High // // - 3 - Medium // // - 4 - Low // // - 5 - No Impact Impact *int32 // Add related items to the incident for other responders to use. Related items // are Amazon Web Services resources, external links, or files uploaded to an // Amazon S3 bucket. RelatedItems []types.RelatedItem // Provide a title for the incident. Providing a title overwrites the title // provided by the response plan. Title *string // Details of what created the incident record in Incident Manager. TriggerDetails *types.TriggerDetails // contains filtered or unexported fields }
type StartIncidentOutput ¶
type StartIncidentOutput struct { // The ARN of the newly created incident record. // // This member is required. IncidentRecordArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type TagResourceInput ¶
type TagResourceInput struct { // The Amazon Resource Name (ARN) of the response plan you're adding the tags to. // // This member is required. ResourceArn *string // A list of tags to add to the response plan. // // This member is required. Tags map[string]string // contains filtered or unexported fields }
type TagResourceOutput ¶
type TagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UntagResourceInput ¶
type UntagResourceInput struct { // The Amazon Resource Name (ARN) of the response plan you're removing a tag from. // // This member is required. ResourceArn *string // The name of the tag to remove from the response plan. // // This member is required. TagKeys []string // contains filtered or unexported fields }
type UntagResourceOutput ¶
type UntagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateDeletionProtectionInput ¶
type UpdateDeletionProtectionInput struct { // The Amazon Resource Name (ARN) of the replication set to update. // // This member is required. Arn *string // Specifies if deletion protection is turned on or off in your account. // // This member is required. DeletionProtected *bool // A token that ensures that the operation is called only once with the specified // details. ClientToken *string // contains filtered or unexported fields }
type UpdateDeletionProtectionOutput ¶
type UpdateDeletionProtectionOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateIncidentRecordInput ¶
type UpdateIncidentRecordInput struct { // The Amazon Resource Name (ARN) of the incident record you are updating. // // This member is required. Arn *string // The Chatbot chat channel where responders can collaborate. ChatChannel types.ChatChannel // A token that ensures that a client calls the operation only once with the // specified details. ClientToken *string // Defines the impact of the incident to customers and applications. If you // provide an impact for an incident, it overwrites the impact provided by the // response plan. // // Supported impact codes // // - 1 - Critical // // - 2 - High // // - 3 - Medium // // - 4 - Low // // - 5 - No Impact Impact *int32 // The Amazon SNS targets that Incident Manager notifies when a client updates an // incident. // // Using multiple SNS topics creates redundancy in the event that a Region is down // during the incident. NotificationTargets []types.NotificationTargetItem // The status of the incident. Possible statuses are Open or Resolved . Status types.IncidentRecordStatus // A longer description of what occurred during the incident. Summary *string // A brief description of the incident. Title *string // contains filtered or unexported fields }
type UpdateIncidentRecordOutput ¶
type UpdateIncidentRecordOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateRelatedItemsInput ¶
type UpdateRelatedItemsInput struct { // The Amazon Resource Name (ARN) of the incident record that contains the related // items that you update. // // This member is required. IncidentRecordArn *string // Details about the item that you are add to, or delete from, an incident. // // This member is required. RelatedItemsUpdate types.RelatedItemsUpdate // A token that ensures that a client calls the operation only once with the // specified details. ClientToken *string // contains filtered or unexported fields }
type UpdateRelatedItemsOutput ¶
type UpdateRelatedItemsOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateReplicationSetInput ¶
type UpdateReplicationSetInput struct { // An action to add or delete a Region. // // This member is required. Actions []types.UpdateReplicationSetAction // The Amazon Resource Name (ARN) of the replication set you're updating. // // This member is required. Arn *string // A token that ensures that the operation is called only once with the specified // details. ClientToken *string // contains filtered or unexported fields }
type UpdateReplicationSetOutput ¶
type UpdateReplicationSetOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateResponsePlanInput ¶
type UpdateResponsePlanInput struct { // The Amazon Resource Name (ARN) of the response plan. // // This member is required. Arn *string // The actions that this response plan takes at the beginning of an incident. Actions []types.Action // The Chatbot chat channel used for collaboration during an incident. // // Use the empty structure to remove the chat channel from the response plan. ChatChannel types.ChatChannel // A token ensuring that the operation is called only once with the specified // details. ClientToken *string // The long format name of the response plan. The display name can't contain // spaces. DisplayName *string // The Amazon Resource Name (ARN) for the contacts and escalation plans that the // response plan engages during an incident. Engagements []string // The string Incident Manager uses to prevent duplicate incidents from being // created by the same incident in the same account. IncidentTemplateDedupeString *string // Defines the impact to the customers. Providing an impact overwrites the impact // provided by a response plan. // // Supported impact codes // // - 1 - Critical // // - 2 - High // // - 3 - Medium // // - 4 - Low // // - 5 - No Impact IncidentTemplateImpact *int32 // The Amazon SNS targets that are notified when updates are made to an incident. IncidentTemplateNotificationTargets []types.NotificationTargetItem // A brief summary of the incident. This typically contains what has happened, // what's currently happening, and next steps. IncidentTemplateSummary *string // Tags to assign to the template. When the StartIncident API action is called, // Incident Manager assigns the tags specified in the template to the incident. To // call this action, you must also have permission to call the TagResource API // action for the incident record resource. IncidentTemplateTags map[string]string // The short format name of the incident. The title can't contain spaces. IncidentTemplateTitle *string // Information about third-party services integrated into the response plan. Integrations []types.Integration // contains filtered or unexported fields }
type UpdateResponsePlanOutput ¶
type UpdateResponsePlanOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateTimelineEventInput ¶
type UpdateTimelineEventInput struct { // The ID of the event to update. You can use ListTimelineEvents to find an // event's ID. // // This member is required. EventId *string // The Amazon Resource Name (ARN) of the incident that includes the timeline event. // // This member is required. IncidentRecordArn *string // A token that ensures that a client calls the operation only once with the // specified details. ClientToken *string // A short description of the event. EventData *string // Updates all existing references in a TimelineEvent . A reference is an Amazon // Web Services resource involved or associated with the incident. To specify a // reference, enter its Amazon Resource Name (ARN). You can also specify a related // item associated with that resource. For example, to specify an Amazon DynamoDB // (DynamoDB) table as a resource, use its ARN. You can also specify an Amazon // CloudWatch metric associated with the DynamoDB table as a related item. // // This update action overrides all existing references. If you want to keep // existing references, you must specify them in the call. If you don't, this // action removes any existing references and enters only new references. EventReferences []types.EventReference // The timestamp for when the event occurred. EventTime *time.Time // The type of event. You can update events of type Custom Event and Note . EventType *string // contains filtered or unexported fields }
type UpdateTimelineEventOutput ¶
type UpdateTimelineEventOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type WaitForReplicationSetActiveWaiter ¶
type WaitForReplicationSetActiveWaiter struct {
// contains filtered or unexported fields
}
WaitForReplicationSetActiveWaiter defines the waiters for WaitForReplicationSetActive
func NewWaitForReplicationSetActiveWaiter ¶
func NewWaitForReplicationSetActiveWaiter(client GetReplicationSetAPIClient, optFns ...func(*WaitForReplicationSetActiveWaiterOptions)) *WaitForReplicationSetActiveWaiter
NewWaitForReplicationSetActiveWaiter constructs a WaitForReplicationSetActiveWaiter.
func (*WaitForReplicationSetActiveWaiter) Wait ¶
func (w *WaitForReplicationSetActiveWaiter) Wait(ctx context.Context, params *GetReplicationSetInput, maxWaitDur time.Duration, optFns ...func(*WaitForReplicationSetActiveWaiterOptions)) error
Wait calls the waiter function for WaitForReplicationSetActive waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
func (*WaitForReplicationSetActiveWaiter) WaitForOutput ¶
func (w *WaitForReplicationSetActiveWaiter) WaitForOutput(ctx context.Context, params *GetReplicationSetInput, maxWaitDur time.Duration, optFns ...func(*WaitForReplicationSetActiveWaiterOptions)) (*GetReplicationSetOutput, error)
WaitForOutput calls the waiter function for WaitForReplicationSetActive waiter and returns the output of the successful operation. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
type WaitForReplicationSetActiveWaiterOptions ¶
type WaitForReplicationSetActiveWaiterOptions 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. // // Passing options here is functionally equivalent to passing values to this // config's ClientOptions field that extend the inner client's APIOptions directly. APIOptions []func(*middleware.Stack) error // Functional options to be passed to all operations invoked by this client. // // Function values that modify the inner APIOptions are applied after the waiter // config's own APIOptions modifiers. ClientOptions []func(*Options) // MinDelay is the minimum amount of time to delay between retries. If unset, // WaitForReplicationSetActiveWaiter will use default minimum delay of 30 seconds. // Note that MinDelay must resolve to a value lesser than or equal to the MaxDelay. MinDelay time.Duration // MaxDelay is the maximum amount of time to delay between retries. If unset or // set to zero, WaitForReplicationSetActiveWaiter will use default max delay of 30 // seconds. Note that MaxDelay must resolve to value greater than or equal to the // MinDelay. MaxDelay time.Duration // LogWaitAttempts is used to enable logging for waiter retry attempts LogWaitAttempts bool // Retryable is function that can be used to override the service defined // waiter-behavior based on operation output, or returned error. This function is // used by the waiter to decide if a state is retryable or a terminal state. // // By default service-modeled logic will populate this option. This option can // thus be used to define a custom waiter state with fall-back to service-modeled // waiter state mutators.The function returns an error in case of a failure state. // In case of retry state, this function returns a bool value of true and nil // error, while in case of success it returns a bool value of false and nil error. Retryable func(context.Context, *GetReplicationSetInput, *GetReplicationSetOutput, error) (bool, error) }
WaitForReplicationSetActiveWaiterOptions are waiter options for WaitForReplicationSetActiveWaiter
type WaitForReplicationSetDeletedWaiter ¶
type WaitForReplicationSetDeletedWaiter struct {
// contains filtered or unexported fields
}
WaitForReplicationSetDeletedWaiter defines the waiters for WaitForReplicationSetDeleted
func NewWaitForReplicationSetDeletedWaiter ¶
func NewWaitForReplicationSetDeletedWaiter(client GetReplicationSetAPIClient, optFns ...func(*WaitForReplicationSetDeletedWaiterOptions)) *WaitForReplicationSetDeletedWaiter
NewWaitForReplicationSetDeletedWaiter constructs a WaitForReplicationSetDeletedWaiter.
func (*WaitForReplicationSetDeletedWaiter) Wait ¶
func (w *WaitForReplicationSetDeletedWaiter) Wait(ctx context.Context, params *GetReplicationSetInput, maxWaitDur time.Duration, optFns ...func(*WaitForReplicationSetDeletedWaiterOptions)) error
Wait calls the waiter function for WaitForReplicationSetDeleted waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
func (*WaitForReplicationSetDeletedWaiter) WaitForOutput ¶
func (w *WaitForReplicationSetDeletedWaiter) WaitForOutput(ctx context.Context, params *GetReplicationSetInput, maxWaitDur time.Duration, optFns ...func(*WaitForReplicationSetDeletedWaiterOptions)) (*GetReplicationSetOutput, error)
WaitForOutput calls the waiter function for WaitForReplicationSetDeleted waiter and returns the output of the successful operation. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
type WaitForReplicationSetDeletedWaiterOptions ¶
type WaitForReplicationSetDeletedWaiterOptions 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. // // Passing options here is functionally equivalent to passing values to this // config's ClientOptions field that extend the inner client's APIOptions directly. APIOptions []func(*middleware.Stack) error // Functional options to be passed to all operations invoked by this client. // // Function values that modify the inner APIOptions are applied after the waiter // config's own APIOptions modifiers. ClientOptions []func(*Options) // MinDelay is the minimum amount of time to delay between retries. If unset, // WaitForReplicationSetDeletedWaiter will use default minimum delay of 30 seconds. // Note that MinDelay must resolve to a value lesser than or equal to the MaxDelay. MinDelay time.Duration // MaxDelay is the maximum amount of time to delay between retries. If unset or // set to zero, WaitForReplicationSetDeletedWaiter will use default max delay of 30 // seconds. Note that MaxDelay must resolve to value greater than or equal to the // MinDelay. MaxDelay time.Duration // LogWaitAttempts is used to enable logging for waiter retry attempts LogWaitAttempts bool // Retryable is function that can be used to override the service defined // waiter-behavior based on operation output, or returned error. This function is // used by the waiter to decide if a state is retryable or a terminal state. // // By default service-modeled logic will populate this option. This option can // thus be used to define a custom waiter state with fall-back to service-modeled // waiter state mutators.The function returns an error in case of a failure state. // In case of retry state, this function returns a bool value of true and nil // error, while in case of success it returns a bool value of false and nil error. Retryable func(context.Context, *GetReplicationSetInput, *GetReplicationSetOutput, error) (bool, error) }
WaitForReplicationSetDeletedWaiterOptions are waiter options for WaitForReplicationSetDeletedWaiter
Source Files ¶
- api_client.go
- api_op_BatchGetIncidentFindings.go
- api_op_CreateReplicationSet.go
- api_op_CreateResponsePlan.go
- api_op_CreateTimelineEvent.go
- api_op_DeleteIncidentRecord.go
- api_op_DeleteReplicationSet.go
- api_op_DeleteResourcePolicy.go
- api_op_DeleteResponsePlan.go
- api_op_DeleteTimelineEvent.go
- api_op_GetIncidentRecord.go
- api_op_GetReplicationSet.go
- api_op_GetResourcePolicies.go
- api_op_GetResponsePlan.go
- api_op_GetTimelineEvent.go
- api_op_ListIncidentFindings.go
- api_op_ListIncidentRecords.go
- api_op_ListRelatedItems.go
- api_op_ListReplicationSets.go
- api_op_ListResponsePlans.go
- api_op_ListTagsForResource.go
- api_op_ListTimelineEvents.go
- api_op_PutResourcePolicy.go
- api_op_StartIncident.go
- api_op_TagResource.go
- api_op_UntagResource.go
- api_op_UpdateDeletionProtection.go
- api_op_UpdateIncidentRecord.go
- api_op_UpdateRelatedItems.go
- api_op_UpdateReplicationSet.go
- api_op_UpdateResponsePlan.go
- api_op_UpdateTimelineEvent.go
- auth.go
- deserializers.go
- doc.go
- endpoints.go
- go_module_metadata.go
- options.go
- serializers.go
- validators.go