Skip to content

Commit d89bc49

Browse files
author
awstools
committed
feat(client-ssm-incidents): Update RelatedItem enum to support Tasks
1 parent fa7223a commit d89bc49

File tree

2 files changed

+30
-25
lines changed

2 files changed

+30
-25
lines changed

clients/client-ssm-incidents/src/models/models_0.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1307,6 +1307,7 @@ export enum ItemType {
13071307
METRIC = "METRIC",
13081308
OTHER = "OTHER",
13091309
PARENT = "PARENT",
1310+
TASK = "TASK",
13101311
}
13111312

13121313
/**

codegen/sdk-codegen/aws-models/ssm-incidents.json

Lines changed: 29 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"smithy": "1.0",
2+
"smithy": "2.0",
33
"shapes": {
44
"com.amazonaws.ssmincidents#AccessDeniedException": {
55
"type": "structure",
@@ -140,7 +140,7 @@
140140
}
141141
},
142142
"com.amazonaws.ssmincidents#ChatbotSnsConfigurationSet": {
143-
"type": "set",
143+
"type": "list",
144144
"member": {
145145
"target": "com.amazonaws.ssmincidents#SnsArn",
146146
"traits": {
@@ -151,7 +151,8 @@
151151
"smithy.api#length": {
152152
"min": 1,
153153
"max": 5
154-
}
154+
},
155+
"smithy.api#uniqueItems": {}
155156
}
156157
},
157158
"com.amazonaws.ssmincidents#ClientToken": {
@@ -836,7 +837,7 @@
836837
}
837838
},
838839
"com.amazonaws.ssmincidents#EngagementSet": {
839-
"type": "set",
840+
"type": "list",
840841
"member": {
841842
"target": "com.amazonaws.ssmincidents#SsmContactsArn",
842843
"traits": {
@@ -846,7 +847,8 @@
846847
"traits": {
847848
"smithy.api#length": {
848849
"max": 5
849-
}
850+
},
851+
"smithy.api#uniqueItems": {}
850852
}
851853
},
852854
"com.amazonaws.ssmincidents#EventData": {
@@ -1414,7 +1416,6 @@
14141416
"com.amazonaws.ssmincidents#Impact": {
14151417
"type": "integer",
14161418
"traits": {
1417-
"smithy.api#box": {},
14181419
"smithy.api#range": {
14191420
"min": 1,
14201421
"max": 5
@@ -1801,6 +1802,10 @@
18011802
{
18021803
"value": "INVOLVED_RESOURCE",
18031804
"name": "INVOLVED_RESOURCE"
1805+
},
1806+
{
1807+
"value": "TASK",
1808+
"name": "TASK"
18041809
}
18051810
]
18061811
}
@@ -2313,7 +2318,6 @@
23132318
"com.amazonaws.ssmincidents#MaxResults": {
23142319
"type": "integer",
23152320
"traits": {
2316-
"smithy.api#box": {},
23172321
"smithy.api#range": {
23182322
"min": 1,
23192323
"max": 100
@@ -2886,23 +2890,6 @@
28862890
},
28872891
"com.amazonaws.ssmincidents#SSMIncidents": {
28882892
"type": "service",
2889-
"traits": {
2890-
"aws.api#service": {
2891-
"sdkId": "SSM Incidents",
2892-
"arnNamespace": "ssm-incidents",
2893-
"awsProductName": "AWSSystemsManager",
2894-
"cloudFormationName": "SSMIncidents"
2895-
},
2896-
"aws.auth#sigv4": {
2897-
"name": "ssm-incidents"
2898-
},
2899-
"aws.protocols#restJson1": {},
2900-
"smithy.api#cors": {
2901-
"additionalAllowedHeaders": ["content-type", "x-amz-content-sha256", "x-amz-user-agent", "x-amzn-platform-id"]
2902-
},
2903-
"smithy.api#documentation": "<p>Systems Manager Incident Manager is an incident management console designed to help users\n mitigate and recover from incidents affecting their Amazon Web Services-hosted applications. An\n incident is any unplanned interruption or reduction in quality of services. </p>\n <p>Incident Manager increases incident resolution by notifying responders of impact,\n highlighting relevant troubleshooting data, and providing collaboration tools to get services\n back up and running. To achieve the primary goal of reducing the time-to-resolution of\n critical incidents, Incident Manager automates response plans and enables responder\n team escalation. </p>",
2904-
"smithy.api#title": "AWS Systems Manager Incident Manager"
2905-
},
29062893
"version": "2018-05-10",
29072894
"operations": [
29082895
{
@@ -2992,7 +2979,24 @@
29922979
{
29932980
"target": "com.amazonaws.ssmincidents#UpdateTimelineEvent"
29942981
}
2995-
]
2982+
],
2983+
"traits": {
2984+
"aws.api#service": {
2985+
"sdkId": "SSM Incidents",
2986+
"arnNamespace": "ssm-incidents",
2987+
"awsProductName": "AWSSystemsManager",
2988+
"cloudFormationName": "SSMIncidents"
2989+
},
2990+
"aws.auth#sigv4": {
2991+
"name": "ssm-incidents"
2992+
},
2993+
"aws.protocols#restJson1": {},
2994+
"smithy.api#cors": {
2995+
"additionalAllowedHeaders": ["content-type", "x-amz-content-sha256", "x-amz-user-agent", "x-amzn-platform-id"]
2996+
},
2997+
"smithy.api#documentation": "<p>Systems Manager Incident Manager is an incident management console designed to help users\n mitigate and recover from incidents affecting their Amazon Web Services-hosted applications. An\n incident is any unplanned interruption or reduction in quality of services. </p>\n <p>Incident Manager increases incident resolution by notifying responders of impact,\n highlighting relevant troubleshooting data, and providing collaboration tools to get services\n back up and running. To achieve the primary goal of reducing the time-to-resolution of\n critical incidents, Incident Manager automates response plans and enables responder\n team escalation. </p>",
2998+
"smithy.api#title": "AWS Systems Manager Incident Manager"
2999+
}
29963000
},
29973001
"com.amazonaws.ssmincidents#ServiceCode": {
29983002
"type": "string",

0 commit comments

Comments
 (0)