@aws-sdk/client-ssm-incidents 3.299.0 → 3.300.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-types/commands/CreateReplicationSetCommand.d.ts +11 -0
- package/dist-types/commands/CreateResponsePlanCommand.d.ts +62 -0
- package/dist-types/commands/CreateTimelineEventCommand.d.ts +13 -0
- package/dist-types/commands/DeleteIncidentRecordCommand.d.ts +3 -0
- package/dist-types/commands/DeleteReplicationSetCommand.d.ts +3 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteResponsePlanCommand.d.ts +3 -0
- package/dist-types/commands/DeleteTimelineEventCommand.d.ts +4 -0
- package/dist-types/commands/GetIncidentRecordCommand.d.ts +3 -0
- package/dist-types/commands/GetReplicationSetCommand.d.ts +3 -0
- package/dist-types/commands/GetResourcePoliciesCommand.d.ts +5 -0
- package/dist-types/commands/GetResponsePlanCommand.d.ts +3 -0
- package/dist-types/commands/GetTimelineEventCommand.d.ts +4 -0
- package/dist-types/commands/ListIncidentRecordsCommand.d.ts +21 -0
- package/dist-types/commands/ListRelatedItemsCommand.d.ts +5 -0
- package/dist-types/commands/ListReplicationSetsCommand.d.ts +4 -0
- package/dist-types/commands/ListResponsePlansCommand.d.ts +4 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/ListTimelineEventsCommand.d.ts +24 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +4 -0
- package/dist-types/commands/StartIncidentCommand.d.ts +31 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateDeletionProtectionCommand.d.ts +5 -0
- package/dist-types/commands/UpdateIncidentRecordCommand.d.ts +19 -0
- package/dist-types/commands/UpdateRelatedItemsCommand.d.ts +36 -0
- package/dist-types/commands/UpdateReplicationSetCommand.d.ts +15 -0
- package/dist-types/commands/UpdateResponsePlanCommand.d.ts +57 -0
- package/dist-types/commands/UpdateTimelineEventCommand.d.ts +14 -0
- package/package.json +8 -8
|
@@ -27,6 +27,17 @@ export interface CreateReplicationSetCommandOutput extends CreateReplicationSetO
|
|
|
27
27
|
* import { SSMIncidentsClient, CreateReplicationSetCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
|
|
28
28
|
* // const { SSMIncidentsClient, CreateReplicationSetCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
|
|
29
29
|
* const client = new SSMIncidentsClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* regions: { // required
|
|
32
|
+
* "<keys>": {
|
|
33
|
+
* sseKmsKeyId: "STRING_VALUE",
|
|
34
|
+
* },
|
|
35
|
+
* },
|
|
36
|
+
* clientToken: "STRING_VALUE",
|
|
37
|
+
* tags: {
|
|
38
|
+
* "<keys>": "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* };
|
|
30
41
|
* const command = new CreateReplicationSetCommand(input);
|
|
31
42
|
* const response = await client.send(command);
|
|
32
43
|
* ```
|
|
@@ -28,6 +28,68 @@ export interface CreateResponsePlanCommandOutput extends CreateResponsePlanOutpu
|
|
|
28
28
|
* import { SSMIncidentsClient, CreateResponsePlanCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
|
|
29
29
|
* // const { SSMIncidentsClient, CreateResponsePlanCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
|
|
30
30
|
* const client = new SSMIncidentsClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* clientToken: "STRING_VALUE",
|
|
33
|
+
* name: "STRING_VALUE", // required
|
|
34
|
+
* displayName: "STRING_VALUE",
|
|
35
|
+
* incidentTemplate: {
|
|
36
|
+
* title: "STRING_VALUE", // required
|
|
37
|
+
* impact: Number("int"), // required
|
|
38
|
+
* summary: "STRING_VALUE",
|
|
39
|
+
* dedupeString: "STRING_VALUE",
|
|
40
|
+
* notificationTargets: [
|
|
41
|
+
* { // Union: only one key present
|
|
42
|
+
* snsTopicArn: "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* incidentTags: {
|
|
46
|
+
* "<keys>": "STRING_VALUE",
|
|
47
|
+
* },
|
|
48
|
+
* },
|
|
49
|
+
* chatChannel: { // Union: only one key present
|
|
50
|
+
* empty: {},
|
|
51
|
+
* chatbotSns: [
|
|
52
|
+
* "STRING_VALUE",
|
|
53
|
+
* ],
|
|
54
|
+
* },
|
|
55
|
+
* engagements: [
|
|
56
|
+
* "STRING_VALUE",
|
|
57
|
+
* ],
|
|
58
|
+
* actions: [
|
|
59
|
+
* { // Union: only one key present
|
|
60
|
+
* ssmAutomation: {
|
|
61
|
+
* roleArn: "STRING_VALUE", // required
|
|
62
|
+
* documentName: "STRING_VALUE", // required
|
|
63
|
+
* documentVersion: "STRING_VALUE",
|
|
64
|
+
* targetAccount: "STRING_VALUE",
|
|
65
|
+
* parameters: {
|
|
66
|
+
* "<keys>": [
|
|
67
|
+
* "STRING_VALUE",
|
|
68
|
+
* ],
|
|
69
|
+
* },
|
|
70
|
+
* dynamicParameters: {
|
|
71
|
+
* "<keys>": { // Union: only one key present
|
|
72
|
+
* variable: "STRING_VALUE",
|
|
73
|
+
* },
|
|
74
|
+
* },
|
|
75
|
+
* },
|
|
76
|
+
* },
|
|
77
|
+
* ],
|
|
78
|
+
* tags: {
|
|
79
|
+
* "<keys>": "STRING_VALUE",
|
|
80
|
+
* },
|
|
81
|
+
* integrations: [
|
|
82
|
+
* { // Union: only one key present
|
|
83
|
+
* pagerDutyConfiguration: {
|
|
84
|
+
* name: "STRING_VALUE", // required
|
|
85
|
+
* secretId: "STRING_VALUE", // required
|
|
86
|
+
* pagerDutyIncidentConfiguration: {
|
|
87
|
+
* serviceId: "STRING_VALUE", // required
|
|
88
|
+
* },
|
|
89
|
+
* },
|
|
90
|
+
* },
|
|
91
|
+
* ],
|
|
92
|
+
* };
|
|
31
93
|
* const command = new CreateResponsePlanCommand(input);
|
|
32
94
|
* const response = await client.send(command);
|
|
33
95
|
* ```
|
|
@@ -29,6 +29,19 @@ export interface CreateTimelineEventCommandOutput extends CreateTimelineEventOut
|
|
|
29
29
|
* import { SSMIncidentsClient, CreateTimelineEventCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
|
|
30
30
|
* // const { SSMIncidentsClient, CreateTimelineEventCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
|
|
31
31
|
* const client = new SSMIncidentsClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* clientToken: "STRING_VALUE",
|
|
34
|
+
* incidentRecordArn: "STRING_VALUE", // required
|
|
35
|
+
* eventTime: new Date("TIMESTAMP"), // required
|
|
36
|
+
* eventType: "STRING_VALUE", // required
|
|
37
|
+
* eventData: "STRING_VALUE", // required
|
|
38
|
+
* eventReferences: [
|
|
39
|
+
* { // Union: only one key present
|
|
40
|
+
* resource: "STRING_VALUE",
|
|
41
|
+
* relatedItemId: "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* ],
|
|
44
|
+
* };
|
|
32
45
|
* const command = new CreateTimelineEventCommand(input);
|
|
33
46
|
* const response = await client.send(command);
|
|
34
47
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteIncidentRecordCommandOutput extends DeleteIncidentRecordO
|
|
|
26
26
|
* import { SSMIncidentsClient, DeleteIncidentRecordCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
|
|
27
27
|
* // const { SSMIncidentsClient, DeleteIncidentRecordCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
|
|
28
28
|
* const client = new SSMIncidentsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* arn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteIncidentRecordCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DeleteReplicationSetCommandOutput extends DeleteReplicationSetO
|
|
|
27
27
|
* import { SSMIncidentsClient, DeleteReplicationSetCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
|
|
28
28
|
* // const { SSMIncidentsClient, DeleteReplicationSetCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
|
|
29
29
|
* const client = new SSMIncidentsClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* arn: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DeleteReplicationSetCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface DeleteResourcePolicyCommandOutput extends DeleteResourcePolicyO
|
|
|
27
27
|
* import { SSMIncidentsClient, DeleteResourcePolicyCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
|
|
28
28
|
* // const { SSMIncidentsClient, DeleteResourcePolicyCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
|
|
29
29
|
* const client = new SSMIncidentsClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* resourceArn: "STRING_VALUE", // required
|
|
32
|
+
* policyId: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
30
34
|
* const command = new DeleteResourcePolicyCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DeleteResponsePlanCommandOutput extends DeleteResponsePlanOutpu
|
|
|
27
27
|
* import { SSMIncidentsClient, DeleteResponsePlanCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
|
|
28
28
|
* // const { SSMIncidentsClient, DeleteResponsePlanCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
|
|
29
29
|
* const client = new SSMIncidentsClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* arn: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DeleteResponsePlanCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DeleteTimelineEventCommandOutput extends DeleteTimelineEventOut
|
|
|
26
26
|
* import { SSMIncidentsClient, DeleteTimelineEventCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
|
|
27
27
|
* // const { SSMIncidentsClient, DeleteTimelineEventCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
|
|
28
28
|
* const client = new SSMIncidentsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* incidentRecordArn: "STRING_VALUE", // required
|
|
31
|
+
* eventId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DeleteTimelineEventCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetIncidentRecordCommandOutput extends GetIncidentRecordOutput,
|
|
|
26
26
|
* import { SSMIncidentsClient, GetIncidentRecordCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
|
|
27
27
|
* // const { SSMIncidentsClient, GetIncidentRecordCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
|
|
28
28
|
* const client = new SSMIncidentsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* arn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetIncidentRecordCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetReplicationSetCommandOutput extends GetReplicationSetOutput,
|
|
|
26
26
|
* import { SSMIncidentsClient, GetReplicationSetCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
|
|
27
27
|
* // const { SSMIncidentsClient, GetReplicationSetCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
|
|
28
28
|
* const client = new SSMIncidentsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* arn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetReplicationSetCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface GetResourcePoliciesCommandOutput extends GetResourcePoliciesOut
|
|
|
26
26
|
* import { SSMIncidentsClient, GetResourcePoliciesCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
|
|
27
27
|
* // const { SSMIncidentsClient, GetResourcePoliciesCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
|
|
28
28
|
* const client = new SSMIncidentsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* nextToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new GetResourcePoliciesCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetResponsePlanCommandOutput extends GetResponsePlanOutput, __M
|
|
|
26
26
|
* import { SSMIncidentsClient, GetResponsePlanCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
|
|
27
27
|
* // const { SSMIncidentsClient, GetResponsePlanCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
|
|
28
28
|
* const client = new SSMIncidentsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* arn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetResponsePlanCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface GetTimelineEventCommandOutput extends GetTimelineEventOutput, _
|
|
|
26
26
|
* import { SSMIncidentsClient, GetTimelineEventCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
|
|
27
27
|
* // const { SSMIncidentsClient, GetTimelineEventCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
|
|
28
28
|
* const client = new SSMIncidentsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* incidentRecordArn: "STRING_VALUE", // required
|
|
31
|
+
* eventId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new GetTimelineEventCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -27,6 +27,27 @@ export interface ListIncidentRecordsCommandOutput extends ListIncidentRecordsOut
|
|
|
27
27
|
* import { SSMIncidentsClient, ListIncidentRecordsCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
|
|
28
28
|
* // const { SSMIncidentsClient, ListIncidentRecordsCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
|
|
29
29
|
* const client = new SSMIncidentsClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* filters: [
|
|
32
|
+
* {
|
|
33
|
+
* key: "STRING_VALUE", // required
|
|
34
|
+
* condition: { // Union: only one key present
|
|
35
|
+
* before: new Date("TIMESTAMP"),
|
|
36
|
+
* after: new Date("TIMESTAMP"),
|
|
37
|
+
* equals: { // Union: only one key present
|
|
38
|
+
* stringValues: [
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* integerValues: [
|
|
42
|
+
* Number("int"),
|
|
43
|
+
* ],
|
|
44
|
+
* },
|
|
45
|
+
* },
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* maxResults: Number("int"),
|
|
49
|
+
* nextToken: "STRING_VALUE",
|
|
50
|
+
* };
|
|
30
51
|
* const command = new ListIncidentRecordsCommand(input);
|
|
31
52
|
* const response = await client.send(command);
|
|
32
53
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListRelatedItemsCommandOutput extends ListRelatedItemsOutput, _
|
|
|
26
26
|
* import { SSMIncidentsClient, ListRelatedItemsCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
|
|
27
27
|
* // const { SSMIncidentsClient, ListRelatedItemsCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
|
|
28
28
|
* const client = new SSMIncidentsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* incidentRecordArn: "STRING_VALUE", // required
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* nextToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListRelatedItemsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListReplicationSetsCommandOutput extends ListReplicationSetsOut
|
|
|
26
26
|
* import { SSMIncidentsClient, ListReplicationSetsCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
|
|
27
27
|
* // const { SSMIncidentsClient, ListReplicationSetsCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
|
|
28
28
|
* const client = new SSMIncidentsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* maxResults: Number("int"),
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListReplicationSetsCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListResponsePlansCommandOutput extends ListResponsePlansOutput,
|
|
|
26
26
|
* import { SSMIncidentsClient, ListResponsePlansCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
|
|
27
27
|
* // const { SSMIncidentsClient, ListResponsePlansCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
|
|
28
28
|
* const client = new SSMIncidentsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* maxResults: Number("int"),
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListResponsePlansCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
26
26
|
* import { SSMIncidentsClient, ListTagsForResourceCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
|
|
27
27
|
* // const { SSMIncidentsClient, ListTagsForResourceCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
|
|
28
28
|
* const client = new SSMIncidentsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,30 @@ export interface ListTimelineEventsCommandOutput extends ListTimelineEventsOutpu
|
|
|
26
26
|
* import { SSMIncidentsClient, ListTimelineEventsCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
|
|
27
27
|
* // const { SSMIncidentsClient, ListTimelineEventsCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
|
|
28
28
|
* const client = new SSMIncidentsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* incidentRecordArn: "STRING_VALUE", // required
|
|
31
|
+
* filters: [
|
|
32
|
+
* {
|
|
33
|
+
* key: "STRING_VALUE", // required
|
|
34
|
+
* condition: { // Union: only one key present
|
|
35
|
+
* before: new Date("TIMESTAMP"),
|
|
36
|
+
* after: new Date("TIMESTAMP"),
|
|
37
|
+
* equals: { // Union: only one key present
|
|
38
|
+
* stringValues: [
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* integerValues: [
|
|
42
|
+
* Number("int"),
|
|
43
|
+
* ],
|
|
44
|
+
* },
|
|
45
|
+
* },
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* sortBy: "STRING_VALUE",
|
|
49
|
+
* sortOrder: "STRING_VALUE",
|
|
50
|
+
* maxResults: Number("int"),
|
|
51
|
+
* nextToken: "STRING_VALUE",
|
|
52
|
+
* };
|
|
29
53
|
* const command = new ListTimelineEventsCommand(input);
|
|
30
54
|
* const response = await client.send(command);
|
|
31
55
|
* ```
|
|
@@ -29,6 +29,10 @@ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyOutput,
|
|
|
29
29
|
* import { SSMIncidentsClient, PutResourcePolicyCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
|
|
30
30
|
* // const { SSMIncidentsClient, PutResourcePolicyCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
|
|
31
31
|
* const client = new SSMIncidentsClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* resourceArn: "STRING_VALUE", // required
|
|
34
|
+
* policy: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
32
36
|
* const command = new PutResourcePolicyCommand(input);
|
|
33
37
|
* const response = await client.send(command);
|
|
34
38
|
* ```
|
|
@@ -27,6 +27,37 @@ export interface StartIncidentCommandOutput extends StartIncidentOutput, __Metad
|
|
|
27
27
|
* import { SSMIncidentsClient, StartIncidentCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
|
|
28
28
|
* // const { SSMIncidentsClient, StartIncidentCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
|
|
29
29
|
* const client = new SSMIncidentsClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* clientToken: "STRING_VALUE",
|
|
32
|
+
* responsePlanArn: "STRING_VALUE", // required
|
|
33
|
+
* title: "STRING_VALUE",
|
|
34
|
+
* impact: Number("int"),
|
|
35
|
+
* triggerDetails: {
|
|
36
|
+
* source: "STRING_VALUE", // required
|
|
37
|
+
* triggerArn: "STRING_VALUE",
|
|
38
|
+
* timestamp: new Date("TIMESTAMP"), // required
|
|
39
|
+
* rawData: "STRING_VALUE",
|
|
40
|
+
* },
|
|
41
|
+
* relatedItems: [
|
|
42
|
+
* {
|
|
43
|
+
* identifier: {
|
|
44
|
+
* value: { // Union: only one key present
|
|
45
|
+
* arn: "STRING_VALUE",
|
|
46
|
+
* url: "STRING_VALUE",
|
|
47
|
+
* metricDefinition: "STRING_VALUE",
|
|
48
|
+
* pagerDutyIncidentDetail: {
|
|
49
|
+
* id: "STRING_VALUE", // required
|
|
50
|
+
* autoResolve: true || false,
|
|
51
|
+
* secretId: "STRING_VALUE",
|
|
52
|
+
* },
|
|
53
|
+
* },
|
|
54
|
+
* type: "STRING_VALUE", // required
|
|
55
|
+
* },
|
|
56
|
+
* title: "STRING_VALUE",
|
|
57
|
+
* generatedId: "STRING_VALUE",
|
|
58
|
+
* },
|
|
59
|
+
* ],
|
|
60
|
+
* };
|
|
30
61
|
* const command = new StartIncidentCommand(input);
|
|
31
62
|
* const response = await client.send(command);
|
|
32
63
|
* ```
|
|
@@ -26,6 +26,12 @@ 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 = {
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* tags: { // required
|
|
32
|
+
* "<keys>": "STRING_VALUE",
|
|
33
|
+
* },
|
|
34
|
+
* };
|
|
29
35
|
* const command = new TagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,12 @@ 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 = {
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* tagKeys: [ // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UntagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface UpdateDeletionProtectionCommandOutput extends UpdateDeletionPro
|
|
|
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 = {
|
|
31
|
+
* arn: "STRING_VALUE", // required
|
|
32
|
+
* deletionProtected: true || false, // required
|
|
33
|
+
* clientToken: "STRING_VALUE",
|
|
34
|
+
* };
|
|
30
35
|
* const command = new UpdateDeletionProtectionCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -28,6 +28,25 @@ export interface UpdateIncidentRecordCommandOutput extends UpdateIncidentRecordO
|
|
|
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 = {
|
|
32
|
+
* clientToken: "STRING_VALUE",
|
|
33
|
+
* arn: "STRING_VALUE", // required
|
|
34
|
+
* title: "STRING_VALUE",
|
|
35
|
+
* summary: "STRING_VALUE",
|
|
36
|
+
* impact: Number("int"),
|
|
37
|
+
* status: "STRING_VALUE",
|
|
38
|
+
* chatChannel: { // Union: only one key present
|
|
39
|
+
* empty: {},
|
|
40
|
+
* chatbotSns: [
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* },
|
|
44
|
+
* notificationTargets: [
|
|
45
|
+
* { // Union: only one key present
|
|
46
|
+
* snsTopicArn: "STRING_VALUE",
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
49
|
+
* };
|
|
31
50
|
* const command = new UpdateIncidentRecordCommand(input);
|
|
32
51
|
* const response = await client.send(command);
|
|
33
52
|
* ```
|
|
@@ -26,6 +26,42 @@ 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 = {
|
|
30
|
+
* clientToken: "STRING_VALUE",
|
|
31
|
+
* incidentRecordArn: "STRING_VALUE", // required
|
|
32
|
+
* relatedItemsUpdate: { // Union: only one key present
|
|
33
|
+
* itemToAdd: {
|
|
34
|
+
* identifier: {
|
|
35
|
+
* value: { // Union: only one key present
|
|
36
|
+
* arn: "STRING_VALUE",
|
|
37
|
+
* url: "STRING_VALUE",
|
|
38
|
+
* metricDefinition: "STRING_VALUE",
|
|
39
|
+
* pagerDutyIncidentDetail: {
|
|
40
|
+
* id: "STRING_VALUE", // required
|
|
41
|
+
* autoResolve: true || false,
|
|
42
|
+
* secretId: "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* },
|
|
45
|
+
* type: "STRING_VALUE", // required
|
|
46
|
+
* },
|
|
47
|
+
* title: "STRING_VALUE",
|
|
48
|
+
* generatedId: "STRING_VALUE",
|
|
49
|
+
* },
|
|
50
|
+
* itemToRemove: {
|
|
51
|
+
* value: { // Union: only one key present
|
|
52
|
+
* arn: "STRING_VALUE",
|
|
53
|
+
* url: "STRING_VALUE",
|
|
54
|
+
* metricDefinition: "STRING_VALUE",
|
|
55
|
+
* pagerDutyIncidentDetail: {
|
|
56
|
+
* id: "STRING_VALUE", // required
|
|
57
|
+
* autoResolve: true || false,
|
|
58
|
+
* secretId: "STRING_VALUE",
|
|
59
|
+
* },
|
|
60
|
+
* },
|
|
61
|
+
* type: "STRING_VALUE", // required
|
|
62
|
+
* },
|
|
63
|
+
* },
|
|
64
|
+
* };
|
|
29
65
|
* const command = new UpdateRelatedItemsCommand(input);
|
|
30
66
|
* const response = await client.send(command);
|
|
31
67
|
* ```
|
|
@@ -26,6 +26,21 @@ 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 = {
|
|
30
|
+
* arn: "STRING_VALUE", // required
|
|
31
|
+
* actions: [ // required
|
|
32
|
+
* { // Union: only one key present
|
|
33
|
+
* addRegionAction: {
|
|
34
|
+
* regionName: "STRING_VALUE", // required
|
|
35
|
+
* sseKmsKeyId: "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* deleteRegionAction: {
|
|
38
|
+
* regionName: "STRING_VALUE", // required
|
|
39
|
+
* },
|
|
40
|
+
* },
|
|
41
|
+
* ],
|
|
42
|
+
* clientToken: "STRING_VALUE",
|
|
43
|
+
* };
|
|
29
44
|
* const command = new UpdateReplicationSetCommand(input);
|
|
30
45
|
* const response = await client.send(command);
|
|
31
46
|
* ```
|
|
@@ -26,6 +26,63 @@ 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 = {
|
|
30
|
+
* clientToken: "STRING_VALUE",
|
|
31
|
+
* arn: "STRING_VALUE", // required
|
|
32
|
+
* displayName: "STRING_VALUE",
|
|
33
|
+
* incidentTemplateTitle: "STRING_VALUE",
|
|
34
|
+
* incidentTemplateImpact: Number("int"),
|
|
35
|
+
* incidentTemplateSummary: "STRING_VALUE",
|
|
36
|
+
* incidentTemplateDedupeString: "STRING_VALUE",
|
|
37
|
+
* incidentTemplateNotificationTargets: [
|
|
38
|
+
* { // Union: only one key present
|
|
39
|
+
* snsTopicArn: "STRING_VALUE",
|
|
40
|
+
* },
|
|
41
|
+
* ],
|
|
42
|
+
* chatChannel: { // Union: only one key present
|
|
43
|
+
* empty: {},
|
|
44
|
+
* chatbotSns: [
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* },
|
|
48
|
+
* engagements: [
|
|
49
|
+
* "STRING_VALUE",
|
|
50
|
+
* ],
|
|
51
|
+
* actions: [
|
|
52
|
+
* { // Union: only one key present
|
|
53
|
+
* ssmAutomation: {
|
|
54
|
+
* roleArn: "STRING_VALUE", // required
|
|
55
|
+
* documentName: "STRING_VALUE", // required
|
|
56
|
+
* documentVersion: "STRING_VALUE",
|
|
57
|
+
* targetAccount: "STRING_VALUE",
|
|
58
|
+
* parameters: {
|
|
59
|
+
* "<keys>": [
|
|
60
|
+
* "STRING_VALUE",
|
|
61
|
+
* ],
|
|
62
|
+
* },
|
|
63
|
+
* dynamicParameters: {
|
|
64
|
+
* "<keys>": { // Union: only one key present
|
|
65
|
+
* variable: "STRING_VALUE",
|
|
66
|
+
* },
|
|
67
|
+
* },
|
|
68
|
+
* },
|
|
69
|
+
* },
|
|
70
|
+
* ],
|
|
71
|
+
* incidentTemplateTags: {
|
|
72
|
+
* "<keys>": "STRING_VALUE",
|
|
73
|
+
* },
|
|
74
|
+
* integrations: [
|
|
75
|
+
* { // Union: only one key present
|
|
76
|
+
* pagerDutyConfiguration: {
|
|
77
|
+
* name: "STRING_VALUE", // required
|
|
78
|
+
* secretId: "STRING_VALUE", // required
|
|
79
|
+
* pagerDutyIncidentConfiguration: {
|
|
80
|
+
* serviceId: "STRING_VALUE", // required
|
|
81
|
+
* },
|
|
82
|
+
* },
|
|
83
|
+
* },
|
|
84
|
+
* ],
|
|
85
|
+
* };
|
|
29
86
|
* const command = new UpdateResponsePlanCommand(input);
|
|
30
87
|
* const response = await client.send(command);
|
|
31
88
|
* ```
|
|
@@ -27,6 +27,20 @@ export interface UpdateTimelineEventCommandOutput extends UpdateTimelineEventOut
|
|
|
27
27
|
* import { SSMIncidentsClient, UpdateTimelineEventCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
|
|
28
28
|
* // const { SSMIncidentsClient, UpdateTimelineEventCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
|
|
29
29
|
* const client = new SSMIncidentsClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* clientToken: "STRING_VALUE",
|
|
32
|
+
* incidentRecordArn: "STRING_VALUE", // required
|
|
33
|
+
* eventId: "STRING_VALUE", // required
|
|
34
|
+
* eventTime: new Date("TIMESTAMP"),
|
|
35
|
+
* eventType: "STRING_VALUE",
|
|
36
|
+
* eventData: "STRING_VALUE",
|
|
37
|
+
* eventReferences: [
|
|
38
|
+
* { // Union: only one key present
|
|
39
|
+
* resource: "STRING_VALUE",
|
|
40
|
+
* relatedItemId: "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* ],
|
|
43
|
+
* };
|
|
30
44
|
* const command = new UpdateTimelineEventCommand(input);
|
|
31
45
|
* const response = await client.send(command);
|
|
32
46
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ssm-incidents",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ssm Incidents Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.300.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"@aws-sdk/util-waiter": "3.296.0",
|
|
57
57
|
"tslib": "^2.5.0",
|