From c9d4f9468a931e755f61f41d6238bbc618051742 Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Thu, 28 Jan 2021 11:10:43 -0800 Subject: [PATCH] Release v1.37.0 (2021-01-28) (#3761) Release v1.37.0 (2021-01-28) === ### Service Client Updates * `service/databrew`: Updates service API and documentation * `service/iot`: Updates service documentation * Documentation updates for IoT DeleteOTAUpdate API * `service/managedblockchain`: Updates service API and documentation * `service/monitoring`: Updates service API and documentation * Update to SDK to support label time zones in CloudWatch GetMetricData * `service/robomaker`: Updates service API and documentation * `service/wellarchitected`: Updates service documentation ### SDK Features * `aws/credentials/ssocreds`: Add support for AWS Single Sign-On (SSO) Credential Provider ([#3755](https://github.com/aws/aws-sdk-go/pull/3755)) * `aws/session`: Support has been added to resolve shared configuration profiles that are configured for AWS Single Sign-On (SSO) ([#3755](https://github.com/aws/aws-sdk-go/pull/3755)) --- CHANGELOG.md | 17 + CHANGELOG_PENDING.md | 2 - aws/endpoints/defaults.go | 21 +- aws/version.go | 2 +- models/apis/databrew/2017-07-25/api-2.json | 57 +- models/apis/databrew/2017-07-25/docs-2.json | 265 +++--- models/apis/iot/2015-05-28/docs-2.json | 4 +- .../managedblockchain/2018-09-24/api-2.json | 211 ++++- .../managedblockchain/2018-09-24/docs-2.json | 122 ++- models/apis/monitoring/2010-08-01/api-2.json | 10 +- models/apis/monitoring/2010-08-01/docs-2.json | 14 +- models/apis/robomaker/2018-06-29/api-2.json | 37 +- models/apis/robomaker/2018-06-29/docs-2.json | 31 +- .../wellarchitected/2020-03-31/docs-2.json | 4 +- models/endpoints/endpoints.json | 10 + service/cloudwatch/api.go | 48 + service/gluedatabrew/api.go | 638 +++++++++---- service/iot/api.go | 10 +- service/managedblockchain/api.go | 887 +++++++++++++++++- service/managedblockchain/doc.go | 3 +- service/managedblockchain/errors.go | 9 +- .../managedblockchainiface/interface.go | 12 + service/robomaker/api.go | 185 +++- service/wellarchitected/api.go | 6 + service/wellarchitected/doc.go | 79 +- 25 files changed, 2190 insertions(+), 494 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f1bf0c9797..c798953f1cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,20 @@ +Release v1.37.0 (2021-01-28) +=== + +### Service Client Updates +* `service/databrew`: Updates service API and documentation +* `service/iot`: Updates service documentation + * Documentation updates for IoT DeleteOTAUpdate API +* `service/managedblockchain`: Updates service API and documentation +* `service/monitoring`: Updates service API and documentation + * Update to SDK to support label time zones in CloudWatch GetMetricData +* `service/robomaker`: Updates service API and documentation +* `service/wellarchitected`: Updates service documentation + +### SDK Features +* `aws/credentials/ssocreds`: Add support for AWS Single Sign-On (SSO) Credential Provider ([#3755](https://github.com/aws/aws-sdk-go/pull/3755)) +* `aws/session`: Support has been added to resolve shared configuration profiles that are configured for AWS Single Sign-On (SSO) ([#3755](https://github.com/aws/aws-sdk-go/pull/3755)) + Release v1.36.33 (2021-01-27) === diff --git a/CHANGELOG_PENDING.md b/CHANGELOG_PENDING.md index 8944568c448..8a1927a39ca 100644 --- a/CHANGELOG_PENDING.md +++ b/CHANGELOG_PENDING.md @@ -1,6 +1,4 @@ ### SDK Features -* `aws/credentials/ssocreds`: Add support for AWS Single Sign-On (SSO) Credential Provider ([#3755](https://github.com/aws/aws-sdk-go/pull/3755)) -* `aws/session`: Support has been added to resolve shared configuration profiles that are configured for AWS Single Sign-On (SSO) ([#3755](https://github.com/aws/aws-sdk-go/pull/3755)) ### SDK Enhancements diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index f316453e095..3cc48800d6d 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -1438,6 +1438,7 @@ var awsPartition = partition{ "ca-central-1": endpoint{}, "eu-central-1": endpoint{}, "eu-north-1": endpoint{}, + "eu-south-1": endpoint{}, "eu-west-1": endpoint{}, "eu-west-2": endpoint{}, "eu-west-3": endpoint{}, @@ -3078,6 +3079,7 @@ var awsPartition = partition{ "fsx": service{ Endpoints: endpoints{ + "af-south-1": endpoint{}, "ap-east-1": endpoint{}, "ap-northeast-1": endpoint{}, "ap-northeast-2": endpoint{}, @@ -3087,6 +3089,7 @@ var awsPartition = partition{ "ca-central-1": endpoint{}, "eu-central-1": endpoint{}, "eu-north-1": endpoint{}, + "eu-south-1": endpoint{}, "eu-west-1": endpoint{}, "eu-west-2": endpoint{}, "eu-west-3": endpoint{}, @@ -3120,11 +3123,12 @@ var awsPartition = partition{ Region: "us-west-2", }, }, - "sa-east-1": endpoint{}, - "us-east-1": endpoint{}, - "us-east-2": endpoint{}, - "us-west-1": endpoint{}, - "us-west-2": endpoint{}, + "me-south-1": endpoint{}, + "sa-east-1": endpoint{}, + "us-east-1": endpoint{}, + "us-east-2": endpoint{}, + "us-west-1": endpoint{}, + "us-west-2": endpoint{}, }, }, "gamelift": service{ @@ -3784,6 +3788,7 @@ var awsPartition = partition{ "lakeformation": service{ Endpoints: endpoints{ + "ap-east-1": endpoint{}, "ap-northeast-1": endpoint{}, "ap-northeast-2": endpoint{}, "ap-south-1": endpoint{}, @@ -9963,6 +9968,12 @@ var awsisoPartition = partition{ }, }, }, + "ssm": service{ + + Endpoints: endpoints{ + "us-iso-east-1": endpoint{}, + }, + }, "states": service{ Endpoints: endpoints{ diff --git a/aws/version.go b/aws/version.go index 157116be54f..cf26997eb29 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.36.33" +const SDKVersion = "1.37.0" diff --git a/models/apis/databrew/2017-07-25/api-2.json b/models/apis/databrew/2017-07-25/api-2.json index 46a539aa511..7d7535ff109 100644 --- a/models/apis/databrew/2017-07-25/api-2.json +++ b/models/apis/databrew/2017-07-25/api-2.json @@ -50,6 +50,10 @@ "input":{"shape":"CreateProfileJobRequest"}, "output":{"shape":"CreateProfileJobResponse"}, "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"ConflictException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ServiceQuotaExceededException"}, {"shape":"ValidationException"} ] }, @@ -91,6 +95,10 @@ "input":{"shape":"CreateRecipeJobRequest"}, "output":{"shape":"CreateRecipeJobResponse"}, "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"ConflictException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ServiceQuotaExceededException"}, {"shape":"ValidationException"} ] }, @@ -103,6 +111,8 @@ "input":{"shape":"CreateScheduleRequest"}, "output":{"shape":"CreateScheduleResponse"}, "errors":[ + {"shape":"ConflictException"}, + {"shape":"ServiceQuotaExceededException"}, {"shape":"ValidationException"} ] }, @@ -115,6 +125,7 @@ "input":{"shape":"DeleteDatasetRequest"}, "output":{"shape":"DeleteDatasetResponse"}, "errors":[ + {"shape":"ConflictException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"} ] @@ -128,6 +139,7 @@ "input":{"shape":"DeleteJobRequest"}, "output":{"shape":"DeleteJobResponse"}, "errors":[ + {"shape":"ConflictException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"} ] @@ -141,6 +153,7 @@ "input":{"shape":"DeleteProjectRequest"}, "output":{"shape":"DeleteProjectResponse"}, "errors":[ + {"shape":"ConflictException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"} ] @@ -154,6 +167,7 @@ "input":{"shape":"DeleteRecipeVersionRequest"}, "output":{"shape":"DeleteRecipeVersionResponse"}, "errors":[ + {"shape":"ConflictException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"} ] @@ -345,7 +359,8 @@ "output":{"shape":"PublishRecipeResponse"}, "errors":[ {"shape":"ValidationException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"ResourceNotFoundException"}, + {"shape":"ServiceQuotaExceededException"} ] }, "SendProjectSessionAction":{ @@ -371,7 +386,9 @@ "input":{"shape":"StartJobRunRequest"}, "output":{"shape":"StartJobRunResponse"}, "errors":[ + {"shape":"ConflictException"}, {"shape":"ResourceNotFoundException"}, + {"shape":"ServiceQuotaExceededException"}, {"shape":"ValidationException"} ] }, @@ -384,7 +401,9 @@ "input":{"shape":"StartProjectSessionRequest"}, "output":{"shape":"StartProjectSessionResponse"}, "errors":[ + {"shape":"ConflictException"}, {"shape":"ResourceNotFoundException"}, + {"shape":"ServiceQuotaExceededException"}, {"shape":"ValidationException"} ] }, @@ -438,6 +457,7 @@ "input":{"shape":"UpdateDatasetRequest"}, "output":{"shape":"UpdateDatasetResponse"}, "errors":[ + {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"} ] @@ -451,6 +471,8 @@ "input":{"shape":"UpdateProfileJobRequest"}, "output":{"shape":"UpdateProfileJobResponse"}, "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"} ] }, @@ -489,6 +511,8 @@ "input":{"shape":"UpdateRecipeJobRequest"}, "output":{"shape":"UpdateRecipeJobResponse"}, "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"} ] }, @@ -501,6 +525,8 @@ "input":{"shape":"UpdateScheduleRequest"}, "output":{"shape":"UpdateScheduleResponse"}, "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"ServiceQuotaExceededException"}, {"shape":"ValidationException"} ] } @@ -777,6 +803,18 @@ "max":512, "min":1 }, + "CsvOptions":{ + "type":"structure", + "members":{ + "Delimiter":{"shape":"Delimiter"} + } + }, + "CsvOutputOptions":{ + "type":"structure", + "members":{ + "Delimiter":{"shape":"Delimiter"} + } + }, "DataCatalogInputDefinition":{ "type":"structure", "required":[ @@ -927,6 +965,11 @@ "Name":{"shape":"ScheduleName"} } }, + "Delimiter":{ + "type":"string", + "max":1, + "min":1 + }, "DescribeDatasetRequest":{ "type":"structure", "required":["Name"], @@ -1113,7 +1156,8 @@ "type":"structure", "members":{ "Json":{"shape":"JsonOptions"}, - "Excel":{"shape":"ExcelOptions"} + "Excel":{"shape":"ExcelOptions"}, + "Csv":{"shape":"CsvOptions"} } }, "HiddenColumnList":{ @@ -1489,7 +1533,8 @@ "Format":{"shape":"OutputFormat"}, "PartitionColumns":{"shape":"ColumnNameList"}, "Location":{"shape":"S3Location"}, - "Overwrite":{"shape":"OverwriteOutput"} + "Overwrite":{"shape":"OverwriteOutput"}, + "FormatOptions":{"shape":"OutputFormatOptions"} } }, "OutputFormat":{ @@ -1504,6 +1549,12 @@ "XML" ] }, + "OutputFormatOptions":{ + "type":"structure", + "members":{ + "Csv":{"shape":"CsvOutputOptions"} + } + }, "OutputList":{ "type":"list", "member":{"shape":"Output"}, diff --git a/models/apis/databrew/2017-07-25/docs-2.json b/models/apis/databrew/2017-07-25/docs-2.json index 21fa261d465..8007b67017f 100644 --- a/models/apis/databrew/2017-07-25/docs-2.json +++ b/models/apis/databrew/2017-07-25/docs-2.json @@ -2,44 +2,44 @@ "version": "2.0", "service": "

AWS Glue DataBrew is a visual, cloud-scale data-preparation service. DataBrew simplifies data preparation tasks, targeting data issues that are hard to spot and time-consuming to fix. DataBrew empowers users of all technical levels to visualize the data and perform one-click data transformations, with no coding required.

", "operations": { - "BatchDeleteRecipeVersion": "

Deletes one or more versions of a recipe at a time.

", - "CreateDataset": "

Creates a new AWS Glue DataBrew dataset for this AWS account.

", - "CreateProfileJob": "

Creates a new job to profile an AWS Glue DataBrew dataset that exists in the current AWS account.

", - "CreateProject": "

Creates a new AWS Glue DataBrew project in the current AWS account.

", - "CreateRecipe": "

Creates a new AWS Glue DataBrew recipe for the current AWS account.

", - "CreateRecipeJob": "

Creates a new job for an existing AWS Glue DataBrew recipe in the current AWS account. You can create a standalone job using either a project, or a combination of a recipe and a dataset.

", - "CreateSchedule": "

Creates a new schedule for one or more AWS Glue DataBrew jobs. Jobs can be run at a specific date and time, or at regular intervals.

", - "DeleteDataset": "

Deletes a dataset from AWS Glue DataBrew.

", - "DeleteJob": "

Deletes the specified AWS Glue DataBrew job from the current AWS account. The job can be for a recipe or for a profile.

", - "DeleteProject": "

Deletes an existing AWS Glue DataBrew project from the current AWS account.

", - "DeleteRecipeVersion": "

Deletes a single version of an AWS Glue DataBrew recipe.

", - "DeleteSchedule": "

Deletes the specified AWS Glue DataBrew schedule from the current AWS account.

", - "DescribeDataset": "

Returns the definition of a specific AWS Glue DataBrew dataset that is in the current AWS account.

", - "DescribeJob": "

Returns the definition of a specific AWS Glue DataBrew job that is in the current AWS account.

", - "DescribeProject": "

Returns the definition of a specific AWS Glue DataBrew project that is in the current AWS account.

", - "DescribeRecipe": "

Returns the definition of a specific AWS Glue DataBrew recipe that is in the current AWS account.

", - "DescribeSchedule": "

Returns the definition of a specific AWS Glue DataBrew schedule that is in the current AWS account.

", - "ListDatasets": "

Lists all of the AWS Glue DataBrew datasets for the current AWS account.

", - "ListJobRuns": "

Lists all of the previous runs of a particular AWS Glue DataBrew job in the current AWS account.

", - "ListJobs": "

Lists the AWS Glue DataBrew jobs in the current AWS account.

", - "ListProjects": "

Lists all of the DataBrew projects in the current AWS account.

", - "ListRecipeVersions": "

Lists all of the versions of a particular AWS Glue DataBrew recipe in the current AWS account.

", - "ListRecipes": "

Lists all of the AWS Glue DataBrew recipes in the current AWS account.

", - "ListSchedules": "

Lists the AWS Glue DataBrew schedules in the current AWS account.

", - "ListTagsForResource": "

Lists all the tags for an AWS Glue DataBrew resource.

", - "PublishRecipe": "

Publishes a new major version of an AWS Glue DataBrew recipe that exists in the current AWS account.

", - "SendProjectSessionAction": "

Performs a recipe step within an interactive AWS Glue DataBrew session that's currently open.

", - "StartJobRun": "

Runs an AWS Glue DataBrew job that exists in the current AWS account.

", - "StartProjectSession": "

Creates an interactive session, enabling you to manipulate an AWS Glue DataBrew project.

", - "StopJobRun": "

Stops the specified job from running in the current AWS account.

", - "TagResource": "

Adds metadata tags to an AWS Glue DataBrew resource, such as a dataset, job, project, or recipe.

", - "UntagResource": "

Removes metadata tags from an AWS Glue DataBrew resource.

", - "UpdateDataset": "

Modifies the definition of an existing AWS Glue DataBrew dataset in the current AWS account.

", - "UpdateProfileJob": "

Modifies the definition of an existing AWS Glue DataBrew job in the current AWS account.

", - "UpdateProject": "

Modifies the definition of an existing AWS Glue DataBrew project in the current AWS account.

", - "UpdateRecipe": "

Modifies the definition of the latest working version of an AWS Glue DataBrew recipe in the current AWS account.

", - "UpdateRecipeJob": "

Modifies the definition of an existing AWS Glue DataBrew recipe job in the current AWS account.

", - "UpdateSchedule": "

Modifies the definition of an existing AWS Glue DataBrew schedule in the current AWS account.

" + "BatchDeleteRecipeVersion": "

Deletes one or more versions of a recipe at a time.

The entire request will be rejected if:

The request will complete successfully, but with partial failures, if:

The LATEST_WORKING version will only be deleted if the recipe has no other versions. If you try to delete LATEST_WORKING while other versions exist (or if they can't be deleted), then LATEST_WORKING will be listed as partial failure in the response.

", + "CreateDataset": "

Creates a new DataBrew dataset.

", + "CreateProfileJob": "

Creates a new job to analyze a dataset and create its data profile.

", + "CreateProject": "

Creates a new DataBrew project.

", + "CreateRecipe": "

Creates a new DataBrew recipe.

", + "CreateRecipeJob": "

Creates a new job to transform input data, using steps defined in an existing AWS Glue DataBrew recipe

", + "CreateSchedule": "

Creates a new schedule for one or more DataBrew jobs. Jobs can be run at a specific date and time, or at regular intervals.

", + "DeleteDataset": "

Deletes a dataset from DataBrew.

", + "DeleteJob": "

Deletes the specified DataBrew job.

", + "DeleteProject": "

Deletes an existing DataBrew project.

", + "DeleteRecipeVersion": "

Deletes a single version of a DataBrew recipe.

", + "DeleteSchedule": "

Deletes the specified DataBrew schedule.

", + "DescribeDataset": "

Returns the definition of a specific DataBrew dataset.

", + "DescribeJob": "

Returns the definition of a specific DataBrew job.

", + "DescribeProject": "

Returns the definition of a specific DataBrew project.

", + "DescribeRecipe": "

Returns the definition of a specific DataBrew recipe corresponding to a particular version.

", + "DescribeSchedule": "

Returns the definition of a specific DataBrew schedule.

", + "ListDatasets": "

Lists all of the DataBrew datasets.

", + "ListJobRuns": "

Lists all of the previous runs of a particular DataBrew job.

", + "ListJobs": "

Lists all of the DataBrew jobs that are defined.

", + "ListProjects": "

Lists all of the DataBrew projects that are defined.

", + "ListRecipeVersions": "

Lists the versions of a particular DataBrew recipe, except for LATEST_WORKING.

", + "ListRecipes": "

Lists all of the DataBrew recipes that are defined.

", + "ListSchedules": "

Lists the DataBrew schedules that are defined.

", + "ListTagsForResource": "

Lists all the tags for a DataBrew resource.

", + "PublishRecipe": "

Publishes a new version of a DataBrew recipe.

", + "SendProjectSessionAction": "

Performs a recipe step within an interactive DataBrew session that's currently open.

", + "StartJobRun": "

Runs a DataBrew job.

", + "StartProjectSession": "

Creates an interactive session, enabling you to manipulate data in a DataBrew project.

", + "StopJobRun": "

Stops a particular run of a job.

", + "TagResource": "

Adds metadata tags to a DataBrew resource, such as a dataset, project, recipe, job, or schedule.

", + "UntagResource": "

Removes metadata tags from a DataBrew resource.

", + "UpdateDataset": "

Modifies the definition of an existing DataBrew dataset.

", + "UpdateProfileJob": "

Modifies the definition of an existing profile job.

", + "UpdateProject": "

Modifies the definition of an existing DataBrew project.

", + "UpdateRecipe": "

Modifies the definition of the LATEST_WORKING version of a DataBrew recipe.

", + "UpdateRecipeJob": "

Modifies the definition of an existing DataBrew recipe job.

", + "UpdateSchedule": "

Modifies the definition of an existing DataBrew schedule.

" }, "shapes": { "AccessDeniedException": { @@ -65,15 +65,15 @@ "Arn": { "base": null, "refs": { - "CreateProfileJobRequest$RoleArn": "

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role to be assumed for this request.

", + "CreateProfileJobRequest$RoleArn": "

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role to be assumed when DataBrew runs the job.

", "CreateProjectRequest$RoleArn": "

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role to be assumed for this request.

", - "CreateRecipeJobRequest$RoleArn": "

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role to be assumed for this request.

", + "CreateRecipeJobRequest$RoleArn": "

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role to be assumed when DataBrew runs the job.

", "Dataset$ResourceArn": "

The unique Amazon Resource Name (ARN) for the dataset.

", "DescribeDatasetResponse$ResourceArn": "

The Amazon Resource Name (ARN) of the dataset.

", "DescribeJobResponse$ResourceArn": "

The Amazon Resource Name (ARN) of the job.

", - "DescribeJobResponse$RoleArn": "

The ARN of the AWS Identity and Access Management (IAM) role that was assumed for this request.

", + "DescribeJobResponse$RoleArn": "

The ARN of the AWS Identity and Access Management (IAM) role to be assumed when DataBrew runs the job.

", "DescribeProjectResponse$ResourceArn": "

The Amazon Resource Name (ARN) of the project.

", - "DescribeProjectResponse$RoleArn": "

The ARN of the AWS Identity and Access Management (IAM) role that was assumed for this request.

", + "DescribeProjectResponse$RoleArn": "

The ARN of the AWS Identity and Access Management (IAM) role to be assumed when DataBrew runs the job.

", "DescribeRecipeResponse$ResourceArn": "

The ARN of the recipe.

", "DescribeScheduleResponse$ResourceArn": "

The Amazon Resource Name (ARN) of the schedule.

", "Job$ResourceArn": "

The unique Amazon Resource Name (ARN) for the job.

", @@ -84,10 +84,10 @@ "Recipe$ResourceArn": "

The Amazon Resource Name (ARN) for the recipe.

", "Schedule$ResourceArn": "

The Amazon Resource Name (ARN) of the schedule.

", "TagResourceRequest$ResourceArn": "

The DataBrew resource to which tags should be added. The value for this parameter is an Amazon Resource Name (ARN). For DataBrew, you can tag a dataset, a job, a project, or a recipe.

", - "UntagResourceRequest$ResourceArn": "

An DataBrew resource from which you want to remove a tag or tags. The value for this parameter is an Amazon Resource Name (ARN).

", - "UpdateProfileJobRequest$RoleArn": "

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role to be assumed for this request.

", + "UntagResourceRequest$ResourceArn": "

A DataBrew resource from which you want to remove a tag or tags. The value for this parameter is an Amazon Resource Name (ARN).

", + "UpdateProfileJobRequest$RoleArn": "

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role to be assumed when DataBrew runs the job.

", "UpdateProjectRequest$RoleArn": "

The Amazon Resource Name (ARN) of the IAM role to be assumed for this request.

", - "UpdateRecipeJobRequest$RoleArn": "

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role to be assumed for this request.

" + "UpdateRecipeJobRequest$RoleArn": "

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role to be assumed when DataBrew runs the job.

" } }, "AssumeControl": { @@ -159,7 +159,7 @@ "Condition": { "base": null, "refs": { - "ConditionExpression$Condition": "

A specific condition to apply to a recipe action. For more information, see Recipe structure in the AWS Glue DataBrew Developer Guide.

" + "ConditionExpression$Condition": "

A specific condition to apply to a recipe action. For more information, see Recipe structure in the AWS Glue DataBrew Developer Guide.

" } }, "ConditionExpression": { @@ -248,29 +248,41 @@ "CreatedBy": { "base": null, "refs": { - "Dataset$CreatedBy": "

The identifier (the user name) of the user who created the dataset.

", + "Dataset$CreatedBy": "

The Amazon Resource Name (ARN) of the user who created the dataset.

", "DescribeDatasetResponse$CreatedBy": "

The identifier (user name) of the user who created the dataset.

", "DescribeJobResponse$CreatedBy": "

The identifier (user name) of the user associated with the creation of the job.

", "DescribeProjectResponse$CreatedBy": "

The identifier (user name) of the user who created the project.

", "DescribeRecipeResponse$CreatedBy": "

The identifier (user name) of the user who created the recipe.

", "DescribeScheduleResponse$CreatedBy": "

The identifier (user name) of the user who created the schedule.

", - "Job$CreatedBy": "

The identifier (the user name) of the user who created the job.

", - "Project$CreatedBy": "

The identifier (the user name) of the user who crated the project.

", - "Recipe$CreatedBy": "

The identifier (the user name) of the user who created the recipe.

", - "Schedule$CreatedBy": "

The identifier (the user name) of the user who created the schedule.

" + "Job$CreatedBy": "

The Amazon Resource Name (ARN) of the user who created the job.

", + "Project$CreatedBy": "

The Amazon Resource Name (ARN) of the user who crated the project.

", + "Recipe$CreatedBy": "

The Amazon Resource Name (ARN) of the user who created the recipe.

", + "Schedule$CreatedBy": "

The Amazon Resource Name (ARN) of the user who created the schedule.

" } }, "CronExpression": { "base": null, "refs": { - "CreateScheduleRequest$CronExpression": "

The date or dates and time or times, in cron format, when the jobs are to be run.

", - "DescribeScheduleResponse$CronExpression": "

The date or dates and time or times, in cron format, when the jobs are to be run for the schedule.

", - "Schedule$CronExpression": "

The date(s) and time(s), in cron format, when the job will run.

", - "UpdateScheduleRequest$CronExpression": "

The date or dates and time or times, in cron format, when the jobs are to be run.

" + "CreateScheduleRequest$CronExpression": "

The date or dates and time or times when the jobs are to be run. For more information, see Cron expressions in the AWS Glue DataBrew Developer Guide.

", + "DescribeScheduleResponse$CronExpression": "

The date or dates and time or times when the jobs are to be run for the schedule. For more information, see Cron expressions in the AWS Glue DataBrew Developer Guide.

", + "Schedule$CronExpression": "

The date(s) and time(s) when the job will run. For more information, see Cron expressions in the AWS Glue DataBrew Developer Guide.

", + "UpdateScheduleRequest$CronExpression": "

The date or dates and time or times when the jobs are to be run. For more information, see Cron expressions in the AWS Glue DataBrew Developer Guide.

" + } + }, + "CsvOptions": { + "base": "

Options that define how DataBrew will read a Csv file when creating a dataset from that file.

", + "refs": { + "FormatOptions$Csv": "

Options that define how Csv input is to be interpreted by DataBrew.

" + } + }, + "CsvOutputOptions": { + "base": "

Options that define how DataBrew will write a Csv file a.

", + "refs": { + "OutputFormatOptions$Csv": "

Options that define how DataBrew writes Csv output.

" } }, "DataCatalogInputDefinition": { - "base": "

Represents how metadata stored in the AWS Glue Data Catalog is defined in an AWS Glue DataBrew dataset.

", + "base": "

Represents how metadata stored in the AWS Glue Data Catalog is defined in a DataBrew dataset.

", "refs": { "Input$DataCatalogInputDefinition": "

The AWS Glue Data Catalog parameters for the data.

" } @@ -282,7 +294,7 @@ } }, "Dataset": { - "base": "

Represents a dataset that can be processed by AWS Glue DataBrew.

", + "base": "

Represents a dataset that can be processed by DataBrew.

", "refs": { "DatasetList$member": null } @@ -290,16 +302,16 @@ "DatasetList": { "base": null, "refs": { - "ListDatasetsResponse$Datasets": "

A list of datasets that are defined in the current AWS account.

" + "ListDatasetsResponse$Datasets": "

A list of datasets that are defined.

" } }, "DatasetName": { "base": null, "refs": { - "CreateDatasetRequest$Name": "

The name of the dataset to be created.

", + "CreateDatasetRequest$Name": "

The name of the dataset to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.

", "CreateDatasetResponse$Name": "

The name of the dataset that you created.

", "CreateProfileJobRequest$DatasetName": "

The name of the dataset that this job is to act upon.

", - "CreateProjectRequest$DatasetName": "

The name of the dataset to associate this project with.

", + "CreateProjectRequest$DatasetName": "

The name of an existing dataset to associate this project with.

", "CreateRecipeJobRequest$DatasetName": "

The name of the dataset that this job processes.

", "Dataset$Name": "

The unique name of the dataset.

", "DeleteDatasetRequest$Name": "

The name of the dataset to be deleted.

", @@ -398,6 +410,13 @@ "refs": { } }, + "Delimiter": { + "base": null, + "refs": { + "CsvOptions$Delimiter": "

A single character that specifies the delimiter being used in the Csv file.

", + "CsvOutputOptions$Delimiter": "

A single character that specifies the delimiter used to create Csv job output.

" + } + }, "DescribeDatasetRequest": { "base": null, "refs": { @@ -454,7 +473,7 @@ "CreateProfileJobRequest$EncryptionKeyArn": "

The Amazon Resource Name (ARN) of an encryption key that is used to protect the job.

", "CreateRecipeJobRequest$EncryptionKeyArn": "

The Amazon Resource Name (ARN) of an encryption key that is used to protect the job.

", "DescribeJobResponse$EncryptionKeyArn": "

The Amazon Resource Name (ARN) of an encryption key that is used to protect the job.

", - "Job$EncryptionKeyArn": "

The Amazon Resource Name (ARN) of an encryption key that is used to protect a job.

", + "Job$EncryptionKeyArn": "

The Amazon Resource Name (ARN) of an encryption key that is used to protect the job output. For more information, see Encrypting data written by DataBrew jobs

", "UpdateProfileJobRequest$EncryptionKeyArn": "

The Amazon Resource Name (ARN) of an encryption key that is used to protect the job.

", "UpdateRecipeJobRequest$EncryptionKeyArn": "

The Amazon Resource Name (ARN) of an encryption key that is used to protect the job.

" } @@ -489,7 +508,7 @@ } }, "FormatOptions": { - "base": "

Options that define how Microsoft Excel input is to be interpreted by DataBrew.

", + "base": "

Options that define the structure of either Csv, Excel, or JSON input.

", "refs": { "CreateDatasetRequest$FormatOptions": null, "Dataset$FormatOptions": "

Options that define how DataBrew interprets the data in the dataset.

", @@ -504,7 +523,7 @@ } }, "Input": { - "base": "

Information on how AWS Glue DataBrew can find data, in either the AWS Glue Data Catalog or Amazon S3.

", + "base": "

Information on how DataBrew can find data, in either the AWS Glue Data Catalog or Amazon S3.

", "refs": { "CreateDatasetRequest$Input": null, "Dataset$Input": "

Information on how DataBrew can find the dataset, in either the AWS Glue Data Catalog or Amazon S3.

", @@ -518,7 +537,7 @@ } }, "Job": { - "base": "

Represents all of the attributes of an AWS Glue DataBrew job.

", + "base": "

Represents all of the attributes of a DataBrew job.

", "refs": { "JobList$member": null } @@ -526,15 +545,15 @@ "JobList": { "base": null, "refs": { - "ListJobsResponse$Jobs": "

A list of jobs that are defined in the current AWS account.

" + "ListJobsResponse$Jobs": "

A list of jobs that are defined.

" } }, "JobName": { "base": null, "refs": { - "CreateProfileJobRequest$Name": "

The name of the job to be created.

", + "CreateProfileJobRequest$Name": "

The name of the job to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.

", "CreateProfileJobResponse$Name": "

The name of the job that was created.

", - "CreateRecipeJobRequest$Name": "

A unique name for the job.

", + "CreateRecipeJobRequest$Name": "

A unique name for the job. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.

", "CreateRecipeJobResponse$Name": "

The name of the job that you created.

", "DeleteJobRequest$Name": "

The name of the job to be deleted.

", "DeleteJobResponse$Name": "

The name of the job that you deleted.

", @@ -563,7 +582,7 @@ } }, "JobRun": { - "base": "

Represents one run of an AWS Glue DataBrew job.

", + "base": "

Represents one run of a DataBrew job.

", "refs": { "JobRunList$member": null } @@ -617,16 +636,16 @@ "LastModifiedBy": { "base": null, "refs": { - "Dataset$LastModifiedBy": "

The identifier (the user name) of the user who last modified the dataset.

", + "Dataset$LastModifiedBy": "

The Amazon Resource Name (ARN) of the user who last modified the dataset.

", "DescribeDatasetResponse$LastModifiedBy": "

The identifier (user name) of the user who last modified the dataset.

", "DescribeJobResponse$LastModifiedBy": "

The identifier (user name) of the user who last modified the job.

", "DescribeProjectResponse$LastModifiedBy": "

The identifier (user name) of the user who last modified the project.

", "DescribeRecipeResponse$LastModifiedBy": "

The identifier (user name) of the user who last modified the recipe.

", "DescribeScheduleResponse$LastModifiedBy": "

The identifier (user name) of the user who last modified the schedule.

", - "Job$LastModifiedBy": "

The identifier (the user name) of the user who last modified the job.

", - "Project$LastModifiedBy": "

The identifier (user name) of the user who last modified the project.

", - "Recipe$LastModifiedBy": "

The identifier (user name) of the user who last modified the recipe.

", - "Schedule$LastModifiedBy": "

The identifier (the user name) of the user who last modified the schedule.

" + "Job$LastModifiedBy": "

The Amazon Resource Name (ARN) of the user who last modified the job.

", + "Project$LastModifiedBy": "

The Amazon Resource Name (ARN) of the user who last modified the project.

", + "Recipe$LastModifiedBy": "

The Amazon Resource Name (ARN) of the user who last modified the recipe.

", + "Schedule$LastModifiedBy": "

The Amazon Resource Name (ARN) of the user who last modified the schedule.

" } }, "ListDatasetsRequest": { @@ -718,13 +737,13 @@ "LogSubscription": { "base": null, "refs": { - "CreateProfileJobRequest$LogSubscription": "

A value that enables or disables Amazon CloudWatch logging for the current AWS account. If logging is enabled, CloudWatch writes one log stream for each job run.

", - "CreateRecipeJobRequest$LogSubscription": "

A value that enables or disables Amazon CloudWatch logging for the current AWS account. If logging is enabled, CloudWatch writes one log stream for each job run.

", - "DescribeJobResponse$LogSubscription": "

A value that indicates whether Amazon CloudWatch logging is enabled for this job.

", + "CreateProfileJobRequest$LogSubscription": "

Enables or disables Amazon CloudWatch logging for the job. If logging is enabled, CloudWatch writes one log stream for each job run.

", + "CreateRecipeJobRequest$LogSubscription": "

Enables or disables Amazon CloudWatch logging for the job. If logging is enabled, CloudWatch writes one log stream for each job run.

", + "DescribeJobResponse$LogSubscription": "

Indicates whether Amazon CloudWatch logging is enabled for this job.

", "Job$LogSubscription": "

The current status of Amazon CloudWatch logging for the job.

", "JobRun$LogSubscription": "

The current status of Amazon CloudWatch logging for the job run.

", - "UpdateProfileJobRequest$LogSubscription": "

A value that enables or disables Amazon CloudWatch logging for the current AWS account. If logging is enabled, CloudWatch writes one log stream for each job run.

", - "UpdateRecipeJobRequest$LogSubscription": "

A value that enables or disables Amazon CloudWatch logging for the current AWS account. If logging is enabled, CloudWatch writes one log stream for each job run.

" + "UpdateProfileJobRequest$LogSubscription": "

Enables or disables Amazon CloudWatch logging for the job. If logging is enabled, CloudWatch writes one log stream for each job run.

", + "UpdateRecipeJobRequest$LogSubscription": "

Enables or disables Amazon CloudWatch logging for the job. If logging is enabled, CloudWatch writes one log stream for each job run.

" } }, "MaxCapacity": { @@ -732,9 +751,9 @@ "refs": { "CreateProfileJobRequest$MaxCapacity": "

The maximum number of nodes that DataBrew can use when the job processes data.

", "CreateRecipeJobRequest$MaxCapacity": "

The maximum number of nodes that DataBrew can consume when the job processes data.

", - "DescribeJobResponse$MaxCapacity": "

The maximum number of nodes that AWS Glue DataBrew can consume when the job processes data.

", + "DescribeJobResponse$MaxCapacity": "

The maximum number of compute nodes that DataBrew can consume when the job processes data.

", "Job$MaxCapacity": "

The maximum number of nodes that can be consumed when the job processes data.

", - "UpdateProfileJobRequest$MaxCapacity": "

The maximum number of nodes that DataBrew can use when the job processes data.

", + "UpdateProfileJobRequest$MaxCapacity": "

The maximum number of compute nodes that DataBrew can use when the job processes data.

", "UpdateRecipeJobRequest$MaxCapacity": "

The maximum number of nodes that DataBrew can consume when the job processes data.

" } }, @@ -781,27 +800,27 @@ "NextToken": { "base": null, "refs": { - "ListDatasetsRequest$NextToken": "

A token generated by DataBrew that specifies where to continue pagination if a previous request was truncated. To get the next set of pages, pass in the NextToken value from the response object of the previous page call.

", - "ListDatasetsResponse$NextToken": "

A token generated by DataBrew that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.

", - "ListJobRunsRequest$NextToken": "

A token generated by AWS Glue DataBrew that specifies where to continue pagination if a previous request was truncated. To get the next set of pages, pass in the NextToken value from the response object of the previous page call.

", - "ListJobRunsResponse$NextToken": "

A token generated by DataBrew that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.

", + "ListDatasetsRequest$NextToken": "

The token returned by a previous call to retrieve the next set of results.

", + "ListDatasetsResponse$NextToken": "

A token that you can use in a subsequent call to retrieve the next set of results.

", + "ListJobRunsRequest$NextToken": "

The token returned by a previous call to retrieve the next set of results.

", + "ListJobRunsResponse$NextToken": "

A token that you can use in a subsequent call to retrieve the next set of results.

", "ListJobsRequest$NextToken": "

A token generated by DataBrew that specifies where to continue pagination if a previous request was truncated. To get the next set of pages, pass in the NextToken value from the response object of the previous page call.

", - "ListJobsResponse$NextToken": "

A token generated by DataBrew that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.

", - "ListProjectsRequest$NextToken": "

A pagination token that can be used in a subsequent request.

", - "ListProjectsResponse$NextToken": "

A token generated by DataBrew that specifies where to continue pagination if a previous request was truncated. To get the next set of pages, pass in the NextToken value from the response object of the previous page call.

", - "ListRecipeVersionsRequest$NextToken": "

A pagination token that can be used in a subsequent request.

", - "ListRecipeVersionsResponse$NextToken": "

A token generated by DataBrew that specifies where to continue pagination if a previous request was truncated. To get the next set of pages, pass in the NextToken value from the response object of the previous page call.

", - "ListRecipesRequest$NextToken": "

A pagination token that can be used in a subsequent request.

", - "ListRecipesResponse$NextToken": "

A token generated by DataBrew that specifies where to continue pagination if a previous request was truncated. To get the next set of pages, pass in the NextToken value from the response object of the previous page call.

", - "ListSchedulesRequest$NextToken": "

A pagination token that can be used in a subsequent request.

", - "ListSchedulesResponse$NextToken": "

A token generated by DataBrew that specifies where to continue pagination if a previous request was truncated. To get the next set of pages, pass in the NextToken value from the response object of the previous page call.

" + "ListJobsResponse$NextToken": "

A token that you can use in a subsequent call to retrieve the next set of results.

", + "ListProjectsRequest$NextToken": "

The token returned by a previous call to retrieve the next set of results.

", + "ListProjectsResponse$NextToken": "

A token that you can use in a subsequent call to retrieve the next set of results.

", + "ListRecipeVersionsRequest$NextToken": "

The token returned by a previous call to retrieve the next set of results.

", + "ListRecipeVersionsResponse$NextToken": "

A token that you can use in a subsequent call to retrieve the next set of results.

", + "ListRecipesRequest$NextToken": "

The token returned by a previous call to retrieve the next set of results.

", + "ListRecipesResponse$NextToken": "

A token that you can use in a subsequent call to retrieve the next set of results.

", + "ListSchedulesRequest$NextToken": "

The token returned by a previous call to retrieve the next set of results.

", + "ListSchedulesResponse$NextToken": "

A token that you can use in a subsequent call to retrieve the next set of results.

" } }, "OpenedBy": { "base": null, "refs": { "DescribeProjectResponse$OpenedBy": "

The identifier (user name) of the user that opened the project for use.

", - "Project$OpenedBy": "

The identifier (the user name) of the user that opened the project for use.

" + "Project$OpenedBy": "

The Amazon Resource Name (ARN) of the user that opened the project for use.

" } }, "Operation": { @@ -811,7 +830,7 @@ } }, "Output": { - "base": "

Represents individual output from a particular job run.

", + "base": "

Parameters that specify how and where DataBrew will write the output generated by recipe jobs or profile jobs.

", "refs": { "OutputList$member": null } @@ -822,6 +841,12 @@ "Output$Format": "

The data format of the output of the job.

" } }, + "OutputFormatOptions": { + "base": "

Options that define the structure of Csv job output.

", + "refs": { + "Output$FormatOptions": "

Options that define how DataBrew formats job output files.

" + } + }, "OutputList": { "base": null, "refs": { @@ -859,11 +884,11 @@ "Preview": { "base": null, "refs": { - "SendProjectSessionActionRequest$Preview": "

Returns the result of the recipe step, without applying it. The result isn't added to the view frame stack.

" + "SendProjectSessionActionRequest$Preview": "

If true, the result of the recipe step will be returned, but not applied.

" } }, "Project": { - "base": "

Represents all of the attributes of an AWS Glue DataBrew project.

", + "base": "

Represents all of the attributes of a DataBrew project.

", "refs": { "ProjectList$member": null } @@ -871,13 +896,13 @@ "ProjectList": { "base": null, "refs": { - "ListProjectsResponse$Projects": "

A list of projects that are defined in the current AWS account.

" + "ListProjectsResponse$Projects": "

A list of projects that are defined .

" } }, "ProjectName": { "base": null, "refs": { - "CreateProjectRequest$Name": "

A unique name for the new project.

", + "CreateProjectRequest$Name": "

A unique name for the new project. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.

", "CreateProjectResponse$Name": "

The name of the project that you created.

", "CreateRecipeJobRequest$ProjectName": "

Either the name of an existing project, or a combination of a recipe and a dataset to associate with the recipe.

", "DeleteProjectRequest$Name": "

The name of the project to be deleted.

", @@ -912,17 +937,17 @@ "base": null, "refs": { "DescribeRecipeResponse$PublishedBy": "

The identifier (user name) of the user who last published the recipe.

", - "Recipe$PublishedBy": "

The identifier (the user name) of the user who published the recipe.

" + "Recipe$PublishedBy": "

The Amazon Resource Name (ARN) of the user who published the recipe.

" } }, "Recipe": { - "base": "

Represents one or more actions to be performed on an AWS Glue DataBrew dataset.

", + "base": "

Represents one or more actions to be performed on a DataBrew dataset.

", "refs": { "RecipeList$member": null } }, "RecipeAction": { - "base": "

Represents a transformation and associated parameters that are used to apply a change to an AWS Glue DataBrew dataset. For more information, see Recipe structure and ecipe actions reference .

", + "base": "

Represents a transformation and associated parameters that are used to apply a change to a DataBrew dataset. For more information, see Recipe structure and Recipe actions reference.

", "refs": { "RecipeStep$Action": "

The particular action to be performed in the recipe step.

" } @@ -940,7 +965,7 @@ "RecipeErrorList": { "base": null, "refs": { - "BatchDeleteRecipeVersionResponse$Errors": "

Errors, if any, that were encountered when deleting the recipe versions.

" + "BatchDeleteRecipeVersionResponse$Errors": "

Errors, if any, that occurred while attempting to delete the recipe versions.

" } }, "RecipeErrorMessage": { @@ -953,18 +978,18 @@ "base": null, "refs": { "ListRecipeVersionsResponse$Recipes": "

A list of versions for the specified recipe.

", - "ListRecipesResponse$Recipes": "

A list of recipes that are defined in the current AWS account.

" + "ListRecipesResponse$Recipes": "

A list of recipes that are defined.

" } }, "RecipeName": { "base": null, "refs": { - "BatchDeleteRecipeVersionRequest$Name": "

The name of the recipe to be modified.

", + "BatchDeleteRecipeVersionRequest$Name": "

The name of the recipe whose versions are to be deleted.

", "BatchDeleteRecipeVersionResponse$Name": "

The name of the recipe that was modified.

", "CreateProjectRequest$RecipeName": "

The name of an existing recipe to associate with the project.

", - "CreateRecipeRequest$Name": "

A unique name for the recipe.

", + "CreateRecipeRequest$Name": "

A unique name for the recipe. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.

", "CreateRecipeResponse$Name": "

The name of the recipe that you created.

", - "DeleteRecipeVersionRequest$Name": "

The name of the recipe to be deleted.

", + "DeleteRecipeVersionRequest$Name": "

The name of the recipe.

", "DeleteRecipeVersionResponse$Name": "

The name of the recipe that was deleted.

", "DescribeProjectResponse$RecipeName": "

The recipe associated with this job.

", "DescribeRecipeRequest$Name": "

The name of the recipe to be described.

", @@ -980,7 +1005,7 @@ } }, "RecipeReference": { - "base": "

Represents all of the attributes of an AWS Glue DataBrew recipe.

", + "base": "

Represents the name and version of a DataBrew recipe.

", "refs": { "CreateRecipeJobRequest$RecipeReference": null, "DescribeJobResponse$RecipeReference": null, @@ -989,7 +1014,7 @@ } }, "RecipeStep": { - "base": "

Represents a single step to be performed in an AWS Glue DataBrew recipe.

", + "base": "

Represents a single step from a DataBrew recipe to be performed.

", "refs": { "RecipeStepList$member": null, "SendProjectSessionActionRequest$RecipeStep": null @@ -1007,12 +1032,12 @@ "RecipeVersion": { "base": null, "refs": { - "DeleteRecipeVersionRequest$RecipeVersion": "

The version of the recipe to be deleted.

", + "DeleteRecipeVersionRequest$RecipeVersion": "

The version of the recipe to be deleted. You can specify a numeric versions (X.Y) or LATEST_WORKING. LATEST_PUBLISHED is not supported.

", "DeleteRecipeVersionResponse$RecipeVersion": "

The version of the recipe that was deleted.

", "DescribeRecipeRequest$RecipeVersion": "

The recipe version identifier. If this parameter isn't specified, then the latest published version is returned.

", "DescribeRecipeResponse$RecipeVersion": "

The recipe version identifier.

", - "ListRecipesRequest$RecipeVersion": "

A version identifier. Using this parameter indicates to return only those recipes that have this version identifier.

", - "Recipe$RecipeVersion": "

The identifier for the version for the recipe.

", + "ListRecipesRequest$RecipeVersion": "

Return only those recipes with a version identifier of LATEST_WORKING or LATEST_PUBLISHED. If RecipeVersion is omitted, ListRecipes returns all of the LATEST_PUBLISHED recipe versions.

Valid values: LATEST_WORKING | LATEST_PUBLISHED

", + "Recipe$RecipeVersion": "

The identifier for the version for the recipe. Must be one of the following:

", "RecipeReference$RecipeVersion": "

The identifier for the version for the recipe.

", "RecipeVersionErrorDetail$RecipeVersion": "

The identifier for the recipe version associated with this error.

", "RecipeVersionList$member": null @@ -1027,7 +1052,7 @@ "RecipeVersionList": { "base": null, "refs": { - "BatchDeleteRecipeVersionRequest$RecipeVersions": "

An array of version identifiers to be deleted.

" + "BatchDeleteRecipeVersionRequest$RecipeVersions": "

An array of version identifiers, for the recipe versions to be deleted. You can specify numeric versions (X.Y) or LATEST_WORKING. LATEST_PUBLISHED is not supported.

" } }, "ResourceNotFoundException": { @@ -1052,7 +1077,7 @@ } }, "Sample": { - "base": "

Represents the sample size and sampling type for AWS Glue DataBrew to use for interactive data analysis.

", + "base": "

Represents the sample size and sampling type for DataBrew to use for interactive data analysis.

", "refs": { "CreateProjectRequest$Sample": null, "DescribeProjectResponse$Sample": null, @@ -1081,13 +1106,13 @@ "ScheduleList": { "base": null, "refs": { - "ListSchedulesResponse$Schedules": "

A list of schedules in the current AWS account.

" + "ListSchedulesResponse$Schedules": "

A list of schedules that are defined.

" } }, "ScheduleName": { "base": null, "refs": { - "CreateScheduleRequest$Name": "

A unique name for the schedule.

", + "CreateScheduleRequest$Name": "

A unique name for the schedule. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.

", "CreateScheduleResponse$Name": "

The name of the schedule that was created.

", "DeleteScheduleRequest$Name": "

The name of the schedule to be deleted.

", "DeleteScheduleResponse$Name": "

The name of the schedule that was deleted.

", @@ -1179,7 +1204,7 @@ "StartedBy": { "base": null, "refs": { - "JobRun$StartedBy": "

The identifier (the user name) of the user who initiated the job run.

" + "JobRun$StartedBy": "

The Amazon Resource Name (ARN) of the user who initiated the job run.

" } }, "StepIndex": { @@ -1223,7 +1248,7 @@ "CreateDatasetRequest$Tags": "

Metadata tags to apply to this dataset.

", "CreateProfileJobRequest$Tags": "

Metadata tags to apply to this job.

", "CreateProjectRequest$Tags": "

Metadata tags to apply to this project.

", - "CreateRecipeJobRequest$Tags": "

Metadata tags to apply to this job dataset.

", + "CreateRecipeJobRequest$Tags": "

Metadata tags to apply to this job.

", "CreateRecipeRequest$Tags": "

Metadata tags to apply to this recipe.

", "CreateScheduleRequest$Tags": "

Metadata tags to apply to this schedule.

", "Dataset$Tags": "

Metadata tags that have been applied to the dataset.

", @@ -1259,7 +1284,7 @@ "TargetColumn": { "base": null, "refs": { - "ConditionExpression$TargetColumn": "

A column to apply this condition to, within an AWS Glue DataBrew dataset.

" + "ConditionExpression$TargetColumn": "

A column to apply this condition to.

" } }, "Timeout": { @@ -1349,7 +1374,7 @@ } }, "ViewFrame": { - "base": "

Represents the data being being transformed during an AWS Glue DataBrew project session.

", + "base": "

Represents the data being being transformed during an action.

", "refs": { "SendProjectSessionActionRequest$ViewFrame": null } diff --git a/models/apis/iot/2015-05-28/docs-2.json b/models/apis/iot/2015-05-28/docs-2.json index 74dddb6ab8f..8ec14b56a11 100644 --- a/models/apis/iot/2015-05-28/docs-2.json +++ b/models/apis/iot/2015-05-28/docs-2.json @@ -2326,7 +2326,7 @@ "DeleteStream": { "base": null, "refs": { - "DeleteOTAUpdateRequest$deleteStream": "

Specifies if the stream associated with an OTA update should be deleted when the OTA update is deleted.

" + "DeleteOTAUpdateRequest$deleteStream": "

When true, the stream created by the OTAUpdate process is deleted when the OTA update is deleted. Ignored if the stream specified in the OTAUpdate is supplied by the user.

" } }, "DeleteStreamRequest": { @@ -3292,7 +3292,7 @@ "ForceDeleteAWSJob": { "base": null, "refs": { - "DeleteOTAUpdateRequest$forceDeleteAWSJob": "

Specifies if the AWS Job associated with the OTA update should be deleted when the OTA update is deleted.

" + "DeleteOTAUpdateRequest$forceDeleteAWSJob": "

When true, deletes the AWS job created by the OTAUpdate process even if it is \"IN_PROGRESS\". Otherwise, if the job is not in a terminal state (\"COMPLETED\" or \"CANCELED\") an exception will occur. The default is false.

" } }, "ForceFlag": { diff --git a/models/apis/managedblockchain/2018-09-24/api-2.json b/models/apis/managedblockchain/2018-09-24/api-2.json index a5a7251bee3..bcf8f5bd0b2 100644 --- a/models/apis/managedblockchain/2018-09-24/api-2.json +++ b/models/apis/managedblockchain/2018-09-24/api-2.json @@ -29,7 +29,8 @@ {"shape":"ResourceNotReadyException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceLimitExceededException"}, - {"shape":"InternalServiceErrorException"} + {"shape":"InternalServiceErrorException"}, + {"shape":"TooManyTagsException"} ] }, "CreateNetwork":{ @@ -46,7 +47,8 @@ {"shape":"ResourceAlreadyExistsException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceLimitExceededException"}, - {"shape":"InternalServiceErrorException"} + {"shape":"InternalServiceErrorException"}, + {"shape":"TooManyTagsException"} ] }, "CreateNode":{ @@ -65,7 +67,8 @@ {"shape":"ResourceNotReadyException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceLimitExceededException"}, - {"shape":"InternalServiceErrorException"} + {"shape":"InternalServiceErrorException"}, + {"shape":"TooManyTagsException"} ] }, "CreateProposal":{ @@ -82,7 +85,8 @@ {"shape":"ResourceNotFoundException"}, {"shape":"ResourceNotReadyException"}, {"shape":"ThrottlingException"}, - {"shape":"InternalServiceErrorException"} + {"shape":"InternalServiceErrorException"}, + {"shape":"TooManyTagsException"} ] }, "DeleteMember":{ @@ -276,6 +280,21 @@ {"shape":"InternalServiceErrorException"} ] }, + "ListTagsForResource":{ + "name":"ListTagsForResource", + "http":{ + "method":"GET", + "requestUri":"/tags/{resourceArn}" + }, + "input":{"shape":"ListTagsForResourceRequest"}, + "output":{"shape":"ListTagsForResourceResponse"}, + "errors":[ + {"shape":"InternalServiceErrorException"}, + {"shape":"InvalidRequestException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ResourceNotReadyException"} + ] + }, "RejectInvitation":{ "name":"RejectInvitation", "http":{ @@ -293,6 +312,37 @@ {"shape":"InternalServiceErrorException"} ] }, + "TagResource":{ + "name":"TagResource", + "http":{ + "method":"POST", + "requestUri":"/tags/{resourceArn}" + }, + "input":{"shape":"TagResourceRequest"}, + "output":{"shape":"TagResourceResponse"}, + "errors":[ + {"shape":"InternalServiceErrorException"}, + {"shape":"InvalidRequestException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"TooManyTagsException"}, + {"shape":"ResourceNotReadyException"} + ] + }, + "UntagResource":{ + "name":"UntagResource", + "http":{ + "method":"DELETE", + "requestUri":"/tags/{resourceArn}" + }, + "input":{"shape":"UntagResourceRequest"}, + "output":{"shape":"UntagResourceResponse"}, + "errors":[ + {"shape":"InternalServiceErrorException"}, + {"shape":"InvalidRequestException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ResourceNotReadyException"} + ] + }, "UpdateMember":{ "name":"UpdateMember", "http":{ @@ -360,6 +410,12 @@ "ThresholdComparator":{"shape":"ThresholdComparator"} } }, + "ArnString":{ + "type":"string", + "max":1011, + "min":1, + "pattern":"^arn:.+:.+:.+:.+:.+" + }, "AvailabilityZoneString":{"type":"string"}, "ClientRequestTokenString":{ "type":"string", @@ -415,7 +471,8 @@ "FrameworkVersion":{"shape":"FrameworkVersionString"}, "FrameworkConfiguration":{"shape":"NetworkFrameworkConfiguration"}, "VotingPolicy":{"shape":"VotingPolicy"}, - "MemberConfiguration":{"shape":"MemberConfiguration"} + "MemberConfiguration":{"shape":"MemberConfiguration"}, + "Tags":{"shape":"InputTagMap"} } }, "CreateNetworkOutput":{ @@ -443,7 +500,8 @@ "locationName":"networkId" }, "MemberId":{"shape":"ResourceIdString"}, - "NodeConfiguration":{"shape":"NodeConfiguration"} + "NodeConfiguration":{"shape":"NodeConfiguration"}, + "Tags":{"shape":"InputTagMap"} } }, "CreateNodeOutput":{ @@ -472,7 +530,8 @@ }, "MemberId":{"shape":"ResourceIdString"}, "Actions":{"shape":"ProposalActions"}, - "Description":{"shape":"DescriptionString"} + "Description":{"shape":"DescriptionString"}, + "Tags":{"shape":"InputTagMap"} } }, "CreateProposalOutput":{ @@ -549,6 +608,7 @@ "type":"boolean", "box":true }, + "ExceptionMessage":{"type":"string"}, "Framework":{ "type":"string", "enum":[ @@ -666,6 +726,13 @@ "error":{"httpStatusCode":400}, "exception":true }, + "InputTagMap":{ + "type":"map", + "key":{"shape":"TagKey"}, + "value":{"shape":"TagValue"}, + "max":50, + "min":0 + }, "InstanceTypeString":{"type":"string"}, "InternalServiceErrorException":{ "type":"structure", @@ -689,7 +756,8 @@ "CreationDate":{"shape":"Timestamp"}, "ExpirationDate":{"shape":"Timestamp"}, "Status":{"shape":"InvitationStatus"}, - "NetworkSummary":{"shape":"NetworkSummary"} + "NetworkSummary":{"shape":"NetworkSummary"}, + "Arn":{"shape":"ArnString"} } }, "InvitationList":{ @@ -925,6 +993,23 @@ "NextToken":{"shape":"PaginationToken"} } }, + "ListTagsForResourceRequest":{ + "type":"structure", + "required":["ResourceArn"], + "members":{ + "ResourceArn":{ + "shape":"ArnString", + "location":"uri", + "locationName":"resourceArn" + } + } + }, + "ListTagsForResourceResponse":{ + "type":"structure", + "members":{ + "Tags":{"shape":"OutputTagMap"} + } + }, "LogConfiguration":{ "type":"structure", "members":{ @@ -947,7 +1032,9 @@ "FrameworkAttributes":{"shape":"MemberFrameworkAttributes"}, "LogPublishingConfiguration":{"shape":"MemberLogPublishingConfiguration"}, "Status":{"shape":"MemberStatus"}, - "CreationDate":{"shape":"Timestamp"} + "CreationDate":{"shape":"Timestamp"}, + "Tags":{"shape":"OutputTagMap"}, + "Arn":{"shape":"ArnString"} } }, "MemberConfiguration":{ @@ -960,7 +1047,8 @@ "Name":{"shape":"NetworkMemberNameString"}, "Description":{"shape":"DescriptionString"}, "FrameworkConfiguration":{"shape":"MemberFrameworkConfiguration"}, - "LogPublishingConfiguration":{"shape":"MemberLogPublishingConfiguration"} + "LogPublishingConfiguration":{"shape":"MemberLogPublishingConfiguration"}, + "Tags":{"shape":"InputTagMap"} } }, "MemberFabricAttributes":{ @@ -1030,7 +1118,8 @@ "Description":{"shape":"DescriptionString"}, "Status":{"shape":"MemberStatus"}, "CreationDate":{"shape":"Timestamp"}, - "IsOwned":{"shape":"IsOwned"} + "IsOwned":{"shape":"IsOwned"}, + "Arn":{"shape":"ArnString"} } }, "MemberSummaryList":{ @@ -1055,7 +1144,9 @@ "VpcEndpointServiceName":{"shape":"String"}, "VotingPolicy":{"shape":"VotingPolicy"}, "Status":{"shape":"NetworkStatus"}, - "CreationDate":{"shape":"Timestamp"} + "CreationDate":{"shape":"Timestamp"}, + "Tags":{"shape":"OutputTagMap"}, + "Arn":{"shape":"ArnString"} } }, "NetworkEthereumAttributes":{ @@ -1122,7 +1213,8 @@ "Framework":{"shape":"Framework"}, "FrameworkVersion":{"shape":"FrameworkVersionString"}, "Status":{"shape":"NetworkStatus"}, - "CreationDate":{"shape":"Timestamp"} + "CreationDate":{"shape":"Timestamp"}, + "Arn":{"shape":"ArnString"} } }, "NetworkSummaryList":{ @@ -1141,7 +1233,9 @@ "LogPublishingConfiguration":{"shape":"NodeLogPublishingConfiguration"}, "StateDB":{"shape":"StateDBType"}, "Status":{"shape":"NodeStatus"}, - "CreationDate":{"shape":"Timestamp"} + "CreationDate":{"shape":"Timestamp"}, + "Tags":{"shape":"OutputTagMap"}, + "Arn":{"shape":"ArnString"} } }, "NodeConfiguration":{ @@ -1214,13 +1308,21 @@ "Status":{"shape":"NodeStatus"}, "CreationDate":{"shape":"Timestamp"}, "AvailabilityZone":{"shape":"AvailabilityZoneString"}, - "InstanceType":{"shape":"InstanceTypeString"} + "InstanceType":{"shape":"InstanceTypeString"}, + "Arn":{"shape":"ArnString"} } }, "NodeSummaryList":{ "type":"list", "member":{"shape":"NodeSummary"} }, + "OutputTagMap":{ + "type":"map", + "key":{"shape":"TagKey"}, + "value":{"shape":"TagValue"}, + "max":200, + "min":0 + }, "PaginationToken":{ "type":"string", "max":128 @@ -1247,7 +1349,9 @@ "ExpirationDate":{"shape":"Timestamp"}, "YesVoteCount":{"shape":"VoteCount"}, "NoVoteCount":{"shape":"VoteCount"}, - "OutstandingVoteCount":{"shape":"VoteCount"} + "OutstandingVoteCount":{"shape":"VoteCount"}, + "Tags":{"shape":"OutputTagMap"}, + "Arn":{"shape":"ArnString"} } }, "ProposalActions":{ @@ -1288,7 +1392,8 @@ "ProposedByMemberName":{"shape":"NetworkMemberNameString"}, "Status":{"shape":"ProposalStatus"}, "CreationDate":{"shape":"Timestamp"}, - "ExpirationDate":{"shape":"Timestamp"} + "ExpirationDate":{"shape":"Timestamp"}, + "Arn":{"shape":"ArnString"} } }, "ProposalSummaryList":{ @@ -1350,7 +1455,8 @@ "ResourceNotFoundException":{ "type":"structure", "members":{ - "Message":{"shape":"String"} + "Message":{"shape":"String"}, + "ResourceName":{"shape":"ArnString"} }, "error":{"httpStatusCode":404}, "exception":true @@ -1371,6 +1477,42 @@ ] }, "String":{"type":"string"}, + "TagKey":{ + "type":"string", + "max":128, + "min":1 + }, + "TagKeyList":{ + "type":"list", + "member":{"shape":"TagKey"}, + "max":200, + "min":0 + }, + "TagResourceRequest":{ + "type":"structure", + "required":[ + "ResourceArn", + "Tags" + ], + "members":{ + "ResourceArn":{ + "shape":"ArnString", + "location":"uri", + "locationName":"resourceArn" + }, + "Tags":{"shape":"InputTagMap"} + } + }, + "TagResourceResponse":{ + "type":"structure", + "members":{ + } + }, + "TagValue":{ + "type":"string", + "max":256, + "min":0 + }, "ThresholdComparator":{ "type":"string", "enum":[ @@ -1395,6 +1537,39 @@ "type":"timestamp", "timestampFormat":"iso8601" }, + "TooManyTagsException":{ + "type":"structure", + "members":{ + "Message":{"shape":"ExceptionMessage"}, + "ResourceName":{"shape":"ArnString"} + }, + "error":{"httpStatusCode":400}, + "exception":true + }, + "UntagResourceRequest":{ + "type":"structure", + "required":[ + "ResourceArn", + "TagKeys" + ], + "members":{ + "ResourceArn":{ + "shape":"ArnString", + "location":"uri", + "locationName":"resourceArn" + }, + "TagKeys":{ + "shape":"TagKeyList", + "location":"querystring", + "locationName":"tagKeys" + } + } + }, + "UntagResourceResponse":{ + "type":"structure", + "members":{ + } + }, "UpdateMemberInput":{ "type":"structure", "required":[ diff --git a/models/apis/managedblockchain/2018-09-24/docs-2.json b/models/apis/managedblockchain/2018-09-24/docs-2.json index 8b49996ebee..b31d51be9a8 100644 --- a/models/apis/managedblockchain/2018-09-24/docs-2.json +++ b/models/apis/managedblockchain/2018-09-24/docs-2.json @@ -1,10 +1,10 @@ { "version": "2.0", - "service": "

Amazon Managed Blockchain is a fully managed service for creating and managing blockchain networks using open-source frameworks. Blockchain allows you to build applications where multiple parties can securely and transparently run transactions and share data without the need for a trusted, central authority.

Managed Blockchain supports the Hyperledger Fabric and Ethereum open-source frameworks. Because of fundamental differences between the frameworks, some API actions or data types may only apply in the context of one framework and not the other. For example, actions related to Hyperledger Fabric network members such as CreateMember and DeleteMember do not apply to Ethereum.

The description for each action indicates the framework or frameworks to which it applies. Data types and properties that apply only in the context of a particular framework are similarly indicated.

", + "service": "

Amazon Managed Blockchain is a fully managed service for creating and managing blockchain networks using open-source frameworks. Blockchain allows you to build applications where multiple parties can securely and transparently run transactions and share data without the need for a trusted, central authority.

Managed Blockchain supports the Hyperledger Fabric and Ethereum open-source frameworks. Ethereum on Managed Blockchain is in preview release and is subject to change. Because of fundamental differences between the frameworks, some API actions or data types may only apply in the context of one framework and not the other. For example, actions related to Hyperledger Fabric network members such as CreateMember and DeleteMember do not apply to Ethereum.

The description for each action indicates the framework or frameworks to which it applies. Data types and properties that apply only in the context of a particular framework are similarly indicated.

", "operations": { "CreateMember": "

Creates a member within a Managed Blockchain network.

Applies only to Hyperledger Fabric.

", "CreateNetwork": "

Creates a new blockchain network using Amazon Managed Blockchain.

Applies only to Hyperledger Fabric.

", - "CreateNode": "

Creates a node on the specified blockchain network.

Applies to Hyperledger Fabric and Ethereum.

", + "CreateNode": "

Creates a node on the specified blockchain network.

Applies to Hyperledger Fabric and Ethereum.

Ethereum on Managed Blockchain is in preview release and is subject to change.

", "CreateProposal": "

Creates a proposal for a change to the network that other members of the network can vote on, for example, a proposal to add a new member to the network. Any member can create a proposal.

Applies only to Hyperledger Fabric.

", "DeleteMember": "

Deletes a member. Deleting a member removes the member and all associated resources from the network. DeleteMember can only be called for a specified MemberId if the principal performing the action is associated with the AWS account that owns the member. In all other cases, the DeleteMember action is carried out as the result of an approved proposal to remove a member. If MemberId is the last member in a network specified by the last AWS account, the network is deleted also.

Applies only to Hyperledger Fabric.

", "DeleteNode": "

Deletes a node that your AWS account owns. All data on the node is lost and cannot be recovered.

Applies to Hyperledger Fabric and Ethereum.

", @@ -18,7 +18,10 @@ "ListNodes": "

Returns information about the nodes within a network.

Applies to Hyperledger Fabric and Ethereum.

", "ListProposalVotes": "

Returns the list of votes for a specified proposal, including the value of each vote and the unique identifier of the member that cast the vote.

Applies only to Hyperledger Fabric.

", "ListProposals": "

Returns a list of proposals for the network.

Applies only to Hyperledger Fabric.

", + "ListTagsForResource": "

Returns a list of tags for the specified resource. Each tag consists of a key and optional value.

For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

", "RejectInvitation": "

Rejects an invitation to join a network. This action can be called by a principal in an AWS account that has received an invitation to create a member and join a network.

Applies only to Hyperledger Fabric.

", + "TagResource": "

Adds or overwrites the specified tags for the specified Amazon Managed Blockchain resource. Each tag consists of a key and optional value.

When you specify a tag key that already exists, the tag value is overwritten with the new value. Use UntagResource to remove tag keys.

A resource can have up to 50 tags. If you try to create more than 50 tags for a resource, your request fails and returns an error.

For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

", + "UntagResource": "

Removes the specified tags from the Amazon Managed Blockchain resource.

For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

", "UpdateMember": "

Updates a member configuration with new parameters.

Applies only to Hyperledger Fabric.

", "UpdateNode": "

Updates a node configuration with new parameters.

Applies only to Hyperledger Fabric.

", "VoteOnProposal": "

Casts a vote for a specified ProposalId on behalf of a member. The member to vote as, specified by VoterMemberId, must be in the same AWS account as the principal that calls the action.

Applies only to Hyperledger Fabric.

" @@ -35,11 +38,30 @@ "VotingPolicy$ApprovalThresholdPolicy": "

Defines the rules for the network for voting on proposals, such as the percentage of YES votes required for the proposal to be approved and the duration of the proposal. The policy applies to all proposals and is specified when the network is created.

" } }, + "ArnString": { + "base": null, + "refs": { + "Invitation$Arn": "

The Amazon Resource Name (ARN) of the invitation. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "ListTagsForResourceRequest$ResourceArn": "

The Amazon Resource Name (ARN) of the resource. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "Member$Arn": "

The Amazon Resource Name (ARN) of the member. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "MemberSummary$Arn": "

The Amazon Resource Name (ARN) of the member. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "Network$Arn": "

The Amazon Resource Name (ARN) of the network. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "NetworkSummary$Arn": "

The Amazon Resource Name (ARN) of the network. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "Node$Arn": "

The Amazon Resource Name (ARN) of the node. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "NodeSummary$Arn": "

The Amazon Resource Name (ARN) of the node. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "Proposal$Arn": "

The Amazon Resource Name (ARN) of the proposal. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "ProposalSummary$Arn": "

The Amazon Resource Name (ARN) of the proposal. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "ResourceNotFoundException$ResourceName": "

A requested resource does not exist. It may have been deleted or referenced inaccurately.

", + "TagResourceRequest$ResourceArn": "

The Amazon Resource Name (ARN) of the resource. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "TooManyTagsException$ResourceName": "

", + "UntagResourceRequest$ResourceArn": "

The Amazon Resource Name (ARN) of the resource. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

" + } + }, "AvailabilityZoneString": { "base": null, "refs": { - "Node$AvailabilityZone": "

The Availability Zone in which the node exists.

", - "NodeConfiguration$AvailabilityZone": "

The Availability Zone in which the node exists.

", + "Node$AvailabilityZone": "

The Availability Zone in which the node exists. Required for Ethereum nodes. Ethereum on Managed Blockchain is in preview release and is subject to change.

", + "NodeConfiguration$AvailabilityZone": "

The Availability Zone in which the node exists. Required for Ethereum nodes. Ethereum on Managed Blockchain is in preview release and is subject to change.

", "NodeSummary$AvailabilityZone": "

The Availability Zone in which the node exists.

" } }, @@ -139,6 +161,12 @@ "LogConfiguration$Enabled": "

Indicates whether logging is enabled.

" } }, + "ExceptionMessage": { + "base": null, + "refs": { + "TooManyTagsException$Message": null + } + }, "Framework": { "base": null, "refs": { @@ -201,6 +229,16 @@ "refs": { } }, + "InputTagMap": { + "base": null, + "refs": { + "CreateNetworkInput$Tags": "

Tags to assign to the network. Each tag consists of a key and optional value.

When specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 added to each resource.

For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

", + "CreateNodeInput$Tags": "

Tags to assign to the node. Each tag consists of a key and optional value.

When specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 added to each resource.

For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

", + "CreateProposalInput$Tags": "

Tags to assign to the proposal. Each tag consists of a key and optional value.

When specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 added to each resource. If the proposal is for a network invitation, the invitation inherits the tags added to the proposal.

For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

", + "MemberConfiguration$Tags": "

Tags assigned to the member. Tags consist of a key and optional value. For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

When specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 added to each resource.

", + "TagResourceRequest$Tags": "

The tags to assign to the specified resource. Tag values can be empty, for example, \"MyTagKey\" : \"\". You can specify multiple key-value pairs in a single request, with an overall maximum of 50 added to each resource.

" + } + }, "InstanceTypeString": { "base": null, "refs": { @@ -316,6 +354,16 @@ "refs": { } }, + "ListTagsForResourceRequest": { + "base": null, + "refs": { + } + }, + "ListTagsForResourceResponse": { + "base": null, + "refs": { + } + }, "LogConfiguration": { "base": "

A configuration for logging events.

", "refs": { @@ -422,9 +470,9 @@ } }, "NetworkEthereumAttributes": { - "base": "

Attributes of Ethereum for a network.

", + "base": "

Attributes of Ethereum for a network. Ethereum on Managed Blockchain is in preview release and is subject to change.

", "refs": { - "NetworkFrameworkAttributes$Ethereum": "

Attributes of an Ethereum network for Managed Blockchain resources participating in an Ethereum network.

" + "NetworkFrameworkAttributes$Ethereum": "

Attributes of an Ethereum network for Managed Blockchain resources participating in an Ethereum network. Ethereum on Managed Blockchain is in preview release and is subject to change.

" } }, "NetworkFabricAttributes": { @@ -502,9 +550,9 @@ } }, "NodeEthereumAttributes": { - "base": "

Attributes of an Ethereum node.

", + "base": "

Attributes of an Ethereum node. Ethereum on Managed Blockchain is in preview release and is subject to change.

", "refs": { - "NodeFrameworkAttributes$Ethereum": "

Attributes of Ethereum for a node on a Managed Blockchain network that uses Ethereum.

" + "NodeFrameworkAttributes$Ethereum": "

Attributes of Ethereum for a node on a Managed Blockchain network that uses Ethereum. Ethereum on Managed Blockchain is in preview release and is subject to change.

" } }, "NodeFabricAttributes": { @@ -559,6 +607,16 @@ "ListNodesOutput$Nodes": "

An array of NodeSummary objects that contain configuration properties for each node.

" } }, + "OutputTagMap": { + "base": null, + "refs": { + "ListTagsForResourceResponse$Tags": "

The tags assigned to the resource.

", + "Member$Tags": "

Tags assigned to the member. Tags consist of a key and optional value. For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

", + "Network$Tags": "

Tags assigned to the network. Each tag consists of a key and optional value.

For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

", + "Node$Tags": "

Tags assigned to the node. Each tag consists of a key and optional value.

For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

", + "Proposal$Tags": "

Tags assigned to the proposal. Each tag consists of a key and optional value.

For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

" + } + }, "PaginationToken": { "base": null, "refs": { @@ -734,7 +792,7 @@ } }, "ResourceNotFoundException": { - "base": "

A requested resource does not exist on the network. It may have been deleted or referenced inaccurately.

", + "base": "

A requested resource does not exist. It may have been deleted or referenced inaccurately.

", "refs": { } }, @@ -772,6 +830,37 @@ "ResourceNotReadyException$Message": null } }, + "TagKey": { + "base": null, + "refs": { + "InputTagMap$key": null, + "OutputTagMap$key": null, + "TagKeyList$member": null + } + }, + "TagKeyList": { + "base": null, + "refs": { + "UntagResourceRequest$TagKeys": "

The tag keys.

" + } + }, + "TagResourceRequest": { + "base": null, + "refs": { + } + }, + "TagResourceResponse": { + "base": null, + "refs": { + } + }, + "TagValue": { + "base": null, + "refs": { + "InputTagMap$value": null, + "OutputTagMap$value": null + } + }, "ThresholdComparator": { "base": null, "refs": { @@ -806,6 +895,21 @@ "ProposalSummary$ExpirationDate": "

The date and time that the proposal expires. This is the CreationDate plus the ProposalDurationInHours that is specified in the ProposalThresholdPolicy. After this date and time, if members have not cast enough votes to determine the outcome according to the voting policy, the proposal is EXPIRED and Actions are not carried out.

" } }, + "TooManyTagsException": { + "base": "

", + "refs": { + } + }, + "UntagResourceRequest": { + "base": null, + "refs": { + } + }, + "UntagResourceResponse": { + "base": null, + "refs": { + } + }, "UpdateMemberInput": { "base": null, "refs": { diff --git a/models/apis/monitoring/2010-08-01/api-2.json b/models/apis/monitoring/2010-08-01/api-2.json index ddcb3fce3dc..319b65a5ec9 100644 --- a/models/apis/monitoring/2010-08-01/api-2.json +++ b/models/apis/monitoring/2010-08-01/api-2.json @@ -1056,9 +1056,11 @@ "EndTime":{"shape":"Timestamp"}, "NextToken":{"shape":"NextToken"}, "ScanBy":{"shape":"ScanBy"}, - "MaxDatapoints":{"shape":"GetMetricDataMaxDatapoints"} + "MaxDatapoints":{"shape":"GetMetricDataMaxDatapoints"}, + "LabelOptions":{"shape":"LabelOptions"} } }, + "GetMetricDataLabelTimezone":{"type":"string"}, "GetMetricDataMaxDatapoints":{"type":"integer"}, "GetMetricDataOutput":{ "type":"structure", @@ -1317,6 +1319,12 @@ "exception":true, "synthetic":true }, + "LabelOptions":{ + "type":"structure", + "members":{ + "Timezone":{"shape":"GetMetricDataLabelTimezone"} + } + }, "LastModified":{"type":"timestamp"}, "LimitExceededException":{ "type":"structure", diff --git a/models/apis/monitoring/2010-08-01/docs-2.json b/models/apis/monitoring/2010-08-01/docs-2.json index 4cfe29cc1d4..b0163e49170 100644 --- a/models/apis/monitoring/2010-08-01/docs-2.json +++ b/models/apis/monitoring/2010-08-01/docs-2.json @@ -617,6 +617,12 @@ "refs": { } }, + "GetMetricDataLabelTimezone": { + "base": null, + "refs": { + "LabelOptions$Timezone": "

The time zone to use for metric data return in this operation. The format is + or - followed by four digits. The first two digits indicate the number of hours ahead or behind of UTC, and the final two digits are the number of minutes. For example, +0130 indicates a time zone that is 1 hour and 30 minutes ahead of UTC. The default is +0000.

" + } + }, "GetMetricDataMaxDatapoints": { "base": null, "refs": { @@ -858,6 +864,12 @@ "refs": { } }, + "LabelOptions": { + "base": "

This structure includes the Timezone parameter, which you can use to specify your time zone so that the labels that are associated with returned metrics display the correct time for your time zone.

The Timezone value affects a label only if you have a time-based dynamic expression in the label. For more information about dynamic expressions in labels, see Using Dynamic Labels.

", + "refs": { + "GetMetricDataInput$LabelOptions": "

This structure includes the Timezone parameter, which you can use to specify your time zone so that the labels of returned data display the correct time for your time zone.

" + } + }, "LastModified": { "base": null, "refs": { @@ -1025,7 +1037,7 @@ "base": null, "refs": { "GetMetricStatisticsOutput$Label": "

A label for the specified metric.

", - "MetricDataQuery$Label": "

A human-readable label for this metric or expression. This is especially useful if this is an expression, so that you know what the value represents. If the metric or expression is shown in a CloudWatch dashboard widget, the label is shown. If Label is omitted, CloudWatch generates a default.

", + "MetricDataQuery$Label": "

A human-readable label for this metric or expression. This is especially useful if this is an expression, so that you know what the value represents. If the metric or expression is shown in a CloudWatch dashboard widget, the label is shown. If Label is omitted, CloudWatch generates a default.

You can put dynamic expressions into a label, so that it is more descriptive. For more information, see Using Dynamic Labels.

", "MetricDataResult$Label": "

The human-readable label associated with the data.

" } }, diff --git a/models/apis/robomaker/2018-06-29/api-2.json b/models/apis/robomaker/2018-06-29/api-2.json index b9c35bb0edd..007a76336e5 100644 --- a/models/apis/robomaker/2018-06-29/api-2.json +++ b/models/apis/robomaker/2018-06-29/api-2.json @@ -2367,7 +2367,9 @@ "members":{ "application":{"shape":"Arn"}, "applicationVersion":{"shape":"Version"}, - "launchConfig":{"shape":"LaunchConfig"} + "launchConfig":{"shape":"LaunchConfig"}, + "uploadConfigurations":{"shape":"UploadConfigurations"}, + "useDefaultUploadConfigurations":{"shape":"BoxedBoolean"} } }, "RobotApplicationConfigs":{ @@ -2530,7 +2532,9 @@ "application":{"shape":"Arn"}, "applicationVersion":{"shape":"Version"}, "launchConfig":{"shape":"LaunchConfig"}, - "worldConfigs":{"shape":"WorldConfigs"} + "uploadConfigurations":{"shape":"UploadConfigurations"}, + "worldConfigs":{"shape":"WorldConfigs"}, + "useDefaultUploadConfigurations":{"shape":"BoxedBoolean"} } }, "SimulationApplicationConfigs":{ @@ -2649,7 +2653,8 @@ "WrongRegionS3Bucket", "WrongRegionS3Output", "WrongRegionRobotApplication", - "WrongRegionSimulationApplication" + "WrongRegionSimulationApplication", + "UploadContentMismatchError" ] }, "SimulationJobRequest":{ @@ -3001,6 +3006,32 @@ "lastUpdatedAt":{"shape":"LastUpdatedAt"} } }, + "UploadBehavior":{ + "type":"string", + "enum":[ + "UPLOAD_ON_TERMINATE", + "UPLOAD_ROLLING_AUTO_REMOVE" + ] + }, + "UploadConfiguration":{ + "type":"structure", + "required":[ + "name", + "path", + "uploadBehavior" + ], + "members":{ + "name":{"shape":"Name"}, + "path":{"shape":"Path"}, + "uploadBehavior":{"shape":"UploadBehavior"} + } + }, + "UploadConfigurations":{ + "type":"list", + "member":{"shape":"UploadConfiguration"}, + "max":10, + "min":0 + }, "VPCConfig":{ "type":"structure", "required":["subnets"], diff --git a/models/apis/robomaker/2018-06-29/docs-2.json b/models/apis/robomaker/2018-06-29/docs-2.json index 8299d647213..9351d19c72c 100644 --- a/models/apis/robomaker/2018-06-29/docs-2.json +++ b/models/apis/robomaker/2018-06-29/docs-2.json @@ -232,7 +232,7 @@ "Boolean": { "base": null, "refs": { - "LaunchConfig$streamUI": "

Boolean indicating whether a streaming session will be configured for the application. If True, AWS RoboMaker will configure a connection so you can interact with your application as it is running in the simulation. You must configure and luanch the component. It must have a graphical user interface.

", + "LaunchConfig$streamUI": "

Boolean indicating whether a streaming session will be configured for the application. If True, AWS RoboMaker will configure a connection so you can interact with your application as it is running in the simulation. You must configure and launch the component. It must have a graphical user interface.

", "PortMapping$enableOnPublicIp": "

A Boolean indicating whether to enable this port mapping on public IP.

", "VPCConfig$assignPublicIp": "

A boolean indicating whether to assign a public IP address.

", "VPCConfigResponse$assignPublicIp": "

A boolean indicating if a public IP was assigned.

" @@ -242,7 +242,9 @@ "base": null, "refs": { "LoggingConfig$recordAllRosTopics": "

A boolean indicating whether to record all ROS topics.

", - "SimulationJobRequest$useDefaultApplications": "

Boolean indicating whether to use default simulation tool applications.

" + "RobotApplicationConfig$useDefaultUploadConfigurations": "

A Boolean indicating whether to use default upload configurations. By default, .ros and .gazebo files are uploaded when the application terminates and all ROS topics will be recorded.

If you set this value, you must specify an outputLocation.

", + "SimulationApplicationConfig$useDefaultUploadConfigurations": "

A Boolean indicating whether to use default upload configurations. By default, .ros and .gazebo files are uploaded when the application terminates and all ROS topics will be recorded.

If you set this value, you must specify an outputLocation.

", + "SimulationJobRequest$useDefaultApplications": "

A Boolean indicating whether to use default applications in the simulation job. Default applications include Gazebo, rqt, rviz and terminal access.

" } }, "CancelDeploymentJobRequest": { @@ -1227,7 +1229,8 @@ "SimulationJob$name": "

The name of the simulation job.

", "SimulationJobSummary$name": "

The name of the simulation job.

", "UpdateRobotApplicationResponse$name": "

The name of the robot application.

", - "UpdateSimulationApplicationResponse$name": "

The name of the simulation application.

" + "UpdateSimulationApplicationResponse$name": "

The name of the simulation application.

", + "UploadConfiguration$name": "

A prefix that specifies where files will be uploaded in Amazon S3. It is appended to the simulation output location to determine the final path.

For example, if your simulation output location is s3://my-bucket and your upload configuration name is robot-test, your files will be uploaded to s3://my-bucket/<simid>/<runid>/robot-test.

" } }, "NetworkInterface": { @@ -1294,7 +1297,8 @@ "base": null, "refs": { "DeploymentLaunchConfig$preLaunchFile": "

The deployment pre-launch file. This file will be executed prior to the launch file.

", - "DeploymentLaunchConfig$postLaunchFile": "

The deployment post-launch file. This file will be executed after the launch file.

" + "DeploymentLaunchConfig$postLaunchFile": "

The deployment post-launch file. This file will be executed after the launch file.

", + "UploadConfiguration$path": "

Specifies the path of the file(s) to upload. Standard Unix glob matching rules are accepted, with the addition of ** as a super asterisk. For example, specifying /var/log/**.log causes all .log files in the /var/log directory tree to be collected. For more examples, see Glob Library.

" } }, "PercentDone": { @@ -1941,6 +1945,25 @@ "refs": { } }, + "UploadBehavior": { + "base": null, + "refs": { + "UploadConfiguration$uploadBehavior": "

Specifies how to upload the files:

UPLOAD_ON_TERMINATE

Matching files are uploaded once the simulation enters the TERMINATING state. Matching files are not uploaded until all of your code (including tools) have stopped.

If there is a problem uploading a file, the upload is retried. If problems persist, no further upload attempts will be made.

UPLOAD_ROLLING_AUTO_REMOVE

Matching files are uploaded as they are created. They are deleted after they are uploaded. The specified path is checked every 5 seconds. A final check is made when all of your code (including tools) have stopped.

" + } + }, + "UploadConfiguration": { + "base": "

Provides upload configuration information. Files are uploaded from the simulation job to a location you specify.

", + "refs": { + "UploadConfigurations$member": null + } + }, + "UploadConfigurations": { + "base": null, + "refs": { + "RobotApplicationConfig$uploadConfigurations": "

The upload configurations for the robot application.

", + "SimulationApplicationConfig$uploadConfigurations": "

Information about upload configurations for the simulation application.

" + } + }, "VPCConfig": { "base": "

If your simulation job accesses resources in a VPC, you provide this parameter identifying the list of security group IDs and subnet IDs. These must belong to the same VPC. You must provide at least one security group and two subnet IDs.

", "refs": { diff --git a/models/apis/wellarchitected/2020-03-31/docs-2.json b/models/apis/wellarchitected/2020-03-31/docs-2.json index e994edd7cc5..956802537e7 100644 --- a/models/apis/wellarchitected/2020-03-31/docs-2.json +++ b/models/apis/wellarchitected/2020-03-31/docs-2.json @@ -1,6 +1,6 @@ { "version": "2.0", - "service": "AWS Well-Architected Tool

This is the AWS Well-Architected Tool API Reference.

The AWS Well-Architected Tool API provides programmatic access to the AWS Well-Architected Tool in the AWS Management Console.

Managing workloads:

Managing milestones:

Managing lenses:

Managing reviews:

Managing workload shares:

Managing workload share invitations:

For information about the AWS Well-Architected Tool, see the AWS Well-Architected Tool User Guide.

", + "service": "AWS Well-Architected Tool

This is the AWS Well-Architected Tool API Reference. The AWS Well-Architected Tool API provides programmatic access to the AWS Well-Architected Tool in the AWS Management Console. For information about the AWS Well-Architected Tool, see the AWS Well-Architected Tool User Guide.

", "operations": { "AssociateLenses": "

Associate a lens to a workload.

", "CreateMilestone": "

Create a milestone for an existing workload.

", @@ -801,7 +801,7 @@ } }, "SelectedChoices": { - "base": "

List of selected choice IDs in a question answer.

", + "base": "

List of selected choice IDs in a question answer.

The values entered replace the previously selected choices.

", "refs": { "Answer$SelectedChoices": null, "AnswerSummary$SelectedChoices": null, diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 3c1e62f9556..e66a08cbf76 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -1307,6 +1307,7 @@ "ca-central-1" : { }, "eu-central-1" : { }, "eu-north-1" : { }, + "eu-south-1" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -2929,6 +2930,7 @@ }, "fsx" : { "endpoints" : { + "af-south-1" : { }, "ap-east-1" : { }, "ap-northeast-1" : { }, "ap-northeast-2" : { }, @@ -2938,6 +2940,7 @@ "ca-central-1" : { }, "eu-central-1" : { }, "eu-north-1" : { }, + "eu-south-1" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -2971,6 +2974,7 @@ }, "hostname" : "fsx-fips.us-west-2.amazonaws.com" }, + "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { }, "us-east-2" : { }, @@ -3615,6 +3619,7 @@ }, "lakeformation" : { "endpoints" : { + "ap-east-1" : { }, "ap-northeast-1" : { }, "ap-northeast-2" : { }, "ap-south-1" : { }, @@ -9469,6 +9474,11 @@ } } }, + "ssm" : { + "endpoints" : { + "us-iso-east-1" : { } + } + }, "states" : { "endpoints" : { "us-iso-east-1" : { } diff --git a/service/cloudwatch/api.go b/service/cloudwatch/api.go index b13b59c8d51..34a62fccad9 100644 --- a/service/cloudwatch/api.go +++ b/service/cloudwatch/api.go @@ -5362,6 +5362,11 @@ type GetMetricDataInput struct { // EndTime is a required field EndTime *time.Time `type:"timestamp" required:"true"` + // This structure includes the Timezone parameter, which you can use to specify + // your time zone so that the labels of returned data display the correct time + // for your time zone. + LabelOptions *LabelOptions `type:"structure"` + // The maximum number of data points the request should return before paginating. // If you omit this, the default of 100,800 is used. MaxDatapoints *int64 `type:"integer"` @@ -5463,6 +5468,12 @@ func (s *GetMetricDataInput) SetEndTime(v time.Time) *GetMetricDataInput { return s } +// SetLabelOptions sets the LabelOptions field's value. +func (s *GetMetricDataInput) SetLabelOptions(v *LabelOptions) *GetMetricDataInput { + s.LabelOptions = v + return s +} + // SetMaxDatapoints sets the MaxDatapoints field's value. func (s *GetMetricDataInput) SetMaxDatapoints(v int64) *GetMetricDataInput { s.MaxDatapoints = &v @@ -6182,6 +6193,40 @@ func (s *InsightRuleMetricDatapoint) SetUniqueContributors(v float64) *InsightRu return s } +// This structure includes the Timezone parameter, which you can use to specify +// your time zone so that the labels that are associated with returned metrics +// display the correct time for your time zone. +// +// The Timezone value affects a label only if you have a time-based dynamic +// expression in the label. For more information about dynamic expressions in +// labels, see Using Dynamic Labels (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html). +type LabelOptions struct { + _ struct{} `type:"structure"` + + // The time zone to use for metric data return in this operation. The format + // is + or - followed by four digits. The first two digits indicate the number + // of hours ahead or behind of UTC, and the final two digits are the number + // of minutes. For example, +0130 indicates a time zone that is 1 hour and 30 + // minutes ahead of UTC. The default is +0000. + Timezone *string `type:"string"` +} + +// String returns the string representation +func (s LabelOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s LabelOptions) GoString() string { + return s.String() +} + +// SetTimezone sets the Timezone field's value. +func (s *LabelOptions) SetTimezone(v string) *LabelOptions { + s.Timezone = &v + return s +} + type ListDashboardsInput struct { _ struct{} `type:"structure"` @@ -6878,6 +6923,9 @@ type MetricDataQuery struct { // useful if this is an expression, so that you know what the value represents. // If the metric or expression is shown in a CloudWatch dashboard widget, the // label is shown. If Label is omitted, CloudWatch generates a default. + // + // You can put dynamic expressions into a label, so that it is more descriptive. + // For more information, see Using Dynamic Labels (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html). Label *string `type:"string"` // The metric to be returned, along with statistics, period, and units. Use diff --git a/service/gluedatabrew/api.go b/service/gluedatabrew/api.go index 2a06cbf9b55..68d7389cdf3 100644 --- a/service/gluedatabrew/api.go +++ b/service/gluedatabrew/api.go @@ -59,6 +59,33 @@ func (c *GlueDataBrew) BatchDeleteRecipeVersionRequest(input *BatchDeleteRecipeV // // Deletes one or more versions of a recipe at a time. // +// The entire request will be rejected if: +// +// * The recipe does not exist. +// +// * There is an invalid version identifier in the list of versions. +// +// * The verision list is empty. +// +// * The version list size exceeds 50. +// +// * The verison list contains duplicate entries. +// +// The request will complete successfully, but with partial failures, if: +// +// * A version does not exist. +// +// * A version is being used by a job. +// +// * You specify LATEST_WORKING, but it's being used by a project. +// +// * The version fails to be deleted. +// +// The LATEST_WORKING version will only be deleted if the recipe has no other +// versions. If you try to delete LATEST_WORKING while other versions exist +// (or if they can't be deleted), then LATEST_WORKING will be listed as partial +// failure in the response. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -142,7 +169,7 @@ func (c *GlueDataBrew) CreateDatasetRequest(input *CreateDatasetInput) (req *req // CreateDataset API operation for AWS Glue DataBrew. // -// Creates a new AWS Glue DataBrew dataset for this AWS account. +// Creates a new DataBrew dataset. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -230,8 +257,7 @@ func (c *GlueDataBrew) CreateProfileJobRequest(input *CreateProfileJobInput) (re // CreateProfileJob API operation for AWS Glue DataBrew. // -// Creates a new job to profile an AWS Glue DataBrew dataset that exists in -// the current AWS account. +// Creates a new job to analyze a dataset and create its data profile. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -241,6 +267,18 @@ func (c *GlueDataBrew) CreateProfileJobRequest(input *CreateProfileJobInput) (re // API operation CreateProfileJob for usage and error information. // // Returned Error Types: +// * AccessDeniedException +// Access to the specified resource was denied. +// +// * ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// * ResourceNotFoundException +// One or more resources can't be found. +// +// * ServiceQuotaExceededException +// A service quota is exceeded. +// // * ValidationException // The input parameters for this request failed validation. // @@ -310,7 +348,7 @@ func (c *GlueDataBrew) CreateProjectRequest(input *CreateProjectInput) (req *req // CreateProject API operation for AWS Glue DataBrew. // -// Creates a new AWS Glue DataBrew project in the current AWS account. +// Creates a new DataBrew project. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -398,7 +436,7 @@ func (c *GlueDataBrew) CreateRecipeRequest(input *CreateRecipeInput) (req *reque // CreateRecipe API operation for AWS Glue DataBrew. // -// Creates a new AWS Glue DataBrew recipe for the current AWS account. +// Creates a new DataBrew recipe. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -483,9 +521,8 @@ func (c *GlueDataBrew) CreateRecipeJobRequest(input *CreateRecipeJobInput) (req // CreateRecipeJob API operation for AWS Glue DataBrew. // -// Creates a new job for an existing AWS Glue DataBrew recipe in the current -// AWS account. You can create a standalone job using either a project, or a -// combination of a recipe and a dataset. +// Creates a new job to transform input data, using steps defined in an existing +// AWS Glue DataBrew recipe // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -495,6 +532,18 @@ func (c *GlueDataBrew) CreateRecipeJobRequest(input *CreateRecipeJobInput) (req // API operation CreateRecipeJob for usage and error information. // // Returned Error Types: +// * AccessDeniedException +// Access to the specified resource was denied. +// +// * ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// * ResourceNotFoundException +// One or more resources can't be found. +// +// * ServiceQuotaExceededException +// A service quota is exceeded. +// // * ValidationException // The input parameters for this request failed validation. // @@ -564,8 +613,8 @@ func (c *GlueDataBrew) CreateScheduleRequest(input *CreateScheduleInput) (req *r // CreateSchedule API operation for AWS Glue DataBrew. // -// Creates a new schedule for one or more AWS Glue DataBrew jobs. Jobs can be -// run at a specific date and time, or at regular intervals. +// Creates a new schedule for one or more DataBrew jobs. Jobs can be run at +// a specific date and time, or at regular intervals. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -575,6 +624,12 @@ func (c *GlueDataBrew) CreateScheduleRequest(input *CreateScheduleInput) (req *r // API operation CreateSchedule for usage and error information. // // Returned Error Types: +// * ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// * ServiceQuotaExceededException +// A service quota is exceeded. +// // * ValidationException // The input parameters for this request failed validation. // @@ -644,7 +699,7 @@ func (c *GlueDataBrew) DeleteDatasetRequest(input *DeleteDatasetInput) (req *req // DeleteDataset API operation for AWS Glue DataBrew. // -// Deletes a dataset from AWS Glue DataBrew. +// Deletes a dataset from DataBrew. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -654,6 +709,9 @@ func (c *GlueDataBrew) DeleteDatasetRequest(input *DeleteDatasetInput) (req *req // API operation DeleteDataset for usage and error information. // // Returned Error Types: +// * ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// // * ResourceNotFoundException // One or more resources can't be found. // @@ -726,8 +784,7 @@ func (c *GlueDataBrew) DeleteJobRequest(input *DeleteJobInput) (req *request.Req // DeleteJob API operation for AWS Glue DataBrew. // -// Deletes the specified AWS Glue DataBrew job from the current AWS account. -// The job can be for a recipe or for a profile. +// Deletes the specified DataBrew job. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -737,6 +794,9 @@ func (c *GlueDataBrew) DeleteJobRequest(input *DeleteJobInput) (req *request.Req // API operation DeleteJob for usage and error information. // // Returned Error Types: +// * ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// // * ResourceNotFoundException // One or more resources can't be found. // @@ -809,7 +869,7 @@ func (c *GlueDataBrew) DeleteProjectRequest(input *DeleteProjectInput) (req *req // DeleteProject API operation for AWS Glue DataBrew. // -// Deletes an existing AWS Glue DataBrew project from the current AWS account. +// Deletes an existing DataBrew project. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -819,6 +879,9 @@ func (c *GlueDataBrew) DeleteProjectRequest(input *DeleteProjectInput) (req *req // API operation DeleteProject for usage and error information. // // Returned Error Types: +// * ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// // * ResourceNotFoundException // One or more resources can't be found. // @@ -891,7 +954,7 @@ func (c *GlueDataBrew) DeleteRecipeVersionRequest(input *DeleteRecipeVersionInpu // DeleteRecipeVersion API operation for AWS Glue DataBrew. // -// Deletes a single version of an AWS Glue DataBrew recipe. +// Deletes a single version of a DataBrew recipe. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -901,6 +964,9 @@ func (c *GlueDataBrew) DeleteRecipeVersionRequest(input *DeleteRecipeVersionInpu // API operation DeleteRecipeVersion for usage and error information. // // Returned Error Types: +// * ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// // * ResourceNotFoundException // One or more resources can't be found. // @@ -973,7 +1039,7 @@ func (c *GlueDataBrew) DeleteScheduleRequest(input *DeleteScheduleInput) (req *r // DeleteSchedule API operation for AWS Glue DataBrew. // -// Deletes the specified AWS Glue DataBrew schedule from the current AWS account. +// Deletes the specified DataBrew schedule. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1055,8 +1121,7 @@ func (c *GlueDataBrew) DescribeDatasetRequest(input *DescribeDatasetInput) (req // DescribeDataset API operation for AWS Glue DataBrew. // -// Returns the definition of a specific AWS Glue DataBrew dataset that is in -// the current AWS account. +// Returns the definition of a specific DataBrew dataset. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1138,8 +1203,7 @@ func (c *GlueDataBrew) DescribeJobRequest(input *DescribeJobInput) (req *request // DescribeJob API operation for AWS Glue DataBrew. // -// Returns the definition of a specific AWS Glue DataBrew job that is in the -// current AWS account. +// Returns the definition of a specific DataBrew job. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1221,8 +1285,7 @@ func (c *GlueDataBrew) DescribeProjectRequest(input *DescribeProjectInput) (req // DescribeProject API operation for AWS Glue DataBrew. // -// Returns the definition of a specific AWS Glue DataBrew project that is in -// the current AWS account. +// Returns the definition of a specific DataBrew project. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1304,8 +1367,8 @@ func (c *GlueDataBrew) DescribeRecipeRequest(input *DescribeRecipeInput) (req *r // DescribeRecipe API operation for AWS Glue DataBrew. // -// Returns the definition of a specific AWS Glue DataBrew recipe that is in -// the current AWS account. +// Returns the definition of a specific DataBrew recipe corresponding to a particular +// version. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1387,8 +1450,7 @@ func (c *GlueDataBrew) DescribeScheduleRequest(input *DescribeScheduleInput) (re // DescribeSchedule API operation for AWS Glue DataBrew. // -// Returns the definition of a specific AWS Glue DataBrew schedule that is in -// the current AWS account. +// Returns the definition of a specific DataBrew schedule. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1476,7 +1538,7 @@ func (c *GlueDataBrew) ListDatasetsRequest(input *ListDatasetsInput) (req *reque // ListDatasets API operation for AWS Glue DataBrew. // -// Lists all of the AWS Glue DataBrew datasets for the current AWS account. +// Lists all of the DataBrew datasets. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1613,8 +1675,7 @@ func (c *GlueDataBrew) ListJobRunsRequest(input *ListJobRunsInput) (req *request // ListJobRuns API operation for AWS Glue DataBrew. // -// Lists all of the previous runs of a particular AWS Glue DataBrew job in the -// current AWS account. +// Lists all of the previous runs of a particular DataBrew job. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1754,7 +1815,7 @@ func (c *GlueDataBrew) ListJobsRequest(input *ListJobsInput) (req *request.Reque // ListJobs API operation for AWS Glue DataBrew. // -// Lists the AWS Glue DataBrew jobs in the current AWS account. +// Lists all of the DataBrew jobs that are defined. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1891,7 +1952,7 @@ func (c *GlueDataBrew) ListProjectsRequest(input *ListProjectsInput) (req *reque // ListProjects API operation for AWS Glue DataBrew. // -// Lists all of the DataBrew projects in the current AWS account. +// Lists all of the DataBrew projects that are defined. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2028,8 +2089,7 @@ func (c *GlueDataBrew) ListRecipeVersionsRequest(input *ListRecipeVersionsInput) // ListRecipeVersions API operation for AWS Glue DataBrew. // -// Lists all of the versions of a particular AWS Glue DataBrew recipe in the -// current AWS account. +// Lists the versions of a particular DataBrew recipe, except for LATEST_WORKING. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2166,7 +2226,7 @@ func (c *GlueDataBrew) ListRecipesRequest(input *ListRecipesInput) (req *request // ListRecipes API operation for AWS Glue DataBrew. // -// Lists all of the AWS Glue DataBrew recipes in the current AWS account. +// Lists all of the DataBrew recipes that are defined. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2303,7 +2363,7 @@ func (c *GlueDataBrew) ListSchedulesRequest(input *ListSchedulesInput) (req *req // ListSchedules API operation for AWS Glue DataBrew. // -// Lists the AWS Glue DataBrew schedules in the current AWS account. +// Lists the DataBrew schedules that are defined. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2434,7 +2494,7 @@ func (c *GlueDataBrew) ListTagsForResourceRequest(input *ListTagsForResourceInpu // ListTagsForResource API operation for AWS Glue DataBrew. // -// Lists all the tags for an AWS Glue DataBrew resource. +// Lists all the tags for a DataBrew resource. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2519,8 +2579,7 @@ func (c *GlueDataBrew) PublishRecipeRequest(input *PublishRecipeInput) (req *req // PublishRecipe API operation for AWS Glue DataBrew. // -// Publishes a new major version of an AWS Glue DataBrew recipe that exists -// in the current AWS account. +// Publishes a new version of a DataBrew recipe. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2536,6 +2595,9 @@ func (c *GlueDataBrew) PublishRecipeRequest(input *PublishRecipeInput) (req *req // * ResourceNotFoundException // One or more resources can't be found. // +// * ServiceQuotaExceededException +// A service quota is exceeded. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/PublishRecipe func (c *GlueDataBrew) PublishRecipe(input *PublishRecipeInput) (*PublishRecipeOutput, error) { req, out := c.PublishRecipeRequest(input) @@ -2602,8 +2664,8 @@ func (c *GlueDataBrew) SendProjectSessionActionRequest(input *SendProjectSession // SendProjectSessionAction API operation for AWS Glue DataBrew. // -// Performs a recipe step within an interactive AWS Glue DataBrew session that's -// currently open. +// Performs a recipe step within an interactive DataBrew session that's currently +// open. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2688,7 +2750,7 @@ func (c *GlueDataBrew) StartJobRunRequest(input *StartJobRunInput) (req *request // StartJobRun API operation for AWS Glue DataBrew. // -// Runs an AWS Glue DataBrew job that exists in the current AWS account. +// Runs a DataBrew job. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2698,9 +2760,15 @@ func (c *GlueDataBrew) StartJobRunRequest(input *StartJobRunInput) (req *request // API operation StartJobRun for usage and error information. // // Returned Error Types: +// * ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// // * ResourceNotFoundException // One or more resources can't be found. // +// * ServiceQuotaExceededException +// A service quota is exceeded. +// // * ValidationException // The input parameters for this request failed validation. // @@ -2770,7 +2838,7 @@ func (c *GlueDataBrew) StartProjectSessionRequest(input *StartProjectSessionInpu // StartProjectSession API operation for AWS Glue DataBrew. // -// Creates an interactive session, enabling you to manipulate an AWS Glue DataBrew +// Creates an interactive session, enabling you to manipulate data in a DataBrew // project. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -2781,9 +2849,15 @@ func (c *GlueDataBrew) StartProjectSessionRequest(input *StartProjectSessionInpu // API operation StartProjectSession for usage and error information. // // Returned Error Types: +// * ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// // * ResourceNotFoundException // One or more resources can't be found. // +// * ServiceQuotaExceededException +// A service quota is exceeded. +// // * ValidationException // The input parameters for this request failed validation. // @@ -2853,7 +2927,7 @@ func (c *GlueDataBrew) StopJobRunRequest(input *StopJobRunInput) (req *request.R // StopJobRun API operation for AWS Glue DataBrew. // -// Stops the specified job from running in the current AWS account. +// Stops a particular run of a job. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2936,8 +3010,8 @@ func (c *GlueDataBrew) TagResourceRequest(input *TagResourceInput) (req *request // TagResource API operation for AWS Glue DataBrew. // -// Adds metadata tags to an AWS Glue DataBrew resource, such as a dataset, job, -// project, or recipe. +// Adds metadata tags to a DataBrew resource, such as a dataset, project, recipe, +// job, or schedule. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3023,7 +3097,7 @@ func (c *GlueDataBrew) UntagResourceRequest(input *UntagResourceInput) (req *req // UntagResource API operation for AWS Glue DataBrew. // -// Removes metadata tags from an AWS Glue DataBrew resource. +// Removes metadata tags from a DataBrew resource. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3108,8 +3182,7 @@ func (c *GlueDataBrew) UpdateDatasetRequest(input *UpdateDatasetInput) (req *req // UpdateDataset API operation for AWS Glue DataBrew. // -// Modifies the definition of an existing AWS Glue DataBrew dataset in the current -// AWS account. +// Modifies the definition of an existing DataBrew dataset. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3119,6 +3192,9 @@ func (c *GlueDataBrew) UpdateDatasetRequest(input *UpdateDatasetInput) (req *req // API operation UpdateDataset for usage and error information. // // Returned Error Types: +// * AccessDeniedException +// Access to the specified resource was denied. +// // * ResourceNotFoundException // One or more resources can't be found. // @@ -3191,8 +3267,7 @@ func (c *GlueDataBrew) UpdateProfileJobRequest(input *UpdateProfileJobInput) (re // UpdateProfileJob API operation for AWS Glue DataBrew. // -// Modifies the definition of an existing AWS Glue DataBrew job in the current -// AWS account. +// Modifies the definition of an existing profile job. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3202,6 +3277,12 @@ func (c *GlueDataBrew) UpdateProfileJobRequest(input *UpdateProfileJobInput) (re // API operation UpdateProfileJob for usage and error information. // // Returned Error Types: +// * AccessDeniedException +// Access to the specified resource was denied. +// +// * ResourceNotFoundException +// One or more resources can't be found. +// // * ValidationException // The input parameters for this request failed validation. // @@ -3271,8 +3352,7 @@ func (c *GlueDataBrew) UpdateProjectRequest(input *UpdateProjectInput) (req *req // UpdateProject API operation for AWS Glue DataBrew. // -// Modifies the definition of an existing AWS Glue DataBrew project in the current -// AWS account. +// Modifies the definition of an existing DataBrew project. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3354,8 +3434,7 @@ func (c *GlueDataBrew) UpdateRecipeRequest(input *UpdateRecipeInput) (req *reque // UpdateRecipe API operation for AWS Glue DataBrew. // -// Modifies the definition of the latest working version of an AWS Glue DataBrew -// recipe in the current AWS account. +// Modifies the definition of the LATEST_WORKING version of a DataBrew recipe. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3437,8 +3516,7 @@ func (c *GlueDataBrew) UpdateRecipeJobRequest(input *UpdateRecipeJobInput) (req // UpdateRecipeJob API operation for AWS Glue DataBrew. // -// Modifies the definition of an existing AWS Glue DataBrew recipe job in the -// current AWS account. +// Modifies the definition of an existing DataBrew recipe job. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3448,6 +3526,12 @@ func (c *GlueDataBrew) UpdateRecipeJobRequest(input *UpdateRecipeJobInput) (req // API operation UpdateRecipeJob for usage and error information. // // Returned Error Types: +// * AccessDeniedException +// Access to the specified resource was denied. +// +// * ResourceNotFoundException +// One or more resources can't be found. +// // * ValidationException // The input parameters for this request failed validation. // @@ -3517,8 +3601,7 @@ func (c *GlueDataBrew) UpdateScheduleRequest(input *UpdateScheduleInput) (req *r // UpdateSchedule API operation for AWS Glue DataBrew. // -// Modifies the definition of an existing AWS Glue DataBrew schedule in the -// current AWS account. +// Modifies the definition of an existing DataBrew schedule. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3528,6 +3611,12 @@ func (c *GlueDataBrew) UpdateScheduleRequest(input *UpdateScheduleInput) (req *r // API operation UpdateSchedule for usage and error information. // // Returned Error Types: +// * ResourceNotFoundException +// One or more resources can't be found. +// +// * ServiceQuotaExceededException +// A service quota is exceeded. +// // * ValidationException // The input parameters for this request failed validation. // @@ -3612,12 +3701,14 @@ func (s *AccessDeniedException) RequestID() string { type BatchDeleteRecipeVersionInput struct { _ struct{} `type:"structure"` - // The name of the recipe to be modified. + // The name of the recipe whose versions are to be deleted. // // Name is a required field Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` - // An array of version identifiers to be deleted. + // An array of version identifiers, for the recipe versions to be deleted. You + // can specify numeric versions (X.Y) or LATEST_WORKING. LATEST_PUBLISHED is + // not supported. // // RecipeVersions is a required field RecipeVersions []*string `min:"1" type:"list" required:"true"` @@ -3670,7 +3761,7 @@ func (s *BatchDeleteRecipeVersionInput) SetRecipeVersions(v []*string) *BatchDel type BatchDeleteRecipeVersionOutput struct { _ struct{} `type:"structure"` - // Errors, if any, that were encountered when deleting the recipe versions. + // Errors, if any, that occurred while attempting to delete the recipe versions. Errors []*RecipeVersionErrorDetail `type:"list"` // The name of the recipe that was modified. @@ -3713,13 +3804,13 @@ type ConditionExpression struct { _ struct{} `type:"structure"` // A specific condition to apply to a recipe action. For more information, see - // Recipe structure (https://docs.aws.amazon.com/databrew/latest/dg/recipe-structure.html) + // Recipe structure (https://docs.aws.amazon.com/databrew/latest/dg/recipes.html#recipes.structure) // in the AWS Glue DataBrew Developer Guide. // // Condition is a required field Condition *string `min:"1" type:"string" required:"true"` - // A column to apply this condition to, within an AWS Glue DataBrew dataset. + // A column to apply this condition to. // // TargetColumn is a required field TargetColumn *string `min:"1" type:"string" required:"true"` @@ -3837,16 +3928,17 @@ func (s *ConflictException) RequestID() string { type CreateDatasetInput struct { _ struct{} `type:"structure"` - // Options that define how Microsoft Excel input is to be interpreted by DataBrew. + // Options that define the structure of either Csv, Excel, or JSON input. FormatOptions *FormatOptions `type:"structure"` - // Information on how AWS Glue DataBrew can find data, in either the AWS Glue - // Data Catalog or Amazon S3. + // Information on how DataBrew can find data, in either the AWS Glue Data Catalog + // or Amazon S3. // // Input is a required field Input *Input `type:"structure" required:"true"` - // The name of the dataset to be created. + // The name of the dataset to be created. Valid characters are alphanumeric + // (A-Z, a-z, 0-9), hyphen (-), period (.), and space. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` @@ -3966,9 +4058,8 @@ type CreateProfileJobInput struct { // * SSE-S3 - Server-side encryption with keys managed by Amazon S3. EncryptionMode *string `type:"string" enum:"EncryptionMode"` - // A value that enables or disables Amazon CloudWatch logging for the current - // AWS account. If logging is enabled, CloudWatch writes one log stream for - // each job run. + // Enables or disables Amazon CloudWatch logging for the job. If logging is + // enabled, CloudWatch writes one log stream for each job run. LogSubscription *string `type:"string" enum:"LogSubscription"` // The maximum number of nodes that DataBrew can use when the job processes @@ -3978,7 +4069,8 @@ type CreateProfileJobInput struct { // The maximum number of times to retry the job after a job run fails. MaxRetries *int64 `type:"integer"` - // The name of the job to be created. + // The name of the job to be created. Valid characters are alphanumeric (A-Z, + // a-z, 0-9), hyphen (-), period (.), and space. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` @@ -3990,7 +4082,7 @@ type CreateProfileJobInput struct { OutputLocation *S3Location `type:"structure" required:"true"` // The Amazon Resource Name (ARN) of the AWS Identity and Access Management - // (IAM) role to be assumed for this request. + // (IAM) role to be assumed when DataBrew runs the job. // // RoleArn is a required field RoleArn *string `min:"20" type:"string" required:"true"` @@ -4149,12 +4241,13 @@ func (s *CreateProfileJobOutput) SetName(v string) *CreateProfileJobOutput { type CreateProjectInput struct { _ struct{} `type:"structure"` - // The name of the dataset to associate this project with. + // The name of an existing dataset to associate this project with. // // DatasetName is a required field DatasetName *string `min:"1" type:"string" required:"true"` - // A unique name for the new project. + // A unique name for the new project. Valid characters are alphanumeric (A-Z, + // a-z, 0-9), hyphen (-), period (.), and space. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` @@ -4170,8 +4263,8 @@ type CreateProjectInput struct { // RoleArn is a required field RoleArn *string `min:"20" type:"string" required:"true"` - // Represents the sample size and sampling type for AWS Glue DataBrew to use - // for interactive data analysis. + // Represents the sample size and sampling type for DataBrew to use for interactive + // data analysis. Sample *Sample `type:"structure"` // Metadata tags to apply to this project. @@ -4297,7 +4390,8 @@ type CreateRecipeInput struct { // A description for the recipe. Description *string `type:"string"` - // A unique name for the recipe. + // A unique name for the recipe. Valid characters are alphanumeric (A-Z, a-z, + // 0-9), hyphen (-), period (.), and space. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` @@ -4396,9 +4490,8 @@ type CreateRecipeJobInput struct { // * SSE-S3 - Server-side encryption with keys managed by Amazon S3. EncryptionMode *string `type:"string" enum:"EncryptionMode"` - // A value that enables or disables Amazon CloudWatch logging for the current - // AWS account. If logging is enabled, CloudWatch writes one log stream for - // each job run. + // Enables or disables Amazon CloudWatch logging for the job. If logging is + // enabled, CloudWatch writes one log stream for each job run. LogSubscription *string `type:"string" enum:"LogSubscription"` // The maximum number of nodes that DataBrew can consume when the job processes @@ -4408,7 +4501,8 @@ type CreateRecipeJobInput struct { // The maximum number of times to retry the job after a job run fails. MaxRetries *int64 `type:"integer"` - // A unique name for the job. + // A unique name for the job. Valid characters are alphanumeric (A-Z, a-z, 0-9), + // hyphen (-), period (.), and space. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` @@ -4422,16 +4516,16 @@ type CreateRecipeJobInput struct { // a dataset to associate with the recipe. ProjectName *string `min:"1" type:"string"` - // Represents all of the attributes of an AWS Glue DataBrew recipe. + // Represents the name and version of a DataBrew recipe. RecipeReference *RecipeReference `type:"structure"` // The Amazon Resource Name (ARN) of the AWS Identity and Access Management - // (IAM) role to be assumed for this request. + // (IAM) role to be assumed when DataBrew runs the job. // // RoleArn is a required field RoleArn *string `min:"20" type:"string" required:"true"` - // Metadata tags to apply to this job dataset. + // Metadata tags to apply to this job. Tags map[string]*string `min:"1" type:"map"` // The job's timeout in minutes. A job that attempts to run longer than this @@ -4635,8 +4729,9 @@ func (s *CreateRecipeOutput) SetName(v string) *CreateRecipeOutput { type CreateScheduleInput struct { _ struct{} `type:"structure"` - // The date or dates and time or times, in cron format, when the jobs are to - // be run. + // The date or dates and time or times when the jobs are to be run. For more + // information, see Cron expressions (https://docs.aws.amazon.com/databrew/latest/dg/jobs.cron.html) + // in the AWS Glue DataBrew Developer Guide. // // CronExpression is a required field CronExpression *string `min:"1" type:"string" required:"true"` @@ -4644,7 +4739,8 @@ type CreateScheduleInput struct { // The name or names of one or more jobs to be run. JobNames []*string `type:"list"` - // A unique name for the schedule. + // A unique name for the schedule. Valid characters are alphanumeric (A-Z, a-z, + // 0-9), hyphen (-), period (.), and space. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` @@ -4737,8 +4833,83 @@ func (s *CreateScheduleOutput) SetName(v string) *CreateScheduleOutput { return s } +// Options that define how DataBrew will read a Csv file when creating a dataset +// from that file. +type CsvOptions struct { + _ struct{} `type:"structure"` + + // A single character that specifies the delimiter being used in the Csv file. + Delimiter *string `min:"1" type:"string"` +} + +// String returns the string representation +func (s CsvOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CsvOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CsvOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CsvOptions"} + if s.Delimiter != nil && len(*s.Delimiter) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Delimiter", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDelimiter sets the Delimiter field's value. +func (s *CsvOptions) SetDelimiter(v string) *CsvOptions { + s.Delimiter = &v + return s +} + +// Options that define how DataBrew will write a Csv file a. +type CsvOutputOptions struct { + _ struct{} `type:"structure"` + + // A single character that specifies the delimiter used to create Csv job output. + Delimiter *string `min:"1" type:"string"` +} + +// String returns the string representation +func (s CsvOutputOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CsvOutputOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CsvOutputOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CsvOutputOptions"} + if s.Delimiter != nil && len(*s.Delimiter) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Delimiter", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDelimiter sets the Delimiter field's value. +func (s *CsvOutputOptions) SetDelimiter(v string) *CsvOutputOptions { + s.Delimiter = &v + return s +} + // Represents how metadata stored in the AWS Glue Data Catalog is defined in -// an AWS Glue DataBrew dataset. +// a DataBrew dataset. type DataCatalogInputDefinition struct { _ struct{} `type:"structure"` @@ -4825,7 +4996,7 @@ func (s *DataCatalogInputDefinition) SetTempDirectory(v *S3Location) *DataCatalo return s } -// Represents a dataset that can be processed by AWS Glue DataBrew. +// Represents a dataset that can be processed by DataBrew. type Dataset struct { _ struct{} `type:"structure"` @@ -4835,7 +5006,7 @@ type Dataset struct { // The date and time that the dataset was created. CreateDate *time.Time `type:"timestamp"` - // The identifier (the user name) of the user who created the dataset. + // The Amazon Resource Name (ARN) of the user who created the dataset. CreatedBy *string `type:"string"` // Options that define how DataBrew interprets the data in the dataset. @@ -4847,7 +5018,7 @@ type Dataset struct { // Input is a required field Input *Input `type:"structure" required:"true"` - // The identifier (the user name) of the user who last modified the dataset. + // The Amazon Resource Name (ARN) of the user who last modified the dataset. LastModifiedBy *string `type:"string"` // The last modification date and time of the dataset. @@ -5146,12 +5317,13 @@ func (s *DeleteProjectOutput) SetName(v string) *DeleteProjectOutput { type DeleteRecipeVersionInput struct { _ struct{} `type:"structure"` - // The name of the recipe to be deleted. + // The name of the recipe. // // Name is a required field Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` - // The version of the recipe to be deleted. + // The version of the recipe to be deleted. You can specify a numeric versions + // (X.Y) or LATEST_WORKING. LATEST_PUBLISHED is not supported. // // RecipeVersion is a required field RecipeVersion *string `location:"uri" locationName:"recipeVersion" min:"1" type:"string" required:"true"` @@ -5353,11 +5525,11 @@ type DescribeDatasetOutput struct { // The identifier (user name) of the user who created the dataset. CreatedBy *string `type:"string"` - // Options that define how Microsoft Excel input is to be interpreted by DataBrew. + // Options that define the structure of either Csv, Excel, or JSON input. FormatOptions *FormatOptions `type:"structure"` - // Information on how AWS Glue DataBrew can find data, in either the AWS Glue - // Data Catalog or Amazon S3. + // Information on how DataBrew can find data, in either the AWS Glue Data Catalog + // or Amazon S3. // // Input is a required field Input *Input `type:"structure" required:"true"` @@ -5525,11 +5697,10 @@ type DescribeJobOutput struct { // The date and time that the job was last modified. LastModifiedDate *time.Time `type:"timestamp"` - // A value that indicates whether Amazon CloudWatch logging is enabled for this - // job. + // Indicates whether Amazon CloudWatch logging is enabled for this job. LogSubscription *string `type:"string" enum:"LogSubscription"` - // The maximum number of nodes that AWS Glue DataBrew can consume when the job + // The maximum number of compute nodes that DataBrew can consume when the job // processes data. MaxCapacity *int64 `type:"integer"` @@ -5547,14 +5718,14 @@ type DescribeJobOutput struct { // The DataBrew project associated with this job. ProjectName *string `min:"1" type:"string"` - // Represents all of the attributes of an AWS Glue DataBrew recipe. + // Represents the name and version of a DataBrew recipe. RecipeReference *RecipeReference `type:"structure"` // The Amazon Resource Name (ARN) of the job. ResourceArn *string `min:"20" type:"string"` - // The ARN of the AWS Identity and Access Management (IAM) role that was assumed - // for this request. + // The ARN of the AWS Identity and Access Management (IAM) role to be assumed + // when DataBrew runs the job. RoleArn *string `min:"20" type:"string"` // Metadata tags associated with this job. @@ -5773,12 +5944,12 @@ type DescribeProjectOutput struct { // The Amazon Resource Name (ARN) of the project. ResourceArn *string `min:"20" type:"string"` - // The ARN of the AWS Identity and Access Management (IAM) role that was assumed - // for this request. + // The ARN of the AWS Identity and Access Management (IAM) role to be assumed + // when DataBrew runs the job. RoleArn *string `min:"20" type:"string"` - // Represents the sample size and sampling type for AWS Glue DataBrew to use - // for interactive data analysis. + // Represents the sample size and sampling type for DataBrew to use for interactive + // data analysis. Sample *Sample `type:"structure"` // Describes the current state of the session: @@ -6126,8 +6297,9 @@ type DescribeScheduleOutput struct { // The identifier (user name) of the user who created the schedule. CreatedBy *string `type:"string"` - // The date or dates and time or times, in cron format, when the jobs are to - // be run for the schedule. + // The date or dates and time or times when the jobs are to be run for the schedule. + // For more information, see Cron expressions (https://docs.aws.amazon.com/databrew/latest/dg/jobs.cron.html) + // in the AWS Glue DataBrew Developer Guide. CronExpression *string `min:"1" type:"string"` // The name or names of one or more jobs to be run by using the schedule. @@ -6267,10 +6439,13 @@ func (s *ExcelOptions) SetSheetNames(v []*string) *ExcelOptions { return s } -// Options that define how Microsoft Excel input is to be interpreted by DataBrew. +// Options that define the structure of either Csv, Excel, or JSON input. type FormatOptions struct { _ struct{} `type:"structure"` + // Options that define how Csv input is to be interpreted by DataBrew. + Csv *CsvOptions `type:"structure"` + // Options that define how Excel input is to be interpreted by DataBrew. Excel *ExcelOptions `type:"structure"` @@ -6291,6 +6466,11 @@ func (s FormatOptions) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *FormatOptions) Validate() error { invalidParams := request.ErrInvalidParams{Context: "FormatOptions"} + if s.Csv != nil { + if err := s.Csv.Validate(); err != nil { + invalidParams.AddNested("Csv", err.(request.ErrInvalidParams)) + } + } if s.Excel != nil { if err := s.Excel.Validate(); err != nil { invalidParams.AddNested("Excel", err.(request.ErrInvalidParams)) @@ -6303,6 +6483,12 @@ func (s *FormatOptions) Validate() error { return nil } +// SetCsv sets the Csv field's value. +func (s *FormatOptions) SetCsv(v *CsvOptions) *FormatOptions { + s.Csv = v + return s +} + // SetExcel sets the Excel field's value. func (s *FormatOptions) SetExcel(v *ExcelOptions) *FormatOptions { s.Excel = v @@ -6315,8 +6501,8 @@ func (s *FormatOptions) SetJson(v *JsonOptions) *FormatOptions { return s } -// Information on how AWS Glue DataBrew can find data, in either the AWS Glue -// Data Catalog or Amazon S3. +// Information on how DataBrew can find data, in either the AWS Glue Data Catalog +// or Amazon S3. type Input struct { _ struct{} `type:"structure"` @@ -6425,7 +6611,7 @@ func (s *InternalServerException) RequestID() string { return s.RespMetadata.RequestID } -// Represents all of the attributes of an AWS Glue DataBrew job. +// Represents all of the attributes of a DataBrew job. type Job struct { _ struct{} `type:"structure"` @@ -6435,14 +6621,15 @@ type Job struct { // The date and time that the job was created. CreateDate *time.Time `type:"timestamp"` - // The identifier (the user name) of the user who created the job. + // The Amazon Resource Name (ARN) of the user who created the job. CreatedBy *string `type:"string"` // A dataset that the job is to process. DatasetName *string `min:"1" type:"string"` // The Amazon Resource Name (ARN) of an encryption key that is used to protect - // a job. + // the job output. For more information, see Encrypting data written by DataBrew + // jobs (https://docs.aws.amazon.com/databrew/latest/dg/encryption-security-configuration.html) EncryptionKeyArn *string `min:"20" type:"string"` // The encryption mode for the job, which can be one of the following: @@ -6452,7 +6639,7 @@ type Job struct { // * SSE-S3 - Server-side encryption with keys managed by Amazon S3. EncryptionMode *string `type:"string" enum:"EncryptionMode"` - // The identifier (the user name) of the user who last modified the job. + // The Amazon Resource Name (ARN) of the user who last modified the job. LastModifiedBy *string `type:"string"` // The modification date and time of the job. @@ -6634,7 +6821,7 @@ func (s *Job) SetType(v string) *Job { return s } -// Represents one run of an AWS Glue DataBrew job. +// Represents one run of a DataBrew job. type JobRun struct { _ struct{} `type:"structure"` @@ -6673,7 +6860,7 @@ type JobRun struct { // The unique identifier of the job run. RunId *string `min:"1" type:"string"` - // The identifier (the user name) of the user who initiated the job run. + // The Amazon Resource Name (ARN) of the user who initiated the job run. StartedBy *string `type:"string"` // The date and time when the job run began. @@ -6808,9 +6995,7 @@ type ListDatasetsInput struct { // The maximum number of results to return in this request. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - // A token generated by DataBrew that specifies where to continue pagination - // if a previous request was truncated. To get the next set of pages, pass in - // the NextToken value from the response object of the previous page call. + // The token returned by a previous call to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` } @@ -6855,14 +7040,13 @@ func (s *ListDatasetsInput) SetNextToken(v string) *ListDatasetsInput { type ListDatasetsOutput struct { _ struct{} `type:"structure"` - // A list of datasets that are defined in the current AWS account. + // A list of datasets that are defined. // // Datasets is a required field Datasets []*Dataset `type:"list" required:"true"` - // A token generated by DataBrew that specifies where to continue pagination - // if a previous request was truncated. To obtain the next set of pages, pass - // in the NextToken from the response object of the previous page call. + // A token that you can use in a subsequent call to retrieve the next set of + // results. NextToken *string `min:"1" type:"string"` } @@ -6899,9 +7083,7 @@ type ListJobRunsInput struct { // Name is a required field Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` - // A token generated by AWS Glue DataBrew that specifies where to continue pagination - // if a previous request was truncated. To get the next set of pages, pass in - // the NextToken value from the response object of the previous page call. + // The token returned by a previous call to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` } @@ -6963,9 +7145,8 @@ type ListJobRunsOutput struct { // JobRuns is a required field JobRuns []*JobRun `type:"list" required:"true"` - // A token generated by DataBrew that specifies where to continue pagination - // if a previous request was truncated. To obtain the next set of pages, pass - // in the NextToken from the response object of the previous page call. + // A token that you can use in a subsequent call to retrieve the next set of + // results. NextToken *string `min:"1" type:"string"` } @@ -7070,14 +7251,13 @@ func (s *ListJobsInput) SetProjectName(v string) *ListJobsInput { type ListJobsOutput struct { _ struct{} `type:"structure"` - // A list of jobs that are defined in the current AWS account. + // A list of jobs that are defined. // // Jobs is a required field Jobs []*Job `type:"list" required:"true"` - // A token generated by DataBrew that specifies where to continue pagination - // if a previous request was truncated. To obtain the next set of pages, pass - // in the NextToken from the response object of the previous page call. + // A token that you can use in a subsequent call to retrieve the next set of + // results. NextToken *string `min:"1" type:"string"` } @@ -7109,7 +7289,7 @@ type ListProjectsInput struct { // The maximum number of results to return in this request. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - // A pagination token that can be used in a subsequent request. + // The token returned by a previous call to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` } @@ -7154,12 +7334,11 @@ func (s *ListProjectsInput) SetNextToken(v string) *ListProjectsInput { type ListProjectsOutput struct { _ struct{} `type:"structure"` - // A token generated by DataBrew that specifies where to continue pagination - // if a previous request was truncated. To get the next set of pages, pass in - // the NextToken value from the response object of the previous page call. + // A token that you can use in a subsequent call to retrieve the next set of + // results. NextToken *string `min:"1" type:"string"` - // A list of projects that are defined in the current AWS account. + // A list of projects that are defined . // // Projects is a required field Projects []*Project `type:"list" required:"true"` @@ -7198,7 +7377,7 @@ type ListRecipeVersionsInput struct { // Name is a required field Name *string `location:"querystring" locationName:"name" min:"1" type:"string" required:"true"` - // A pagination token that can be used in a subsequent request. + // The token returned by a previous call to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` } @@ -7255,9 +7434,8 @@ func (s *ListRecipeVersionsInput) SetNextToken(v string) *ListRecipeVersionsInpu type ListRecipeVersionsOutput struct { _ struct{} `type:"structure"` - // A token generated by DataBrew that specifies where to continue pagination - // if a previous request was truncated. To get the next set of pages, pass in - // the NextToken value from the response object of the previous page call. + // A token that you can use in a subsequent call to retrieve the next set of + // results. NextToken *string `min:"1" type:"string"` // A list of versions for the specified recipe. @@ -7294,11 +7472,14 @@ type ListRecipesInput struct { // The maximum number of results to return in this request. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - // A pagination token that can be used in a subsequent request. + // The token returned by a previous call to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` - // A version identifier. Using this parameter indicates to return only those - // recipes that have this version identifier. + // Return only those recipes with a version identifier of LATEST_WORKING or + // LATEST_PUBLISHED. If RecipeVersion is omitted, ListRecipes returns all of + // the LATEST_PUBLISHED recipe versions. + // + // Valid values: LATEST_WORKING | LATEST_PUBLISHED RecipeVersion *string `location:"querystring" locationName:"recipeVersion" min:"1" type:"string"` } @@ -7352,12 +7533,11 @@ func (s *ListRecipesInput) SetRecipeVersion(v string) *ListRecipesInput { type ListRecipesOutput struct { _ struct{} `type:"structure"` - // A token generated by DataBrew that specifies where to continue pagination - // if a previous request was truncated. To get the next set of pages, pass in - // the NextToken value from the response object of the previous page call. + // A token that you can use in a subsequent call to retrieve the next set of + // results. NextToken *string `min:"1" type:"string"` - // A list of recipes that are defined in the current AWS account. + // A list of recipes that are defined. // // Recipes is a required field Recipes []*Recipe `type:"list" required:"true"` @@ -7394,7 +7574,7 @@ type ListSchedulesInput struct { // The maximum number of results to return in this request. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - // A pagination token that can be used in a subsequent request. + // The token returned by a previous call to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` } @@ -7448,12 +7628,11 @@ func (s *ListSchedulesInput) SetNextToken(v string) *ListSchedulesInput { type ListSchedulesOutput struct { _ struct{} `type:"structure"` - // A token generated by DataBrew that specifies where to continue pagination - // if a previous request was truncated. To get the next set of pages, pass in - // the NextToken value from the response object of the previous page call. + // A token that you can use in a subsequent call to retrieve the next set of + // results. NextToken *string `min:"1" type:"string"` - // A list of schedules in the current AWS account. + // A list of schedules that are defined. // // Schedules is a required field Schedules []*Schedule `type:"list" required:"true"` @@ -7546,7 +7725,8 @@ func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForRe return s } -// Represents individual output from a particular job run. +// Parameters that specify how and where DataBrew will write the output generated +// by recipe jobs or profile jobs. type Output struct { _ struct{} `type:"structure"` @@ -7556,6 +7736,9 @@ type Output struct { // The data format of the output of the job. Format *string `type:"string" enum:"OutputFormat"` + // Options that define how DataBrew formats job output files. + FormatOptions *OutputFormatOptions `type:"structure"` + // The location in Amazon S3 where the job writes its output. // // Location is a required field @@ -7585,6 +7768,11 @@ func (s *Output) Validate() error { if s.Location == nil { invalidParams.Add(request.NewErrParamRequired("Location")) } + if s.FormatOptions != nil { + if err := s.FormatOptions.Validate(); err != nil { + invalidParams.AddNested("FormatOptions", err.(request.ErrInvalidParams)) + } + } if s.Location != nil { if err := s.Location.Validate(); err != nil { invalidParams.AddNested("Location", err.(request.ErrInvalidParams)) @@ -7609,6 +7797,12 @@ func (s *Output) SetFormat(v string) *Output { return s } +// SetFormatOptions sets the FormatOptions field's value. +func (s *Output) SetFormatOptions(v *OutputFormatOptions) *Output { + s.FormatOptions = v + return s +} + // SetLocation sets the Location field's value. func (s *Output) SetLocation(v *S3Location) *Output { s.Location = v @@ -7627,7 +7821,46 @@ func (s *Output) SetPartitionColumns(v []*string) *Output { return s } -// Represents all of the attributes of an AWS Glue DataBrew project. +// Options that define the structure of Csv job output. +type OutputFormatOptions struct { + _ struct{} `type:"structure"` + + // Options that define how DataBrew writes Csv output. + Csv *CsvOutputOptions `type:"structure"` +} + +// String returns the string representation +func (s OutputFormatOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s OutputFormatOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *OutputFormatOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "OutputFormatOptions"} + if s.Csv != nil { + if err := s.Csv.Validate(); err != nil { + invalidParams.AddNested("Csv", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCsv sets the Csv field's value. +func (s *OutputFormatOptions) SetCsv(v *CsvOutputOptions) *OutputFormatOptions { + s.Csv = v + return s +} + +// Represents all of the attributes of a DataBrew project. type Project struct { _ struct{} `type:"structure"` @@ -7637,13 +7870,13 @@ type Project struct { // The date and time that the project was created. CreateDate *time.Time `type:"timestamp"` - // The identifier (the user name) of the user who crated the project. + // The Amazon Resource Name (ARN) of the user who crated the project. CreatedBy *string `type:"string"` // The dataset that the project is to act upon. DatasetName *string `min:"1" type:"string"` - // The identifier (user name) of the user who last modified the project. + // The Amazon Resource Name (ARN) of the user who last modified the project. LastModifiedBy *string `type:"string"` // The last modification date and time for the project. @@ -7657,7 +7890,7 @@ type Project struct { // The date and time when the project was opened. OpenDate *time.Time `type:"timestamp"` - // The identifier (the user name) of the user that opened the project for use. + // The Amazon Resource Name (ARN) of the user that opened the project for use. OpenedBy *string `type:"string"` // The name of a recipe that will be developed during a project session. @@ -7850,20 +8083,20 @@ func (s *PublishRecipeOutput) SetName(v string) *PublishRecipeOutput { return s } -// Represents one or more actions to be performed on an AWS Glue DataBrew dataset. +// Represents one or more actions to be performed on a DataBrew dataset. type Recipe struct { _ struct{} `type:"structure"` // The date and time that the recipe was created. CreateDate *time.Time `type:"timestamp"` - // The identifier (the user name) of the user who created the recipe. + // The Amazon Resource Name (ARN) of the user who created the recipe. CreatedBy *string `type:"string"` // The description of the recipe. Description *string `type:"string"` - // The identifier (user name) of the user who last modified the recipe. + // The Amazon Resource Name (ARN) of the user who last modified the recipe. LastModifiedBy *string `type:"string"` // The last modification date and time of the recipe. @@ -7877,13 +8110,22 @@ type Recipe struct { // The name of the project that the recipe is associated with. ProjectName *string `min:"1" type:"string"` - // The identifier (the user name) of the user who published the recipe. + // The Amazon Resource Name (ARN) of the user who published the recipe. PublishedBy *string `type:"string"` // The date and time when the recipe was published. PublishedDate *time.Time `type:"timestamp"` - // The identifier for the version for the recipe. + // The identifier for the version for the recipe. Must be one of the following: + // + // * Numeric version (X.Y) - X and Y stand for major and minor version numbers. + // The maximum length of each is 6 digits, and neither can be negative values. + // Both X and Y are required, and "0.0" is not a valid version. + // + // * LATEST_WORKING - the most recent valid version being developed in a + // DataBrew project. + // + // * LATEST_PUBLISHED - the most recent published version. RecipeVersion *string `min:"1" type:"string"` // The Amazon Resource Name (ARN) for the recipe. @@ -7985,9 +8227,9 @@ func (s *Recipe) SetTags(v map[string]*string) *Recipe { } // Represents a transformation and associated parameters that are used to apply -// a change to an AWS Glue DataBrew dataset. For more information, see Recipe -// structure (https://docs.aws.amazon.com/databrew/latest/dg/recipe-structure.html) -// and ecipe actions reference (https://docs.aws.amazon.com/databrew/latest/dg/recipe-actions-reference.html) . +// a change to a DataBrew dataset. For more information, see Recipe structure +// (https://docs.aws.amazon.com/databrew/latest/dg/recipe-structure.html) and +// Recipe actions reference (https://docs.aws.amazon.com/databrew/latest/dg/recipe-actions-reference.html). type RecipeAction struct { _ struct{} `type:"structure"` @@ -8038,7 +8280,7 @@ func (s *RecipeAction) SetParameters(v map[string]*string) *RecipeAction { return s } -// Represents all of the attributes of an AWS Glue DataBrew recipe. +// Represents the name and version of a DataBrew recipe. type RecipeReference struct { _ struct{} `type:"structure"` @@ -8092,7 +8334,7 @@ func (s *RecipeReference) SetRecipeVersion(v string) *RecipeReference { return s } -// Represents a single step to be performed in an AWS Glue DataBrew recipe. +// Represents a single step from a DataBrew recipe to be performed. type RecipeStep struct { _ struct{} `type:"structure"` @@ -8313,8 +8555,8 @@ func (s *S3Location) SetKey(v string) *S3Location { return s } -// Represents the sample size and sampling type for AWS Glue DataBrew to use -// for interactive data analysis. +// Represents the sample size and sampling type for DataBrew to use for interactive +// data analysis. type Sample struct { _ struct{} `type:"structure"` @@ -8375,16 +8617,18 @@ type Schedule struct { // The date and time that the schedule was created. CreateDate *time.Time `type:"timestamp"` - // The identifier (the user name) of the user who created the schedule. + // The Amazon Resource Name (ARN) of the user who created the schedule. CreatedBy *string `type:"string"` - // The date(s) and time(s), in cron format, when the job will run. + // The date(s) and time(s) when the job will run. For more information, see + // Cron expressions (https://docs.aws.amazon.com/databrew/latest/dg/jobs.cron.html) + // in the AWS Glue DataBrew Developer Guide. CronExpression *string `min:"1" type:"string"` // A list of jobs to be run, according to the schedule. JobNames []*string `type:"list"` - // The identifier (the user name) of the user who last modified the schedule. + // The Amazon Resource Name (ARN) of the user who last modified the schedule. LastModifiedBy *string `type:"string"` // The date and time when the schedule was last modified. @@ -8484,11 +8728,10 @@ type SendProjectSessionActionInput struct { // Name is a required field Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` - // Returns the result of the recipe step, without applying it. The result isn't - // added to the view frame stack. + // If true, the result of the recipe step will be returned, but not applied. Preview *bool `type:"boolean"` - // Represents a single step to be performed in an AWS Glue DataBrew recipe. + // Represents a single step from a DataBrew recipe to be performed. RecipeStep *RecipeStep `type:"structure"` // The index from which to preview a step. This index is used to preview the @@ -8496,8 +8739,7 @@ type SendProjectSessionActionInput struct { // frame is from earlier in the view frame stack. StepIndex *int64 `type:"integer"` - // Represents the data being being transformed during an AWS Glue DataBrew project - // session. + // Represents the data being being transformed during an action. ViewFrame *ViewFrame `type:"structure"` } @@ -8986,7 +9228,7 @@ func (s TagResourceOutput) GoString() string { type UntagResourceInput struct { _ struct{} `type:"structure"` - // An DataBrew resource from which you want to remove a tag or tags. The value + // A DataBrew resource from which you want to remove a tag or tags. The value // for this parameter is an Amazon Resource Name (ARN). // // ResourceArn is a required field @@ -9059,11 +9301,11 @@ func (s UntagResourceOutput) GoString() string { type UpdateDatasetInput struct { _ struct{} `type:"structure"` - // Options that define how Microsoft Excel input is to be interpreted by DataBrew. + // Options that define the structure of either Csv, Excel, or JSON input. FormatOptions *FormatOptions `type:"structure"` - // Information on how AWS Glue DataBrew can find data, in either the AWS Glue - // Data Catalog or Amazon S3. + // Information on how DataBrew can find data, in either the AWS Glue Data Catalog + // or Amazon S3. // // Input is a required field Input *Input `type:"structure" required:"true"` @@ -9170,12 +9412,11 @@ type UpdateProfileJobInput struct { // * SSE-S3 - Server-side encryption with keys managed by Amazon S3. EncryptionMode *string `type:"string" enum:"EncryptionMode"` - // A value that enables or disables Amazon CloudWatch logging for the current - // AWS account. If logging is enabled, CloudWatch writes one log stream for - // each job run. + // Enables or disables Amazon CloudWatch logging for the job. If logging is + // enabled, CloudWatch writes one log stream for each job run. LogSubscription *string `type:"string" enum:"LogSubscription"` - // The maximum number of nodes that DataBrew can use when the job processes + // The maximum number of compute nodes that DataBrew can use when the job processes // data. MaxCapacity *int64 `type:"integer"` @@ -9194,7 +9435,7 @@ type UpdateProfileJobInput struct { OutputLocation *S3Location `type:"structure" required:"true"` // The Amazon Resource Name (ARN) of the AWS Identity and Access Management - // (IAM) role to be assumed for this request. + // (IAM) role to be assumed when DataBrew runs the job. // // RoleArn is a required field RoleArn *string `min:"20" type:"string" required:"true"` @@ -9339,8 +9580,8 @@ type UpdateProjectInput struct { // RoleArn is a required field RoleArn *string `min:"20" type:"string" required:"true"` - // Represents the sample size and sampling type for AWS Glue DataBrew to use - // for interactive data analysis. + // Represents the sample size and sampling type for DataBrew to use for interactive + // data analysis. Sample *Sample `type:"structure"` } @@ -9517,9 +9758,8 @@ type UpdateRecipeJobInput struct { // * SSE-S3 - Server-side encryption with keys managed by Amazon S3. EncryptionMode *string `type:"string" enum:"EncryptionMode"` - // A value that enables or disables Amazon CloudWatch logging for the current - // AWS account. If logging is enabled, CloudWatch writes one log stream for - // each job run. + // Enables or disables Amazon CloudWatch logging for the job. If logging is + // enabled, CloudWatch writes one log stream for each job run. LogSubscription *string `type:"string" enum:"LogSubscription"` // The maximum number of nodes that DataBrew can consume when the job processes @@ -9540,7 +9780,7 @@ type UpdateRecipeJobInput struct { Outputs []*Output `min:"1" type:"list" required:"true"` // The Amazon Resource Name (ARN) of the AWS Identity and Access Management - // (IAM) role to be assumed for this request. + // (IAM) role to be assumed when DataBrew runs the job. // // RoleArn is a required field RoleArn *string `min:"20" type:"string" required:"true"` @@ -9708,8 +9948,9 @@ func (s *UpdateRecipeOutput) SetName(v string) *UpdateRecipeOutput { type UpdateScheduleInput struct { _ struct{} `type:"structure"` - // The date or dates and time or times, in cron format, when the jobs are to - // be run. + // The date or dates and time or times when the jobs are to be run. For more + // information, see Cron expressions (https://docs.aws.amazon.com/databrew/latest/dg/jobs.cron.html) + // in the AWS Glue DataBrew Developer Guide. // // CronExpression is a required field CronExpression *string `min:"1" type:"string" required:"true"` @@ -9854,8 +10095,7 @@ func (s *ValidationException) RequestID() string { return s.RespMetadata.RequestID } -// Represents the data being being transformed during an AWS Glue DataBrew project -// session. +// Represents the data being being transformed during an action. type ViewFrame struct { _ struct{} `type:"structure"` diff --git a/service/iot/api.go b/service/iot/api.go index 138663d8b4a..4353a54f396 100644 --- a/service/iot/api.go +++ b/service/iot/api.go @@ -32428,12 +32428,14 @@ func (s DeleteMitigationActionOutput) GoString() string { type DeleteOTAUpdateInput struct { _ struct{} `type:"structure"` - // Specifies if the stream associated with an OTA update should be deleted when - // the OTA update is deleted. + // When true, the stream created by the OTAUpdate process is deleted when the + // OTA update is deleted. Ignored if the stream specified in the OTAUpdate is + // supplied by the user. DeleteStream *bool `location:"querystring" locationName:"deleteStream" type:"boolean"` - // Specifies if the AWS Job associated with the OTA update should be deleted - // when the OTA update is deleted. + // When true, deletes the AWS job created by the OTAUpdate process even if it + // is "IN_PROGRESS". Otherwise, if the job is not in a terminal state ("COMPLETED" + // or "CANCELED") an exception will occur. The default is false. ForceDeleteAWSJob *bool `location:"querystring" locationName:"forceDeleteAWSJob" type:"boolean"` // The ID of the OTA update to delete. diff --git a/service/managedblockchain/api.go b/service/managedblockchain/api.go index 0b06dc9bbe9..c991eed4c6d 100644 --- a/service/managedblockchain/api.go +++ b/service/managedblockchain/api.go @@ -77,8 +77,8 @@ func (c *ManagedBlockchain) CreateMemberRequest(input *CreateMemberInput) (req * // You do not have sufficient access to perform this action. // // * ResourceNotFoundException -// A requested resource does not exist on the network. It may have been deleted -// or referenced inaccurately. +// A requested resource does not exist. It may have been deleted or referenced +// inaccurately. // // * ResourceAlreadyExistsException // A resource request is issued for a resource that already exists. @@ -102,6 +102,8 @@ func (c *ManagedBlockchain) CreateMemberRequest(input *CreateMemberInput) (req * // The request processing has failed because of an unknown error, exception // or failure. // +// * TooManyTagsException +// // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateMember func (c *ManagedBlockchain) CreateMember(input *CreateMemberInput) (*CreateMemberOutput, error) { req, out := c.CreateMemberRequest(input) @@ -205,6 +207,8 @@ func (c *ManagedBlockchain) CreateNetworkRequest(input *CreateNetworkInput) (req // The request processing has failed because of an unknown error, exception // or failure. // +// * TooManyTagsException +// // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateNetwork func (c *ManagedBlockchain) CreateNetwork(input *CreateNetworkInput) (*CreateNetworkOutput, error) { req, out := c.CreateNetworkRequest(input) @@ -275,6 +279,8 @@ func (c *ManagedBlockchain) CreateNodeRequest(input *CreateNodeInput) (req *requ // // Applies to Hyperledger Fabric and Ethereum. // +// Ethereum on Managed Blockchain is in preview release and is subject to change. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -291,8 +297,8 @@ func (c *ManagedBlockchain) CreateNodeRequest(input *CreateNodeInput) (req *requ // You do not have sufficient access to perform this action. // // * ResourceNotFoundException -// A requested resource does not exist on the network. It may have been deleted -// or referenced inaccurately. +// A requested resource does not exist. It may have been deleted or referenced +// inaccurately. // // * ResourceAlreadyExistsException // A resource request is issued for a resource that already exists. @@ -316,6 +322,8 @@ func (c *ManagedBlockchain) CreateNodeRequest(input *CreateNodeInput) (req *requ // The request processing has failed because of an unknown error, exception // or failure. // +// * TooManyTagsException +// // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateNode func (c *ManagedBlockchain) CreateNode(input *CreateNodeInput) (*CreateNodeOutput, error) { req, out := c.CreateNodeRequest(input) @@ -404,8 +412,8 @@ func (c *ManagedBlockchain) CreateProposalRequest(input *CreateProposalInput) (r // You do not have sufficient access to perform this action. // // * ResourceNotFoundException -// A requested resource does not exist on the network. It may have been deleted -// or referenced inaccurately. +// A requested resource does not exist. It may have been deleted or referenced +// inaccurately. // // * ResourceNotReadyException // The requested resource exists but is not in a status that can complete the @@ -421,6 +429,8 @@ func (c *ManagedBlockchain) CreateProposalRequest(input *CreateProposalInput) (r // The request processing has failed because of an unknown error, exception // or failure. // +// * TooManyTagsException +// // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateProposal func (c *ManagedBlockchain) CreateProposal(input *CreateProposalInput) (*CreateProposalOutput, error) { req, out := c.CreateProposalRequest(input) @@ -514,8 +524,8 @@ func (c *ManagedBlockchain) DeleteMemberRequest(input *DeleteMemberInput) (req * // You do not have sufficient access to perform this action. // // * ResourceNotFoundException -// A requested resource does not exist on the network. It may have been deleted -// or referenced inaccurately. +// A requested resource does not exist. It may have been deleted or referenced +// inaccurately. // // * ResourceNotReadyException // The requested resource exists but is not in a status that can complete the @@ -619,8 +629,8 @@ func (c *ManagedBlockchain) DeleteNodeRequest(input *DeleteNodeInput) (req *requ // You do not have sufficient access to perform this action. // // * ResourceNotFoundException -// A requested resource does not exist on the network. It may have been deleted -// or referenced inaccurately. +// A requested resource does not exist. It may have been deleted or referenced +// inaccurately. // // * ResourceNotReadyException // The requested resource exists but is not in a status that can complete the @@ -722,8 +732,8 @@ func (c *ManagedBlockchain) GetMemberRequest(input *GetMemberInput) (req *reques // You do not have sufficient access to perform this action. // // * ResourceNotFoundException -// A requested resource does not exist on the network. It may have been deleted -// or referenced inaccurately. +// A requested resource does not exist. It may have been deleted or referenced +// inaccurately. // // * ThrottlingException // The request or operation could not be performed because a service is throttling @@ -821,8 +831,8 @@ func (c *ManagedBlockchain) GetNetworkRequest(input *GetNetworkInput) (req *requ // You do not have sufficient access to perform this action. // // * ResourceNotFoundException -// A requested resource does not exist on the network. It may have been deleted -// or referenced inaccurately. +// A requested resource does not exist. It may have been deleted or referenced +// inaccurately. // // * ThrottlingException // The request or operation could not be performed because a service is throttling @@ -920,8 +930,8 @@ func (c *ManagedBlockchain) GetNodeRequest(input *GetNodeInput) (req *request.Re // You do not have sufficient access to perform this action. // // * ResourceNotFoundException -// A requested resource does not exist on the network. It may have been deleted -// or referenced inaccurately. +// A requested resource does not exist. It may have been deleted or referenced +// inaccurately. // // * ThrottlingException // The request or operation could not be performed because a service is throttling @@ -1019,8 +1029,8 @@ func (c *ManagedBlockchain) GetProposalRequest(input *GetProposalInput) (req *re // You do not have sufficient access to perform this action. // // * ResourceNotFoundException -// A requested resource does not exist on the network. It may have been deleted -// or referenced inaccurately. +// A requested resource does not exist. It may have been deleted or referenced +// inaccurately. // // * ThrottlingException // The request or operation could not be performed because a service is throttling @@ -1124,8 +1134,8 @@ func (c *ManagedBlockchain) ListInvitationsRequest(input *ListInvitationsInput) // You do not have sufficient access to perform this action. // // * ResourceNotFoundException -// A requested resource does not exist on the network. It may have been deleted -// or referenced inaccurately. +// A requested resource does not exist. It may have been deleted or referenced +// inaccurately. // // * ThrottlingException // The request or operation could not be performed because a service is throttling @@ -1896,8 +1906,8 @@ func (c *ManagedBlockchain) ListProposalsRequest(input *ListProposalsInput) (req // correctly. // // * ResourceNotFoundException -// A requested resource does not exist on the network. It may have been deleted -// or referenced inaccurately. +// A requested resource does not exist. It may have been deleted or referenced +// inaccurately. // // * AccessDeniedException // You do not have sufficient access to perform this action. @@ -1986,6 +1996,104 @@ func (c *ManagedBlockchain) ListProposalsPagesWithContext(ctx aws.Context, input return p.Err() } +const opListTagsForResource = "ListTagsForResource" + +// ListTagsForResourceRequest generates a "aws/request.Request" representing the +// client's request for the ListTagsForResource operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListTagsForResource for more information on using the ListTagsForResource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListTagsForResource +func (c *ManagedBlockchain) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { + op := &request.Operation{ + Name: opListTagsForResource, + HTTPMethod: "GET", + HTTPPath: "/tags/{resourceArn}", + } + + if input == nil { + input = &ListTagsForResourceInput{} + } + + output = &ListTagsForResourceOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListTagsForResource API operation for Amazon Managed Blockchain. +// +// Returns a list of tags for the specified resource. Each tag consists of a +// key and optional value. +// +// For more information about tags, see Tagging Resources (https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html) +// in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources +// (https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html) +// in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Managed Blockchain's +// API operation ListTagsForResource for usage and error information. +// +// Returned Error Types: +// * InternalServiceErrorException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// * InvalidRequestException +// The action or operation requested is invalid. Verify that the action is typed +// correctly. +// +// * ResourceNotFoundException +// A requested resource does not exist. It may have been deleted or referenced +// inaccurately. +// +// * ResourceNotReadyException +// The requested resource exists but is not in a status that can complete the +// operation. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListTagsForResource +func (c *ManagedBlockchain) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { + req, out := c.ListTagsForResourceRequest(input) + return out, req.Send() +} + +// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of +// the ability to pass a context and additional request options. +// +// See ListTagsForResource for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ManagedBlockchain) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) { + req, out := c.ListTagsForResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opRejectInvitation = "RejectInvitation" // RejectInvitationRequest generates a "aws/request.Request" representing the @@ -2055,8 +2163,8 @@ func (c *ManagedBlockchain) RejectInvitationRequest(input *RejectInvitationInput // You do not have sufficient access to perform this action. // // * ResourceNotFoundException -// A requested resource does not exist on the network. It may have been deleted -// or referenced inaccurately. +// A requested resource does not exist. It may have been deleted or referenced +// inaccurately. // // * ThrottlingException // The request or operation could not be performed because a service is throttling @@ -2090,6 +2198,211 @@ func (c *ManagedBlockchain) RejectInvitationWithContext(ctx aws.Context, input * return out, req.Send() } +const opTagResource = "TagResource" + +// TagResourceRequest generates a "aws/request.Request" representing the +// client's request for the TagResource operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See TagResource for more information on using the TagResource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/TagResource +func (c *ManagedBlockchain) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { + op := &request.Operation{ + Name: opTagResource, + HTTPMethod: "POST", + HTTPPath: "/tags/{resourceArn}", + } + + if input == nil { + input = &TagResourceInput{} + } + + output = &TagResourceOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// TagResource API operation for Amazon Managed Blockchain. +// +// Adds or overwrites the specified tags for the specified Amazon Managed Blockchain +// resource. Each tag consists of a key and optional value. +// +// When you specify a tag key that already exists, the tag value is overwritten +// with the new value. Use UntagResource to remove tag keys. +// +// A resource can have up to 50 tags. If you try to create more than 50 tags +// for a resource, your request fails and returns an error. +// +// For more information about tags, see Tagging Resources (https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html) +// in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources +// (https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html) +// in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Managed Blockchain's +// API operation TagResource for usage and error information. +// +// Returned Error Types: +// * InternalServiceErrorException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// * InvalidRequestException +// The action or operation requested is invalid. Verify that the action is typed +// correctly. +// +// * ResourceNotFoundException +// A requested resource does not exist. It may have been deleted or referenced +// inaccurately. +// +// * TooManyTagsException +// +// * ResourceNotReadyException +// The requested resource exists but is not in a status that can complete the +// operation. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/TagResource +func (c *ManagedBlockchain) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { + req, out := c.TagResourceRequest(input) + return out, req.Send() +} + +// TagResourceWithContext is the same as TagResource with the addition of +// the ability to pass a context and additional request options. +// +// See TagResource for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ManagedBlockchain) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) { + req, out := c.TagResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUntagResource = "UntagResource" + +// UntagResourceRequest generates a "aws/request.Request" representing the +// client's request for the UntagResource operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UntagResource for more information on using the UntagResource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UntagResource +func (c *ManagedBlockchain) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { + op := &request.Operation{ + Name: opUntagResource, + HTTPMethod: "DELETE", + HTTPPath: "/tags/{resourceArn}", + } + + if input == nil { + input = &UntagResourceInput{} + } + + output = &UntagResourceOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UntagResource API operation for Amazon Managed Blockchain. +// +// Removes the specified tags from the Amazon Managed Blockchain resource. +// +// For more information about tags, see Tagging Resources (https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html) +// in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources +// (https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html) +// in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Managed Blockchain's +// API operation UntagResource for usage and error information. +// +// Returned Error Types: +// * InternalServiceErrorException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// * InvalidRequestException +// The action or operation requested is invalid. Verify that the action is typed +// correctly. +// +// * ResourceNotFoundException +// A requested resource does not exist. It may have been deleted or referenced +// inaccurately. +// +// * ResourceNotReadyException +// The requested resource exists but is not in a status that can complete the +// operation. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UntagResource +func (c *ManagedBlockchain) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { + req, out := c.UntagResourceRequest(input) + return out, req.Send() +} + +// UntagResourceWithContext is the same as UntagResource with the addition of +// the ability to pass a context and additional request options. +// +// See UntagResource for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ManagedBlockchain) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) { + req, out := c.UntagResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdateMember = "UpdateMember" // UpdateMemberRequest generates a "aws/request.Request" representing the @@ -2155,8 +2468,8 @@ func (c *ManagedBlockchain) UpdateMemberRequest(input *UpdateMemberInput) (req * // You do not have sufficient access to perform this action. // // * ResourceNotFoundException -// A requested resource does not exist on the network. It may have been deleted -// or referenced inaccurately. +// A requested resource does not exist. It may have been deleted or referenced +// inaccurately. // // * ThrottlingException // The request or operation could not be performed because a service is throttling @@ -2255,8 +2568,8 @@ func (c *ManagedBlockchain) UpdateNodeRequest(input *UpdateNodeInput) (req *requ // You do not have sufficient access to perform this action. // // * ResourceNotFoundException -// A requested resource does not exist on the network. It may have been deleted -// or referenced inaccurately. +// A requested resource does not exist. It may have been deleted or referenced +// inaccurately. // // * ThrottlingException // The request or operation could not be performed because a service is throttling @@ -2359,8 +2672,8 @@ func (c *ManagedBlockchain) VoteOnProposalRequest(input *VoteOnProposalInput) (r // You do not have sufficient access to perform this action. // // * ResourceNotFoundException -// A requested resource does not exist on the network. It may have been deleted -// or referenced inaccurately. +// A requested resource does not exist. It may have been deleted or referenced +// inaccurately. // // * ThrottlingException // The request or operation could not be performed because a service is throttling @@ -2673,6 +2986,17 @@ type CreateNetworkInput struct { // Name is a required field Name *string `min:"1" type:"string" required:"true"` + // Tags to assign to the network. Each tag consists of a key and optional value. + // + // When specifying tags during creation, you can specify multiple key-value + // pairs in a single request, with an overall maximum of 50 added to each resource. + // + // For more information about tags, see Tagging Resources (https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html) + // in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources + // (https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html) + // in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide. + Tags map[string]*string `type:"map"` + // The voting rules used by the network to determine if a proposal is approved. // // VotingPolicy is a required field @@ -2780,6 +3104,12 @@ func (s *CreateNetworkInput) SetName(v string) *CreateNetworkInput { return s } +// SetTags sets the Tags field's value. +func (s *CreateNetworkInput) SetTags(v map[string]*string) *CreateNetworkInput { + s.Tags = v + return s +} + // SetVotingPolicy sets the VotingPolicy field's value. func (s *CreateNetworkInput) SetVotingPolicy(v *VotingPolicy) *CreateNetworkInput { s.VotingPolicy = v @@ -2850,6 +3180,17 @@ type CreateNodeInput struct { // // NodeConfiguration is a required field NodeConfiguration *NodeConfiguration `type:"structure" required:"true"` + + // Tags to assign to the node. Each tag consists of a key and optional value. + // + // When specifying tags during creation, you can specify multiple key-value + // pairs in a single request, with an overall maximum of 50 added to each resource. + // + // For more information about tags, see Tagging Resources (https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html) + // in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources + // (https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html) + // in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide. + Tags map[string]*string `type:"map"` } // String returns the string representation @@ -2916,6 +3257,12 @@ func (s *CreateNodeInput) SetNodeConfiguration(v *NodeConfiguration) *CreateNode return s } +// SetTags sets the Tags field's value. +func (s *CreateNodeInput) SetTags(v map[string]*string) *CreateNodeInput { + s.Tags = v + return s +} + type CreateNodeOutput struct { _ struct{} `type:"structure"` @@ -2971,6 +3318,19 @@ type CreateProposalInput struct { // // NetworkId is a required field NetworkId *string `location:"uri" locationName:"networkId" min:"1" type:"string" required:"true"` + + // Tags to assign to the proposal. Each tag consists of a key and optional value. + // + // When specifying tags during creation, you can specify multiple key-value + // pairs in a single request, with an overall maximum of 50 added to each resource. + // If the proposal is for a network invitation, the invitation inherits the + // tags added to the proposal. + // + // For more information about tags, see Tagging Resources (https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html) + // in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources + // (https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html) + // in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide. + Tags map[string]*string `type:"map"` } // String returns the string representation @@ -3046,6 +3406,12 @@ func (s *CreateProposalInput) SetNetworkId(v string) *CreateProposalInput { return s } +// SetTags sets the Tags field's value. +func (s *CreateProposalInput) SetTags(v map[string]*string) *CreateProposalInput { + s.Tags = v + return s +} + type CreateProposalOutput struct { _ struct{} `type:"structure"` @@ -3731,6 +4097,11 @@ func (s *InvalidRequestException) RequestID() string { type Invitation struct { _ struct{} `type:"structure"` + // The Amazon Resource Name (ARN) of the invitation. For more information about + // ARNs and their format, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. + Arn *string `min:"1" type:"string"` + // The date and time that the invitation was created. CreationDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` @@ -3774,6 +4145,12 @@ func (s Invitation) GoString() string { return s.String() } +// SetArn sets the Arn field's value. +func (s *Invitation) SetArn(v string) *Invitation { + s.Arn = &v + return s +} + // SetCreationDate sets the CreationDate field's value. func (s *Invitation) SetCreationDate(v time.Time) *Invitation { s.CreationDate = &v @@ -4481,6 +4858,72 @@ func (s *ListProposalsOutput) SetProposals(v []*ProposalSummary) *ListProposalsO return s } +type ListTagsForResourceInput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the resource. For more information about + // ARNs and their format, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. + // + // ResourceArn is a required field + ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s ListTagsForResourceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListTagsForResourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListTagsForResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"} + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput { + s.ResourceArn = &v + return s +} + +type ListTagsForResourceOutput struct { + _ struct{} `type:"structure"` + + // The tags assigned to the resource. + Tags map[string]*string `type:"map"` +} + +// String returns the string representation +func (s ListTagsForResourceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListTagsForResourceOutput) GoString() string { + return s.String() +} + +// SetTags sets the Tags field's value. +func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput { + s.Tags = v + return s +} + // A configuration for logging events. type LogConfiguration struct { _ struct{} `type:"structure"` @@ -4535,6 +4978,11 @@ func (s *LogConfigurations) SetCloudwatch(v *LogConfiguration) *LogConfiguration type Member struct { _ struct{} `type:"structure"` + // The Amazon Resource Name (ARN) of the member. For more information about + // ARNs and their format, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. + Arn *string `min:"1" type:"string"` + // The date and time that the member was created. CreationDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` @@ -4576,6 +5024,11 @@ type Member struct { // member deleted it, or the member is being deleted as the result of an // APPROVED PROPOSAL to remove the member. Status *string `type:"string" enum:"MemberStatus"` + + // Tags assigned to the member. Tags consist of a key and optional value. For + // more information about tags, see Tagging Resources (https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html) + // in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide. + Tags map[string]*string `type:"map"` } // String returns the string representation @@ -4588,6 +5041,12 @@ func (s Member) GoString() string { return s.String() } +// SetArn sets the Arn field's value. +func (s *Member) SetArn(v string) *Member { + s.Arn = &v + return s +} + // SetCreationDate sets the CreationDate field's value. func (s *Member) SetCreationDate(v time.Time) *Member { s.CreationDate = &v @@ -4636,6 +5095,12 @@ func (s *Member) SetStatus(v string) *Member { return s } +// SetTags sets the Tags field's value. +func (s *Member) SetTags(v map[string]*string) *Member { + s.Tags = v + return s +} + // Configuration properties of the member. // // Applies only to Hyperledger Fabric. @@ -4658,6 +5123,14 @@ type MemberConfiguration struct { // // Name is a required field Name *string `min:"1" type:"string" required:"true"` + + // Tags assigned to the member. Tags consist of a key and optional value. For + // more information about tags, see Tagging Resources (https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html) + // in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide. + // + // When specifying tags during creation, you can specify multiple key-value + // pairs in a single request, with an overall maximum of 50 added to each resource. + Tags map[string]*string `type:"map"` } // String returns the string representation @@ -4718,6 +5191,12 @@ func (s *MemberConfiguration) SetName(v string) *MemberConfiguration { return s } +// SetTags sets the Tags field's value. +func (s *MemberConfiguration) SetTags(v map[string]*string) *MemberConfiguration { + s.Tags = v + return s +} + // Attributes of Hyperledger Fabric for a member in a Managed Blockchain network // using the Hyperledger Fabric framework. type MemberFabricAttributes struct { @@ -4942,6 +5421,11 @@ func (s *MemberLogPublishingConfiguration) SetFabric(v *MemberFabricLogPublishin type MemberSummary struct { _ struct{} `type:"structure"` + // The Amazon Resource Name (ARN) of the member. For more information about + // ARNs and their format, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. + Arn *string `min:"1" type:"string"` + // The date and time that the member was created. CreationDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` @@ -4989,6 +5473,12 @@ func (s MemberSummary) GoString() string { return s.String() } +// SetArn sets the Arn field's value. +func (s *MemberSummary) SetArn(v string) *MemberSummary { + s.Arn = &v + return s +} + // SetCreationDate sets the CreationDate field's value. func (s *MemberSummary) SetCreationDate(v time.Time) *MemberSummary { s.CreationDate = &v @@ -5029,6 +5519,11 @@ func (s *MemberSummary) SetStatus(v string) *MemberSummary { type Network struct { _ struct{} `type:"structure"` + // The Amazon Resource Name (ARN) of the network. For more information about + // ARNs and their format, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. + Arn *string `min:"1" type:"string"` + // The date and time that the network was created. CreationDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` @@ -5053,6 +5548,14 @@ type Network struct { // The current status of the network. Status *string `type:"string" enum:"NetworkStatus"` + // Tags assigned to the network. Each tag consists of a key and optional value. + // + // For more information about tags, see Tagging Resources (https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html) + // in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources + // (https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html) + // in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide. + Tags map[string]*string `type:"map"` + // The voting rules for the network to decide if a proposal is accepted. VotingPolicy *VotingPolicy `type:"structure"` @@ -5072,6 +5575,12 @@ func (s Network) GoString() string { return s.String() } +// SetArn sets the Arn field's value. +func (s *Network) SetArn(v string) *Network { + s.Arn = &v + return s +} + // SetCreationDate sets the CreationDate field's value. func (s *Network) SetCreationDate(v time.Time) *Network { s.CreationDate = &v @@ -5120,6 +5629,12 @@ func (s *Network) SetStatus(v string) *Network { return s } +// SetTags sets the Tags field's value. +func (s *Network) SetTags(v map[string]*string) *Network { + s.Tags = v + return s +} + // SetVotingPolicy sets the VotingPolicy field's value. func (s *Network) SetVotingPolicy(v *VotingPolicy) *Network { s.VotingPolicy = v @@ -5132,7 +5647,8 @@ func (s *Network) SetVpcEndpointServiceName(v string) *Network { return s } -// Attributes of Ethereum for a network. +// Attributes of Ethereum for a network. Ethereum on Managed Blockchain is in +// preview release and is subject to change. type NetworkEthereumAttributes struct { _ struct{} `type:"structure"` @@ -5243,7 +5759,8 @@ type NetworkFrameworkAttributes struct { _ struct{} `type:"structure"` // Attributes of an Ethereum network for Managed Blockchain resources participating - // in an Ethereum network. + // in an Ethereum network. Ethereum on Managed Blockchain is in preview release + // and is subject to change. Ethereum *NetworkEthereumAttributes `type:"structure"` // Attributes of Hyperledger Fabric for a Managed Blockchain network that uses @@ -5318,6 +5835,11 @@ func (s *NetworkFrameworkConfiguration) SetFabric(v *NetworkFabricConfiguration) type NetworkSummary struct { _ struct{} `type:"structure"` + // The Amazon Resource Name (ARN) of the network. For more information about + // ARNs and their format, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. + Arn *string `min:"1" type:"string"` + // The date and time that the network was created. CreationDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` @@ -5350,6 +5872,12 @@ func (s NetworkSummary) GoString() string { return s.String() } +// SetArn sets the Arn field's value. +func (s *NetworkSummary) SetArn(v string) *NetworkSummary { + s.Arn = &v + return s +} + // SetCreationDate sets the CreationDate field's value. func (s *NetworkSummary) SetCreationDate(v time.Time) *NetworkSummary { s.CreationDate = &v @@ -5396,7 +5924,13 @@ func (s *NetworkSummary) SetStatus(v string) *NetworkSummary { type Node struct { _ struct{} `type:"structure"` - // The Availability Zone in which the node exists. + // The Amazon Resource Name (ARN) of the node. For more information about ARNs + // and their format, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. + Arn *string `min:"1" type:"string"` + + // The Availability Zone in which the node exists. Required for Ethereum nodes. + // Ethereum on Managed Blockchain is in preview release and is subject to change. AvailabilityZone *string `type:"string"` // The date and time that the node was created. @@ -5430,6 +5964,14 @@ type Node struct { // The status of the node. Status *string `type:"string" enum:"NodeStatus"` + + // Tags assigned to the node. Each tag consists of a key and optional value. + // + // For more information about tags, see Tagging Resources (https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html) + // in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources + // (https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html) + // in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide. + Tags map[string]*string `type:"map"` } // String returns the string representation @@ -5442,6 +5984,12 @@ func (s Node) GoString() string { return s.String() } +// SetArn sets the Arn field's value. +func (s *Node) SetArn(v string) *Node { + s.Arn = &v + return s +} + // SetAvailabilityZone sets the AvailabilityZone field's value. func (s *Node) SetAvailabilityZone(v string) *Node { s.AvailabilityZone = &v @@ -5502,11 +6050,18 @@ func (s *Node) SetStatus(v string) *Node { return s } +// SetTags sets the Tags field's value. +func (s *Node) SetTags(v map[string]*string) *Node { + s.Tags = v + return s +} + // Configuration properties of a node. type NodeConfiguration struct { _ struct{} `type:"structure"` - // The Availability Zone in which the node exists. + // The Availability Zone in which the node exists. Required for Ethereum nodes. + // Ethereum on Managed Blockchain is in preview release and is subject to change. AvailabilityZone *string `type:"string"` // The Amazon Managed Blockchain instance type for the node. @@ -5573,7 +6128,8 @@ func (s *NodeConfiguration) SetStateDB(v string) *NodeConfiguration { return s } -// Attributes of an Ethereum node. +// Attributes of an Ethereum node. Ethereum on Managed Blockchain is in preview +// release and is subject to change. type NodeEthereumAttributes struct { _ struct{} `type:"structure"` @@ -5694,7 +6250,8 @@ type NodeFrameworkAttributes struct { _ struct{} `type:"structure"` // Attributes of Ethereum for a node on a Managed Blockchain network that uses - // Ethereum. + // Ethereum. Ethereum on Managed Blockchain is in preview release and is subject + // to change. Ethereum *NodeEthereumAttributes `type:"structure"` // Attributes of Hyperledger Fabric for a peer node on a Managed Blockchain @@ -5755,6 +6312,11 @@ func (s *NodeLogPublishingConfiguration) SetFabric(v *NodeFabricLogPublishingCon type NodeSummary struct { _ struct{} `type:"structure"` + // The Amazon Resource Name (ARN) of the node. For more information about ARNs + // and their format, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. + Arn *string `min:"1" type:"string"` + // The Availability Zone in which the node exists. AvailabilityZone *string `type:"string"` @@ -5781,6 +6343,12 @@ func (s NodeSummary) GoString() string { return s.String() } +// SetArn sets the Arn field's value. +func (s *NodeSummary) SetArn(v string) *NodeSummary { + s.Arn = &v + return s +} + // SetAvailabilityZone sets the AvailabilityZone field's value. func (s *NodeSummary) SetAvailabilityZone(v string) *NodeSummary { s.AvailabilityZone = &v @@ -5820,6 +6388,11 @@ type Proposal struct { // The actions to perform on the network if the proposal is APPROVED. Actions *ProposalActions `type:"structure"` + // The Amazon Resource Name (ARN) of the proposal. For more information about + // ARNs and their format, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. + Arn *string `min:"1" type:"string"` + // The date and time that the proposal was created. CreationDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` @@ -5874,6 +6447,14 @@ type Proposal struct { // are successful. Status *string `type:"string" enum:"ProposalStatus"` + // Tags assigned to the proposal. Each tag consists of a key and optional value. + // + // For more information about tags, see Tagging Resources (https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html) + // in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources + // (https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html) + // in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide. + Tags map[string]*string `type:"map"` + // The current total of YES votes cast on the proposal by members. YesVoteCount *int64 `type:"integer"` } @@ -5894,6 +6475,12 @@ func (s *Proposal) SetActions(v *ProposalActions) *Proposal { return s } +// SetArn sets the Arn field's value. +func (s *Proposal) SetArn(v string) *Proposal { + s.Arn = &v + return s +} + // SetCreationDate sets the CreationDate field's value. func (s *Proposal) SetCreationDate(v time.Time) *Proposal { s.CreationDate = &v @@ -5954,6 +6541,12 @@ func (s *Proposal) SetStatus(v string) *Proposal { return s } +// SetTags sets the Tags field's value. +func (s *Proposal) SetTags(v map[string]*string) *Proposal { + s.Tags = v + return s +} + // SetYesVoteCount sets the YesVoteCount field's value. func (s *Proposal) SetYesVoteCount(v int64) *Proposal { s.YesVoteCount = &v @@ -6034,6 +6627,11 @@ func (s *ProposalActions) SetRemovals(v []*RemoveAction) *ProposalActions { type ProposalSummary struct { _ struct{} `type:"structure"` + // The Amazon Resource Name (ARN) of the proposal. For more information about + // ARNs and their format, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. + Arn *string `min:"1" type:"string"` + // The date and time that the proposal was created. CreationDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` @@ -6087,6 +6685,12 @@ func (s ProposalSummary) GoString() string { return s.String() } +// SetArn sets the Arn field's value. +func (s *ProposalSummary) SetArn(v string) *ProposalSummary { + s.Arn = &v + return s +} + // SetCreationDate sets the CreationDate field's value. func (s *ProposalSummary) SetCreationDate(v time.Time) *ProposalSummary { s.CreationDate = &v @@ -6344,13 +6948,17 @@ func (s *ResourceLimitExceededException) RequestID() string { return s.RespMetadata.RequestID } -// A requested resource does not exist on the network. It may have been deleted -// or referenced inaccurately. +// A requested resource does not exist. It may have been deleted or referenced +// inaccurately. type ResourceNotFoundException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` + + // A requested resource does not exist. It may have been deleted or referenced + // inaccurately. + ResourceName *string `min:"1" type:"string"` } // String returns the string representation @@ -6388,7 +6996,7 @@ func (s *ResourceNotFoundException) OrigErr() error { } func (s *ResourceNotFoundException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) } // Status code returns the HTTP status code for the request's response error. @@ -6458,6 +7066,79 @@ func (s *ResourceNotReadyException) RequestID() string { return s.RespMetadata.RequestID } +type TagResourceInput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the resource. For more information about + // ARNs and their format, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. + // + // ResourceArn is a required field + ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"` + + // The tags to assign to the specified resource. Tag values can be empty, for + // example, "MyTagKey" : "". You can specify multiple key-value pairs in a single + // request, with an overall maximum of 50 added to each resource. + // + // Tags is a required field + Tags map[string]*string `type:"map" required:"true"` +} + +// String returns the string representation +func (s TagResourceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TagResourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TagResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"} + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) + } + if s.Tags == nil { + invalidParams.Add(request.NewErrParamRequired("Tags")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput { + s.ResourceArn = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput { + s.Tags = v + return s +} + +type TagResourceOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s TagResourceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TagResourceOutput) GoString() string { + return s.String() +} + // The request or operation could not be performed because a service is throttling // requests. The most common source of throttling errors is launching EC2 instances // such that your service limit for EC2 instances is exceeded. Request a limit @@ -6517,6 +7198,134 @@ func (s *ThrottlingException) RequestID() string { return s.RespMetadata.RequestID } +type TooManyTagsException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"Message" type:"string"` + + ResourceName *string `min:"1" type:"string"` +} + +// String returns the string representation +func (s TooManyTagsException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TooManyTagsException) GoString() string { + return s.String() +} + +func newErrorTooManyTagsException(v protocol.ResponseMetadata) error { + return &TooManyTagsException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *TooManyTagsException) Code() string { + return "TooManyTagsException" +} + +// Message returns the exception's message. +func (s *TooManyTagsException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *TooManyTagsException) OrigErr() error { + return nil +} + +func (s *TooManyTagsException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *TooManyTagsException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *TooManyTagsException) RequestID() string { + return s.RespMetadata.RequestID +} + +type UntagResourceInput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the resource. For more information about + // ARNs and their format, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. + // + // ResourceArn is a required field + ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"` + + // The tag keys. + // + // TagKeys is a required field + TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"` +} + +// String returns the string representation +func (s UntagResourceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UntagResourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UntagResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"} + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) + } + if s.TagKeys == nil { + invalidParams.Add(request.NewErrParamRequired("TagKeys")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput { + s.ResourceArn = &v + return s +} + +// SetTagKeys sets the TagKeys field's value. +func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput { + s.TagKeys = v + return s +} + +type UntagResourceOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s UntagResourceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UntagResourceOutput) GoString() string { + return s.String() +} + type UpdateMemberInput struct { _ struct{} `type:"structure"` diff --git a/service/managedblockchain/doc.go b/service/managedblockchain/doc.go index 8b86bb639b0..bdc2600bea0 100644 --- a/service/managedblockchain/doc.go +++ b/service/managedblockchain/doc.go @@ -9,7 +9,8 @@ // run transactions and share data without the need for a trusted, central authority. // // Managed Blockchain supports the Hyperledger Fabric and Ethereum open-source -// frameworks. Because of fundamental differences between the frameworks, some +// frameworks. Ethereum on Managed Blockchain is in preview release and is subject +// to change. Because of fundamental differences between the frameworks, some // API actions or data types may only apply in the context of one framework // and not the other. For example, actions related to Hyperledger Fabric network // members such as CreateMember and DeleteMember do not apply to Ethereum. diff --git a/service/managedblockchain/errors.go b/service/managedblockchain/errors.go index 6e803ddae39..ce43ec5f088 100644 --- a/service/managedblockchain/errors.go +++ b/service/managedblockchain/errors.go @@ -49,8 +49,8 @@ const ( // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". // - // A requested resource does not exist on the network. It may have been deleted - // or referenced inaccurately. + // A requested resource does not exist. It may have been deleted or referenced + // inaccurately. ErrCodeResourceNotFoundException = "ResourceNotFoundException" // ErrCodeResourceNotReadyException for service response error code @@ -68,6 +68,10 @@ const ( // such that your service limit for EC2 instances is exceeded. Request a limit // increase or delete unused resources if possible. ErrCodeThrottlingException = "ThrottlingException" + + // ErrCodeTooManyTagsException for service response error code + // "TooManyTagsException". + ErrCodeTooManyTagsException = "TooManyTagsException" ) var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ @@ -80,4 +84,5 @@ var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ "ResourceNotFoundException": newErrorResourceNotFoundException, "ResourceNotReadyException": newErrorResourceNotReadyException, "ThrottlingException": newErrorThrottlingException, + "TooManyTagsException": newErrorTooManyTagsException, } diff --git a/service/managedblockchain/managedblockchainiface/interface.go b/service/managedblockchain/managedblockchainiface/interface.go index 0a105b378c1..2184e2ee248 100644 --- a/service/managedblockchain/managedblockchainiface/interface.go +++ b/service/managedblockchain/managedblockchainiface/interface.go @@ -142,10 +142,22 @@ type ManagedBlockchainAPI interface { ListProposalsPages(*managedblockchain.ListProposalsInput, func(*managedblockchain.ListProposalsOutput, bool) bool) error ListProposalsPagesWithContext(aws.Context, *managedblockchain.ListProposalsInput, func(*managedblockchain.ListProposalsOutput, bool) bool, ...request.Option) error + ListTagsForResource(*managedblockchain.ListTagsForResourceInput) (*managedblockchain.ListTagsForResourceOutput, error) + ListTagsForResourceWithContext(aws.Context, *managedblockchain.ListTagsForResourceInput, ...request.Option) (*managedblockchain.ListTagsForResourceOutput, error) + ListTagsForResourceRequest(*managedblockchain.ListTagsForResourceInput) (*request.Request, *managedblockchain.ListTagsForResourceOutput) + RejectInvitation(*managedblockchain.RejectInvitationInput) (*managedblockchain.RejectInvitationOutput, error) RejectInvitationWithContext(aws.Context, *managedblockchain.RejectInvitationInput, ...request.Option) (*managedblockchain.RejectInvitationOutput, error) RejectInvitationRequest(*managedblockchain.RejectInvitationInput) (*request.Request, *managedblockchain.RejectInvitationOutput) + TagResource(*managedblockchain.TagResourceInput) (*managedblockchain.TagResourceOutput, error) + TagResourceWithContext(aws.Context, *managedblockchain.TagResourceInput, ...request.Option) (*managedblockchain.TagResourceOutput, error) + TagResourceRequest(*managedblockchain.TagResourceInput) (*request.Request, *managedblockchain.TagResourceOutput) + + UntagResource(*managedblockchain.UntagResourceInput) (*managedblockchain.UntagResourceOutput, error) + UntagResourceWithContext(aws.Context, *managedblockchain.UntagResourceInput, ...request.Option) (*managedblockchain.UntagResourceOutput, error) + UntagResourceRequest(*managedblockchain.UntagResourceInput) (*request.Request, *managedblockchain.UntagResourceOutput) + UpdateMember(*managedblockchain.UpdateMemberInput) (*managedblockchain.UpdateMemberOutput, error) UpdateMemberWithContext(aws.Context, *managedblockchain.UpdateMemberInput, ...request.Option) (*managedblockchain.UpdateMemberOutput, error) UpdateMemberRequest(*managedblockchain.UpdateMemberInput) (*request.Request, *managedblockchain.UpdateMemberOutput) diff --git a/service/robomaker/api.go b/service/robomaker/api.go index ed9369b4ce3..3e360d080a8 100644 --- a/service/robomaker/api.go +++ b/service/robomaker/api.go @@ -11958,7 +11958,7 @@ type LaunchConfig struct { // Boolean indicating whether a streaming session will be configured for the // application. If True, AWS RoboMaker will configure a connection so you can // interact with your application as it is running in the simulation. You must - // configure and luanch the component. It must have a graphical user interface. + // configure and launch the component. It must have a graphical user interface. StreamUI *bool `locationName:"streamUI" type:"boolean"` } @@ -14153,6 +14153,16 @@ type RobotApplicationConfig struct { // // LaunchConfig is a required field LaunchConfig *LaunchConfig `locationName:"launchConfig" type:"structure" required:"true"` + + // The upload configurations for the robot application. + UploadConfigurations []*UploadConfiguration `locationName:"uploadConfigurations" type:"list"` + + // A Boolean indicating whether to use default upload configurations. By default, + // .ros and .gazebo files are uploaded when the application terminates and all + // ROS topics will be recorded. + // + // If you set this value, you must specify an outputLocation. + UseDefaultUploadConfigurations *bool `locationName:"useDefaultUploadConfigurations" type:"boolean"` } // String returns the string representation @@ -14185,6 +14195,16 @@ func (s *RobotApplicationConfig) Validate() error { invalidParams.AddNested("LaunchConfig", err.(request.ErrInvalidParams)) } } + if s.UploadConfigurations != nil { + for i, v := range s.UploadConfigurations { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "UploadConfigurations", i), err.(request.ErrInvalidParams)) + } + } + } if invalidParams.Len() > 0 { return invalidParams @@ -14210,6 +14230,18 @@ func (s *RobotApplicationConfig) SetLaunchConfig(v *LaunchConfig) *RobotApplicat return s } +// SetUploadConfigurations sets the UploadConfigurations field's value. +func (s *RobotApplicationConfig) SetUploadConfigurations(v []*UploadConfiguration) *RobotApplicationConfig { + s.UploadConfigurations = v + return s +} + +// SetUseDefaultUploadConfigurations sets the UseDefaultUploadConfigurations field's value. +func (s *RobotApplicationConfig) SetUseDefaultUploadConfigurations(v bool) *RobotApplicationConfig { + s.UseDefaultUploadConfigurations = &v + return s +} + // Summary information for a robot application. type RobotApplicationSummary struct { _ struct{} `type:"structure"` @@ -14556,6 +14588,16 @@ type SimulationApplicationConfig struct { // LaunchConfig is a required field LaunchConfig *LaunchConfig `locationName:"launchConfig" type:"structure" required:"true"` + // Information about upload configurations for the simulation application. + UploadConfigurations []*UploadConfiguration `locationName:"uploadConfigurations" type:"list"` + + // A Boolean indicating whether to use default upload configurations. By default, + // .ros and .gazebo files are uploaded when the application terminates and all + // ROS topics will be recorded. + // + // If you set this value, you must specify an outputLocation. + UseDefaultUploadConfigurations *bool `locationName:"useDefaultUploadConfigurations" type:"boolean"` + // A list of world configurations. WorldConfigs []*WorldConfig `locationName:"worldConfigs" type:"list"` } @@ -14590,6 +14632,16 @@ func (s *SimulationApplicationConfig) Validate() error { invalidParams.AddNested("LaunchConfig", err.(request.ErrInvalidParams)) } } + if s.UploadConfigurations != nil { + for i, v := range s.UploadConfigurations { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "UploadConfigurations", i), err.(request.ErrInvalidParams)) + } + } + } if s.WorldConfigs != nil { for i, v := range s.WorldConfigs { if v == nil { @@ -14625,6 +14677,18 @@ func (s *SimulationApplicationConfig) SetLaunchConfig(v *LaunchConfig) *Simulati return s } +// SetUploadConfigurations sets the UploadConfigurations field's value. +func (s *SimulationApplicationConfig) SetUploadConfigurations(v []*UploadConfiguration) *SimulationApplicationConfig { + s.UploadConfigurations = v + return s +} + +// SetUseDefaultUploadConfigurations sets the UseDefaultUploadConfigurations field's value. +func (s *SimulationApplicationConfig) SetUseDefaultUploadConfigurations(v bool) *SimulationApplicationConfig { + s.UseDefaultUploadConfigurations = &v + return s +} + // SetWorldConfigs sets the WorldConfigs field's value. func (s *SimulationApplicationConfig) SetWorldConfigs(v []*WorldConfig) *SimulationApplicationConfig { s.WorldConfigs = v @@ -15097,7 +15161,8 @@ type SimulationJobRequest struct { // job request. Tags map[string]*string `locationName:"tags" type:"map"` - // Boolean indicating whether to use default simulation tool applications. + // A Boolean indicating whether to use default applications in the simulation + // job. Default applications include Gazebo, rqt, rviz and terminal access. UseDefaultApplications *bool `locationName:"useDefaultApplications" type:"boolean"` // If your simulation job accesses resources in a VPC, you provide this parameter @@ -16748,6 +16813,102 @@ func (s *UpdateWorldTemplateOutput) SetName(v string) *UpdateWorldTemplateOutput return s } +// Provides upload configuration information. Files are uploaded from the simulation +// job to a location you specify. +type UploadConfiguration struct { + _ struct{} `type:"structure"` + + // A prefix that specifies where files will be uploaded in Amazon S3. It is + // appended to the simulation output location to determine the final path. + // + // For example, if your simulation output location is s3://my-bucket and your + // upload configuration name is robot-test, your files will be uploaded to s3://my-bucket///robot-test. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` + + // Specifies the path of the file(s) to upload. Standard Unix glob matching + // rules are accepted, with the addition of ** as a super asterisk. For example, + // specifying /var/log/**.log causes all .log files in the /var/log directory + // tree to be collected. For more examples, see Glob Library (https://github.com/gobwas/glob). + // + // Path is a required field + Path *string `locationName:"path" min:"1" type:"string" required:"true"` + + // Specifies how to upload the files: + // + // UPLOAD_ON_TERMINATE + // + // Matching files are uploaded once the simulation enters the TERMINATING state. + // Matching files are not uploaded until all of your code (including tools) + // have stopped. + // + // If there is a problem uploading a file, the upload is retried. If problems + // persist, no further upload attempts will be made. + // + // UPLOAD_ROLLING_AUTO_REMOVE + // + // Matching files are uploaded as they are created. They are deleted after they + // are uploaded. The specified path is checked every 5 seconds. A final check + // is made when all of your code (including tools) have stopped. + // + // UploadBehavior is a required field + UploadBehavior *string `locationName:"uploadBehavior" type:"string" required:"true" enum:"UploadBehavior"` +} + +// String returns the string representation +func (s UploadConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UploadConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UploadConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UploadConfiguration"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.Path == nil { + invalidParams.Add(request.NewErrParamRequired("Path")) + } + if s.Path != nil && len(*s.Path) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Path", 1)) + } + if s.UploadBehavior == nil { + invalidParams.Add(request.NewErrParamRequired("UploadBehavior")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *UploadConfiguration) SetName(v string) *UploadConfiguration { + s.Name = &v + return s +} + +// SetPath sets the Path field's value. +func (s *UploadConfiguration) SetPath(v string) *UploadConfiguration { + s.Path = &v + return s +} + +// SetUploadBehavior sets the UploadBehavior field's value. +func (s *UploadConfiguration) SetUploadBehavior(v string) *UploadConfiguration { + s.UploadBehavior = &v + return s +} + // If your simulation job accesses resources in a VPC, you provide this parameter // identifying the list of security group IDs and subnet IDs. These must belong // to the same VPC. You must provide at least one security group and two subnet @@ -17653,6 +17814,9 @@ const ( // SimulationJobErrorCodeWrongRegionSimulationApplication is a SimulationJobErrorCode enum value SimulationJobErrorCodeWrongRegionSimulationApplication = "WrongRegionSimulationApplication" + + // SimulationJobErrorCodeUploadContentMismatchError is a SimulationJobErrorCode enum value + SimulationJobErrorCodeUploadContentMismatchError = "UploadContentMismatchError" ) // SimulationJobErrorCode_Values returns all elements of the SimulationJobErrorCode enum @@ -17685,6 +17849,7 @@ func SimulationJobErrorCode_Values() []string { SimulationJobErrorCodeWrongRegionS3output, SimulationJobErrorCodeWrongRegionRobotApplication, SimulationJobErrorCodeWrongRegionSimulationApplication, + SimulationJobErrorCodeUploadContentMismatchError, } } @@ -17752,6 +17917,22 @@ func SimulationSoftwareSuiteType_Values() []string { } } +const ( + // UploadBehaviorUploadOnTerminate is a UploadBehavior enum value + UploadBehaviorUploadOnTerminate = "UPLOAD_ON_TERMINATE" + + // UploadBehaviorUploadRollingAutoRemove is a UploadBehavior enum value + UploadBehaviorUploadRollingAutoRemove = "UPLOAD_ROLLING_AUTO_REMOVE" +) + +// UploadBehavior_Values returns all elements of the UploadBehavior enum +func UploadBehavior_Values() []string { + return []string{ + UploadBehaviorUploadOnTerminate, + UploadBehaviorUploadRollingAutoRemove, + } +} + const ( // WorldExportJobErrorCodeInternalServiceError is a WorldExportJobErrorCode enum value WorldExportJobErrorCodeInternalServiceError = "InternalServiceError" diff --git a/service/wellarchitected/api.go b/service/wellarchitected/api.go index 6b192f91f21..f74bd88b37b 100644 --- a/service/wellarchitected/api.go +++ b/service/wellarchitected/api.go @@ -3232,6 +3232,8 @@ type Answer struct { Risk *string `type:"string" enum:"Risk"` // List of selected choice IDs in a question answer. + // + // The values entered replace the previously selected choices. SelectedChoices []*string `type:"list"` } @@ -3336,6 +3338,8 @@ type AnswerSummary struct { Risk *string `type:"string" enum:"Risk"` // List of selected choice IDs in a question answer. + // + // The values entered replace the previously selected choices. SelectedChoices []*string `type:"list"` } @@ -7096,6 +7100,8 @@ type UpdateAnswerInput struct { QuestionId *string `location:"uri" locationName:"QuestionId" min:"1" type:"string" required:"true"` // List of selected choice IDs in a question answer. + // + // The values entered replace the previously selected choices. SelectedChoices []*string `type:"list"` // The ID assigned to the workload. This ID is unique within an AWS Region. diff --git a/service/wellarchitected/doc.go b/service/wellarchitected/doc.go index f9449bd08cb..f13e39589c5 100644 --- a/service/wellarchitected/doc.go +++ b/service/wellarchitected/doc.go @@ -3,82 +3,9 @@ // Package wellarchitected provides the client and types for making API // requests to AWS Well-Architected Tool. // -// This is the AWS Well-Architected Tool API Reference. -// -// The AWS Well-Architected Tool API provides programmatic access to the AWS -// Well-Architected Tool (http://aws.amazon.com/well-architected-tool) in the -// AWS Management Console (https://console.aws.amazon.com/wellarchitected). -// -// Managing workloads: -// -// * CreateWorkload: Define a new workload. -// -// * ListWorkloads: List workloads. -// -// * GetWorkload: Get the properties of a workload. -// -// * UpdateWorkload: Update the properties of a workload. -// -// * DeleteWorkload: Delete a workload. -// -// Managing milestones: -// -// * CreateMilestone: Create a milestone. -// -// * ListMilestones: List milestones. -// -// * GetMilestone: Get the properties of a milestone. -// -// Managing lenses: -// -// * ListLenses: List the available lenses. -// -// * AssociateLenses: Add one or more lenses to a workload. -// -// * DisassociateLenses: Remove one or more lenses from a workload. -// -// * ListNotifications: List lens notifications for a workload. -// -// * GetLensVersionDifference: Get the differences between the version of -// a lens used in a workload and the latest version. -// -// * UpgradeLensReview: Upgrade a workload to use the latest version of a -// lens. -// -// Managing reviews: -// -// * ListLensReviews: List reviews associated with a workload. -// -// * GetLensReview: Get pillar and risk data associated with a workload review. -// -// * GetLensReviewReport: Get the report associated with a workload review. -// -// * UpdateLensReview: Update the notes associated with a workload review. -// -// * ListAnswers: List the questions and answers in a workload review. -// -// * UpdateAnswer: Update the answer to a specific question in a workload -// review. -// -// * ListLensReviewImprovements: List the improvement plan associated with -// a workload review. -// -// Managing workload shares: -// -// * ListWorkloadShares: List the workload shares associated with a workload. -// -// * CreateWorkloadShare: Create a workload share. -// -// * UpdateWorkloadShare: Update a workload share. -// -// * DeleteWorkloadShare: Delete a workload share. -// -// Managing workload share invitations: -// -// * ListShareInvitations: List workload share invitations. -// -// * UpdateShareInvitation: Update a workload share invitation. -// +// This is the AWS Well-Architected Tool API Reference. The AWS Well-Architected +// Tool API provides programmatic access to the AWS Well-Architected Tool (http://aws.amazon.com/well-architected-tool) +// in the AWS Management Console (https://console.aws.amazon.com/wellarchitected). // For information about the AWS Well-Architected Tool, see the AWS Well-Architected // Tool User Guide (https://docs.aws.amazon.com/wellarchitected/latest/userguide/intro.html). //