From 0118f045fada47299acd0d95bf15bd3aa453f188 Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Thu, 8 Feb 2024 14:27:21 -0500 Subject: [PATCH] Release v1.50.14 (2024-02-08) (#5165) Release v1.50.14 (2024-02-08) === ### Service Client Updates * `service/codepipeline`: Updates service API and documentation * Add ability to execute pipelines with new parallel & queued execution modes and add support for triggers with filtering on branches and file paths. * `service/quicksight`: Updates service API and documentation * General Interactions for Visuals; Waterfall Chart Color Configuration; Documentation Update * `service/workspaces`: Updates service API and documentation * This release introduces User-Decoupling feature. This feature allows Workspaces Core customers to provision workspaces without providing users. CreateWorkspaces and DescribeWorkspaces APIs will now take a new optional parameter "WorkspaceName". --- CHANGELOG.md | 11 + aws/version.go | 2 +- .../apis/codepipeline/2015-07-09/api-2.json | 137 ++++- .../apis/codepipeline/2015-07-09/docs-2.json | 119 +++- models/apis/quicksight/2018-04-01/api-2.json | 94 ++- models/apis/quicksight/2018-04-01/docs-2.json | 58 +- models/apis/workspaces/2015-04-08/api-2.json | 11 +- models/apis/workspaces/2015-04-08/docs-2.json | 14 +- service/codepipeline/api.go | 573 ++++++++++++++++-- service/codepipeline/errors.go | 79 +-- service/quicksight/api.go | 370 ++++++++++- service/workspaces/api.go | 72 +-- 12 files changed, 1374 insertions(+), 166 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bab9a78276e..ff02d2cc9e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +Release v1.50.14 (2024-02-08) +=== + +### Service Client Updates +* `service/codepipeline`: Updates service API and documentation + * Add ability to execute pipelines with new parallel & queued execution modes and add support for triggers with filtering on branches and file paths. +* `service/quicksight`: Updates service API and documentation + * General Interactions for Visuals; Waterfall Chart Color Configuration; Documentation Update +* `service/workspaces`: Updates service API and documentation + * This release introduces User-Decoupling feature. This feature allows Workspaces Core customers to provision workspaces without providing users. CreateWorkspaces and DescribeWorkspaces APIs will now take a new optional parameter "WorkspaceName". + Release v1.50.13 (2024-02-07) === diff --git a/aws/version.go b/aws/version.go index 61103adaef1..7bb37ecc31a 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.50.13" +const SDKVersion = "1.50.14" diff --git a/models/apis/codepipeline/2015-07-09/api-2.json b/models/apis/codepipeline/2015-07-09/api-2.json index f91eaa9c02f..11fd05f262a 100644 --- a/models/apis/codepipeline/2015-07-09/api-2.json +++ b/models/apis/codepipeline/2015-07-09/api-2.json @@ -493,7 +493,8 @@ "errors":[ {"shape":"ValidationException"}, {"shape":"ConflictException"}, - {"shape":"PipelineNotFoundException"} + {"shape":"PipelineNotFoundException"}, + {"shape":"ConcurrentPipelineExecutionsLimitExceededException"} ] }, "StopPipelineExecution":{ @@ -759,6 +760,7 @@ "actionName":{"shape":"ActionName"}, "startTime":{"shape":"Timestamp"}, "lastUpdateTime":{"shape":"Timestamp"}, + "updatedBy":{"shape":"LastUpdatedBy"}, "status":{"shape":"ActionExecutionStatus"}, "input":{"shape":"ActionExecutionInput"}, "output":{"shape":"ActionExecutionOutput"} @@ -771,7 +773,8 @@ "ActionExecutionFilter":{ "type":"structure", "members":{ - "pipelineExecutionId":{"shape":"PipelineExecutionId"} + "pipelineExecutionId":{"shape":"PipelineExecutionId"}, + "latestInPipelineExecution":{"shape":"LatestInPipelineExecutionFilter"} } }, "ActionExecutionId":{"type":"string"}, @@ -800,7 +803,8 @@ "members":{ "externalExecutionId":{"shape":"ExternalExecutionId"}, "externalExecutionSummary":{"shape":"ExternalExecutionSummary"}, - "externalExecutionUrl":{"shape":"Url"} + "externalExecutionUrl":{"shape":"Url"}, + "errorDetails":{"shape":"ErrorDetails"} } }, "ActionExecutionStatus":{ @@ -1217,6 +1221,13 @@ }, "exception":true }, + "ConcurrentPipelineExecutionsLimitExceededException":{ + "type":"structure", + "members":{ + "message":{"shape":"Message"} + }, + "exception":true + }, "ConflictException":{ "type":"structure", "members":{ @@ -1415,6 +1426,14 @@ "max":1500, "min":1 }, + "ExecutionMode":{ + "type":"string", + "enum":[ + "QUEUED", + "SUPERSEDED", + "PARALLEL" + ] + }, "ExecutionSummary":{ "type":"string", "max":2048, @@ -1566,24 +1585,93 @@ "jobDetails":{"shape":"ThirdPartyJobDetails"} } }, + "GitBranchFilterCriteria":{ + "type":"structure", + "members":{ + "includes":{"shape":"GitBranchPatternList"}, + "excludes":{"shape":"GitBranchPatternList"} + } + }, + "GitBranchNamePattern":{ + "type":"string", + "max":255, + "min":1, + "pattern":".*" + }, + "GitBranchPatternList":{ + "type":"list", + "member":{"shape":"GitBranchNamePattern"}, + "max":8, + "min":1 + }, "GitConfiguration":{ "type":"structure", "required":["sourceActionName"], "members":{ "sourceActionName":{"shape":"ActionName"}, - "push":{"shape":"GitPushFilterList"} + "push":{"shape":"GitPushFilterList"}, + "pullRequest":{"shape":"GitPullRequestFilterList"} + } + }, + "GitFilePathFilterCriteria":{ + "type":"structure", + "members":{ + "includes":{"shape":"GitFilePathPatternList"}, + "excludes":{"shape":"GitFilePathPatternList"} + } + }, + "GitFilePathPattern":{ + "type":"string", + "max":255, + "min":1, + "pattern":".*" + }, + "GitFilePathPatternList":{ + "type":"list", + "member":{"shape":"GitFilePathPattern"}, + "max":8, + "min":1 + }, + "GitPullRequestEventType":{ + "type":"string", + "enum":[ + "OPEN", + "UPDATED", + "CLOSED" + ] + }, + "GitPullRequestEventTypeList":{ + "type":"list", + "member":{"shape":"GitPullRequestEventType"}, + "max":3, + "min":1 + }, + "GitPullRequestFilter":{ + "type":"structure", + "members":{ + "events":{"shape":"GitPullRequestEventTypeList"}, + "branches":{"shape":"GitBranchFilterCriteria"}, + "filePaths":{"shape":"GitFilePathFilterCriteria"} } }, + "GitPullRequestFilterList":{ + "type":"list", + "member":{"shape":"GitPullRequestFilter"}, + "max":3, + "min":1 + }, "GitPushFilter":{ "type":"structure", "members":{ - "tags":{"shape":"GitTagFilterCriteria"} + "tags":{"shape":"GitTagFilterCriteria"}, + "branches":{"shape":"GitBranchFilterCriteria"}, + "filePaths":{"shape":"GitFilePathFilterCriteria"} } }, "GitPushFilterList":{ "type":"list", "member":{"shape":"GitPushFilter"}, - "max":1, + "max":3, "min":1 }, "GitTagFilterCriteria":{ @@ -1790,6 +1878,17 @@ "LastChangedAt":{"type":"timestamp"}, "LastChangedBy":{"type":"string"}, "LastUpdatedBy":{"type":"string"}, + "LatestInPipelineExecutionFilter":{ + "type":"structure", + "required":[ + "pipelineExecutionId", + "startTimeRange" + ], + "members":{ + "pipelineExecutionId":{"shape":"PipelineExecutionId"}, + "startTimeRange":{"shape":"StartTimeRange"} + } + }, "LimitExceededException":{ "type":"structure", "members":{ @@ -2026,9 +2125,10 @@ "artifactStores":{"shape":"ArtifactStoreMap"}, "stages":{"shape":"PipelineStageDeclarationList"}, "version":{"shape":"PipelineVersion"}, + "executionMode":{"shape":"ExecutionMode"}, "pipelineType":{"shape":"PipelineType"}, - "triggers":{"shape":"PipelineTriggerDeclarationList"}, - "variables":{"shape":"PipelineVariableDeclarationList"} + "variables":{"shape":"PipelineVariableDeclarationList"}, + "triggers":{"shape":"PipelineTriggerDeclarationList"} } }, "PipelineExecution":{ @@ -2040,8 +2140,9 @@ "status":{"shape":"PipelineExecutionStatus"}, "statusSummary":{"shape":"PipelineExecutionStatusSummary"}, "artifactRevisions":{"shape":"ArtifactRevisionList"}, + "variables":{"shape":"ResolvedPipelineVariableList"}, "trigger":{"shape":"ExecutionTrigger"}, - "variables":{"shape":"ResolvedPipelineVariableList"} + "executionMode":{"shape":"ExecutionMode"} } }, "PipelineExecutionId":{ @@ -2083,7 +2184,8 @@ "lastUpdateTime":{"shape":"Timestamp"}, "sourceRevisions":{"shape":"SourceRevisionList"}, "trigger":{"shape":"ExecutionTrigger"}, - "stopTrigger":{"shape":"StopExecutionTrigger"} + "stopTrigger":{"shape":"StopExecutionTrigger"}, + "executionMode":{"shape":"ExecutionMode"} } }, "PipelineExecutionSummaryList":{ @@ -2131,6 +2233,7 @@ "name":{"shape":"PipelineName"}, "version":{"shape":"PipelineVersion"}, "pipelineType":{"shape":"PipelineType"}, + "executionMode":{"shape":"ExecutionMode"}, "created":{"shape":"Timestamp"}, "updated":{"shape":"Timestamp"} } @@ -2149,7 +2252,7 @@ "PipelineTriggerDeclarationList":{ "type":"list", "member":{"shape":"PipelineTriggerDeclaration"}, - "max":20 + "max":50 }, "PipelineTriggerProviderType":{ "type":"string", @@ -2593,6 +2696,10 @@ "status":{"shape":"StageExecutionStatus"} } }, + "StageExecutionList":{ + "type":"list", + "member":{"shape":"StageExecution"} + }, "StageExecutionStatus":{ "type":"string", "enum":[ @@ -2634,6 +2741,7 @@ "members":{ "stageName":{"shape":"StageName"}, "inboundExecution":{"shape":"StageExecution"}, + "inboundExecutions":{"shape":"StageExecutionList"}, "inboundTransitionState":{"shape":"TransitionState"}, "actionStates":{"shape":"ActionStateList"}, "latestExecution":{"shape":"StageExecution"} @@ -2669,6 +2777,13 @@ "pipelineExecutionId":{"shape":"PipelineExecutionId"} } }, + "StartTimeRange":{ + "type":"string", + "enum":[ + "Latest", + "All" + ] + }, "StopExecutionTrigger":{ "type":"structure", "members":{ diff --git a/models/apis/codepipeline/2015-07-09/docs-2.json b/models/apis/codepipeline/2015-07-09/docs-2.json index b347c54b1df..2fbf47c7edf 100644 --- a/models/apis/codepipeline/2015-07-09/docs-2.json +++ b/models/apis/codepipeline/2015-07-09/docs-2.json @@ -609,6 +609,11 @@ "refs": { } }, + "ConcurrentPipelineExecutionsLimitExceededException": { + "base": "

The pipeline has reached the limit for concurrent pipeline executions.

", + "refs": { + } + }, "ConflictException": { "base": "

Your request cannot be handled because the pipeline is busy handling ongoing activities. Try again later.

", "refs": { @@ -737,7 +742,8 @@ "ErrorDetails": { "base": "

Represents information about an error in CodePipeline.

", "refs": { - "ActionExecution$errorDetails": "

The details of an error returned by a URL external to Amazon Web Services.

" + "ActionExecution$errorDetails": "

The details of an error returned by a URL external to Amazon Web Services.

", + "ActionExecutionResult$errorDetails": null } }, "ExecutionDetails": { @@ -755,6 +761,15 @@ "FailureDetails$externalExecutionId": "

The external ID of the run of the action that failed.

" } }, + "ExecutionMode": { + "base": null, + "refs": { + "PipelineDeclaration$executionMode": "

The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.

", + "PipelineExecution$executionMode": "

The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.

", + "PipelineExecutionSummary$executionMode": "

The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.

", + "PipelineSummary$executionMode": "

The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.

" + } + }, "ExecutionSummary": { "base": null, "refs": { @@ -866,12 +881,76 @@ "refs": { } }, + "GitBranchFilterCriteria": { + "base": "

The Git repository branches specified as filter criteria to start the pipeline.

", + "refs": { + "GitPullRequestFilter$branches": "

The field that specifies to filter on branches for the pull request trigger configuration.

", + "GitPushFilter$branches": "

The field that specifies to filter on branches for the push trigger configuration.

" + } + }, + "GitBranchNamePattern": { + "base": null, + "refs": { + "GitBranchPatternList$member": null + } + }, + "GitBranchPatternList": { + "base": null, + "refs": { + "GitBranchFilterCriteria$includes": "

The list of patterns of Git branches that, when a commit is pushed, are to be included as criteria that starts the pipeline.

", + "GitBranchFilterCriteria$excludes": "

The list of patterns of Git branches that, when a commit is pushed, are to be excluded from starting the pipeline.

" + } + }, "GitConfiguration": { - "base": "

A type of trigger configuration for Git-based source actions.

You can specify the Git configuration trigger type for all third-party Git-based source actions that are supported by the CodeStarSourceConnection action type.

V2 type pipelines, along with triggers on Git tags and pipeline-level variables, are not currently supported for CloudFormation and CDK resources in CodePipeline. For more information about V2 type pipelines, see Pipeline types in the CodePipeline User Guide.

", + "base": "

A type of trigger configuration for Git-based source actions.

You can specify the Git configuration trigger type for all third-party Git-based source actions that are supported by the CodeStarSourceConnection action type.

", "refs": { "PipelineTriggerDeclaration$gitConfiguration": "

Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags.

" } }, + "GitFilePathFilterCriteria": { + "base": "

The Git repository file paths specified as filter criteria to start the pipeline.

", + "refs": { + "GitPullRequestFilter$filePaths": "

The field that specifies to filter on file paths for the pull request trigger configuration.

", + "GitPushFilter$filePaths": "

The field that specifies to filter on file paths for the push trigger configuration.

" + } + }, + "GitFilePathPattern": { + "base": null, + "refs": { + "GitFilePathPatternList$member": null + } + }, + "GitFilePathPatternList": { + "base": null, + "refs": { + "GitFilePathFilterCriteria$includes": "

The list of patterns of Git repository file paths that, when a commit is pushed, are to be included as criteria that starts the pipeline.

", + "GitFilePathFilterCriteria$excludes": "

The list of patterns of Git repository file paths that, when a commit is pushed, are to be excluded from starting the pipeline.

" + } + }, + "GitPullRequestEventType": { + "base": null, + "refs": { + "GitPullRequestEventTypeList$member": null + } + }, + "GitPullRequestEventTypeList": { + "base": null, + "refs": { + "GitPullRequestFilter$events": "

The field that specifies which pull request events to filter on (opened, updated, closed) for the trigger configuration.

" + } + }, + "GitPullRequestFilter": { + "base": "

The event criteria for the pull request trigger configuration, such as the lists of branches or file paths to include and exclude.

", + "refs": { + "GitPullRequestFilterList$member": null + } + }, + "GitPullRequestFilterList": { + "base": null, + "refs": { + "GitConfiguration$pullRequest": "

The field where the repository event that will start the pipeline is specified as pull requests.

" + } + }, "GitPushFilter": { "base": "

The event criteria that specify when a specified repository event will start the pipeline for the specified trigger configuration, such as the lists of Git tags to include and exclude.

", "refs": { @@ -881,7 +960,7 @@ "GitPushFilterList": { "base": null, "refs": { - "GitConfiguration$push": "

The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.

Git tags is the only supported event type.

" + "GitConfiguration$push": "

The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.

" } }, "GitTagFilterCriteria": { @@ -1079,7 +1158,14 @@ "LastUpdatedBy": { "base": null, "refs": { - "ActionExecution$lastUpdatedBy": "

The ARN of the user who last changed the pipeline.

" + "ActionExecution$lastUpdatedBy": "

The ARN of the user who last changed the pipeline.

", + "ActionExecutionDetail$updatedBy": "

The ARN of the user who changed the pipeline execution details.

" + } + }, + "LatestInPipelineExecutionFilter": { + "base": "

The field that specifies to filter on the latest execution in the pipeline.

Filtering on the latest execution is available for executions run on or after February 08, 2024.

", + "refs": { + "ActionExecutionFilter$latestInPipelineExecution": "

The latest execution in the pipeline.

Filtering on the latest execution is available for executions run on or after February 08, 2024.

" } }, "LimitExceededException": { @@ -1198,6 +1284,7 @@ "base": null, "refs": { "ConcurrentModificationException$message": null, + "ConcurrentPipelineExecutionsLimitExceededException$message": null, "ConflictException$message": null, "DuplicatedStopRequestException$message": null, "ErrorDetails$message": "

The text of the error message.

", @@ -1332,6 +1419,7 @@ "ActionExecutionDetail$pipelineExecutionId": "

The pipeline execution ID for the action execution.

", "ActionExecutionFilter$pipelineExecutionId": "

The pipeline execution ID used to filter action execution history.

", "GetPipelineExecutionInput$pipelineExecutionId": "

The ID of the pipeline execution about which you want to get execution details.

", + "LatestInPipelineExecutionFilter$pipelineExecutionId": "

The execution ID for the latest execution in the pipeline.

", "PipelineContext$pipelineExecutionId": "

The execution ID of the pipeline.

", "PipelineExecution$pipelineExecutionId": "

The ID of the pipeline execution.

", "PipelineExecutionSummary$pipelineExecutionId": "

The ID of the pipeline execution.

", @@ -1438,7 +1526,7 @@ } }, "PipelineTriggerDeclaration": { - "base": "

Represents information about the specified trigger configuration, such as the filter criteria and the source stage for the action that contains the trigger.

This is only supported for the CodeStarSourceConnection action type.

When a trigger configuration is specified, default change detection for repository and branch commits is disabled.

V2 type pipelines, along with triggers on Git tags and pipeline-level variables, are not currently supported for CloudFormation and CDK resources in CodePipeline. For more information about V2 type pipelines, see Pipeline types in the CodePipeline User Guide.

", + "base": "

Represents information about the specified trigger configuration, such as the filter criteria and the source stage for the action that contains the trigger.

This is only supported for the CodeStarSourceConnection action type.

When a trigger configuration is specified, default change detection for repository and branch commits is disabled.

", "refs": { "PipelineTriggerDeclarationList$member": null } @@ -1458,18 +1546,18 @@ "PipelineType": { "base": null, "refs": { - "PipelineDeclaration$pipelineType": "

CodePipeline provides the following pipeline types, which differ in characteristics and price, so that you can tailor your pipeline features and cost to the needs of your applications.

Including V2 parameters, such as triggers on Git tags, in the pipeline JSON when creating or updating a pipeline will result in the pipeline having the V2 type of pipeline and the associated costs.

For information about pricing for CodePipeline, see Pricing.

For information about which type of pipeline to choose, see What type of pipeline is right for me?.

V2 type pipelines, along with triggers on Git tags and pipeline-level variables, are not currently supported for CloudFormation and CDK resources in CodePipeline. For more information about V2 type pipelines, see Pipeline types in the CodePipeline User Guide.

", - "PipelineSummary$pipelineType": "

CodePipeline provides the following pipeline types, which differ in characteristics and price, so that you can tailor your pipeline features and cost to the needs of your applications.

Including V2 parameters, such as triggers on Git tags, in the pipeline JSON when creating or updating a pipeline will result in the pipeline having the V2 type of pipeline and the associated costs.

For information about pricing for CodePipeline, see Pricing.

For information about which type of pipeline to choose, see What type of pipeline is right for me?.

V2 type pipelines, along with triggers on Git tags and pipeline-level variables, are not currently supported for CloudFormation and CDK resources in CodePipeline. For more information about V2 type pipelines, see Pipeline types in the CodePipeline User Guide.

" + "PipelineDeclaration$pipelineType": "

CodePipeline provides the following pipeline types, which differ in characteristics and price, so that you can tailor your pipeline features and cost to the needs of your applications.

Including V2 parameters, such as triggers on Git tags, in the pipeline JSON when creating or updating a pipeline will result in the pipeline having the V2 type of pipeline and the associated costs.

For information about pricing for CodePipeline, see Pricing.

For information about which type of pipeline to choose, see What type of pipeline is right for me?.

", + "PipelineSummary$pipelineType": "

CodePipeline provides the following pipeline types, which differ in characteristics and price, so that you can tailor your pipeline features and cost to the needs of your applications.

Including V2 parameters, such as triggers on Git tags, in the pipeline JSON when creating or updating a pipeline will result in the pipeline having the V2 type of pipeline and the associated costs.

For information about pricing for CodePipeline, see Pricing.

For information about which type of pipeline to choose, see What type of pipeline is right for me?.

" } }, "PipelineVariable": { - "base": "

A pipeline-level variable used for a pipeline execution.

V2 type pipelines, along with triggers on Git tags and pipeline-level variables, are not currently supported for CloudFormation and CDK resources in CodePipeline. For more information about V2 type pipelines, see Pipeline types in the CodePipeline User Guide.

", + "base": "

A pipeline-level variable used for a pipeline execution.

", "refs": { "PipelineVariableList$member": null } }, "PipelineVariableDeclaration": { - "base": "

A variable declared at the pipeline level.

V2 type pipelines, along with triggers on Git tags and pipeline-level variables, are not currently supported for CloudFormation and CDK resources in CodePipeline. For more information about V2 type pipelines, see Pipeline types in the CodePipeline User Guide.

", + "base": "

A variable declared at the pipeline level.

", "refs": { "PipelineVariableDeclarationList$member": null } @@ -1824,10 +1912,17 @@ "StageExecution": { "base": "

Represents information about the run of a stage.

", "refs": { + "StageExecutionList$member": null, "StageState$inboundExecution": null, "StageState$latestExecution": "

Information about the latest execution in the stage, including its ID and status.

" } }, + "StageExecutionList": { + "base": null, + "refs": { + "StageState$inboundExecutions": "

The inbound executions for a stage.

" + } + }, "StageExecutionStatus": { "base": null, "refs": { @@ -1893,6 +1988,12 @@ "refs": { } }, + "StartTimeRange": { + "base": null, + "refs": { + "LatestInPipelineExecutionFilter$startTimeRange": "

The start time to filter on for the latest execution in the pipeline. Valid options:

" + } + }, "StopExecutionTrigger": { "base": "

The interaction that stopped a pipeline execution.

", "refs": { diff --git a/models/apis/quicksight/2018-04-01/api-2.json b/models/apis/quicksight/2018-04-01/api-2.json index 7ac3dbf3e00..b6a33602489 100644 --- a/models/apis/quicksight/2018-04-01/api-2.json +++ b/models/apis/quicksight/2018-04-01/api-2.json @@ -4427,7 +4427,8 @@ "DataLabels":{"shape":"DataLabelOptions"}, "Tooltip":{"shape":"TooltipOptions"}, "ReferenceLines":{"shape":"ReferenceLineList"}, - "ContributionAnalysisDefaults":{"shape":"ContributionAnalysisDefaultList"} + "ContributionAnalysisDefaults":{"shape":"ContributionAnalysisDefaultList"}, + "Interactions":{"shape":"VisualInteractionOptions"} } }, "BarChartFieldWells":{ @@ -4579,7 +4580,8 @@ "Legend":{"shape":"LegendOptions"}, "Tooltip":{"shape":"TooltipOptions"}, "ReferenceLines":{"shape":"ReferenceLineList"}, - "VisualPalette":{"shape":"VisualPalette"} + "VisualPalette":{"shape":"VisualPalette"}, + "Interactions":{"shape":"VisualInteractionOptions"} } }, "BoxPlotDimensionFieldList":{ @@ -5198,7 +5200,8 @@ "LineDataLabels":{"shape":"DataLabelOptions"}, "Tooltip":{"shape":"TooltipOptions"}, "ReferenceLines":{"shape":"ReferenceLineList"}, - "VisualPalette":{"shape":"VisualPalette"} + "VisualPalette":{"shape":"VisualPalette"}, + "Interactions":{"shape":"VisualInteractionOptions"} } }, "ComboChartFieldWells":{ @@ -5391,6 +5394,12 @@ "COLLECTIVE" ] }, + "ContextMenuOption":{ + "type":"structure", + "members":{ + "AvailabilityStatus":{"shape":"DashboardBehavior"} + } + }, "ContributionAnalysisDefault":{ "type":"structure", "required":[ @@ -6373,7 +6382,8 @@ "members":{ "ContentUrl":{"shape":"URLOperationTemplate"}, "ContentType":{"shape":"CustomContentType"}, - "ImageScaling":{"shape":"CustomContentImageScalingConfiguration"} + "ImageScaling":{"shape":"CustomContentImageScalingConfiguration"}, + "Interactions":{"shape":"VisualInteractionOptions"} } }, "CustomContentImageScalingConfiguration":{ @@ -10382,7 +10392,8 @@ "Legend":{"shape":"LegendOptions"}, "Tooltip":{"shape":"TooltipOptions"}, "WindowOptions":{"shape":"GeospatialWindowOptions"}, - "MapStyleOptions":{"shape":"GeospatialMapStyleOptions"} + "MapStyleOptions":{"shape":"GeospatialMapStyleOptions"}, + "Interactions":{"shape":"VisualInteractionOptions"} } }, "FilledMapDimensionFieldList":{ @@ -10974,7 +10985,8 @@ "ValueLabelOptions":{"shape":"ChartAxisLabelOptions"}, "Tooltip":{"shape":"TooltipOptions"}, "DataLabelOptions":{"shape":"FunnelChartDataLabelOptions"}, - "VisualPalette":{"shape":"VisualPalette"} + "VisualPalette":{"shape":"VisualPalette"}, + "Interactions":{"shape":"VisualInteractionOptions"} } }, "FunnelChartDataLabelOptions":{ @@ -11065,7 +11077,8 @@ "GaugeChartOptions":{"shape":"GaugeChartOptions"}, "DataLabels":{"shape":"DataLabelOptions"}, "TooltipOptions":{"shape":"TooltipOptions"}, - "VisualPalette":{"shape":"VisualPalette"} + "VisualPalette":{"shape":"VisualPalette"}, + "Interactions":{"shape":"VisualInteractionOptions"} } }, "GaugeChartFieldWells":{ @@ -11264,7 +11277,8 @@ "WindowOptions":{"shape":"GeospatialWindowOptions"}, "MapStyleOptions":{"shape":"GeospatialMapStyleOptions"}, "PointStyleOptions":{"shape":"GeospatialPointStyleOptions"}, - "VisualPalette":{"shape":"VisualPalette"} + "VisualPalette":{"shape":"VisualPalette"}, + "Interactions":{"shape":"VisualInteractionOptions"} } }, "GeospatialMapFieldWells":{ @@ -11650,7 +11664,8 @@ "ColorScale":{"shape":"ColorScale"}, "Legend":{"shape":"LegendOptions"}, "DataLabels":{"shape":"DataLabelOptions"}, - "Tooltip":{"shape":"TooltipOptions"} + "Tooltip":{"shape":"TooltipOptions"}, + "Interactions":{"shape":"VisualInteractionOptions"} } }, "HeatMapDimensionFieldList":{ @@ -11738,7 +11753,8 @@ "BinOptions":{"shape":"HistogramBinOptions"}, "DataLabels":{"shape":"DataLabelOptions"}, "Tooltip":{"shape":"TooltipOptions"}, - "VisualPalette":{"shape":"VisualPalette"} + "VisualPalette":{"shape":"VisualPalette"}, + "Interactions":{"shape":"VisualInteractionOptions"} } }, "HistogramFieldWells":{ @@ -12051,7 +12067,8 @@ "type":"structure", "members":{ "Computations":{"shape":"ComputationList"}, - "CustomNarrative":{"shape":"CustomNarrativeOptions"} + "CustomNarrative":{"shape":"CustomNarrativeOptions"}, + "Interactions":{"shape":"VisualInteractionOptions"} } }, "InsightVisual":{ @@ -12292,7 +12309,8 @@ "members":{ "FieldWells":{"shape":"KPIFieldWells"}, "SortConfiguration":{"shape":"KPISortConfiguration"}, - "KPIOptions":{"shape":"KPIOptions"} + "KPIOptions":{"shape":"KPIOptions"}, + "Interactions":{"shape":"VisualInteractionOptions"} } }, "KPIFieldWells":{ @@ -12494,7 +12512,8 @@ "ReferenceLines":{"shape":"ReferenceLineList"}, "Tooltip":{"shape":"TooltipOptions"}, "ContributionAnalysisDefaults":{"shape":"ContributionAnalysisDefaultList"}, - "VisualPalette":{"shape":"VisualPalette"} + "VisualPalette":{"shape":"VisualPalette"}, + "Interactions":{"shape":"VisualInteractionOptions"} } }, "LineChartDefaultSeriesSettings":{ @@ -14835,7 +14854,8 @@ "DataLabels":{"shape":"DataLabelOptions"}, "Tooltip":{"shape":"TooltipOptions"}, "VisualPalette":{"shape":"VisualPalette"}, - "ContributionAnalysisDefaults":{"shape":"ContributionAnalysisDefaultList"} + "ContributionAnalysisDefaults":{"shape":"ContributionAnalysisDefaultList"}, + "Interactions":{"shape":"VisualInteractionOptions"} } }, "PieChartFieldWells":{ @@ -14948,7 +14968,8 @@ "TableOptions":{"shape":"PivotTableOptions"}, "TotalOptions":{"shape":"PivotTableTotalOptions"}, "FieldOptions":{"shape":"PivotTableFieldOptions"}, - "PaginatedReportOptions":{"shape":"PivotTablePaginatedReportOptions"} + "PaginatedReportOptions":{"shape":"PivotTablePaginatedReportOptions"}, + "Interactions":{"shape":"VisualInteractionOptions"} } }, "PivotTableDataPathOption":{ @@ -15391,7 +15412,8 @@ "ColorAxis":{"shape":"AxisDisplayOptions"}, "ColorLabelOptions":{"shape":"ChartAxisLabelOptions"}, "Legend":{"shape":"LegendOptions"}, - "AxesRangeScale":{"shape":"RadarChartAxesRangeScale"} + "AxesRangeScale":{"shape":"RadarChartAxesRangeScale"}, + "Interactions":{"shape":"VisualInteractionOptions"} } }, "RadarChartFieldWells":{ @@ -16161,7 +16183,8 @@ "members":{ "FieldWells":{"shape":"SankeyDiagramFieldWells"}, "SortConfiguration":{"shape":"SankeyDiagramSortConfiguration"}, - "DataLabels":{"shape":"DataLabelOptions"} + "DataLabels":{"shape":"DataLabelOptions"}, + "Interactions":{"shape":"VisualInteractionOptions"} } }, "SankeyDiagramFieldWells":{ @@ -16211,7 +16234,8 @@ "Legend":{"shape":"LegendOptions"}, "DataLabels":{"shape":"DataLabelOptions"}, "Tooltip":{"shape":"TooltipOptions"}, - "VisualPalette":{"shape":"VisualPalette"} + "VisualPalette":{"shape":"VisualPalette"}, + "Interactions":{"shape":"VisualInteractionOptions"} } }, "ScatterPlotFieldWells":{ @@ -17704,7 +17728,8 @@ "TotalOptions":{"shape":"TotalOptions"}, "FieldOptions":{"shape":"TableFieldOptions"}, "PaginatedReportOptions":{"shape":"TablePaginatedReportOptions"}, - "TableInlineVisualizations":{"shape":"TableInlineVisualizationList"} + "TableInlineVisualizations":{"shape":"TableInlineVisualizationList"}, + "Interactions":{"shape":"VisualInteractionOptions"} } }, "TableFieldCustomIconContent":{ @@ -18886,7 +18911,8 @@ "ColorScale":{"shape":"ColorScale"}, "Legend":{"shape":"LegendOptions"}, "DataLabels":{"shape":"DataLabelOptions"}, - "Tooltip":{"shape":"TooltipOptions"} + "Tooltip":{"shape":"TooltipOptions"}, + "Interactions":{"shape":"VisualInteractionOptions"} } }, "TreeMapDimensionFieldList":{ @@ -20508,6 +20534,13 @@ "DATA_POINT_MENU" ] }, + "VisualInteractionOptions":{ + "type":"structure", + "members":{ + "VisualMenuOption":{"shape":"VisualMenuOption"}, + "ContextMenuOption":{"shape":"ContextMenuOption"} + } + }, "VisualList":{ "type":"list", "member":{"shape":"Visual"}, @@ -20559,6 +20592,12 @@ "Breakdowns":{"shape":"DimensionFieldList"} } }, + "WaterfallChartColorConfiguration":{ + "type":"structure", + "members":{ + "GroupColorConfiguration":{"shape":"WaterfallChartGroupColorConfiguration"} + } + }, "WaterfallChartConfiguration":{ "type":"structure", "members":{ @@ -20571,7 +20610,9 @@ "PrimaryYAxisDisplayOptions":{"shape":"AxisDisplayOptions"}, "Legend":{"shape":"LegendOptions"}, "DataLabels":{"shape":"DataLabelOptions"}, - "VisualPalette":{"shape":"VisualPalette"} + "VisualPalette":{"shape":"VisualPalette"}, + "ColorConfiguration":{"shape":"WaterfallChartColorConfiguration"}, + "Interactions":{"shape":"VisualInteractionOptions"} } }, "WaterfallChartFieldWells":{ @@ -20580,6 +20621,14 @@ "WaterfallChartAggregatedFieldWells":{"shape":"WaterfallChartAggregatedFieldWells"} } }, + "WaterfallChartGroupColorConfiguration":{ + "type":"structure", + "members":{ + "PositiveBarColor":{"shape":"HexColor"}, + "NegativeBarColor":{"shape":"HexColor"}, + "TotalBarColor":{"shape":"HexColor"} + } + }, "WaterfallChartOptions":{ "type":"structure", "members":{ @@ -20649,7 +20698,8 @@ "FieldWells":{"shape":"WordCloudFieldWells"}, "SortConfiguration":{"shape":"WordCloudSortConfiguration"}, "CategoryLabelOptions":{"shape":"ChartAxisLabelOptions"}, - "WordCloudOptions":{"shape":"WordCloudOptions"} + "WordCloudOptions":{"shape":"WordCloudOptions"}, + "Interactions":{"shape":"VisualInteractionOptions"} } }, "WordCloudCloudLayout":{ diff --git a/models/apis/quicksight/2018-04-01/docs-2.json b/models/apis/quicksight/2018-04-01/docs-2.json index 5ac9d0bf0eb..7470ee07362 100644 --- a/models/apis/quicksight/2018-04-01/docs-2.json +++ b/models/apis/quicksight/2018-04-01/docs-2.json @@ -2597,6 +2597,12 @@ "TopicSingularFilterConstant$ConstantType": "

The type of the singular filter constant. Valid values for this structure are SINGULAR.

" } }, + "ContextMenuOption": { + "base": "

The context menu options for a visual's interactions.

", + "refs": { + "VisualInteractionOptions$ContextMenuOption": "

The context menu options for a visual.

" + } + }, "ContributionAnalysisDefault": { "base": "

The contribution analysis visual display for a line, pie, or bar chart.

", "refs": { @@ -2998,6 +3004,7 @@ "base": null, "refs": { "AdHocFilteringOption$AvailabilityStatus": "

Availability status.

", + "ContextMenuOption$AvailabilityStatus": "

The availability status of the context menu options. If the value of this property is set to ENABLED, dashboard readers can interact with the context menu.

", "DataPointDrillUpDownOption$AvailabilityStatus": "

The status of the drill down options of data points.

", "DataPointMenuLabelOption$AvailabilityStatus": "

The status of the data point menu options.

", "DataPointTooltipOption$AvailabilityStatus": "

The status of the data point tool tip options.

", @@ -5984,7 +5991,10 @@ "UIColorPalette$DimensionForeground": "

The foreground color that applies to any text or other elements that appear over the dimension color.

", "UIColorPalette$Measure": "

The color that applies to the names of fields that are identified as measures.

", "UIColorPalette$MeasureForeground": "

The foreground color that applies to any text or other elements that appear over the measure color.

", - "VisualPalette$ChartColor": "

The chart color options for the visual palette.

" + "VisualPalette$ChartColor": "

The chart color options for the visual palette.

", + "WaterfallChartGroupColorConfiguration$PositiveBarColor": "

Defines the color for the positive bars of a waterfall chart.

", + "WaterfallChartGroupColorConfiguration$NegativeBarColor": "

Defines the color for the negative bars of a waterfall chart.

", + "WaterfallChartGroupColorConfiguration$TotalBarColor": "

Defines the color for the total bars of a waterfall chart.

" } }, "HexColorWithTransparency": { @@ -8942,8 +8952,8 @@ "UpdateDataSetPermissionsRequest$RevokePermissions": "

The resource permissions that you want to revoke from the dataset.

", "UpdateDataSourcePermissionsRequest$GrantPermissions": "

A list of resource permissions that you want to grant on the data source.

", "UpdateDataSourcePermissionsRequest$RevokePermissions": "

A list of resource permissions that you want to revoke on the data source.

", - "UpdateFolderPermissionsRequest$GrantPermissions": "

The permissions that you want to grant on a resource.

", - "UpdateFolderPermissionsRequest$RevokePermissions": "

The permissions that you want to revoke from a resource.

", + "UpdateFolderPermissionsRequest$GrantPermissions": "

The permissions that you want to grant on a resource. Namespace ARNs are not supported Principal values for folder permissions.

", + "UpdateFolderPermissionsRequest$RevokePermissions": "

The permissions that you want to revoke from a resource. Namespace ARNs are not supported Principal values for folder permissions.

", "UpdateFolderPermissionsResponse$Permissions": "

Information about the permissions for the folder.

", "UpdateTemplatePermissionsResponse$Permissions": "

A list of resource permissions to be set on the template.

", "UpdateThemePermissionsResponse$Permissions": "

The resulting list of resource permissions for the theme.

", @@ -13033,6 +13043,33 @@ "VisualCustomAction$Trigger": "

The trigger of the VisualCustomAction.

Valid values are defined as follows:

" } }, + "VisualInteractionOptions": { + "base": "

The general visual interactions setup for visual publish options

", + "refs": { + "BarChartConfiguration$Interactions": "

The general visual interactions setup for a visual.

", + "BoxPlotChartConfiguration$Interactions": "

The general visual interactions setup for a visual.

", + "ComboChartConfiguration$Interactions": "

The general visual interactions setup for a visual.

", + "CustomContentConfiguration$Interactions": "

The general visual interactions setup for a visual.

", + "FilledMapConfiguration$Interactions": "

The general visual interactions setup for a visual.

", + "FunnelChartConfiguration$Interactions": "

The general visual interactions setup for a visual.

", + "GaugeChartConfiguration$Interactions": "

The general visual interactions setup for a visual.

", + "GeospatialMapConfiguration$Interactions": "

The general visual interactions setup for a visual.

", + "HeatMapConfiguration$Interactions": "

The general visual interactions setup for a visual.

", + "HistogramConfiguration$Interactions": "

The general visual interactions setup for a visual.

", + "InsightConfiguration$Interactions": "

The general visual interactions setup for a visual.

", + "KPIConfiguration$Interactions": "

The general visual interactions setup for a visual.

", + "LineChartConfiguration$Interactions": "

The general visual interactions setup for a visual.

", + "PieChartConfiguration$Interactions": "

The general visual interactions setup for a visual.

", + "PivotTableConfiguration$Interactions": "

The general visual interactions setup for a visual.

", + "RadarChartConfiguration$Interactions": "

The general visual interactions setup for a visual.

", + "SankeyDiagramChartConfiguration$Interactions": "

The general visual interactions setup for a visual.

", + "ScatterPlotConfiguration$Interactions": "

The general visual interactions setup for a visual.

", + "TableConfiguration$Interactions": "

The general visual interactions setup for a visual.

", + "TreeMapConfiguration$Interactions": "

The general visual interactions setup for a visual.

", + "WaterfallChartConfiguration$Interactions": "

The general visual interactions setup for a visual.

", + "WordCloudChartConfiguration$Interactions": "

The general visual interactions setup for a visual.

" + } + }, "VisualList": { "base": null, "refs": { @@ -13042,7 +13079,8 @@ "VisualMenuOption": { "base": "

The menu options for a visual.

", "refs": { - "DashboardPublishOptions$VisualMenuOption": "

The menu options of a visual in a dashboard.

" + "DashboardPublishOptions$VisualMenuOption": "

The menu options of a visual in a dashboard.

", + "VisualInteractionOptions$VisualMenuOption": "

The on-visual menu options for a visual.

" } }, "VisualPalette": { @@ -13137,6 +13175,12 @@ "WaterfallChartFieldWells$WaterfallChartAggregatedFieldWells": "

The field well configuration of a waterfall visual.

" } }, + "WaterfallChartColorConfiguration": { + "base": "

The color configuration of a waterfall visual.

", + "refs": { + "WaterfallChartConfiguration$ColorConfiguration": "

The color configuration of a waterfall visual.

" + } + }, "WaterfallChartConfiguration": { "base": "

The configuration for a waterfall visual.

", "refs": { @@ -13149,6 +13193,12 @@ "WaterfallChartConfiguration$FieldWells": "

The field well configuration of a waterfall visual.

" } }, + "WaterfallChartGroupColorConfiguration": { + "base": "

The color configuration for individual groups within a waterfall visual.

", + "refs": { + "WaterfallChartColorConfiguration$GroupColorConfiguration": "

The color configuration for individual groups within a waterfall visual.

" + } + }, "WaterfallChartOptions": { "base": "

The options that determine the presentation of a waterfall visual.

", "refs": { diff --git a/models/apis/workspaces/2015-04-08/api-2.json b/models/apis/workspaces/2015-04-08/api-2.json index f481b0d5dbb..0023b0c5e5f 100644 --- a/models/apis/workspaces/2015-04-08/api-2.json +++ b/models/apis/workspaces/2015-04-08/api-2.json @@ -2289,7 +2289,8 @@ "UserName":{"shape":"UserName"}, "BundleId":{"shape":"BundleId"}, "Limit":{"shape":"Limit"}, - "NextToken":{"shape":"PaginationToken"} + "NextToken":{"shape":"PaginationToken"}, + "WorkspaceName":{"shape":"WorkspaceName"} } }, "DescribeWorkspacesResult":{ @@ -3538,6 +3539,7 @@ "VolumeEncryptionKey":{"shape":"VolumeEncryptionKey"}, "UserVolumeEncryptionEnabled":{"shape":"BooleanObject"}, "RootVolumeEncryptionEnabled":{"shape":"BooleanObject"}, + "WorkspaceName":{"shape":"WorkspaceName"}, "WorkspaceProperties":{"shape":"WorkspaceProperties"}, "ModificationStates":{"shape":"ModificationStateList"}, "RelatedWorkspaces":{"shape":"RelatedWorkspaces"}, @@ -3776,6 +3778,10 @@ "type":"list", "member":{"shape":"Workspace"} }, + "WorkspaceName":{ + "type":"string", + "pattern":"^[a-zA-Z0-9_()][a-zA-Z0-9_.()-]{1,63}$" + }, "WorkspaceProperties":{ "type":"structure", "members":{ @@ -3803,7 +3809,8 @@ "UserVolumeEncryptionEnabled":{"shape":"BooleanObject"}, "RootVolumeEncryptionEnabled":{"shape":"BooleanObject"}, "WorkspaceProperties":{"shape":"WorkspaceProperties"}, - "Tags":{"shape":"TagList"} + "Tags":{"shape":"TagList"}, + "WorkspaceName":{"shape":"WorkspaceName"} } }, "WorkspaceRequestList":{ diff --git a/models/apis/workspaces/2015-04-08/docs-2.json b/models/apis/workspaces/2015-04-08/docs-2.json index 559e1c18197..aa38f44e298 100644 --- a/models/apis/workspaces/2015-04-08/docs-2.json +++ b/models/apis/workspaces/2015-04-08/docs-2.json @@ -62,7 +62,7 @@ "ModifyWorkspaceCreationProperties": "

Modify the default properties used to create WorkSpaces.

", "ModifyWorkspaceProperties": "

Modifies the specified WorkSpace properties. For important information about how to modify the size of the root and user volumes, see Modify a WorkSpace.

The MANUAL running mode value is only supported by Amazon WorkSpaces Core. Contact your account team to be allow-listed to use this value. For more information, see Amazon WorkSpaces Core.

", "ModifyWorkspaceState": "

Sets the state of the specified WorkSpace.

To maintain a WorkSpace without being interrupted, set the WorkSpace state to ADMIN_MAINTENANCE. WorkSpaces in this state do not respond to requests to reboot, stop, start, rebuild, or restore. An AutoStop WorkSpace in this state is not stopped. Users cannot log into a WorkSpace in the ADMIN_MAINTENANCE state.

", - "RebootWorkspaces": "

Reboots the specified WorkSpaces.

You cannot reboot a WorkSpace unless its state is AVAILABLE, UNHEALTHY, or REBOOTING. Reboot a WorkSpace in the REBOOTING state only if your WorkSpace has been stuck in the REBOOTING state for over 20 minutes.

This operation is asynchronous and returns before the WorkSpaces have rebooted.

", + "RebootWorkspaces": "

Reboots the specified WorkSpaces.

You cannot reboot a WorkSpace unless its state is AVAILABLE or UNHEALTHY.

This operation is asynchronous and returns before the WorkSpaces have rebooted.

", "RebuildWorkspaces": "

Rebuilds the specified WorkSpace.

You cannot rebuild a WorkSpace unless its state is AVAILABLE, ERROR, UNHEALTHY, STOPPED, or REBOOTING.

Rebuilding a WorkSpace is a potentially destructive action that can result in the loss of data. For more information, see Rebuild a WorkSpace.

This operation is asynchronous and returns before the WorkSpaces have been completely rebuilt.

", "RegisterWorkspaceDirectory": "

Registers the specified directory. This operation is asynchronous and returns before the WorkSpace directory is registered. If this is the first time you are registering a directory, you will need to create the workspaces_DefaultRole role before you can register a directory. For more information, see Creating the workspaces_DefaultRole Role.

", "RestoreWorkspace": "

Restores the specified WorkSpace to its last known healthy state.

You cannot restore a WorkSpace unless its state is AVAILABLE, ERROR, UNHEALTHY, or STOPPED.

Restoring a WorkSpace is a potentially destructive action that can result in the loss of data. For more information, see Restore a WorkSpace.

This operation is asynchronous and returns before the WorkSpace is completely restored.

", @@ -2286,7 +2286,7 @@ "PendingCreateStandbyWorkspacesRequest$UserName": "

Describes the standby WorkSpace that was created.

Because this operation is asynchronous, the identifier returned is not immediately available for use with other operations. For example, if you call DescribeWorkspaces before the WorkSpace is created, the information returned can be incomplete.

", "Workspace$UserName": "

The user for the WorkSpace.

", "WorkspaceDirectory$CustomerUserName": "

The user name for the service account.

", - "WorkspaceRequest$UserName": "

The user name of the user for the WorkSpace. This user name must exist in the Directory Service directory for the WorkSpace.

" + "WorkspaceRequest$UserName": "

The user name of the user for the WorkSpace. This user name must exist in the Directory Service directory for the WorkSpace.

The reserved keyword, [UNDEFINED], is used when creating user-decoupled WorkSpaces.

" } }, "UserStorage": { @@ -2599,6 +2599,14 @@ "DescribeWorkspacesResult$Workspaces": "

Information about the WorkSpaces.

Because CreateWorkspaces is an asynchronous operation, some of the returned information could be incomplete.

" } }, + "WorkspaceName": { + "base": null, + "refs": { + "DescribeWorkspacesRequest$WorkspaceName": "

The name of the user-decoupled WorkSpace.

", + "Workspace$WorkspaceName": "

The name of the user-decoupled WorkSpace.

", + "WorkspaceRequest$WorkspaceName": "

The name of the user-decoupled WorkSpace.

" + } + }, "WorkspaceProperties": { "base": "

Describes a WorkSpace.

", "refs": { @@ -2640,7 +2648,7 @@ "refs": { "PendingCreateStandbyWorkspacesRequest$State": "

The operational state of the standby WorkSpace.

", "RelatedWorkspaceProperties$State": "

Indicates the state of the WorkSpace.

", - "Workspace$State": "

The operational state of the WorkSpace.

After a WorkSpace is terminated, the TERMINATED state is returned only briefly before the WorkSpace directory metadata is cleaned up, so this state is rarely returned. To confirm that a WorkSpace is terminated, check for the WorkSpace ID by using DescribeWorkSpaces. If the WorkSpace ID isn't returned, then the WorkSpace has been successfully terminated.

" + "Workspace$State": "

The operational state of the WorkSpace.

After a WorkSpace is terminated, the TERMINATED state is returned only briefly before the WorkSpace directory metadata is cleaned up, so this state is rarely returned. To confirm that a WorkSpace is terminated, check for the WorkSpace ID by using DescribeWorkSpaces. If the WorkSpace ID isn't returned, then the WorkSpace has been successfully terminated.

" } }, "WorkspacesDefaultRoleNotFoundException": { diff --git a/service/codepipeline/api.go b/service/codepipeline/api.go index 5533a7305d9..2c7f03e0c0f 100644 --- a/service/codepipeline/api.go +++ b/service/codepipeline/api.go @@ -3372,6 +3372,9 @@ func (c *CodePipeline) StartPipelineExecutionRequest(input *StartPipelineExecuti // - PipelineNotFoundException // The pipeline was specified in an invalid format or cannot be found. // +// - ConcurrentPipelineExecutionsLimitExceededException +// The pipeline has reached the limit for concurrent pipeline executions. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StartPipelineExecution func (c *CodePipeline) StartPipelineExecution(input *StartPipelineExecutionInput) (*StartPipelineExecutionOutput, error) { req, out := c.StartPipelineExecutionRequest(input) @@ -4705,6 +4708,9 @@ type ActionExecutionDetail struct { // The status of the action execution. Status categories are InProgress, Succeeded, // and Failed. Status *string `locationName:"status" type:"string" enum:"ActionExecutionStatus"` + + // The ARN of the user who changed the pipeline execution details. + UpdatedBy *string `locationName:"updatedBy" type:"string"` } // String returns the string representation. @@ -4785,10 +4791,22 @@ func (s *ActionExecutionDetail) SetStatus(v string) *ActionExecutionDetail { return s } +// SetUpdatedBy sets the UpdatedBy field's value. +func (s *ActionExecutionDetail) SetUpdatedBy(v string) *ActionExecutionDetail { + s.UpdatedBy = &v + return s +} + // Filter values for the action execution. type ActionExecutionFilter struct { _ struct{} `type:"structure"` + // The latest execution in the pipeline. + // + // Filtering on the latest execution is available for executions run on or after + // February 08, 2024. + LatestInPipelineExecution *LatestInPipelineExecutionFilter `locationName:"latestInPipelineExecution" type:"structure"` + // The pipeline execution ID used to filter action execution history. PipelineExecutionId *string `locationName:"pipelineExecutionId" type:"string"` } @@ -4811,6 +4829,27 @@ func (s ActionExecutionFilter) GoString() string { return s.String() } +// Validate inspects the fields of the type to determine if they are valid. +func (s *ActionExecutionFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ActionExecutionFilter"} + if s.LatestInPipelineExecution != nil { + if err := s.LatestInPipelineExecution.Validate(); err != nil { + invalidParams.AddNested("LatestInPipelineExecution", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetLatestInPipelineExecution sets the LatestInPipelineExecution field's value. +func (s *ActionExecutionFilter) SetLatestInPipelineExecution(v *LatestInPipelineExecutionFilter) *ActionExecutionFilter { + s.LatestInPipelineExecution = v + return s +} + // SetPipelineExecutionId sets the PipelineExecutionId field's value. func (s *ActionExecutionFilter) SetPipelineExecutionId(v string) *ActionExecutionFilter { s.PipelineExecutionId = &v @@ -4962,6 +5001,9 @@ func (s *ActionExecutionOutput) SetOutputVariables(v map[string]*string) *Action type ActionExecutionResult struct { _ struct{} `type:"structure"` + // Represents information about an error in CodePipeline. + ErrorDetails *ErrorDetails `locationName:"errorDetails" type:"structure"` + // The action provider's external ID for the action execution. ExternalExecutionId *string `locationName:"externalExecutionId" type:"string"` @@ -4991,6 +5033,12 @@ func (s ActionExecutionResult) GoString() string { return s.String() } +// SetErrorDetails sets the ErrorDetails field's value. +func (s *ActionExecutionResult) SetErrorDetails(v *ErrorDetails) *ActionExecutionResult { + s.ErrorDetails = v + return s +} + // SetExternalExecutionId sets the ExternalExecutionId field's value. func (s *ActionExecutionResult) SetExternalExecutionId(v string) *ActionExecutionResult { s.ExternalExecutionId = &v @@ -6904,6 +6952,70 @@ func (s *ConcurrentModificationException) RequestID() string { return s.RespMetadata.RequestID } +// The pipeline has reached the limit for concurrent pipeline executions. +type ConcurrentPipelineExecutionsLimitExceededException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ConcurrentPipelineExecutionsLimitExceededException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ConcurrentPipelineExecutionsLimitExceededException) GoString() string { + return s.String() +} + +func newErrorConcurrentPipelineExecutionsLimitExceededException(v protocol.ResponseMetadata) error { + return &ConcurrentPipelineExecutionsLimitExceededException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ConcurrentPipelineExecutionsLimitExceededException) Code() string { + return "ConcurrentPipelineExecutionsLimitExceededException" +} + +// Message returns the exception's message. +func (s *ConcurrentPipelineExecutionsLimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ConcurrentPipelineExecutionsLimitExceededException) OrigErr() error { + return nil +} + +func (s *ConcurrentPipelineExecutionsLimitExceededException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ConcurrentPipelineExecutionsLimitExceededException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ConcurrentPipelineExecutionsLimitExceededException) RequestID() string { + return s.RespMetadata.RequestID +} + // Your request cannot be handled because the pipeline is busy handling ongoing // activities. Try again later. type ConflictException struct { @@ -9018,23 +9130,79 @@ func (s *GetThirdPartyJobDetailsOutput) SetJobDetails(v *ThirdPartyJobDetails) * return s } +// The Git repository branches specified as filter criteria to start the pipeline. +type GitBranchFilterCriteria struct { + _ struct{} `type:"structure"` + + // The list of patterns of Git branches that, when a commit is pushed, are to + // be excluded from starting the pipeline. + Excludes []*string `locationName:"excludes" min:"1" type:"list"` + + // The list of patterns of Git branches that, when a commit is pushed, are to + // be included as criteria that starts the pipeline. + Includes []*string `locationName:"includes" min:"1" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GitBranchFilterCriteria) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GitBranchFilterCriteria) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GitBranchFilterCriteria) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GitBranchFilterCriteria"} + if s.Excludes != nil && len(s.Excludes) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Excludes", 1)) + } + if s.Includes != nil && len(s.Includes) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Includes", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetExcludes sets the Excludes field's value. +func (s *GitBranchFilterCriteria) SetExcludes(v []*string) *GitBranchFilterCriteria { + s.Excludes = v + return s +} + +// SetIncludes sets the Includes field's value. +func (s *GitBranchFilterCriteria) SetIncludes(v []*string) *GitBranchFilterCriteria { + s.Includes = v + return s +} + // A type of trigger configuration for Git-based source actions. // // You can specify the Git configuration trigger type for all third-party Git-based // source actions that are supported by the CodeStarSourceConnection action // type. -// -// V2 type pipelines, along with triggers on Git tags and pipeline-level variables, -// are not currently supported for CloudFormation and CDK resources in CodePipeline. -// For more information about V2 type pipelines, see Pipeline types (https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types.html) -// in the CodePipeline User Guide. type GitConfiguration struct { _ struct{} `type:"structure"` + // The field where the repository event that will start the pipeline is specified + // as pull requests. + PullRequest []*GitPullRequestFilter `locationName:"pullRequest" min:"1" type:"list"` + // The field where the repository event that will start the pipeline, such as // pushing Git tags, is specified with details. - // - // Git tags is the only supported event type. Push []*GitPushFilter `locationName:"push" min:"1" type:"list"` // The name of the pipeline source action where the trigger configuration, such @@ -9068,6 +9236,9 @@ func (s GitConfiguration) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *GitConfiguration) Validate() error { invalidParams := request.ErrInvalidParams{Context: "GitConfiguration"} + if s.PullRequest != nil && len(s.PullRequest) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PullRequest", 1)) + } if s.Push != nil && len(s.Push) < 1 { invalidParams.Add(request.NewErrParamMinLen("Push", 1)) } @@ -9077,6 +9248,16 @@ func (s *GitConfiguration) Validate() error { if s.SourceActionName != nil && len(*s.SourceActionName) < 1 { invalidParams.Add(request.NewErrParamMinLen("SourceActionName", 1)) } + if s.PullRequest != nil { + for i, v := range s.PullRequest { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PullRequest", i), err.(request.ErrInvalidParams)) + } + } + } if s.Push != nil { for i, v := range s.Push { if v == nil { @@ -9094,6 +9275,12 @@ func (s *GitConfiguration) Validate() error { return nil } +// SetPullRequest sets the PullRequest field's value. +func (s *GitConfiguration) SetPullRequest(v []*GitPullRequestFilter) *GitConfiguration { + s.PullRequest = v + return s +} + // SetPush sets the Push field's value. func (s *GitConfiguration) SetPush(v []*GitPushFilter) *GitConfiguration { s.Push = v @@ -9106,12 +9293,154 @@ func (s *GitConfiguration) SetSourceActionName(v string) *GitConfiguration { return s } +// The Git repository file paths specified as filter criteria to start the pipeline. +type GitFilePathFilterCriteria struct { + _ struct{} `type:"structure"` + + // The list of patterns of Git repository file paths that, when a commit is + // pushed, are to be excluded from starting the pipeline. + Excludes []*string `locationName:"excludes" min:"1" type:"list"` + + // The list of patterns of Git repository file paths that, when a commit is + // pushed, are to be included as criteria that starts the pipeline. + Includes []*string `locationName:"includes" min:"1" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GitFilePathFilterCriteria) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GitFilePathFilterCriteria) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GitFilePathFilterCriteria) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GitFilePathFilterCriteria"} + if s.Excludes != nil && len(s.Excludes) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Excludes", 1)) + } + if s.Includes != nil && len(s.Includes) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Includes", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetExcludes sets the Excludes field's value. +func (s *GitFilePathFilterCriteria) SetExcludes(v []*string) *GitFilePathFilterCriteria { + s.Excludes = v + return s +} + +// SetIncludes sets the Includes field's value. +func (s *GitFilePathFilterCriteria) SetIncludes(v []*string) *GitFilePathFilterCriteria { + s.Includes = v + return s +} + +// The event criteria for the pull request trigger configuration, such as the +// lists of branches or file paths to include and exclude. +type GitPullRequestFilter struct { + _ struct{} `type:"structure"` + + // The field that specifies to filter on branches for the pull request trigger + // configuration. + Branches *GitBranchFilterCriteria `locationName:"branches" type:"structure"` + + // The field that specifies which pull request events to filter on (opened, + // updated, closed) for the trigger configuration. + Events []*string `locationName:"events" min:"1" type:"list" enum:"GitPullRequestEventType"` + + // The field that specifies to filter on file paths for the pull request trigger + // configuration. + FilePaths *GitFilePathFilterCriteria `locationName:"filePaths" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GitPullRequestFilter) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GitPullRequestFilter) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GitPullRequestFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GitPullRequestFilter"} + if s.Events != nil && len(s.Events) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Events", 1)) + } + if s.Branches != nil { + if err := s.Branches.Validate(); err != nil { + invalidParams.AddNested("Branches", err.(request.ErrInvalidParams)) + } + } + if s.FilePaths != nil { + if err := s.FilePaths.Validate(); err != nil { + invalidParams.AddNested("FilePaths", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBranches sets the Branches field's value. +func (s *GitPullRequestFilter) SetBranches(v *GitBranchFilterCriteria) *GitPullRequestFilter { + s.Branches = v + return s +} + +// SetEvents sets the Events field's value. +func (s *GitPullRequestFilter) SetEvents(v []*string) *GitPullRequestFilter { + s.Events = v + return s +} + +// SetFilePaths sets the FilePaths field's value. +func (s *GitPullRequestFilter) SetFilePaths(v *GitFilePathFilterCriteria) *GitPullRequestFilter { + s.FilePaths = v + return s +} + // The event criteria that specify when a specified repository event will start // the pipeline for the specified trigger configuration, such as the lists of // Git tags to include and exclude. type GitPushFilter struct { _ struct{} `type:"structure"` + // The field that specifies to filter on branches for the push trigger configuration. + Branches *GitBranchFilterCriteria `locationName:"branches" type:"structure"` + + // The field that specifies to filter on file paths for the push trigger configuration. + FilePaths *GitFilePathFilterCriteria `locationName:"filePaths" type:"structure"` + // The field that contains the details for the Git tags trigger configuration. Tags *GitTagFilterCriteria `locationName:"tags" type:"structure"` } @@ -9137,6 +9466,16 @@ func (s GitPushFilter) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *GitPushFilter) Validate() error { invalidParams := request.ErrInvalidParams{Context: "GitPushFilter"} + if s.Branches != nil { + if err := s.Branches.Validate(); err != nil { + invalidParams.AddNested("Branches", err.(request.ErrInvalidParams)) + } + } + if s.FilePaths != nil { + if err := s.FilePaths.Validate(); err != nil { + invalidParams.AddNested("FilePaths", err.(request.ErrInvalidParams)) + } + } if s.Tags != nil { if err := s.Tags.Validate(); err != nil { invalidParams.AddNested("Tags", err.(request.ErrInvalidParams)) @@ -9149,6 +9488,18 @@ func (s *GitPushFilter) Validate() error { return nil } +// SetBranches sets the Branches field's value. +func (s *GitPushFilter) SetBranches(v *GitBranchFilterCriteria) *GitPushFilter { + s.Branches = v + return s +} + +// SetFilePaths sets the FilePaths field's value. +func (s *GitPushFilter) SetFilePaths(v *GitFilePathFilterCriteria) *GitPushFilter { + s.FilePaths = v + return s +} + // SetTags sets the Tags field's value. func (s *GitPushFilter) SetTags(v *GitTagFilterCriteria) *GitPushFilter { s.Tags = v @@ -10568,6 +10919,75 @@ func (s *LambdaExecutorConfiguration) SetLambdaFunctionArn(v string) *LambdaExec return s } +// The field that specifies to filter on the latest execution in the pipeline. +// +// Filtering on the latest execution is available for executions run on or after +// February 08, 2024. +type LatestInPipelineExecutionFilter struct { + _ struct{} `type:"structure"` + + // The execution ID for the latest execution in the pipeline. + // + // PipelineExecutionId is a required field + PipelineExecutionId *string `locationName:"pipelineExecutionId" type:"string" required:"true"` + + // The start time to filter on for the latest execution in the pipeline. Valid + // options: + // + // * All + // + // * Latest + // + // StartTimeRange is a required field + StartTimeRange *string `locationName:"startTimeRange" type:"string" required:"true" enum:"StartTimeRange"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s LatestInPipelineExecutionFilter) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s LatestInPipelineExecutionFilter) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *LatestInPipelineExecutionFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "LatestInPipelineExecutionFilter"} + if s.PipelineExecutionId == nil { + invalidParams.Add(request.NewErrParamRequired("PipelineExecutionId")) + } + if s.StartTimeRange == nil { + invalidParams.Add(request.NewErrParamRequired("StartTimeRange")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPipelineExecutionId sets the PipelineExecutionId field's value. +func (s *LatestInPipelineExecutionFilter) SetPipelineExecutionId(v string) *LatestInPipelineExecutionFilter { + s.PipelineExecutionId = &v + return s +} + +// SetStartTimeRange sets the StartTimeRange field's value. +func (s *LatestInPipelineExecutionFilter) SetStartTimeRange(v string) *LatestInPipelineExecutionFilter { + s.StartTimeRange = &v + return s +} + // The number of pipelines associated with the Amazon Web Services account has // exceeded the limit allowed for the account. type LimitExceededException struct { @@ -10691,6 +11111,11 @@ func (s *ListActionExecutionsInput) Validate() error { if s.PipelineName != nil && len(*s.PipelineName) < 1 { invalidParams.Add(request.NewErrParamMinLen("PipelineName", 1)) } + if s.Filter != nil { + if err := s.Filter.Validate(); err != nil { + invalidParams.AddNested("Filter", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -11693,6 +12118,10 @@ type PipelineDeclaration struct { // you must use artifactStores. ArtifactStores map[string]*ArtifactStore `locationName:"artifactStores" type:"map"` + // The method that the pipeline will use to handle multiple executions. The + // default mode is SUPERSEDED. + ExecutionMode *string `locationName:"executionMode" type:"string" enum:"ExecutionMode"` + // The name of the pipeline. // // Name is a required field @@ -11712,15 +12141,10 @@ type PipelineDeclaration struct { // when creating or updating a pipeline will result in the pipeline having the // V2 type of pipeline and the associated costs. // - // For information about pricing for CodePipeline, see Pricing (https://aws.amazon.com/codepipeline/pricing/). + // For information about pricing for CodePipeline, see Pricing (http://aws.amazon.com/codepipeline/pricing/). // // For information about which type of pipeline to choose, see What type of // pipeline is right for me? (https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types-planning.html). - // - // V2 type pipelines, along with triggers on Git tags and pipeline-level variables, - // are not currently supported for CloudFormation and CDK resources in CodePipeline. - // For more information about V2 type pipelines, see Pipeline types (https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types.html) - // in the CodePipeline User Guide. PipelineType *string `locationName:"pipelineType" type:"string" enum:"PipelineType"` // The Amazon Resource Name (ARN) for CodePipeline to use to either perform @@ -11852,6 +12276,12 @@ func (s *PipelineDeclaration) SetArtifactStores(v map[string]*ArtifactStore) *Pi return s } +// SetExecutionMode sets the ExecutionMode field's value. +func (s *PipelineDeclaration) SetExecutionMode(v string) *PipelineDeclaration { + s.ExecutionMode = &v + return s +} + // SetName sets the Name field's value. func (s *PipelineDeclaration) SetName(v string) *PipelineDeclaration { s.Name = &v @@ -11901,6 +12331,10 @@ type PipelineExecution struct { // A list of ArtifactRevision objects included in a pipeline execution. ArtifactRevisions []*ArtifactRevision `locationName:"artifactRevisions" type:"list"` + // The method that the pipeline will use to handle multiple executions. The + // default mode is SUPERSEDED. + ExecutionMode *string `locationName:"executionMode" type:"string" enum:"ExecutionMode"` + // The ID of the pipeline execution. PipelineExecutionId *string `locationName:"pipelineExecutionId" type:"string"` @@ -11969,6 +12403,12 @@ func (s *PipelineExecution) SetArtifactRevisions(v []*ArtifactRevision) *Pipelin return s } +// SetExecutionMode sets the ExecutionMode field's value. +func (s *PipelineExecution) SetExecutionMode(v string) *PipelineExecution { + s.ExecutionMode = &v + return s +} + // SetPipelineExecutionId sets the PipelineExecutionId field's value. func (s *PipelineExecution) SetPipelineExecutionId(v string) *PipelineExecution { s.PipelineExecutionId = &v @@ -12145,6 +12585,10 @@ func (s *PipelineExecutionNotStoppableException) RequestID() string { type PipelineExecutionSummary struct { _ struct{} `type:"structure"` + // The method that the pipeline will use to handle multiple executions. The + // default mode is SUPERSEDED. + ExecutionMode *string `locationName:"executionMode" type:"string" enum:"ExecutionMode"` + // The date and time of the last change to the pipeline execution, in timestamp // format. LastUpdateTime *time.Time `locationName:"lastUpdateTime" type:"timestamp"` @@ -12206,6 +12650,12 @@ func (s PipelineExecutionSummary) GoString() string { return s.String() } +// SetExecutionMode sets the ExecutionMode field's value. +func (s *PipelineExecutionSummary) SetExecutionMode(v string) *PipelineExecutionSummary { + s.ExecutionMode = &v + return s +} + // SetLastUpdateTime sets the LastUpdateTime field's value. func (s *PipelineExecutionSummary) SetLastUpdateTime(v time.Time) *PipelineExecutionSummary { s.LastUpdateTime = &v @@ -12448,6 +12898,10 @@ type PipelineSummary struct { // The date and time the pipeline was created, in timestamp format. Created *time.Time `locationName:"created" type:"timestamp"` + // The method that the pipeline will use to handle multiple executions. The + // default mode is SUPERSEDED. + ExecutionMode *string `locationName:"executionMode" type:"string" enum:"ExecutionMode"` + // The name of the pipeline. Name *string `locationName:"name" min:"1" type:"string"` @@ -12465,15 +12919,10 @@ type PipelineSummary struct { // when creating or updating a pipeline will result in the pipeline having the // V2 type of pipeline and the associated costs. // - // For information about pricing for CodePipeline, see Pricing (https://aws.amazon.com/codepipeline/pricing/). + // For information about pricing for CodePipeline, see Pricing (http://aws.amazon.com/codepipeline/pricing/). // // For information about which type of pipeline to choose, see What type of // pipeline is right for me? (https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types-planning.html). - // - // V2 type pipelines, along with triggers on Git tags and pipeline-level variables, - // are not currently supported for CloudFormation and CDK resources in CodePipeline. - // For more information about V2 type pipelines, see Pipeline types (https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types.html) - // in the CodePipeline User Guide. PipelineType *string `locationName:"pipelineType" type:"string" enum:"PipelineType"` // The date and time of the last update to the pipeline, in timestamp format. @@ -12507,6 +12956,12 @@ func (s *PipelineSummary) SetCreated(v time.Time) *PipelineSummary { return s } +// SetExecutionMode sets the ExecutionMode field's value. +func (s *PipelineSummary) SetExecutionMode(v string) *PipelineSummary { + s.ExecutionMode = &v + return s +} + // SetName sets the Name field's value. func (s *PipelineSummary) SetName(v string) *PipelineSummary { s.Name = &v @@ -12539,11 +12994,6 @@ func (s *PipelineSummary) SetVersion(v int64) *PipelineSummary { // // When a trigger configuration is specified, default change detection for repository // and branch commits is disabled. -// -// V2 type pipelines, along with triggers on Git tags and pipeline-level variables, -// are not currently supported for CloudFormation and CDK resources in CodePipeline. -// For more information about V2 type pipelines, see Pipeline types (https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types.html) -// in the CodePipeline User Guide. type PipelineTriggerDeclaration struct { _ struct{} `type:"structure"` @@ -12612,11 +13062,6 @@ func (s *PipelineTriggerDeclaration) SetProviderType(v string) *PipelineTriggerD } // A pipeline-level variable used for a pipeline execution. -// -// V2 type pipelines, along with triggers on Git tags and pipeline-level variables, -// are not currently supported for CloudFormation and CDK resources in CodePipeline. -// For more information about V2 type pipelines, see Pipeline types (https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types.html) -// in the CodePipeline User Guide. type PipelineVariable struct { _ struct{} `type:"structure"` @@ -12684,11 +13129,6 @@ func (s *PipelineVariable) SetValue(v string) *PipelineVariable { } // A variable declared at the pipeline level. -// -// V2 type pipelines, along with triggers on Git tags and pipeline-level variables, -// are not currently supported for CloudFormation and CDK resources in CodePipeline. -// For more information about V2 type pipelines, see Pipeline types (https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types.html) -// in the CodePipeline User Guide. type PipelineVariableDeclaration struct { _ struct{} `type:"structure"` @@ -14810,6 +15250,9 @@ type StageState struct { // Represents information about the run of a stage. InboundExecution *StageExecution `locationName:"inboundExecution" type:"structure"` + // The inbound executions for a stage. + InboundExecutions []*StageExecution `locationName:"inboundExecutions" type:"list"` + // The state of the inbound transition, which is either enabled or disabled. InboundTransitionState *TransitionState `locationName:"inboundTransitionState" type:"structure"` @@ -14851,6 +15294,12 @@ func (s *StageState) SetInboundExecution(v *StageExecution) *StageState { return s } +// SetInboundExecutions sets the InboundExecutions field's value. +func (s *StageState) SetInboundExecutions(v []*StageExecution) *StageState { + s.InboundExecutions = v + return s +} + // SetInboundTransitionState sets the InboundTransitionState field's value. func (s *StageState) SetInboundTransitionState(v *TransitionState) *StageState { s.InboundTransitionState = v @@ -16465,6 +16914,26 @@ func EncryptionKeyType_Values() []string { } } +const ( + // ExecutionModeQueued is a ExecutionMode enum value + ExecutionModeQueued = "QUEUED" + + // ExecutionModeSuperseded is a ExecutionMode enum value + ExecutionModeSuperseded = "SUPERSEDED" + + // ExecutionModeParallel is a ExecutionMode enum value + ExecutionModeParallel = "PARALLEL" +) + +// ExecutionMode_Values returns all elements of the ExecutionMode enum +func ExecutionMode_Values() []string { + return []string{ + ExecutionModeQueued, + ExecutionModeSuperseded, + ExecutionModeParallel, + } +} + const ( // ExecutorTypeJobWorker is a ExecutorType enum value ExecutorTypeJobWorker = "JobWorker" @@ -16513,6 +16982,26 @@ func FailureType_Values() []string { } } +const ( + // GitPullRequestEventTypeOpen is a GitPullRequestEventType enum value + GitPullRequestEventTypeOpen = "OPEN" + + // GitPullRequestEventTypeUpdated is a GitPullRequestEventType enum value + GitPullRequestEventTypeUpdated = "UPDATED" + + // GitPullRequestEventTypeClosed is a GitPullRequestEventType enum value + GitPullRequestEventTypeClosed = "CLOSED" +) + +// GitPullRequestEventType_Values returns all elements of the GitPullRequestEventType enum +func GitPullRequestEventType_Values() []string { + return []string{ + GitPullRequestEventTypeOpen, + GitPullRequestEventTypeUpdated, + GitPullRequestEventTypeClosed, + } +} + const ( // JobStatusCreated is a JobStatus enum value JobStatusCreated = "Created" @@ -16697,6 +17186,22 @@ func StageTransitionType_Values() []string { } } +const ( + // StartTimeRangeLatest is a StartTimeRange enum value + StartTimeRangeLatest = "Latest" + + // StartTimeRangeAll is a StartTimeRange enum value + StartTimeRangeAll = "All" +) + +// StartTimeRange_Values returns all elements of the StartTimeRange enum +func StartTimeRange_Values() []string { + return []string{ + StartTimeRangeLatest, + StartTimeRangeAll, + } +} + const ( // TriggerTypeCreatePipeline is a TriggerType enum value TriggerTypeCreatePipeline = "CreatePipeline" diff --git a/service/codepipeline/errors.go b/service/codepipeline/errors.go index a6830dbbcce..f635420845a 100644 --- a/service/codepipeline/errors.go +++ b/service/codepipeline/errors.go @@ -32,6 +32,12 @@ const ( // Unable to modify the tag due to a simultaneous update request. ErrCodeConcurrentModificationException = "ConcurrentModificationException" + // ErrCodeConcurrentPipelineExecutionsLimitExceededException for service response error code + // "ConcurrentPipelineExecutionsLimitExceededException". + // + // The pipeline has reached the limit for concurrent pipeline executions. + ErrCodeConcurrentPipelineExecutionsLimitExceededException = "ConcurrentPipelineExecutionsLimitExceededException" + // ErrCodeConflictException for service response error code // "ConflictException". // @@ -237,40 +243,41 @@ const ( ) var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ - "ActionNotFoundException": newErrorActionNotFoundException, - "ActionTypeNotFoundException": newErrorActionTypeNotFoundException, - "ApprovalAlreadyCompletedException": newErrorApprovalAlreadyCompletedException, - "ConcurrentModificationException": newErrorConcurrentModificationException, - "ConflictException": newErrorConflictException, - "DuplicatedStopRequestException": newErrorDuplicatedStopRequestException, - "InvalidActionDeclarationException": newErrorInvalidActionDeclarationException, - "InvalidApprovalTokenException": newErrorInvalidApprovalTokenException, - "InvalidArnException": newErrorInvalidArnException, - "InvalidBlockerDeclarationException": newErrorInvalidBlockerDeclarationException, - "InvalidClientTokenException": newErrorInvalidClientTokenException, - "InvalidJobException": newErrorInvalidJobException, - "InvalidJobStateException": newErrorInvalidJobStateException, - "InvalidNextTokenException": newErrorInvalidNextTokenException, - "InvalidNonceException": newErrorInvalidNonceException, - "InvalidStageDeclarationException": newErrorInvalidStageDeclarationException, - "InvalidStructureException": newErrorInvalidStructureException, - "InvalidTagsException": newErrorInvalidTagsException, - "InvalidWebhookAuthenticationParametersException": newErrorInvalidWebhookAuthenticationParametersException, - "InvalidWebhookFilterPatternException": newErrorInvalidWebhookFilterPatternException, - "JobNotFoundException": newErrorJobNotFoundException, - "LimitExceededException": newErrorLimitExceededException, - "NotLatestPipelineExecutionException": newErrorNotLatestPipelineExecutionException, - "OutputVariablesSizeExceededException": newErrorOutputVariablesSizeExceededException, - "PipelineExecutionNotFoundException": newErrorPipelineExecutionNotFoundException, - "PipelineExecutionNotStoppableException": newErrorPipelineExecutionNotStoppableException, - "PipelineNameInUseException": newErrorPipelineNameInUseException, - "PipelineNotFoundException": newErrorPipelineNotFoundException, - "PipelineVersionNotFoundException": newErrorPipelineVersionNotFoundException, - "RequestFailedException": newErrorRequestFailedException, - "ResourceNotFoundException": newErrorResourceNotFoundException, - "StageNotFoundException": newErrorStageNotFoundException, - "StageNotRetryableException": newErrorStageNotRetryableException, - "TooManyTagsException": newErrorTooManyTagsException, - "ValidationException": newErrorValidationException, - "WebhookNotFoundException": newErrorWebhookNotFoundException, + "ActionNotFoundException": newErrorActionNotFoundException, + "ActionTypeNotFoundException": newErrorActionTypeNotFoundException, + "ApprovalAlreadyCompletedException": newErrorApprovalAlreadyCompletedException, + "ConcurrentModificationException": newErrorConcurrentModificationException, + "ConcurrentPipelineExecutionsLimitExceededException": newErrorConcurrentPipelineExecutionsLimitExceededException, + "ConflictException": newErrorConflictException, + "DuplicatedStopRequestException": newErrorDuplicatedStopRequestException, + "InvalidActionDeclarationException": newErrorInvalidActionDeclarationException, + "InvalidApprovalTokenException": newErrorInvalidApprovalTokenException, + "InvalidArnException": newErrorInvalidArnException, + "InvalidBlockerDeclarationException": newErrorInvalidBlockerDeclarationException, + "InvalidClientTokenException": newErrorInvalidClientTokenException, + "InvalidJobException": newErrorInvalidJobException, + "InvalidJobStateException": newErrorInvalidJobStateException, + "InvalidNextTokenException": newErrorInvalidNextTokenException, + "InvalidNonceException": newErrorInvalidNonceException, + "InvalidStageDeclarationException": newErrorInvalidStageDeclarationException, + "InvalidStructureException": newErrorInvalidStructureException, + "InvalidTagsException": newErrorInvalidTagsException, + "InvalidWebhookAuthenticationParametersException": newErrorInvalidWebhookAuthenticationParametersException, + "InvalidWebhookFilterPatternException": newErrorInvalidWebhookFilterPatternException, + "JobNotFoundException": newErrorJobNotFoundException, + "LimitExceededException": newErrorLimitExceededException, + "NotLatestPipelineExecutionException": newErrorNotLatestPipelineExecutionException, + "OutputVariablesSizeExceededException": newErrorOutputVariablesSizeExceededException, + "PipelineExecutionNotFoundException": newErrorPipelineExecutionNotFoundException, + "PipelineExecutionNotStoppableException": newErrorPipelineExecutionNotStoppableException, + "PipelineNameInUseException": newErrorPipelineNameInUseException, + "PipelineNotFoundException": newErrorPipelineNotFoundException, + "PipelineVersionNotFoundException": newErrorPipelineVersionNotFoundException, + "RequestFailedException": newErrorRequestFailedException, + "ResourceNotFoundException": newErrorResourceNotFoundException, + "StageNotFoundException": newErrorStageNotFoundException, + "StageNotRetryableException": newErrorStageNotRetryableException, + "TooManyTagsException": newErrorTooManyTagsException, + "ValidationException": newErrorValidationException, + "WebhookNotFoundException": newErrorWebhookNotFoundException, } diff --git a/service/quicksight/api.go b/service/quicksight/api.go index fa7c83f2551..165597b500e 100644 --- a/service/quicksight/api.go +++ b/service/quicksight/api.go @@ -25947,6 +25947,9 @@ type BarChartConfiguration struct { // The field wells of the visual. FieldWells *BarChartFieldWells `type:"structure"` + // The general visual interactions setup for a visual. + Interactions *VisualInteractionOptions `type:"structure"` + // The legend display setup of the visual. Legend *LegendOptions `type:"structure"` @@ -26124,6 +26127,12 @@ func (s *BarChartConfiguration) SetFieldWells(v *BarChartFieldWells) *BarChartCo return s } +// SetInteractions sets the Interactions field's value. +func (s *BarChartConfiguration) SetInteractions(v *VisualInteractionOptions) *BarChartConfiguration { + s.Interactions = v + return s +} + // SetLegend sets the Legend field's value. func (s *BarChartConfiguration) SetLegend(v *LegendOptions) *BarChartConfiguration { s.Legend = v @@ -26934,6 +26943,9 @@ type BoxPlotChartConfiguration struct { // The field wells of the visual. FieldWells *BoxPlotFieldWells `type:"structure"` + // The general visual interactions setup for a visual. + Interactions *VisualInteractionOptions `type:"structure"` + // The options for the legend setup of a visual. Legend *LegendOptions `type:"structure"` @@ -27050,6 +27062,12 @@ func (s *BoxPlotChartConfiguration) SetFieldWells(v *BoxPlotFieldWells) *BoxPlot return s } +// SetInteractions sets the Interactions field's value. +func (s *BoxPlotChartConfiguration) SetInteractions(v *VisualInteractionOptions) *BoxPlotChartConfiguration { + s.Interactions = v + return s +} + // SetLegend sets the Legend field's value. func (s *BoxPlotChartConfiguration) SetLegend(v *LegendOptions) *BoxPlotChartConfiguration { s.Legend = v @@ -29612,6 +29630,9 @@ type ComboChartConfiguration struct { // The field wells of the visual. FieldWells *ComboChartFieldWells `type:"structure"` + // The general visual interactions setup for a visual. + Interactions *VisualInteractionOptions `type:"structure"` + // The legend display setup of the visual. Legend *LegendOptions `type:"structure"` @@ -29781,6 +29802,12 @@ func (s *ComboChartConfiguration) SetFieldWells(v *ComboChartFieldWells) *ComboC return s } +// SetInteractions sets the Interactions field's value. +func (s *ComboChartConfiguration) SetInteractions(v *VisualInteractionOptions) *ComboChartConfiguration { + s.Interactions = v + return s +} + // SetLegend sets the Legend field's value. func (s *ComboChartConfiguration) SetLegend(v *LegendOptions) *ComboChartConfiguration { s.Legend = v @@ -31095,6 +31122,40 @@ func (s *ConflictException) RequestID() string { return s.RespMetadata.RequestID } +// The context menu options for a visual's interactions. +type ContextMenuOption struct { + _ struct{} `type:"structure"` + + // The availability status of the context menu options. If the value of this + // property is set to ENABLED, dashboard readers can interact with the context + // menu. + AvailabilityStatus *string `type:"string" enum:"DashboardBehavior"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ContextMenuOption) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ContextMenuOption) GoString() string { + return s.String() +} + +// SetAvailabilityStatus sets the AvailabilityStatus field's value. +func (s *ContextMenuOption) SetAvailabilityStatus(v string) *ContextMenuOption { + s.AvailabilityStatus = &v + return s +} + // The contribution analysis visual display for a line, pie, or bar chart. type ContributionAnalysisDefault struct { _ struct{} `type:"structure"` @@ -36577,6 +36638,9 @@ type CustomContentConfiguration struct { // The sizing options for the size of the custom content visual. This structure // is required when the ContentType of the visual is 'IMAGE'. ImageScaling *string `type:"string" enum:"CustomContentImageScalingConfiguration"` + + // The general visual interactions setup for a visual. + Interactions *VisualInteractionOptions `type:"structure"` } // String returns the string representation. @@ -36628,6 +36692,12 @@ func (s *CustomContentConfiguration) SetImageScaling(v string) *CustomContentCon return s } +// SetInteractions sets the Interactions field's value. +func (s *CustomContentConfiguration) SetInteractions(v *VisualInteractionOptions) *CustomContentConfiguration { + s.Interactions = v + return s +} + // A visual that contains custom content. // // For more information, see Using custom visual content (https://docs.aws.amazon.com/quicksight/latest/user/custom-visual-content.html) @@ -54291,6 +54361,9 @@ type FilledMapConfiguration struct { // The field wells of the visual. FieldWells *FilledMapFieldWells `type:"structure"` + // The general visual interactions setup for a visual. + Interactions *VisualInteractionOptions `type:"structure"` + // The legend display setup of the visual. Legend *LegendOptions `type:"structure"` @@ -54361,6 +54434,12 @@ func (s *FilledMapConfiguration) SetFieldWells(v *FilledMapFieldWells) *FilledMa return s } +// SetInteractions sets the Interactions field's value. +func (s *FilledMapConfiguration) SetInteractions(v *VisualInteractionOptions) *FilledMapConfiguration { + s.Interactions = v + return s +} + // SetLegend sets the Legend field's value. func (s *FilledMapConfiguration) SetLegend(v *LegendOptions) *FilledMapConfiguration { s.Legend = v @@ -57736,6 +57815,9 @@ type FunnelChartConfiguration struct { // The field well configuration of a FunnelChartVisual. FieldWells *FunnelChartFieldWells `type:"structure"` + // The general visual interactions setup for a visual. + Interactions *VisualInteractionOptions `type:"structure"` + // The sort configuration of a FunnelChartVisual. SortConfiguration *FunnelChartSortConfiguration `type:"structure"` @@ -57825,6 +57907,12 @@ func (s *FunnelChartConfiguration) SetFieldWells(v *FunnelChartFieldWells) *Funn return s } +// SetInteractions sets the Interactions field's value. +func (s *FunnelChartConfiguration) SetInteractions(v *VisualInteractionOptions) *FunnelChartConfiguration { + s.Interactions = v + return s +} + // SetSortConfiguration sets the SortConfiguration field's value. func (s *FunnelChartConfiguration) SetSortConfiguration(v *FunnelChartSortConfiguration) *FunnelChartConfiguration { s.SortConfiguration = v @@ -58357,6 +58445,9 @@ type GaugeChartConfiguration struct { // The options that determine the presentation of the GaugeChartVisual. GaugeChartOptions *GaugeChartOptions `type:"structure"` + // The general visual interactions setup for a visual. + Interactions *VisualInteractionOptions `type:"structure"` + // The tooltip configuration of a GaugeChartVisual. TooltipOptions *TooltipOptions `type:"structure"` @@ -58435,6 +58526,12 @@ func (s *GaugeChartConfiguration) SetGaugeChartOptions(v *GaugeChartOptions) *Ga return s } +// SetInteractions sets the Interactions field's value. +func (s *GaugeChartConfiguration) SetInteractions(v *VisualInteractionOptions) *GaugeChartConfiguration { + s.Interactions = v + return s +} + // SetTooltipOptions sets the TooltipOptions field's value. func (s *GaugeChartConfiguration) SetTooltipOptions(v *TooltipOptions) *GaugeChartConfiguration { s.TooltipOptions = v @@ -59623,6 +59720,9 @@ type GeospatialMapConfiguration struct { // The field wells of the visual. FieldWells *GeospatialMapFieldWells `type:"structure"` + // The general visual interactions setup for a visual. + Interactions *VisualInteractionOptions `type:"structure"` + // The legend display setup of the visual. Legend *LegendOptions `type:"structure"` @@ -59701,6 +59801,12 @@ func (s *GeospatialMapConfiguration) SetFieldWells(v *GeospatialMapFieldWells) * return s } +// SetInteractions sets the Interactions field's value. +func (s *GeospatialMapConfiguration) SetInteractions(v *VisualInteractionOptions) *GeospatialMapConfiguration { + s.Interactions = v + return s +} + // SetLegend sets the Legend field's value. func (s *GeospatialMapConfiguration) SetLegend(v *LegendOptions) *GeospatialMapConfiguration { s.Legend = v @@ -61452,6 +61558,9 @@ type HeatMapConfiguration struct { // The field wells of the visual. FieldWells *HeatMapFieldWells `type:"structure"` + // The general visual interactions setup for a visual. + Interactions *VisualInteractionOptions `type:"structure"` + // The legend display setup of the visual. Legend *LegendOptions `type:"structure"` @@ -61552,6 +61661,12 @@ func (s *HeatMapConfiguration) SetFieldWells(v *HeatMapFieldWells) *HeatMapConfi return s } +// SetInteractions sets the Interactions field's value. +func (s *HeatMapConfiguration) SetInteractions(v *VisualInteractionOptions) *HeatMapConfiguration { + s.Interactions = v + return s +} + // SetLegend sets the Legend field's value. func (s *HeatMapConfiguration) SetLegend(v *LegendOptions) *HeatMapConfiguration { s.Legend = v @@ -61975,6 +62090,9 @@ type HistogramConfiguration struct { // The field well configuration of a histogram. FieldWells *HistogramFieldWells `type:"structure"` + // The general visual interactions setup for a visual. + Interactions *VisualInteractionOptions `type:"structure"` + // The tooltip configuration of a histogram. Tooltip *TooltipOptions `type:"structure"` @@ -62062,6 +62180,12 @@ func (s *HistogramConfiguration) SetFieldWells(v *HistogramFieldWells) *Histogra return s } +// SetInteractions sets the Interactions field's value. +func (s *HistogramConfiguration) SetInteractions(v *VisualInteractionOptions) *HistogramConfiguration { + s.Interactions = v + return s +} + // SetTooltip sets the Tooltip field's value. func (s *HistogramConfiguration) SetTooltip(v *TooltipOptions) *HistogramConfiguration { s.Tooltip = v @@ -62737,6 +62861,9 @@ type InsightConfiguration struct { // The custom narrative of the insight visual. CustomNarrative *CustomNarrativeOptions `type:"structure"` + + // The general visual interactions setup for a visual. + Interactions *VisualInteractionOptions `type:"structure"` } // String returns the string representation. @@ -62794,6 +62921,12 @@ func (s *InsightConfiguration) SetCustomNarrative(v *CustomNarrativeOptions) *In return s } +// SetInteractions sets the Interactions field's value. +func (s *InsightConfiguration) SetInteractions(v *VisualInteractionOptions) *InsightConfiguration { + s.Interactions = v + return s +} + // An insight visual. // // For more information, see Working with insights (https://docs.aws.amazon.com/quicksight/latest/user/computational-insights.html) @@ -64132,6 +64265,9 @@ type KPIConfiguration struct { // The field well configuration of a KPI visual. FieldWells *KPIFieldWells `type:"structure"` + // The general visual interactions setup for a visual. + Interactions *VisualInteractionOptions `type:"structure"` + // The options that determine the presentation of a KPI visual. KPIOptions *KPIOptions `type:"structure"` @@ -64188,6 +64324,12 @@ func (s *KPIConfiguration) SetFieldWells(v *KPIFieldWells) *KPIConfiguration { return s } +// SetInteractions sets the Interactions field's value. +func (s *KPIConfiguration) SetInteractions(v *VisualInteractionOptions) *KPIConfiguration { + s.Interactions = v + return s +} + // SetKPIOptions sets the KPIOptions field's value. func (s *KPIConfiguration) SetKPIOptions(v *KPIOptions) *KPIConfiguration { s.KPIOptions = v @@ -65371,6 +65513,9 @@ type LineChartConfiguration struct { // The forecast configuration of a line chart. ForecastConfigurations []*ForecastConfiguration `type:"list"` + // The general visual interactions setup for a visual. + Interactions *VisualInteractionOptions `type:"structure"` + // The legend configuration of a line chart. Legend *LegendOptions `type:"structure"` @@ -65568,6 +65713,12 @@ func (s *LineChartConfiguration) SetForecastConfigurations(v []*ForecastConfigur return s } +// SetInteractions sets the Interactions field's value. +func (s *LineChartConfiguration) SetInteractions(v *VisualInteractionOptions) *LineChartConfiguration { + s.Interactions = v + return s +} + // SetLegend sets the Legend field's value. func (s *LineChartConfiguration) SetLegend(v *LegendOptions) *LineChartConfiguration { s.Legend = v @@ -75380,6 +75531,9 @@ type PieChartConfiguration struct { // The field wells of the visual. FieldWells *PieChartFieldWells `type:"structure"` + // The general visual interactions setup for a visual. + Interactions *VisualInteractionOptions `type:"structure"` + // The legend display setup of the visual. Legend *LegendOptions `type:"structure"` @@ -75510,6 +75664,12 @@ func (s *PieChartConfiguration) SetFieldWells(v *PieChartFieldWells) *PieChartCo return s } +// SetInteractions sets the Interactions field's value. +func (s *PieChartConfiguration) SetInteractions(v *VisualInteractionOptions) *PieChartConfiguration { + s.Interactions = v + return s +} + // SetLegend sets the Legend field's value. func (s *PieChartConfiguration) SetLegend(v *LegendOptions) *PieChartConfiguration { s.Legend = v @@ -76215,6 +76375,9 @@ type PivotTableConfiguration struct { // The field wells of the visual. FieldWells *PivotTableFieldWells `type:"structure"` + // The general visual interactions setup for a visual. + Interactions *VisualInteractionOptions `type:"structure"` + // The paginated report options for a pivot table visual. PaginatedReportOptions *PivotTablePaginatedReportOptions `type:"structure"` @@ -76293,6 +76456,12 @@ func (s *PivotTableConfiguration) SetFieldWells(v *PivotTableFieldWells) *PivotT return s } +// SetInteractions sets the Interactions field's value. +func (s *PivotTableConfiguration) SetInteractions(v *VisualInteractionOptions) *PivotTableConfiguration { + s.Interactions = v + return s +} + // SetPaginatedReportOptions sets the PaginatedReportOptions field's value. func (s *PivotTableConfiguration) SetPaginatedReportOptions(v *PivotTablePaginatedReportOptions) *PivotTableConfiguration { s.PaginatedReportOptions = v @@ -78264,6 +78433,9 @@ type RadarChartConfiguration struct { // The field well configuration of a RadarChartVisual. FieldWells *RadarChartFieldWells `type:"structure"` + // The general visual interactions setup for a visual. + Interactions *VisualInteractionOptions `type:"structure"` + // The legend display setup of the visual. Legend *LegendOptions `type:"structure"` @@ -78396,6 +78568,12 @@ func (s *RadarChartConfiguration) SetFieldWells(v *RadarChartFieldWells) *RadarC return s } +// SetInteractions sets the Interactions field's value. +func (s *RadarChartConfiguration) SetInteractions(v *VisualInteractionOptions) *RadarChartConfiguration { + s.Interactions = v + return s +} + // SetLegend sets the Legend field's value. func (s *RadarChartConfiguration) SetLegend(v *LegendOptions) *RadarChartConfiguration { s.Legend = v @@ -82419,6 +82597,9 @@ type SankeyDiagramChartConfiguration struct { // The field well configuration of a sankey diagram. FieldWells *SankeyDiagramFieldWells `type:"structure"` + // The general visual interactions setup for a visual. + Interactions *VisualInteractionOptions `type:"structure"` + // The sort configuration of a sankey diagram. SortConfiguration *SankeyDiagramSortConfiguration `type:"structure"` } @@ -82478,6 +82659,12 @@ func (s *SankeyDiagramChartConfiguration) SetFieldWells(v *SankeyDiagramFieldWel return s } +// SetInteractions sets the Interactions field's value. +func (s *SankeyDiagramChartConfiguration) SetInteractions(v *VisualInteractionOptions) *SankeyDiagramChartConfiguration { + s.Interactions = v + return s +} + // SetSortConfiguration sets the SortConfiguration field's value. func (s *SankeyDiagramChartConfiguration) SetSortConfiguration(v *SankeyDiagramSortConfiguration) *SankeyDiagramChartConfiguration { s.SortConfiguration = v @@ -82860,6 +83047,9 @@ type ScatterPlotConfiguration struct { // The field wells of the visual. FieldWells *ScatterPlotFieldWells `type:"structure"` + // The general visual interactions setup for a visual. + Interactions *VisualInteractionOptions `type:"structure"` + // The legend display setup of the visual. Legend *LegendOptions `type:"structure"` @@ -82959,6 +83149,12 @@ func (s *ScatterPlotConfiguration) SetFieldWells(v *ScatterPlotFieldWells) *Scat return s } +// SetInteractions sets the Interactions field's value. +func (s *ScatterPlotConfiguration) SetInteractions(v *VisualInteractionOptions) *ScatterPlotConfiguration { + s.Interactions = v + return s +} + // SetLegend sets the Legend field's value. func (s *ScatterPlotConfiguration) SetLegend(v *LegendOptions) *ScatterPlotConfiguration { s.Legend = v @@ -89588,6 +89784,9 @@ type TableConfiguration struct { // The field wells of the visual. FieldWells *TableFieldWells `type:"structure"` + // The general visual interactions setup for a visual. + Interactions *VisualInteractionOptions `type:"structure"` + // The paginated report options for a table visual. PaginatedReportOptions *TablePaginatedReportOptions `type:"structure"` @@ -89679,6 +89878,12 @@ func (s *TableConfiguration) SetFieldWells(v *TableFieldWells) *TableConfigurati return s } +// SetInteractions sets the Interactions field's value. +func (s *TableConfiguration) SetInteractions(v *VisualInteractionOptions) *TableConfiguration { + s.Interactions = v + return s +} + // SetPaginatedReportOptions sets the PaginatedReportOptions field's value. func (s *TableConfiguration) SetPaginatedReportOptions(v *TablePaginatedReportOptions) *TableConfiguration { s.PaginatedReportOptions = v @@ -95964,6 +96169,9 @@ type TreeMapConfiguration struct { // in a tree map. GroupLabelOptions *ChartAxisLabelOptions `type:"structure"` + // The general visual interactions setup for a visual. + Interactions *VisualInteractionOptions `type:"structure"` + // The legend display setup of the visual. Legend *LegendOptions `type:"structure"` @@ -96076,6 +96284,12 @@ func (s *TreeMapConfiguration) SetGroupLabelOptions(v *ChartAxisLabelOptions) *T return s } +// SetInteractions sets the Interactions field's value. +func (s *TreeMapConfiguration) SetInteractions(v *VisualInteractionOptions) *TreeMapConfiguration { + s.Interactions = v + return s +} + // SetLegend sets the Legend field's value. func (s *TreeMapConfiguration) SetLegend(v *LegendOptions) *TreeMapConfiguration { s.Legend = v @@ -99719,10 +99933,12 @@ type UpdateFolderPermissionsInput struct { // FolderId is a required field FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"` - // The permissions that you want to grant on a resource. + // The permissions that you want to grant on a resource. Namespace ARNs are + // not supported Principal values for folder permissions. GrantPermissions []*ResourcePermission `min:"1" type:"list"` - // The permissions that you want to revoke from a resource. + // The permissions that you want to revoke from a resource. Namespace ARNs are + // not supported Principal values for folder permissions. RevokePermissions []*ResourcePermission `min:"1" type:"list"` } @@ -104244,6 +104460,47 @@ func (s *VisualCustomActionOperation) SetURLOperation(v *CustomActionURLOperatio return s } +// The general visual interactions setup for visual publish options +type VisualInteractionOptions struct { + _ struct{} `type:"structure"` + + // The context menu options for a visual. + ContextMenuOption *ContextMenuOption `type:"structure"` + + // The on-visual menu options for a visual. + VisualMenuOption *VisualMenuOption `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VisualInteractionOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VisualInteractionOptions) GoString() string { + return s.String() +} + +// SetContextMenuOption sets the ContextMenuOption field's value. +func (s *VisualInteractionOptions) SetContextMenuOption(v *ContextMenuOption) *VisualInteractionOptions { + s.ContextMenuOption = v + return s +} + +// SetVisualMenuOption sets the VisualMenuOption field's value. +func (s *VisualInteractionOptions) SetVisualMenuOption(v *VisualMenuOption) *VisualInteractionOptions { + s.VisualMenuOption = v + return s +} + // The menu options for a visual. type VisualMenuOption struct { _ struct{} `type:"structure"` @@ -104586,6 +104843,38 @@ func (s *WaterfallChartAggregatedFieldWells) SetValues(v []*MeasureField) *Water return s } +// The color configuration of a waterfall visual. +type WaterfallChartColorConfiguration struct { + _ struct{} `type:"structure"` + + // The color configuration for individual groups within a waterfall visual. + GroupColorConfiguration *WaterfallChartGroupColorConfiguration `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s WaterfallChartColorConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s WaterfallChartColorConfiguration) GoString() string { + return s.String() +} + +// SetGroupColorConfiguration sets the GroupColorConfiguration field's value. +func (s *WaterfallChartColorConfiguration) SetGroupColorConfiguration(v *WaterfallChartGroupColorConfiguration) *WaterfallChartColorConfiguration { + s.GroupColorConfiguration = v + return s +} + // The configuration for a waterfall visual. type WaterfallChartConfiguration struct { _ struct{} `type:"structure"` @@ -104596,12 +104885,18 @@ type WaterfallChartConfiguration struct { // The options that determine the presentation of the category axis label. CategoryAxisLabelOptions *ChartAxisLabelOptions `type:"structure"` + // The color configuration of a waterfall visual. + ColorConfiguration *WaterfallChartColorConfiguration `type:"structure"` + // The data label configuration of a waterfall visual. DataLabels *DataLabelOptions `type:"structure"` // The field well configuration of a waterfall visual. FieldWells *WaterfallChartFieldWells `type:"structure"` + // The general visual interactions setup for a visual. + Interactions *VisualInteractionOptions `type:"structure"` + // The legend configuration of a waterfall visual. Legend *LegendOptions `type:"structure"` @@ -104691,6 +104986,12 @@ func (s *WaterfallChartConfiguration) SetCategoryAxisLabelOptions(v *ChartAxisLa return s } +// SetColorConfiguration sets the ColorConfiguration field's value. +func (s *WaterfallChartConfiguration) SetColorConfiguration(v *WaterfallChartColorConfiguration) *WaterfallChartConfiguration { + s.ColorConfiguration = v + return s +} + // SetDataLabels sets the DataLabels field's value. func (s *WaterfallChartConfiguration) SetDataLabels(v *DataLabelOptions) *WaterfallChartConfiguration { s.DataLabels = v @@ -104703,6 +105004,12 @@ func (s *WaterfallChartConfiguration) SetFieldWells(v *WaterfallChartFieldWells) return s } +// SetInteractions sets the Interactions field's value. +func (s *WaterfallChartConfiguration) SetInteractions(v *VisualInteractionOptions) *WaterfallChartConfiguration { + s.Interactions = v + return s +} + // SetLegend sets the Legend field's value. func (s *WaterfallChartConfiguration) SetLegend(v *LegendOptions) *WaterfallChartConfiguration { s.Legend = v @@ -104786,6 +105093,56 @@ func (s *WaterfallChartFieldWells) SetWaterfallChartAggregatedFieldWells(v *Wate return s } +// The color configuration for individual groups within a waterfall visual. +type WaterfallChartGroupColorConfiguration struct { + _ struct{} `type:"structure"` + + // Defines the color for the negative bars of a waterfall chart. + NegativeBarColor *string `type:"string"` + + // Defines the color for the positive bars of a waterfall chart. + PositiveBarColor *string `type:"string"` + + // Defines the color for the total bars of a waterfall chart. + TotalBarColor *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s WaterfallChartGroupColorConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s WaterfallChartGroupColorConfiguration) GoString() string { + return s.String() +} + +// SetNegativeBarColor sets the NegativeBarColor field's value. +func (s *WaterfallChartGroupColorConfiguration) SetNegativeBarColor(v string) *WaterfallChartGroupColorConfiguration { + s.NegativeBarColor = &v + return s +} + +// SetPositiveBarColor sets the PositiveBarColor field's value. +func (s *WaterfallChartGroupColorConfiguration) SetPositiveBarColor(v string) *WaterfallChartGroupColorConfiguration { + s.PositiveBarColor = &v + return s +} + +// SetTotalBarColor sets the TotalBarColor field's value. +func (s *WaterfallChartGroupColorConfiguration) SetTotalBarColor(v string) *WaterfallChartGroupColorConfiguration { + s.TotalBarColor = &v + return s +} + // The options that determine the presentation of a waterfall visual. type WaterfallChartOptions struct { _ struct{} `type:"structure"` @@ -105233,6 +105590,9 @@ type WordCloudChartConfiguration struct { // The field wells of the visual. FieldWells *WordCloudFieldWells `type:"structure"` + // The general visual interactions setup for a visual. + Interactions *VisualInteractionOptions `type:"structure"` + // The sort configuration of a word cloud visual. SortConfiguration *WordCloudSortConfiguration `type:"structure"` @@ -105300,6 +105660,12 @@ func (s *WordCloudChartConfiguration) SetFieldWells(v *WordCloudFieldWells) *Wor return s } +// SetInteractions sets the Interactions field's value. +func (s *WordCloudChartConfiguration) SetInteractions(v *VisualInteractionOptions) *WordCloudChartConfiguration { + s.Interactions = v + return s +} + // SetSortConfiguration sets the SortConfiguration field's value. func (s *WordCloudChartConfiguration) SetSortConfiguration(v *WordCloudSortConfiguration) *WordCloudChartConfiguration { s.SortConfiguration = v diff --git a/service/workspaces/api.go b/service/workspaces/api.go index e1011306d83..459abc8c38e 100644 --- a/service/workspaces/api.go +++ b/service/workspaces/api.go @@ -5824,9 +5824,7 @@ func (c *WorkSpaces) RebootWorkspacesRequest(input *RebootWorkspacesInput) (req // // Reboots the specified WorkSpaces. // -// You cannot reboot a WorkSpace unless its state is AVAILABLE, UNHEALTHY, or -// REBOOTING. Reboot a WorkSpace in the REBOOTING state only if your WorkSpace -// has been stuck in the REBOOTING state for over 20 minutes. +// You cannot reboot a WorkSpace unless its state is AVAILABLE or UNHEALTHY. // // This operation is asynchronous and returns before the WorkSpaces have rebooted. // @@ -12739,6 +12737,9 @@ type DescribeWorkspacesInput struct { // returns is not immediately available. If you immediately call DescribeWorkspaces // with this identifier, no information is returned. WorkspaceIds []*string `min:"1" type:"list"` + + // The name of the user-decoupled WorkSpace. + WorkspaceName *string `type:"string"` } // String returns the string representation. @@ -12820,6 +12821,12 @@ func (s *DescribeWorkspacesInput) SetWorkspaceIds(v []*string) *DescribeWorkspac return s } +// SetWorkspaceName sets the WorkspaceName field's value. +func (s *DescribeWorkspacesInput) SetWorkspaceName(v string) *DescribeWorkspacesInput { + s.WorkspaceName = &v + return s +} + type DescribeWorkspacesOutput struct { _ struct{} `type:"structure"` @@ -18462,45 +18469,6 @@ type Workspace struct { // The operational state of the WorkSpace. // - // * PENDING – The WorkSpace is in a waiting state (for example, the WorkSpace - // is being created). - // - // * AVAILABLE – The WorkSpace is running and has passed the health checks. - // - // * IMPAIRED – Refer to UNHEALTHY state. - // - // * UNHEALTHY – The WorkSpace is not responding to health checks. - // - // * REBOOTING – The WorkSpace is being rebooted (restarted). - // - // * STARTING – The WorkSpace is starting up and health checks are being - // run. - // - // * REBUILDING – The WorkSpace is being rebuilt. - // - // * RESTORING – The WorkSpace is being restored. - // - // * MAINTENANCE – The WorkSpace is undergoing scheduled maintenance by - // Amazon Web Services. - // - // * ADMIN_MAINTENANCE – The WorkSpace is undergoing maintenance by the - // WorkSpaces administrator. - // - // * TERMINATING – The WorkSpace is being deleted. - // - // * TERMINATED – The WorkSpace has been deleted. - // - // * SUSPENDED – The WorkSpace has been suspended for image creation. - // - // * UPDATING – The WorkSpace is undergoing an update. - // - // * STOPPING – The WorkSpace is being stopped. - // - // * STOPPED – The WorkSpace has been stopped. - // - // * ERROR – The WorkSpace is an error state (for example, an error occurred - // during startup). - // // After a WorkSpace is terminated, the TERMINATED state is returned only briefly // before the WorkSpace directory metadata is cleaned up, so this state is rarely // returned. To confirm that a WorkSpace is terminated, check for the WorkSpace @@ -18525,6 +18493,9 @@ type Workspace struct { // The identifier of the WorkSpace. WorkspaceId *string `type:"string"` + // The name of the user-decoupled WorkSpace. + WorkspaceName *string `type:"string"` + // The properties of the WorkSpace. WorkspaceProperties *WorkspaceProperties `type:"structure"` } @@ -18649,6 +18620,12 @@ func (s *Workspace) SetWorkspaceId(v string) *Workspace { return s } +// SetWorkspaceName sets the WorkspaceName field's value. +func (s *Workspace) SetWorkspaceName(v string) *Workspace { + s.WorkspaceName = &v + return s +} + // SetWorkspaceProperties sets the WorkspaceProperties field's value. func (s *Workspace) SetWorkspaceProperties(v *WorkspaceProperties) *Workspace { s.WorkspaceProperties = v @@ -19520,6 +19497,8 @@ type WorkspaceRequest struct { // The user name of the user for the WorkSpace. This user name must exist in // the Directory Service directory for the WorkSpace. // + // The reserved keyword, [UNDEFINED], is used when creating user-decoupled WorkSpaces. + // // UserName is a required field UserName *string `min:"1" type:"string" required:"true"` @@ -19530,6 +19509,9 @@ type WorkspaceRequest struct { // Amazon WorkSpaces does not support asymmetric KMS keys. VolumeEncryptionKey *string `type:"string"` + // The name of the user-decoupled WorkSpace. + WorkspaceName *string `type:"string"` + // The WorkSpace properties. WorkspaceProperties *WorkspaceProperties `type:"structure"` } @@ -19629,6 +19611,12 @@ func (s *WorkspaceRequest) SetVolumeEncryptionKey(v string) *WorkspaceRequest { return s } +// SetWorkspaceName sets the WorkspaceName field's value. +func (s *WorkspaceRequest) SetWorkspaceName(v string) *WorkspaceRequest { + s.WorkspaceName = &v + return s +} + // SetWorkspaceProperties sets the WorkspaceProperties field's value. func (s *WorkspaceRequest) SetWorkspaceProperties(v *WorkspaceProperties) *WorkspaceRequest { s.WorkspaceProperties = v