From 0b8c7d8ae3fde5c92b3160eafcc3c9f8cd5e4e0d Mon Sep 17 00:00:00 2001 From: awstools Date: Wed, 31 Jan 2024 20:15:52 +0000 Subject: [PATCH] feat(client-glue): Update page size limits for GetJobRuns and GetTriggers APIs. --- clients/client-glue/src/models/models_0.ts | 2 +- codegen/sdk-codegen/aws-models/glue.json | 30 +++++++++++++++++----- 2 files changed, 25 insertions(+), 7 deletions(-) diff --git a/clients/client-glue/src/models/models_0.ts b/clients/client-glue/src/models/models_0.ts index 553d048c684ae..88ec77d4dd1da 100644 --- a/clients/client-glue/src/models/models_0.ts +++ b/clients/client-glue/src/models/models_0.ts @@ -6742,7 +6742,7 @@ export interface JobCommand { * @public *

In Ray jobs, Runtime is used to specify the versions of Ray, Python and additional * libraries available in your environment. This field is not used in other job types. For - * supported runtime environment values, see Working with Ray jobs + * supported runtime environment values, see Supported Ray runtime environments * in the Glue Developer Guide.

*/ Runtime?: string; diff --git a/codegen/sdk-codegen/aws-models/glue.json b/codegen/sdk-codegen/aws-models/glue.json index b17cea448e4ff..1658a2ae36184 100644 --- a/codegen/sdk-codegen/aws-models/glue.json +++ b/codegen/sdk-codegen/aws-models/glue.json @@ -17102,7 +17102,7 @@ } }, "MaxResults": { - "target": "com.amazonaws.glue#PageSize", + "target": "com.amazonaws.glue#OrchestrationPageSize200", "traits": { "smithy.api#documentation": "

The maximum size of the response.

" } @@ -19646,7 +19646,7 @@ } }, "MaxResults": { - "target": "com.amazonaws.glue#PageSize", + "target": "com.amazonaws.glue#OrchestrationPageSize200", "traits": { "smithy.api#documentation": "

The maximum size of the response.

" } @@ -22089,7 +22089,7 @@ "Runtime": { "target": "com.amazonaws.glue#RuntimeNameString", "traits": { - "smithy.api#documentation": "

In Ray jobs, Runtime is used to specify the versions of Ray, Python and additional\n libraries available in your environment. This field is not used in other job types. For\n supported runtime environment values, see Working with Ray jobs\n in the Glue Developer Guide.

" + "smithy.api#documentation": "

In Ray jobs, Runtime is used to specify the versions of Ray, Python and additional\n libraries available in your environment. This field is not used in other job types. For\n supported runtime environment values, see Supported Ray runtime environments\n in the Glue Developer Guide.

" } } }, @@ -23188,7 +23188,7 @@ } }, "MaxResults": { - "target": "com.amazonaws.glue#PageSize", + "target": "com.amazonaws.glue#OrchestrationPageSize25", "traits": { "smithy.api#documentation": "

The maximum size of a list to return.

" } @@ -24616,7 +24616,7 @@ } }, "MaxResults": { - "target": "com.amazonaws.glue#PageSize", + "target": "com.amazonaws.glue#OrchestrationPageSize200", "traits": { "smithy.api#documentation": "

The maximum size of a list to return.

" } @@ -24690,7 +24690,7 @@ } }, "MaxResults": { - "target": "com.amazonaws.glue#PageSize", + "target": "com.amazonaws.glue#OrchestrationPageSize25", "traits": { "smithy.api#documentation": "

The maximum size of a list to return.

" } @@ -25996,6 +25996,24 @@ "smithy.api#pattern": "^[\\.\\-_A-Za-z0-9]+$" } }, + "com.amazonaws.glue#OrchestrationPageSize200": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 200 + } + } + }, + "com.amazonaws.glue#OrchestrationPageSize25": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 25 + } + } + }, "com.amazonaws.glue#OrchestrationRoleArn": { "type": "string", "traits": {