import {Request} from '../lib/request'; import {Response} from '../lib/response'; import {AWSError} from '../lib/error'; import {Service} from '../lib/service'; import {WaiterConfiguration} from '../lib/service'; import {ServiceConfigurationOptions} from '../lib/service'; import {ConfigBase as Config} from '../lib/config-base'; interface Blob {} declare class SSMIncidents extends Service { /** * Constructs a service object. This object has one method for each API operation. */ constructor(options?: SSMIncidents.Types.ClientConfiguration) config: Config & SSMIncidents.Types.ClientConfiguration; /** * A replication set replicates and encrypts your data to the provided Regions with the provided KMS key. */ createReplicationSet(params: SSMIncidents.Types.CreateReplicationSetInput, callback?: (err: AWSError, data: SSMIncidents.Types.CreateReplicationSetOutput) => void): Request; /** * A replication set replicates and encrypts your data to the provided Regions with the provided KMS key. */ createReplicationSet(callback?: (err: AWSError, data: SSMIncidents.Types.CreateReplicationSetOutput) => void): Request; /** * 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. */ createResponsePlan(params: SSMIncidents.Types.CreateResponsePlanInput, callback?: (err: AWSError, data: SSMIncidents.Types.CreateResponsePlanOutput) => void): Request; /** * 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. */ createResponsePlan(callback?: (err: AWSError, data: SSMIncidents.Types.CreateResponsePlanOutput) => void): Request; /** * Creates a custom timeline event on the incident details page of an incident record. Timeline events are automatically created by Incident Manager, marking key moment during an incident. You can create custom timeline events to mark important events that are automatically detected by Incident Manager. */ createTimelineEvent(params: SSMIncidents.Types.CreateTimelineEventInput, callback?: (err: AWSError, data: SSMIncidents.Types.CreateTimelineEventOutput) => void): Request; /** * Creates a custom timeline event on the incident details page of an incident record. Timeline events are automatically created by Incident Manager, marking key moment during an incident. You can create custom timeline events to mark important events that are automatically detected by Incident Manager. */ createTimelineEvent(callback?: (err: AWSError, data: SSMIncidents.Types.CreateTimelineEventOutput) => void): Request; /** * Delete an incident record from Incident Manager. */ deleteIncidentRecord(params: SSMIncidents.Types.DeleteIncidentRecordInput, callback?: (err: AWSError, data: SSMIncidents.Types.DeleteIncidentRecordOutput) => void): Request; /** * Delete an incident record from Incident Manager. */ deleteIncidentRecord(callback?: (err: AWSError, data: SSMIncidents.Types.DeleteIncidentRecordOutput) => void): Request; /** * Deletes all Regions in your replication set. Deleting the replication set deletes all Incident Manager data. */ deleteReplicationSet(params: SSMIncidents.Types.DeleteReplicationSetInput, callback?: (err: AWSError, data: SSMIncidents.Types.DeleteReplicationSetOutput) => void): Request; /** * Deletes all Regions in your replication set. Deleting the replication set deletes all Incident Manager data. */ deleteReplicationSet(callback?: (err: AWSError, data: SSMIncidents.Types.DeleteReplicationSetOutput) => void): Request; /** * Deletes the resource policy that AWS Resource Access Manager uses to share your Incident Manager resource. */ deleteResourcePolicy(params: SSMIncidents.Types.DeleteResourcePolicyInput, callback?: (err: AWSError, data: SSMIncidents.Types.DeleteResourcePolicyOutput) => void): Request; /** * Deletes the resource policy that AWS Resource Access Manager uses to share your Incident Manager resource. */ deleteResourcePolicy(callback?: (err: AWSError, data: SSMIncidents.Types.DeleteResourcePolicyOutput) => void): Request; /** * 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. */ deleteResponsePlan(params: SSMIncidents.Types.DeleteResponsePlanInput, callback?: (err: AWSError, data: SSMIncidents.Types.DeleteResponsePlanOutput) => void): Request; /** * 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. */ deleteResponsePlan(callback?: (err: AWSError, data: SSMIncidents.Types.DeleteResponsePlanOutput) => void): Request; /** * Deletes a timeline event from an incident. */ deleteTimelineEvent(params: SSMIncidents.Types.DeleteTimelineEventInput, callback?: (err: AWSError, data: SSMIncidents.Types.DeleteTimelineEventOutput) => void): Request; /** * Deletes a timeline event from an incident. */ deleteTimelineEvent(callback?: (err: AWSError, data: SSMIncidents.Types.DeleteTimelineEventOutput) => void): Request; /** * Returns the details of the specified incident record. */ getIncidentRecord(params: SSMIncidents.Types.GetIncidentRecordInput, callback?: (err: AWSError, data: SSMIncidents.Types.GetIncidentRecordOutput) => void): Request; /** * Returns the details of the specified incident record. */ getIncidentRecord(callback?: (err: AWSError, data: SSMIncidents.Types.GetIncidentRecordOutput) => void): Request; /** * Retrieve your Incident Manager replication set. */ getReplicationSet(params: SSMIncidents.Types.GetReplicationSetInput, callback?: (err: AWSError, data: SSMIncidents.Types.GetReplicationSetOutput) => void): Request; /** * Retrieve your Incident Manager replication set. */ getReplicationSet(callback?: (err: AWSError, data: SSMIncidents.Types.GetReplicationSetOutput) => void): Request; /** * Retrieves the resource policies attached to the specified response plan. */ getResourcePolicies(params: SSMIncidents.Types.GetResourcePoliciesInput, callback?: (err: AWSError, data: SSMIncidents.Types.GetResourcePoliciesOutput) => void): Request; /** * Retrieves the resource policies attached to the specified response plan. */ getResourcePolicies(callback?: (err: AWSError, data: SSMIncidents.Types.GetResourcePoliciesOutput) => void): Request; /** * Retrieves the details of the specified response plan. */ getResponsePlan(params: SSMIncidents.Types.GetResponsePlanInput, callback?: (err: AWSError, data: SSMIncidents.Types.GetResponsePlanOutput) => void): Request; /** * Retrieves the details of the specified response plan. */ getResponsePlan(callback?: (err: AWSError, data: SSMIncidents.Types.GetResponsePlanOutput) => void): Request; /** * Retrieves a timeline event based on its ID and incident record. */ getTimelineEvent(params: SSMIncidents.Types.GetTimelineEventInput, callback?: (err: AWSError, data: SSMIncidents.Types.GetTimelineEventOutput) => void): Request; /** * Retrieves a timeline event based on its ID and incident record. */ getTimelineEvent(callback?: (err: AWSError, data: SSMIncidents.Types.GetTimelineEventOutput) => void): Request; /** * 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. */ listIncidentRecords(params: SSMIncidents.Types.ListIncidentRecordsInput, callback?: (err: AWSError, data: SSMIncidents.Types.ListIncidentRecordsOutput) => void): Request; /** * 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. */ listIncidentRecords(callback?: (err: AWSError, data: SSMIncidents.Types.ListIncidentRecordsOutput) => void): Request; /** * List all related items for an incident record. */ listRelatedItems(params: SSMIncidents.Types.ListRelatedItemsInput, callback?: (err: AWSError, data: SSMIncidents.Types.ListRelatedItemsOutput) => void): Request; /** * List all related items for an incident record. */ listRelatedItems(callback?: (err: AWSError, data: SSMIncidents.Types.ListRelatedItemsOutput) => void): Request; /** * Lists details about the replication set configured in your account. */ listReplicationSets(params: SSMIncidents.Types.ListReplicationSetsInput, callback?: (err: AWSError, data: SSMIncidents.Types.ListReplicationSetsOutput) => void): Request; /** * Lists details about the replication set configured in your account. */ listReplicationSets(callback?: (err: AWSError, data: SSMIncidents.Types.ListReplicationSetsOutput) => void): Request; /** * Lists all response plans in your account. */ listResponsePlans(params: SSMIncidents.Types.ListResponsePlansInput, callback?: (err: AWSError, data: SSMIncidents.Types.ListResponsePlansOutput) => void): Request; /** * Lists all response plans in your account. */ listResponsePlans(callback?: (err: AWSError, data: SSMIncidents.Types.ListResponsePlansOutput) => void): Request; /** * Lists the tags that are attached to the specified response plan. */ listTagsForResource(params: SSMIncidents.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: SSMIncidents.Types.ListTagsForResourceResponse) => void): Request; /** * Lists the tags that are attached to the specified response plan. */ listTagsForResource(callback?: (err: AWSError, data: SSMIncidents.Types.ListTagsForResourceResponse) => void): Request; /** * Lists timeline events of the specified incident record. */ listTimelineEvents(params: SSMIncidents.Types.ListTimelineEventsInput, callback?: (err: AWSError, data: SSMIncidents.Types.ListTimelineEventsOutput) => void): Request; /** * Lists timeline events of the specified incident record. */ listTimelineEvents(callback?: (err: AWSError, data: SSMIncidents.Types.ListTimelineEventsOutput) => void): Request; /** * Adds a resource policy to the specified response plan. */ putResourcePolicy(params: SSMIncidents.Types.PutResourcePolicyInput, callback?: (err: AWSError, data: SSMIncidents.Types.PutResourcePolicyOutput) => void): Request; /** * Adds a resource policy to the specified response plan. */ putResourcePolicy(callback?: (err: AWSError, data: SSMIncidents.Types.PutResourcePolicyOutput) => void): Request; /** * Used to start an incident from CloudWatch alarms, EventBridge events, or manually. */ startIncident(params: SSMIncidents.Types.StartIncidentInput, callback?: (err: AWSError, data: SSMIncidents.Types.StartIncidentOutput) => void): Request; /** * Used to start an incident from CloudWatch alarms, EventBridge events, or manually. */ startIncident(callback?: (err: AWSError, data: SSMIncidents.Types.StartIncidentOutput) => void): Request; /** * Adds a tag to a response plan. */ tagResource(params: SSMIncidents.Types.TagResourceRequest, callback?: (err: AWSError, data: SSMIncidents.Types.TagResourceResponse) => void): Request; /** * Adds a tag to a response plan. */ tagResource(callback?: (err: AWSError, data: SSMIncidents.Types.TagResourceResponse) => void): Request; /** * Removes a tag from a resource. */ untagResource(params: SSMIncidents.Types.UntagResourceRequest, callback?: (err: AWSError, data: SSMIncidents.Types.UntagResourceResponse) => void): Request; /** * Removes a tag from a resource. */ untagResource(callback?: (err: AWSError, data: SSMIncidents.Types.UntagResourceResponse) => void): Request; /** * Update deletion protection to either allow or deny deletion of the final Region in a replication set. */ updateDeletionProtection(params: SSMIncidents.Types.UpdateDeletionProtectionInput, callback?: (err: AWSError, data: SSMIncidents.Types.UpdateDeletionProtectionOutput) => void): Request; /** * Update deletion protection to either allow or deny deletion of the final Region in a replication set. */ updateDeletionProtection(callback?: (err: AWSError, data: SSMIncidents.Types.UpdateDeletionProtectionOutput) => void): Request; /** * Update the details of an incident record. You can use this action to update an incident record from the defined chat channel. For more information about using actions in chat channels, see Interacting through chat. */ updateIncidentRecord(params: SSMIncidents.Types.UpdateIncidentRecordInput, callback?: (err: AWSError, data: SSMIncidents.Types.UpdateIncidentRecordOutput) => void): Request; /** * Update the details of an incident record. You can use this action to update an incident record from the defined chat channel. For more information about using actions in chat channels, see Interacting through chat. */ updateIncidentRecord(callback?: (err: AWSError, data: SSMIncidents.Types.UpdateIncidentRecordOutput) => void): Request; /** * Add or remove related items from the related items tab of an incident record. */ updateRelatedItems(params: SSMIncidents.Types.UpdateRelatedItemsInput, callback?: (err: AWSError, data: SSMIncidents.Types.UpdateRelatedItemsOutput) => void): Request; /** * Add or remove related items from the related items tab of an incident record. */ updateRelatedItems(callback?: (err: AWSError, data: SSMIncidents.Types.UpdateRelatedItemsOutput) => void): Request; /** * Add or delete Regions from your replication set. */ updateReplicationSet(params: SSMIncidents.Types.UpdateReplicationSetInput, callback?: (err: AWSError, data: SSMIncidents.Types.UpdateReplicationSetOutput) => void): Request; /** * Add or delete Regions from your replication set. */ updateReplicationSet(callback?: (err: AWSError, data: SSMIncidents.Types.UpdateReplicationSetOutput) => void): Request; /** * Updates the specified response plan. */ updateResponsePlan(params: SSMIncidents.Types.UpdateResponsePlanInput, callback?: (err: AWSError, data: SSMIncidents.Types.UpdateResponsePlanOutput) => void): Request; /** * Updates the specified response plan. */ updateResponsePlan(callback?: (err: AWSError, data: SSMIncidents.Types.UpdateResponsePlanOutput) => void): Request; /** * Updates a timeline event. You can update events of type Custom Event. */ updateTimelineEvent(params: SSMIncidents.Types.UpdateTimelineEventInput, callback?: (err: AWSError, data: SSMIncidents.Types.UpdateTimelineEventOutput) => void): Request; /** * Updates a timeline event. You can update events of type Custom Event. */ updateTimelineEvent(callback?: (err: AWSError, data: SSMIncidents.Types.UpdateTimelineEventOutput) => void): Request; /** * Waits for the waitForReplicationSetActive state by periodically calling the underlying SSMIncidents.getReplicationSetoperation every 30 seconds (at most 5 times). Wait for a replication set to become ACTIVE */ waitFor(state: "waitForReplicationSetActive", params: SSMIncidents.Types.GetReplicationSetInput & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: SSMIncidents.Types.GetReplicationSetOutput) => void): Request; /** * Waits for the waitForReplicationSetActive state by periodically calling the underlying SSMIncidents.getReplicationSetoperation every 30 seconds (at most 5 times). Wait for a replication set to become ACTIVE */ waitFor(state: "waitForReplicationSetActive", callback?: (err: AWSError, data: SSMIncidents.Types.GetReplicationSetOutput) => void): Request; /** * Waits for the waitForReplicationSetDeleted state by periodically calling the underlying SSMIncidents.getReplicationSetoperation every 30 seconds (at most 5 times). Wait for a replication set to be deleted */ waitFor(state: "waitForReplicationSetDeleted", params: SSMIncidents.Types.GetReplicationSetInput & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: SSMIncidents.Types.GetReplicationSetOutput) => void): Request; /** * Waits for the waitForReplicationSetDeleted state by periodically calling the underlying SSMIncidents.getReplicationSetoperation every 30 seconds (at most 5 times). Wait for a replication set to be deleted */ waitFor(state: "waitForReplicationSetDeleted", callback?: (err: AWSError, data: SSMIncidents.Types.GetReplicationSetOutput) => void): Request; } declare namespace SSMIncidents { export interface Action { /** * The Systems Manager automation document to start as the runbook at the beginning of the incident. */ ssmAutomation?: SsmAutomation; } export type ActionsList = Action[]; export interface AddRegionAction { /** * The Region name to add to the replication set. */ regionName: RegionName; /** * The KMS key ID to use to encrypt your replication set. */ sseKmsKeyId?: SseKmsKey; } export type Arn = string; export interface AttributeValueList { /** * The list of integer values that the filter matches. */ integerValues?: IntegerList; /** * The list of string values that the filter matches. */ stringValues?: StringList; } export interface AutomationExecution { /** * The Amazon Resource Name (ARN) of the automation process. */ ssmExecutionArn?: Arn; } export type AutomationExecutionSet = AutomationExecution[]; export type Boolean = boolean; export interface ChatChannel { /** * The SNS targets that AWS Chatbot uses to notify the chat channel of updates to an incident. You can also make updates to the incident through the chat channel by using the SNS topics. */ chatbotSns?: ChatbotSnsConfigurationSet; /** * Used to remove the chat channel from an incident record or response plan. */ empty?: EmptyChatChannel; } export type ChatbotSnsConfigurationSet = SnsArn[]; export type ClientToken = string; export interface Condition { /** * After the specified timestamp. */ after?: Timestamp; /** * Before the specified timestamp */ before?: Timestamp; /** * The value is equal to the provided string or integer. */ equals?: AttributeValueList; } export interface CreateReplicationSetInput { /** * A token ensuring that the action is called only once with the specified details. */ clientToken?: ClientToken; /** * The Regions that Incident Manager replicates your data to. You can have up to three Regions in your replication set. */ regions: RegionMapInput; } export interface CreateReplicationSetOutput { /** * The Amazon Resource Name (ARN) of the replication set. */ arn: Arn; } export interface CreateResponsePlanInput { /** * The actions that the response plan starts at the beginning of an incident. */ actions?: ActionsList; /** * The AWS Chatbot chat channel used for collaboration during an incident. */ chatChannel?: ChatChannel; /** * A token ensuring that the action is called only once with the specified details. */ clientToken?: ClientToken; /** * The long format of the response plan name. This field can contain spaces. */ displayName?: ResponsePlanDisplayName; /** * The contacts and escalation plans that the response plan engages during an incident. */ engagements?: EngagementSet; /** * Details used to create an incident when using this response plan. */ incidentTemplate: IncidentTemplate; /** * The short format name of the response plan. Can't include spaces. */ name: ResponsePlanName; /** * A list of tags that you are adding to the response plan. */ tags?: TagMap; } export interface CreateResponsePlanOutput { /** * The Amazon Resource Name (ARN) of the response plan. */ arn: Arn; } export interface CreateTimelineEventInput { /** * A token ensuring that the action is called only once with the specified details. */ clientToken?: ClientToken; /** * A valid JSON string. There is no other schema imposed. A short description of the event. */ eventData: EventData; /** * The time that the event occurred. */ eventTime: Timestamp; /** * The type of the event. You can create timeline events of type Custom Event. */ eventType: TimelineEventType; /** * The Amazon Resource Name (ARN) of the incident record you are adding the event to. */ incidentRecordArn: Arn; } export interface CreateTimelineEventOutput { /** * The ID of the event for easy reference later. */ eventId: UUID; /** * The ARN of the incident record that you added the event to. */ incidentRecordArn: Arn; } export type DedupeString = string; export interface DeleteIncidentRecordInput { /** * The Amazon Resource Name (ARN) of the incident record you are deleting. */ arn: Arn; } export interface DeleteIncidentRecordOutput { } export interface DeleteRegionAction { /** * The name of the Region you're deleting from the replication set. */ regionName: RegionName; } export interface DeleteReplicationSetInput { /** * The Amazon Resource Name (ARN) of the replication set you're deleting. */ arn: Arn; } export interface DeleteReplicationSetOutput { } export interface DeleteResourcePolicyInput { /** * The ID of the resource policy you're deleting. */ policyId: PolicyId; /** * The Amazon Resource Name (ARN) of the resource you're deleting the policy from. */ resourceArn: Arn; } export interface DeleteResourcePolicyOutput { } export interface DeleteResponsePlanInput { /** * The Amazon Resource Name (ARN) of the response plan. */ arn: Arn; } export interface DeleteResponsePlanOutput { } export interface DeleteTimelineEventInput { /** * The ID of the event you are updating. You can find this by using ListTimelineEvents. */ eventId: UUID; /** * The Amazon Resource Name (ARN) of the incident that the event is part of. */ incidentRecordArn: Arn; } export interface DeleteTimelineEventOutput { } export interface EmptyChatChannel { } export type EngagementSet = SsmContactsArn[]; export type EventData = string; export interface EventSummary { /** * The timeline event ID. */ eventId: UUID; /** * The time that the event occurred. */ eventTime: Timestamp; /** * The type of event. The timeline event must be Custom Event. */ eventType: TimelineEventType; /** * The time that the timeline event was last updated. */ eventUpdatedTime: Timestamp; /** * The Amazon Resource Name (ARN) of the incident that the event happened during. */ incidentRecordArn: Arn; } export type EventSummaryList = EventSummary[]; export interface Filter { /** * The condition accepts before or after a specified time, equal to a string, or equal to an integer. */ condition: Condition; /** * The key that you're filtering on. */ key: FilterKeyString; } export type FilterKeyString = string; export type FilterList = Filter[]; export interface GetIncidentRecordInput { /** * The Amazon Resource Name (ARN) of the incident record. */ arn: Arn; } export interface GetIncidentRecordOutput { /** * Details structure of the incident record. */ incidentRecord: IncidentRecord; } export interface GetReplicationSetInput { /** * The Amazon Resource Name (ARN) of the replication set you want to retrieve. */ arn: Arn; } export interface GetReplicationSetOutput { /** * Details of the replication set. */ replicationSet: ReplicationSet; } export interface GetResourcePoliciesInput { /** * The maximum number of resource policies to display per page of results. */ maxResults?: MaxResults; /** * The pagination token to continue to the next page of results. */ nextToken?: NextToken; /** * The Amazon Resource Name (ARN) of the response plan with the attached resource policy. */ resourceArn: Arn; } export interface GetResourcePoliciesOutput { /** * The pagination token to continue to the next page of results. */ nextToken?: NextToken; /** * Details about the resource policy attached to the response plan. */ resourcePolicies: ResourcePolicyList; } export interface GetResponsePlanInput { /** * The Amazon Resource Name (ARN) of the response plan. */ arn: Arn; } export interface GetResponsePlanOutput { /** * The actions that this response plan takes at the beginning of the incident. */ actions?: ActionsList; /** * The ARN of the response plan. */ arn: Arn; /** * The AWS Chatbot chat channel used for collaboration during an incident. */ chatChannel?: ChatChannel; /** * The long format name of the response plan. Can contain spaces. */ displayName?: ResponsePlanDisplayName; /** * The contacts and escalation plans that the response plan engages during an incident. */ engagements?: EngagementSet; /** * Details used to create the incident when using this response plan. */ incidentTemplate: IncidentTemplate; /** * The short format name of the response plan. Can't contain spaces. */ name: ResponsePlanName; } export interface GetTimelineEventInput { /** * The ID of the event. You can get an event's ID when you create it or by using ListTimelineEvents. */ eventId: UUID; /** * The Amazon Resource Name (ARN) of the incident that the timeline event is part of. */ incidentRecordArn: Arn; } export interface GetTimelineEventOutput { /** * Details about the timeline event. */ event: TimelineEvent; } export type Impact = number; export interface IncidentRecord { /** * The Amazon Resource Name (ARN) of the incident record. */ arn: Arn; /** * The runbook, or automation document, that's run at the beginning of the incident. */ automationExecutions?: AutomationExecutionSet; /** * The chat channel used for collaboration during an incident. */ chatChannel?: ChatChannel; /** * The time that Incident Manager created the incident record. */ creationTime: Timestamp; /** * The string Incident Manager uses to prevent duplicate incidents from being created by the same incident. */ dedupeString: DedupeString; /** * The impact of the incident on customers and applications. */ impact: Impact; /** * Details about the action that started the incident. */ incidentRecordSource: IncidentRecordSource; /** * Who modified the incident most recently. */ lastModifiedBy: Arn; /** * The time at which the incident was most recently modified. */ lastModifiedTime: Timestamp; /** * The SNS targets that are notified when updates are made to an incident. */ notificationTargets?: NotificationTargetSet; /** * The time at which the incident was resolved. This appears as a timeline event. */ resolvedTime?: Timestamp; /** * The current status of the incident. */ status: IncidentRecordStatus; /** * The summary of the incident. The summary is a brief synopsis of what occurred, what is currently happening, and context. */ summary?: IncidentSummary; /** * The title of the incident. */ title: IncidentTitle; } export interface IncidentRecordSource { /** * The principal that started the incident. */ createdBy: Arn; /** * The principal the assumed the role specified of the createdBy. */ invokedBy?: Arn; /** * The resource that caused the incident to be created. */ resourceArn?: Arn; /** * The service that started the incident. This can be manually created from Incident Manager, automatically created using an AWS CloudWatch alarm, or Amazon EventBridge event. */ source: IncidentSource; } export type IncidentRecordStatus = "OPEN"|"RESOLVED"|string; export interface IncidentRecordSummary { /** * The Amazon Resource Name (ARN) of the incident. */ arn: Arn; /** * The time the incident was created. */ creationTime: Timestamp; /** * Defines the impact to customers and applications. */ impact: Impact; /** * What caused Incident Manager to create the incident. */ incidentRecordSource: IncidentRecordSource; /** * The time the incident was resolved. */ resolvedTime?: Timestamp; /** * The current status of the incident. */ status: IncidentRecordStatus; /** * The title of the incident. This value is either provided by the response plan or overwritten on creation. */ title: IncidentTitle; } export type IncidentRecordSummaryList = IncidentRecordSummary[]; export type IncidentSource = string; export type IncidentSummary = string; export interface IncidentTemplate { /** * Used to stop Incident Manager from creating multiple incident records for the same incident. */ dedupeString?: DedupeString; /** * The impact of the incident on your customers and applications. */ impact: Impact; /** * The SNS targets that are notified when updates are made to an incident. */ notificationTargets?: NotificationTargetSet; /** * The summary of the incident. The summary is a brief synopsis of what occurred, what's currently happening, and context. */ summary?: IncidentSummary; /** * The title of the incident. */ title: IncidentTitle; } export type IncidentTitle = string; export type Integer = number; export type IntegerList = Integer[]; export interface ItemIdentifier { /** * The type of related item. Incident Manager supports the following types: ANALYSIS INCIDENT METRIC PARENT ATTACHMENT OTHER */ type: ItemType; /** * Details about the related item. */ value: ItemValue; } export type ItemType = "ANALYSIS"|"INCIDENT"|"METRIC"|"PARENT"|"ATTACHMENT"|"OTHER"|string; export interface ItemValue { /** * The Amazon Resource Name (ARN) of the related item, if the related item is an Amazon resource. */ arn?: Arn; /** * The metric definition, if the related item is a metric in CloudWatch. */ metricDefinition?: MetricDefinition; /** * The URL, if the related item is a non-AWS resource. */ url?: Url; } export interface ListIncidentRecordsInput { /** * Filter the list of incident records you are searching through. You can filter on the following keys: creationTime impact status createdBy */ filters?: FilterList; /** * The maximum number of results per page. */ maxResults?: MaxResults; /** * The pagination token to continue to the next page of results. */ nextToken?: NextToken; } export interface ListIncidentRecordsOutput { /** * The details of each listed incident record. */ incidentRecordSummaries: IncidentRecordSummaryList; /** * The pagination token to continue to the next page of results. */ nextToken?: NextToken; } export interface ListRelatedItemsInput { /** * The Amazon Resource Name (ARN) of the incident record that you are listing related items for. */ incidentRecordArn: Arn; /** * The maximum number of related items per page. */ maxResults?: MaxResults; /** * The pagination token to continue to the next page of results. */ nextToken?: NextToken; } export interface ListRelatedItemsOutput { /** * The pagination token to continue to the next page of results. */ nextToken?: NextToken; /** * Details about each related item. */ relatedItems: RelatedItemList; } export interface ListReplicationSetsInput { /** * The maximum number of results per page. */ maxResults?: MaxResults; /** * The pagination token to continue to the next page of results. */ nextToken?: NextToken; } export interface ListReplicationSetsOutput { /** * The pagination token to continue to the next page of results. */ nextToken?: NextToken; /** * The Amazon Resource Name (ARN) of the list replication set. */ replicationSetArns: ReplicationSetArnList; } export interface ListResponsePlansInput { /** * The maximum number of response plans per page. */ maxResults?: MaxResults; /** * The pagination token to continue to the next page of results. */ nextToken?: NextToken; } export interface ListResponsePlansOutput { /** * The pagination token to continue to the next page of results. */ nextToken?: NextToken; /** * Details of each response plan. */ responsePlanSummaries: ResponsePlanSummaryList; } export interface ListTagsForResourceRequest { /** * The Amazon Resource Name (ARN) of the response plan. */ resourceArn: String; } export interface ListTagsForResourceResponse { /** * A list of tags for the response plan. */ tags: TagMap; } export interface ListTimelineEventsInput { /** * Filters the timeline events based on the provided conditional values. You can filter timeline events using the following keys: eventTime eventType */ filters?: FilterList; /** * The Amazon Resource Name (ARN) of the incident that the event is part of. */ incidentRecordArn: Arn; /** * The maximum number of results per page. */ maxResults?: MaxResults; /** * The pagination token to continue to the next page of results. */ nextToken?: NextToken; /** * Sort by the specified key value pair. */ sortBy?: TimelineEventSort; /** * Sorts the order of timeline events by the value specified in the sortBy field. */ sortOrder?: SortOrder; } export interface ListTimelineEventsOutput { /** * Details about each event that occurred during the incident. */ eventSummaries: EventSummaryList; /** * The pagination token to continue to the next page of results. */ nextToken?: NextToken; } export type MaxResults = number; export type MetricDefinition = string; export type NextToken = string; export interface NotificationTargetItem { /** * The Amazon Resource Name (ARN) of the SNS topic. */ snsTopicArn?: Arn; } export type NotificationTargetSet = NotificationTargetItem[]; export type Policy = string; export type PolicyId = string; export interface PutResourcePolicyInput { /** * Details of the resource policy. */ policy: Policy; /** * The Amazon Resource Name (ARN) of the response plan you're adding the resource policy to. */ resourceArn: Arn; } export interface PutResourcePolicyOutput { /** * The ID of the resource policy. */ policyId: PolicyId; } export type RawData = string; export interface RegionInfo { /** * The ID of the KMS key used to encrypt the data in this Region. */ sseKmsKeyId?: SseKmsKey; /** * The status of the Region in the replication set. */ status: RegionStatus; /** * Information displayed about the status of the Region. */ statusMessage?: String; /** * The most recent date and time that the Region's status was updated. */ statusUpdateDateTime: Timestamp; } export type RegionInfoMap = {[key: string]: RegionInfo}; export type RegionMapInput = {[key: string]: RegionMapInputValue}; export interface RegionMapInputValue { /** * The KMS key used to encrypt the data in your replication set. */ sseKmsKeyId?: SseKmsKey; } export type RegionName = string; export type RegionStatus = "ACTIVE"|"CREATING"|"DELETING"|"FAILED"|string; export interface RelatedItem { /** * Details about the related item. */ identifier: ItemIdentifier; /** * The title of the related item. */ title?: RelatedItemTitleString; } export type RelatedItemList = RelatedItem[]; export type RelatedItemTitleString = string; export interface RelatedItemsUpdate { /** * Details about the related item you're adding. */ itemToAdd?: RelatedItem; /** * Details about the related item you're deleting. */ itemToRemove?: ItemIdentifier; } export interface ReplicationSet { /** * The Amazon Resource Name (ARN) of the replication set. */ arn?: Arn; /** * Details about who created the replication set. */ createdBy: Arn; /** * When the replication set was created. */ createdTime: Timestamp; /** * Determines if the replication set deletion protection is enabled or not. If deletion protection is enabled, you can't delete the last Region in the replication set. */ deletionProtected: Boolean; /** * Who last modified the replication set. */ lastModifiedBy: Arn; /** * When the replication set was last updated. */ lastModifiedTime: Timestamp; /** * The map between each Region in your replication set and the KMS key that is used to encrypt the data in that Region. */ regionMap: RegionInfoMap; /** * The status of the replication set. If the replication set is still pending, you can't use Incident Manager functionality. */ status: ReplicationSetStatus; } export type ReplicationSetArnList = Arn[]; export type ReplicationSetStatus = "ACTIVE"|"CREATING"|"UPDATING"|"DELETING"|"FAILED"|string; export interface ResourcePolicy { /** * The JSON blob that describes the policy. */ policyDocument: Policy; /** * The ID of the resource policy. */ policyId: PolicyId; /** * The Region that policy allows resources to be used in. */ ramResourceShareRegion: String; } export type ResourcePolicyList = ResourcePolicy[]; export type ResponsePlanDisplayName = string; export type ResponsePlanName = string; export interface ResponsePlanSummary { /** * The Amazon Resource Name (ARN) of the response plan. */ arn: Arn; /** * The human readable name of the response plan. This can include spaces. */ displayName?: ResponsePlanDisplayName; /** * The name of the response plan. This can't include spaces. */ name: ResponsePlanName; } export type ResponsePlanSummaryList = ResponsePlanSummary[]; export type RoleArn = string; export type SnsArn = string; export type SortOrder = "ASCENDING"|"DESCENDING"|string; export type SseKmsKey = string; export interface SsmAutomation { /** * The automation document's name. */ documentName: SsmAutomationDocumentNameString; /** * The automation document's version to use when running. */ documentVersion?: SsmAutomationDocumentVersionString; /** * The key-value pair parameters to use when running the automation document. */ parameters?: SsmParameters; /** * The Amazon Resource Name (ARN) of the role that the automation document will assume when running commands. */ roleArn: RoleArn; /** * The account that the automation document will be run in. This can be in either the management account or an application account. */ targetAccount?: SsmTargetAccount; } export type SsmAutomationDocumentNameString = string; export type SsmAutomationDocumentVersionString = string; export type SsmContactsArn = string; export type SsmParameterValues = SsmParameterValuesMemberString[]; export type SsmParameterValuesMemberString = string; export type SsmParameters = {[key: string]: SsmParameterValues}; export type SsmParametersKeyString = string; export type SsmTargetAccount = "RESPONSE_PLAN_OWNER_ACCOUNT"|"IMPACTED_ACCOUNT"|string; export interface StartIncidentInput { /** * A token ensuring that the action is called only once with the specified details. */ clientToken?: ClientToken; /** * Defines the impact to the customers. Providing an impact overwrites the impact provided by a response plan. Possible impacts: 1 - Critical impact, this typically relates to full application failure that impacts many to all customers. 2 - High impact, partial application failure with impact to many customers. 3 - Medium impact, the application is providing reduced service to customers. 4 - Low impact, customer might aren't impacted by the problem yet. 5 - No impact, customers aren't currently impacted but urgent action is needed to avoid impact. */ impact?: Impact; /** * Add related items to the incident for other responders to use. Related items are AWS resources, external links, or files uploaded to an S3 bucket. */ relatedItems?: RelatedItemList; /** * The Amazon Resource Name (ARN) of the response plan that pre-defines summary, chat channels, SNS topics, runbooks, title, and impact of the incident. */ responsePlanArn: Arn; /** * Provide a title for the incident. Providing a title overwrites the title provided by the response plan. */ title?: IncidentTitle; /** * Details of what created the incident record in Incident Manager. */ triggerDetails?: TriggerDetails; } export interface StartIncidentOutput { /** * The ARN of the newly created incident record. */ incidentRecordArn: Arn; } export type String = string; export type StringList = StringListMemberString[]; export type StringListMemberString = string; export type TagKey = string; export type TagKeyList = TagKey[]; export type TagMap = {[key: string]: TagValue}; export interface TagResourceRequest { /** * The Amazon Resource Name (ARN) of the response plan you're adding the tags to. */ resourceArn: String; /** * A list of tags that you are adding to the response plan. */ tags: TagMap; } export interface TagResourceResponse { } export type TagValue = string; export interface TimelineEvent { /** * A short description of the event. */ eventData: EventData; /** * The ID of the timeline event. */ eventId: UUID; /** * The time that the event occurred. */ eventTime: Timestamp; /** * The type of event that occurred. Currently Incident Manager supports only the Custom Event type. */ eventType: TimelineEventType; /** * The time that the timeline event was last updated. */ eventUpdatedTime: Timestamp; /** * The Amazon Resource Name (ARN) of the incident that the event occurred during. */ incidentRecordArn: Arn; } export type TimelineEventSort = "EVENT_TIME"|string; export type TimelineEventType = string; export type Timestamp = Date; export interface TriggerDetails { /** * Raw data passed from either EventBridge, CloudWatch, or Incident Manager when an incident is created. */ rawData?: RawData; /** * Identifies the service that sourced the event. All events sourced from within AWS begin with "aws." Customer-generated events can have any value here, as long as it doesn't begin with "aws." We recommend the use of Java package-name style reverse domain-name strings. */ source: IncidentSource; /** * The time that the incident was detected. */ timestamp: Timestamp; /** * The ARN of the source that detected the incident. */ triggerArn?: Arn; } export type UUID = string; export interface UntagResourceRequest { /** * The Amazon Resource Name (ARN) of the response plan you're removing a tag from. */ resourceArn: String; /** * The name of the tag you're removing from the response plan. */ tagKeys: TagKeyList; } export interface UntagResourceResponse { } export interface UpdateDeletionProtectionInput { /** * The Amazon Resource Name (ARN) of the replication set you're updating. */ arn: Arn; /** * A token ensuring that the action is called only once with the specified details. */ clientToken?: ClientToken; /** * Details if deletion protection is enabled or disabled in your account. */ deletionProtected: Boolean; } export interface UpdateDeletionProtectionOutput { } export interface UpdateIncidentRecordInput { /** * The Amazon Resource Name (ARN) of the incident record you are updating. */ arn: Arn; /** * The AWS Chatbot chat channel for responders to collaborate in. */ chatChannel?: ChatChannel; /** * A token ensuring that the action is called only once with the specified details. */ clientToken?: ClientToken; /** * Defines the impact to customers and applications. Providing an impact overwrites the impact provided by the response plan. Possible impacts: 1 - Critical impact, this typically relates to full application failure that impacts many to all customers. 2 - High impact, partial application failure with impact to many customers. 3 - Medium impact, the application is providing reduced service to customers. 4 - Low impact, customer might aren't impacted by the problem yet. 5 - No impact, customers aren't currently impacted but urgent action is needed to avoid impact. */ impact?: Impact; /** * The SNS targets that are notified when updates are made to an incident. Using multiple SNS topics creates redundancy in the case that a Region is down during the incident. */ notificationTargets?: NotificationTargetSet; /** * The status of the incident. An incident can be Open or Resolved. */ status?: IncidentRecordStatus; /** * The summary describes what has happened during the incident. */ summary?: IncidentSummary; /** * The title of the incident is a brief and easily recognizable. */ title?: IncidentTitle; } export interface UpdateIncidentRecordOutput { } export interface UpdateRelatedItemsInput { /** * A token ensuring that the action is called only once with the specified details. */ clientToken?: ClientToken; /** * The Amazon Resource Name (ARN) of the incident record you are updating related items in. */ incidentRecordArn: Arn; /** * Details about the item you are adding or deleting. */ relatedItemsUpdate: RelatedItemsUpdate; } export interface UpdateRelatedItemsOutput { } export interface UpdateReplicationSetAction { /** * Details about the Region that you're adding to the replication set. */ addRegionAction?: AddRegionAction; /** * Details about the Region that you're deleting to the replication set. */ deleteRegionAction?: DeleteRegionAction; } export interface UpdateReplicationSetInput { /** * An action to add or delete a Region. */ actions: UpdateReplicationSetInputActionsList; /** * The Amazon Resource Name (ARN) of the replication set you're updating. */ arn: Arn; /** * A token ensuring that the action is called only once with the specified details. */ clientToken?: ClientToken; } export type UpdateReplicationSetInputActionsList = UpdateReplicationSetAction[]; export interface UpdateReplicationSetOutput { } export interface UpdateResponsePlanInput { /** * The actions that this response plan takes at the beginning of an incident. */ actions?: ActionsList; /** * The Amazon Resource Name (ARN) of the response plan. */ arn: Arn; /** * The AWS Chatbot chat channel used for collaboration during an incident. Use the empty structure to remove the chat channel from the response plan. */ chatChannel?: ChatChannel; /** * A token ensuring that the action is called only once with the specified details. */ clientToken?: ClientToken; /** * The long format name of the response plan. Can't contain spaces. */ displayName?: ResponsePlanDisplayName; /** * The contacts and escalation plans that Incident Manager engages at the start of the incident. */ engagements?: EngagementSet; /** * Used to create only one incident record for an incident. */ incidentTemplateDedupeString?: DedupeString; /** * Defines the impact to the customers. Providing an impact overwrites the impact provided by a response plan. Possible impacts: 5 - Severe impact 4 - High impact 3 - Medium impact 2 - Low impact 1 - No impact */ incidentTemplateImpact?: Impact; /** * The SNS targets that are notified when updates are made to an incident. */ incidentTemplateNotificationTargets?: NotificationTargetSet; /** * A brief summary of the incident. This typically contains what has happened, what's currently happening, and next steps. */ incidentTemplateSummary?: IncidentSummary; /** * The short format name of the incident. Can't contain spaces. */ incidentTemplateTitle?: IncidentTitle; } export interface UpdateResponsePlanOutput { } export interface UpdateTimelineEventInput { /** * A token ensuring that the action is called only once with the specified details. */ clientToken?: ClientToken; /** * A short description of the event. */ eventData?: EventData; /** * The ID of the event you are updating. You can find this by using ListTimelineEvents. */ eventId: UUID; /** * The time that the event occurred. */ eventTime?: Timestamp; /** * The type of the event. You can update events of type Custom Event. */ eventType?: TimelineEventType; /** * The Amazon Resource Name (ARN) of the incident that the timeline event is part of. */ incidentRecordArn: Arn; } export interface UpdateTimelineEventOutput { } export type Url = string; /** * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. */ export type apiVersion = "2018-05-10"|"latest"|string; export interface ClientApiVersions { /** * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. */ apiVersion?: apiVersion; } export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; /** * Contains interfaces for use with the SSMIncidents client. */ export import Types = SSMIncidents; } export = SSMIncidents;