aws-sdk 2.1607.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.
@@ -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": "S6"
103
+ "shape": "Sf"
53
104
  },
54
105
  "checkArn": {},
55
106
  "createdAt": {
56
- "shape": "S9"
107
+ "shape": "Sh"
57
108
  },
58
109
  "createdBy": {},
59
110
  "description": {},
60
111
  "id": {},
61
112
  "lastUpdatedAt": {
62
- "shape": "S9"
113
+ "shape": "Sh"
63
114
  },
64
115
  "lifecycleStage": {},
65
116
  "name": {},
66
117
  "pillarSpecificAggregates": {
67
- "shape": "Sb"
118
+ "shape": "Sj"
68
119
  },
69
120
  "pillars": {
70
- "shape": "Se"
121
+ "shape": "Sm"
71
122
  },
72
123
  "resolvedAt": {
73
- "shape": "S9"
124
+ "shape": "Sh"
74
125
  },
75
126
  "resourcesAggregates": {
76
- "shape": "Sg"
127
+ "shape": "So"
77
128
  },
78
129
  "source": {},
79
130
  "status": {},
80
131
  "type": {},
81
132
  "updateReason": {
82
- "shape": "Sl"
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": "S6"
180
+ "shape": "Sf"
130
181
  },
131
182
  "checkArn": {},
132
183
  "createdAt": {
133
- "shape": "S9"
184
+ "shape": "Sh"
134
185
  },
135
186
  "createdBy": {},
136
187
  "description": {},
137
188
  "id": {},
138
189
  "lastUpdatedAt": {
139
- "shape": "S9"
190
+ "shape": "Sh"
140
191
  },
141
192
  "lifecycleStage": {},
142
193
  "name": {},
143
194
  "pillarSpecificAggregates": {
144
- "shape": "Sb"
195
+ "shape": "Sj"
145
196
  },
146
197
  "pillars": {
147
- "shape": "Se"
198
+ "shape": "Sm"
148
199
  },
149
200
  "resolvedAt": {
150
- "shape": "S9"
201
+ "shape": "Sh"
151
202
  },
152
203
  "resourcesAggregates": {
153
- "shape": "Sg"
204
+ "shape": "So"
154
205
  },
155
206
  "source": {},
156
207
  "status": {},
157
208
  "type": {},
158
209
  "updateReason": {
159
- "shape": "Sl"
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": "S6"
279
+ "shape": "Sf"
229
280
  },
230
281
  "description": {},
231
282
  "id": {},
232
283
  "metadata": {
233
- "shape": "S10"
284
+ "shape": "S18"
234
285
  },
235
286
  "name": {},
236
287
  "pillars": {
237
- "shape": "Se"
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": "S9"
343
+ "shape": "Sh"
293
344
  },
294
345
  "lifecycleStage": {},
295
346
  "updateReason": {
296
- "shape": "Sl"
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": "S9"
430
+ "shape": "Sh"
375
431
  },
376
432
  "metadata": {
377
- "shape": "S10"
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": "S6"
522
+ "shape": "Sf"
467
523
  },
468
524
  "checkArn": {},
469
525
  "createdAt": {
470
- "shape": "S9"
526
+ "shape": "Sh"
471
527
  },
472
528
  "id": {},
473
529
  "lastUpdatedAt": {
474
- "shape": "S9"
530
+ "shape": "Sh"
475
531
  },
476
532
  "lifecycleStage": {},
477
533
  "name": {},
478
534
  "pillarSpecificAggregates": {
479
- "shape": "Sb"
535
+ "shape": "Sj"
480
536
  },
481
537
  "pillars": {
482
- "shape": "Se"
538
+ "shape": "Sm"
483
539
  },
484
540
  "resourcesAggregates": {
485
- "shape": "Sg"
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": "S9"
618
+ "shape": "Sh"
558
619
  },
559
620
  "metadata": {
560
- "shape": "S10"
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": "S6"
710
+ "shape": "Sf"
650
711
  },
651
712
  "checkArn": {},
652
713
  "createdAt": {
653
- "shape": "S9"
714
+ "shape": "Sh"
654
715
  },
655
716
  "id": {},
656
717
  "lastUpdatedAt": {
657
- "shape": "S9"
718
+ "shape": "Sh"
658
719
  },
659
720
  "lifecycleStage": {},
660
721
  "name": {},
661
722
  "pillarSpecificAggregates": {
662
- "shape": "Sb"
723
+ "shape": "Sj"
663
724
  },
664
725
  "pillars": {
665
- "shape": "Se"
726
+ "shape": "Sm"
666
727
  },
667
728
  "resourcesAggregates": {
668
- "shape": "Sg"
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": "Sl"
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": "Sl"
785
+ "shape": "St"
725
786
  },
726
787
  "updateReasonCode": {}
727
788
  }
@@ -730,15 +791,15 @@
730
791
  }
731
792
  },
732
793
  "shapes": {
733
- "S6": {
794
+ "Sf": {
734
795
  "type": "list",
735
796
  "member": {}
736
797
  },
737
- "S9": {
798
+ "Sh": {
738
799
  "type": "timestamp",
739
800
  "timestampFormat": "iso8601"
740
801
  },
741
- "Sb": {
802
+ "Sj": {
742
803
  "type": "structure",
743
804
  "members": {
744
805
  "costOptimizing": {
@@ -758,11 +819,11 @@
758
819
  }
759
820
  }
760
821
  },
761
- "Se": {
822
+ "Sm": {
762
823
  "type": "list",
763
824
  "member": {}
764
825
  },
765
- "Sg": {
826
+ "So": {
766
827
  "type": "structure",
767
828
  "required": [
768
829
  "errorCount",
@@ -781,11 +842,11 @@
781
842
  }
782
843
  }
783
844
  },
784
- "Sl": {
845
+ "St": {
785
846
  "type": "string",
786
847
  "sensitive": true
787
848
  },
788
- "S10": {
849
+ "S18": {
789
850
  "type": "map",
790
851
  "key": {},
791
852
  "value": {}
@@ -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?: 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;
@@ -275,6 +275,14 @@ declare class CodePipeline extends Service {
275
275
  * You can retry a stage that has failed without having to run a pipeline again from the beginning. You do this by either retrying the failed actions in a stage or by retrying all actions in the stage starting from the first action in the stage. When you retry the failed actions in a stage, all actions that are still in progress continue working, and failed actions are triggered again. When you retry a failed stage from the first action in the stage, the stage cannot have any actions in progress. Before a stage can be retried, it must either have all actions failed or some actions failed and some succeeded.
276
276
  */
277
277
  retryStageExecution(callback?: (err: AWSError, data: CodePipeline.Types.RetryStageExecutionOutput) => void): Request<CodePipeline.Types.RetryStageExecutionOutput, AWSError>;
278
+ /**
279
+ * Rolls back a stage execution.
280
+ */
281
+ rollbackStage(params: CodePipeline.Types.RollbackStageInput, callback?: (err: AWSError, data: CodePipeline.Types.RollbackStageOutput) => void): Request<CodePipeline.Types.RollbackStageOutput, AWSError>;
282
+ /**
283
+ * Rolls back a stage execution.
284
+ */
285
+ rollbackStage(callback?: (err: AWSError, data: CodePipeline.Types.RollbackStageOutput) => void): Request<CodePipeline.Types.RollbackStageOutput, AWSError>;
278
286
  /**
279
287
  * Starts the specified pipeline. Specifically, it begins processing the latest commit to the source location specified as part of the pipeline.
280
288
  */
@@ -1193,6 +1201,7 @@ declare namespace CodePipeline {
1193
1201
  */
1194
1202
  triggerDetail?: TriggerDetail;
1195
1203
  }
1204
+ export type ExecutionType = "STANDARD"|"ROLLBACK"|string;
1196
1205
  export interface ExecutorConfiguration {
1197
1206
  /**
1198
1207
  * Details about the Lambda executor of the action type.
@@ -1206,6 +1215,12 @@ declare namespace CodePipeline {
1206
1215
  export type ExecutorType = "JobWorker"|"Lambda"|string;
1207
1216
  export type ExternalExecutionId = string;
1208
1217
  export type ExternalExecutionSummary = string;
1218
+ export interface FailureConditions {
1219
+ /**
1220
+ * The specified result for when the failure conditions are met, such as rolling back the stage.
1221
+ */
1222
+ result?: Result;
1223
+ }
1209
1224
  export interface FailureDetails {
1210
1225
  /**
1211
1226
  * The type of the failure.
@@ -1588,6 +1603,10 @@ declare namespace CodePipeline {
1588
1603
  * The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value. Pipeline history is limited to the most recent 12 months, based on pipeline execution start times. Default value is 100.
1589
1604
  */
1590
1605
  maxResults?: MaxResults;
1606
+ /**
1607
+ * The pipeline execution to filter on.
1608
+ */
1609
+ filter?: PipelineExecutionFilter;
1591
1610
  /**
1592
1611
  * The token that was returned from the previous ListPipelineExecutions call, which can be used to return the next set of pipeline executions in the list.
1593
1612
  */
@@ -1818,6 +1837,20 @@ declare namespace CodePipeline {
1818
1837
  * The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.
1819
1838
  */
1820
1839
  executionMode?: ExecutionMode;
1840
+ /**
1841
+ * The type of the pipeline execution.
1842
+ */
1843
+ executionType?: ExecutionType;
1844
+ /**
1845
+ * The metadata about the execution pertaining to stage rollback.
1846
+ */
1847
+ rollbackMetadata?: PipelineRollbackMetadata;
1848
+ }
1849
+ export interface PipelineExecutionFilter {
1850
+ /**
1851
+ * Filter for pipeline executions where the stage was successful in the current pipeline version.
1852
+ */
1853
+ succeededInStage?: SucceededInStageFilter;
1821
1854
  }
1822
1855
  export type PipelineExecutionId = string;
1823
1856
  export type PipelineExecutionStatus = "Cancelled"|"InProgress"|"Stopped"|"Stopping"|"Succeeded"|"Superseded"|"Failed"|string;
@@ -1831,6 +1864,10 @@ declare namespace CodePipeline {
1831
1864
  * The status of the pipeline execution. InProgress: The pipeline execution is currently running. Stopped: The pipeline execution was manually stopped. For more information, see Stopped Executions. Stopping: The pipeline execution received a request to be manually stopped. Depending on the selected stop mode, the execution is either completing or abandoning in-progress actions. For more information, see Stopped Executions. Succeeded: The pipeline execution was completed successfully. Superseded: While this pipeline execution was waiting for the next stage to be completed, a newer pipeline execution advanced and continued through the pipeline instead. For more information, see Superseded Executions. Failed: The pipeline execution was not completed successfully.
1832
1865
  */
1833
1866
  status?: PipelineExecutionStatus;
1867
+ /**
1868
+ * Status summary for the pipeline.
1869
+ */
1870
+ statusSummary?: PipelineExecutionStatusSummary;
1834
1871
  /**
1835
1872
  * The date and time when the pipeline execution began, in timestamp format.
1836
1873
  */
@@ -1855,6 +1892,14 @@ declare namespace CodePipeline {
1855
1892
  * The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.
1856
1893
  */
1857
1894
  executionMode?: ExecutionMode;
1895
+ /**
1896
+ * Type of the pipeline execution.
1897
+ */
1898
+ executionType?: ExecutionType;
1899
+ /**
1900
+ * The metadata for the stage execution to be rolled back.
1901
+ */
1902
+ rollbackMetadata?: PipelineRollbackMetadata;
1858
1903
  }
1859
1904
  export type PipelineExecutionSummaryList = PipelineExecutionSummary[];
1860
1905
  export type PipelineList = PipelineSummary[];
@@ -1877,6 +1922,12 @@ declare namespace CodePipeline {
1877
1922
  pollingDisabledAt?: Timestamp;
1878
1923
  }
1879
1924
  export type PipelineName = string;
1925
+ export interface PipelineRollbackMetadata {
1926
+ /**
1927
+ * The pipeline execution ID to which the stage will be rolled back.
1928
+ */
1929
+ rollbackTargetPipelineExecutionId?: PipelineExecutionId;
1930
+ }
1880
1931
  export type PipelineStageDeclarationList = StageDeclaration[];
1881
1932
  export interface PipelineSummary {
1882
1933
  /**
@@ -2149,6 +2200,7 @@ declare namespace CodePipeline {
2149
2200
  }
2150
2201
  export type ResolvedPipelineVariableList = ResolvedPipelineVariable[];
2151
2202
  export type ResourceArn = string;
2203
+ export type Result = "ROLLBACK"|string;
2152
2204
  export interface RetryStageExecutionInput {
2153
2205
  /**
2154
2206
  * The name of the pipeline that contains the failed stage.
@@ -2177,6 +2229,26 @@ declare namespace CodePipeline {
2177
2229
  export type RevisionChangeIdentifier = string;
2178
2230
  export type RevisionSummary = string;
2179
2231
  export type RoleArn = string;
2232
+ export interface RollbackStageInput {
2233
+ /**
2234
+ * The name of the pipeline for which the stage will be rolled back.
2235
+ */
2236
+ pipelineName: PipelineName;
2237
+ /**
2238
+ * The name of the stage in the pipeline to be rolled back.
2239
+ */
2240
+ stageName: StageName;
2241
+ /**
2242
+ * The pipeline execution ID for the stage to be rolled back to.
2243
+ */
2244
+ targetPipelineExecutionId: PipelineExecutionId;
2245
+ }
2246
+ export interface RollbackStageOutput {
2247
+ /**
2248
+ * The execution ID of the pipeline execution for the stage that has been rolled back.
2249
+ */
2250
+ pipelineExecutionId: PipelineExecutionId;
2251
+ }
2180
2252
  export interface S3ArtifactLocation {
2181
2253
  /**
2182
2254
  * The name of the S3 bucket.
@@ -2260,6 +2332,10 @@ declare namespace CodePipeline {
2260
2332
  * The actions included in a stage.
2261
2333
  */
2262
2334
  actions: StageActionDeclarationList;
2335
+ /**
2336
+ * The method to use when a stage has not completed successfully. For example, configuring this field for rollback will roll back a failed stage automatically to the last successful pipeline execution in the stage.
2337
+ */
2338
+ onFailure?: FailureConditions;
2263
2339
  }
2264
2340
  export interface StageExecution {
2265
2341
  /**
@@ -2270,6 +2346,10 @@ declare namespace CodePipeline {
2270
2346
  * The status of the stage, or for a completed stage, the last status of the stage. A status of cancelled means that the pipeline’s definition was updated before the stage execution could be completed.
2271
2347
  */
2272
2348
  status: StageExecutionStatus;
2349
+ /**
2350
+ * The type of pipeline execution for the stage, such as a rollback pipeline execution.
2351
+ */
2352
+ type?: ExecutionType;
2273
2353
  }
2274
2354
  export type StageExecutionList = StageExecution[];
2275
2355
  export type StageExecutionStatus = "Cancelled"|"InProgress"|"Failed"|"Stopped"|"Stopping"|"Succeeded"|string;
@@ -2357,6 +2437,12 @@ declare namespace CodePipeline {
2357
2437
  }
2358
2438
  export type StopPipelineExecutionReason = string;
2359
2439
  export type String = string;
2440
+ export interface SucceededInStageFilter {
2441
+ /**
2442
+ * The name of the stage for filtering for pipeline executions where the stage was successful in the current pipeline version.
2443
+ */
2444
+ stageName?: StageName;
2445
+ }
2360
2446
  export interface Tag {
2361
2447
  /**
2362
2448
  * The tag's key.
@@ -2464,7 +2550,7 @@ declare namespace CodePipeline {
2464
2550
  disabledReason?: DisabledReason;
2465
2551
  }
2466
2552
  export type TriggerDetail = string;
2467
- export type TriggerType = "CreatePipeline"|"StartPipelineExecution"|"PollForSourceChanges"|"Webhook"|"CloudWatchEvent"|"PutActionRevision"|"WebhookV2"|string;
2553
+ export type TriggerType = "CreatePipeline"|"StartPipelineExecution"|"PollForSourceChanges"|"Webhook"|"CloudWatchEvent"|"PutActionRevision"|"WebhookV2"|"ManualRollback"|"AutomatedRollback"|string;
2468
2554
  export interface UntagResourceInput {
2469
2555
  /**
2470
2556
  * The Amazon Resource Name (ARN) of the resource to remove tags from.