From c3b27fc6f3de4da179fb307fddb705511d4cd646 Mon Sep 17 00:00:00 2001 From: AWS SDK for Go v2 automation user Date: Fri, 19 Jan 2024 19:14:33 +0000 Subject: [PATCH] Update API model --- codegen/sdk-codegen/aws-models/athena.json | 23 +- codegen/sdk-codegen/aws-models/codebuild.json | 781 +++++++++++++++++- codegen/sdk-codegen/aws-models/dynamodb.json | 170 +++- codegen/sdk-codegen/aws-models/qconnect.json | 2 +- 4 files changed, 937 insertions(+), 39 deletions(-) diff --git a/codegen/sdk-codegen/aws-models/athena.json b/codegen/sdk-codegen/aws-models/athena.json index 2a26b79bb1c..e4d668b23c8 100644 --- a/codegen/sdk-codegen/aws-models/athena.json +++ b/codegen/sdk-codegen/aws-models/athena.json @@ -4568,7 +4568,7 @@ } ], "traits": { - "smithy.api#documentation": "

Imports a single ipynb file to a Spark enabled workgroup. The maximum\n file size that can be imported is 10 megabytes. If an ipynb file with the\n same name already exists in the workgroup, throws an error.

" + "smithy.api#documentation": "

Imports a single ipynb file to a Spark enabled workgroup. To import the\n notebook, the request must specify a value for either Payload or NoteBookS3LocationUri. If neither is specified or both are specified, an\n InvalidRequestException occurs. The maximum file size that can be imported is 10\n megabytes. If an ipynb file with the same name already exists in the\n workgroup, throws an error.

" } }, "com.amazonaws.athena#ImportNotebookInput": { @@ -4591,8 +4591,7 @@ "Payload": { "target": "com.amazonaws.athena#Payload", "traits": { - "smithy.api#documentation": "

The notebook content to be imported.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The notebook content to be imported. The payload must be in ipynb format.

" } }, "Type": { @@ -4602,6 +4601,12 @@ "smithy.api#required": {} } }, + "NotebookS3LocationUri": { + "target": "com.amazonaws.athena#S3Uri", + "traits": { + "smithy.api#documentation": "

A URI that specifies the Amazon S3 location of a notebook file in ipynb format.

" + } + }, "ClientRequestToken": { "target": "com.amazonaws.athena#ClientRequestToken", "traits": { @@ -4939,7 +4944,7 @@ "WorkGroup": { "target": "com.amazonaws.athena#WorkGroupName", "traits": { - "smithy.api#documentation": "

The name of the workgroup. Required if\n making an IAM Identity Center request.

" + "smithy.api#documentation": "

The name of the workgroup. Required if making an IAM Identity Center request.

" } } }, @@ -6618,7 +6623,7 @@ "ServicePreProcessingTimeInMillis": { "target": "com.amazonaws.athena#Long", "traits": { - "smithy.api#documentation": "

The number of milliseconds that Athena took to preprocess the query before submitting the query to the query engine.

" + "smithy.api#documentation": "

The number of milliseconds that Athena took to preprocess the query before\n submitting the query to the query engine.

" } }, "QueryPlanningTimeInMillis": { @@ -6774,7 +6779,7 @@ "ServicePreProcessingTimeInMillis": { "target": "com.amazonaws.athena#Long", "traits": { - "smithy.api#documentation": "

\n The number of milliseconds that Athena spends on preprocessing before it submits the query to the engine.\n

" + "smithy.api#documentation": "

The number of milliseconds that Athena spends on preprocessing before it\n submits the query to the engine.

" } }, "QueryPlanningTimeInMillis": { @@ -7185,7 +7190,7 @@ "ExecutionRole": { "target": "com.amazonaws.athena#RoleArn", "traits": { - "smithy.api#documentation": "

The ARN of the execution role used to access user resources for Spark sessions and Identity Center\n enabled workgroups. This property applies only to Spark enabled workgroups and Identity\n Center enabled workgroups.

" + "smithy.api#documentation": "

The ARN of the execution role used to access user resources for Spark sessions and\n Identity Center enabled workgroups. This property applies only to Spark enabled\n workgroups and Identity Center enabled workgroups.

" } }, "WorkingDirectory": { @@ -8757,7 +8762,7 @@ "ExecutionRole": { "target": "com.amazonaws.athena#RoleArn", "traits": { - "smithy.api#documentation": "

The ARN of the execution role used to access user resources for Spark sessions and Identity Center\n enabled workgroups. This property applies only to Spark enabled workgroups and Identity\n Center enabled workgroups.

" + "smithy.api#documentation": "

The ARN of the execution role used to access user resources for Spark sessions and\n IAM Identity Center enabled workgroups. This property applies only to Spark enabled\n workgroups and IAM Identity Center enabled workgroups. The property is required for\n IAM Identity Center enabled workgroups.

" } }, "CustomerContentEncryptionConfiguration": { @@ -8849,7 +8854,7 @@ "ExecutionRole": { "target": "com.amazonaws.athena#RoleArn", "traits": { - "smithy.api#documentation": "

The ARN of the execution role used to access user resources for Spark sessions and Identity Center\n enabled workgroups. This property applies only to Spark enabled workgroups and Identity\n Center enabled workgroups.

" + "smithy.api#documentation": "

The ARN of the execution role used to access user resources for Spark sessions and\n Identity Center enabled workgroups. This property applies only to Spark enabled\n workgroups and Identity Center enabled workgroups.

" } }, "CustomerContentEncryptionConfiguration": { diff --git a/codegen/sdk-codegen/aws-models/codebuild.json b/codegen/sdk-codegen/aws-models/codebuild.json index fb6ebfbb187..59dc8150881 100644 --- a/codegen/sdk-codegen/aws-models/codebuild.json +++ b/codegen/sdk-codegen/aws-models/codebuild.json @@ -277,6 +277,58 @@ "smithy.api#output": {} } }, + "com.amazonaws.codebuild#BatchGetFleets": { + "type": "operation", + "input": { + "target": "com.amazonaws.codebuild#BatchGetFleetsInput" + }, + "output": { + "target": "com.amazonaws.codebuild#BatchGetFleetsOutput" + }, + "errors": [ + { + "target": "com.amazonaws.codebuild#InvalidInputException" + } + ], + "traits": { + "smithy.api#documentation": "

Gets information about one or more compute fleets.

" + } + }, + "com.amazonaws.codebuild#BatchGetFleetsInput": { + "type": "structure", + "members": { + "names": { + "target": "com.amazonaws.codebuild#FleetNames", + "traits": { + "smithy.api#documentation": "

The names or ARNs of the compute fleets.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.codebuild#BatchGetFleetsOutput": { + "type": "structure", + "members": { + "fleets": { + "target": "com.amazonaws.codebuild#Fleets", + "traits": { + "smithy.api#documentation": "

Information about the requested compute fleets.

" + } + }, + "fleetsNotFound": { + "target": "com.amazonaws.codebuild#FleetNames", + "traits": { + "smithy.api#documentation": "

The names of compute fleets for which information could not be found.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.codebuild#BatchGetProjects": { "type": "operation", "input": { @@ -1434,6 +1486,9 @@ { "target": "com.amazonaws.codebuild#BatchGetBuilds" }, + { + "target": "com.amazonaws.codebuild#BatchGetFleets" + }, { "target": "com.amazonaws.codebuild#BatchGetProjects" }, @@ -1443,6 +1498,9 @@ { "target": "com.amazonaws.codebuild#BatchGetReports" }, + { + "target": "com.amazonaws.codebuild#CreateFleet" + }, { "target": "com.amazonaws.codebuild#CreateProject" }, @@ -1455,6 +1513,9 @@ { "target": "com.amazonaws.codebuild#DeleteBuildBatch" }, + { + "target": "com.amazonaws.codebuild#DeleteFleet" + }, { "target": "com.amazonaws.codebuild#DeleteProject" }, @@ -1506,6 +1567,9 @@ { "target": "com.amazonaws.codebuild#ListCuratedEnvironmentImages" }, + { + "target": "com.amazonaws.codebuild#ListFleets" + }, { "target": "com.amazonaws.codebuild#ListProjects" }, @@ -1548,6 +1612,9 @@ { "target": "com.amazonaws.codebuild#StopBuildBatch" }, + { + "target": "com.amazonaws.codebuild#UpdateFleet" + }, { "target": "com.amazonaws.codebuild#UpdateProject" }, @@ -2745,6 +2812,91 @@ "target": "com.amazonaws.codebuild#NonEmptyString" } }, + "com.amazonaws.codebuild#CreateFleet": { + "type": "operation", + "input": { + "target": "com.amazonaws.codebuild#CreateFleetInput" + }, + "output": { + "target": "com.amazonaws.codebuild#CreateFleetOutput" + }, + "errors": [ + { + "target": "com.amazonaws.codebuild#AccountLimitExceededException" + }, + { + "target": "com.amazonaws.codebuild#InvalidInputException" + }, + { + "target": "com.amazonaws.codebuild#ResourceAlreadyExistsException" + } + ], + "traits": { + "smithy.api#documentation": "

Creates a compute fleet.

" + } + }, + "com.amazonaws.codebuild#CreateFleetInput": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.codebuild#FleetName", + "traits": { + "smithy.api#documentation": "

The name of the compute fleet.

", + "smithy.api#required": {} + } + }, + "baseCapacity": { + "target": "com.amazonaws.codebuild#FleetCapacity", + "traits": { + "smithy.api#documentation": "

The initial number of machines allocated to the fleet, which defines the number of builds that can run in parallel.

", + "smithy.api#required": {} + } + }, + "environmentType": { + "target": "com.amazonaws.codebuild#EnvironmentType", + "traits": { + "smithy.api#documentation": "

The environment type of the compute fleet.

\n \n

For more information, see Build environment compute types in the CodeBuild\n user guide.

", + "smithy.api#required": {} + } + }, + "computeType": { + "target": "com.amazonaws.codebuild#ComputeType", + "traits": { + "smithy.api#documentation": "

Information about the compute resources the compute fleet uses. Available values\n include:

\n \n

If you use BUILD_GENERAL1_SMALL:

\n \n

If you use BUILD_GENERAL1_LARGE:

\n \n

For more information, see Build environment\n compute types in the CodeBuild User Guide.\n

", + "smithy.api#required": {} + } + }, + "scalingConfiguration": { + "target": "com.amazonaws.codebuild#ScalingConfigurationInput", + "traits": { + "smithy.api#documentation": "

The scaling configuration of the compute fleet.

" + } + }, + "tags": { + "target": "com.amazonaws.codebuild#TagList", + "traits": { + "smithy.api#documentation": "

A list of tag key and value pairs associated with this compute fleet.

\n

These tags are available for use by Amazon Web Services services that support CodeBuild build project\n tags.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.codebuild#CreateFleetOutput": { + "type": "structure", + "members": { + "fleet": { + "target": "com.amazonaws.codebuild#Fleet", + "traits": { + "smithy.api#documentation": "

Information about the compute fleet

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.codebuild#CreateProject": { "type": "operation", "input": { @@ -3155,6 +3307,45 @@ "smithy.api#output": {} } }, + "com.amazonaws.codebuild#DeleteFleet": { + "type": "operation", + "input": { + "target": "com.amazonaws.codebuild#DeleteFleetInput" + }, + "output": { + "target": "com.amazonaws.codebuild#DeleteFleetOutput" + }, + "errors": [ + { + "target": "com.amazonaws.codebuild#InvalidInputException" + } + ], + "traits": { + "smithy.api#documentation": "

Deletes a compute fleet. When you delete a compute fleet, its builds are not deleted.

" + } + }, + "com.amazonaws.codebuild#DeleteFleetInput": { + "type": "structure", + "members": { + "arn": { + "target": "com.amazonaws.codebuild#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The ARN of the compute fleet.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.codebuild#DeleteFleetOutput": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.codebuild#DeleteProject": { "type": "operation", "input": { @@ -3773,53 +3964,316 @@ "target": "com.amazonaws.codebuild#EnvironmentVariable" } }, - "com.amazonaws.codebuild#ExportedEnvironmentVariable": { + "com.amazonaws.codebuild#ExportedEnvironmentVariable": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.codebuild#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The name of the exported environment variable.

" + } + }, + "value": { + "target": "com.amazonaws.codebuild#String", + "traits": { + "smithy.api#documentation": "

The value assigned to the exported environment variable.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Contains information about an exported environment variable.

\n

Exported environment variables are used in conjunction with CodePipeline to export\n environment variables from the current build stage to subsequent stages in the pipeline.\n For more information, see Working with variables in the CodePipeline User Guide.

\n \n

During a build, the value of a variable is available starting with the\n install phase. It can be updated between the start of the\n install phase and the end of the post_build phase.\n After the post_build phase ends, the value of exported variables cannot\n change.

\n
" + } + }, + "com.amazonaws.codebuild#ExportedEnvironmentVariables": { + "type": "list", + "member": { + "target": "com.amazonaws.codebuild#ExportedEnvironmentVariable" + } + }, + "com.amazonaws.codebuild#FileSystemType": { + "type": "enum", + "members": { + "EFS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EFS" + } + } + } + }, + "com.amazonaws.codebuild#FilterGroup": { + "type": "list", + "member": { + "target": "com.amazonaws.codebuild#WebhookFilter" + } + }, + "com.amazonaws.codebuild#FilterGroups": { + "type": "list", + "member": { + "target": "com.amazonaws.codebuild#FilterGroup" + } + }, + "com.amazonaws.codebuild#Fleet": { + "type": "structure", + "members": { + "arn": { + "target": "com.amazonaws.codebuild#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The ARN of the compute fleet.

" + } + }, + "name": { + "target": "com.amazonaws.codebuild#FleetName", + "traits": { + "smithy.api#documentation": "

The name of the compute fleet.

" + } + }, + "id": { + "target": "com.amazonaws.codebuild#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The ID of the compute fleet.

" + } + }, + "created": { + "target": "com.amazonaws.codebuild#Timestamp", + "traits": { + "smithy.api#documentation": "

The time at which the compute fleet was created.

" + } + }, + "lastModified": { + "target": "com.amazonaws.codebuild#Timestamp", + "traits": { + "smithy.api#documentation": "

The time at which the compute fleet was last modified.

" + } + }, + "status": { + "target": "com.amazonaws.codebuild#FleetStatus", + "traits": { + "smithy.api#documentation": "

The status of the compute fleet.

" + } + }, + "baseCapacity": { + "target": "com.amazonaws.codebuild#FleetCapacity", + "traits": { + "smithy.api#documentation": "

The initial number of machines allocated to the compute fleet, which defines the number of builds that can run in parallel.

" + } + }, + "environmentType": { + "target": "com.amazonaws.codebuild#EnvironmentType", + "traits": { + "smithy.api#documentation": "

The environment type of the compute fleet.

\n \n

For more information, see Build environment compute types in the CodeBuild\n user guide.

" + } + }, + "computeType": { + "target": "com.amazonaws.codebuild#ComputeType", + "traits": { + "smithy.api#documentation": "

Information about the compute resources the compute fleet uses. Available values\n include:

\n \n

If you use BUILD_GENERAL1_SMALL:

\n \n

If you use BUILD_GENERAL1_LARGE:

\n \n

For more information, see Build environment\n compute types in the CodeBuild User Guide.\n

" + } + }, + "scalingConfiguration": { + "target": "com.amazonaws.codebuild#ScalingConfigurationOutput", + "traits": { + "smithy.api#documentation": "

The scaling configuration of the compute fleet.

" + } + }, + "tags": { + "target": "com.amazonaws.codebuild#TagList", + "traits": { + "smithy.api#documentation": "

A list of tag key and value pairs associated with this compute fleet.

\n

These tags are available for use by Amazon Web Services services that support CodeBuild build project\n tags.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A set of dedicated instances for your build environment.

" + } + }, + "com.amazonaws.codebuild#FleetArns": { + "type": "list", + "member": { + "target": "com.amazonaws.codebuild#NonEmptyString" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.codebuild#FleetCapacity": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1 + } + } + }, + "com.amazonaws.codebuild#FleetContextCode": { + "type": "enum", + "members": { + "CREATE_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATE_FAILED" + } + }, + "UPDATE_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPDATE_FAILED" + } + } + } + }, + "com.amazonaws.codebuild#FleetName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 2, + "max": 128 + }, + "smithy.api#pattern": "^[A-Za-z0-9][A-Za-z0-9\\-_]{1,127}$" + } + }, + "com.amazonaws.codebuild#FleetNames": { + "type": "list", + "member": { + "target": "com.amazonaws.codebuild#NonEmptyString" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.codebuild#FleetScalingMetricType": { + "type": "enum", + "members": { + "FLEET_UTILIZATION_RATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FLEET_UTILIZATION_RATE" + } + } + } + }, + "com.amazonaws.codebuild#FleetScalingType": { + "type": "enum", + "members": { + "TARGET_TRACKING_SCALING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TARGET_TRACKING_SCALING" + } + } + } + }, + "com.amazonaws.codebuild#FleetSortByType": { + "type": "enum", + "members": { + "NAME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NAME" + } + }, + "CREATED_TIME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATED_TIME" + } + }, + "LAST_MODIFIED_TIME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LAST_MODIFIED_TIME" + } + } + } + }, + "com.amazonaws.codebuild#FleetStatus": { "type": "structure", "members": { - "name": { - "target": "com.amazonaws.codebuild#NonEmptyString", + "statusCode": { + "target": "com.amazonaws.codebuild#FleetStatusCode", "traits": { - "smithy.api#documentation": "

The name of the exported environment variable.

" + "smithy.api#documentation": "

The status code of the compute fleet. Valid values include:

\n " } }, - "value": { + "context": { + "target": "com.amazonaws.codebuild#FleetContextCode", + "traits": { + "smithy.api#documentation": "

Additional information about a compute fleet. Valid values include:

\n " + } + }, + "message": { "target": "com.amazonaws.codebuild#String", "traits": { - "smithy.api#documentation": "

The value assigned to the exported environment variable.

" + "smithy.api#documentation": "

A message associated with the status of a compute fleet.

" } } }, "traits": { - "smithy.api#documentation": "

Contains information about an exported environment variable.

\n

Exported environment variables are used in conjunction with CodePipeline to export\n environment variables from the current build stage to subsequent stages in the pipeline.\n For more information, see Working with variables in the CodePipeline User Guide.

\n \n

During a build, the value of a variable is available starting with the\n install phase. It can be updated between the start of the\n install phase and the end of the post_build phase.\n After the post_build phase ends, the value of exported variables cannot\n change.

\n
" - } - }, - "com.amazonaws.codebuild#ExportedEnvironmentVariables": { - "type": "list", - "member": { - "target": "com.amazonaws.codebuild#ExportedEnvironmentVariable" + "smithy.api#documentation": "

The status of the compute fleet.

" } }, - "com.amazonaws.codebuild#FileSystemType": { + "com.amazonaws.codebuild#FleetStatusCode": { "type": "enum", "members": { - "EFS": { + "CREATING": { "target": "smithy.api#Unit", "traits": { - "smithy.api#enumValue": "EFS" + "smithy.api#enumValue": "CREATING" + } + }, + "UPDATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPDATING" + } + }, + "ROTATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ROTATING" + } + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETING" + } + }, + "CREATE_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATE_FAILED" + } + }, + "UPDATE_ROLLBACK_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPDATE_ROLLBACK_FAILED" + } + }, + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" } } } }, - "com.amazonaws.codebuild#FilterGroup": { - "type": "list", - "member": { - "target": "com.amazonaws.codebuild#WebhookFilter" - } - }, - "com.amazonaws.codebuild#FilterGroups": { + "com.amazonaws.codebuild#Fleets": { "type": "list", "member": { - "target": "com.amazonaws.codebuild#FilterGroup" + "target": "com.amazonaws.codebuild#Fleet" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + } } }, "com.amazonaws.codebuild#GetReportGroupTrend": { @@ -4524,6 +4978,80 @@ "smithy.api#output": {} } }, + "com.amazonaws.codebuild#ListFleets": { + "type": "operation", + "input": { + "target": "com.amazonaws.codebuild#ListFleetsInput" + }, + "output": { + "target": "com.amazonaws.codebuild#ListFleetsOutput" + }, + "errors": [ + { + "target": "com.amazonaws.codebuild#InvalidInputException" + } + ], + "traits": { + "smithy.api#documentation": "

Gets a list of compute fleet names with each compute fleet name representing a single compute fleet.

", + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults" + } + } + }, + "com.amazonaws.codebuild#ListFleetsInput": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.codebuild#SensitiveString", + "traits": { + "smithy.api#documentation": "

During a previous call, if there are more than 100 items in the list, only the first\n 100 items are returned, along with a unique string called a\n nextToken. To get the next batch of items in the list, call\n this operation again, adding the next token to the call. To get all of the items in the\n list, keep calling this operation with each subsequent next token that is returned,\n until no more next tokens are returned.

" + } + }, + "maxResults": { + "target": "com.amazonaws.codebuild#PageSize", + "traits": { + "smithy.api#documentation": "

The maximum number of paginated compute fleets returned per response. Use\n nextToken to iterate pages in the list of returned compute fleets.

" + } + }, + "sortOrder": { + "target": "com.amazonaws.codebuild#SortOrderType", + "traits": { + "smithy.api#documentation": "

The order in which to list compute fleets. Valid values include:

\n \n

Use sortBy to specify the criterion to be used to list compute fleet\n names.

" + } + }, + "sortBy": { + "target": "com.amazonaws.codebuild#FleetSortByType", + "traits": { + "smithy.api#documentation": "

The criterion to be used to list compute fleet names. Valid values include:

\n \n

Use sortOrder to specify in what order to list the compute fleet names\n based on the preceding criteria.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.codebuild#ListFleetsOutput": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.codebuild#String", + "traits": { + "smithy.api#documentation": "

If there are more than 100 items in the list, only the first 100 items are returned,\n along with a unique string called a nextToken. To get the next\n batch of items in the list, call this operation again, adding the next token to the\n call.

" + } + }, + "fleets": { + "target": "com.amazonaws.codebuild#FleetArns", + "traits": { + "smithy.api#documentation": "

The list of compute fleet names.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.codebuild#ListProjects": { "type": "operation", "input": { @@ -5599,7 +6127,7 @@ "type": { "target": "com.amazonaws.codebuild#EnvironmentType", "traits": { - "smithy.api#documentation": "

The type of build environment to use for related builds.

\n \n \n \n

For more information, see Build environment compute types in the CodeBuild\n user guide.

", + "smithy.api#documentation": "

The type of build environment to use for related builds.

\n \n \n \n \n

If you're using compute fleets during project creation, type will be ignored.

\n
\n

For more information, see Build environment compute types in the CodeBuild\n user guide.

", "smithy.api#required": {} } }, @@ -5613,10 +6141,16 @@ "computeType": { "target": "com.amazonaws.codebuild#ComputeType", "traits": { - "smithy.api#documentation": "

Information about the compute resources the build project uses. Available values\n include:

\n \n

If you use BUILD_GENERAL1_SMALL:

\n \n

If you use BUILD_GENERAL1_LARGE:

\n \n

For more information, see Build Environment\n Compute Types in the CodeBuild User Guide.\n

", + "smithy.api#documentation": "

Information about the compute resources the build project uses. Available values\n include:

\n \n

If you use BUILD_GENERAL1_SMALL:

\n \n

If you use BUILD_GENERAL1_LARGE:

\n \n \n

If you're using compute fleets during project creation, computeType will be ignored.

\n
\n

For more information, see Build Environment\n Compute Types in the CodeBuild User Guide.\n

", "smithy.api#required": {} } }, + "fleet": { + "target": "com.amazonaws.codebuild#ProjectFleet", + "traits": { + "smithy.api#documentation": "

A ProjectFleet object to use for this build project.

" + } + }, "environmentVariables": { "target": "com.amazonaws.codebuild#EnvironmentVariables", "traits": { @@ -5696,6 +6230,20 @@ "target": "com.amazonaws.codebuild#ProjectFileSystemLocation" } }, + "com.amazonaws.codebuild#ProjectFleet": { + "type": "structure", + "members": { + "fleetArn": { + "target": "com.amazonaws.codebuild#String", + "traits": { + "smithy.api#documentation": "

Specifies the compute fleet ARN for the build project.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Information about the compute fleet of the build project. For more\n information, see Working \n with reserved capacity in CodeBuild.

" + } + }, "com.amazonaws.codebuild#ProjectName": { "type": "string", "traits": { @@ -6708,6 +7256,64 @@ "smithy.api#documentation": "

Information about the S3 bucket where the raw data of a report are exported.

" } }, + "com.amazonaws.codebuild#ScalingConfigurationInput": { + "type": "structure", + "members": { + "scalingType": { + "target": "com.amazonaws.codebuild#FleetScalingType", + "traits": { + "smithy.api#documentation": "

The scaling type for a compute fleet.

" + } + }, + "targetTrackingScalingConfigs": { + "target": "com.amazonaws.codebuild#TargetTrackingScalingConfigurations", + "traits": { + "smithy.api#documentation": "

A list of TargetTrackingScalingConfiguration objects.

" + } + }, + "maxCapacity": { + "target": "com.amazonaws.codebuild#FleetCapacity", + "traits": { + "smithy.api#documentation": "

The maximum number of instances in the fleet when auto-scaling.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The scaling configuration input of a compute fleet.

" + } + }, + "com.amazonaws.codebuild#ScalingConfigurationOutput": { + "type": "structure", + "members": { + "scalingType": { + "target": "com.amazonaws.codebuild#FleetScalingType", + "traits": { + "smithy.api#documentation": "

The scaling type for a compute fleet.

" + } + }, + "targetTrackingScalingConfigs": { + "target": "com.amazonaws.codebuild#TargetTrackingScalingConfigurations", + "traits": { + "smithy.api#documentation": "

A list of TargetTrackingScalingConfiguration objects.

" + } + }, + "maxCapacity": { + "target": "com.amazonaws.codebuild#FleetCapacity", + "traits": { + "smithy.api#documentation": "

The maximum number of instances in the fleet when auto-scaling.

" + } + }, + "desiredCapacity": { + "target": "com.amazonaws.codebuild#FleetCapacity", + "traits": { + "smithy.api#documentation": "

The desired number of instances in the fleet when auto-scaling.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The scaling configuration output of a compute fleet.

" + } + }, "com.amazonaws.codebuild#SecurityGroupIds": { "type": "list", "member": { @@ -6729,6 +7335,12 @@ "smithy.api#sensitive": {} } }, + "com.amazonaws.codebuild#SensitiveString": { + "type": "string", + "traits": { + "smithy.api#sensitive": {} + } + }, "com.amazonaws.codebuild#ServerType": { "type": "enum", "members": { @@ -7338,6 +7950,12 @@ "traits": { "smithy.api#documentation": "

Specifies if session debugging is enabled for this build. For more information, see\n Viewing a running build in Session Manager.

" } + }, + "fleetOverride": { + "target": "com.amazonaws.codebuild#ProjectFleet", + "traits": { + "smithy.api#documentation": "

A ProjectFleet object specified for this build that overrides the one defined in the\n build project.

" + } } }, "traits": { @@ -7541,6 +8159,32 @@ } } }, + "com.amazonaws.codebuild#TargetTrackingScalingConfiguration": { + "type": "structure", + "members": { + "metricType": { + "target": "com.amazonaws.codebuild#FleetScalingMetricType", + "traits": { + "smithy.api#documentation": "

The metric type to determine auto-scaling.

" + } + }, + "targetValue": { + "target": "com.amazonaws.codebuild#WrapperDouble", + "traits": { + "smithy.api#documentation": "

The value of metricType when to start scaling.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Defines when a new instance is auto-scaled into the compute fleet.

" + } + }, + "com.amazonaws.codebuild#TargetTrackingScalingConfigurations": { + "type": "list", + "member": { + "target": "com.amazonaws.codebuild#TargetTrackingScalingConfiguration" + } + }, "com.amazonaws.codebuild#TestCase": { "type": "structure", "members": { @@ -7664,6 +8308,88 @@ "com.amazonaws.codebuild#Timestamp": { "type": "timestamp" }, + "com.amazonaws.codebuild#UpdateFleet": { + "type": "operation", + "input": { + "target": "com.amazonaws.codebuild#UpdateFleetInput" + }, + "output": { + "target": "com.amazonaws.codebuild#UpdateFleetOutput" + }, + "errors": [ + { + "target": "com.amazonaws.codebuild#AccountLimitExceededException" + }, + { + "target": "com.amazonaws.codebuild#InvalidInputException" + }, + { + "target": "com.amazonaws.codebuild#ResourceNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "

Updates a compute fleet.

" + } + }, + "com.amazonaws.codebuild#UpdateFleetInput": { + "type": "structure", + "members": { + "arn": { + "target": "com.amazonaws.codebuild#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The ARN of the compute fleet.

", + "smithy.api#required": {} + } + }, + "baseCapacity": { + "target": "com.amazonaws.codebuild#FleetCapacity", + "traits": { + "smithy.api#documentation": "

The initial number of machines allocated to the compute fleet, which defines the number of builds that can\n run in parallel.

" + } + }, + "environmentType": { + "target": "com.amazonaws.codebuild#EnvironmentType", + "traits": { + "smithy.api#documentation": "

The environment type of the compute fleet.

\n \n

For more information, see Build environment compute types in the CodeBuild\n user guide.

" + } + }, + "computeType": { + "target": "com.amazonaws.codebuild#ComputeType", + "traits": { + "smithy.api#documentation": "

Information about the compute resources the compute fleet uses. Available values\n include:

\n \n

If you use BUILD_GENERAL1_SMALL:

\n \n

If you use BUILD_GENERAL1_LARGE:

\n \n

For more information, see Build environment\n compute types in the CodeBuild User Guide.\n

" + } + }, + "scalingConfiguration": { + "target": "com.amazonaws.codebuild#ScalingConfigurationInput", + "traits": { + "smithy.api#documentation": "

The scaling configuration of the compute fleet.

" + } + }, + "tags": { + "target": "com.amazonaws.codebuild#TagList", + "traits": { + "smithy.api#documentation": "

A list of tag key and value pairs associated with this compute fleet.

\n

These tags are available for use by Amazon Web Services services that support CodeBuild build project\n tags.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.codebuild#UpdateFleetOutput": { + "type": "structure", + "members": { + "fleet": { + "target": "com.amazonaws.codebuild#Fleet", + "traits": { + "smithy.api#documentation": "

A Fleet object.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.codebuild#UpdateProject": { "type": "operation", "input": { @@ -8213,6 +8939,9 @@ "com.amazonaws.codebuild#WrapperBoolean": { "type": "boolean" }, + "com.amazonaws.codebuild#WrapperDouble": { + "type": "double" + }, "com.amazonaws.codebuild#WrapperInt": { "type": "integer" }, diff --git a/codegen/sdk-codegen/aws-models/dynamodb.json b/codegen/sdk-codegen/aws-models/dynamodb.json index 1d677d5f7d3..bfa78eaf3b6 100644 --- a/codegen/sdk-codegen/aws-models/dynamodb.json +++ b/codegen/sdk-codegen/aws-models/dynamodb.json @@ -29,6 +29,23 @@ ] }, "shapes": { + "com.amazonaws.dynamodb#ApproximateCreationDateTimePrecision": { + "type": "enum", + "members": { + "MILLISECOND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MILLISECOND" + } + }, + "MICROSECOND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MICROSECOND" + } + } + } + }, "com.amazonaws.dynamodb#ArchivalReason": { "type": "string" }, @@ -3475,6 +3492,12 @@ "traits": { "smithy.api#enumValue": "ENABLE_FAILED" } + }, + "UPDATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPDATING" + } } } }, @@ -3679,6 +3702,9 @@ { "target": "com.amazonaws.dynamodb#UpdateItem" }, + { + "target": "com.amazonaws.dynamodb#UpdateKinesisStreamingDestination" + }, { "target": "com.amazonaws.dynamodb#UpdateTable" }, @@ -4791,6 +4817,20 @@ } } }, + "com.amazonaws.dynamodb#EnableKinesisStreamingConfiguration": { + "type": "structure", + "members": { + "ApproximateCreationDateTimePrecision": { + "target": "com.amazonaws.dynamodb#ApproximateCreationDateTimePrecision", + "traits": { + "smithy.api#documentation": "

Toggle for the precision of Kinesis data stream timestamp. The values are either MILLISECOND or MICROSECOND.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Enables setting the configuration for Kinesis Streaming.

" + } + }, "com.amazonaws.dynamodb#EnableKinesisStreamingDestination": { "type": "operation", "input": { @@ -6959,6 +6999,12 @@ "traits": { "smithy.api#documentation": "

The human-readable string that corresponds to the replica status.

" } + }, + "ApproximateCreationDateTimePrecision": { + "target": "com.amazonaws.dynamodb#ApproximateCreationDateTimePrecision", + "traits": { + "smithy.api#documentation": "

The precision of the Kinesis data stream timestamp. The values are either MILLISECOND or MICROSECOND.

" + } } }, "traits": { @@ -6987,6 +7033,12 @@ "smithy.api#documentation": "

The ARN for a Kinesis data stream.

", "smithy.api#required": {} } + }, + "EnableKinesisStreamingConfiguration": { + "target": "com.amazonaws.dynamodb#EnableKinesisStreamingConfiguration", + "traits": { + "smithy.api#documentation": "

The source for the Kinesis streaming information that is being enabled.

" + } } } }, @@ -7010,6 +7062,12 @@ "traits": { "smithy.api#documentation": "

The current status of the replication.

" } + }, + "EnableKinesisStreamingConfiguration": { + "target": "com.amazonaws.dynamodb#EnableKinesisStreamingConfiguration", + "traits": { + "smithy.api#documentation": "

The destination for the Kinesis streaming information that is being enabled.

" + } } } }, @@ -7777,7 +7835,7 @@ "Statement": { "target": "com.amazonaws.dynamodb#PartiQLStatement", "traits": { - "smithy.api#documentation": "

A PartiQL statment that uses parameters.

", + "smithy.api#documentation": "

A PartiQL statement that uses parameters.

", "smithy.api#required": {} } }, @@ -7795,7 +7853,7 @@ } }, "traits": { - "smithy.api#documentation": "

Represents a PartiQL statment that uses parameters.

" + "smithy.api#documentation": "

Represents a PartiQL statement that uses parameters.

" } }, "com.amazonaws.dynamodb#ParameterizedStatements": { @@ -11743,6 +11801,112 @@ "smithy.api#output": {} } }, + "com.amazonaws.dynamodb#UpdateKinesisStreamingConfiguration": { + "type": "structure", + "members": { + "ApproximateCreationDateTimePrecision": { + "target": "com.amazonaws.dynamodb#ApproximateCreationDateTimePrecision", + "traits": { + "smithy.api#documentation": "

Enables updating the precision of Kinesis data stream timestamp.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Enables updating the configuration for Kinesis Streaming.

" + } + }, + "com.amazonaws.dynamodb#UpdateKinesisStreamingDestination": { + "type": "operation", + "input": { + "target": "com.amazonaws.dynamodb#UpdateKinesisStreamingDestinationInput" + }, + "output": { + "target": "com.amazonaws.dynamodb#UpdateKinesisStreamingDestinationOutput" + }, + "errors": [ + { + "target": "com.amazonaws.dynamodb#InternalServerError" + }, + { + "target": "com.amazonaws.dynamodb#InvalidEndpointException" + }, + { + "target": "com.amazonaws.dynamodb#LimitExceededException" + }, + { + "target": "com.amazonaws.dynamodb#ResourceInUseException" + }, + { + "target": "com.amazonaws.dynamodb#ResourceNotFoundException" + } + ], + "traits": { + "aws.api#clientDiscoveredEndpoint": { + "required": false + }, + "smithy.api#documentation": "

The command to update the Kinesis stream destination.

" + } + }, + "com.amazonaws.dynamodb#UpdateKinesisStreamingDestinationInput": { + "type": "structure", + "members": { + "TableName": { + "target": "com.amazonaws.dynamodb#TableName", + "traits": { + "smithy.api#documentation": "

The table name for the Kinesis streaming destination input.

", + "smithy.api#required": {} + } + }, + "StreamArn": { + "target": "com.amazonaws.dynamodb#StreamArn", + "traits": { + "smithy.api#documentation": "

The ARN for the Kinesis stream input.

", + "smithy.api#required": {} + } + }, + "UpdateKinesisStreamingConfiguration": { + "target": "com.amazonaws.dynamodb#UpdateKinesisStreamingConfiguration", + "traits": { + "smithy.api#documentation": "

The command to update the Kinesis stream configuration.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.dynamodb#UpdateKinesisStreamingDestinationOutput": { + "type": "structure", + "members": { + "TableName": { + "target": "com.amazonaws.dynamodb#TableName", + "traits": { + "smithy.api#documentation": "

The table name for the Kinesis streaming destination output.

" + } + }, + "StreamArn": { + "target": "com.amazonaws.dynamodb#StreamArn", + "traits": { + "smithy.api#documentation": "

The ARN for the Kinesis stream input.

" + } + }, + "DestinationStatus": { + "target": "com.amazonaws.dynamodb#DestinationStatus", + "traits": { + "smithy.api#documentation": "

The status of the attempt to update the Kinesis streaming destination output.

" + } + }, + "UpdateKinesisStreamingConfiguration": { + "target": "com.amazonaws.dynamodb#UpdateKinesisStreamingConfiguration", + "traits": { + "smithy.api#documentation": "

The command to update the Kinesis streaming destination configuration.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.dynamodb#UpdateReplicationGroupMemberAction": { "type": "structure", "members": { @@ -11851,7 +12015,7 @@ "StreamSpecification": { "target": "com.amazonaws.dynamodb#StreamSpecification", "traits": { - "smithy.api#documentation": "

Represents the DynamoDB Streams configuration for the table.

\n \n

You receive a ValidationException if you try to enable a stream on a\n table that already has a stream, or if you try to disable a stream on a table that\n doesn't have a stream.

\n
" + "smithy.api#documentation": "

Represents the DynamoDB Streams configuration for the table.

\n \n

You receive a ResourceInUseException if you try to enable a stream on\n a table that already has a stream, or if you try to disable a stream on a table that\n doesn't have a stream.

\n
" } }, "SSESpecification": { diff --git a/codegen/sdk-codegen/aws-models/qconnect.json b/codegen/sdk-codegen/aws-models/qconnect.json index 08f8ee49d72..52019425c48 100644 --- a/codegen/sdk-codegen/aws-models/qconnect.json +++ b/codegen/sdk-codegen/aws-models/qconnect.json @@ -4757,7 +4757,7 @@ "traits": { "smithy.api#length": { "min": 1, - "max": 40 + "max": 100 } } },