AWS Systems Manager Incident Manager 2018-05-10
- Client: Aws\SSMIncidents\SSMIncidentsClient
- Service ID: ssm-incidents
- Version: 2018-05-10
This page describes the parameters and results for the operations of the AWS Systems Manager Incident Manager (2018-05-10), and shows how to use the Aws\SSMIncidents\SSMIncidentsClient object to call the described operations. This documentation is specific to the 2018-05-10 API version of the service.
Operation Summary
Each of the following operations can be created from a client using
$client->getCommand('CommandName')
, where "CommandName" is the
name of one of the following operations. Note: a command is a value that
encapsulates an operation and the parameters used to create an HTTP request.
You can also create and send a command immediately using the magic methods
available on a client object: $client->commandName(/* parameters */)
.
You can send the command asynchronously (returning a promise) by appending the
word "Async" to the operation name: $client->commandNameAsync(/* parameters */)
.
- CreateReplicationSet ( array $params = [] )
A replication set replicates and encrypts your data to the provided Regions with the provided KMS key.
- CreateResponsePlan ( array $params = [] )
Creates a response plan that automates the initial response to incidents.
- CreateTimelineEvent ( array $params = [] )
Creates a custom timeline event on the incident details page of an incident record.
- DeleteIncidentRecord ( array $params = [] )
Delete an incident record from Incident Manager.
- DeleteReplicationSet ( array $params = [] )
Deletes all Regions in your replication set.
- DeleteResourcePolicy ( array $params = [] )
Deletes the resource policy that Resource Access Manager uses to share your Incident Manager resource.
- DeleteResponsePlan ( array $params = [] )
Deletes the specified response plan.
- DeleteTimelineEvent ( array $params = [] )
Deletes a timeline event from an incident.
- GetIncidentRecord ( array $params = [] )
Returns the details for the specified incident record.
- GetReplicationSet ( array $params = [] )
Retrieve your Incident Manager replication set.
- GetResourcePolicies ( array $params = [] )
Retrieves the resource policies attached to the specified response plan.
- GetResponsePlan ( array $params = [] )
Retrieves the details of the specified response plan.
- GetTimelineEvent ( array $params = [] )
Retrieves a timeline event based on its ID and incident record.
- ListIncidentRecords ( array $params = [] )
Lists all incident records in your account.
- ListRelatedItems ( array $params = [] )
List all related items for an incident record.
- ListReplicationSets ( array $params = [] )
Lists details about the replication set configured in your account.
- ListResponsePlans ( array $params = [] )
Lists all response plans in your account.
- ListTagsForResource ( array $params = [] )
Lists the tags that are attached to the specified response plan.
- ListTimelineEvents ( array $params = [] )
Lists timeline events for the specified incident record.
- PutResourcePolicy ( array $params = [] )
Adds a resource policy to the specified response plan.
- StartIncident ( array $params = [] )
Used to start an incident from CloudWatch alarms, EventBridge events, or manually.
- TagResource ( array $params = [] )
Adds a tag to a response plan.
- UntagResource ( array $params = [] )
Removes a tag from a resource.
- UpdateDeletionProtection ( array $params = [] )
Update deletion protection to either allow or deny deletion of the final Region in a replication set.
- UpdateIncidentRecord ( array $params = [] )
Update the details of an incident record.
- UpdateRelatedItems ( array $params = [] )
Add or remove related items from the related items tab of an incident record.
- UpdateReplicationSet ( array $params = [] )
Add or delete Regions from your replication set.
- UpdateResponsePlan ( array $params = [] )
Updates the specified response plan.
- UpdateTimelineEvent ( array $params = [] )
Updates a timeline event.
Paginators
Paginators handle automatically iterating over paginated API results. Paginators are associated with specific API operations, and they accept the parameters that the corresponding API operation accepts. You can get a paginator from a client class using getPaginator($paginatorName, $operationParameters). This client supports the following paginators:
Waiters
Waiters allow you to poll a resource until it enters into a desired state. A waiter has a name used to describe what it does, and is associated with an API operation. When creating a waiter, you can provide the API operation parameters associated with the corresponding operation. Waiters can be accessed using the getWaiter($waiterName, $operationParameters) method of a client object. This client supports the following waiters:
Waiter name | API Operation | Delay | Max Attempts |
---|---|---|---|
WaitForReplicationSetActive | GetReplicationSet | 30 | 5 |
WaitForReplicationSetDeleted | GetReplicationSet | 30 | 5 |
Operations
CreateReplicationSet
$result = $client->createReplicationSet
([/* ... */]); $promise = $client->createReplicationSetAsync
([/* ... */]);
A replication set replicates and encrypts your data to the provided Regions with the provided KMS key.
Parameter Syntax
$result = $client->createReplicationSet([ 'clientToken' => '<string>', 'regions' => [ // REQUIRED '<RegionName>' => [ 'sseKmsKeyId' => '<string>', ], // ... ], 'tags' => ['<string>', ...], ]);
Parameter Details
Members
- clientToken
-
- Type: string
A token that ensures that the operation is called only once with the specified details.
- regions
-
- Required: Yes
- Type: Associative array of custom strings keys (RegionName) to RegionMapInputValue structures
The Regions that Incident Manager replicates your data to. You can have up to three Regions in your replication set.
- tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
A list of tags to add to the replication set.
Result Syntax
[ 'arn' => '<string>', ]
Result Details
Errors
-
ServiceQuotaExceededException:
Request would cause a service quota to be exceeded.
-
The request was denied due to request throttling.
-
You don't have sufficient access to perform this operation.
-
The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
Updating or deleting a resource causes an inconsistent state.
-
The request processing has failed because of an unknown error, exception or failure.
CreateResponsePlan
$result = $client->createResponsePlan
([/* ... */]); $promise = $client->createResponsePlanAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->createResponsePlan([ 'actions' => [ [ 'ssmAutomation' => [ 'documentName' => '<string>', // REQUIRED 'documentVersion' => '<string>', 'dynamicParameters' => [ '<DynamicSsmParametersKeyString>' => [ 'variable' => 'INCIDENT_RECORD_ARN|INVOLVED_RESOURCES', ], // ... ], 'parameters' => [ '<SsmParametersKeyString>' => ['<string>', ...], // ... ], 'roleArn' => '<string>', // REQUIRED 'targetAccount' => 'RESPONSE_PLAN_OWNER_ACCOUNT|IMPACTED_ACCOUNT', ], ], // ... ], 'chatChannel' => [ 'chatbotSns' => ['<string>', ...], 'empty' => [ ], ], 'clientToken' => '<string>', 'displayName' => '<string>', 'engagements' => ['<string>', ...], 'incidentTemplate' => [ // REQUIRED 'dedupeString' => '<string>', 'impact' => <integer>, // REQUIRED 'incidentTags' => ['<string>', ...], 'notificationTargets' => [ [ 'snsTopicArn' => '<string>', ], // ... ], 'summary' => '<string>', 'title' => '<string>', // REQUIRED ], 'integrations' => [ [ 'pagerDutyConfiguration' => [ 'name' => '<string>', // REQUIRED 'pagerDutyIncidentConfiguration' => [ // REQUIRED 'serviceId' => '<string>', // REQUIRED ], 'secretId' => '<string>', // REQUIRED ], ], // ... ], 'name' => '<string>', // REQUIRED 'tags' => ['<string>', ...], ]);
Parameter Details
Members
- actions
-
- Type: Array of Action structures
The actions that the response plan starts at the beginning of an incident.
- chatChannel
-
- Type: ChatChannel structure
The Chatbot chat channel used for collaboration during an incident.
- clientToken
-
- Type: string
A token ensuring that the operation is called only once with the specified details.
- displayName
-
- Type: string
The long format of the response plan name. This field can contain spaces.
- engagements
-
- Type: Array of strings
The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an incident.
- incidentTemplate
-
- Required: Yes
- Type: IncidentTemplate structure
Details used to create an incident when using this response plan.
- integrations
-
- Type: Array of Integration structures
Information about third-party services integrated into the response plan.
- name
-
- Required: Yes
- Type: string
The short format name of the response plan. Can't include spaces.
- tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
A list of tags that you are adding to the response plan.
Result Syntax
[ 'arn' => '<string>', ]
Result Details
Errors
-
The request was denied due to request throttling.
-
Request references a resource which doesn't exist.
-
You don't have sufficient access to perform this operation.
-
The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
Updating or deleting a resource causes an inconsistent state.
-
The request processing has failed because of an unknown error, exception or failure.
CreateTimelineEvent
$result = $client->createTimelineEvent
([/* ... */]); $promise = $client->createTimelineEventAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->createTimelineEvent([ 'clientToken' => '<string>', 'eventData' => '<string>', // REQUIRED 'eventReferences' => [ [ 'relatedItemId' => '<string>', 'resource' => '<string>', ], // ... ], 'eventTime' => <integer || string || DateTime>, // REQUIRED 'eventType' => '<string>', // REQUIRED 'incidentRecordArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- clientToken
-
- Type: string
A token ensuring that the action is called only once with the specified details.
- eventData
-
- Required: Yes
- Type: string
A short description of the event.
- eventReferences
-
- Type: Array of EventReference structures
Adds one or more references to the
TimelineEvent
. A reference can be an Amazon Web Services resource involved in the incident or in some way associated with it. When you specify a reference, you enter the Amazon Resource Name (ARN) of the resource. You can also specify a related item. As an example, you could specify the ARN of an Amazon DynamoDB (DynamoDB) table. The table for this example is the resource. You could also specify a Amazon CloudWatch metric for that table. The metric is the related item. - eventTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time that the event occurred.
- eventType
-
- Required: Yes
- Type: string
The type of the event. You can create timeline events of type
Custom Event
. - incidentRecordArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the incident record to which the event will be added.
Result Syntax
[ 'eventId' => '<string>', 'incidentRecordArn' => '<string>', ]
Result Details
Members
Errors
-
The request was denied due to request throttling.
-
Request references a resource which doesn't exist.
-
You don't have sufficient access to perform this operation.
-
The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
Updating or deleting a resource causes an inconsistent state.
-
The request processing has failed because of an unknown error, exception or failure.
DeleteIncidentRecord
$result = $client->deleteIncidentRecord
([/* ... */]); $promise = $client->deleteIncidentRecordAsync
([/* ... */]);
Delete an incident record from Incident Manager.
Parameter Syntax
$result = $client->deleteIncidentRecord([ 'arn' => '<string>', // REQUIRED ]);
Parameter Details
Members
Result Syntax
[]
Result Details
Errors
-
The request was denied due to request throttling.
-
You don't have sufficient access to perform this operation.
-
The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
The request processing has failed because of an unknown error, exception or failure.
DeleteReplicationSet
$result = $client->deleteReplicationSet
([/* ... */]); $promise = $client->deleteReplicationSetAsync
([/* ... */]);
Deletes all Regions in your replication set. Deleting the replication set deletes all Incident Manager data.
Parameter Syntax
$result = $client->deleteReplicationSet([ 'arn' => '<string>', // REQUIRED ]);
Parameter Details
Members
Result Syntax
[]
Result Details
Errors
-
The request was denied due to request throttling.
-
Request references a resource which doesn't exist.
-
You don't have sufficient access to perform this operation.
-
The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
The request processing has failed because of an unknown error, exception or failure.
DeleteResourcePolicy
$result = $client->deleteResourcePolicy
([/* ... */]); $promise = $client->deleteResourcePolicyAsync
([/* ... */]);
Deletes the resource policy that Resource Access Manager uses to share your Incident Manager resource.
Parameter Syntax
$result = $client->deleteResourcePolicy([ 'policyId' => '<string>', // REQUIRED 'resourceArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
Result Syntax
[]
Result Details
Errors
-
The request was denied due to request throttling.
-
Request references a resource which doesn't exist.
-
You don't have sufficient access to perform this operation.
-
The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
The request processing has failed because of an unknown error, exception or failure.
DeleteResponsePlan
$result = $client->deleteResponsePlan
([/* ... */]); $promise = $client->deleteResponsePlanAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->deleteResponsePlan([ 'arn' => '<string>', // REQUIRED ]);
Parameter Details
Result Syntax
[]
Result Details
Errors
-
The request was denied due to request throttling.
-
You don't have sufficient access to perform this operation.
-
The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
The request processing has failed because of an unknown error, exception or failure.
DeleteTimelineEvent
$result = $client->deleteTimelineEvent
([/* ... */]); $promise = $client->deleteTimelineEventAsync
([/* ... */]);
Deletes a timeline event from an incident.
Parameter Syntax
$result = $client->deleteTimelineEvent([ 'eventId' => '<string>', // REQUIRED 'incidentRecordArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
Result Syntax
[]
Result Details
Errors
-
The request was denied due to request throttling.
-
You don't have sufficient access to perform this operation.
-
The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
The request processing has failed because of an unknown error, exception or failure.
GetIncidentRecord
$result = $client->getIncidentRecord
([/* ... */]); $promise = $client->getIncidentRecordAsync
([/* ... */]);
Returns the details for the specified incident record.
Parameter Syntax
$result = $client->getIncidentRecord([ 'arn' => '<string>', // REQUIRED ]);
Parameter Details
Result Syntax
[ 'incidentRecord' => [ 'arn' => '<string>', 'automationExecutions' => [ [ 'ssmExecutionArn' => '<string>', ], // ... ], 'chatChannel' => [ 'chatbotSns' => ['<string>', ...], 'empty' => [ ], ], 'creationTime' => <DateTime>, 'dedupeString' => '<string>', 'impact' => <integer>, 'incidentRecordSource' => [ 'createdBy' => '<string>', 'invokedBy' => '<string>', 'resourceArn' => '<string>', 'source' => '<string>', ], 'lastModifiedBy' => '<string>', 'lastModifiedTime' => <DateTime>, 'notificationTargets' => [ [ 'snsTopicArn' => '<string>', ], // ... ], 'resolvedTime' => <DateTime>, 'status' => 'OPEN|RESOLVED', 'summary' => '<string>', 'title' => '<string>', ], ]
Result Details
Members
- incidentRecord
-
- Required: Yes
- Type: IncidentRecord structure
Details the structure of the incident record.
Errors
-
The request was denied due to request throttling.
-
Request references a resource which doesn't exist.
-
You don't have sufficient access to perform this operation.
-
The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
The request processing has failed because of an unknown error, exception or failure.
GetReplicationSet
$result = $client->getReplicationSet
([/* ... */]); $promise = $client->getReplicationSetAsync
([/* ... */]);
Retrieve your Incident Manager replication set.
Parameter Syntax
$result = $client->getReplicationSet([ 'arn' => '<string>', // REQUIRED ]);
Parameter Details
Members
Result Syntax
[ 'replicationSet' => [ 'arn' => '<string>', 'createdBy' => '<string>', 'createdTime' => <DateTime>, 'deletionProtected' => true || false, 'lastModifiedBy' => '<string>', 'lastModifiedTime' => <DateTime>, 'regionMap' => [ '<RegionName>' => [ 'sseKmsKeyId' => '<string>', 'status' => 'ACTIVE|CREATING|DELETING|FAILED', 'statusMessage' => '<string>', 'statusUpdateDateTime' => <DateTime>, ], // ... ], 'status' => 'ACTIVE|CREATING|UPDATING|DELETING|FAILED', ], ]
Result Details
Members
- replicationSet
-
- Required: Yes
- Type: ReplicationSet structure
Details of the replication set.
Errors
-
The request was denied due to request throttling.
-
Request references a resource which doesn't exist.
-
You don't have sufficient access to perform this operation.
-
The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
The request processing has failed because of an unknown error, exception or failure.
GetResourcePolicies
$result = $client->getResourcePolicies
([/* ... */]); $promise = $client->getResourcePoliciesAsync
([/* ... */]);
Retrieves the resource policies attached to the specified response plan.
Parameter Syntax
$result = $client->getResourcePolicies([ 'maxResults' => <integer>, 'nextToken' => '<string>', 'resourceArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- maxResults
-
- Type: int
The maximum number of resource policies to display for each page of results.
- nextToken
-
- Type: string
The pagination token to continue to the next page of results.
- resourceArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the response plan with the attached resource policy.
Result Syntax
[ 'nextToken' => '<string>', 'resourcePolicies' => [ [ 'policyDocument' => '<string>', 'policyId' => '<string>', 'ramResourceShareRegion' => '<string>', ], // ... ], ]
Result Details
Members
- nextToken
-
- Type: string
The pagination token to continue to the next page of results.
- resourcePolicies
-
- Required: Yes
- Type: Array of ResourcePolicy structures
Details about the resource policy attached to the response plan.
Errors
-
The request was denied due to request throttling.
-
Request references a resource which doesn't exist.
-
You don't have sufficient access to perform this operation.
-
The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
The request processing has failed because of an unknown error, exception or failure.
GetResponsePlan
$result = $client->getResponsePlan
([/* ... */]); $promise = $client->getResponsePlanAsync
([/* ... */]);
Retrieves the details of the specified response plan.
Parameter Syntax
$result = $client->getResponsePlan([ 'arn' => '<string>', // REQUIRED ]);
Parameter Details
Result Syntax
[ 'actions' => [ [ 'ssmAutomation' => [ 'documentName' => '<string>', 'documentVersion' => '<string>', 'dynamicParameters' => [ '<DynamicSsmParametersKeyString>' => [ 'variable' => 'INCIDENT_RECORD_ARN|INVOLVED_RESOURCES', ], // ... ], 'parameters' => [ '<SsmParametersKeyString>' => ['<string>', ...], // ... ], 'roleArn' => '<string>', 'targetAccount' => 'RESPONSE_PLAN_OWNER_ACCOUNT|IMPACTED_ACCOUNT', ], ], // ... ], 'arn' => '<string>', 'chatChannel' => [ 'chatbotSns' => ['<string>', ...], 'empty' => [ ], ], 'displayName' => '<string>', 'engagements' => ['<string>', ...], 'incidentTemplate' => [ 'dedupeString' => '<string>', 'impact' => <integer>, 'incidentTags' => ['<string>', ...], 'notificationTargets' => [ [ 'snsTopicArn' => '<string>', ], // ... ], 'summary' => '<string>', 'title' => '<string>', ], 'integrations' => [ [ 'pagerDutyConfiguration' => [ 'name' => '<string>', 'pagerDutyIncidentConfiguration' => [ 'serviceId' => '<string>', ], 'secretId' => '<string>', ], ], // ... ], 'name' => '<string>', ]
Result Details
Members
- actions
-
- Type: Array of Action structures
The actions that this response plan takes at the beginning of the incident.
- arn
-
- Required: Yes
- Type: string
The ARN of the response plan.
- chatChannel
-
- Type: ChatChannel structure
The Chatbot chat channel used for collaboration during an incident.
- displayName
-
- Type: string
The long format name of the response plan. Can contain spaces.
- engagements
-
- Type: Array of strings
The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an incident.
- incidentTemplate
-
- Required: Yes
- Type: IncidentTemplate structure
Details used to create the incident when using this response plan.
- integrations
-
- Type: Array of Integration structures
Information about third-party services integrated into the Incident Manager response plan.
- name
-
- Required: Yes
- Type: string
The short format name of the response plan. The name can't contain spaces.
Errors
-
The request was denied due to request throttling.
-
Request references a resource which doesn't exist.
-
You don't have sufficient access to perform this operation.
-
The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
The request processing has failed because of an unknown error, exception or failure.
GetTimelineEvent
$result = $client->getTimelineEvent
([/* ... */]); $promise = $client->getTimelineEventAsync
([/* ... */]);
Retrieves a timeline event based on its ID and incident record.
Parameter Syntax
$result = $client->getTimelineEvent([ 'eventId' => '<string>', // REQUIRED 'incidentRecordArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
Result Syntax
[ 'event' => [ 'eventData' => '<string>', 'eventId' => '<string>', 'eventReferences' => [ [ 'relatedItemId' => '<string>', 'resource' => '<string>', ], // ... ], 'eventTime' => <DateTime>, 'eventType' => '<string>', 'eventUpdatedTime' => <DateTime>, 'incidentRecordArn' => '<string>', ], ]
Result Details
Members
- event
-
- Required: Yes
- Type: TimelineEvent structure
Details about the timeline event.
Errors
-
The request was denied due to request throttling.
-
Request references a resource which doesn't exist.
-
You don't have sufficient access to perform this operation.
-
The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
The request processing has failed because of an unknown error, exception or failure.
ListIncidentRecords
$result = $client->listIncidentRecords
([/* ... */]); $promise = $client->listIncidentRecordsAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->listIncidentRecords([ 'filters' => [ [ 'condition' => [ // REQUIRED 'after' => <integer || string || DateTime>, 'before' => <integer || string || DateTime>, 'equals' => [ 'integerValues' => [<integer>, ...], 'stringValues' => ['<string>', ...], ], ], 'key' => '<string>', // REQUIRED ], // ... ], 'maxResults' => <integer>, 'nextToken' => '<string>', ]);
Parameter Details
Members
- filters
-
- Type: Array of Filter structures
Filters the list of incident records through which you are searching. You can filter on the following keys:
-
creationTime
-
impact
-
status
-
createdBy
Note the following when deciding how to 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.
- maxResults
-
- Type: int
The maximum number of results per page.
- nextToken
-
- Type: string
The pagination token to continue to the next page of results.
Result Syntax
[ 'incidentRecordSummaries' => [ [ 'arn' => '<string>', 'creationTime' => <DateTime>, 'impact' => <integer>, 'incidentRecordSource' => [ 'createdBy' => '<string>', 'invokedBy' => '<string>', 'resourceArn' => '<string>', 'source' => '<string>', ], 'resolvedTime' => <DateTime>, 'status' => 'OPEN|RESOLVED', 'title' => '<string>', ], // ... ], 'nextToken' => '<string>', ]
Result Details
Members
- incidentRecordSummaries
-
- Required: Yes
- Type: Array of IncidentRecordSummary structures
The details of each listed incident record.
- nextToken
-
- Type: string
The pagination token to continue to the next page of results.
Errors
-
The request was denied due to request throttling.
-
You don't have sufficient access to perform this operation.
-
The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
The request processing has failed because of an unknown error, exception or failure.
ListRelatedItems
$result = $client->listRelatedItems
([/* ... */]); $promise = $client->listRelatedItemsAsync
([/* ... */]);
List all related items for an incident record.
Parameter Syntax
$result = $client->listRelatedItems([ 'incidentRecordArn' => '<string>', // REQUIRED 'maxResults' => <integer>, 'nextToken' => '<string>', ]);
Parameter Details
Members
Result Syntax
[ 'nextToken' => '<string>', 'relatedItems' => [ [ 'generatedId' => '<string>', 'identifier' => [ 'type' => 'ANALYSIS|INCIDENT|METRIC|PARENT|ATTACHMENT|OTHER|AUTOMATION|INVOLVED_RESOURCE|TASK', 'value' => [ 'arn' => '<string>', 'metricDefinition' => '<string>', 'pagerDutyIncidentDetail' => [ 'autoResolve' => true || false, 'id' => '<string>', 'secretId' => '<string>', ], 'url' => '<string>', ], ], 'title' => '<string>', ], // ... ], ]
Result Details
Members
- nextToken
-
- Type: string
The pagination token to continue to the next page of results.
- relatedItems
-
- Required: Yes
- Type: Array of RelatedItem structures
Details about each related item.
Errors
-
The request was denied due to request throttling.
-
You don't have sufficient access to perform this operation.
-
The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
The request processing has failed because of an unknown error, exception or failure.
ListReplicationSets
$result = $client->listReplicationSets
([/* ... */]); $promise = $client->listReplicationSetsAsync
([/* ... */]);
Lists details about the replication set configured in your account.
Parameter Syntax
$result = $client->listReplicationSets([ 'maxResults' => <integer>, 'nextToken' => '<string>', ]);
Parameter Details
Members
Result Syntax
[ 'nextToken' => '<string>', 'replicationSetArns' => ['<string>', ...], ]
Result Details
Members
Errors
-
The request was denied due to request throttling.
-
You don't have sufficient access to perform this operation.
-
The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
The request processing has failed because of an unknown error, exception or failure.
ListResponsePlans
$result = $client->listResponsePlans
([/* ... */]); $promise = $client->listResponsePlansAsync
([/* ... */]);
Lists all response plans in your account.
Parameter Syntax
$result = $client->listResponsePlans([ 'maxResults' => <integer>, 'nextToken' => '<string>', ]);
Parameter Details
Members
Result Syntax
[ 'nextToken' => '<string>', 'responsePlanSummaries' => [ [ 'arn' => '<string>', 'displayName' => '<string>', 'name' => '<string>', ], // ... ], ]
Result Details
Members
- nextToken
-
- Type: string
The pagination token to continue to the next page of results.
- responsePlanSummaries
-
- Required: Yes
- Type: Array of ResponsePlanSummary structures
Details of each response plan.
Errors
-
The request was denied due to request throttling.
-
You don't have sufficient access to perform this operation.
-
The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
The request processing has failed because of an unknown error, exception or failure.
ListTagsForResource
$result = $client->listTagsForResource
([/* ... */]); $promise = $client->listTagsForResourceAsync
([/* ... */]);
Lists the tags that are attached to the specified response plan.
Parameter Syntax
$result = $client->listTagsForResource([ 'resourceArn' => '<string>', // REQUIRED ]);
Parameter Details
Result Syntax
[ 'tags' => ['<string>', ...], ]
Result Details
Members
Errors
-
The request was denied due to request throttling.
-
Request references a resource which doesn't exist.
-
You don't have sufficient access to perform this operation.
-
The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
The request processing has failed because of an unknown error, exception or failure.
ListTimelineEvents
$result = $client->listTimelineEvents
([/* ... */]); $promise = $client->listTimelineEventsAsync
([/* ... */]);
Lists timeline events for the specified incident record.
Parameter Syntax
$result = $client->listTimelineEvents([ 'filters' => [ [ 'condition' => [ // REQUIRED 'after' => <integer || string || DateTime>, 'before' => <integer || string || DateTime>, 'equals' => [ 'integerValues' => [<integer>, ...], 'stringValues' => ['<string>', ...], ], ], 'key' => '<string>', // REQUIRED ], // ... ], 'incidentRecordArn' => '<string>', // REQUIRED 'maxResults' => <integer>, 'nextToken' => '<string>', 'sortBy' => 'EVENT_TIME', 'sortOrder' => 'ASCENDING|DESCENDING', ]);
Parameter Details
Members
- filters
-
- Type: Array of Filter structures
Filters the timeline events based on the provided conditional values. You can filter timeline events using the following keys:
-
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.
- incidentRecordArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the incident that includes the timeline event.
- maxResults
-
- Type: int
The maximum number of results per page.
- nextToken
-
- Type: string
The pagination token to continue to the next page of results.
- sortBy
-
- Type: string
Sort by the specified key value pair.
- sortOrder
-
- Type: string
Sorts the order of timeline events by the value specified in the
sortBy
field.
Result Syntax
[ 'eventSummaries' => [ [ 'eventId' => '<string>', 'eventReferences' => [ [ 'relatedItemId' => '<string>', 'resource' => '<string>', ], // ... ], 'eventTime' => <DateTime>, 'eventType' => '<string>', 'eventUpdatedTime' => <DateTime>, 'incidentRecordArn' => '<string>', ], // ... ], 'nextToken' => '<string>', ]
Result Details
Members
- eventSummaries
-
- Required: Yes
- Type: Array of EventSummary structures
Details about each event that occurred during the incident.
- nextToken
-
- Type: string
The pagination token to continue to the next page of results.
Errors
-
The request was denied due to request throttling.
-
You don't have sufficient access to perform this operation.
-
The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
The request processing has failed because of an unknown error, exception or failure.
PutResourcePolicy
$result = $client->putResourcePolicy
([/* ... */]); $promise = $client->putResourcePolicyAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->putResourcePolicy([ 'policy' => '<string>', // REQUIRED 'resourceArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
Result Syntax
[ 'policyId' => '<string>', ]
Result Details
Errors
-
The request was denied due to request throttling.
-
Request references a resource which doesn't exist.
-
You don't have sufficient access to perform this operation.
-
The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
The request processing has failed because of an unknown error, exception or failure.
StartIncident
$result = $client->startIncident
([/* ... */]); $promise = $client->startIncidentAsync
([/* ... */]);
Used to start an incident from CloudWatch alarms, EventBridge events, or manually.
Parameter Syntax
$result = $client->startIncident([ 'clientToken' => '<string>', 'impact' => <integer>, 'relatedItems' => [ [ 'generatedId' => '<string>', 'identifier' => [ // REQUIRED 'type' => 'ANALYSIS|INCIDENT|METRIC|PARENT|ATTACHMENT|OTHER|AUTOMATION|INVOLVED_RESOURCE|TASK', // REQUIRED 'value' => [ // REQUIRED 'arn' => '<string>', 'metricDefinition' => '<string>', 'pagerDutyIncidentDetail' => [ 'autoResolve' => true || false, 'id' => '<string>', // REQUIRED 'secretId' => '<string>', ], 'url' => '<string>', ], ], 'title' => '<string>', ], // ... ], 'responsePlanArn' => '<string>', // REQUIRED 'title' => '<string>', 'triggerDetails' => [ 'rawData' => '<string>', 'source' => '<string>', // REQUIRED 'timestamp' => <integer || string || DateTime>, // REQUIRED 'triggerArn' => '<string>', ], ]);
Parameter Details
Members
- clientToken
-
- Type: string
A token ensuring that the operation is called only once with the specified details.
- impact
-
- Type: int
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.
- relatedItems
-
- Type: Array of RelatedItem structures
Add related items to the incident for other responders to use. Related items are AWS resources, external links, or files uploaded to an Amazon S3 bucket.
- responsePlanArn
-
- Required: Yes
- Type: string
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.
- title
-
- Type: string
Provide a title for the incident. Providing a title overwrites the title provided by the response plan.
- triggerDetails
-
- Type: TriggerDetails structure
Details of what created the incident record in Incident Manager.
Result Syntax
[ 'incidentRecordArn' => '<string>', ]
Result Details
Errors
-
The request was denied due to request throttling.
-
Request references a resource which doesn't exist.
-
You don't have sufficient access to perform this operation.
-
The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
Updating or deleting a resource causes an inconsistent state.
-
The request processing has failed because of an unknown error, exception or failure.
TagResource
$result = $client->tagResource
([/* ... */]); $promise = $client->tagResourceAsync
([/* ... */]);
Adds a tag to a response plan.
Parameter Syntax
$result = $client->tagResource([ 'resourceArn' => '<string>', // REQUIRED 'tags' => ['<string>', ...], // REQUIRED ]);
Parameter Details
Members
Result Syntax
[]
Result Details
Errors
-
ServiceQuotaExceededException:
Request would cause a service quota to be exceeded.
-
The request was denied due to request throttling.
-
Request references a resource which doesn't exist.
-
You don't have sufficient access to perform this operation.
-
The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
Updating or deleting a resource causes an inconsistent state.
-
The request processing has failed because of an unknown error, exception or failure.
UntagResource
$result = $client->untagResource
([/* ... */]); $promise = $client->untagResourceAsync
([/* ... */]);
Removes a tag from a resource.
Parameter Syntax
$result = $client->untagResource([ 'resourceArn' => '<string>', // REQUIRED 'tagKeys' => ['<string>', ...], // REQUIRED ]);
Parameter Details
Members
Result Syntax
[]
Result Details
Errors
-
The request was denied due to request throttling.
-
Request references a resource which doesn't exist.
-
You don't have sufficient access to perform this operation.
-
The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
Updating or deleting a resource causes an inconsistent state.
-
The request processing has failed because of an unknown error, exception or failure.
UpdateDeletionProtection
$result = $client->updateDeletionProtection
([/* ... */]); $promise = $client->updateDeletionProtectionAsync
([/* ... */]);
Update deletion protection to either allow or deny deletion of the final Region in a replication set.
Parameter Syntax
$result = $client->updateDeletionProtection([ 'arn' => '<string>', // REQUIRED 'clientToken' => '<string>', 'deletionProtected' => true || false, // REQUIRED ]);
Parameter Details
Members
- arn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the replication set to update.
- clientToken
-
- Type: string
A token that ensures that the operation is called only once with the specified details.
- deletionProtected
-
- Required: Yes
- Type: boolean
Specifies if deletion protection is turned on or off in your account.
Result Syntax
[]
Result Details
Errors
-
The request was denied due to request throttling.
-
Request references a resource which doesn't exist.
-
You don't have sufficient access to perform this operation.
-
The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
The request processing has failed because of an unknown error, exception or failure.
UpdateIncidentRecord
$result = $client->updateIncidentRecord
([/* ... */]); $promise = $client->updateIncidentRecordAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->updateIncidentRecord([ 'arn' => '<string>', // REQUIRED 'chatChannel' => [ 'chatbotSns' => ['<string>', ...], 'empty' => [ ], ], 'clientToken' => '<string>', 'impact' => <integer>, 'notificationTargets' => [ [ 'snsTopicArn' => '<string>', ], // ... ], 'status' => 'OPEN|RESOLVED', 'summary' => '<string>', 'title' => '<string>', ]);
Parameter Details
Members
- arn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the incident record you are updating.
- chatChannel
-
- Type: ChatChannel structure
The Chatbot chat channel where responders can collaborate.
- clientToken
-
- Type: string
A token that ensures that the operation is called only once with the specified details.
- impact
-
- Type: int
Defines the impact of the incident to customers and applications. Providing an impact overwrites the impact provided by the response plan.
Possible impacts:
-
1
- Critical impact, 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 aren't impacted by the problem yet. -
5
- No impact, customers aren't currently impacted but urgent action is needed to avoid impact.
- notificationTargets
-
- Type: Array of NotificationTargetItem structures
The Amazon SNS targets that are notified when updates are made to an incident.
Using multiple SNS topics creates redundancy in the event that a Region is down during the incident.
- status
-
- Type: string
The status of the incident. An incident can be
Open
orResolved
. - summary
-
- Type: string
A longer description of what occurred during the incident.
- title
-
- Type: string
A brief description of the incident.
Result Syntax
[]
Result Details
Errors
-
The request was denied due to request throttling.
-
Request references a resource which doesn't exist.
-
You don't have sufficient access to perform this operation.
-
The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
Updating or deleting a resource causes an inconsistent state.
-
The request processing has failed because of an unknown error, exception or failure.
UpdateRelatedItems
$result = $client->updateRelatedItems
([/* ... */]); $promise = $client->updateRelatedItemsAsync
([/* ... */]);
Add or remove related items from the related items tab of an incident record.
Parameter Syntax
$result = $client->updateRelatedItems([ 'clientToken' => '<string>', 'incidentRecordArn' => '<string>', // REQUIRED 'relatedItemsUpdate' => [ // REQUIRED 'itemToAdd' => [ 'generatedId' => '<string>', 'identifier' => [ // REQUIRED 'type' => 'ANALYSIS|INCIDENT|METRIC|PARENT|ATTACHMENT|OTHER|AUTOMATION|INVOLVED_RESOURCE|TASK', // REQUIRED 'value' => [ // REQUIRED 'arn' => '<string>', 'metricDefinition' => '<string>', 'pagerDutyIncidentDetail' => [ 'autoResolve' => true || false, 'id' => '<string>', // REQUIRED 'secretId' => '<string>', ], 'url' => '<string>', ], ], 'title' => '<string>', ], 'itemToRemove' => [ 'type' => 'ANALYSIS|INCIDENT|METRIC|PARENT|ATTACHMENT|OTHER|AUTOMATION|INVOLVED_RESOURCE|TASK', // REQUIRED 'value' => [ // REQUIRED 'arn' => '<string>', 'metricDefinition' => '<string>', 'pagerDutyIncidentDetail' => [ 'autoResolve' => true || false, 'id' => '<string>', // REQUIRED 'secretId' => '<string>', ], 'url' => '<string>', ], ], ], ]);
Parameter Details
Members
- clientToken
-
- Type: string
A token ensuring that the operation is called only once with the specified details.
- incidentRecordArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the incident record containing the related items you are updating.
- relatedItemsUpdate
-
- Required: Yes
- Type: RelatedItemsUpdate structure
Details about the item you are adding or deleting.
Result Syntax
[]
Result Details
Errors
-
The request was denied due to request throttling.
-
Request references a resource which doesn't exist.
-
You don't have sufficient access to perform this operation.
-
The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
Updating or deleting a resource causes an inconsistent state.
-
The request processing has failed because of an unknown error, exception or failure.
UpdateReplicationSet
$result = $client->updateReplicationSet
([/* ... */]); $promise = $client->updateReplicationSetAsync
([/* ... */]);
Add or delete Regions from your replication set.
Parameter Syntax
$result = $client->updateReplicationSet([ 'actions' => [ // REQUIRED [ 'addRegionAction' => [ 'regionName' => '<string>', // REQUIRED 'sseKmsKeyId' => '<string>', ], 'deleteRegionAction' => [ 'regionName' => '<string>', // REQUIRED ], ], // ... ], 'arn' => '<string>', // REQUIRED 'clientToken' => '<string>', ]);
Parameter Details
Members
- actions
-
- Required: Yes
- Type: Array of UpdateReplicationSetAction structures
An action to add or delete a Region.
- arn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the replication set you're updating.
- clientToken
-
- Type: string
A token that ensures that the operation is called only once with the specified details.
Result Syntax
[]
Result Details
Errors
-
The request was denied due to request throttling.
-
Request references a resource which doesn't exist.
-
You don't have sufficient access to perform this operation.
-
The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
Updating or deleting a resource causes an inconsistent state.
-
The request processing has failed because of an unknown error, exception or failure.
UpdateResponsePlan
$result = $client->updateResponsePlan
([/* ... */]); $promise = $client->updateResponsePlanAsync
([/* ... */]);
Updates the specified response plan.
Parameter Syntax
$result = $client->updateResponsePlan([ 'actions' => [ [ 'ssmAutomation' => [ 'documentName' => '<string>', // REQUIRED 'documentVersion' => '<string>', 'dynamicParameters' => [ '<DynamicSsmParametersKeyString>' => [ 'variable' => 'INCIDENT_RECORD_ARN|INVOLVED_RESOURCES', ], // ... ], 'parameters' => [ '<SsmParametersKeyString>' => ['<string>', ...], // ... ], 'roleArn' => '<string>', // REQUIRED 'targetAccount' => 'RESPONSE_PLAN_OWNER_ACCOUNT|IMPACTED_ACCOUNT', ], ], // ... ], 'arn' => '<string>', // REQUIRED 'chatChannel' => [ 'chatbotSns' => ['<string>', ...], 'empty' => [ ], ], 'clientToken' => '<string>', 'displayName' => '<string>', 'engagements' => ['<string>', ...], 'incidentTemplateDedupeString' => '<string>', 'incidentTemplateImpact' => <integer>, 'incidentTemplateNotificationTargets' => [ [ 'snsTopicArn' => '<string>', ], // ... ], 'incidentTemplateSummary' => '<string>', 'incidentTemplateTags' => ['<string>', ...], 'incidentTemplateTitle' => '<string>', 'integrations' => [ [ 'pagerDutyConfiguration' => [ 'name' => '<string>', // REQUIRED 'pagerDutyIncidentConfiguration' => [ // REQUIRED 'serviceId' => '<string>', // REQUIRED ], 'secretId' => '<string>', // REQUIRED ], ], // ... ], ]);
Parameter Details
Members
- actions
-
- Type: Array of Action structures
The actions that this response plan takes at the beginning of an incident.
- arn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the response plan.
- chatChannel
-
- Type: ChatChannel structure
The Chatbot chat channel used for collaboration during an incident.
Use the empty structure to remove the chat channel from the response plan.
- clientToken
-
- Type: string
A token ensuring that the operation is called only once with the specified details.
- displayName
-
- Type: string
The long format name of the response plan. The display name can't contain spaces.
- engagements
-
- Type: Array of strings
The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an incident.
- incidentTemplateDedupeString
-
- Type: string
The string Incident Manager uses to prevent duplicate incidents from being created by the same incident in the same account.
- incidentTemplateImpact
-
- Type: int
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
- incidentTemplateNotificationTargets
-
- Type: Array of NotificationTargetItem structures
The Amazon SNS targets that are notified when updates are made to an incident.
- incidentTemplateSummary
-
- Type: string
A brief summary of the incident. This typically contains what has happened, what's currently happening, and next steps.
- incidentTemplateTags
-
- Type: Associative array of custom strings keys (TagKey) to strings
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 theTagResource
API action for the incident record resource. - incidentTemplateTitle
-
- Type: string
The short format name of the incident. The title can't contain spaces.
- integrations
-
- Type: Array of Integration structures
Information about third-party services integrated into the response plan.
Result Syntax
[]
Result Details
Errors
-
The request was denied due to request throttling.
-
Request references a resource which doesn't exist.
-
You don't have sufficient access to perform this operation.
-
The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
Updating or deleting a resource causes an inconsistent state.
-
The request processing has failed because of an unknown error, exception or failure.
UpdateTimelineEvent
$result = $client->updateTimelineEvent
([/* ... */]); $promise = $client->updateTimelineEventAsync
([/* ... */]);
Updates a timeline event. You can update events of type Custom Event
.
Parameter Syntax
$result = $client->updateTimelineEvent([ 'clientToken' => '<string>', 'eventData' => '<string>', 'eventId' => '<string>', // REQUIRED 'eventReferences' => [ [ 'relatedItemId' => '<string>', 'resource' => '<string>', ], // ... ], 'eventTime' => <integer || string || DateTime>, 'eventType' => '<string>', 'incidentRecordArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- clientToken
-
- Type: string
A token ensuring that the operation is called only once with the specified details.
- eventData
-
- Type: string
A short description of the event.
- eventId
-
- Required: Yes
- Type: string
The ID of the event you are updating. You can find this by using
ListTimelineEvents
. - eventReferences
-
- Type: Array of EventReference structures
Updates all existing references in a
TimelineEvent
. A reference can be an Amazon Web Services resource involved in the incident or in some way associated with it. When you specify a reference, you enter the Amazon Resource Name (ARN) of the resource. You can also specify a related item. As an example, you could specify the ARN of an Amazon DynamoDB (DynamoDB) table. The table for this example is the resource. You could also specify a Amazon CloudWatch metric for that table. The metric is the 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 them and enters only new references.
- eventTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time that the event occurred.
- eventType
-
- Type: string
The type of the event. You can update events of type
Custom Event
. - incidentRecordArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the incident that includes the timeline event.
Result Syntax
[]
Result Details
Errors
-
The request was denied due to request throttling.
-
Request references a resource which doesn't exist.
-
You don't have sufficient access to perform this operation.
-
The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
Updating or deleting a resource causes an inconsistent state.
-
The request processing has failed because of an unknown error, exception or failure.
Shapes
AccessDeniedException
Description
You don't have sufficient access to perform this operation.
Members
Action
Description
The action that starts at the beginning of an incident. The response plan defines the action.
Members
- ssmAutomation
-
- Type: SsmAutomation structure
The Systems Manager automation document to start as the runbook at the beginning of the incident.
AddRegionAction
Description
Defines the Amazon Web Services Region and KMS key to add to the replication set.
Members
AttributeValueList
Description
Use the AttributeValueList to filter by string or integer values.
Members
AutomationExecution
Description
The Systems Manager automation document process to start as the runbook at the beginning of the incident.
Members
ChatChannel
Description
The Chatbot chat channel used for collaboration during an incident.
Members
- chatbotSns
-
- Type: Array of strings
The Amazon SNS targets that 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 Amazon SNS topics.
- empty
-
- Type: EmptyChatChannel structure
Used to remove the chat channel from an incident record or response plan.
Condition
Description
A conditional statement with which to compare a value, after a timestamp, before a timestamp, or equal to a string or integer. If multiple conditions are specified, the conditionals become an AND
ed statement. If multiple values are specified for a conditional, the values are OR
d.
Members
- after
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
After the specified timestamp.
- before
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
Before the specified timestamp
- equals
-
- Type: AttributeValueList structure
The value is equal to the provided string or integer.
ConflictException
Description
Updating or deleting a resource causes an inconsistent state.
Members
- message
-
- Required: Yes
- Type: string
- resourceIdentifier
-
- Type: string
The identifier of the requested resource
- resourceType
-
- Type: string
The resource type
- retryAfter
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
If present in the output, the operation can be retried after this time
DeleteRegionAction
Description
Defines the information about the Amazon Web Services Region you're deleting from your replication set.
Members
DynamicSsmParameterValue
Description
The dynamic SSM parameter value.
Members
EmptyChatChannel
Description
Used to remove the chat channel from an incident record or response plan.
Members
EventReference
Description
An item referenced in a TimelineEvent
that is involved in or somehow associated with an incident. You can specify an Amazon Resource Name (ARN) for an Amazon Web Services resource or a RelatedItem
ID.
Members
EventSummary
Description
Details about a timeline event during an incident.
Members
- eventId
-
- Required: Yes
- Type: string
The timeline event ID.
- eventReferences
-
- Type: Array of EventReference structures
A list of references in a
TimelineEvent
. - eventTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time that the event occurred.
- eventType
-
- Required: Yes
- Type: string
The type of event. The timeline event must be
Custom Event
. - eventUpdatedTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time that the timeline event was last updated.
- incidentRecordArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the incident that the event happened during.
Filter
Description
Filter the selection by using a condition.
Members
- condition
-
- Required: Yes
- Type: Condition structure
The condition accepts before or after a specified time, equal to a string, or equal to an integer.
- key
-
- Required: Yes
- Type: string
The key that you're filtering on.
IncidentRecord
Description
The record of the incident that's created when an incident occurs.
Members
- arn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the incident record.
- automationExecutions
-
- Type: Array of AutomationExecution structures
The runbook, or automation document, that's run at the beginning of the incident.
- chatChannel
-
- Type: ChatChannel structure
The chat channel used for collaboration during an incident.
- creationTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time that Incident Manager created the incident record.
- dedupeString
-
- Required: Yes
- Type: string
The string Incident Manager uses to prevent duplicate incidents from being created by the same incident in the same account.
- impact
-
- Required: Yes
- Type: int
The impact of the incident on customers and applications.
- incidentRecordSource
-
- Required: Yes
- Type: IncidentRecordSource structure
Details about the action that started the incident.
- lastModifiedBy
-
- Required: Yes
- Type: string
Who modified the incident most recently.
- lastModifiedTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time at which the incident was most recently modified.
- notificationTargets
-
- Type: Array of NotificationTargetItem structures
The Amazon SNS targets that are notified when updates are made to an incident.
- resolvedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time at which the incident was resolved. This appears as a timeline event.
- status
-
- Required: Yes
- Type: string
The current status of the incident.
- summary
-
- Type: string
The summary of the incident. The summary is a brief synopsis of what occurred, what's currently happening, and context of the incident.
- title
-
- Required: Yes
- Type: string
The title of the incident.
IncidentRecordSource
Description
Details about what created the incident record and when it was created.
Members
- createdBy
-
- Required: Yes
- Type: string
The principal that started the incident.
- invokedBy
-
- Type: string
The service principal that assumed the role specified in
createdBy
. If no service principal assumed the role this will be left blank. - resourceArn
-
- Type: string
The resource that caused the incident to be created.
- source
-
- Required: Yes
- Type: string
The service that started the incident. This can be manually created from Incident Manager, automatically created using an Amazon CloudWatch alarm, or Amazon EventBridge event.
IncidentRecordSummary
Description
Details describing an incident record.
Members
- arn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the incident.
- creationTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time the incident was created.
- impact
-
- Required: Yes
- Type: int
Defines the impact to customers and applications.
- incidentRecordSource
-
- Required: Yes
- Type: IncidentRecordSource structure
What caused Incident Manager to create the incident.
- resolvedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time the incident was resolved.
- status
-
- Required: Yes
- Type: string
The current status of the incident.
- title
-
- Required: Yes
- Type: string
The title of the incident. This value is either provided by the response plan or overwritten on creation.
IncidentTemplate
Description
Basic details used in creating a response plan. The response plan is then used to create an incident record.
Members
- dedupeString
-
- Type: string
Used to stop Incident Manager from creating multiple incident records for the same incident.
- impact
-
- Required: Yes
- Type: int
The impact of the incident on your customers and applications.
- incidentTags
-
- Type: Associative array of custom strings keys (TagKey) to strings
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. - notificationTargets
-
- Type: Array of NotificationTargetItem structures
The Amazon SNS targets that are notified when updates are made to an incident.
- summary
-
- Type: string
The summary of the incident. The summary is a brief synopsis of what occurred, what's currently happening, and context.
- title
-
- Required: Yes
- Type: string
The title of the incident.
Integration
Description
Information about third-party services integrated into a response plan.
Members
- pagerDutyConfiguration
-
- Type: PagerDutyConfiguration structure
Information about the PagerDuty service where the response plan creates an incident.
InternalServerException
Description
The request processing has failed because of an unknown error, exception or failure.
Members
ItemIdentifier
Description
Details and type of a related item.
Members
- type
-
- Required: Yes
- Type: string
The type of related item.
- value
-
- Required: Yes
- Type: ItemValue structure
Details about the related item.
ItemValue
Description
Describes a related item.
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the related item, if the related item is an Amazon resource.
- metricDefinition
-
- Type: string
The metric definition, if the related item is a metric in Amazon CloudWatch.
- pagerDutyIncidentDetail
-
- Type: PagerDutyIncidentDetail structure
Details about an incident that is associated with a PagerDuty incident.
- url
-
- Type: string
The URL, if the related item is a non-Amazon Web Services resource.
NotificationTargetItem
Description
The SNS targets that are notified when updates are made to an incident.
Members
PagerDutyConfiguration
Description
Details about the PagerDuty configuration for a response plan.
Members
- name
-
- Required: Yes
- Type: string
The name of the PagerDuty configuration.
- pagerDutyIncidentConfiguration
-
- Required: Yes
- Type: PagerDutyIncidentConfiguration structure
Details about the PagerDuty service associated with the configuration.
- secretId
-
- Required: Yes
- Type: string
The ID of the Amazon Web Services Secrets Manager secret that stores your PagerDuty key, either a General Access REST API Key or User Token REST API Key, and other user credentials.
PagerDutyIncidentConfiguration
Description
Details about the PagerDuty service where the response plan creates an incident.
Members
PagerDutyIncidentDetail
Description
Details about the PagerDuty incident associated with an incident created by an Incident Manager response plan.
Members
- autoResolve
-
- Type: boolean
Indicates whether to resolve the PagerDuty incident when you resolve the associated Incident Manager incident.
- id
-
- Required: Yes
- Type: string
The ID of the incident associated with the PagerDuty service for the response plan.
- secretId
-
- Type: string
The ID of the Amazon Web Services Secrets Manager secret that stores your PagerDuty key, either a General Access REST API Key or User Token REST API Key, and other user credentials.
RegionInfo
Description
Information about a Amazon Web Services Region in your replication set.
Members
- sseKmsKeyId
-
- Type: string
The ID of the KMS key used to encrypt the data in this Amazon Web Services Region.
- status
-
- Required: Yes
- Type: string
The status of the Amazon Web Services Region in the replication set.
- statusMessage
-
- Type: string
Information displayed about the status of the Amazon Web Services Region.
- statusUpdateDateTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The most recent date and time that Incident Manager updated the Amazon Web Services Region's status.
RegionMapInputValue
Description
The mapping between a Amazon Web Services Region and the key that's used to encrypt the data.
Members
RelatedItem
Description
Resources that responders use to triage and mitigate the incident.
Members
- generatedId
-
- Type: string
A unique ID for a
RelatedItem
.Don't specify this parameter when you add a
RelatedItem
by using the UpdateRelatedItems API action. - identifier
-
- Required: Yes
- Type: ItemIdentifier structure
Details about the related item.
- title
-
- Type: string
The title of the related item.
RelatedItemsUpdate
Description
Details about the related item you're adding.
Members
- itemToAdd
-
- Type: RelatedItem structure
Details about the related item you're adding.
- itemToRemove
-
- Type: ItemIdentifier structure
Details about the related item you're deleting.
ReplicationSet
Description
The set of Amazon Web Services Region that your Incident Manager data will be replicated to and the KMS key used to encrypt the data.
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the replication set.
- createdBy
-
- Required: Yes
- Type: string
Details about who created the replication set.
- createdTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
When the replication set was created.
- deletionProtected
-
- Required: Yes
- Type: boolean
Determines if the replication set deletion protection is enabled or not. If deletion protection is enabled, you can't delete the last Amazon Web Services Region in the replication set.
- lastModifiedBy
-
- Required: Yes
- Type: string
Who last modified the replication set.
- lastModifiedTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
When the replication set was last updated.
- regionMap
-
- Required: Yes
- Type: Associative array of custom strings keys (RegionName) to RegionInfo structures
The map between each Amazon Web Services Region in your replication set and the KMS key that's used to encrypt the data in that Region.
- status
-
- Required: Yes
- Type: string
The status of the replication set. If the replication set is still pending, you can't use Incident Manager functionality.
ResourceNotFoundException
Description
Request references a resource which doesn't exist.
Members
ResourcePolicy
Description
The resource policy that allows Incident Manager to perform actions on resources on your behalf.
Members
ResponsePlanSummary
Description
Details of the response plan that are used when creating an incident.
Members
ServiceQuotaExceededException
Description
Request would cause a service quota to be exceeded.
Members
SsmAutomation
Description
Details about the Systems Manager automation document that will be used as a runbook during an incident.
Members
- documentName
-
- Required: Yes
- Type: string
The automation document's name.
- documentVersion
-
- Type: string
The automation document's version to use when running.
- dynamicParameters
-
- Type: Associative array of custom strings keys (DynamicSsmParametersKeyString) to DynamicSsmParameterValue structures
The key-value pair to resolve dynamic parameter values when processing a Systems Manager Automation runbook.
- parameters
-
- Type: Associative array of custom strings keys (SsmParametersKeyString) to stringss
The key-value pair parameters to use when running the automation document.
- roleArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the role that the automation document will assume when running commands.
- targetAccount
-
- Type: string
The account that the automation document will be run in. This can be in either the management account or an application account.
ThrottlingException
Description
The request was denied due to request throttling.
Members
TimelineEvent
Description
A significant event that happened during the incident.
Members
- eventData
-
- Required: Yes
- Type: string
A short description of the event.
- eventId
-
- Required: Yes
- Type: string
The ID of the timeline event.
- eventReferences
-
- Type: Array of EventReference structures
A list of references in a
TimelineEvent
. - eventTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time that the event occurred.
- eventType
-
- Required: Yes
- Type: string
The type of event that occurred. Currently Incident Manager supports only the
Custom Event
type. - eventUpdatedTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time that the timeline event was last updated.
- incidentRecordArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the incident that the event occurred during.
TriggerDetails
Description
Details about what caused the incident to be created in Incident Manager.
Members
- rawData
-
- Type: string
Raw data passed from either Amazon EventBridge, Amazon CloudWatch, or Incident Manager when an incident is created.
- source
-
- Required: Yes
- Type: string
Identifies the service that sourced the event. All events sourced from within Amazon Web Services 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. - timestamp
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time that the incident was detected.
- triggerArn
-
- Type: string
The Amazon Resource Name (ARN) of the source that detected the incident.
UpdateReplicationSetAction
Description
Details used when updating the replication set.
Members
- addRegionAction
-
- Type: AddRegionAction structure
Details about the Amazon Web Services Region that you're adding to the replication set.
- deleteRegionAction
-
- Type: DeleteRegionAction structure
Details about the Amazon Web Services Region that you're deleting to the replication set.