@aws-sdk/client-ssm-incidents 3.300.0 → 3.301.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-types/SSMIncidents.d.ts +20 -22
- package/dist-types/commands/CreateReplicationSetCommand.d.ts +5 -5
- package/dist-types/commands/CreateResponsePlanCommand.d.ts +22 -22
- package/dist-types/commands/CreateTimelineEventCommand.d.ts +6 -6
- package/dist-types/commands/DeleteIncidentRecordCommand.d.ts +1 -1
- package/dist-types/commands/DeleteReplicationSetCommand.d.ts +2 -2
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +2 -2
- package/dist-types/commands/DeleteResponsePlanCommand.d.ts +3 -3
- package/dist-types/commands/DeleteTimelineEventCommand.d.ts +1 -1
- package/dist-types/commands/GetIncidentRecordCommand.d.ts +1 -1
- package/dist-types/commands/GetReplicationSetCommand.d.ts +1 -1
- package/dist-types/commands/GetResourcePoliciesCommand.d.ts +1 -1
- package/dist-types/commands/GetResponsePlanCommand.d.ts +1 -1
- package/dist-types/commands/GetTimelineEventCommand.d.ts +1 -1
- package/dist-types/commands/ListIncidentRecordsCommand.d.ts +8 -8
- package/dist-types/commands/ListRelatedItemsCommand.d.ts +1 -1
- package/dist-types/commands/ListReplicationSetsCommand.d.ts +1 -1
- package/dist-types/commands/ListResponsePlansCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListTimelineEventsCommand.d.ts +7 -7
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +3 -4
- package/dist-types/commands/StartIncidentCommand.d.ts +8 -8
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateDeletionProtectionCommand.d.ts +2 -2
- package/dist-types/commands/UpdateIncidentRecordCommand.d.ts +8 -8
- package/dist-types/commands/UpdateRelatedItemsCommand.d.ts +7 -7
- package/dist-types/commands/UpdateReplicationSetCommand.d.ts +5 -5
- package/dist-types/commands/UpdateResponsePlanCommand.d.ts +18 -18
- package/dist-types/commands/UpdateTimelineEventCommand.d.ts +4 -5
- package/dist-types/models/models_0.d.ts +210 -236
- package/package.json +3 -3
|
@@ -26,9 +26,9 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
26
26
|
* import { SSMIncidentsClient, TagResourceCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
|
|
27
27
|
* // const { SSMIncidentsClient, TagResourceCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
|
|
28
28
|
* const client = new SSMIncidentsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // TagResourceRequest
|
|
30
30
|
* resourceArn: "STRING_VALUE", // required
|
|
31
|
-
* tags: { // required
|
|
31
|
+
* tags: { // TagMap // required
|
|
32
32
|
* "<keys>": "STRING_VALUE",
|
|
33
33
|
* },
|
|
34
34
|
* };
|
|
@@ -26,9 +26,9 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
26
26
|
* import { SSMIncidentsClient, UntagResourceCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
|
|
27
27
|
* // const { SSMIncidentsClient, UntagResourceCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
|
|
28
28
|
* const client = new SSMIncidentsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UntagResourceRequest
|
|
30
30
|
* resourceArn: "STRING_VALUE", // required
|
|
31
|
-
* tagKeys: [ // required
|
|
31
|
+
* tagKeys: [ // TagKeyList // required
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* };
|
|
@@ -20,14 +20,14 @@ export interface UpdateDeletionProtectionCommandOutput extends UpdateDeletionPro
|
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
22
|
* <p>Update deletion protection to either allow or deny deletion of the final Region in a
|
|
23
|
-
*
|
|
23
|
+
* replication set.</p>
|
|
24
24
|
* @example
|
|
25
25
|
* Use a bare-bones client and the command you need to make an API call.
|
|
26
26
|
* ```javascript
|
|
27
27
|
* import { SSMIncidentsClient, UpdateDeletionProtectionCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
|
|
28
28
|
* // const { SSMIncidentsClient, UpdateDeletionProtectionCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
|
|
29
29
|
* const client = new SSMIncidentsClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // UpdateDeletionProtectionInput
|
|
31
31
|
* arn: "STRING_VALUE", // required
|
|
32
32
|
* deletionProtected: true || false, // required
|
|
33
33
|
* clientToken: "STRING_VALUE",
|
|
@@ -19,30 +19,30 @@ export interface UpdateIncidentRecordCommandOutput extends UpdateIncidentRecordO
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>Update the details of an incident record. You can use this operation to update an
|
|
23
|
-
*
|
|
24
|
-
*
|
|
22
|
+
* <p>Update the details of an incident record. You can use this operation to update an incident
|
|
23
|
+
* record from the defined chat channel. For more information about using actions in chat
|
|
24
|
+
* channels, see <a href="https://docs.aws.amazon.com/incident-manager/latest/userguide/chat.html#chat-interact">Interacting through chat</a>.</p>
|
|
25
25
|
* @example
|
|
26
26
|
* Use a bare-bones client and the command you need to make an API call.
|
|
27
27
|
* ```javascript
|
|
28
28
|
* import { SSMIncidentsClient, UpdateIncidentRecordCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
|
|
29
29
|
* // const { SSMIncidentsClient, UpdateIncidentRecordCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
|
|
30
30
|
* const client = new SSMIncidentsClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // UpdateIncidentRecordInput
|
|
32
32
|
* clientToken: "STRING_VALUE",
|
|
33
33
|
* arn: "STRING_VALUE", // required
|
|
34
34
|
* title: "STRING_VALUE",
|
|
35
35
|
* summary: "STRING_VALUE",
|
|
36
36
|
* impact: Number("int"),
|
|
37
37
|
* status: "STRING_VALUE",
|
|
38
|
-
* chatChannel: { // Union: only one key present
|
|
38
|
+
* chatChannel: { // ChatChannel Union: only one key present
|
|
39
39
|
* empty: {},
|
|
40
|
-
* chatbotSns: [
|
|
40
|
+
* chatbotSns: [ // ChatbotSnsConfigurationSet
|
|
41
41
|
* "STRING_VALUE",
|
|
42
42
|
* ],
|
|
43
43
|
* },
|
|
44
|
-
* notificationTargets: [
|
|
45
|
-
* { // Union: only one key present
|
|
44
|
+
* notificationTargets: [ // NotificationTargetSet
|
|
45
|
+
* { // NotificationTargetItem Union: only one key present
|
|
46
46
|
* snsTopicArn: "STRING_VALUE",
|
|
47
47
|
* },
|
|
48
48
|
* ],
|
|
@@ -26,17 +26,17 @@ export interface UpdateRelatedItemsCommandOutput extends UpdateRelatedItemsOutpu
|
|
|
26
26
|
* import { SSMIncidentsClient, UpdateRelatedItemsCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
|
|
27
27
|
* // const { SSMIncidentsClient, UpdateRelatedItemsCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
|
|
28
28
|
* const client = new SSMIncidentsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdateRelatedItemsInput
|
|
30
30
|
* clientToken: "STRING_VALUE",
|
|
31
31
|
* incidentRecordArn: "STRING_VALUE", // required
|
|
32
|
-
* relatedItemsUpdate: { // Union: only one key present
|
|
33
|
-
* itemToAdd: {
|
|
34
|
-
* identifier: {
|
|
35
|
-
* value: { // Union: only one key present
|
|
32
|
+
* relatedItemsUpdate: { // RelatedItemsUpdate Union: only one key present
|
|
33
|
+
* itemToAdd: { // RelatedItem
|
|
34
|
+
* identifier: { // ItemIdentifier
|
|
35
|
+
* value: { // ItemValue Union: only one key present
|
|
36
36
|
* arn: "STRING_VALUE",
|
|
37
37
|
* url: "STRING_VALUE",
|
|
38
38
|
* metricDefinition: "STRING_VALUE",
|
|
39
|
-
* pagerDutyIncidentDetail: {
|
|
39
|
+
* pagerDutyIncidentDetail: { // PagerDutyIncidentDetail
|
|
40
40
|
* id: "STRING_VALUE", // required
|
|
41
41
|
* autoResolve: true || false,
|
|
42
42
|
* secretId: "STRING_VALUE",
|
|
@@ -48,7 +48,7 @@ export interface UpdateRelatedItemsCommandOutput extends UpdateRelatedItemsOutpu
|
|
|
48
48
|
* generatedId: "STRING_VALUE",
|
|
49
49
|
* },
|
|
50
50
|
* itemToRemove: {
|
|
51
|
-
* value: {
|
|
51
|
+
* value: {// Union: only one key present
|
|
52
52
|
* arn: "STRING_VALUE",
|
|
53
53
|
* url: "STRING_VALUE",
|
|
54
54
|
* metricDefinition: "STRING_VALUE",
|
|
@@ -26,15 +26,15 @@ export interface UpdateReplicationSetCommandOutput extends UpdateReplicationSetO
|
|
|
26
26
|
* import { SSMIncidentsClient, UpdateReplicationSetCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
|
|
27
27
|
* // const { SSMIncidentsClient, UpdateReplicationSetCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
|
|
28
28
|
* const client = new SSMIncidentsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdateReplicationSetInput
|
|
30
30
|
* arn: "STRING_VALUE", // required
|
|
31
|
-
* actions: [ // required
|
|
32
|
-
* { // Union: only one key present
|
|
33
|
-
* addRegionAction: {
|
|
31
|
+
* actions: [ // UpdateActionList // required
|
|
32
|
+
* { // UpdateReplicationSetAction Union: only one key present
|
|
33
|
+
* addRegionAction: { // AddRegionAction
|
|
34
34
|
* regionName: "STRING_VALUE", // required
|
|
35
35
|
* sseKmsKeyId: "STRING_VALUE",
|
|
36
36
|
* },
|
|
37
|
-
* deleteRegionAction: {
|
|
37
|
+
* deleteRegionAction: { // DeleteRegionAction
|
|
38
38
|
* regionName: "STRING_VALUE", // required
|
|
39
39
|
* },
|
|
40
40
|
* },
|
|
@@ -26,7 +26,7 @@ export interface UpdateResponsePlanCommandOutput extends UpdateResponsePlanOutpu
|
|
|
26
26
|
* import { SSMIncidentsClient, UpdateResponsePlanCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
|
|
27
27
|
* // const { SSMIncidentsClient, UpdateResponsePlanCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
|
|
28
28
|
* const client = new SSMIncidentsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdateResponsePlanInput
|
|
30
30
|
* clientToken: "STRING_VALUE",
|
|
31
31
|
* arn: "STRING_VALUE", // required
|
|
32
32
|
* displayName: "STRING_VALUE",
|
|
@@ -34,49 +34,49 @@ export interface UpdateResponsePlanCommandOutput extends UpdateResponsePlanOutpu
|
|
|
34
34
|
* incidentTemplateImpact: Number("int"),
|
|
35
35
|
* incidentTemplateSummary: "STRING_VALUE",
|
|
36
36
|
* incidentTemplateDedupeString: "STRING_VALUE",
|
|
37
|
-
* incidentTemplateNotificationTargets: [
|
|
38
|
-
* { // Union: only one key present
|
|
37
|
+
* incidentTemplateNotificationTargets: [ // NotificationTargetSet
|
|
38
|
+
* { // NotificationTargetItem Union: only one key present
|
|
39
39
|
* snsTopicArn: "STRING_VALUE",
|
|
40
40
|
* },
|
|
41
41
|
* ],
|
|
42
|
-
* chatChannel: { // Union: only one key present
|
|
42
|
+
* chatChannel: { // ChatChannel Union: only one key present
|
|
43
43
|
* empty: {},
|
|
44
|
-
* chatbotSns: [
|
|
44
|
+
* chatbotSns: [ // ChatbotSnsConfigurationSet
|
|
45
45
|
* "STRING_VALUE",
|
|
46
46
|
* ],
|
|
47
47
|
* },
|
|
48
|
-
* engagements: [
|
|
48
|
+
* engagements: [ // EngagementSet
|
|
49
49
|
* "STRING_VALUE",
|
|
50
50
|
* ],
|
|
51
|
-
* actions: [
|
|
52
|
-
* { // Union: only one key present
|
|
53
|
-
* ssmAutomation: {
|
|
51
|
+
* actions: [ // ActionsList
|
|
52
|
+
* { // Action Union: only one key present
|
|
53
|
+
* ssmAutomation: { // SsmAutomation
|
|
54
54
|
* roleArn: "STRING_VALUE", // required
|
|
55
55
|
* documentName: "STRING_VALUE", // required
|
|
56
56
|
* documentVersion: "STRING_VALUE",
|
|
57
57
|
* targetAccount: "STRING_VALUE",
|
|
58
|
-
* parameters: {
|
|
59
|
-
* "<keys>": [
|
|
58
|
+
* parameters: { // SsmParameters
|
|
59
|
+
* "<keys>": [ // SsmParameterValues
|
|
60
60
|
* "STRING_VALUE",
|
|
61
61
|
* ],
|
|
62
62
|
* },
|
|
63
|
-
* dynamicParameters: {
|
|
64
|
-
* "<keys>": { // Union: only one key present
|
|
63
|
+
* dynamicParameters: { // DynamicSsmParameters
|
|
64
|
+
* "<keys>": { // DynamicSsmParameterValue Union: only one key present
|
|
65
65
|
* variable: "STRING_VALUE",
|
|
66
66
|
* },
|
|
67
67
|
* },
|
|
68
68
|
* },
|
|
69
69
|
* },
|
|
70
70
|
* ],
|
|
71
|
-
* incidentTemplateTags: {
|
|
71
|
+
* incidentTemplateTags: { // TagMapUpdate
|
|
72
72
|
* "<keys>": "STRING_VALUE",
|
|
73
73
|
* },
|
|
74
|
-
* integrations: [
|
|
75
|
-
* { // Union: only one key present
|
|
76
|
-
* pagerDutyConfiguration: {
|
|
74
|
+
* integrations: [ // Integrations
|
|
75
|
+
* { // Integration Union: only one key present
|
|
76
|
+
* pagerDutyConfiguration: { // PagerDutyConfiguration
|
|
77
77
|
* name: "STRING_VALUE", // required
|
|
78
78
|
* secretId: "STRING_VALUE", // required
|
|
79
|
-
* pagerDutyIncidentConfiguration: {
|
|
79
|
+
* pagerDutyIncidentConfiguration: { // PagerDutyIncidentConfiguration
|
|
80
80
|
* serviceId: "STRING_VALUE", // required
|
|
81
81
|
* },
|
|
82
82
|
* },
|
|
@@ -19,23 +19,22 @@ export interface UpdateTimelineEventCommandOutput extends UpdateTimelineEventOut
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>Updates a timeline event. You can update events of type <code>Custom
|
|
23
|
-
* Event</code>.</p>
|
|
22
|
+
* <p>Updates a timeline event. You can update events of type <code>Custom Event</code>.</p>
|
|
24
23
|
* @example
|
|
25
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
26
25
|
* ```javascript
|
|
27
26
|
* import { SSMIncidentsClient, UpdateTimelineEventCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
|
|
28
27
|
* // const { SSMIncidentsClient, UpdateTimelineEventCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
|
|
29
28
|
* const client = new SSMIncidentsClient(config);
|
|
30
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdateTimelineEventInput
|
|
31
30
|
* clientToken: "STRING_VALUE",
|
|
32
31
|
* incidentRecordArn: "STRING_VALUE", // required
|
|
33
32
|
* eventId: "STRING_VALUE", // required
|
|
34
33
|
* eventTime: new Date("TIMESTAMP"),
|
|
35
34
|
* eventType: "STRING_VALUE",
|
|
36
35
|
* eventData: "STRING_VALUE",
|
|
37
|
-
* eventReferences: [
|
|
38
|
-
* { // Union: only one key present
|
|
36
|
+
* eventReferences: [ // EventReferenceList
|
|
37
|
+
* { // EventReference Union: only one key present
|
|
39
38
|
* resource: "STRING_VALUE",
|
|
40
39
|
* relatedItemId: "STRING_VALUE",
|
|
41
40
|
* },
|