@aws-sdk/client-ssm-incidents 3.201.0 → 3.202.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/CHANGELOG.md +11 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +1 -0
- package/dist-types/SSMIncidents.d.ts +2 -2
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +28 -20
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.202.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.201.0...v3.202.0) (2022-11-02)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-ssm-incidents:** Adds support for tagging replication-set on creation. ([dc1464e](https://github.com/aws/aws-sdk-js-v3/commit/dc1464ec38e529322ce907a9b212cc71531f91fb))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.201.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.200.0...v3.201.0) (2022-11-01)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -17,6 +17,7 @@ const serializeAws_restJson1CreateReplicationSetCommand = async (input, context)
|
|
|
17
17
|
body = JSON.stringify({
|
|
18
18
|
clientToken: input.clientToken ?? (0, uuid_1.v4)(),
|
|
19
19
|
...(input.regions != null && { regions: serializeAws_restJson1RegionMapInput(input.regions, context) }),
|
|
20
|
+
...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
|
|
20
21
|
});
|
|
21
22
|
return new protocol_http_1.HttpRequest({
|
|
22
23
|
protocol,
|
|
@@ -13,6 +13,7 @@ export const serializeAws_restJson1CreateReplicationSetCommand = async (input, c
|
|
|
13
13
|
body = JSON.stringify({
|
|
14
14
|
clientToken: input.clientToken ?? generateIdempotencyToken(),
|
|
15
15
|
...(input.regions != null && { regions: serializeAws_restJson1RegionMapInput(input.regions, context) }),
|
|
16
|
+
...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
|
|
16
17
|
});
|
|
17
18
|
return new __HttpRequest({
|
|
18
19
|
protocol,
|
|
@@ -167,8 +167,8 @@ export declare class SSMIncidents extends SSMIncidentsClient {
|
|
|
167
167
|
/**
|
|
168
168
|
* <p>Adds a resource policy to the specified response plan. The resource policy is used to
|
|
169
169
|
* share the response plan using Resource Access Manager (RAM). For more
|
|
170
|
-
* information about cross-account sharing, see <a href="https://docs.aws.amazon.com/incident-manager/latest/userguide/
|
|
171
|
-
*
|
|
170
|
+
* information about cross-account sharing, see <a href="https://docs.aws.amazon.com/incident-manager/latest/userguide/incident-manager-cross-account-cross-region.html">Cross-Region and cross-account incident
|
|
171
|
+
* management</a>.</p>
|
|
172
172
|
*/
|
|
173
173
|
putResourcePolicy(args: PutResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutResourcePolicyCommandOutput>;
|
|
174
174
|
putResourcePolicy(args: PutResourcePolicyCommandInput, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
|
|
@@ -10,8 +10,8 @@ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyOutput,
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Adds a resource policy to the specified response plan. The resource policy is used to
|
|
12
12
|
* share the response plan using Resource Access Manager (RAM). For more
|
|
13
|
-
* information about cross-account sharing, see <a href="https://docs.aws.amazon.com/incident-manager/latest/userguide/
|
|
14
|
-
*
|
|
13
|
+
* information about cross-account sharing, see <a href="https://docs.aws.amazon.com/incident-manager/latest/userguide/incident-manager-cross-account-cross-region.html">Cross-Region and cross-account incident
|
|
14
|
+
* management</a>.</p>
|
|
15
15
|
* @example
|
|
16
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
17
17
|
* ```javascript
|
|
@@ -306,10 +306,14 @@ export interface CreateReplicationSetInput {
|
|
|
306
306
|
*/
|
|
307
307
|
regions: Record<string, RegionMapInputValue> | undefined;
|
|
308
308
|
/**
|
|
309
|
-
* <p>A token
|
|
309
|
+
* <p>A token that ensures that the operation is called only once with the specified
|
|
310
310
|
* details.</p>
|
|
311
311
|
*/
|
|
312
312
|
clientToken?: string;
|
|
313
|
+
/**
|
|
314
|
+
* <p>A list of tags to add to the replication set.</p>
|
|
315
|
+
*/
|
|
316
|
+
tags?: Record<string, string>;
|
|
313
317
|
}
|
|
314
318
|
export interface CreateReplicationSetOutput {
|
|
315
319
|
/**
|
|
@@ -441,7 +445,9 @@ export interface IncidentTemplate {
|
|
|
441
445
|
*/
|
|
442
446
|
notificationTargets?: NotificationTargetItem[];
|
|
443
447
|
/**
|
|
444
|
-
* <p>Tags to
|
|
448
|
+
* <p>Tags to assign to the template. When the <code>StartIncident</code> API action is
|
|
449
|
+
* called, Incident Manager assigns the tags specified in the template to the
|
|
450
|
+
* incident.</p>
|
|
445
451
|
*/
|
|
446
452
|
incidentTags?: Record<string, string>;
|
|
447
453
|
}
|
|
@@ -469,8 +475,8 @@ export interface CreateResponsePlanInput {
|
|
|
469
475
|
*/
|
|
470
476
|
chatChannel?: ChatChannel;
|
|
471
477
|
/**
|
|
472
|
-
* <p>The contacts and escalation plans that the response
|
|
473
|
-
* incident.</p>
|
|
478
|
+
* <p>The Amazon Resource Name (ARN) for the contacts and escalation plans that the response
|
|
479
|
+
* plan engages during an incident.</p>
|
|
474
480
|
*/
|
|
475
481
|
engagements?: string[];
|
|
476
482
|
/**
|
|
@@ -862,11 +868,12 @@ export interface GetReplicationSetOutput {
|
|
|
862
868
|
}
|
|
863
869
|
export interface GetResourcePoliciesInput {
|
|
864
870
|
/**
|
|
865
|
-
* <p>The Amazon Resource Name (ARN) of the response plan with the attached resource policy.
|
|
871
|
+
* <p>The Amazon Resource Name (ARN) of the response plan with the attached resource policy.
|
|
872
|
+
* </p>
|
|
866
873
|
*/
|
|
867
874
|
resourceArn: string | undefined;
|
|
868
875
|
/**
|
|
869
|
-
* <p>The maximum number of resource policies to display
|
|
876
|
+
* <p>The maximum number of resource policies to display for each page of results.</p>
|
|
870
877
|
*/
|
|
871
878
|
maxResults?: number;
|
|
872
879
|
/**
|
|
@@ -931,8 +938,8 @@ export interface GetResponsePlanOutput {
|
|
|
931
938
|
*/
|
|
932
939
|
chatChannel?: ChatChannel;
|
|
933
940
|
/**
|
|
934
|
-
* <p>The contacts and escalation plans that the response
|
|
935
|
-
* incident.</p>
|
|
941
|
+
* <p>The Amazon Resource Name (ARN) for the contacts and escalation plans that the response
|
|
942
|
+
* plan engages during an incident.</p>
|
|
936
943
|
*/
|
|
937
944
|
engagements?: string[];
|
|
938
945
|
/**
|
|
@@ -1337,7 +1344,7 @@ export interface ListTimelineEventsOutput {
|
|
|
1337
1344
|
}
|
|
1338
1345
|
export interface PutResourcePolicyInput {
|
|
1339
1346
|
/**
|
|
1340
|
-
* <p>The Amazon Resource Name (ARN) of the response plan
|
|
1347
|
+
* <p>The Amazon Resource Name (ARN) of the response plan to add the resource policy
|
|
1341
1348
|
* to.</p>
|
|
1342
1349
|
*/
|
|
1343
1350
|
resourceArn: string | undefined;
|
|
@@ -1482,7 +1489,7 @@ export interface TagResourceRequest {
|
|
|
1482
1489
|
*/
|
|
1483
1490
|
resourceArn: string | undefined;
|
|
1484
1491
|
/**
|
|
1485
|
-
* <p>A list of tags
|
|
1492
|
+
* <p>A list of tags to add to the response plan.</p>
|
|
1486
1493
|
*/
|
|
1487
1494
|
tags: Record<string, string> | undefined;
|
|
1488
1495
|
}
|
|
@@ -1494,7 +1501,7 @@ export interface UntagResourceRequest {
|
|
|
1494
1501
|
*/
|
|
1495
1502
|
resourceArn: string | undefined;
|
|
1496
1503
|
/**
|
|
1497
|
-
* <p>The name of the tag
|
|
1504
|
+
* <p>The name of the tag to remove from the response plan.</p>
|
|
1498
1505
|
*/
|
|
1499
1506
|
tagKeys: string[] | undefined;
|
|
1500
1507
|
}
|
|
@@ -1502,15 +1509,15 @@ export interface UntagResourceResponse {
|
|
|
1502
1509
|
}
|
|
1503
1510
|
export interface UpdateDeletionProtectionInput {
|
|
1504
1511
|
/**
|
|
1505
|
-
* <p>The Amazon Resource Name (ARN) of the replication set
|
|
1512
|
+
* <p>The Amazon Resource Name (ARN) of the replication set to update.</p>
|
|
1506
1513
|
*/
|
|
1507
1514
|
arn: string | undefined;
|
|
1508
1515
|
/**
|
|
1509
|
-
* <p>
|
|
1516
|
+
* <p>Specifies if deletion protection is turned on or off in your account. </p>
|
|
1510
1517
|
*/
|
|
1511
1518
|
deletionProtected: boolean | undefined;
|
|
1512
1519
|
/**
|
|
1513
|
-
* <p>A token
|
|
1520
|
+
* <p>A token that ensures that the operation is called only once with the specified
|
|
1514
1521
|
* details.</p>
|
|
1515
1522
|
*/
|
|
1516
1523
|
clientToken?: string;
|
|
@@ -1652,7 +1659,7 @@ export interface UpdateReplicationSetInput {
|
|
|
1652
1659
|
*/
|
|
1653
1660
|
actions: UpdateReplicationSetAction[] | undefined;
|
|
1654
1661
|
/**
|
|
1655
|
-
* <p>A token
|
|
1662
|
+
* <p>A token that ensures that the operation is called only once with the specified
|
|
1656
1663
|
* details.</p>
|
|
1657
1664
|
*/
|
|
1658
1665
|
clientToken?: string;
|
|
@@ -1730,8 +1737,8 @@ export interface UpdateResponsePlanInput {
|
|
|
1730
1737
|
*/
|
|
1731
1738
|
chatChannel?: ChatChannel;
|
|
1732
1739
|
/**
|
|
1733
|
-
* <p>The contacts and escalation plans that
|
|
1734
|
-
* incident.</p>
|
|
1740
|
+
* <p>The Amazon Resource Name (ARN) for the contacts and escalation plans that the response
|
|
1741
|
+
* plan engages during an incident.</p>
|
|
1735
1742
|
*/
|
|
1736
1743
|
engagements?: string[];
|
|
1737
1744
|
/**
|
|
@@ -1739,9 +1746,10 @@ export interface UpdateResponsePlanInput {
|
|
|
1739
1746
|
*/
|
|
1740
1747
|
actions?: Action[];
|
|
1741
1748
|
/**
|
|
1742
|
-
* <p>Tags to
|
|
1743
|
-
*
|
|
1744
|
-
*
|
|
1749
|
+
* <p>Tags to assign to the template. When the <code>StartIncident</code> API action is
|
|
1750
|
+
* called, Incident Manager assigns the tags specified in the template to the
|
|
1751
|
+
* incident. To call this action, you must also have permission to call the
|
|
1752
|
+
* <code>TagResource</code> API action for the incident record resource.</p>
|
|
1745
1753
|
*/
|
|
1746
1754
|
incidentTemplateTags?: Record<string, string>;
|
|
1747
1755
|
}
|
|
@@ -193,6 +193,7 @@ export interface RegionMapInputValue {
|
|
|
193
193
|
export interface CreateReplicationSetInput {
|
|
194
194
|
regions: Record<string, RegionMapInputValue> | undefined;
|
|
195
195
|
clientToken?: string;
|
|
196
|
+
tags?: Record<string, string>;
|
|
196
197
|
}
|
|
197
198
|
export interface CreateReplicationSetOutput {
|
|
198
199
|
arn: string | undefined;
|
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.202.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",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.202.0",
|
|
23
23
|
"@aws-sdk/config-resolver": "3.201.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.202.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.201.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.201.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.201.0",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.201.0",
|
|
48
48
|
"@aws-sdk/util-defaults-mode-browser": "3.201.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-node": "3.201.0",
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.202.0",
|
|
51
51
|
"@aws-sdk/util-user-agent-browser": "3.201.0",
|
|
52
52
|
"@aws-sdk/util-user-agent-node": "3.201.0",
|
|
53
53
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|