aws-sdk 2.1608.0 → 2.1609.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/README.md +1 -1
- package/apis/amplify-2017-07-25.min.json +3 -0
- package/apis/connectcases-2022-10-03.min.json +184 -63
- package/apis/inspector2-2020-06-08.min.json +99 -74
- package/apis/timestream-query-2018-11-01.min.json +71 -23
- package/apis/transcribe-2017-10-26.min.json +101 -76
- package/apis/trustedadvisor-2022-09-15.min.json +107 -46
- package/clients/amplify.d.ts +2 -1
- package/clients/connectcases.d.ts +98 -0
- package/clients/inspector2.d.ts +44 -3
- package/clients/timestreamquery.d.ts +54 -0
- package/clients/transcribeservice.d.ts +32 -0
- package/clients/trustedadvisor.d.ts +66 -2
- package/dist/aws-sdk-core-react-native.js +1 -1
- package/dist/aws-sdk-react-native.js +7 -7
- package/dist/aws-sdk.js +3 -3
- package/dist/aws-sdk.min.js +2 -2
- package/lib/core.js +1 -1
- package/package.json +1 -1
@@ -12,6 +12,57 @@
|
|
12
12
|
"uid": "trustedadvisor-2022-09-15"
|
13
13
|
},
|
14
14
|
"operations": {
|
15
|
+
"BatchUpdateRecommendationResourceExclusion": {
|
16
|
+
"http": {
|
17
|
+
"method": "PUT",
|
18
|
+
"requestUri": "/v1/batch-update-recommendation-resource-exclusion",
|
19
|
+
"responseCode": 200
|
20
|
+
},
|
21
|
+
"input": {
|
22
|
+
"type": "structure",
|
23
|
+
"required": [
|
24
|
+
"recommendationResourceExclusions"
|
25
|
+
],
|
26
|
+
"members": {
|
27
|
+
"recommendationResourceExclusions": {
|
28
|
+
"type": "list",
|
29
|
+
"member": {
|
30
|
+
"type": "structure",
|
31
|
+
"required": [
|
32
|
+
"arn",
|
33
|
+
"isExcluded"
|
34
|
+
],
|
35
|
+
"members": {
|
36
|
+
"arn": {},
|
37
|
+
"isExcluded": {
|
38
|
+
"type": "boolean"
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
},
|
45
|
+
"output": {
|
46
|
+
"type": "structure",
|
47
|
+
"required": [
|
48
|
+
"batchUpdateRecommendationResourceExclusionErrors"
|
49
|
+
],
|
50
|
+
"members": {
|
51
|
+
"batchUpdateRecommendationResourceExclusionErrors": {
|
52
|
+
"type": "list",
|
53
|
+
"member": {
|
54
|
+
"type": "structure",
|
55
|
+
"members": {
|
56
|
+
"arn": {},
|
57
|
+
"errorCode": {},
|
58
|
+
"errorMessage": {}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
},
|
64
|
+
"idempotent": true
|
65
|
+
},
|
15
66
|
"GetOrganizationRecommendation": {
|
16
67
|
"http": {
|
17
68
|
"method": "GET",
|
@@ -49,37 +100,37 @@
|
|
49
100
|
"members": {
|
50
101
|
"arn": {},
|
51
102
|
"awsServices": {
|
52
|
-
"shape": "
|
103
|
+
"shape": "Sf"
|
53
104
|
},
|
54
105
|
"checkArn": {},
|
55
106
|
"createdAt": {
|
56
|
-
"shape": "
|
107
|
+
"shape": "Sh"
|
57
108
|
},
|
58
109
|
"createdBy": {},
|
59
110
|
"description": {},
|
60
111
|
"id": {},
|
61
112
|
"lastUpdatedAt": {
|
62
|
-
"shape": "
|
113
|
+
"shape": "Sh"
|
63
114
|
},
|
64
115
|
"lifecycleStage": {},
|
65
116
|
"name": {},
|
66
117
|
"pillarSpecificAggregates": {
|
67
|
-
"shape": "
|
118
|
+
"shape": "Sj"
|
68
119
|
},
|
69
120
|
"pillars": {
|
70
|
-
"shape": "
|
121
|
+
"shape": "Sm"
|
71
122
|
},
|
72
123
|
"resolvedAt": {
|
73
|
-
"shape": "
|
124
|
+
"shape": "Sh"
|
74
125
|
},
|
75
126
|
"resourcesAggregates": {
|
76
|
-
"shape": "
|
127
|
+
"shape": "So"
|
77
128
|
},
|
78
129
|
"source": {},
|
79
130
|
"status": {},
|
80
131
|
"type": {},
|
81
132
|
"updateReason": {
|
82
|
-
"shape": "
|
133
|
+
"shape": "St"
|
83
134
|
},
|
84
135
|
"updateReasonCode": {},
|
85
136
|
"updatedOnBehalfOf": {},
|
@@ -126,37 +177,37 @@
|
|
126
177
|
"members": {
|
127
178
|
"arn": {},
|
128
179
|
"awsServices": {
|
129
|
-
"shape": "
|
180
|
+
"shape": "Sf"
|
130
181
|
},
|
131
182
|
"checkArn": {},
|
132
183
|
"createdAt": {
|
133
|
-
"shape": "
|
184
|
+
"shape": "Sh"
|
134
185
|
},
|
135
186
|
"createdBy": {},
|
136
187
|
"description": {},
|
137
188
|
"id": {},
|
138
189
|
"lastUpdatedAt": {
|
139
|
-
"shape": "
|
190
|
+
"shape": "Sh"
|
140
191
|
},
|
141
192
|
"lifecycleStage": {},
|
142
193
|
"name": {},
|
143
194
|
"pillarSpecificAggregates": {
|
144
|
-
"shape": "
|
195
|
+
"shape": "Sj"
|
145
196
|
},
|
146
197
|
"pillars": {
|
147
|
-
"shape": "
|
198
|
+
"shape": "Sm"
|
148
199
|
},
|
149
200
|
"resolvedAt": {
|
150
|
-
"shape": "
|
201
|
+
"shape": "Sh"
|
151
202
|
},
|
152
203
|
"resourcesAggregates": {
|
153
|
-
"shape": "
|
204
|
+
"shape": "So"
|
154
205
|
},
|
155
206
|
"source": {},
|
156
207
|
"status": {},
|
157
208
|
"type": {},
|
158
209
|
"updateReason": {
|
159
|
-
"shape": "
|
210
|
+
"shape": "St"
|
160
211
|
},
|
161
212
|
"updateReasonCode": {},
|
162
213
|
"updatedOnBehalfOf": {},
|
@@ -225,16 +276,16 @@
|
|
225
276
|
"members": {
|
226
277
|
"arn": {},
|
227
278
|
"awsServices": {
|
228
|
-
"shape": "
|
279
|
+
"shape": "Sf"
|
229
280
|
},
|
230
281
|
"description": {},
|
231
282
|
"id": {},
|
232
283
|
"metadata": {
|
233
|
-
"shape": "
|
284
|
+
"shape": "S18"
|
234
285
|
},
|
235
286
|
"name": {},
|
236
287
|
"pillars": {
|
237
|
-
"shape": "
|
288
|
+
"shape": "Sm"
|
238
289
|
},
|
239
290
|
"source": {}
|
240
291
|
}
|
@@ -289,11 +340,11 @@
|
|
289
340
|
"accountId": {},
|
290
341
|
"accountRecommendationArn": {},
|
291
342
|
"lastUpdatedAt": {
|
292
|
-
"shape": "
|
343
|
+
"shape": "Sh"
|
293
344
|
},
|
294
345
|
"lifecycleStage": {},
|
295
346
|
"updateReason": {
|
296
|
-
"shape": "
|
347
|
+
"shape": "St"
|
297
348
|
},
|
298
349
|
"updateReasonCode": {},
|
299
350
|
"updatedOnBehalfOf": {},
|
@@ -321,6 +372,10 @@
|
|
321
372
|
"location": "querystring",
|
322
373
|
"locationName": "affectedAccountId"
|
323
374
|
},
|
375
|
+
"exclusionStatus": {
|
376
|
+
"location": "querystring",
|
377
|
+
"locationName": "exclusionStatus"
|
378
|
+
},
|
324
379
|
"maxResults": {
|
325
380
|
"location": "querystring",
|
326
381
|
"locationName": "maxResults",
|
@@ -369,12 +424,13 @@
|
|
369
424
|
"accountId": {},
|
370
425
|
"arn": {},
|
371
426
|
"awsResourceId": {},
|
427
|
+
"exclusionStatus": {},
|
372
428
|
"id": {},
|
373
429
|
"lastUpdatedAt": {
|
374
|
-
"shape": "
|
430
|
+
"shape": "Sh"
|
375
431
|
},
|
376
432
|
"metadata": {
|
377
|
-
"shape": "
|
433
|
+
"shape": "S18"
|
378
434
|
},
|
379
435
|
"recommendationArn": {},
|
380
436
|
"regionCode": {},
|
@@ -463,26 +519,26 @@
|
|
463
519
|
"members": {
|
464
520
|
"arn": {},
|
465
521
|
"awsServices": {
|
466
|
-
"shape": "
|
522
|
+
"shape": "Sf"
|
467
523
|
},
|
468
524
|
"checkArn": {},
|
469
525
|
"createdAt": {
|
470
|
-
"shape": "
|
526
|
+
"shape": "Sh"
|
471
527
|
},
|
472
528
|
"id": {},
|
473
529
|
"lastUpdatedAt": {
|
474
|
-
"shape": "
|
530
|
+
"shape": "Sh"
|
475
531
|
},
|
476
532
|
"lifecycleStage": {},
|
477
533
|
"name": {},
|
478
534
|
"pillarSpecificAggregates": {
|
479
|
-
"shape": "
|
535
|
+
"shape": "Sj"
|
480
536
|
},
|
481
537
|
"pillars": {
|
482
|
-
"shape": "
|
538
|
+
"shape": "Sm"
|
483
539
|
},
|
484
540
|
"resourcesAggregates": {
|
485
|
-
"shape": "
|
541
|
+
"shape": "So"
|
486
542
|
},
|
487
543
|
"source": {},
|
488
544
|
"status": {},
|
@@ -505,6 +561,10 @@
|
|
505
561
|
"recommendationIdentifier"
|
506
562
|
],
|
507
563
|
"members": {
|
564
|
+
"exclusionStatus": {
|
565
|
+
"location": "querystring",
|
566
|
+
"locationName": "exclusionStatus"
|
567
|
+
},
|
508
568
|
"maxResults": {
|
509
569
|
"location": "querystring",
|
510
570
|
"locationName": "maxResults",
|
@@ -552,12 +612,13 @@
|
|
552
612
|
"members": {
|
553
613
|
"arn": {},
|
554
614
|
"awsResourceId": {},
|
615
|
+
"exclusionStatus": {},
|
555
616
|
"id": {},
|
556
617
|
"lastUpdatedAt": {
|
557
|
-
"shape": "
|
618
|
+
"shape": "Sh"
|
558
619
|
},
|
559
620
|
"metadata": {
|
560
|
-
"shape": "
|
621
|
+
"shape": "S18"
|
561
622
|
},
|
562
623
|
"recommendationArn": {},
|
563
624
|
"regionCode": {},
|
@@ -646,26 +707,26 @@
|
|
646
707
|
"members": {
|
647
708
|
"arn": {},
|
648
709
|
"awsServices": {
|
649
|
-
"shape": "
|
710
|
+
"shape": "Sf"
|
650
711
|
},
|
651
712
|
"checkArn": {},
|
652
713
|
"createdAt": {
|
653
|
-
"shape": "
|
714
|
+
"shape": "Sh"
|
654
715
|
},
|
655
716
|
"id": {},
|
656
717
|
"lastUpdatedAt": {
|
657
|
-
"shape": "
|
718
|
+
"shape": "Sh"
|
658
719
|
},
|
659
720
|
"lifecycleStage": {},
|
660
721
|
"name": {},
|
661
722
|
"pillarSpecificAggregates": {
|
662
|
-
"shape": "
|
723
|
+
"shape": "Sj"
|
663
724
|
},
|
664
725
|
"pillars": {
|
665
|
-
"shape": "
|
726
|
+
"shape": "Sm"
|
666
727
|
},
|
667
728
|
"resourcesAggregates": {
|
668
|
-
"shape": "
|
729
|
+
"shape": "So"
|
669
730
|
},
|
670
731
|
"source": {},
|
671
732
|
"status": {},
|
@@ -695,7 +756,7 @@
|
|
695
756
|
"locationName": "organizationRecommendationIdentifier"
|
696
757
|
},
|
697
758
|
"updateReason": {
|
698
|
-
"shape": "
|
759
|
+
"shape": "St"
|
699
760
|
},
|
700
761
|
"updateReasonCode": {}
|
701
762
|
}
|
@@ -721,7 +782,7 @@
|
|
721
782
|
"locationName": "recommendationIdentifier"
|
722
783
|
},
|
723
784
|
"updateReason": {
|
724
|
-
"shape": "
|
785
|
+
"shape": "St"
|
725
786
|
},
|
726
787
|
"updateReasonCode": {}
|
727
788
|
}
|
@@ -730,15 +791,15 @@
|
|
730
791
|
}
|
731
792
|
},
|
732
793
|
"shapes": {
|
733
|
-
"
|
794
|
+
"Sf": {
|
734
795
|
"type": "list",
|
735
796
|
"member": {}
|
736
797
|
},
|
737
|
-
"
|
798
|
+
"Sh": {
|
738
799
|
"type": "timestamp",
|
739
800
|
"timestampFormat": "iso8601"
|
740
801
|
},
|
741
|
-
"
|
802
|
+
"Sj": {
|
742
803
|
"type": "structure",
|
743
804
|
"members": {
|
744
805
|
"costOptimizing": {
|
@@ -758,11 +819,11 @@
|
|
758
819
|
}
|
759
820
|
}
|
760
821
|
},
|
761
|
-
"
|
822
|
+
"Sm": {
|
762
823
|
"type": "list",
|
763
824
|
"member": {}
|
764
825
|
},
|
765
|
-
"
|
826
|
+
"So": {
|
766
827
|
"type": "structure",
|
767
828
|
"required": [
|
768
829
|
"errorCount",
|
@@ -781,11 +842,11 @@
|
|
781
842
|
}
|
782
843
|
}
|
783
844
|
},
|
784
|
-
"
|
845
|
+
"St": {
|
785
846
|
"type": "string",
|
786
847
|
"sensitive": true
|
787
848
|
},
|
788
|
-
"
|
849
|
+
"S18": {
|
789
850
|
"type": "map",
|
790
851
|
"key": {},
|
791
852
|
"value": {}
|
package/clients/amplify.d.ts
CHANGED
@@ -1297,7 +1297,7 @@ declare namespace Amplify {
|
|
1297
1297
|
/**
|
1298
1298
|
* The maximum number of records to list in a single response.
|
1299
1299
|
*/
|
1300
|
-
maxResults?:
|
1300
|
+
maxResults?: MaxResultsForListApps;
|
1301
1301
|
}
|
1302
1302
|
export interface ListAppsResult {
|
1303
1303
|
/**
|
@@ -1484,6 +1484,7 @@ declare namespace Amplify {
|
|
1484
1484
|
export type LogUrl = string;
|
1485
1485
|
export type MD5Hash = string;
|
1486
1486
|
export type MaxResults = number;
|
1487
|
+
export type MaxResultsForListApps = number;
|
1487
1488
|
export type Name = string;
|
1488
1489
|
export type NextToken = string;
|
1489
1490
|
export type OauthToken = string;
|
@@ -83,6 +83,30 @@ declare class ConnectCases extends Service {
|
|
83
83
|
* Deletes a Cases domain. <note> <p>After deleting your domain you must disassociate the deleted domain from your Amazon Connect instance with another API call before being able to use Cases again with this Amazon Connect instance. See <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_DeleteIntegrationAssociation.html">DeleteIntegrationAssociation</a>.</p> </note>
|
84
84
|
*/
|
85
85
|
deleteDomain(callback?: (err: AWSError, data: ConnectCases.Types.DeleteDomainResponse) => void): Request<ConnectCases.Types.DeleteDomainResponse, AWSError>;
|
86
|
+
/**
|
87
|
+
* Deletes a field from a cases template. You can delete up to 100 fields per domain. After a field is deleted: You can still retrieve the field by calling BatchGetField. You cannot update a deleted field by calling UpdateField; it throws a ValidationException. Deleted fields are not included in the ListFields response. Calling CreateCase with a deleted field throws a ValidationException denoting which field IDs in the request have been deleted. Calling GetCase with a deleted field ID returns the deleted field's value if one exists. Calling UpdateCase with a deleted field ID throws a ValidationException if the case does not already contain a value for the deleted field. Otherwise it succeeds, allowing you to update or remove (using emptyValue: {}) the field's value from the case. GetTemplate does not return field IDs for deleted fields. GetLayout does not return field IDs for deleted fields. Calling SearchCases with the deleted field ID as a filter returns any cases that have a value for the deleted field that matches the filter criteria. Calling SearchCases with a searchTerm value that matches a deleted field's value on a case returns the case in the response. Calling BatchPutFieldOptions with a deleted field ID throw a ValidationException. Calling GetCaseEventConfiguration does not return field IDs for deleted fields.
|
88
|
+
*/
|
89
|
+
deleteField(params: ConnectCases.Types.DeleteFieldRequest, callback?: (err: AWSError, data: ConnectCases.Types.DeleteFieldResponse) => void): Request<ConnectCases.Types.DeleteFieldResponse, AWSError>;
|
90
|
+
/**
|
91
|
+
* Deletes a field from a cases template. You can delete up to 100 fields per domain. After a field is deleted: You can still retrieve the field by calling BatchGetField. You cannot update a deleted field by calling UpdateField; it throws a ValidationException. Deleted fields are not included in the ListFields response. Calling CreateCase with a deleted field throws a ValidationException denoting which field IDs in the request have been deleted. Calling GetCase with a deleted field ID returns the deleted field's value if one exists. Calling UpdateCase with a deleted field ID throws a ValidationException if the case does not already contain a value for the deleted field. Otherwise it succeeds, allowing you to update or remove (using emptyValue: {}) the field's value from the case. GetTemplate does not return field IDs for deleted fields. GetLayout does not return field IDs for deleted fields. Calling SearchCases with the deleted field ID as a filter returns any cases that have a value for the deleted field that matches the filter criteria. Calling SearchCases with a searchTerm value that matches a deleted field's value on a case returns the case in the response. Calling BatchPutFieldOptions with a deleted field ID throw a ValidationException. Calling GetCaseEventConfiguration does not return field IDs for deleted fields.
|
92
|
+
*/
|
93
|
+
deleteField(callback?: (err: AWSError, data: ConnectCases.Types.DeleteFieldResponse) => void): Request<ConnectCases.Types.DeleteFieldResponse, AWSError>;
|
94
|
+
/**
|
95
|
+
* Deletes a layout from a cases template. You can delete up to 100 layouts per domain. <p>After a layout is deleted:</p> <ul> <li> <p>You can still retrieve the layout by calling <code>GetLayout</code>.</p> </li> <li> <p>You cannot update a deleted layout by calling <code>UpdateLayout</code>; it throws a <code>ValidationException</code>.</p> </li> <li> <p>Deleted layouts are not included in the <code>ListLayouts</code> response.</p> </li> </ul>
|
96
|
+
*/
|
97
|
+
deleteLayout(params: ConnectCases.Types.DeleteLayoutRequest, callback?: (err: AWSError, data: ConnectCases.Types.DeleteLayoutResponse) => void): Request<ConnectCases.Types.DeleteLayoutResponse, AWSError>;
|
98
|
+
/**
|
99
|
+
* Deletes a layout from a cases template. You can delete up to 100 layouts per domain. <p>After a layout is deleted:</p> <ul> <li> <p>You can still retrieve the layout by calling <code>GetLayout</code>.</p> </li> <li> <p>You cannot update a deleted layout by calling <code>UpdateLayout</code>; it throws a <code>ValidationException</code>.</p> </li> <li> <p>Deleted layouts are not included in the <code>ListLayouts</code> response.</p> </li> </ul>
|
100
|
+
*/
|
101
|
+
deleteLayout(callback?: (err: AWSError, data: ConnectCases.Types.DeleteLayoutResponse) => void): Request<ConnectCases.Types.DeleteLayoutResponse, AWSError>;
|
102
|
+
/**
|
103
|
+
* Deletes a cases template. You can delete up to 100 templates per domain. <p>After a cases template is deleted:</p> <ul> <li> <p>You can still retrieve the template by calling <code>GetTemplate</code>.</p> </li> <li> <p>You cannot update the template. </p> </li> <li> <p>You cannot create a case by using the deleted template.</p> </li> <li> <p>Deleted templates are not included in the <code>ListTemplates</code> response.</p> </li> </ul>
|
104
|
+
*/
|
105
|
+
deleteTemplate(params: ConnectCases.Types.DeleteTemplateRequest, callback?: (err: AWSError, data: ConnectCases.Types.DeleteTemplateResponse) => void): Request<ConnectCases.Types.DeleteTemplateResponse, AWSError>;
|
106
|
+
/**
|
107
|
+
* Deletes a cases template. You can delete up to 100 templates per domain. <p>After a cases template is deleted:</p> <ul> <li> <p>You can still retrieve the template by calling <code>GetTemplate</code>.</p> </li> <li> <p>You cannot update the template. </p> </li> <li> <p>You cannot create a case by using the deleted template.</p> </li> <li> <p>Deleted templates are not included in the <code>ListTemplates</code> response.</p> </li> </ul>
|
108
|
+
*/
|
109
|
+
deleteTemplate(callback?: (err: AWSError, data: ConnectCases.Types.DeleteTemplateResponse) => void): Request<ConnectCases.Types.DeleteTemplateResponse, AWSError>;
|
86
110
|
/**
|
87
111
|
* Returns information about a specific case if it exists.
|
88
112
|
*/
|
@@ -655,6 +679,43 @@ declare namespace ConnectCases {
|
|
655
679
|
}
|
656
680
|
export interface DeleteDomainResponse {
|
657
681
|
}
|
682
|
+
export interface DeleteFieldRequest {
|
683
|
+
/**
|
684
|
+
* The unique identifier of the Cases domain.
|
685
|
+
*/
|
686
|
+
domainId: DomainId;
|
687
|
+
/**
|
688
|
+
* The unique identifier of a field.
|
689
|
+
*/
|
690
|
+
fieldId: FieldId;
|
691
|
+
}
|
692
|
+
export interface DeleteFieldResponse {
|
693
|
+
}
|
694
|
+
export interface DeleteLayoutRequest {
|
695
|
+
/**
|
696
|
+
* The unique identifier of the Cases domain.
|
697
|
+
*/
|
698
|
+
domainId: DomainId;
|
699
|
+
/**
|
700
|
+
* The unique identifier of the layout.
|
701
|
+
*/
|
702
|
+
layoutId: LayoutId;
|
703
|
+
}
|
704
|
+
export interface DeleteLayoutResponse {
|
705
|
+
}
|
706
|
+
export interface DeleteTemplateRequest {
|
707
|
+
/**
|
708
|
+
* The unique identifier of the Cases domain.
|
709
|
+
*/
|
710
|
+
domainId: DomainId;
|
711
|
+
/**
|
712
|
+
* A unique identifier of a template.
|
713
|
+
*/
|
714
|
+
templateId: TemplateId;
|
715
|
+
}
|
716
|
+
export interface DeleteTemplateResponse {
|
717
|
+
}
|
718
|
+
export type Deleted = boolean;
|
658
719
|
export type DomainArn = string;
|
659
720
|
export type DomainId = string;
|
660
721
|
export type DomainName = string;
|
@@ -966,6 +1027,14 @@ declare namespace ConnectCases {
|
|
966
1027
|
tags?: Tags;
|
967
1028
|
}
|
968
1029
|
export interface GetFieldResponse {
|
1030
|
+
/**
|
1031
|
+
* The timestamp for when the resource was created.
|
1032
|
+
*/
|
1033
|
+
createdTime?: CreatedTime;
|
1034
|
+
/**
|
1035
|
+
* Indicates whether the resource has been deleted.
|
1036
|
+
*/
|
1037
|
+
deleted?: Deleted;
|
969
1038
|
/**
|
970
1039
|
* Description of the field.
|
971
1040
|
*/
|
@@ -978,6 +1047,10 @@ declare namespace ConnectCases {
|
|
978
1047
|
* Unique identifier of the field.
|
979
1048
|
*/
|
980
1049
|
fieldId: FieldId;
|
1050
|
+
/**
|
1051
|
+
* The timestamp for when the resource was created or last modified.
|
1052
|
+
*/
|
1053
|
+
lastModifiedTime?: LastModifiedTime;
|
981
1054
|
/**
|
982
1055
|
* Name of the field.
|
983
1056
|
*/
|
@@ -1010,6 +1083,18 @@ declare namespace ConnectCases {
|
|
1010
1083
|
* Information about which fields will be present in the layout, the order of the fields, and read-only attribute of the field.
|
1011
1084
|
*/
|
1012
1085
|
content: LayoutContent;
|
1086
|
+
/**
|
1087
|
+
* The timestamp for when the resource was created.
|
1088
|
+
*/
|
1089
|
+
createdTime?: CreatedTime;
|
1090
|
+
/**
|
1091
|
+
* Indicates whether the resource has been deleted.
|
1092
|
+
*/
|
1093
|
+
deleted?: Deleted;
|
1094
|
+
/**
|
1095
|
+
* The timestamp for when the resource was created or last modified.
|
1096
|
+
*/
|
1097
|
+
lastModifiedTime?: LastModifiedTime;
|
1013
1098
|
/**
|
1014
1099
|
* The Amazon Resource Name (ARN) of the newly created layout.
|
1015
1100
|
*/
|
@@ -1038,10 +1123,22 @@ declare namespace ConnectCases {
|
|
1038
1123
|
templateId: TemplateId;
|
1039
1124
|
}
|
1040
1125
|
export interface GetTemplateResponse {
|
1126
|
+
/**
|
1127
|
+
* The timestamp for when the resource was created.
|
1128
|
+
*/
|
1129
|
+
createdTime?: CreatedTime;
|
1130
|
+
/**
|
1131
|
+
* Indicates whether the resource has been deleted.
|
1132
|
+
*/
|
1133
|
+
deleted?: Deleted;
|
1041
1134
|
/**
|
1042
1135
|
* A brief description of the template.
|
1043
1136
|
*/
|
1044
1137
|
description?: TemplateDescription;
|
1138
|
+
/**
|
1139
|
+
* The timestamp for when the resource was created or last modified.
|
1140
|
+
*/
|
1141
|
+
lastModifiedTime?: LastModifiedTime;
|
1045
1142
|
/**
|
1046
1143
|
* Configuration of layouts associated to the template.
|
1047
1144
|
*/
|
@@ -1072,6 +1169,7 @@ declare namespace ConnectCases {
|
|
1072
1169
|
templateId: TemplateId;
|
1073
1170
|
}
|
1074
1171
|
export type IamPrincipalArn = string;
|
1172
|
+
export type LastModifiedTime = Date;
|
1075
1173
|
export type LayoutArn = string;
|
1076
1174
|
export interface LayoutConfiguration {
|
1077
1175
|
/**
|
package/clients/inspector2.d.ts
CHANGED
@@ -1674,6 +1674,10 @@ declare namespace Inspector2 {
|
|
1674
1674
|
* An array of Amazon Web Services resource types to return coverage statistics for. The values can be AWS_EC2_INSTANCE, AWS_LAMBDA_FUNCTION, AWS_ECR_CONTAINER_IMAGE, AWS_ECR_REPOSITORY or AWS_ACCOUNT.
|
1675
1675
|
*/
|
1676
1676
|
resourceType?: CoverageStringFilterList;
|
1677
|
+
/**
|
1678
|
+
* The filter to search for Amazon EC2 instance coverage by scan mode. Valid values are EC2_SSM_AGENT_BASED and EC2_HYBRID.
|
1679
|
+
*/
|
1680
|
+
scanMode?: CoverageStringFilterList;
|
1677
1681
|
/**
|
1678
1682
|
* The scan status code to filter on. Valid values are: ValidationException, InternalServerException, ResourceNotFoundException, BadRequestException, and ThrottlingException.
|
1679
1683
|
*/
|
@@ -1738,6 +1742,10 @@ declare namespace Inspector2 {
|
|
1738
1742
|
* The type of the covered resource.
|
1739
1743
|
*/
|
1740
1744
|
resourceType: CoverageResourceType;
|
1745
|
+
/**
|
1746
|
+
* The scan method that is applied to the instance.
|
1747
|
+
*/
|
1748
|
+
scanMode?: ScanMode;
|
1741
1749
|
/**
|
1742
1750
|
* The status of the scan covering the resource.
|
1743
1751
|
*/
|
@@ -2079,6 +2087,18 @@ declare namespace Inspector2 {
|
|
2079
2087
|
accountId: AccountId;
|
2080
2088
|
}
|
2081
2089
|
export type Double = number;
|
2090
|
+
export interface Ec2Configuration {
|
2091
|
+
/**
|
2092
|
+
* The scan method that is applied to the instance.
|
2093
|
+
*/
|
2094
|
+
scanMode: Ec2ScanMode;
|
2095
|
+
}
|
2096
|
+
export interface Ec2ConfigurationState {
|
2097
|
+
/**
|
2098
|
+
* An object that contains details about the state of the Amazon EC2 scan mode.
|
2099
|
+
*/
|
2100
|
+
scanModeState?: Ec2ScanModeState;
|
2101
|
+
}
|
2082
2102
|
export type Ec2DeepInspectionStatus = "ACTIVATED"|"DEACTIVATED"|"PENDING"|"FAILED"|string;
|
2083
2103
|
export interface Ec2InstanceAggregation {
|
2084
2104
|
/**
|
@@ -2152,6 +2172,18 @@ declare namespace Inspector2 {
|
|
2152
2172
|
tags?: TagMap;
|
2153
2173
|
}
|
2154
2174
|
export type Ec2Platform = "WINDOWS"|"LINUX"|"UNKNOWN"|"MACOS"|string;
|
2175
|
+
export type Ec2ScanMode = "EC2_SSM_AGENT_BASED"|"EC2_HYBRID"|string;
|
2176
|
+
export interface Ec2ScanModeState {
|
2177
|
+
/**
|
2178
|
+
* The scan method that is applied to the instance.
|
2179
|
+
*/
|
2180
|
+
scanMode?: Ec2ScanMode;
|
2181
|
+
/**
|
2182
|
+
* The status of the Amazon EC2 scan mode setting.
|
2183
|
+
*/
|
2184
|
+
scanModeStatus?: Ec2ScanModeStatus;
|
2185
|
+
}
|
2186
|
+
export type Ec2ScanModeStatus = "SUCCESS"|"PENDING"|string;
|
2155
2187
|
export interface EcrConfiguration {
|
2156
2188
|
/**
|
2157
2189
|
* The rescan duration configured for image pull date.
|
@@ -2608,7 +2640,7 @@ declare namespace Inspector2 {
|
|
2608
2640
|
*/
|
2609
2641
|
inspectorScoreDetails?: InspectorScoreDetails;
|
2610
2642
|
/**
|
2611
|
-
*
|
2643
|
+
* The date and time the finding was last observed. This timestamp for this field remains unchanged until a finding is updated.
|
2612
2644
|
*/
|
2613
2645
|
lastObservedAt: DateTimeTimestamp;
|
2614
2646
|
/**
|
@@ -2804,7 +2836,7 @@ declare namespace Inspector2 {
|
|
2804
2836
|
*/
|
2805
2837
|
status?: CisReportStatus;
|
2806
2838
|
/**
|
2807
|
-
* The URL where the CIS scan report
|
2839
|
+
* The URL where a PDF of the CIS scan report can be downloaded.
|
2808
2840
|
*/
|
2809
2841
|
url?: String;
|
2810
2842
|
}
|
@@ -2856,6 +2888,10 @@ declare namespace Inspector2 {
|
|
2856
2888
|
export interface GetConfigurationRequest {
|
2857
2889
|
}
|
2858
2890
|
export interface GetConfigurationResponse {
|
2891
|
+
/**
|
2892
|
+
* Specifies how the Amazon EC2 automated scan mode is currently configured for your environment.
|
2893
|
+
*/
|
2894
|
+
ec2Configuration?: Ec2ConfigurationState;
|
2859
2895
|
/**
|
2860
2896
|
* Specifies how the ECR automated re-scan duration is currently configured for your environment.
|
2861
2897
|
*/
|
@@ -4123,6 +4159,7 @@ declare namespace Inspector2 {
|
|
4123
4159
|
export type RuleId = string;
|
4124
4160
|
export type Runtime = "NODEJS"|"NODEJS_12_X"|"NODEJS_14_X"|"NODEJS_16_X"|"JAVA_8"|"JAVA_8_AL2"|"JAVA_11"|"PYTHON_3_7"|"PYTHON_3_8"|"PYTHON_3_9"|"UNSUPPORTED"|"NODEJS_18_X"|"GO_1_X"|"JAVA_17"|"PYTHON_3_10"|string;
|
4125
4161
|
export type SbomReportFormat = "CYCLONEDX_1_4"|"SPDX_2_3"|string;
|
4162
|
+
export type ScanMode = "EC2_SSM_AGENT_BASED"|"EC2_AGENTLESS"|string;
|
4126
4163
|
export interface ScanStatus {
|
4127
4164
|
/**
|
4128
4165
|
* The scan status. Possible return values and descriptions are: PENDING_INITIAL_SCAN - This resource has been identified for scanning, results will be available soon. ACCESS_DENIED - Resource access policy restricting Amazon Inspector access. Please update the IAM policy. INTERNAL_ERROR - Amazon Inspector has encountered an internal error for this resource. Amazon Inspector service will automatically resolve the issue and resume the scanning. No action required from the user. UNMANAGED_EC2_INSTANCE - The EC2 instance is not managed by SSM, please use the following SSM automation to remediate the issue: https://docs.aws.amazon.com/systems-manager-automation-runbooks/latest/userguide/automation-awssupport-troubleshoot-managed-instance.html. Once the instance becomes managed by SSM, Inspector will automatically begin scanning this instance. UNSUPPORTED_OS - Amazon Inspector does not support this OS, architecture, or image manifest type at this time. To see a complete list of supported operating systems see: https://docs.aws.amazon.com/inspector/latest/user/supported.html. SCAN_ELIGIBILITY_EXPIRED - The configured scan duration has lapsed for this image. RESOURCE_TERMINATED - This resource has been terminated. The findings and coverage associated with this resource are in the process of being cleaned up. SUCCESSFUL - The scan was successful. NO_RESOURCES_FOUND - Reserved for future use. IMAGE_SIZE_EXCEEDED - Reserved for future use. SCAN_FREQUENCY_MANUAL - This image will not be covered by Amazon Inspector due to the repository scan frequency configuration. SCAN_FREQUENCY_SCAN_ON_PUSH - This image will be scanned one time and will not new findings because of the scan frequency configuration. EC2_INSTANCE_STOPPED - This EC2 instance is in a stopped state, therefore, Amazon Inspector will pause scanning. The existing findings will continue to exist until the instance is terminated. Once the instance is re-started, Inspector will automatically start scanning the instance again. Please note that you will not be charged for this instance while it’s in a stopped state. PENDING_DISABLE - This resource is pending cleanup during disablement. The customer will not be billed while a resource is in the pending disable status. NO INVENTORY - Amazon Inspector couldn’t find software application inventory to scan for vulnerabilities. This might be caused due to required Amazon Inspector associations being deleted or failing to run on your resource. Please verify the status of InspectorInventoryCollection-do-not-delete association in the SSM console for the resource. Additionally, you can verify the instance’s inventory in the SSM Fleet Manager console. STALE_INVENTORY - Amazon Inspector wasn’t able to collect an updated software application inventory in the last 7 days. Please confirm the required Amazon Inspector associations still exist and you can still see an updated inventory in the SSM console. EXCLUDED_BY_TAG - This resource was not scanned because it has been excluded by a tag. UNSUPPORTED_RUNTIME - The function was not scanned because it has an unsupported runtime. To see a complete list of supported runtimes see: https://docs.aws.amazon.com/inspector/latest/user/supported.html. UNSUPPORTED_MEDIA_TYPE - The ECR image has an unsupported media type. UNSUPPORTED_CONFIG_FILE - Reserved for future use. DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED - The instance has exceeded the 5000 package limit for Amazon Inspector Deep inspection. To resume Deep inspection for this instance you can try to adjust the custom paths associated with the account. DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED - The SSM agent couldn't send inventory to Amazon Inspector because the SSM quota for Inventory data collected per instance per day has already been reached for this instance. DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED - Amazon Inspector failed to extract the package inventory because the package collection time exceeding the maximum threshold of 15 minutes. DEEP_INSPECTION_NO_INVENTORY The Amazon Inspector plugin hasn't yet been able to collect an inventory of packages for this instance. This is usually the result of a pending scan, however, if this status persists after 6 hours, use SSM to ensure that the required Amazon Inspector associations exist and are running for the instance.
|
@@ -4562,10 +4599,14 @@ declare namespace Inspector2 {
|
|
4562
4599
|
targetResourceTags?: TargetResourceTags;
|
4563
4600
|
}
|
4564
4601
|
export interface UpdateConfigurationRequest {
|
4602
|
+
/**
|
4603
|
+
* Specifies how the Amazon EC2 automated scan will be updated for your environment.
|
4604
|
+
*/
|
4605
|
+
ec2Configuration?: Ec2Configuration;
|
4565
4606
|
/**
|
4566
4607
|
* Specifies how the ECR automated re-scan will be updated for your environment.
|
4567
4608
|
*/
|
4568
|
-
ecrConfiguration
|
4609
|
+
ecrConfiguration?: EcrConfiguration;
|
4569
4610
|
}
|
4570
4611
|
export interface UpdateConfigurationResponse {
|
4571
4612
|
}
|