Skip to content

Commit 94fe54f

Browse files
author
awstools
committed
feat(client-ssm-incidents): Increased maximum length of "TriggerDetails.rawData" to 10K characters and "IncidentSummary" to 8K characters.
1 parent bfff52b commit 94fe54f

16 files changed

+5533
-6086
lines changed

clients/client-ssm-incidents/src/SSMIncidents.ts

Lines changed: 20 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ export class SSMIncidents extends SSMIncidentsClient {
159159
/**
160160
* @public
161161
* <p>A replication set replicates and encrypts your data to the provided Regions with the
162-
* provided KMS key. </p>
162+
* provided KMS key. </p>
163163
*/
164164
public createReplicationSet(
165165
args: CreateReplicationSetCommandInput,
@@ -192,9 +192,9 @@ export class SSMIncidents extends SSMIncidentsClient {
192192

193193
/**
194194
* @public
195-
* <p>Creates a response plan that automates the initial response to incidents. A response
196-
* plan engages contacts, starts chat channel collaboration, and initiates runbooks at the
197-
* beginning of an incident.</p>
195+
* <p>Creates a response plan that automates the initial response to incidents. A response plan
196+
* engages contacts, starts chat channel collaboration, and initiates runbooks at the beginning
197+
* of an incident.</p>
198198
*/
199199
public createResponsePlan(
200200
args: CreateResponsePlanCommandInput,
@@ -228,9 +228,9 @@ export class SSMIncidents extends SSMIncidentsClient {
228228
/**
229229
* @public
230230
* <p>Creates a custom timeline event on the incident details page of an incident record.
231-
* Timeline events are automatically created by Incident Manager, marking key moment during an
232-
* incident. You can create custom timeline events to mark important events that are
233-
* automatically detected by Incident Manager.</p>
231+
* Incident Manager automatically creates timeline events that mark key moments during an incident.
232+
* You can create custom timeline events to mark important events that Incident Manager can detect
233+
* automatically.</p>
234234
*/
235235
public createTimelineEvent(
236236
args: CreateTimelineEventCommandInput,
@@ -297,7 +297,7 @@ export class SSMIncidents extends SSMIncidentsClient {
297297
/**
298298
* @public
299299
* <p>Deletes all Regions in your replication set. Deleting the replication set deletes all
300-
* Incident Manager data.</p>
300+
* Incident Manager data.</p>
301301
*/
302302
public deleteReplicationSet(
303303
args: DeleteReplicationSetCommandInput,
@@ -331,7 +331,7 @@ export class SSMIncidents extends SSMIncidentsClient {
331331
/**
332332
* @public
333333
* <p>Deletes the resource policy that Resource Access Manager uses to share your Incident Manager
334-
* resource.</p>
334+
* resource.</p>
335335
*/
336336
public deleteResourcePolicy(
337337
args: DeleteResourcePolicyCommandInput,
@@ -364,8 +364,8 @@ export class SSMIncidents extends SSMIncidentsClient {
364364

365365
/**
366366
* @public
367-
* <p>Deletes the specified response plan. Deleting a response plan stops all linked CloudWatch alarms and EventBridge events from creating an incident with this
368-
* response plan.</p>
367+
* <p>Deletes the specified response plan. Deleting a response plan stops all linked CloudWatch alarms and EventBridge events from creating an incident with this response
368+
* plan.</p>
369369
*/
370370
public deleteResponsePlan(
371371
args: DeleteResponsePlanCommandInput,
@@ -597,7 +597,7 @@ export class SSMIncidents extends SSMIncidentsClient {
597597
/**
598598
* @public
599599
* <p>Lists all incident records in your account. Use this command to retrieve the Amazon
600-
* Resource Name (ARN) of the incident record you want to update. </p>
600+
* Resource Name (ARN) of the incident record you want to update. </p>
601601
*/
602602
public listIncidentRecords(
603603
args: ListIncidentRecordsCommandInput,
@@ -796,9 +796,8 @@ export class SSMIncidents extends SSMIncidentsClient {
796796
/**
797797
* @public
798798
* <p>Adds a resource policy to the specified response plan. The resource policy is used to
799-
* share the response plan using Resource Access Manager (RAM). For more
800-
* 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
801-
* management</a>.</p>
799+
* share the response plan using Resource Access Manager (RAM). For more
800+
* 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 management</a>.</p>
802801
*/
803802
public putResourcePolicy(
804803
args: PutResourcePolicyCommandInput,
@@ -832,7 +831,7 @@ export class SSMIncidents extends SSMIncidentsClient {
832831
/**
833832
* @public
834833
* <p>Used to start an incident from CloudWatch alarms, EventBridge events, or
835-
* manually. </p>
834+
* manually. </p>
836835
*/
837836
public startIncident(
838837
args: StartIncidentCommandInput,
@@ -926,7 +925,7 @@ export class SSMIncidents extends SSMIncidentsClient {
926925
/**
927926
* @public
928927
* <p>Update deletion protection to either allow or deny deletion of the final Region in a
929-
* replication set.</p>
928+
* replication set.</p>
930929
*/
931930
public updateDeletionProtection(
932931
args: UpdateDeletionProtectionCommandInput,
@@ -959,9 +958,9 @@ export class SSMIncidents extends SSMIncidentsClient {
959958

960959
/**
961960
* @public
962-
* <p>Update the details of an incident record. You can use this operation to update an
963-
* incident record from the defined chat channel. For more information about using actions
964-
* in chat channels, see <a href="https://docs.aws.amazon.com/incident-manager/latest/userguide/chat.html#chat-interact">Interacting through chat</a>.</p>
961+
* <p>Update the details of an incident record. You can use this operation to update an incident
962+
* record from the defined chat channel. For more information about using actions in chat
963+
* channels, see <a href="https://docs.aws.amazon.com/incident-manager/latest/userguide/chat.html#chat-interact">Interacting through chat</a>.</p>
965964
*/
966965
public updateIncidentRecord(
967966
args: UpdateIncidentRecordCommandInput,
@@ -1093,8 +1092,7 @@ export class SSMIncidents extends SSMIncidentsClient {
10931092

10941093
/**
10951094
* @public
1096-
* <p>Updates a timeline event. You can update events of type <code>Custom
1097-
* Event</code>.</p>
1095+
* <p>Updates a timeline event. You can update events of type <code>Custom Event</code>.</p>
10981096
*/
10991097
public updateTimelineEvent(
11001098
args: UpdateTimelineEventCommandInput,

clients/client-ssm-incidents/src/commands/CreateReplicationSetCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface CreateReplicationSetCommandOutput extends CreateReplicationSetO
3636
/**
3737
* @public
3838
* <p>A replication set replicates and encrypts your data to the provided Regions with the
39-
* provided KMS key. </p>
39+
* provided KMS key. </p>
4040
* @example
4141
* Use a bare-bones client and the command you need to make an API call.
4242
* ```javascript

clients/client-ssm-incidents/src/commands/CreateResponsePlanCommand.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ export interface CreateResponsePlanCommandOutput extends CreateResponsePlanOutpu
3535

3636
/**
3737
* @public
38-
* <p>Creates a response plan that automates the initial response to incidents. A response
39-
* plan engages contacts, starts chat channel collaboration, and initiates runbooks at the
40-
* beginning of an incident.</p>
38+
* <p>Creates a response plan that automates the initial response to incidents. A response plan
39+
* engages contacts, starts chat channel collaboration, and initiates runbooks at the beginning
40+
* of an incident.</p>
4141
* @example
4242
* Use a bare-bones client and the command you need to make an API call.
4343
* ```javascript

clients/client-ssm-incidents/src/commands/CreateTimelineEventCommand.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ export interface CreateTimelineEventCommandOutput extends CreateTimelineEventOut
3636
/**
3737
* @public
3838
* <p>Creates a custom timeline event on the incident details page of an incident record.
39-
* Timeline events are automatically created by Incident Manager, marking key moment during an
40-
* incident. You can create custom timeline events to mark important events that are
41-
* automatically detected by Incident Manager.</p>
39+
* Incident Manager automatically creates timeline events that mark key moments during an incident.
40+
* You can create custom timeline events to mark important events that Incident Manager can detect
41+
* automatically.</p>
4242
* @example
4343
* Use a bare-bones client and the command you need to make an API call.
4444
* ```javascript

clients/client-ssm-incidents/src/commands/DeleteReplicationSetCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface DeleteReplicationSetCommandOutput extends DeleteReplicationSetO
3636
/**
3737
* @public
3838
* <p>Deletes all Regions in your replication set. Deleting the replication set deletes all
39-
* Incident Manager data.</p>
39+
* Incident Manager data.</p>
4040
* @example
4141
* Use a bare-bones client and the command you need to make an API call.
4242
* ```javascript

clients/client-ssm-incidents/src/commands/DeleteResourcePolicyCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface DeleteResourcePolicyCommandOutput extends DeleteResourcePolicyO
3636
/**
3737
* @public
3838
* <p>Deletes the resource policy that Resource Access Manager uses to share your Incident Manager
39-
* resource.</p>
39+
* resource.</p>
4040
* @example
4141
* Use a bare-bones client and the command you need to make an API call.
4242
* ```javascript

clients/client-ssm-incidents/src/commands/DeleteResponsePlanCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ export interface DeleteResponsePlanCommandOutput extends DeleteResponsePlanOutpu
3535

3636
/**
3737
* @public
38-
* <p>Deletes the specified response plan. Deleting a response plan stops all linked CloudWatch alarms and EventBridge events from creating an incident with this
39-
* response plan.</p>
38+
* <p>Deletes the specified response plan. Deleting a response plan stops all linked CloudWatch alarms and EventBridge events from creating an incident with this response
39+
* plan.</p>
4040
* @example
4141
* Use a bare-bones client and the command you need to make an API call.
4242
* ```javascript

clients/client-ssm-incidents/src/commands/ListIncidentRecordsCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface ListIncidentRecordsCommandOutput extends ListIncidentRecordsOut
3636
/**
3737
* @public
3838
* <p>Lists all incident records in your account. Use this command to retrieve the Amazon
39-
* Resource Name (ARN) of the incident record you want to update. </p>
39+
* Resource Name (ARN) of the incident record you want to update. </p>
4040
* @example
4141
* Use a bare-bones client and the command you need to make an API call.
4242
* ```javascript

clients/client-ssm-incidents/src/commands/PutResourcePolicyCommand.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,8 @@ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyOutput,
3636
/**
3737
* @public
3838
* <p>Adds a resource policy to the specified response plan. The resource policy is used to
39-
* share the response plan using Resource Access Manager (RAM). For more
40-
* 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
41-
* management</a>.</p>
39+
* share the response plan using Resource Access Manager (RAM). For more
40+
* 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 management</a>.</p>
4241
* @example
4342
* Use a bare-bones client and the command you need to make an API call.
4443
* ```javascript

clients/client-ssm-incidents/src/commands/StartIncidentCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface StartIncidentCommandOutput extends StartIncidentOutput, __Metad
3636
/**
3737
* @public
3838
* <p>Used to start an incident from CloudWatch alarms, EventBridge events, or
39-
* manually. </p>
39+
* manually. </p>
4040
* @example
4141
* Use a bare-bones client and the command you need to make an API call.
4242
* ```javascript

clients/client-ssm-incidents/src/commands/UpdateDeletionProtectionCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface UpdateDeletionProtectionCommandOutput extends UpdateDeletionPro
3636
/**
3737
* @public
3838
* <p>Update deletion protection to either allow or deny deletion of the final Region in a
39-
* replication set.</p>
39+
* replication set.</p>
4040
* @example
4141
* Use a bare-bones client and the command you need to make an API call.
4242
* ```javascript

clients/client-ssm-incidents/src/commands/UpdateIncidentRecordCommand.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ export interface UpdateIncidentRecordCommandOutput extends UpdateIncidentRecordO
3535

3636
/**
3737
* @public
38-
* <p>Update the details of an incident record. You can use this operation to update an
39-
* incident record from the defined chat channel. For more information about using actions
40-
* in chat channels, see <a href="https://docs.aws.amazon.com/incident-manager/latest/userguide/chat.html#chat-interact">Interacting through chat</a>.</p>
38+
* <p>Update the details of an incident record. You can use this operation to update an incident
39+
* record from the defined chat channel. For more information about using actions in chat
40+
* channels, see <a href="https://docs.aws.amazon.com/incident-manager/latest/userguide/chat.html#chat-interact">Interacting through chat</a>.</p>
4141
* @example
4242
* Use a bare-bones client and the command you need to make an API call.
4343
* ```javascript

clients/client-ssm-incidents/src/commands/UpdateTimelineEventCommand.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ export interface UpdateTimelineEventCommandOutput extends UpdateTimelineEventOut
3535

3636
/**
3737
* @public
38-
* <p>Updates a timeline event. You can update events of type <code>Custom
39-
* Event</code>.</p>
38+
* <p>Updates a timeline event. You can update events of type <code>Custom Event</code>.</p>
4039
* @example
4140
* Use a bare-bones client and the command you need to make an API call.
4241
* ```javascript

clients/client-ssm-incidents/src/endpoint/ruleset.ts

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,25 @@ import { RuleSetObject } from "@aws-sdk/util-endpoints";
66
or see "smithy.rules#endpointRuleSet"
77
in codegen/sdk-codegen/aws-models/ssm-incidents.json */
88

9-
const p="required",
10-
q="fn",
11-
r="argv",
12-
s="ref";
13-
const a="PartitionResult",
9+
const q="required",
10+
r="fn",
11+
s="argv",
12+
t="ref";
13+
const a="isSet",
1414
b="tree",
1515
c="error",
1616
d="endpoint",
17-
e={[p]:false,"type":"String"},
18-
f={[p]:true,"default":false,"type":"Boolean"},
19-
g={[s]:"Endpoint"},
20-
h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]},
21-
i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]},
22-
j={},
23-
k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]},
24-
l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]},
25-
m=[g],
26-
n=[h],
27-
o=[i];
28-
const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://ssm-incidents-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://ssm-incidents-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://ssm-incidents.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://ssm-incidents.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]};
17+
e="PartitionResult",
18+
f={[q]:false,"type":"String"},
19+
g={[q]:true,"default":false,"type":"Boolean"},
20+
h={[t]:"Endpoint"},
21+
i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]},
22+
j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]},
23+
k={},
24+
l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]},
25+
m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]},
26+
n=[i],
27+
o=[j],
28+
p=[{[t]:"Region"}];
29+
const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://ssm-incidents-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://ssm-incidents-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://ssm-incidents.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://ssm-incidents.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]};
2930
export const ruleSet: RuleSetObject = _data;

0 commit comments

Comments
 (0)