Skip to content

Commit d6cf665

Browse files
author
awstools
committed
feat(client-m2): Added name filter ability for ListDataSets API, added ForceUpdate for Updating environment and BatchJob submission using S3BatchJobIdentifier
1 parent 2320c7c commit d6cf665

10 files changed

+442
-15
lines changed

Diff for: clients/client-m2/src/commands/GetBatchJobExecutionCommand.ts

+8
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,14 @@ export interface GetBatchJobExecutionCommandOutput extends GetBatchJobExecutionR
7070
* // scriptBatchJobIdentifier: { // ScriptBatchJobIdentifier
7171
* // scriptName: "STRING_VALUE", // required
7272
* // },
73+
* // s3BatchJobIdentifier: { // S3BatchJobIdentifier
74+
* // bucket: "STRING_VALUE", // required
75+
* // keyPrefix: "STRING_VALUE",
76+
* // identifier: { // JobIdentifier Union: only one key present
77+
* // fileName: "STRING_VALUE",
78+
* // scriptName: "STRING_VALUE",
79+
* // },
80+
* // },
7381
* // },
7482
* // };
7583
*

Diff for: clients/client-m2/src/commands/GetDataSetDetailsCommand.ts

+10
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ export interface GetDataSetDetailsCommandOutput extends GetDataSetDetailsRespons
9191
* // creationTime: new Date("TIMESTAMP"),
9292
* // lastUpdatedTime: new Date("TIMESTAMP"),
9393
* // lastReferencedTime: new Date("TIMESTAMP"),
94+
* // fileSize: Number("long"),
9495
* // };
9596
*
9697
* ```
@@ -104,12 +105,21 @@ export interface GetDataSetDetailsCommandOutput extends GetDataSetDetailsRespons
104105
* @throws {@link AccessDeniedException} (client fault)
105106
* <p>The account or role doesn't have the right permissions to make the request.</p>
106107
*
108+
* @throws {@link ConflictException} (client fault)
109+
* <p>The parameters provided in the request conflict with existing resources.</p>
110+
*
111+
* @throws {@link ExecutionTimeoutException} (server fault)
112+
* <p> Failed to connect to server, or didn’t receive response within expected time period.</p>
113+
*
107114
* @throws {@link InternalServerException} (server fault)
108115
* <p>An unexpected error occurred during the processing of the request.</p>
109116
*
110117
* @throws {@link ResourceNotFoundException} (client fault)
111118
* <p>The specified resource was not found.</p>
112119
*
120+
* @throws {@link ServiceUnavailableException} (server fault)
121+
* <p>Server cannot process the request at the moment.</p>
122+
*
113123
* @throws {@link ThrottlingException} (client fault)
114124
* <p>The number of requests made exceeds the limit.</p>
115125
*

Diff for: clients/client-m2/src/commands/ListBatchJobExecutionsCommand.ts

+8
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,14 @@ export interface ListBatchJobExecutionsCommandOutput extends ListBatchJobExecuti
7979
* // scriptBatchJobIdentifier: { // ScriptBatchJobIdentifier
8080
* // scriptName: "STRING_VALUE", // required
8181
* // },
82+
* // s3BatchJobIdentifier: { // S3BatchJobIdentifier
83+
* // bucket: "STRING_VALUE", // required
84+
* // keyPrefix: "STRING_VALUE",
85+
* // identifier: { // JobIdentifier Union: only one key present
86+
* // fileName: "STRING_VALUE",
87+
* // scriptName: "STRING_VALUE",
88+
* // },
89+
* // },
8290
* // },
8391
* // },
8492
* // ],

Diff for: clients/client-m2/src/commands/ListDataSetImportHistoryCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ export interface ListDataSetImportHistoryCommandOutput extends ListDataSetImport
6363
* // pending: Number("int"), // required
6464
* // inProgress: Number("int"), // required
6565
* // },
66+
* // statusReason: "STRING_VALUE",
6667
* // },
6768
* // ],
6869
* // nextToken: "STRING_VALUE",

Diff for: clients/client-m2/src/commands/ListDataSetsCommand.ts

+10
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ export interface ListDataSetsCommandOutput extends ListDataSetsResponse, __Metad
5151
* nextToken: "STRING_VALUE",
5252
* maxResults: Number("int"),
5353
* prefix: "STRING_VALUE",
54+
* nameFilter: "STRING_VALUE",
5455
* };
5556
* const command = new ListDataSetsCommand(input);
5657
* const response = await client.send(command);
@@ -79,12 +80,21 @@ export interface ListDataSetsCommandOutput extends ListDataSetsResponse, __Metad
7980
* @throws {@link AccessDeniedException} (client fault)
8081
* <p>The account or role doesn't have the right permissions to make the request.</p>
8182
*
83+
* @throws {@link ConflictException} (client fault)
84+
* <p>The parameters provided in the request conflict with existing resources.</p>
85+
*
86+
* @throws {@link ExecutionTimeoutException} (server fault)
87+
* <p> Failed to connect to server, or didn’t receive response within expected time period.</p>
88+
*
8289
* @throws {@link InternalServerException} (server fault)
8390
* <p>An unexpected error occurred during the processing of the request.</p>
8491
*
8592
* @throws {@link ResourceNotFoundException} (client fault)
8693
* <p>The specified resource was not found.</p>
8794
*
95+
* @throws {@link ServiceUnavailableException} (server fault)
96+
* <p>Server cannot process the request at the moment.</p>
97+
*
8898
* @throws {@link ThrottlingException} (client fault)
8999
* <p>The number of requests made exceeds the limit.</p>
90100
*

Diff for: clients/client-m2/src/commands/StartBatchJobCommand.ts

+8
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,14 @@ export interface StartBatchJobCommandOutput extends StartBatchJobResponse, __Met
5555
* scriptBatchJobIdentifier: { // ScriptBatchJobIdentifier
5656
* scriptName: "STRING_VALUE", // required
5757
* },
58+
* s3BatchJobIdentifier: { // S3BatchJobIdentifier
59+
* bucket: "STRING_VALUE", // required
60+
* keyPrefix: "STRING_VALUE",
61+
* identifier: { // JobIdentifier Union: only one key present
62+
* fileName: "STRING_VALUE",
63+
* scriptName: "STRING_VALUE",
64+
* },
65+
* },
5866
* },
5967
* jobParams: { // BatchJobParametersMap
6068
* "<keys>": "STRING_VALUE",

Diff for: clients/client-m2/src/commands/UpdateEnvironmentCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ export interface UpdateEnvironmentCommandOutput extends UpdateEnvironmentRespons
5151
* engineVersion: "STRING_VALUE",
5252
* preferredMaintenanceWindow: "STRING_VALUE",
5353
* applyDuringMaintenanceWindow: true || false,
54+
* forceUpdate: true || false,
5455
* };
5556
* const command = new UpdateEnvironmentCommand(input);
5657
* const response = await client.send(command);

0 commit comments

Comments
 (0)