Skip to content

Commit 213a474

Browse files
author
awstools
committed
feat(client-neptune-graph): Added argument to list-export to filter by graph ID
1 parent 13ee380 commit 213a474

File tree

4 files changed

+19
-4
lines changed

4 files changed

+19
-4
lines changed

clients/client-neptune-graph/src/commands/ListExportTasksCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export interface ListExportTasksCommandOutput extends ListExportTasksOutput, __M
3636
* // const { NeptuneGraphClient, ListExportTasksCommand } = require("@aws-sdk/client-neptune-graph"); // CommonJS import
3737
* const client = new NeptuneGraphClient(config);
3838
* const input = { // ListExportTasksInput
39+
* graphIdentifier: "STRING_VALUE",
3940
* nextToken: "STRING_VALUE",
4041
* maxResults: Number("int"),
4142
* };

clients/client-neptune-graph/src/models/models_0.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2654,9 +2654,9 @@ export interface CreateGraphUsingImportTaskInput {
26542654
/**
26552655
* <p>The maximum provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph. Default: 1024,
26562656
* or the approved upper limit for your account.</p>
2657-
* <p> If both the minimum and maximum values are specified, the max of the
2658-
* <code>min-provisioned-memory</code> and <code>max-provisioned memory</code> is
2659-
* used to create the graph. If neither value is specified 128 m-NCUs are used.</p>
2657+
* <p> If both the minimum and maximum values are specified, the final
2658+
* <code>provisioned-memory</code> will be chosen per the actual size of your imported data. If neither value is specified,
2659+
* 128 m-NCUs are used.</p>
26602660
* @public
26612661
*/
26622662
maxProvisionedMemory?: number | undefined;
@@ -3175,6 +3175,12 @@ export interface GetImportTaskOutput {
31753175
* @public
31763176
*/
31773177
export interface ListExportTasksInput {
3178+
/**
3179+
* <p>The unique identifier of the Neptune Analytics graph.</p>
3180+
* @public
3181+
*/
3182+
graphIdentifier?: string | undefined;
3183+
31783184
/**
31793185
* <p>Pagination token used to paginate input.</p>
31803186
* @public

clients/client-neptune-graph/src/protocols/Aws_restJson1.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,7 @@ export const se_ListExportTasksCommand = async (
542542
const headers: any = {};
543543
b.bp("/exporttasks");
544544
const query: any = map({
545+
[_gI]: [, input[_gI]!],
545546
[_nT]: [, input[_nT]!],
546547
[_mR]: [() => input.maxResults !== void 0, () => input[_mR]!.toString()],
547548
});

codegen/sdk-codegen/aws-models/neptune-graph.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2305,7 +2305,7 @@
23052305
"maxProvisionedMemory": {
23062306
"target": "com.amazonaws.neptunegraph#ProvisionedMemory",
23072307
"traits": {
2308-
"smithy.api#documentation": "<p>The maximum provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph. Default: 1024,\n or the approved upper limit for your account.</p>\n <p> If both the minimum and maximum values are specified, the max of the\n <code>min-provisioned-memory</code> and <code>max-provisioned memory</code> is\n used to create the graph. If neither value is specified 128 m-NCUs are used.</p>"
2308+
"smithy.api#documentation": "<p>The maximum provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph. Default: 1024,\n or the approved upper limit for your account.</p>\n <p> If both the minimum and maximum values are specified, the final\n <code>provisioned-memory</code> will be chosen per the actual size of your imported data. If neither value is specified, \n 128 m-NCUs are used.</p>"
23092309
}
23102310
},
23112311
"minProvisionedMemory": {
@@ -5220,6 +5220,13 @@
52205220
"com.amazonaws.neptunegraph#ListExportTasksInput": {
52215221
"type": "structure",
52225222
"members": {
5223+
"graphIdentifier": {
5224+
"target": "com.amazonaws.neptunegraph#GraphIdentifier",
5225+
"traits": {
5226+
"smithy.api#documentation": "<p>The unique identifier of the Neptune Analytics graph.</p>",
5227+
"smithy.api#httpQuery": "graphIdentifier"
5228+
}
5229+
},
52235230
"nextToken": {
52245231
"target": "com.amazonaws.neptunegraph#PaginationToken",
52255232
"traits": {

0 commit comments

Comments
 (0)