Skip to content

Commit 743835d

Browse files
committed
chore(models): update models as of 11/05/2021
1 parent e45d8ee commit 743835d

18 files changed

+10767
-1201
lines changed

codegen/sdk-codegen/aws-models/application-insights.json

Lines changed: 125 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@
3737
}
3838
},
3939
"traits": {
40+
"aws.protocols#awsQueryError": {
41+
"code": "AccessDeniedException",
42+
"httpResponseCode": 403
43+
},
4044
"smithy.api#documentation": "<p>\n User does not have permissions to perform this action.\n </p>",
4145
"smithy.api#error": "client",
4246
"smithy.api#httpError": 403
@@ -149,6 +153,12 @@
149153
"traits": {
150154
"smithy.api#documentation": "<p>The issues on the user side that block Application Insights from successfully monitoring\n an application. Example remarks include:</p>\n <ul>\n <li>\n <p>“Configuring application, detected 1 Errors, 3 Warnings”</p>\n </li>\n <li>\n <p>“Configuring application, detected 1 Unconfigured Components”</p>\n </li>\n </ul>"
151155
}
156+
},
157+
"AutoConfigEnabled": {
158+
"target": "com.amazonaws.applicationinsights#AutoConfigEnabled"
159+
},
160+
"DiscoveryType": {
161+
"target": "com.amazonaws.applicationinsights#DiscoveryType"
152162
}
153163
},
154164
"traits": {
@@ -161,6 +171,18 @@
161171
"target": "com.amazonaws.applicationinsights#ApplicationInfo"
162172
}
163173
},
174+
"com.amazonaws.applicationinsights#AutoConfigEnabled": {
175+
"type": "boolean",
176+
"traits": {
177+
"smithy.api#box": {}
178+
}
179+
},
180+
"com.amazonaws.applicationinsights#AutoCreate": {
181+
"type": "boolean",
182+
"traits": {
183+
"smithy.api#box": {}
184+
}
185+
},
164186
"com.amazonaws.applicationinsights#BadRequestException": {
165187
"type": "structure",
166188
"members": {
@@ -169,6 +191,10 @@
169191
}
170192
},
171193
"traits": {
194+
"aws.protocols#awsQueryError": {
195+
"code": "BadRequestException",
196+
"httpResponseCode": 400
197+
},
172198
"smithy.api#documentation": "<p>The request is not understood by the server.</p>",
173199
"smithy.api#error": "client",
174200
"smithy.api#httpError": 400
@@ -231,7 +257,7 @@
231257
"min": 1,
232258
"max": 10000
233259
},
234-
"smithy.api#pattern": "[\\S\\s]+"
260+
"smithy.api#pattern": "^[\\S\\s]+$"
235261
}
236262
},
237263
"com.amazonaws.applicationinsights#ComponentName": {
@@ -241,7 +267,7 @@
241267
"min": 1,
242268
"max": 1011
243269
},
244-
"smithy.api#pattern": "(?:^[\\d\\w\\-_\\.+]*$)|(?:^arn:aws(-\\w+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$)"
270+
"smithy.api#pattern": "^(?:^[\\d\\w\\-_\\.+]*$)|(?:^arn:aws(-\\w+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$)$"
245271
}
246272
},
247273
"com.amazonaws.applicationinsights#ConfigurationEvent": {
@@ -386,8 +412,7 @@
386412
"ResourceGroupName": {
387413
"target": "com.amazonaws.applicationinsights#ResourceGroupName",
388414
"traits": {
389-
"smithy.api#documentation": "<p>The name of the resource group.</p>",
390-
"smithy.api#required": {}
415+
"smithy.api#documentation": "<p>The name of the resource group.</p>"
391416
}
392417
},
393418
"OpsCenterEnabled": {
@@ -413,6 +438,12 @@
413438
"traits": {
414439
"smithy.api#documentation": "<p>List of tags to add to the application.\n tag key (<code>Key</code>) and an associated tag value (<code>Value</code>). The maximum\n length of a tag key is 128 characters. The maximum length of a tag value is 256\n characters.</p>"
415440
}
441+
},
442+
"AutoConfigEnabled": {
443+
"target": "com.amazonaws.applicationinsights#AutoConfigEnabled"
444+
},
445+
"AutoCreate": {
446+
"target": "com.amazonaws.applicationinsights#AutoCreate"
416447
}
417448
}
418449
},
@@ -1160,6 +1191,21 @@
11601191
"target": "com.amazonaws.applicationinsights#WorkloadMetaData"
11611192
}
11621193
},
1194+
"com.amazonaws.applicationinsights#DiscoveryType": {
1195+
"type": "string",
1196+
"traits": {
1197+
"smithy.api#enum": [
1198+
{
1199+
"value": "RESOURCE_GROUP_BASED",
1200+
"name": "RESOURCE_GROUP_BASED"
1201+
},
1202+
{
1203+
"value": "ACCOUNT_BASED",
1204+
"name": "ACCOUNT_BASED"
1205+
}
1206+
]
1207+
}
1208+
},
11631209
"com.amazonaws.applicationinsights#EC2WindowsBarleyService": {
11641210
"type": "service",
11651211
"version": "2018-11-25",
@@ -1357,11 +1403,18 @@
13571403
}
13581404
},
13591405
"traits": {
1406+
"aws.protocols#awsQueryError": {
1407+
"code": "InternalServerException",
1408+
"httpResponseCode": 500
1409+
},
13601410
"smithy.api#documentation": "<p>The server encountered an internal error and is unable to complete the request.</p>",
13611411
"smithy.api#error": "server",
13621412
"smithy.api#httpError": 500
13631413
}
13641414
},
1415+
"com.amazonaws.applicationinsights#LastRecurrenceTime": {
1416+
"type": "timestamp"
1417+
},
13651418
"com.amazonaws.applicationinsights#LifeCycle": {
13661419
"type": "string"
13671420
},
@@ -1798,6 +1851,9 @@
17981851
"traits": {
17991852
"smithy.api#documentation": "<p>The token to request the next page of results.</p>"
18001853
}
1854+
},
1855+
"ComponentName": {
1856+
"target": "com.amazonaws.applicationinsights#ComponentName"
18011857
}
18021858
}
18031859
},
@@ -1815,6 +1871,9 @@
18151871
"traits": {
18161872
"smithy.api#documentation": "<p>The token used to retrieve the next page of results. This value is <code>null</code>\n when there are no more results to return. </p>"
18171873
}
1874+
},
1875+
"ResourceGroupName": {
1876+
"target": "com.amazonaws.applicationinsights#ResourceGroupName"
18181877
}
18191878
}
18201879
},
@@ -1928,7 +1987,7 @@
19281987
"min": 1,
19291988
"max": 50
19301989
},
1931-
"smithy.api#pattern": "[a-zA-Z0-9\\.\\-_]*"
1990+
"smithy.api#pattern": "^[a-zA-Z0-9\\.\\-_]*$"
19321991
}
19331992
},
19341993
"com.amazonaws.applicationinsights#LogPatternRank": {
@@ -1941,7 +2000,7 @@
19412000
"min": 1,
19422001
"max": 50
19432002
},
1944-
"smithy.api#pattern": "[\\S\\s]+"
2003+
"smithy.api#pattern": "^[\\S\\s]+$"
19452004
}
19462005
},
19472006
"com.amazonaws.applicationinsights#LogPatternSetList": {
@@ -1957,7 +2016,7 @@
19572016
"min": 1,
19582017
"max": 30
19592018
},
1960-
"smithy.api#pattern": "[a-zA-Z0-9\\.\\-_]*"
2019+
"smithy.api#pattern": "^[a-zA-Z0-9\\.\\-_]*$"
19612020
}
19622021
},
19632022
"com.amazonaws.applicationinsights#LogText": {
@@ -2276,7 +2335,7 @@
22762335
"min": 38,
22772336
"max": 38
22782337
},
2279-
"smithy.api#pattern": "o-[0-9a-fA-F]{8}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{12}"
2338+
"smithy.api#pattern": "^o-[0-9a-fA-F]{8}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{12}$"
22802339
}
22812340
},
22822341
"com.amazonaws.applicationinsights#ObservationList": {
@@ -2323,7 +2382,7 @@
23232382
"min": 1,
23242383
"max": 1024
23252384
},
2326-
"smithy.api#pattern": ".+"
2385+
"smithy.api#pattern": "^.+$"
23272386
}
23282387
},
23292388
"com.amazonaws.applicationinsights#Problem": {
@@ -2388,6 +2447,12 @@
23882447
"traits": {
23892448
"smithy.api#documentation": "<p>Feedback provided by the user about the problem.</p>"
23902449
}
2450+
},
2451+
"RecurringCount": {
2452+
"target": "com.amazonaws.applicationinsights#RecurringCount"
2453+
},
2454+
"LastRecurrenceTime": {
2455+
"target": "com.amazonaws.applicationinsights#LastRecurrenceTime"
23912456
}
23922457
},
23932458
"traits": {
@@ -2401,7 +2466,7 @@
24012466
"min": 38,
24022467
"max": 38
24032468
},
2404-
"smithy.api#pattern": "p-[0-9a-fA-F]{8}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{12}"
2469+
"smithy.api#pattern": "^p-[0-9a-fA-F]{8}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{12}$"
24052470
}
24062471
},
24072472
"com.amazonaws.applicationinsights#ProblemList": {
@@ -2416,6 +2481,12 @@
24162481
"com.amazonaws.applicationinsights#RdsEventMessage": {
24172482
"type": "string"
24182483
},
2484+
"com.amazonaws.applicationinsights#RecurringCount": {
2485+
"type": "long",
2486+
"traits": {
2487+
"smithy.api#box": {}
2488+
}
2489+
},
24192490
"com.amazonaws.applicationinsights#RelatedObservations": {
24202491
"type": "structure",
24212492
"members": {
@@ -2456,7 +2527,7 @@
24562527
"min": 1,
24572528
"max": 256
24582529
},
2459-
"smithy.api#pattern": "[a-zA-Z0-9\\.\\-_]*"
2530+
"smithy.api#pattern": "^[a-zA-Z0-9\\.\\-_]*$"
24602531
}
24612532
},
24622533
"com.amazonaws.applicationinsights#ResourceInUseException": {
@@ -2467,6 +2538,10 @@
24672538
}
24682539
},
24692540
"traits": {
2541+
"aws.protocols#awsQueryError": {
2542+
"code": "ResourceInUseException",
2543+
"httpResponseCode": 400
2544+
},
24702545
"smithy.api#documentation": "<p>The resource is already created or in use.</p>",
24712546
"smithy.api#error": "client",
24722547
"smithy.api#httpError": 400
@@ -2486,6 +2561,10 @@
24862561
}
24872562
},
24882563
"traits": {
2564+
"aws.protocols#awsQueryError": {
2565+
"code": "ResourceNotFoundException",
2566+
"httpResponseCode": 404
2567+
},
24892568
"smithy.api#documentation": "<p>The resource does not exist in the customer account.</p>",
24902569
"smithy.api#error": "client",
24912570
"smithy.api#httpError": 404
@@ -2498,7 +2577,7 @@
24982577
"min": 1,
24992578
"max": 50
25002579
},
2501-
"smithy.api#pattern": "[0-9a-zA-Z:_]*"
2580+
"smithy.api#pattern": "^[0-9a-zA-Z:_]*$"
25022581
}
25032582
},
25042583
"com.amazonaws.applicationinsights#S3EventName": {
@@ -2559,6 +2638,10 @@
25592638
{
25602639
"value": "PENDING",
25612640
"name": "PENDING"
2641+
},
2642+
{
2643+
"value": "RECURRING",
2644+
"name": "RECURRING"
25622645
}
25632646
]
25642647
}
@@ -2739,6 +2822,26 @@
27392822
{
27402823
"value": "ORACLE",
27412824
"name": "ORACLE"
2825+
},
2826+
{
2827+
"value": "SAP_HANA",
2828+
"name": "SAP_HANA"
2829+
},
2830+
{
2831+
"value": "SAP_HANA_MULTI_NODE",
2832+
"name": "SAP_HANA_MULTI_NODE"
2833+
},
2834+
{
2835+
"value": "SAP_HANA_SINGLE_NODE",
2836+
"name": "SAP_HANA_SINGLE_NODE"
2837+
},
2838+
{
2839+
"value": "SAP_HANA_HIGH_AVAILABILITY",
2840+
"name": "SAP_HANA_HIGH_AVAILABILITY"
2841+
},
2842+
{
2843+
"value": "SQL_SERVER_FAILOVER_CLUSTER_INSTANCE",
2844+
"name": "SQL_SERVER_FAILOVER_CLUSTER_INSTANCE"
27422845
}
27432846
],
27442847
"smithy.api#length": {
@@ -2871,6 +2974,9 @@
28712974
"traits": {
28722975
"smithy.api#documentation": "<p>\n Disassociates the SNS topic from the opsItem created for detected problems.</p>"
28732976
}
2977+
},
2978+
"AutoConfigEnabled": {
2979+
"target": "com.amazonaws.applicationinsights#AutoConfigEnabled"
28742980
}
28752981
}
28762982
},
@@ -2968,6 +3074,9 @@
29683074
"traits": {
29693075
"smithy.api#documentation": "<p>The configuration settings of the component. The value is the escaped JSON of the configuration. For\n more information about the JSON format, see <a href=\"https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/working-with-json.html\">Working with JSON</a>.\n You can send a request to <code>DescribeComponentConfigurationRecommendation</code> to see the recommended configuration for a component. For the complete\n format of the component configuration file, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/component-config.html\">Component Configuration</a>.</p>"
29703076
}
3077+
},
3078+
"AutoConfigEnabled": {
3079+
"target": "com.amazonaws.applicationinsights#AutoConfigEnabled"
29713080
}
29723081
}
29733082
},
@@ -3099,6 +3208,10 @@
30993208
}
31003209
},
31013210
"traits": {
3211+
"aws.protocols#awsQueryError": {
3212+
"code": "ValidationException",
3213+
"httpResponseCode": 400
3214+
},
31023215
"smithy.api#documentation": "<p>The parameter is not valid.</p>",
31033216
"smithy.api#error": "client",
31043217
"smithy.api#httpError": 400

0 commit comments

Comments
 (0)