From 4133cb1ae7dfad159f22eb992fac88b0fb4940f8 Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Mon, 28 Nov 2022 21:04:01 -0800 Subject: [PATCH] Release v1.44.147 (2022-11-29) (#4639) Release v1.44.147 (2022-11-29) === ### Service Client Updates * `service/arc-zonal-shift`: Adds new service * `service/compute-optimizer`: Updates service API and documentation * `service/config`: Updates service API, documentation, and paginators * `service/ec2`: Updates service API, documentation, and paginators * Introduces ENA Express, which uses AWS SRD and dynamic routing to increase throughput and minimize latency, adds support for trust relationships between Reachability Analyzer and AWS Organizations to enable cross-account analysis, and adds support for Infrastructure Performance metric subscriptions. * `service/eks`: Updates service API and documentation * `service/fsx`: Updates service API and documentation * `service/glue`: Updates service API and documentation * This release allows the creation of Custom Visual Transforms (Dynamic Transforms) to be created via AWS Glue CLI/SDK. * `service/inspector2`: Updates service API and documentation * `service/lambda`: Updates service API, documentation, and waiters * Adds support for Lambda SnapStart, which helps improve the startup performance of functions. Customers can now manage SnapStart based functions via CreateFunction and UpdateFunctionConfiguration APIs * `service/license-manager-user-subscriptions`: Updates service API and documentation * `service/macie2`: Updates service API, documentation, and paginators * `service/quicksight`: Updates service API and documentation * This release adds new Describe APIs and updates Create and Update APIs to support the data model for Dashboards, Analyses, and Templates. * `service/s3control`: Updates service API and documentation * Added two new APIs to support Amazon S3 Multi-Region Access Point failover controls: GetMultiRegionAccessPointRoutes and SubmitMultiRegionAccessPointRoutes. The failover control APIs are supported in the following Regions: us-east-1, us-west-2, eu-west-1, ap-southeast-2, and ap-northeast-1. * `service/securityhub`: Updates service API and documentation --- CHANGELOG.md | 24 + aws/endpoints/defaults.go | 31 + aws/version.go | 2 +- .../arc-zonal-shift/2022-10-30/api-2.json | 491 + .../arc-zonal-shift/2022-10-30/docs-2.json | 275 + .../2022-10-30/endpoint-rule-set-1.json | 309 + .../2022-10-30/endpoint-tests-1.json | 295 + .../2022-10-30/examples-1.json | 5 + .../2022-10-30/paginators-1.json | 16 + .../compute-optimizer/2019-11-01/api-2.json | 33 +- .../compute-optimizer/2019-11-01/docs-2.json | 21 +- .../2019-11-01/endpoint-rule-set-1.json | 315 + .../2019-11-01/endpoint-tests-1.json | 1395 + models/apis/config/2014-11-12/api-2.json | 242 +- models/apis/config/2014-11-12/docs-2.json | 187 +- .../config/2014-11-12/endpoint-tests-1.json | 592 +- .../apis/config/2014-11-12/paginators-1.json | 6 + models/apis/ec2/2016-11-15/api-2.json | 362 +- models/apis/ec2/2016-11-15/docs-2.json | 286 +- .../apis/ec2/2016-11-15/endpoint-tests-1.json | 588 +- models/apis/ec2/2016-11-15/paginators-1.json | 12 + models/apis/eks/2017-11-01/api-2.json | 35 +- models/apis/eks/2017-11-01/docs-2.json | 39 +- .../eks/2017-11-01/endpoint-rule-set-1.json | 2 +- .../apis/eks/2017-11-01/endpoint-tests-1.json | 534 +- models/apis/fsx/2018-03-01/api-2.json | 64 +- models/apis/fsx/2018-03-01/docs-2.json | 57 +- .../fsx/2018-03-01/endpoint-rule-set-1.json | 448 + .../apis/fsx/2018-03-01/endpoint-tests-1.json | 1491 + models/apis/glue/2017-03-31/api-2.json | 54 +- models/apis/glue/2017-03-31/docs-2.json | 42 +- .../glue/2017-03-31/endpoint-rule-set-1.json | 2 +- .../glue/2017-03-31/endpoint-tests-1.json | 246 +- models/apis/inspector2/2020-06-08/api-2.json | 478 +- models/apis/inspector2/2020-06-08/docs-2.json | 221 +- .../2020-06-08/endpoint-rule-set-1.json | 315 + .../2020-06-08/endpoint-tests-1.json | 1239 + models/apis/lambda/2015-03-31/api-2.json | 95 +- models/apis/lambda/2015-03-31/docs-2.json | 281 +- .../2015-03-31/endpoint-rule-set-1.json | 2 +- .../lambda/2015-03-31/endpoint-tests-1.json | 556 +- models/apis/lambda/2015-03-31/waiters-2.json | 26 + .../2018-05-10/api-2.json | 84 +- .../2018-05-10/docs-2.json | 64 +- .../2018-05-10/endpoint-rule-set-1.json | 309 + .../2018-05-10/endpoint-tests-1.json | 1135 + models/apis/macie2/2020-01-01/api-2.json | 1207 +- models/apis/macie2/2020-01-01/docs-2.json | 404 +- .../2020-01-01/endpoint-rule-set-1.json | 315 + .../macie2/2020-01-01/endpoint-tests-1.json | 1135 + .../apis/macie2/2020-01-01/paginators-1.json | 33 + models/apis/quicksight/2018-04-01/api-2.json | 13746 ++- models/apis/quicksight/2018-04-01/docs-2.json | 7916 +- .../2018-04-01/endpoint-tests-1.json | 310 +- models/apis/s3control/2018-08-20/api-2.json | 124 +- models/apis/s3control/2018-08-20/docs-2.json | 53 + .../2018-08-20/endpoint-rule-set-1.json | 38 +- models/apis/securityhub/2018-10-26/api-2.json | 10 +- .../apis/securityhub/2018-10-26/docs-2.json | 10 +- .../2018-10-26/endpoint-rule-set-1.json | 2 +- .../2018-10-26/endpoint-tests-1.json | 52 + models/endpoints/endpoints.json | 13 + service/arczonalshift/api.go | 2492 + .../arczonalshiftiface/interface.go | 94 + service/arczonalshift/doc.go | 55 + service/arczonalshift/errors.go | 56 + service/arczonalshift/service.go | 106 + service/computeoptimizer/api.go | 149 +- service/configservice/api.go | 1410 +- .../configserviceiface/interface.go | 15 + service/configservice/errors.go | 8 + service/ec2/api.go | 1869 +- service/ec2/ec2iface/interface.go | 26 + service/eks/api.go | 154 +- service/fsx/api.go | 366 +- service/fsx/examples_test.go | 2 + service/glue/api.go | 296 +- service/inspector2/api.go | 1273 +- service/lambda/api.go | 1379 +- service/lambda/errors.go | 99 +- service/lambda/lambdaiface/interface.go | 3 + service/lambda/waiters.go | 56 + .../licensemanagerusersubscriptions/api.go | 395 + .../interface.go | 4 + service/macie2/api.go | 5031 +- service/macie2/doc.go | 14 +- service/macie2/macie2iface/interface.go | 70 + service/quicksight/api.go | 68983 ++++++++++++---- .../quicksight/quicksightiface/interface.go | 12 + service/s3control/api.go | 542 +- service/s3control/s3controliface/interface.go | 8 + service/securityhub/api.go | 55 +- 92 files changed, 98855 insertions(+), 24841 deletions(-) create mode 100644 models/apis/arc-zonal-shift/2022-10-30/api-2.json create mode 100644 models/apis/arc-zonal-shift/2022-10-30/docs-2.json create mode 100644 models/apis/arc-zonal-shift/2022-10-30/endpoint-rule-set-1.json create mode 100644 models/apis/arc-zonal-shift/2022-10-30/endpoint-tests-1.json create mode 100644 models/apis/arc-zonal-shift/2022-10-30/examples-1.json create mode 100644 models/apis/arc-zonal-shift/2022-10-30/paginators-1.json create mode 100644 models/apis/compute-optimizer/2019-11-01/endpoint-rule-set-1.json create mode 100644 models/apis/compute-optimizer/2019-11-01/endpoint-tests-1.json create mode 100644 models/apis/fsx/2018-03-01/endpoint-rule-set-1.json create mode 100644 models/apis/fsx/2018-03-01/endpoint-tests-1.json create mode 100644 models/apis/inspector2/2020-06-08/endpoint-rule-set-1.json create mode 100644 models/apis/inspector2/2020-06-08/endpoint-tests-1.json create mode 100644 models/apis/license-manager-user-subscriptions/2018-05-10/endpoint-rule-set-1.json create mode 100644 models/apis/license-manager-user-subscriptions/2018-05-10/endpoint-tests-1.json create mode 100644 models/apis/macie2/2020-01-01/endpoint-rule-set-1.json create mode 100644 models/apis/macie2/2020-01-01/endpoint-tests-1.json create mode 100644 service/arczonalshift/api.go create mode 100644 service/arczonalshift/arczonalshiftiface/interface.go create mode 100644 service/arczonalshift/doc.go create mode 100644 service/arczonalshift/errors.go create mode 100644 service/arczonalshift/service.go diff --git a/CHANGELOG.md b/CHANGELOG.md index 297468d99f1..3e77ec918c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,27 @@ +Release v1.44.147 (2022-11-29) +=== + +### Service Client Updates +* `service/arc-zonal-shift`: Adds new service +* `service/compute-optimizer`: Updates service API and documentation +* `service/config`: Updates service API, documentation, and paginators +* `service/ec2`: Updates service API, documentation, and paginators + * Introduces ENA Express, which uses AWS SRD and dynamic routing to increase throughput and minimize latency, adds support for trust relationships between Reachability Analyzer and AWS Organizations to enable cross-account analysis, and adds support for Infrastructure Performance metric subscriptions. +* `service/eks`: Updates service API and documentation +* `service/fsx`: Updates service API and documentation +* `service/glue`: Updates service API and documentation + * This release allows the creation of Custom Visual Transforms (Dynamic Transforms) to be created via AWS Glue CLI/SDK. +* `service/inspector2`: Updates service API and documentation +* `service/lambda`: Updates service API, documentation, and waiters + * Adds support for Lambda SnapStart, which helps improve the startup performance of functions. Customers can now manage SnapStart based functions via CreateFunction and UpdateFunctionConfiguration APIs +* `service/license-manager-user-subscriptions`: Updates service API and documentation +* `service/macie2`: Updates service API, documentation, and paginators +* `service/quicksight`: Updates service API and documentation + * This release adds new Describe APIs and updates Create and Update APIs to support the data model for Dashboards, Analyses, and Templates. +* `service/s3control`: Updates service API and documentation + * Added two new APIs to support Amazon S3 Multi-Region Access Point failover controls: GetMultiRegionAccessPointRoutes and SubmitMultiRegionAccessPointRoutes. The failover control APIs are supported in the following Regions: us-east-1, us-west-2, eu-west-1, ap-southeast-2, and ap-northeast-1. +* `service/securityhub`: Updates service API and documentation + Release v1.44.146 (2022-11-28) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index a1417674eb5..2fefde19086 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -3123,6 +3123,37 @@ var awsPartition = partition{ }: endpoint{}, }, }, + "arc-zonal-shift": service{ + Endpoints: serviceEndpoints{ + endpointKey{ + Region: "ap-northeast-1", + }: endpoint{}, + endpointKey{ + Region: "ap-southeast-2", + }: endpoint{}, + endpointKey{ + Region: "ap-southeast-3", + }: endpoint{}, + endpointKey{ + Region: "eu-central-1", + }: endpoint{}, + endpointKey{ + Region: "eu-north-1", + }: endpoint{}, + endpointKey{ + Region: "eu-west-1", + }: endpoint{}, + endpointKey{ + Region: "us-east-1", + }: endpoint{}, + endpointKey{ + Region: "us-east-2", + }: endpoint{}, + endpointKey{ + Region: "us-west-2", + }: endpoint{}, + }, + }, "athena": service{ Endpoints: serviceEndpoints{ endpointKey{ diff --git a/aws/version.go b/aws/version.go index 244216b0940..2417675c264 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.44.146" +const SDKVersion = "1.44.147" diff --git a/models/apis/arc-zonal-shift/2022-10-30/api-2.json b/models/apis/arc-zonal-shift/2022-10-30/api-2.json new file mode 100644 index 00000000000..7fa8f2cda32 --- /dev/null +++ b/models/apis/arc-zonal-shift/2022-10-30/api-2.json @@ -0,0 +1,491 @@ +{ + "version":"2.0", + "metadata":{ + "apiVersion":"2022-10-30", + "endpointPrefix":"arc-zonal-shift", + "jsonVersion":"1.1", + "protocol":"rest-json", + "serviceFullName":"AWS ARC - Zonal Shift", + "serviceId":"ARC Zonal Shift", + "signatureVersion":"v4", + "signingName":"arc-zonal-shift", + "uid":"arc-zonal-shift-2022-10-30" + }, + "operations":{ + "CancelZonalShift":{ + "name":"CancelZonalShift", + "http":{ + "method":"DELETE", + "requestUri":"/zonalshifts/{zonalShiftId}", + "responseCode":200 + }, + "input":{"shape":"CancelZonalShiftRequest"}, + "output":{"shape":"ZonalShift"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ConflictException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"} + ] + }, + "GetManagedResource":{ + "name":"GetManagedResource", + "http":{ + "method":"GET", + "requestUri":"/managedresources/{resourceIdentifier}", + "responseCode":200 + }, + "input":{"shape":"GetManagedResourceRequest"}, + "output":{"shape":"GetManagedResourceResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"} + ] + }, + "ListManagedResources":{ + "name":"ListManagedResources", + "http":{ + "method":"GET", + "requestUri":"/managedresources", + "responseCode":200 + }, + "input":{"shape":"ListManagedResourcesRequest"}, + "output":{"shape":"ListManagedResourcesResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"} + ] + }, + "ListZonalShifts":{ + "name":"ListZonalShifts", + "http":{ + "method":"GET", + "requestUri":"/zonalshifts", + "responseCode":200 + }, + "input":{"shape":"ListZonalShiftsRequest"}, + "output":{"shape":"ListZonalShiftsResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"} + ] + }, + "StartZonalShift":{ + "name":"StartZonalShift", + "http":{ + "method":"POST", + "requestUri":"/zonalshifts", + "responseCode":201 + }, + "input":{"shape":"StartZonalShiftRequest"}, + "output":{"shape":"ZonalShift"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ConflictException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"} + ] + }, + "UpdateZonalShift":{ + "name":"UpdateZonalShift", + "http":{ + "method":"PATCH", + "requestUri":"/zonalshifts/{zonalShiftId}", + "responseCode":200 + }, + "input":{"shape":"UpdateZonalShiftRequest"}, + "output":{"shape":"ZonalShift"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ConflictException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"} + ] + } + }, + "shapes":{ + "AccessDeniedException":{ + "type":"structure", + "members":{ + "message":{"shape":"String"} + }, + "error":{ + "httpStatusCode":403, + "senderFault":true + }, + "exception":true + }, + "AppliedStatus":{ + "type":"string", + "enum":[ + "APPLIED", + "NOT_APPLIED" + ] + }, + "AppliedWeights":{ + "type":"map", + "key":{"shape":"AvailabilityZone"}, + "value":{"shape":"Weight"} + }, + "AvailabilityZone":{ + "type":"string", + "max":20, + "min":0 + }, + "AvailabilityZones":{ + "type":"list", + "member":{"shape":"AvailabilityZone"} + }, + "CancelZonalShiftRequest":{ + "type":"structure", + "required":["zonalShiftId"], + "members":{ + "zonalShiftId":{ + "shape":"ZonalShiftId", + "location":"uri", + "locationName":"zonalShiftId" + } + } + }, + "ConflictException":{ + "type":"structure", + "required":[ + "message", + "reason" + ], + "members":{ + "message":{"shape":"String"}, + "reason":{"shape":"ConflictExceptionReason"}, + "zonalShiftId":{"shape":"String"} + }, + "error":{ + "httpStatusCode":409, + "senderFault":true + }, + "exception":true + }, + "ConflictExceptionReason":{ + "type":"string", + "enum":[ + "ZonalShiftAlreadyExists", + "ZonalShiftStatusNotActive", + "SimultaneousZonalShiftsConflict" + ] + }, + "ExpiresIn":{ + "type":"string", + "max":5, + "min":2, + "pattern":"^([1-9][0-9]*)(m|h)$" + }, + "ExpiryTime":{"type":"timestamp"}, + "GetManagedResourceRequest":{ + "type":"structure", + "required":["resourceIdentifier"], + "members":{ + "resourceIdentifier":{ + "shape":"ResourceIdentifier", + "location":"uri", + "locationName":"resourceIdentifier" + } + } + }, + "GetManagedResourceResponse":{ + "type":"structure", + "required":[ + "appliedWeights", + "zonalShifts" + ], + "members":{ + "appliedWeights":{"shape":"AppliedWeights"}, + "arn":{"shape":"ResourceArn"}, + "name":{"shape":"ResourceName"}, + "zonalShifts":{"shape":"ZonalShiftsInResource"} + } + }, + "InternalServerException":{ + "type":"structure", + "members":{ + "message":{"shape":"String"} + }, + "error":{"httpStatusCode":500}, + "exception":true, + "fault":true + }, + "ListManagedResourcesRequest":{ + "type":"structure", + "members":{ + "maxResults":{ + "shape":"MaxResults", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"String", + "location":"querystring", + "locationName":"nextToken" + } + } + }, + "ListManagedResourcesResponse":{ + "type":"structure", + "required":["items"], + "members":{ + "items":{"shape":"ManagedResourceSummaries"}, + "nextToken":{"shape":"String"} + } + }, + "ListZonalShiftsRequest":{ + "type":"structure", + "members":{ + "maxResults":{ + "shape":"MaxResults", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"String", + "location":"querystring", + "locationName":"nextToken" + }, + "status":{ + "shape":"ZonalShiftStatus", + "location":"querystring", + "locationName":"status" + } + } + }, + "ListZonalShiftsResponse":{ + "type":"structure", + "members":{ + "items":{"shape":"ZonalShiftSummaries"}, + "nextToken":{"shape":"String"} + } + }, + "ManagedResourceSummaries":{ + "type":"list", + "member":{"shape":"ManagedResourceSummary"} + }, + "ManagedResourceSummary":{ + "type":"structure", + "required":["availabilityZones"], + "members":{ + "arn":{"shape":"ResourceArn"}, + "availabilityZones":{"shape":"AvailabilityZones"}, + "name":{"shape":"ResourceName"} + } + }, + "MaxResults":{ + "type":"integer", + "box":true, + "max":100, + "min":1 + }, + "ResourceArn":{ + "type":"string", + "max":1024, + "min":8, + "pattern":"^arn:.*$" + }, + "ResourceIdentifier":{ + "type":"string", + "max":1024, + "min":8 + }, + "ResourceName":{ + "type":"string", + "max":256, + "min":1 + }, + "ResourceNotFoundException":{ + "type":"structure", + "required":["message"], + "members":{ + "message":{"shape":"String"} + }, + "error":{ + "httpStatusCode":404, + "senderFault":true + }, + "exception":true + }, + "StartTime":{"type":"timestamp"}, + "StartZonalShiftRequest":{ + "type":"structure", + "required":[ + "awayFrom", + "comment", + "expiresIn", + "resourceIdentifier" + ], + "members":{ + "awayFrom":{"shape":"AvailabilityZone"}, + "comment":{"shape":"ZonalShiftComment"}, + "expiresIn":{"shape":"ExpiresIn"}, + "resourceIdentifier":{"shape":"ResourceIdentifier"} + } + }, + "String":{"type":"string"}, + "ThrottlingException":{ + "type":"structure", + "members":{ + "message":{"shape":"String"} + }, + "error":{ + "httpStatusCode":429, + "senderFault":true + }, + "exception":true + }, + "UpdateZonalShiftRequest":{ + "type":"structure", + "required":["zonalShiftId"], + "members":{ + "comment":{"shape":"ZonalShiftComment"}, + "expiresIn":{"shape":"ExpiresIn"}, + "zonalShiftId":{ + "shape":"ZonalShiftId", + "location":"uri", + "locationName":"zonalShiftId" + } + } + }, + "ValidationException":{ + "type":"structure", + "required":[ + "message", + "reason" + ], + "members":{ + "message":{"shape":"String"}, + "reason":{"shape":"ValidationExceptionReason"} + }, + "error":{ + "httpStatusCode":400, + "senderFault":true + }, + "exception":true + }, + "ValidationExceptionReason":{ + "type":"string", + "enum":[ + "InvalidExpiresIn", + "InvalidStatus", + "MissingValue", + "InvalidToken", + "InvalidResourceIdentifier", + "InvalidAz", + "UnsupportedAz" + ] + }, + "Weight":{ + "type":"float", + "box":true, + "max":1.0, + "min":0.0 + }, + "ZonalShift":{ + "type":"structure", + "required":[ + "awayFrom", + "comment", + "expiryTime", + "resourceIdentifier", + "startTime", + "status", + "zonalShiftId" + ], + "members":{ + "awayFrom":{"shape":"AvailabilityZone"}, + "comment":{"shape":"ZonalShiftComment"}, + "expiryTime":{"shape":"ExpiryTime"}, + "resourceIdentifier":{"shape":"ResourceIdentifier"}, + "startTime":{"shape":"StartTime"}, + "status":{"shape":"ZonalShiftStatus"}, + "zonalShiftId":{"shape":"ZonalShiftId"} + } + }, + "ZonalShiftComment":{ + "type":"string", + "max":128, + "min":0 + }, + "ZonalShiftId":{ + "type":"string", + "max":36, + "min":6, + "pattern":"^[A-Za-z0-9-]+$" + }, + "ZonalShiftInResource":{ + "type":"structure", + "required":[ + "appliedStatus", + "awayFrom", + "comment", + "expiryTime", + "resourceIdentifier", + "startTime", + "zonalShiftId" + ], + "members":{ + "appliedStatus":{"shape":"AppliedStatus"}, + "awayFrom":{"shape":"AvailabilityZone"}, + "comment":{"shape":"ZonalShiftComment"}, + "expiryTime":{"shape":"ExpiryTime"}, + "resourceIdentifier":{"shape":"ResourceIdentifier"}, + "startTime":{"shape":"StartTime"}, + "zonalShiftId":{"shape":"ZonalShiftId"} + } + }, + "ZonalShiftStatus":{ + "type":"string", + "enum":[ + "ACTIVE", + "EXPIRED", + "CANCELED" + ] + }, + "ZonalShiftSummaries":{ + "type":"list", + "member":{"shape":"ZonalShiftSummary"} + }, + "ZonalShiftSummary":{ + "type":"structure", + "required":[ + "awayFrom", + "comment", + "expiryTime", + "resourceIdentifier", + "startTime", + "status", + "zonalShiftId" + ], + "members":{ + "awayFrom":{"shape":"AvailabilityZone"}, + "comment":{"shape":"ZonalShiftComment"}, + "expiryTime":{"shape":"ExpiryTime"}, + "resourceIdentifier":{"shape":"ResourceIdentifier"}, + "startTime":{"shape":"StartTime"}, + "status":{"shape":"ZonalShiftStatus"}, + "zonalShiftId":{"shape":"ZonalShiftId"} + } + }, + "ZonalShiftsInResource":{ + "type":"list", + "member":{"shape":"ZonalShiftInResource"} + } + } +} diff --git a/models/apis/arc-zonal-shift/2022-10-30/docs-2.json b/models/apis/arc-zonal-shift/2022-10-30/docs-2.json new file mode 100644 index 00000000000..55a98faccce --- /dev/null +++ b/models/apis/arc-zonal-shift/2022-10-30/docs-2.json @@ -0,0 +1,275 @@ +{ + "version": "2.0", + "service": "

This is the API Reference Guide for the zonal shift feature of Amazon Route 53 Application Recovery Controller. This guide is for developers who need detailed information about zonal shift API actions, data types, and errors.

Zonal shift is in preview release for Amazon Route 53 Application Recovery Controller and is subject to change.

Zonal shift in Route 53 ARC enables you to move traffic for a load balancer resource away from an Availability Zone. Starting a zonal shift helps your application recover immediately, for example, from a developer's bad code deployment or from an AWS infrastructure failure in a single Availability Zone, reducing the impact and time lost from an issue in one zone.

Supported AWS resources are automatically registered with Route 53 ARC. Resources that are registered for zonal shifts in Route 53 ARC are managed resources in Route 53 ARC. You can start a zonal shift for any managed resource in your account in a Region. At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

Zonal shifts are temporary. You must specify an expiration when you start a zonal shift, of up to three days initially. If you want to still keep traffic away from an Availability Zone, you can update the zonal shift and set a new expiration. You can also cancel a zonal shift, before it expires, for example, if you're ready to restore traffic to the Availability Zone.

For more information about using zonal shift, see the Amazon Route 53 Application Recovery Controller Developer Guide.

", + "operations": { + "CancelZonalShift": "

Cancel a zonal shift in Amazon Route 53 Application Recovery Controller that you've started for a resource in your AWS account in an AWS Region.

", + "GetManagedResource": "

Get information about a resource that's been registered for zonal shifts with Amazon Route 53 Application Recovery Controller in this AWS Region. Resources that are registered for zonal shifts are managed resources in Route 53 ARC.

At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

", + "ListManagedResources": "

Lists all the resources in your AWS account in this AWS Region that are managed for zonal shifts in Amazon Route 53 Application Recovery Controller, and information about them. The information includes their Amazon Resource Names (ARNs), the Availability Zones the resources are deployed in, and the resource name.

", + "ListZonalShifts": "

Lists all the active zonal shifts in Amazon Route 53 Application Recovery Controller in your AWS account in this AWS Region.

", + "StartZonalShift": "

You start a zonal shift to temporarily move load balancer traffic away from an Availability Zone in a AWS Region, to help your application recover immediately, for example, from a developer's bad code deployment or from an AWS infrastructure failure in a single Availability Zone. You can start a zonal shift in Route 53 ARC only for managed resources in your account in an AWS Region. Resources are automatically registered with Route 53 ARC by AWS services.

At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

When you start a zonal shift, traffic for the resource is no longer routed to the Availability Zone. The zonal shift is created immediately in Route 53 ARC. However, it can take a short time, typically up to a few minutes, for existing, in-progress connections in the Availability Zone to complete.

For more information, see Zonal shift in the Amazon Route 53 Application Recovery Controller Developer Guide.

", + "UpdateZonalShift": "

Update an active zonal shift in Amazon Route 53 Application Recovery Controller in your AWS account. You can update a zonal shift to set a new expiration, or edit or replace the comment for the zonal shift.

" + }, + "shapes": { + "AccessDeniedException": { + "base": "

You do not have sufficient access to perform this action.

", + "refs": { + } + }, + "AppliedStatus": { + "base": null, + "refs": { + "ZonalShiftInResource$appliedStatus": "

An appliedStatus for a zonal shift for a resource can have one of two values: APPLIED or NOT_APPLIED.

" + } + }, + "AppliedWeights": { + "base": null, + "refs": { + "GetManagedResourceResponse$appliedWeights": "

A collection of key-value pairs that indicate whether resources are active in Availability Zones or not. The key name is the Availability Zone where the resource is deployed. The value is 1 or 0.

" + } + }, + "AvailabilityZone": { + "base": null, + "refs": { + "AppliedWeights$key": null, + "AvailabilityZones$member": null, + "StartZonalShiftRequest$awayFrom": "

The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the AWS Region.

", + "ZonalShift$awayFrom": "

The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the AWS Region.

", + "ZonalShiftInResource$awayFrom": "

The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the AWS Region.

", + "ZonalShiftSummary$awayFrom": "

The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the AWS Region.

" + } + }, + "AvailabilityZones": { + "base": null, + "refs": { + "ManagedResourceSummary$availabilityZones": "

The Availability Zones that a resource is deployed in.

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

The request could not be processed because of conflict in the current state of the resource.

", + "refs": { + } + }, + "ConflictExceptionReason": { + "base": null, + "refs": { + "ConflictException$reason": "

The reason for the conflict exception.

" + } + }, + "ExpiresIn": { + "base": null, + "refs": { + "StartZonalShiftRequest$expiresIn": "

The length of time that you want a zonal shift to be active, which Route 53 ARC converts to an expiry time (expiration time). Zonal shifts are temporary. You can set a zonal shift to be active initially for up to three days (72 hours).

If you want to still keep traffic away from an Availability Zone, you can update the zonal shift and set a new expiration. You can also cancel a zonal shift, before it expires, for example, if you're ready to restore traffic to the Availability Zone.

To set a length of time for a zonal shift to be active, specify a whole number, and then one of the following, with no space:

 <ul> <li> <p> <b>A lowercase letter m:</b> To specify that the value is in minutes.</p> </li> <li> <p> <b>A lowercase letter h:</b> To specify that the value is in hours.</p> </li> </ul> <p>For example: <code>20h</code> means the zonal shift expires in 20 hours. <code>120m</code> means the zonal shift expires in 120 minutes (2 hours).</p> 
", + "UpdateZonalShiftRequest$expiresIn": "

The length of time that you want a zonal shift to be active, which Route 53 ARC converts to an expiry time (expiration time). Zonal shifts are temporary. You can set a zonal shift to be active initially for up to three days (72 hours).

If you want to still keep traffic away from an Availability Zone, you can update the zonal shift and set a new expiration. You can also cancel a zonal shift, before it expires, for example, if you're ready to restore traffic to the Availability Zone.

To set a length of time for a zonal shift to be active, specify a whole number, and then one of the following, with no space:

For example: 20h means the zonal shift expires in 20 hours. 120m means the zonal shift expires in 120 minutes (2 hours).

" + } + }, + "ExpiryTime": { + "base": null, + "refs": { + "ZonalShift$expiryTime": "

The expiry time (expiration time) for the zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time.

When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift, for example, if you're ready to restore traffic to the Availability Zone. Or you can update the zonal shift to specify another length of time to expire in.

", + "ZonalShiftInResource$expiryTime": "

The expiry time (expiration time) for the zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time.

When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift, for example, if you're ready to restore traffic to the Availability Zone. Or you can update the zonal shift to specify another length of time to expire in.

", + "ZonalShiftSummary$expiryTime": "

The expiry time (expiration time) for the zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time.

When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift, for example, if you're ready to restore traffic to the Availability Zone. Or you can update the zonal shift to specify another length of time to expire in.

" + } + }, + "GetManagedResourceRequest": { + "base": null, + "refs": { + } + }, + "GetManagedResourceResponse": { + "base": null, + "refs": { + } + }, + "InternalServerException": { + "base": "

There was an internal server error.

", + "refs": { + } + }, + "ListManagedResourcesRequest": { + "base": null, + "refs": { + } + }, + "ListManagedResourcesResponse": { + "base": null, + "refs": { + } + }, + "ListZonalShiftsRequest": { + "base": null, + "refs": { + } + }, + "ListZonalShiftsResponse": { + "base": null, + "refs": { + } + }, + "ManagedResourceSummaries": { + "base": null, + "refs": { + "ListManagedResourcesResponse$items": "

The items in the response list.

" + } + }, + "ManagedResourceSummary": { + "base": "

A complex structure for a managed resource in an account.

A managed resource is a Network Load Balancer or Application Load Balancer that has been registered with Route 53 ARC by Elastic Load Balancing. You can start a zonal shift in Route 53 ARC for a managed resource to temporarily move traffic for the resource away from an Availability Zone in an AWS Region.

At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

", + "refs": { + "ManagedResourceSummaries$member": null + } + }, + "MaxResults": { + "base": null, + "refs": { + "ListManagedResourcesRequest$maxResults": "

The number of objects that you want to return with this call.

", + "ListZonalShiftsRequest$maxResults": "

The number of objects that you want to return with this call.

" + } + }, + "ResourceArn": { + "base": null, + "refs": { + "GetManagedResourceResponse$arn": "

The Amazon Resource Name (ARN) for the resource.

", + "ManagedResourceSummary$arn": "

The Amazon Resource Name (ARN) for the managed resource.

" + } + }, + "ResourceIdentifier": { + "base": null, + "refs": { + "GetManagedResourceRequest$resourceIdentifier": "

The identifier for the resource to include in a zonal shift. The identifier is the Amazon Resource Name (ARN) for the resource.

At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

", + "StartZonalShiftRequest$resourceIdentifier": "

The identifier for the resource to include in a zonal shift. The identifier is the Amazon Resource Name (ARN) for the resource.

At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

", + "ZonalShift$resourceIdentifier": "

The identifier for the resource to include in a zonal shift. The identifier is the Amazon Resource Name (ARN) for the resource.

At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

", + "ZonalShiftInResource$resourceIdentifier": "

The identifier for the resource to include in a zonal shift. The identifier is the Amazon Resource Name (ARN) for the resource.

At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

", + "ZonalShiftSummary$resourceIdentifier": "

The identifier for the resource to include in a zonal shift. The identifier is the Amazon Resource Name (ARN) for the resource.

At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

" + } + }, + "ResourceName": { + "base": null, + "refs": { + "GetManagedResourceResponse$name": "

The name of the resource.

", + "ManagedResourceSummary$name": "

The name of the managed resource.

" + } + }, + "ResourceNotFoundException": { + "base": "

The input requested a resource that was not found.

", + "refs": { + } + }, + "StartTime": { + "base": null, + "refs": { + "ZonalShift$startTime": "

The time (UTC) when the zonal shift is started.

", + "ZonalShiftInResource$startTime": "

The time (UTC) when the zonal shift is started.

", + "ZonalShiftSummary$startTime": "

The time (UTC) when the zonal shift is started.

" + } + }, + "StartZonalShiftRequest": { + "base": null, + "refs": { + } + }, + "String": { + "base": null, + "refs": { + "AccessDeniedException$message": null, + "ConflictException$message": null, + "ConflictException$zonalShiftId": "

The zonal shift ID associated with the conflict exception.

", + "InternalServerException$message": null, + "ListManagedResourcesRequest$nextToken": "

Specifies that you want to receive the next page of results. Valid only if you received a NextToken response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken response to request the next page of results.

", + "ListManagedResourcesResponse$nextToken": "

Specifies that you want to receive the next page of results. Valid only if you received a NextToken response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken response to request the next page of results.

", + "ListZonalShiftsRequest$nextToken": "

Specifies that you want to receive the next page of results. Valid only if you received a NextToken response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken response to request the next page of results.

", + "ListZonalShiftsResponse$nextToken": "

Specifies that you want to receive the next page of results. Valid only if you received a NextToken response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken response to request the next page of results.

", + "ResourceNotFoundException$message": null, + "ThrottlingException$message": null, + "ValidationException$message": null + } + }, + "ThrottlingException": { + "base": "

The request was denied due to request throttling.

", + "refs": { + } + }, + "UpdateZonalShiftRequest": { + "base": null, + "refs": { + } + }, + "ValidationException": { + "base": "

The input fails to satisfy the constraints specified by an AWS service.

", + "refs": { + } + }, + "ValidationExceptionReason": { + "base": null, + "refs": { + "ValidationException$reason": "

The reason for the validation exception.

" + } + }, + "Weight": { + "base": null, + "refs": { + "AppliedWeights$value": null + } + }, + "ZonalShift": { + "base": null, + "refs": { + } + }, + "ZonalShiftComment": { + "base": null, + "refs": { + "StartZonalShiftRequest$comment": "

A comment that you enter about the zonal shift. Only the latest comment is retained; no comment history is maintained. A new comment overwrites any existing comment string.

", + "UpdateZonalShiftRequest$comment": "

A comment that you enter about the zonal shift. Only the latest comment is retained; no comment history is maintained. A new comment overwrites any existing comment string.

", + "ZonalShift$comment": "

A comment that you enter about the zonal shift. Only the latest comment is retained; no comment history is maintained. A new comment overwrites any existing comment string.

", + "ZonalShiftInResource$comment": "

A comment that you enter about the zonal shift. Only the latest comment is retained; no comment history is maintained. That is, a new comment overwrites any existing comment string.

", + "ZonalShiftSummary$comment": "

A comment that you enter about the zonal shift. Only the latest comment is retained; no comment history is maintained. That is, a new comment overwrites any existing comment string.

" + } + }, + "ZonalShiftId": { + "base": null, + "refs": { + "CancelZonalShiftRequest$zonalShiftId": "

The internally-generated identifier of a zonal shift.

", + "UpdateZonalShiftRequest$zonalShiftId": "

The identifier of a zonal shift.

", + "ZonalShift$zonalShiftId": "

The identifier of a zonal shift.

", + "ZonalShiftInResource$zonalShiftId": "

The identifier of a zonal shift.

", + "ZonalShiftSummary$zonalShiftId": "

The identifier of a zonal shift.

" + } + }, + "ZonalShiftInResource": { + "base": "

A complex structure that lists the zonal shifts for a managed resource and their statuses for the resource.

", + "refs": { + "ZonalShiftsInResource$member": null + } + }, + "ZonalShiftStatus": { + "base": null, + "refs": { + "ListZonalShiftsRequest$status": "

A status for a zonal shift.

The Status for a zonal shift can have one of the following values:

", + "ZonalShift$status": "

A status for a zonal shift.

The Status for a zonal shift can have one of the following values:

", + "ZonalShiftSummary$status": "

A status for a zonal shift.

The Status for a zonal shift can have one of the following values:

" + } + }, + "ZonalShiftSummaries": { + "base": null, + "refs": { + "ListZonalShiftsResponse$items": "

The items in the response list.

" + } + }, + "ZonalShiftSummary": { + "base": "

You start a zonal shift to temporarily move load balancer traffic away from an Availability Zone in a AWS Region. A zonal shift helps your application recover immediately, for example, from a developer's bad code deployment or from an AWS infrastructure failure in a single Availability Zone. You can start a zonal shift in Route 53 ARC only for managed resources in your account in an AWS Region. Supported AWS resources are automatically registered with Route 53 ARC.

Zonal shifts are temporary. A zonal shift can be active for up to three days (72 hours).

When you start a zonal shift, you specify how long you want it to be active, which Amazon Route 53 Application Recovery Controller converts to an expiry time (expiration time). You can cancel a zonal shift, for example, if you're ready to restore traffic to the Availability Zone. Or you can extend the zonal shift by updating the expiration so the zonal shift is active longer.

", + "refs": { + "ZonalShiftSummaries$member": null + } + }, + "ZonalShiftsInResource": { + "base": null, + "refs": { + "GetManagedResourceResponse$zonalShifts": "

The zonal shifts that are currently active for a resource.

" + } + } + } +} diff --git a/models/apis/arc-zonal-shift/2022-10-30/endpoint-rule-set-1.json b/models/apis/arc-zonal-shift/2022-10-30/endpoint-rule-set-1.json new file mode 100644 index 00000000000..bc46f960027 --- /dev/null +++ b/models/apis/arc-zonal-shift/2022-10-30/endpoint-rule-set-1.json @@ -0,0 +1,309 @@ +{ + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": true, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + }, + { + "fn": "parseURL", + "argv": [ + { + "ref": "Endpoint" + } + ], + "assign": "url" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://arc-zonal-shift-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://arc-zonal-shift-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://arc-zonal-shift.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://arc-zonal-shift.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] +} \ No newline at end of file diff --git a/models/apis/arc-zonal-shift/2022-10-30/endpoint-tests-1.json b/models/apis/arc-zonal-shift/2022-10-30/endpoint-tests-1.json new file mode 100644 index 00000000000..b05c0315fae --- /dev/null +++ b/models/apis/arc-zonal-shift/2022-10-30/endpoint-tests-1.json @@ -0,0 +1,295 @@ +{ + "testCases": [ + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://arc-zonal-shift-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-gov-east-1" + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://arc-zonal-shift-fips.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-gov-east-1" + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://arc-zonal-shift.us-gov-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-gov-east-1" + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://arc-zonal-shift.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-gov-east-1" + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://arc-zonal-shift-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "cn-north-1" + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://arc-zonal-shift-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "cn-north-1" + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://arc-zonal-shift.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "cn-north-1" + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://arc-zonal-shift.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "cn-north-1" + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-iso-east-1" + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://arc-zonal-shift-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-iso-east-1" + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-iso-east-1" + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://arc-zonal-shift.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-iso-east-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://arc-zonal-shift-fips.us-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://arc-zonal-shift-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://arc-zonal-shift.us-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://arc-zonal-shift.us-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-isob-east-1" + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://arc-zonal-shift-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-isob-east-1" + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-isob-east-1" + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://arc-zonal-shift.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-isob-east-1" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-1", + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-east-1", + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-east-1", + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" +} \ No newline at end of file diff --git a/models/apis/arc-zonal-shift/2022-10-30/examples-1.json b/models/apis/arc-zonal-shift/2022-10-30/examples-1.json new file mode 100644 index 00000000000..0ea7e3b0bbe --- /dev/null +++ b/models/apis/arc-zonal-shift/2022-10-30/examples-1.json @@ -0,0 +1,5 @@ +{ + "version": "1.0", + "examples": { + } +} diff --git a/models/apis/arc-zonal-shift/2022-10-30/paginators-1.json b/models/apis/arc-zonal-shift/2022-10-30/paginators-1.json new file mode 100644 index 00000000000..881e618b2b8 --- /dev/null +++ b/models/apis/arc-zonal-shift/2022-10-30/paginators-1.json @@ -0,0 +1,16 @@ +{ + "pagination": { + "ListManagedResources": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "items" + }, + "ListZonalShifts": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "items" + } + } +} diff --git a/models/apis/compute-optimizer/2019-11-01/api-2.json b/models/apis/compute-optimizer/2019-11-01/api-2.json index 22b6da313ea..3e44cb9c0b7 100644 --- a/models/apis/compute-optimizer/2019-11-01/api-2.json +++ b/models/apis/compute-optimizer/2019-11-01/api-2.json @@ -551,7 +551,8 @@ "members":{ "cpuVendorArchitectures":{"shape":"CpuVendorArchitectures"}, "enhancedInfrastructureMetrics":{"shape":"EnhancedInfrastructureMetrics"}, - "inferredWorkloadTypes":{"shape":"InferredWorkloadTypesPreference"} + "inferredWorkloadTypes":{"shape":"InferredWorkloadTypesPreference"}, + "externalMetricsPreference":{"shape":"ExternalMetricsPreference"} } }, "EnhancedInfrastructureMetrics":{ @@ -785,7 +786,8 @@ "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics", "EffectiveRecommendationPreferencesInferredWorkloadTypes", "InferredWorkloadTypes", - "RecommendationOptionsMigrationEffort" + "RecommendationOptionsMigrationEffort", + "EffectiveRecommendationPreferencesExternalMetricsSource" ] }, "ExportableInstanceFields":{ @@ -864,6 +866,21 @@ "type":"list", "member":{"shape":"ExportableVolumeField"} }, + "ExternalMetricsPreference":{ + "type":"structure", + "members":{ + "source":{"shape":"ExternalMetricsSource"} + } + }, + "ExternalMetricsSource":{ + "type":"string", + "enum":[ + "Datadog", + "Dynatrace", + "NewRelic", + "Instana" + ] + }, "FailureReason":{"type":"string"}, "FileFormat":{ "type":"string", @@ -1005,7 +1022,8 @@ "GetEffectiveRecommendationPreferencesResponse":{ "type":"structure", "members":{ - "enhancedInfrastructureMetrics":{"shape":"EnhancedInfrastructureMetrics"} + "enhancedInfrastructureMetrics":{"shape":"EnhancedInfrastructureMetrics"}, + "externalMetricsPreference":{"shape":"ExternalMetricsPreference"} } }, "GetEnrollmentStatusRequest":{ @@ -1489,7 +1507,8 @@ "resourceType":{"shape":"ResourceType"}, "scope":{"shape":"Scope"}, "enhancedInfrastructureMetrics":{"shape":"EnhancedInfrastructureMetrics"}, - "inferredWorkloadTypes":{"shape":"InferredWorkloadTypesPreference"} + "inferredWorkloadTypes":{"shape":"InferredWorkloadTypesPreference"}, + "externalMetricsPreference":{"shape":"ExternalMetricsPreference"} } }, "PutRecommendationPreferencesResponse":{ @@ -1533,7 +1552,8 @@ "type":"string", "enum":[ "EnhancedInfrastructureMetrics", - "InferredWorkloadTypes" + "InferredWorkloadTypes", + "ExternalMetricsPreference" ] }, "RecommendationPreferenceNames":{ @@ -1552,7 +1572,8 @@ "scope":{"shape":"Scope"}, "resourceType":{"shape":"ResourceType"}, "enhancedInfrastructureMetrics":{"shape":"EnhancedInfrastructureMetrics"}, - "inferredWorkloadTypes":{"shape":"InferredWorkloadTypesPreference"} + "inferredWorkloadTypes":{"shape":"InferredWorkloadTypesPreference"}, + "externalMetricsPreference":{"shape":"ExternalMetricsPreference"} } }, "RecommendationPreferencesDetails":{ diff --git a/models/apis/compute-optimizer/2019-11-01/docs-2.json b/models/apis/compute-optimizer/2019-11-01/docs-2.json index 543e8d51062..429a0a159ed 100644 --- a/models/apis/compute-optimizer/2019-11-01/docs-2.json +++ b/models/apis/compute-optimizer/2019-11-01/docs-2.json @@ -268,7 +268,7 @@ "EffectiveRecommendationPreferences$enhancedInfrastructureMetrics": "

Describes the activation status of the enhanced infrastructure metrics preference.

A status of Active confirms that the preference is applied in the latest recommendation refresh, and a status of Inactive confirms that it's not yet applied to recommendations.

For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.

", "GetEffectiveRecommendationPreferencesResponse$enhancedInfrastructureMetrics": "

The status of the enhanced infrastructure metrics recommendation preference. Considers all applicable preferences that you might have set at the resource, account, and organization level.

A status of Active confirms that the preference is applied in the latest recommendation refresh, and a status of Inactive confirms that it's not yet applied to recommendations.

To validate whether the preference is applied to your last generated set of recommendations, review the effectiveRecommendationPreferences value in the response of the GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations actions.

For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.

", "PutRecommendationPreferencesRequest$enhancedInfrastructureMetrics": "

The status of the enhanced infrastructure metrics recommendation preference to create or update.

Specify the Active status to activate the preference, or specify Inactive to deactivate the preference.

For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.

", - "RecommendationPreferencesDetail$enhancedInfrastructureMetrics": "

The status of the enhanced infrastructure metrics recommendation preference.

A status of Active confirms that the preference is applied in the latest recommendation refresh, and a status of Inactive confirms that it's not yet applied to recommendations.

For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.

" + "RecommendationPreferencesDetail$enhancedInfrastructureMetrics": "

The status of the enhanced infrastructure metrics recommendation preference.

When the recommendations page is refreshed, a status of Active confirms that the preference is applied to the recommendations, and a status of Inactive confirms that the preference isn't yet applied to recommendations.

For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.

" } }, "EnrollmentFilter": { @@ -403,6 +403,21 @@ "ExportEBSVolumeRecommendationsRequest$fieldsToExport": "

The recommendations data to include in the export file. For more information about the fields that can be exported, see Exported files in the Compute Optimizer User Guide.

" } }, + "ExternalMetricsPreference": { + "base": "

Describes the external metrics preferences for EC2 rightsizing recommendations.

", + "refs": { + "EffectiveRecommendationPreferences$externalMetricsPreference": "

An object that describes the external metrics recommendation preference.

If the preference is applied in the latest recommendation refresh, an object with a valid source value appears in the response. If the preference isn't applied to the recommendations already, then this object doesn't appear in the response.

", + "GetEffectiveRecommendationPreferencesResponse$externalMetricsPreference": "

The provider of the external metrics recommendation preference. Considers all applicable preferences that you might have set at the account and organization level.

If the preference is applied in the latest recommendation refresh, an object with a valid source value appears in the response. If the preference isn't applied to the recommendations already, then this object doesn't appear in the response.

To validate whether the preference is applied to your last generated set of recommendations, review the effectiveRecommendationPreferences value in the response of the GetEC2InstanceRecommendations actions.

For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.

", + "PutRecommendationPreferencesRequest$externalMetricsPreference": "

The provider of the external metrics recommendation preference to create or update.

Specify a valid provider in the source field to activate the preference. To delete this preference, see the DeleteRecommendationPreferences action.

This preference can only be set for the Ec2Instance resource type.

For more information, see External metrics ingestion in the Compute Optimizer User Guide.

", + "RecommendationPreferencesDetail$externalMetricsPreference": "

An object that describes the external metrics recommendation preference.

If the preference is applied in the latest recommendation refresh, an object with a valid source value appears in the response. If the preference isn't applied to the recommendations already, then this object doesn't appear in the response.

" + } + }, + "ExternalMetricsSource": { + "base": null, + "refs": { + "ExternalMetricsPreference$source": "

Contains the source options for external metrics preferences.

" + } + }, "FailureReason": { "base": null, "refs": { @@ -642,7 +657,7 @@ "refs": { "EffectiveRecommendationPreferences$inferredWorkloadTypes": "

Describes the activation status of the inferred workload types preference.

A status of Active confirms that the preference is applied in the latest recommendation refresh. A status of Inactive confirms that it's not yet applied to recommendations.

", "PutRecommendationPreferencesRequest$inferredWorkloadTypes": "

The status of the inferred workload types recommendation preference to create or update.

The inferred workload type feature is active by default. To deactivate it, create a recommendation preference.

Specify the Inactive status to deactivate the feature, or specify Active to activate it.

For more information, see Inferred workload types in the Compute Optimizer User Guide.

", - "RecommendationPreferencesDetail$inferredWorkloadTypes": "

The status of the inferred workload types recommendation preference.

A status of Active confirms that the preference is applied in the latest recommendation refresh. A status of Inactive confirms that it's not yet applied to recommendations.

" + "RecommendationPreferencesDetail$inferredWorkloadTypes": "

The status of the inferred workload types recommendation preference.

When the recommendations page is refreshed, a status of Active confirms that the preference is applied to the recommendations, and a status of Inactive confirms that the preference isn't yet applied to recommendations.

" } }, "InstanceArn": { @@ -1140,7 +1155,7 @@ "RecommendationPreferenceNames": { "base": null, "refs": { - "DeleteRecommendationPreferencesRequest$recommendationPreferenceNames": "

The name of the recommendation preference to delete.

Enhanced infrastructure metrics (EnhancedInfrastructureMetrics) is the only feature that can be activated through preferences. Therefore, it is also the only recommendation preference that can be deleted.

" + "DeleteRecommendationPreferencesRequest$recommendationPreferenceNames": "

The name of the recommendation preference to delete.

" } }, "RecommendationPreferences": { diff --git a/models/apis/compute-optimizer/2019-11-01/endpoint-rule-set-1.json b/models/apis/compute-optimizer/2019-11-01/endpoint-rule-set-1.json new file mode 100644 index 00000000000..3d9d66e2b24 --- /dev/null +++ b/models/apis/compute-optimizer/2019-11-01/endpoint-rule-set-1.json @@ -0,0 +1,315 @@ +{ + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": true, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + }, + { + "fn": "parseURL", + "argv": [ + { + "ref": "Endpoint" + } + ], + "assign": "url" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://compute-optimizer-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://compute-optimizer-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://compute-optimizer.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://compute-optimizer.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] +} \ No newline at end of file diff --git a/models/apis/compute-optimizer/2019-11-01/endpoint-tests-1.json b/models/apis/compute-optimizer/2019-11-01/endpoint-tests-1.json new file mode 100644 index 00000000000..abec6f0cefe --- /dev/null +++ b/models/apis/compute-optimizer/2019-11-01/endpoint-tests-1.json @@ -0,0 +1,1395 @@ +{ + "testCases": [ + { + "documentation": "For region ap-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.ap-south-1.api.aws" + } + }, + "params": { + "Region": "ap-south-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.ap-south-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-south-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.ap-south-1.api.aws" + } + }, + "params": { + "Region": "ap-south-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.ap-south-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-south-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.eu-south-1.api.aws" + } + }, + "params": { + "Region": "eu-south-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.eu-south-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-south-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.eu-south-1.api.aws" + } + }, + "params": { + "Region": "eu-south-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.eu-south-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-south-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.ca-central-1.api.aws" + } + }, + "params": { + "Region": "ca-central-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.ca-central-1.amazonaws.com" + } + }, + "params": { + "Region": "ca-central-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.ca-central-1.api.aws" + } + }, + "params": { + "Region": "ca-central-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.ca-central-1.amazonaws.com" + } + }, + "params": { + "Region": "ca-central-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.eu-central-1.api.aws" + } + }, + "params": { + "Region": "eu-central-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.eu-central-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-central-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.eu-central-1.api.aws" + } + }, + "params": { + "Region": "eu-central-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.eu-central-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-central-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.us-west-1.api.aws" + } + }, + "params": { + "Region": "us-west-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.us-west-1.amazonaws.com" + } + }, + "params": { + "Region": "us-west-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.us-west-1.api.aws" + } + }, + "params": { + "Region": "us-west-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.us-west-1.amazonaws.com" + } + }, + "params": { + "Region": "us-west-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.us-west-2.api.aws" + } + }, + "params": { + "Region": "us-west-2", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.us-west-2.amazonaws.com" + } + }, + "params": { + "Region": "us-west-2", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.us-west-2.api.aws" + } + }, + "params": { + "Region": "us-west-2", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.us-west-2.amazonaws.com" + } + }, + "params": { + "Region": "us-west-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region af-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.af-south-1.api.aws" + } + }, + "params": { + "Region": "af-south-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region af-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.af-south-1.amazonaws.com" + } + }, + "params": { + "Region": "af-south-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.af-south-1.api.aws" + } + }, + "params": { + "Region": "af-south-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.af-south-1.amazonaws.com" + } + }, + "params": { + "Region": "af-south-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.eu-north-1.api.aws" + } + }, + "params": { + "Region": "eu-north-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.eu-north-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-north-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.eu-north-1.api.aws" + } + }, + "params": { + "Region": "eu-north-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.eu-north-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-north-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.eu-west-3.api.aws" + } + }, + "params": { + "Region": "eu-west-3", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.eu-west-3.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-3", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.eu-west-3.api.aws" + } + }, + "params": { + "Region": "eu-west-3", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.eu-west-3.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-3", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.eu-west-2.api.aws" + } + }, + "params": { + "Region": "eu-west-2", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.eu-west-2.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-2", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.eu-west-2.api.aws" + } + }, + "params": { + "Region": "eu-west-2", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.eu-west-2.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.eu-west-1.api.aws" + } + }, + "params": { + "Region": "eu-west-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.eu-west-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.eu-west-1.api.aws" + } + }, + "params": { + "Region": "eu-west-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.eu-west-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.ap-northeast-3.api.aws" + } + }, + "params": { + "Region": "ap-northeast-3", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.ap-northeast-3.amazonaws.com" + } + }, + "params": { + "Region": "ap-northeast-3", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.ap-northeast-3.api.aws" + } + }, + "params": { + "Region": "ap-northeast-3", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.ap-northeast-3.amazonaws.com" + } + }, + "params": { + "Region": "ap-northeast-3", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.ap-northeast-2.api.aws" + } + }, + "params": { + "Region": "ap-northeast-2", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "Region": "ap-northeast-2", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.ap-northeast-2.api.aws" + } + }, + "params": { + "Region": "ap-northeast-2", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "Region": "ap-northeast-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.ap-northeast-1.api.aws" + } + }, + "params": { + "Region": "ap-northeast-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-northeast-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.ap-northeast-1.api.aws" + } + }, + "params": { + "Region": "ap-northeast-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-northeast-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region me-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.me-south-1.api.aws" + } + }, + "params": { + "Region": "me-south-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region me-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.me-south-1.amazonaws.com" + } + }, + "params": { + "Region": "me-south-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region me-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.me-south-1.api.aws" + } + }, + "params": { + "Region": "me-south-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.me-south-1.amazonaws.com" + } + }, + "params": { + "Region": "me-south-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region sa-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.sa-east-1.api.aws" + } + }, + "params": { + "Region": "sa-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region sa-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.sa-east-1.amazonaws.com" + } + }, + "params": { + "Region": "sa-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region sa-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.sa-east-1.api.aws" + } + }, + "params": { + "Region": "sa-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.sa-east-1.amazonaws.com" + } + }, + "params": { + "Region": "sa-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.ap-east-1.api.aws" + } + }, + "params": { + "Region": "ap-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.ap-east-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.ap-east-1.api.aws" + } + }, + "params": { + "Region": "ap-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.ap-east-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.us-gov-west-1.api.aws" + } + }, + "params": { + "Region": "us-gov-west-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-west-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.us-gov-west-1.api.aws" + } + }, + "params": { + "Region": "us-gov-west-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-west-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.ap-southeast-1.api.aws" + } + }, + "params": { + "Region": "ap-southeast-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-southeast-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.ap-southeast-1.api.aws" + } + }, + "params": { + "Region": "ap-southeast-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-southeast-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.ap-southeast-2.api.aws" + } + }, + "params": { + "Region": "ap-southeast-2", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "Region": "ap-southeast-2", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.ap-southeast-2.api.aws" + } + }, + "params": { + "Region": "ap-southeast-2", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "Region": "ap-southeast-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.ap-southeast-3.api.aws" + } + }, + "params": { + "Region": "ap-southeast-3", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.ap-southeast-3.amazonaws.com" + } + }, + "params": { + "Region": "ap-southeast-3", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.ap-southeast-3.api.aws" + } + }, + "params": { + "Region": "ap-southeast-3", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.ap-southeast-3.amazonaws.com" + } + }, + "params": { + "Region": "ap-southeast-3", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.us-east-2.api.aws" + } + }, + "params": { + "Region": "us-east-2", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.us-east-2.amazonaws.com" + } + }, + "params": { + "Region": "us-east-2", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.us-east-2.api.aws" + } + }, + "params": { + "Region": "us-east-2", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.us-east-2.amazonaws.com" + } + }, + "params": { + "Region": "us-east-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.cn-northwest-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-northwest-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer-fips.cn-northwest-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-northwest-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.cn-northwest-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-northwest-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://compute-optimizer.cn-northwest-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-northwest-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" +} \ No newline at end of file diff --git a/models/apis/config/2014-11-12/api-2.json b/models/apis/config/2014-11-12/api-2.json index bab64a7f193..195e1e2fc6b 100644 --- a/models/apis/config/2014-11-12/api-2.json +++ b/models/apis/config/2014-11-12/api-2.json @@ -331,7 +331,8 @@ "output":{"shape":"DescribeConfigRulesResponse"}, "errors":[ {"shape":"NoSuchConfigRuleException"}, - {"shape":"InvalidNextTokenException"} + {"shape":"InvalidNextTokenException"}, + {"shape":"InvalidParameterValueException"} ] }, "DescribeConfigurationAggregatorSourcesStatus":{ @@ -818,6 +819,18 @@ {"shape":"ResourceNotDiscoveredException"} ] }, + "GetResourceEvaluationSummary":{ + "name":"GetResourceEvaluationSummary", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetResourceEvaluationSummaryRequest"}, + "output":{"shape":"GetResourceEvaluationSummaryResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"} + ] + }, "GetStoredQuery":{ "name":"GetStoredQuery", "http":{ @@ -875,6 +888,20 @@ {"shape":"NoAvailableConfigurationRecorderException"} ] }, + "ListResourceEvaluations":{ + "name":"ListResourceEvaluations", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListResourceEvaluationsRequest"}, + "output":{"shape":"ListResourceEvaluationsResponse"}, + "errors":[ + {"shape":"InvalidNextTokenException"}, + {"shape":"InvalidParameterValueException"}, + {"shape":"InvalidTimeRangeException"} + ] + }, "ListStoredQueries":{ "name":"ListStoredQueries", "http":{ @@ -1197,6 +1224,19 @@ {"shape":"NoSuchRemediationConfigurationException"} ] }, + "StartResourceEvaluation":{ + "name":"StartResourceEvaluation", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"StartResourceEvaluationRequest"}, + "output":{"shape":"StartResourceEvaluationResponse"}, + "errors":[ + {"shape":"InvalidParameterValueException"}, + {"shape":"IdempotentParameterMismatch"} + ] + }, "StopConfigurationRecorder":{ "name":"StopConfigurationRecorder", "http":{ @@ -1535,6 +1575,11 @@ "Forward" ] }, + "ClientToken":{ + "type":"string", + "max":256, + "min":64 + }, "Compliance":{ "type":"structure", "members":{ @@ -1637,7 +1682,8 @@ "InputParameters":{"shape":"StringWithCharLimit1024"}, "MaximumExecutionFrequency":{"shape":"MaximumExecutionFrequency"}, "ConfigRuleState":{"shape":"ConfigRuleState"}, - "CreatedBy":{"shape":"StringWithCharLimit256"} + "CreatedBy":{"shape":"StringWithCharLimit256"}, + "EvaluationModes":{"shape":"EvaluationModes"} } }, "ConfigRuleComplianceFilters":{ @@ -2396,11 +2442,18 @@ "NextToken":{"shape":"String"} } }, + "DescribeConfigRulesFilters":{ + "type":"structure", + "members":{ + "EvaluationMode":{"shape":"EvaluationMode"} + } + }, "DescribeConfigRulesRequest":{ "type":"structure", "members":{ "ConfigRuleNames":{"shape":"ConfigRuleNames"}, - "NextToken":{"shape":"String"} + "NextToken":{"shape":"String"}, + "Filters":{"shape":"DescribeConfigRulesFilters"} } }, "DescribeConfigRulesResponse":{ @@ -2714,6 +2767,34 @@ "OrderingTimestamp":{"shape":"OrderingTimestamp"} } }, + "EvaluationContext":{ + "type":"structure", + "members":{ + "EvaluationContextIdentifier":{"shape":"EvaluationContextIdentifier"} + } + }, + "EvaluationContextIdentifier":{ + "type":"string", + "max":128, + "min":1 + }, + "EvaluationMode":{ + "type":"string", + "enum":[ + "DETECTIVE", + "PROACTIVE" + ] + }, + "EvaluationModeConfiguration":{ + "type":"structure", + "members":{ + "Mode":{"shape":"EvaluationMode"} + } + }, + "EvaluationModes":{ + "type":"list", + "member":{"shape":"EvaluationModeConfiguration"} + }, "EvaluationResult":{ "type":"structure", "members":{ @@ -2729,7 +2810,8 @@ "type":"structure", "members":{ "EvaluationResultQualifier":{"shape":"EvaluationResultQualifier"}, - "OrderingTimestamp":{"shape":"Date"} + "OrderingTimestamp":{"shape":"Date"}, + "ResourceEvaluationId":{"shape":"ResourceEvaluationId"} } }, "EvaluationResultQualifier":{ @@ -2737,13 +2819,27 @@ "members":{ "ConfigRuleName":{"shape":"ConfigRuleName"}, "ResourceType":{"shape":"StringWithCharLimit256"}, - "ResourceId":{"shape":"BaseResourceId"} + "ResourceId":{"shape":"BaseResourceId"}, + "EvaluationMode":{"shape":"EvaluationMode"} } }, "EvaluationResults":{ "type":"list", "member":{"shape":"EvaluationResult"} }, + "EvaluationStatus":{ + "type":"structure", + "required":["Status"], + "members":{ + "Status":{"shape":"ResourceEvaluationStatus"}, + "FailureReason":{"shape":"StringWithCharLimit1024"} + } + }, + "EvaluationTimeout":{ + "type":"integer", + "max":3600, + "min":0 + }, "Evaluations":{ "type":"list", "member":{"shape":"Evaluation"}, @@ -2951,15 +3047,12 @@ }, "GetComplianceDetailsByResourceRequest":{ "type":"structure", - "required":[ - "ResourceType", - "ResourceId" - ], "members":{ "ResourceType":{"shape":"StringWithCharLimit256"}, "ResourceId":{"shape":"BaseResourceId"}, "ComplianceTypes":{"shape":"ComplianceTypes"}, - "NextToken":{"shape":"String"} + "NextToken":{"shape":"String"}, + "ResourceEvaluationId":{"shape":"ResourceEvaluationId"} } }, "GetComplianceDetailsByResourceResponse":{ @@ -3125,6 +3218,25 @@ "nextToken":{"shape":"NextToken"} } }, + "GetResourceEvaluationSummaryRequest":{ + "type":"structure", + "required":["ResourceEvaluationId"], + "members":{ + "ResourceEvaluationId":{"shape":"ResourceEvaluationId"} + } + }, + "GetResourceEvaluationSummaryResponse":{ + "type":"structure", + "members":{ + "ResourceEvaluationId":{"shape":"ResourceEvaluationId"}, + "EvaluationMode":{"shape":"EvaluationMode"}, + "EvaluationStatus":{"shape":"EvaluationStatus"}, + "EvaluationStartTimestamp":{"shape":"Date"}, + "Compliance":{"shape":"ComplianceType"}, + "EvaluationContext":{"shape":"EvaluationContext"}, + "ResourceDetails":{"shape":"ResourceDetails"} + } + }, "GetStoredQueryRequest":{ "type":"structure", "required":["QueryName"], @@ -3158,6 +3270,13 @@ "type":"list", "member":{"shape":"GroupedResourceCount"} }, + "IdempotentParameterMismatch":{ + "type":"structure", + "members":{ + "message":{"shape":"String"} + }, + "exception":true + }, "IncludeGlobalResourceTypes":{"type":"boolean"}, "InsufficientDeliveryPolicyException":{ "type":"structure", @@ -3327,6 +3446,26 @@ "nextToken":{"shape":"NextToken"} } }, + "ListResourceEvaluationsPageItemLimit":{ + "type":"integer", + "max":100, + "min":0 + }, + "ListResourceEvaluationsRequest":{ + "type":"structure", + "members":{ + "Filters":{"shape":"ResourceEvaluationFilters"}, + "Limit":{"shape":"ListResourceEvaluationsPageItemLimit"}, + "NextToken":{"shape":"String"} + } + }, + "ListResourceEvaluationsResponse":{ + "type":"structure", + "members":{ + "ResourceEvaluations":{"shape":"ResourceEvaluations"}, + "NextToken":{"shape":"String"} + } + }, "ListStoredQueriesRequest":{ "type":"structure", "members":{ @@ -4346,6 +4485,15 @@ }, "exception":true }, + "ResourceConfiguration":{ + "type":"string", + "max":51200, + "min":1 + }, + "ResourceConfigurationSchemaType":{ + "type":"string", + "enum":["CFN_RESOURCE_SCHEMA"] + }, "ResourceCount":{ "type":"structure", "members":{ @@ -4375,6 +4523,53 @@ }, "ResourceCreationTime":{"type":"timestamp"}, "ResourceDeletionTime":{"type":"timestamp"}, + "ResourceDetails":{ + "type":"structure", + "required":[ + "ResourceId", + "ResourceType", + "ResourceConfiguration" + ], + "members":{ + "ResourceId":{"shape":"BaseResourceId"}, + "ResourceType":{"shape":"StringWithCharLimit256"}, + "ResourceConfiguration":{"shape":"ResourceConfiguration"}, + "ResourceConfigurationSchemaType":{"shape":"ResourceConfigurationSchemaType"} + } + }, + "ResourceEvaluation":{ + "type":"structure", + "members":{ + "ResourceEvaluationId":{"shape":"ResourceEvaluationId"}, + "EvaluationMode":{"shape":"EvaluationMode"}, + "EvaluationStartTimestamp":{"shape":"Date"} + } + }, + "ResourceEvaluationFilters":{ + "type":"structure", + "members":{ + "EvaluationMode":{"shape":"EvaluationMode"}, + "TimeWindow":{"shape":"TimeWindow"}, + "EvaluationContextIdentifier":{"shape":"EvaluationContextIdentifier"} + } + }, + "ResourceEvaluationId":{ + "type":"string", + "max":128, + "min":1 + }, + "ResourceEvaluationStatus":{ + "type":"string", + "enum":[ + "IN_PROGRESS", + "FAILED", + "SUCCEEDED" + ] + }, + "ResourceEvaluations":{ + "type":"list", + "member":{"shape":"ResourceEvaluation"} + }, "ResourceFilters":{ "type":"structure", "members":{ @@ -4835,6 +5030,26 @@ "FailedItems":{"shape":"ResourceKeys"} } }, + "StartResourceEvaluationRequest":{ + "type":"structure", + "required":[ + "ResourceDetails", + "EvaluationMode" + ], + "members":{ + "ResourceDetails":{"shape":"ResourceDetails"}, + "EvaluationContext":{"shape":"EvaluationContext"}, + "EvaluationMode":{"shape":"EvaluationMode"}, + "EvaluationTimeout":{"shape":"EvaluationTimeout"}, + "ClientToken":{"shape":"ClientToken"} + } + }, + "StartResourceEvaluationResponse":{ + "type":"structure", + "members":{ + "ResourceEvaluationId":{"shape":"ResourceEvaluationId"} + } + }, "StaticParameterValues":{ "type":"list", "member":{"shape":"StringWithCharLimit256"}, @@ -5016,6 +5231,13 @@ "DocumentVersion":{"shape":"SSMDocumentVersion"} } }, + "TimeWindow":{ + "type":"structure", + "members":{ + "StartTime":{"shape":"Date"}, + "EndTime":{"shape":"Date"} + } + }, "TooManyTagsException":{ "type":"structure", "members":{ diff --git a/models/apis/config/2014-11-12/docs-2.json b/models/apis/config/2014-11-12/docs-2.json index d9b377e76c7..f74c79d75cd 100644 --- a/models/apis/config/2014-11-12/docs-2.json +++ b/models/apis/config/2014-11-12/docs-2.json @@ -51,7 +51,7 @@ "GetAggregateDiscoveredResourceCounts": "

Returns the resource counts across accounts and regions that are present in your Config aggregator. You can request the resource counts by providing filters and GroupByKey.

For example, if the input contains accountID 12345678910 and region us-east-1 in filters, the API returns the count of resources in account ID 12345678910 and region us-east-1. If the input contains ACCOUNT_ID as a GroupByKey, the API returns resource counts for all source accounts that are present in your aggregator.

", "GetAggregateResourceConfig": "

Returns configuration item that is aggregated for your specific resource in a specific source account and region.

", "GetComplianceDetailsByConfigRule": "

Returns the evaluation results for the specified Config rule. The results indicate which Amazon Web Services resources were evaluated by the rule, when each resource was last evaluated, and whether each resource complies with the rule.

", - "GetComplianceDetailsByResource": "

Returns the evaluation results for the specified Amazon Web Services resource. The results indicate which Config rules were used to evaluate the resource, when each rule was last used, and whether the resource complies with each rule.

", + "GetComplianceDetailsByResource": "

Returns the evaluation results for the specified Amazon Web Services resource. The results indicate which Config rules were used to evaluate the resource, when each rule was last invoked, and whether the resource complies with each rule.

", "GetComplianceSummaryByConfigRule": "

Returns the number of Config rules that are compliant and noncompliant, up to a maximum of 25 for each.

", "GetComplianceSummaryByResourceType": "

Returns the number of resources that are compliant and the number that are noncompliant. You can specify one or more resource types to get these numbers for each resource type. The maximum number returned is 100.

", "GetConformancePackComplianceDetails": "

Returns compliance details of a conformance pack for all Amazon Web Services resources that are monitered by conformance pack.

", @@ -62,10 +62,12 @@ "GetOrganizationConformancePackDetailedStatus": "

Returns detailed status for each member account within an organization for a given organization conformance pack.

", "GetOrganizationCustomRulePolicy": "

Returns the policy definition containing the logic for your organization Config Custom Policy rule.

", "GetResourceConfigHistory": "

Returns a list of ConfigurationItems for the specified resource. The list contains details about each state of the resource during the specified time interval. If you specified a retention period to retain your ConfigurationItems between a minimum of 30 days and a maximum of 7 years (2557 days), Config returns the ConfigurationItems for the specified retention period.

The response is paginated. By default, Config returns a limit of 10 configuration items per page. You can customize this number with the limit parameter. The response includes a nextToken string. To get the next page of results, run the request again and specify the string for the nextToken parameter.

Each call to the API is limited to span a duration of seven days. It is likely that the number of records returned is smaller than the specified limit. In such cases, you can make another call, using the nextToken.

", + "GetResourceEvaluationSummary": "

Returns a summary of resource evaluation for the specified resource evaluation ID from the proactive rules that were run. The results indicate which evaluation context was used to evaluate the rules, which resource details were evaluated, the evaluation mode that was run, and whether the resource details comply with the configuration of the proactive rules.

", "GetStoredQuery": "

Returns the details of a specific stored query.

", "ListAggregateDiscoveredResources": "

Accepts a resource type and returns a list of resource identifiers that are aggregated for a specific resource type across accounts and regions. A resource identifier includes the resource type, ID, (if available) the custom resource name, source account, and source region. You can narrow the results to include only resources that have specific resource IDs, or a resource name, or source account ID, or source region.

For example, if the input consists of accountID 12345678910 and the region is us-east-1 for resource type AWS::EC2::Instance then the API returns all the EC2 instance identifiers of accountID 12345678910 and region us-east-1.

", "ListConformancePackComplianceScores": "

Returns a list of conformance pack compliance scores. A compliance score is the percentage of the number of compliant rule-resource combinations in a conformance pack compared to the number of total possible rule-resource combinations in the conformance pack. This metric provides you with a high-level view of the compliance state of your conformance packs. You can use it to identify, investigate, and understand the level of compliance in your conformance packs.

Conformance packs with no evaluation results will have a compliance score of INSUFFICIENT_DATA.

", "ListDiscoveredResources": "

Accepts a resource type and returns a list of resource identifiers for the resources of that type. A resource identifier includes the resource type, ID, and (if available) the custom resource name. The results consist of resources that Config has discovered, including those that Config is not currently recording. You can narrow the results to include only resources that have specific resource IDs or a resource name.

You can specify either resource IDs or a resource name, but not both, in the same request.

The response is paginated. By default, Config lists 100 resource identifiers on each page. You can customize this number with the limit parameter. The response includes a nextToken string. To get the next page of results, run the request again and specify the string for the nextToken parameter.

", + "ListResourceEvaluations": "

Returns a list of proactive resource evaluations.

", "ListStoredQueries": "

Lists the stored queries for a single Amazon Web Services account and a single Amazon Web Services Region. The default is 100.

", "ListTagsForResource": "

List the tags for Config resource.

", "PutAggregationAuthorization": "

Authorizes the aggregator account and region to collect data from the source account and region.

", @@ -79,7 +81,7 @@ "PutOrganizationConfigRule": "

Adds or updates an Config rule for your entire organization to evaluate if your Amazon Web Services resources comply with your desired configurations. For information on how many organization Config rules you can have per account, see Service Limits in the Config Developer Guide.

Only a management account and a delegated administrator can create or update an organization Config rule. When calling this API with a delegated administrator, you must ensure Organizations ListDelegatedAdministrator permissions are added. An organization can have up to 3 delegated administrators.

This API enables organization service access through the EnableAWSServiceAccess action and creates a service-linked role AWSServiceRoleForConfigMultiAccountSetup in the management or delegated administrator account of your organization. The service-linked role is created only when the role does not exist in the caller account. Config verifies the existence of role with GetRole action.

To use this API with delegated administrator, register a delegated administrator by calling Amazon Web Services Organization register-delegated-administrator for config-multiaccountsetup.amazonaws.com.

There are two types of rules: Config Custom Rules and Config Managed Rules. You can use PutOrganizationConfigRule to create both Config custom rules and Config managed rules.

Custom rules are rules that you can create using either Guard or Lambda functions. Guard (Guard GitHub Repository) is a policy-as-code language that allows you to write policies that are enforced by Config Custom Policy rules. Lambda uses custom code that you upload to evaluate a custom rule. If you are adding a new Custom Lambda rule, you first need to create an Lambda function in the management account or a delegated administrator that the rule invokes to evaluate your resources. You also need to create an IAM role in the managed account that can be assumed by the Lambda function. When you use PutOrganizationConfigRule to add a Custom Lambda rule to Config, you must specify the Amazon Resource Name (ARN) that Lambda assigns to the function.

Managed rules are predefined, customizable rules created by Config. For a list of managed rules, see List of Config Managed Rules. If you are adding an Config managed rule, you must specify the rule's identifier for the RuleIdentifier key.

Prerequisite: Ensure you call EnableAllFeatures API to enable all features in an organization.

Make sure to specify one of either OrganizationCustomPolicyRuleMetadata for Custom Policy rules, OrganizationCustomRuleMetadata for Custom Lambda rules, or OrganizationManagedRuleMetadata for managed rules.

", "PutOrganizationConformancePack": "

Deploys conformance packs across member accounts in an Amazon Web Services Organization. For information on how many organization conformance packs and how many Config rules you can have per account, see Service Limits in the Config Developer Guide.

Only a management account and a delegated administrator can call this API. When calling this API with a delegated administrator, you must ensure Organizations ListDelegatedAdministrator permissions are added. An organization can have up to 3 delegated administrators.

This API enables organization service access for config-multiaccountsetup.amazonaws.com through the EnableAWSServiceAccess action and creates a service-linked role AWSServiceRoleForConfigMultiAccountSetup in the management or delegated administrator account of your organization. The service-linked role is created only when the role does not exist in the caller account. To use this API with delegated administrator, register a delegated administrator by calling Amazon Web Services Organization register-delegate-admin for config-multiaccountsetup.amazonaws.com.

Prerequisite: Ensure you call EnableAllFeatures API to enable all features in an organization.

You must specify either the TemplateS3Uri or the TemplateBody parameter, but not both. If you provide both Config uses the TemplateS3Uri parameter and ignores the TemplateBody parameter.

Config sets the state of a conformance pack to CREATE_IN_PROGRESS and UPDATE_IN_PROGRESS until the conformance pack is created or updated. You cannot update a conformance pack while it is in this state.

", "PutRemediationConfigurations": "

Adds or updates the remediation configuration with a specific Config rule with the selected target or action. The API creates the RemediationConfiguration object for the Config rule. The Config rule must already exist for you to add a remediation configuration. The target (SSM document) must exist and have permissions to use the target.

If you make backward incompatible changes to the SSM document, you must call this again to ensure the remediations can run.

This API does not support adding remediation configurations for service-linked Config Rules such as Organization Config rules, the rules deployed by conformance packs, and rules deployed by Amazon Web Services Security Hub.

For manual remediation configuration, you need to provide a value for automationAssumeRole or use a value in the assumeRolefield to remediate your resources. The SSM automation document can use either as long as it maps to a valid parameter.

However, for automatic remediation configuration, the only valid assumeRole field value is AutomationAssumeRole and you need to provide a value for AutomationAssumeRole to remediate your resources.

", - "PutRemediationExceptions": "

A remediation exception is when a specific resource is no longer considered for auto-remediation. This API adds a new exception or updates an existing exception for a specific resource with a specific Config rule.

Config generates a remediation exception when a problem occurs executing a remediation action to a specific resource. Remediation exceptions blocks auto-remediation until the exception is cleared.

", + "PutRemediationExceptions": "

A remediation exception is when a specific resource is no longer considered for auto-remediation. This API adds a new exception or updates an existing exception for a specific resource with a specific Config rule.

Config generates a remediation exception when a problem occurs executing a remediation action to a specific resource. Remediation exceptions blocks auto-remediation until the exception is cleared.

To place an exception on an Amazon Web Services resource, ensure remediation is set as manual remediation.

", "PutResourceConfig": "

Records the configuration state for the resource provided in the request. The configuration state of a resource is represented in Config as Configuration Items. Once this API records the configuration item, you can retrieve the list of configuration items for the custom resource type using existing Config APIs.

The custom resource type must be registered with CloudFormation. This API accepts the configuration item registered with CloudFormation.

When you call this API, Config only stores configuration state of the resource provided in the request. This API does not change or remediate the configuration of the resource.

Write-only schema properites are not recorded as part of the published configuration item.

", "PutRetentionConfiguration": "

Creates and updates the retention configuration with details about retention period (number of days) that Config stores your historical information. The API creates the RetentionConfiguration object and names the object as default. When you have a RetentionConfiguration object named default, calling the API modifies the default object.

Currently, Config supports only one retention configuration per region in your account.

", "PutStoredQuery": "

Saves a new query or updates an existing saved query. The QueryName must be unique for a single Amazon Web Services account and a single Amazon Web Services Region. You can create upto 300 queries in a single Amazon Web Services account and a single Amazon Web Services Region.

", @@ -88,6 +90,7 @@ "StartConfigRulesEvaluation": "

Runs an on-demand evaluation for the specified Config rules against the last known configuration state of the resources. Use StartConfigRulesEvaluation when you want to test that a rule you updated is working as expected. StartConfigRulesEvaluation does not re-record the latest configuration state for your resources. It re-runs an evaluation against the last known state of your resources.

You can specify up to 25 Config rules per request.

An existing StartConfigRulesEvaluation call for the specified rules must complete before you can call the API again. If you chose to have Config stream to an Amazon SNS topic, you will receive a ConfigRuleEvaluationStarted notification when the evaluation starts.

You don't need to call the StartConfigRulesEvaluation API to run an evaluation for a new rule. When you create a rule, Config evaluates your resources against the rule automatically.

The StartConfigRulesEvaluation API is useful if you want to run on-demand evaluations, such as the following example:

  1. You have a custom rule that evaluates your IAM resources every 24 hours.

  2. You update your Lambda function to add additional conditions to your rule.

  3. Instead of waiting for the next periodic evaluation, you call the StartConfigRulesEvaluation API.

  4. Config invokes your Lambda function and evaluates your IAM resources.

  5. Your custom rule will still run periodic evaluations every 24 hours.

", "StartConfigurationRecorder": "

Starts recording configurations of the Amazon Web Services resources you have selected to record in your Amazon Web Services account.

You must have created at least one delivery channel to successfully start the configuration recorder.

", "StartRemediationExecution": "

Runs an on-demand remediation for the specified Config rules against the last known remediation configuration. It runs an execution against the current state of your resources. Remediation execution is asynchronous.

You can specify up to 100 resource keys per request. An existing StartRemediationExecution call for the specified resource keys must complete before you can call the API again.

", + "StartResourceEvaluation": "

Runs an on-demand evaluation for the specified resource to determine whether the resource details will comply with configured Config rules. You can also use it for evaluation purposes. Config recommends using an evaluation context. It runs an execution against the resource details with all of the Config rules in your account that match with the specified proactive mode and resource type.

Ensure you have the cloudformation:DescribeType role setup to validate the resource type schema.

", "StopConfigurationRecorder": "

Stops recording configurations of the Amazon Web Services resources you have selected to record in your Amazon Web Services account.

", "TagResource": "

Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are deleted as well.

", "UntagResource": "

Deletes specified tags from a resource.

" @@ -384,6 +387,7 @@ "EvaluationResultQualifier$ResourceId": "

The ID of the evaluated Amazon Web Services resource.

", "ExternalEvaluation$ComplianceResourceId": "

The evaluated compliance resource ID. Config accepts only Amazon Web Services account ID.

", "GetComplianceDetailsByResourceRequest$ResourceId": "

The ID of the Amazon Web Services resource for which you want compliance information.

", + "ResourceDetails$ResourceId": "

A unique resource ID for an evaluation.

", "Scope$ComplianceResourceId": "

The ID of the only Amazon Web Services resource that you want to trigger an evaluation for the rule. If you specify a resource ID, you must specify one resource type for ComplianceResourceTypes.

" } }, @@ -436,6 +440,12 @@ "GetResourceConfigHistoryRequest$chronologicalOrder": "

The chronological order for configuration items listed. By default, the results are listed in reverse chronological order.

" } }, + "ClientToken": { + "base": null, + "refs": { + "StartResourceEvaluationRequest$ClientToken": "

A client token is a unique, case-sensitive string of up to 64 ASCII characters. To make an idempotent API request using one of these actions, specify a client token in the request.

Avoid reusing the same client token for other API requests. If you retry a request that completed successfully using the same client token and the same parameters, the retry succeeds without performing any further actions. If you retry a successful request using the same client token, but one or more of the parameters are different, other than the Region or Availability Zone, the retry fails with an IdempotentParameterMismatch error.

" + } + }, "Compliance": { "base": "

Indicates whether an Amazon Web Services resource or Config rule is compliant and provides the number of contributors that affect the compliance.

", "refs": { @@ -518,7 +528,8 @@ "Evaluation$ComplianceType": "

Indicates whether the Amazon Web Services resource complies with the Config rule that it was evaluated against.

For the Evaluation data type, Config supports only the COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE values. Config does not support the INSUFFICIENT_DATA value for this data type.

Similarly, Config does not accept INSUFFICIENT_DATA as the value for ComplianceType from a PutEvaluations request. For example, an Lambda function for a custom Config rule cannot pass an INSUFFICIENT_DATA value to Config.

", "EvaluationResult$ComplianceType": "

Indicates whether the Amazon Web Services resource complies with the Config rule that evaluated it.

For the EvaluationResult data type, Config supports only the COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE values. Config does not support the INSUFFICIENT_DATA value for the EvaluationResult data type.

", "ExternalEvaluation$ComplianceType": "

The compliance of the Amazon Web Services resource. The valid values are COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE.

", - "GetAggregateComplianceDetailsByConfigRuleRequest$ComplianceType": "

The resource compliance status.

For the GetAggregateComplianceDetailsByConfigRuleRequest data type, Config supports only the COMPLIANT and NON_COMPLIANT. Config does not support the NOT_APPLICABLE and INSUFFICIENT_DATA values.

" + "GetAggregateComplianceDetailsByConfigRuleRequest$ComplianceType": "

The resource compliance status.

For the GetAggregateComplianceDetailsByConfigRuleRequest data type, Config supports only the COMPLIANT and NON_COMPLIANT. Config does not support the NOT_APPLICABLE and INSUFFICIENT_DATA values.

", + "GetResourceEvaluationSummaryResponse$Compliance": "

The compliance status of the resource evaluation summary.

" } }, "ComplianceTypes": { @@ -1013,6 +1024,7 @@ "EvaluationResult$ResultRecordedTime": "

The time when Config recorded the evaluation result.

", "EvaluationResult$ConfigRuleInvokedTime": "

The time when the Config rule evaluated the Amazon Web Services resource.

", "EvaluationResultIdentifier$OrderingTimestamp": "

The time of the event that triggered the evaluation of your Amazon Web Services resources. The time can indicate when Config delivered a configuration item change notification, or it can indicate when Config delivered the configuration snapshot, depending on which event triggered the evaluation.

", + "GetResourceEvaluationSummaryResponse$EvaluationStartTimestamp": "

The start timestamp when Config rule starts evaluating compliance for the provided resource details.

", "MemberAccountStatus$LastUpdateTime": "

The timestamp of the last status update.

", "OrganizationConfigRule$LastUpdateTime": "

The timestamp of the last update.

", "OrganizationConfigRuleStatus$LastUpdateTime": "

The timestamp of the last update.

", @@ -1024,7 +1036,10 @@ "RemediationExecutionStatus$InvocationTime": "

Start time when the remediation was executed.

", "RemediationExecutionStatus$LastUpdatedTime": "

The time when the remediation execution was last updated.

", "RemediationExecutionStep$StartTime": "

The time when the step started.

", - "RemediationExecutionStep$StopTime": "

The time when the step stopped.

" + "RemediationExecutionStep$StopTime": "

The time when the step stopped.

", + "ResourceEvaluation$EvaluationStartTimestamp": "

The starting time of an execution.

", + "TimeWindow$StartTime": "

The start time of an execution.

", + "TimeWindow$EndTime": "

The end time of an execution. The end time must be after the start date.

" } }, "DebugLogDeliveryAccounts": { @@ -1256,6 +1271,12 @@ "refs": { } }, + "DescribeConfigRulesFilters": { + "base": "

Returns a filtered list of Detective or Proactive Config rules. By default, if the filter is not defined, this API returns an unfiltered list.

", + "refs": { + "DescribeConfigRulesRequest$Filters": "

Returns a list of Detecive or Proactive Config rules. By default, this API returns an unfiltered list.

" + } + }, "DescribeConfigRulesRequest": { "base": "

", "refs": { @@ -1488,6 +1509,44 @@ "Evaluations$member": null } }, + "EvaluationContext": { + "base": "

Use EvaluationContext to group independently initiated proactive resource evaluations. For example, CFN Stack. If you want to check just a resource definition, you do not need to provide evaluation context.

", + "refs": { + "GetResourceEvaluationSummaryResponse$EvaluationContext": "

Returns an EvaluationContext object.

", + "StartResourceEvaluationRequest$EvaluationContext": "

Returns an EvaluationContext object.

" + } + }, + "EvaluationContextIdentifier": { + "base": null, + "refs": { + "EvaluationContext$EvaluationContextIdentifier": "

A unique EvaluationContextIdentifier ID for an EvaluationContext.

", + "ResourceEvaluationFilters$EvaluationContextIdentifier": "

Filters evaluations for a given infrastructure deployment. For example: CFN Stack.

" + } + }, + "EvaluationMode": { + "base": null, + "refs": { + "DescribeConfigRulesFilters$EvaluationMode": "

The mode of an evaluation. The valid values are Detective or Proactive.

", + "EvaluationModeConfiguration$Mode": "

The mode of an evaluation. The valid values are Detective or Proactive.

", + "EvaluationResultQualifier$EvaluationMode": "

The mode of an evaluation. The valid values are Detective or Proactive.

", + "GetResourceEvaluationSummaryResponse$EvaluationMode": "

Lists results of the mode that you requested to retrieve the resource evaluation summary. The valid values are Detective or Proactive.

", + "ResourceEvaluation$EvaluationMode": "

The mode of an evaluation. The valid values are Detective or Proactive.

", + "ResourceEvaluationFilters$EvaluationMode": "

Filters all resource evaluations results based on an evaluation mode. the valid value for this API is Proactive.

", + "StartResourceEvaluationRequest$EvaluationMode": "

The mode of an evaluation. The valid value for this API is Proactive.

" + } + }, + "EvaluationModeConfiguration": { + "base": "

The configuration object for Config rule evaluation mode. The Supported valid values are Detective or Proactive.

", + "refs": { + "EvaluationModes$member": null + } + }, + "EvaluationModes": { + "base": null, + "refs": { + "ConfigRule$EvaluationModes": "

The modes the Config rule can be evaluated in. The valid values are distinct objects. By default, the value is Detective evaluation mode only.

" + } + }, "EvaluationResult": { "base": "

The details of an Config evaluation. Provides the Amazon Web Services resource that was evaluated, the compliance of the resource, related time stamps, and supplementary information.

", "refs": { @@ -1515,6 +1574,18 @@ "GetComplianceDetailsByResourceResponse$EvaluationResults": "

Indicates whether the specified Amazon Web Services resource complies each Config rule.

" } }, + "EvaluationStatus": { + "base": "

Returns status details of an evaluation.

", + "refs": { + "GetResourceEvaluationSummaryResponse$EvaluationStatus": "

Returns an EvaluationStatus object.

" + } + }, + "EvaluationTimeout": { + "base": null, + "refs": { + "StartResourceEvaluationRequest$EvaluationTimeout": "

The timeout for an evaluation. The default is 900 seconds. You cannot specify a number greater than 3600. If you specify 0, Config uses the default.

" + } + }, "Evaluations": { "base": null, "refs": { @@ -1781,6 +1852,16 @@ "refs": { } }, + "GetResourceEvaluationSummaryRequest": { + "base": null, + "refs": { + } + }, + "GetResourceEvaluationSummaryResponse": { + "base": null, + "refs": { + } + }, "GetStoredQueryRequest": { "base": null, "refs": { @@ -1811,6 +1892,11 @@ "GetAggregateDiscoveredResourceCountsResponse$GroupedResourceCounts": "

Returns a list of GroupedResourceCount objects.

" } }, + "IdempotentParameterMismatch": { + "base": "

Using the same client token with one or more different parameters. Specify a new client token with the parameter changes and try again.

", + "refs": { + } + }, "IncludeGlobalResourceTypes": { "base": null, "refs": { @@ -1979,6 +2065,22 @@ "refs": { } }, + "ListResourceEvaluationsPageItemLimit": { + "base": null, + "refs": { + "ListResourceEvaluationsRequest$Limit": "

The maximum number of evaluations returned on each page. The default is 10. You cannot specify a number greater than 100. If you specify 0, Config uses the default.

" + } + }, + "ListResourceEvaluationsRequest": { + "base": null, + "refs": { + } + }, + "ListResourceEvaluationsResponse": { + "base": null, + "refs": { + } + }, "ListStoredQueriesRequest": { "base": null, "refs": { @@ -2680,7 +2782,7 @@ } }, "RecordingGroup": { - "base": "

Specifies the types of Amazon Web Services resource for which Config records configuration changes.

In the recording group, you specify whether all supported types or specific types of resources are recorded.

By default, Config records configuration changes for all supported types of regional resources that Config discovers in the region in which it is running. Regional resources are tied to a region and can be used only in that region. Examples of regional resources are EC2 instances and EBS volumes.

You can also have Config record configuration changes for supported types of global resources (for example, IAM resources). Global resources are not tied to an individual region and can be used in all regions.

The configuration details for any global resource are the same in all regions. If you customize Config in multiple regions to record global resources, it will create multiple configuration items each time a global resource changes: one configuration item for each region. These configuration items will contain identical data. To prevent duplicate configuration items, you should consider customizing Config in only one region to record global resources, unless you want the configuration items to be available in multiple regions.

If you don't want Config to record all resources, you can specify which types of resources it will record with the resourceTypes parameter.

For a list of supported resource types, see Supported Resource Types.

For more information, see Selecting Which Resources Config Records.

", + "base": "

Specifies which Amazon Web Services resource types Config records for configuration changes. In the recording group, you specify whether you want to record all supported resource types or only specific types of resources.

By default, Config records the configuration changes for all supported types of regional resources that Config discovers in the region in which it is running. Regional resources are tied to a region and can be used only in that region. Examples of regional resources are EC2 instances and EBS volumes.

You can also have Config record supported types of global resources. Global resources are not tied to a specific region and can be used in all regions. The global resource types that Config supports include IAM users, groups, roles, and customer managed policies.

Global resource types onboarded to Config recording after February 2022 will only be recorded in the service's home region for the commercial partition and Amazon Web Services GovCloud (US) West for the GovCloud partition. You can view the Configuration Items for these new global resource types only in their home region and Amazon Web Services GovCloud (US) West.

Supported global resource types onboarded before February 2022 such as AWS::IAM::Group, AWS::IAM::Policy, AWS::IAM::Role, AWS::IAM::User remain unchanged, and they will continue to deliver Configuration Items in all supported regions in Config. The change will only affect new global resource types onboarded after February 2022.

To record global resource types onboarded after February 2022, enable All Supported Resource Types in the home region of the global resource type you want to record.

If you don't want Config to record all resources, you can specify which types of resources it will record with the resourceTypes parameter.

For a list of supported resource types, see Supported Resource Types.

For more information and a table of the Home Regions for Global Resource Types Onboarded after February 2022, see Selecting Which Resources Config Records.

", "refs": { "ConfigurationRecorder$recordingGroup": "

Specifies the types of Amazon Web Services resources for which Config records configuration changes.

" } @@ -2827,6 +2929,18 @@ "refs": { } }, + "ResourceConfiguration": { + "base": null, + "refs": { + "ResourceDetails$ResourceConfiguration": "

The resource definition to be evaluated as per the resource configuration schema type.

" + } + }, + "ResourceConfigurationSchemaType": { + "base": null, + "refs": { + "ResourceDetails$ResourceConfigurationSchemaType": "

The schema type of the resource configuration.

" + } + }, "ResourceCount": { "base": "

An object that contains the resource type and the number of resources.

", "refs": { @@ -2864,6 +2978,48 @@ "ResourceIdentifier$resourceDeletionTime": "

The time that the resource was deleted.

" } }, + "ResourceDetails": { + "base": "

Returns information about the resource being evaluated.

", + "refs": { + "GetResourceEvaluationSummaryResponse$ResourceDetails": "

Returns a ResourceDetails object.

", + "StartResourceEvaluationRequest$ResourceDetails": "

Returns a ResourceDetails object.

" + } + }, + "ResourceEvaluation": { + "base": "

Returns details of a resource evaluation.

", + "refs": { + "ResourceEvaluations$member": null + } + }, + "ResourceEvaluationFilters": { + "base": "

Returns details of a resource evaluation based on the selected filter.

", + "refs": { + "ListResourceEvaluationsRequest$Filters": "

Returns a ResourceEvaluationFilters object.

" + } + }, + "ResourceEvaluationId": { + "base": null, + "refs": { + "EvaluationResultIdentifier$ResourceEvaluationId": "

A Unique ID for an evaluation result.

", + "GetComplianceDetailsByResourceRequest$ResourceEvaluationId": "

The unique ID of Amazon Web Services resource execution for which you want to retrieve evaluation results.

You need to only provide either a ResourceEvaluationID or a ResourceID and ResourceType.

", + "GetResourceEvaluationSummaryRequest$ResourceEvaluationId": "

The unique ResourceEvaluationId of Amazon Web Services resource execution for which you want to retrieve the evaluation summary.

", + "GetResourceEvaluationSummaryResponse$ResourceEvaluationId": "

The unique ResourceEvaluationId of Amazon Web Services resource execution for which you want to retrieve the evaluation summary.

", + "ResourceEvaluation$ResourceEvaluationId": "

The ResourceEvaluationId of a evaluation.

", + "StartResourceEvaluationResponse$ResourceEvaluationId": "

A unique ResourceEvaluationId that is associated with a single execution.

" + } + }, + "ResourceEvaluationStatus": { + "base": null, + "refs": { + "EvaluationStatus$Status": "

The status of an execution. The valid values are In_Progress, Succeeded or Failed.

" + } + }, + "ResourceEvaluations": { + "base": null, + "refs": { + "ListResourceEvaluationsResponse$ResourceEvaluations": "

Returns a ResourceEvaluations object.

" + } + }, "ResourceFilters": { "base": "

Filters the results by resource account ID, region, resource ID, and resource name.

", "refs": { @@ -3171,6 +3327,16 @@ "refs": { } }, + "StartResourceEvaluationRequest": { + "base": null, + "refs": { + } + }, + "StartResourceEvaluationResponse": { + "base": null, + "refs": { + } + }, "StaticParameterValues": { "base": null, "refs": { @@ -3278,6 +3444,9 @@ "GetOrganizationConfigRuleDetailedStatusResponse$NextToken": "

The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.

", "GetOrganizationConformancePackDetailedStatusRequest$NextToken": "

The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.

", "GetOrganizationConformancePackDetailedStatusResponse$NextToken": "

The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.

", + "IdempotentParameterMismatch$message": null, + "ListResourceEvaluationsRequest$NextToken": "

The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.

", + "ListResourceEvaluationsResponse$NextToken": "

The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.

", "ListStoredQueriesRequest$NextToken": "

The nextToken string returned in a previous request that you use to request the next page of results in a paginated response.

", "ListStoredQueriesResponse$NextToken": "

If the previous paginated request didn't return all of the remaining results, the response object's NextToken parameter value is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

", "MemberAccountStatus$ErrorCode": "

An error code that is returned when Config rule creation or deletion failed in the member account.

", @@ -3302,6 +3471,7 @@ "base": null, "refs": { "ConfigRule$InputParameters": "

A string, in JSON format, that is passed to the Config rule Lambda function.

", + "EvaluationStatus$FailureReason": "

An explanation for failed execution status.

", "PutRemediationExceptionsRequest$Message": "

The message contains an explanation of the exception.

", "RemediationConfiguration$Arn": "

Amazon Resource Name (ARN) of remediation configuration.

", "RemediationConfiguration$CreatedByService": "

Name of the service that owns the service-linked rule, if applicable.

", @@ -3372,6 +3542,7 @@ "RemediationException$ResourceType": "

The type of a resource.

", "RemediationExceptionResourceKey$ResourceType": "

The type of a resource.

", "RemediationParameters$key": null, + "ResourceDetails$ResourceType": "

The type of resource being evaluated.

", "ResourceTypes$member": null, "ResourceTypesScope$member": null, "Scope$TagValue": "

The tag value applied to only those Amazon Web Services resources that you want to trigger an evaluation for the rule. If you specify a value for TagValue, you must also specify a value for TagKey.

", @@ -3503,6 +3674,12 @@ "PutConformancePackRequest$TemplateSSMDocumentDetails": "

An object of type TemplateSSMDocumentDetails, which contains the name or the Amazon Resource Name (ARN) of the Amazon Web Services Systems Manager document (SSM document) and the version of the SSM document that is used to create a conformance pack.

" } }, + "TimeWindow": { + "base": "

Filters evaluation results based on start and end times.

", + "refs": { + "ResourceEvaluationFilters$TimeWindow": "

Returns a TimeWindow object.

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

You have reached the limit of the number of tags you can use. For more information, see Service Limits in the Config Developer Guide.

", "refs": { diff --git a/models/apis/config/2014-11-12/endpoint-tests-1.json b/models/apis/config/2014-11-12/endpoint-tests-1.json index 194e924e194..ed49672b1a2 100644 --- a/models/apis/config/2014-11-12/endpoint-tests-1.json +++ b/models/apis/config/2014-11-12/endpoint-tests-1.json @@ -8,9 +8,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "ap-south-2", - "UseDualStack": true + "UseFIPS": true } }, { @@ -21,9 +21,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "ap-south-2", - "UseDualStack": false + "UseFIPS": true } }, { @@ -34,9 +34,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "ap-south-2", - "UseDualStack": true + "UseFIPS": false } }, { @@ -47,9 +47,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "ap-south-2", - "UseDualStack": false + "UseFIPS": false } }, { @@ -60,9 +60,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "ap-south-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -73,9 +73,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "ap-south-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -86,9 +86,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "ap-south-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -99,9 +99,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "ap-south-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -112,9 +112,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "eu-south-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -125,9 +125,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "eu-south-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -138,9 +138,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "eu-south-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -151,9 +151,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "eu-south-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -164,9 +164,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "eu-south-2", - "UseDualStack": true + "UseFIPS": true } }, { @@ -177,9 +177,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "eu-south-2", - "UseDualStack": false + "UseFIPS": true } }, { @@ -190,9 +190,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "eu-south-2", - "UseDualStack": true + "UseFIPS": false } }, { @@ -203,9 +203,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "eu-south-2", - "UseDualStack": false + "UseFIPS": false } }, { @@ -216,9 +216,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "us-gov-east-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -229,9 +229,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "us-gov-east-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -242,9 +242,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "us-gov-east-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -255,9 +255,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "us-gov-east-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -268,9 +268,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "me-central-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -281,9 +281,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "me-central-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -294,9 +294,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "me-central-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -307,9 +307,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "me-central-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -320,9 +320,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "ca-central-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -333,9 +333,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "ca-central-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -346,9 +346,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "ca-central-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -359,9 +359,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "ca-central-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -372,9 +372,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "eu-central-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -385,9 +385,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "eu-central-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -398,9 +398,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "eu-central-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -411,9 +411,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "eu-central-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -422,9 +422,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "us-iso-west-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -435,9 +435,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "us-iso-west-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -446,9 +446,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "us-iso-west-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -459,9 +459,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "us-iso-west-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -472,9 +472,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "eu-central-2", - "UseDualStack": true + "UseFIPS": true } }, { @@ -485,9 +485,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "eu-central-2", - "UseDualStack": false + "UseFIPS": true } }, { @@ -498,9 +498,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "eu-central-2", - "UseDualStack": true + "UseFIPS": false } }, { @@ -511,9 +511,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "eu-central-2", - "UseDualStack": false + "UseFIPS": false } }, { @@ -524,9 +524,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "us-west-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -537,9 +537,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "us-west-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -550,9 +550,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "us-west-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -563,9 +563,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "us-west-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -576,9 +576,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "us-west-2", - "UseDualStack": true + "UseFIPS": true } }, { @@ -589,9 +589,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "us-west-2", - "UseDualStack": false + "UseFIPS": true } }, { @@ -602,9 +602,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "us-west-2", - "UseDualStack": true + "UseFIPS": false } }, { @@ -615,9 +615,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "us-west-2", - "UseDualStack": false + "UseFIPS": false } }, { @@ -628,9 +628,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "af-south-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -641,9 +641,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "af-south-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -654,9 +654,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "af-south-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -667,9 +667,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "af-south-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -680,9 +680,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "eu-north-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -693,9 +693,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "eu-north-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -706,9 +706,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "eu-north-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -719,9 +719,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "eu-north-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -732,9 +732,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "eu-west-3", - "UseDualStack": true + "UseFIPS": true } }, { @@ -745,9 +745,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "eu-west-3", - "UseDualStack": false + "UseFIPS": true } }, { @@ -758,9 +758,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "eu-west-3", - "UseDualStack": true + "UseFIPS": false } }, { @@ -771,9 +771,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "eu-west-3", - "UseDualStack": false + "UseFIPS": false } }, { @@ -784,9 +784,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "eu-west-2", - "UseDualStack": true + "UseFIPS": true } }, { @@ -797,9 +797,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "eu-west-2", - "UseDualStack": false + "UseFIPS": true } }, { @@ -810,9 +810,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "eu-west-2", - "UseDualStack": true + "UseFIPS": false } }, { @@ -823,9 +823,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "eu-west-2", - "UseDualStack": false + "UseFIPS": false } }, { @@ -836,9 +836,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "eu-west-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -849,9 +849,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "eu-west-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -862,9 +862,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "eu-west-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -875,9 +875,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "eu-west-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -888,9 +888,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "ap-northeast-3", - "UseDualStack": true + "UseFIPS": true } }, { @@ -901,9 +901,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "ap-northeast-3", - "UseDualStack": false + "UseFIPS": true } }, { @@ -914,9 +914,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "ap-northeast-3", - "UseDualStack": true + "UseFIPS": false } }, { @@ -927,9 +927,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "ap-northeast-3", - "UseDualStack": false + "UseFIPS": false } }, { @@ -940,9 +940,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "ap-northeast-2", - "UseDualStack": true + "UseFIPS": true } }, { @@ -953,9 +953,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "ap-northeast-2", - "UseDualStack": false + "UseFIPS": true } }, { @@ -966,9 +966,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "ap-northeast-2", - "UseDualStack": true + "UseFIPS": false } }, { @@ -979,9 +979,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "ap-northeast-2", - "UseDualStack": false + "UseFIPS": false } }, { @@ -992,9 +992,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "ap-northeast-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -1005,9 +1005,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "ap-northeast-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -1018,9 +1018,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "ap-northeast-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -1031,9 +1031,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "ap-northeast-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -1044,9 +1044,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "me-south-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -1057,9 +1057,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "me-south-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -1070,9 +1070,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "me-south-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -1083,9 +1083,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "me-south-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -1096,9 +1096,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "sa-east-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -1109,9 +1109,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "sa-east-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -1122,9 +1122,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "sa-east-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -1135,9 +1135,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "sa-east-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -1148,9 +1148,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "ap-east-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -1161,9 +1161,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "ap-east-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -1174,9 +1174,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "ap-east-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -1187,9 +1187,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "ap-east-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -1200,9 +1200,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "cn-north-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -1213,9 +1213,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "cn-north-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -1226,9 +1226,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "cn-north-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -1239,9 +1239,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "cn-north-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -1252,9 +1252,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "us-gov-west-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -1265,9 +1265,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "us-gov-west-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -1278,9 +1278,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "us-gov-west-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -1291,9 +1291,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "us-gov-west-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -1304,9 +1304,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "ap-southeast-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -1317,9 +1317,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "ap-southeast-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -1330,9 +1330,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "ap-southeast-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -1343,9 +1343,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "ap-southeast-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -1356,9 +1356,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "ap-southeast-2", - "UseDualStack": true + "UseFIPS": true } }, { @@ -1369,9 +1369,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "ap-southeast-2", - "UseDualStack": false + "UseFIPS": true } }, { @@ -1382,9 +1382,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "ap-southeast-2", - "UseDualStack": true + "UseFIPS": false } }, { @@ -1395,9 +1395,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "ap-southeast-2", - "UseDualStack": false + "UseFIPS": false } }, { @@ -1406,9 +1406,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "us-iso-east-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -1419,9 +1419,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "us-iso-east-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -1430,9 +1430,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "us-iso-east-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -1443,9 +1443,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "us-iso-east-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -1456,9 +1456,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "ap-southeast-3", - "UseDualStack": true + "UseFIPS": true } }, { @@ -1469,9 +1469,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "ap-southeast-3", - "UseDualStack": false + "UseFIPS": true } }, { @@ -1482,9 +1482,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "ap-southeast-3", - "UseDualStack": true + "UseFIPS": false } }, { @@ -1495,9 +1495,61 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "ap-southeast-3", - "UseDualStack": false + "UseFIPS": false + } + }, + { + "documentation": "For region ap-southeast-4 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://config-fips.ap-southeast-4.api.aws" + } + }, + "params": { + "UseDualStack": true, + "Region": "ap-southeast-4", + "UseFIPS": true + } + }, + { + "documentation": "For region ap-southeast-4 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://config-fips.ap-southeast-4.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "Region": "ap-southeast-4", + "UseFIPS": true + } + }, + { + "documentation": "For region ap-southeast-4 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://config.ap-southeast-4.api.aws" + } + }, + "params": { + "UseDualStack": true, + "Region": "ap-southeast-4", + "UseFIPS": false + } + }, + { + "documentation": "For region ap-southeast-4 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://config.ap-southeast-4.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "Region": "ap-southeast-4", + "UseFIPS": false } }, { @@ -1508,9 +1560,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "us-east-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -1521,9 +1573,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "us-east-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -1534,9 +1586,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "us-east-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -1547,9 +1599,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "us-east-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -1560,9 +1612,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "us-east-2", - "UseDualStack": true + "UseFIPS": true } }, { @@ -1573,9 +1625,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "us-east-2", - "UseDualStack": false + "UseFIPS": true } }, { @@ -1586,9 +1638,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "us-east-2", - "UseDualStack": true + "UseFIPS": false } }, { @@ -1599,9 +1651,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "us-east-2", - "UseDualStack": false + "UseFIPS": false } }, { @@ -1612,9 +1664,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "cn-northwest-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -1625,9 +1677,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "cn-northwest-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -1638,9 +1690,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "cn-northwest-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -1651,9 +1703,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "cn-northwest-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -1662,9 +1714,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "us-isob-east-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -1675,9 +1727,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "us-isob-east-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -1686,9 +1738,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "us-isob-east-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -1699,9 +1751,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "us-isob-east-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -1712,9 +1764,9 @@ } }, "params": { - "UseFIPS": false, - "Region": "us-east-1", "UseDualStack": false, + "Region": "us-east-1", + "UseFIPS": false, "Endpoint": "https://example.com" } }, @@ -1724,9 +1776,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseFIPS": true, - "Region": "us-east-1", "UseDualStack": false, + "Region": "us-east-1", + "UseFIPS": true, "Endpoint": "https://example.com" } }, @@ -1736,9 +1788,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseFIPS": false, - "Region": "us-east-1", "UseDualStack": true, + "Region": "us-east-1", + "UseFIPS": false, "Endpoint": "https://example.com" } } diff --git a/models/apis/config/2014-11-12/paginators-1.json b/models/apis/config/2014-11-12/paginators-1.json index 734b875b890..c0dd0e8f896 100644 --- a/models/apis/config/2014-11-12/paginators-1.json +++ b/models/apis/config/2014-11-12/paginators-1.json @@ -197,6 +197,12 @@ "output_token": "nextToken", "result_key": "resourceIdentifiers" }, + "ListResourceEvaluations": { + "input_token": "NextToken", + "limit_key": "Limit", + "output_token": "NextToken", + "result_key": "ResourceEvaluations" + }, "ListStoredQueries": { "input_token": "NextToken", "limit_key": "MaxResults", diff --git a/models/apis/ec2/2016-11-15/api-2.json b/models/apis/ec2/2016-11-15/api-2.json index bc86e470a72..a23c89a9973 100755 --- a/models/apis/ec2/2016-11-15/api-2.json +++ b/models/apis/ec2/2016-11-15/api-2.json @@ -1847,6 +1847,15 @@ "input":{"shape":"DescribeAvailabilityZonesRequest"}, "output":{"shape":"DescribeAvailabilityZonesResult"} }, + "DescribeAwsNetworkPerformanceMetricSubscriptions":{ + "name":"DescribeAwsNetworkPerformanceMetricSubscriptions", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeAwsNetworkPerformanceMetricSubscriptionsRequest"}, + "output":{"shape":"DescribeAwsNetworkPerformanceMetricSubscriptionsResult"} + }, "DescribeBundleTasks":{ "name":"DescribeBundleTasks", "http":{ @@ -3068,6 +3077,15 @@ "input":{"shape":"DisableAddressTransferRequest"}, "output":{"shape":"DisableAddressTransferResult"} }, + "DisableAwsNetworkPerformanceMetricSubscription":{ + "name":"DisableAwsNetworkPerformanceMetricSubscription", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DisableAwsNetworkPerformanceMetricSubscriptionRequest"}, + "output":{"shape":"DisableAwsNetworkPerformanceMetricSubscriptionResult"} + }, "DisableEbsEncryptionByDefault":{ "name":"DisableEbsEncryptionByDefault", "http":{ @@ -3272,6 +3290,15 @@ "input":{"shape":"EnableAddressTransferRequest"}, "output":{"shape":"EnableAddressTransferResult"} }, + "EnableAwsNetworkPerformanceMetricSubscription":{ + "name":"EnableAwsNetworkPerformanceMetricSubscription", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"EnableAwsNetworkPerformanceMetricSubscriptionRequest"}, + "output":{"shape":"EnableAwsNetworkPerformanceMetricSubscriptionResult"} + }, "EnableEbsEncryptionByDefault":{ "name":"EnableEbsEncryptionByDefault", "http":{ @@ -3317,6 +3344,15 @@ "input":{"shape":"EnableIpamOrganizationAdminAccountRequest"}, "output":{"shape":"EnableIpamOrganizationAdminAccountResult"} }, + "EnableReachabilityAnalyzerOrganizationSharing":{ + "name":"EnableReachabilityAnalyzerOrganizationSharing", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"EnableReachabilityAnalyzerOrganizationSharingRequest"}, + "output":{"shape":"EnableReachabilityAnalyzerOrganizationSharingResult"} + }, "EnableSerialConsoleAccess":{ "name":"EnableSerialConsoleAccess", "http":{ @@ -3423,6 +3459,15 @@ "input":{"shape":"GetAssociatedIpv6PoolCidrsRequest"}, "output":{"shape":"GetAssociatedIpv6PoolCidrsResult"} }, + "GetAwsNetworkPerformanceData":{ + "name":"GetAwsNetworkPerformanceData", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetAwsNetworkPerformanceDataRequest"}, + "output":{"shape":"GetAwsNetworkPerformanceDataResult"} + }, "GetCapacityReservationUsage":{ "name":"GetCapacityReservationUsage", "http":{ @@ -5102,7 +5147,7 @@ "locationName":"dryRun" }, "VpcPeeringConnectionId":{ - "shape":"VpcPeeringConnectionId", + "shape":"VpcPeeringConnectionIdWithResolver", "locationName":"vpcPeeringConnectionId" } } @@ -6663,7 +6708,8 @@ "shape":"NetworkInterfaceId", "locationName":"networkInterfaceId" }, - "NetworkCardIndex":{"shape":"Integer"} + "NetworkCardIndex":{"shape":"Integer"}, + "EnaSrdSpecification":{"shape":"EnaSrdSpecification"} } }, "AttachNetworkInterfaceResult":{ @@ -6720,6 +6766,28 @@ } } }, + "AttachmentEnaSrdSpecification":{ + "type":"structure", + "members":{ + "EnaSrdEnabled":{ + "shape":"Boolean", + "locationName":"enaSrdEnabled" + }, + "EnaSrdUdpSpecification":{ + "shape":"AttachmentEnaSrdUdpSpecification", + "locationName":"enaSrdUdpSpecification" + } + } + }, + "AttachmentEnaSrdUdpSpecification":{ + "type":"structure", + "members":{ + "EnaSrdUdpEnabled":{ + "shape":"Boolean", + "locationName":"enaSrdUdpEnabled" + } + } + }, "AttachmentStatus":{ "type":"string", "enum":[ @@ -11600,6 +11668,61 @@ "max":1000, "min":5 }, + "DataQueries":{ + "type":"list", + "member":{"shape":"DataQuery"} + }, + "DataQuery":{ + "type":"structure", + "members":{ + "Id":{"shape":"String"}, + "Source":{"shape":"String"}, + "Destination":{"shape":"String"}, + "Metric":{"shape":"MetricType"}, + "Statistic":{"shape":"StatisticType"}, + "Period":{"shape":"PeriodType"} + } + }, + "DataResponse":{ + "type":"structure", + "members":{ + "Id":{ + "shape":"String", + "locationName":"id" + }, + "Source":{ + "shape":"String", + "locationName":"source" + }, + "Destination":{ + "shape":"String", + "locationName":"destination" + }, + "Metric":{ + "shape":"MetricType", + "locationName":"metric" + }, + "Statistic":{ + "shape":"StatisticType", + "locationName":"statistic" + }, + "Period":{ + "shape":"PeriodType", + "locationName":"period" + }, + "MetricPoints":{ + "shape":"MetricPoints", + "locationName":"metricPointSet" + } + } + }, + "DataResponses":{ + "type":"list", + "member":{ + "shape":"DataResponse", + "locationName":"item" + } + }, "DatafeedSubscriptionState":{ "type":"string", "enum":[ @@ -13238,6 +13361,31 @@ } } }, + "DescribeAwsNetworkPerformanceMetricSubscriptionsRequest":{ + "type":"structure", + "members":{ + "MaxResults":{"shape":"MaxResultsParam"}, + "NextToken":{"shape":"String"}, + "Filters":{ + "shape":"FilterList", + "locationName":"Filter" + }, + "DryRun":{"shape":"Boolean"} + } + }, + "DescribeAwsNetworkPerformanceMetricSubscriptionsResult":{ + "type":"structure", + "members":{ + "NextToken":{ + "shape":"String", + "locationName":"nextToken" + }, + "Subscriptions":{ + "shape":"SubscriptionList", + "locationName":"subscriptionSet" + } + } + }, "DescribeBundleTasksRequest":{ "type":"structure", "members":{ @@ -17681,6 +17829,25 @@ } } }, + "DisableAwsNetworkPerformanceMetricSubscriptionRequest":{ + "type":"structure", + "members":{ + "Source":{"shape":"String"}, + "Destination":{"shape":"String"}, + "Metric":{"shape":"MetricType"}, + "Statistic":{"shape":"StatisticType"}, + "DryRun":{"shape":"Boolean"} + } + }, + "DisableAwsNetworkPerformanceMetricSubscriptionResult":{ + "type":"structure", + "members":{ + "Output":{ + "shape":"Boolean", + "locationName":"output" + } + } + }, "DisableEbsEncryptionByDefaultRequest":{ "type":"structure", "members":{ @@ -18809,6 +18976,20 @@ } }, "ElasticIpAssociationId":{"type":"string"}, + "EnaSrdSpecification":{ + "type":"structure", + "members":{ + "EnaSrdEnabled":{"shape":"Boolean"}, + "EnaSrdUdpSpecification":{"shape":"EnaSrdUdpSpecification"} + } + }, + "EnaSrdSupported":{"type":"boolean"}, + "EnaSrdUdpSpecification":{ + "type":"structure", + "members":{ + "EnaSrdUdpEnabled":{"shape":"Boolean"} + } + }, "EnaSupport":{ "type":"string", "enum":[ @@ -18838,6 +19019,25 @@ } } }, + "EnableAwsNetworkPerformanceMetricSubscriptionRequest":{ + "type":"structure", + "members":{ + "Source":{"shape":"String"}, + "Destination":{"shape":"String"}, + "Metric":{"shape":"MetricType"}, + "Statistic":{"shape":"StatisticType"}, + "DryRun":{"shape":"Boolean"} + } + }, + "EnableAwsNetworkPerformanceMetricSubscriptionResult":{ + "type":"structure", + "members":{ + "Output":{ + "shape":"Boolean", + "locationName":"output" + } + } + }, "EnableEbsEncryptionByDefaultRequest":{ "type":"structure", "members":{ @@ -19084,6 +19284,21 @@ } } }, + "EnableReachabilityAnalyzerOrganizationSharingRequest":{ + "type":"structure", + "members":{ + "DryRun":{"shape":"Boolean"} + } + }, + "EnableReachabilityAnalyzerOrganizationSharingResult":{ + "type":"structure", + "members":{ + "ReturnValue":{ + "shape":"Boolean", + "locationName":"returnValue" + } + } + }, "EnableSerialConsoleAccessRequest":{ "type":"structure", "members":{ @@ -20721,6 +20936,33 @@ } } }, + "GetAwsNetworkPerformanceDataRequest":{ + "type":"structure", + "members":{ + "DataQueries":{ + "shape":"DataQueries", + "locationName":"DataQuery" + }, + "StartTime":{"shape":"MillisecondDateTime"}, + "EndTime":{"shape":"MillisecondDateTime"}, + "MaxResults":{"shape":"Integer"}, + "NextToken":{"shape":"String"}, + "DryRun":{"shape":"Boolean"} + } + }, + "GetAwsNetworkPerformanceDataResult":{ + "type":"structure", + "members":{ + "DataResponses":{ + "shape":"DataResponses", + "locationName":"dataResponseSet" + }, + "NextToken":{ + "shape":"String", + "locationName":"nextToken" + } + } + }, "GetCapacityReservationUsageRequest":{ "type":"structure", "required":["CapacityReservationId"], @@ -28176,6 +28418,11 @@ "MaxIpv6AddrPerInterface":{"type":"integer"}, "MaxNetworkInterfaces":{"type":"integer"}, "MaxResults":{"type":"integer"}, + "MaxResultsParam":{ + "type":"integer", + "max":100, + "min":0 + }, "MaximumBandwidthInMbps":{"type":"integer"}, "MaximumEfaInterfaces":{"type":"integer"}, "MaximumIops":{"type":"integer"}, @@ -28239,6 +28486,38 @@ } }, "MemorySize":{"type":"long"}, + "MetricPoint":{ + "type":"structure", + "members":{ + "StartDate":{ + "shape":"MillisecondDateTime", + "locationName":"startDate" + }, + "EndDate":{ + "shape":"MillisecondDateTime", + "locationName":"endDate" + }, + "Value":{ + "shape":"Float", + "locationName":"value" + }, + "Status":{ + "shape":"String", + "locationName":"status" + } + } + }, + "MetricPoints":{ + "type":"list", + "member":{ + "shape":"MetricPoint", + "locationName":"item" + } + }, + "MetricType":{ + "type":"string", + "enum":["aggregate-latency"] + }, "MillisecondDateTime":{"type":"timestamp"}, "ModifyAddressAttributeRequest":{ "type":"structure", @@ -29001,7 +29280,8 @@ "SourceDestCheck":{ "shape":"AttributeBooleanValue", "locationName":"sourceDestCheck" - } + }, + "EnaSrdSpecification":{"shape":"EnaSrdSpecification"} } }, "ModifyPrivateDnsNameOptionsRequest":{ @@ -30159,6 +30439,10 @@ "EncryptionInTransitSupported":{ "shape":"EncryptionInTransitSupported", "locationName":"encryptionInTransitSupported" + }, + "EnaSrdSupported":{ + "shape":"EnaSrdSupported", + "locationName":"enaSrdSupported" } } }, @@ -30298,6 +30582,10 @@ "shape":"NetworkInsightsPathId", "locationName":"networkInsightsPathId" }, + "AdditionalAccounts":{ + "shape":"ValueStringList", + "locationName":"additionalAccountSet" + }, "FilterInArns":{ "shape":"ArnList", "locationName":"filterInArnSet" @@ -30338,6 +30626,10 @@ "shape":"AlternatePathHintList", "locationName":"alternatePathHintSet" }, + "SuggestedAccounts":{ + "shape":"ValueStringList", + "locationName":"suggestedAccountSet" + }, "Tags":{ "shape":"TagList", "locationName":"tagSet" @@ -30387,6 +30679,14 @@ "shape":"String", "locationName":"destination" }, + "SourceArn":{ + "shape":"ResourceArn", + "locationName":"sourceArn" + }, + "DestinationArn":{ + "shape":"ResourceArn", + "locationName":"destinationArn" + }, "SourceIp":{ "shape":"IpAddress", "locationName":"sourceIp" @@ -30601,6 +30901,10 @@ "Status":{ "shape":"AttachmentStatus", "locationName":"status" + }, + "EnaSrdSpecification":{ + "shape":"AttachmentEnaSrdSpecification", + "locationName":"enaSrdSpecification" } } }, @@ -31198,6 +31502,17 @@ } } }, + "PeriodType":{ + "type":"string", + "enum":[ + "five-minutes", + "fifteen-minutes", + "one-hour", + "three-hours", + "one-day", + "one-week" + ] + }, "PermissionGroup":{ "type":"string", "enum":["all"] @@ -36909,6 +37224,10 @@ ], "members":{ "NetworkInsightsPathId":{"shape":"NetworkInsightsPathId"}, + "AdditionalAccounts":{ + "shape":"ValueStringList", + "locationName":"AdditionalAccount" + }, "FilterInArns":{ "shape":"ArnList", "locationName":"FilterInArn" @@ -36983,6 +37302,10 @@ "disable" ] }, + "StatisticType":{ + "type":"string", + "enum":["p50"] + }, "Status":{ "type":"string", "enum":[ @@ -37333,6 +37656,38 @@ "available" ] }, + "Subscription":{ + "type":"structure", + "members":{ + "Source":{ + "shape":"String", + "locationName":"source" + }, + "Destination":{ + "shape":"String", + "locationName":"destination" + }, + "Metric":{ + "shape":"MetricType", + "locationName":"metric" + }, + "Statistic":{ + "shape":"StatisticType", + "locationName":"statistic" + }, + "Period":{ + "shape":"PeriodType", + "locationName":"period" + } + } + }, + "SubscriptionList":{ + "type":"list", + "member":{ + "shape":"Subscription", + "locationName":"item" + } + }, "SuccessfulInstanceCreditSpecificationItem":{ "type":"structure", "members":{ @@ -40969,6 +41324,7 @@ "locationName":"item" } }, + "VpcPeeringConnectionIdWithResolver":{"type":"string"}, "VpcPeeringConnectionList":{ "type":"list", "member":{ diff --git a/models/apis/ec2/2016-11-15/docs-2.json b/models/apis/ec2/2016-11-15/docs-2.json index 3ebb2fd31ea..014a4d30b88 100755 --- a/models/apis/ec2/2016-11-15/docs-2.json +++ b/models/apis/ec2/2016-11-15/docs-2.json @@ -91,7 +91,7 @@ "CreateNetworkInterfacePermission": "

Grants an Amazon Web Services-authorized account permission to attach the specified network interface to an instance in their account.

You can grant permission to a single Amazon Web Services account only, and only one account at a time.

", "CreatePlacementGroup": "

Creates a placement group in which to launch instances. The strategy of the placement group determines how the instances are organized within the group.

A cluster placement group is a logical grouping of instances within a single Availability Zone that benefit from low network latency, high network throughput. A spread placement group places instances on distinct hardware. A partition placement group places groups of instances in different partitions, where instances in one partition do not share the same hardware with instances in another partition.

For more information, see Placement groups in the Amazon EC2 User Guide.

", "CreatePublicIpv4Pool": "

Creates a public IPv4 address pool. A public IPv4 pool is an EC2 IP address pool required for the public IPv4 CIDRs that you own and bring to Amazon Web Services to manage with IPAM. IPv6 addresses you bring to Amazon Web Services, however, use IPAM pools only. To monitor the status of pool creation, use DescribePublicIpv4Pools.

", - "CreateReplaceRootVolumeTask": "

Replaces the EBS-backed root volume for a running instance with a new volume that is restored to the original root volume's launch state, that is restored to a specific snapshot taken from the original root volume, or that is restored from an AMI that has the same key characteristics as that of the instance.

For more information, see Replace a root volume in the Amazon Elastic Compute Cloud User Guide.

", + "CreateReplaceRootVolumeTask": "

Replaces the EBS-backed root volume for a running instance with a new volume that is restored to the original root volume's launch state, that is restored to a specific snapshot taken from the original root volume, or that is restored from an AMI that has the same key characteristics as that of the instance.

For more information, see Replace a root volume in the Amazon Elastic Compute Cloud User Guide.

", "CreateReservedInstancesListing": "

Creates a listing for Amazon EC2 Standard Reserved Instances to be sold in the Reserved Instance Marketplace. You can submit one Standard Reserved Instance listing at a time. To get a list of your Standard Reserved Instances, you can use the DescribeReservedInstances operation.

Only Standard Reserved Instances can be sold in the Reserved Instance Marketplace. Convertible Reserved Instances cannot be sold.

The Reserved Instance Marketplace matches sellers who want to resell Standard Reserved Instance capacity that they no longer need with buyers who want to purchase additional capacity. Reserved Instances bought and sold through the Reserved Instance Marketplace work like any other Reserved Instances.

To sell your Standard Reserved Instances, you must first register as a seller in the Reserved Instance Marketplace. After completing the registration process, you can create a Reserved Instance Marketplace listing of some or all of your Standard Reserved Instances, and specify the upfront price to receive for them. Your Standard Reserved Instance listings then become available for purchase. To view the details of your Standard Reserved Instance listing, you can use the DescribeReservedInstancesListings operation.

For more information, see Reserved Instance Marketplace in the Amazon EC2 User Guide.

", "CreateRestoreImageTask": "

Starts a task that restores an AMI from an Amazon S3 object that was previously created by using CreateStoreImageTask.

To use this API, you must have the required permissions. For more information, see Permissions for storing and restoring AMIs using Amazon S3 in the Amazon Elastic Compute Cloud User Guide.

For more information, see Store and restore an AMI using Amazon S3 in the Amazon Elastic Compute Cloud User Guide.

", "CreateRoute": "

Creates a route in a route table within a VPC.

You must specify either a destination CIDR block or a prefix list ID. You must also specify exactly one of the resources from the parameter list.

When determining how to route traffic, we use the route with the most specific match. For example, traffic is destined for the IPv4 address 192.0.2.3, and the route table includes the following two IPv4 routes:

Both routes apply to the traffic destined for 192.0.2.3. However, the second route in the list covers a smaller number of IP addresses and is therefore more specific, so we use that route to determine where to target the traffic.

For more information about route tables, see Route tables in the Amazon Virtual Private Cloud User Guide.

", @@ -209,6 +209,7 @@ "DescribeAddressesAttribute": "

Describes the attributes of the specified Elastic IP addresses. For requirements, see Using reverse DNS for email applications.

", "DescribeAggregateIdFormat": "

Describes the longer ID format settings for all resource types in a specific Region. This request is useful for performing a quick audit to determine whether a specific Region is fully opted in for longer IDs (17-character IDs).

This request only returns information about resource types that support longer IDs.

The following resource types support longer IDs: bundle | conversion-task | customer-gateway | dhcp-options | elastic-ip-allocation | elastic-ip-association | export-task | flow-log | image | import-task | instance | internet-gateway | network-acl | network-acl-association | network-interface | network-interface-attachment | prefix-list | reservation | route-table | route-table-association | security-group | snapshot | subnet | subnet-cidr-block-association | volume | vpc | vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway.

", "DescribeAvailabilityZones": "

Describes the Availability Zones, Local Zones, and Wavelength Zones that are available to you. If there is an event impacting a zone, you can use this request to view the state and any provided messages for that zone.

For more information about Availability Zones, Local Zones, and Wavelength Zones, see Regions and zones in the Amazon Elastic Compute Cloud User Guide.

", + "DescribeAwsNetworkPerformanceMetricSubscriptions": "

Describes the curent Infrastructure Performance metric subscriptions.

", "DescribeBundleTasks": "

Describes the specified bundle tasks or all of your bundle tasks.

Completed bundle tasks are listed for only a limited time. If your bundle task is no longer in the list, you can still register an AMI from it. Just use RegisterImage with the Amazon S3 bucket name and image manifest name you provided to the bundle task.

", "DescribeByoipCidrs": "

Describes the IP address ranges that were specified in calls to ProvisionByoipCidr.

To describe the address pools that were created when you provisioned the address ranges, use DescribePublicIpv4Pools or DescribeIpv6Pools.

", "DescribeCapacityReservationFleets": "

Describes one or more Capacity Reservation Fleets.

", @@ -284,7 +285,7 @@ "DescribePrincipalIdFormat": "

Describes the ID format settings for the root user and all IAM roles and IAM users that have explicitly specified a longer ID (17-character ID) preference.

By default, all IAM roles and IAM users default to the same ID settings as the root user, unless they explicitly override the settings. This request is useful for identifying those IAM users and IAM roles that have overridden the default ID settings.

The following resource types support longer IDs: bundle | conversion-task | customer-gateway | dhcp-options | elastic-ip-allocation | elastic-ip-association | export-task | flow-log | image | import-task | instance | internet-gateway | network-acl | network-acl-association | network-interface | network-interface-attachment | prefix-list | reservation | route-table | route-table-association | security-group | snapshot | subnet | subnet-cidr-block-association | volume | vpc | vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway.

", "DescribePublicIpv4Pools": "

Describes the specified IPv4 address pools.

", "DescribeRegions": "

Describes the Regions that are enabled for your account, or all Regions.

For a list of the Regions supported by Amazon EC2, see Amazon Elastic Compute Cloud endpoints and quotas.

For information about enabling and disabling Regions for your account, see Managing Amazon Web Services Regions in the Amazon Web Services General Reference.

", - "DescribeReplaceRootVolumeTasks": "

Describes a root volume replacement task. For more information, see Replace a root volume in the Amazon Elastic Compute Cloud User Guide.

", + "DescribeReplaceRootVolumeTasks": "

Describes a root volume replacement task. For more information, see Replace a root volume in the Amazon Elastic Compute Cloud User Guide.

", "DescribeReservedInstances": "

Describes one or more of the Reserved Instances that you purchased.

For more information about Reserved Instances, see Reserved Instances in the Amazon EC2 User Guide.

", "DescribeReservedInstancesListings": "

Describes your account's Reserved Instance listings in the Reserved Instance Marketplace.

The Reserved Instance Marketplace matches sellers who want to resell Reserved Instance capacity that they no longer need with buyers who want to purchase additional capacity. Reserved Instances bought and sold through the Reserved Instance Marketplace work like any other Reserved Instances.

As a seller, you choose to list some or all of your Reserved Instances, and you specify the upfront price to receive for them. Your Reserved Instances are then listed in the Reserved Instance Marketplace and are available for purchase.

As a buyer, you specify the configuration of the Reserved Instance to purchase, and the Marketplace matches what you're searching for with what's available. The Marketplace first sells the lowest priced Reserved Instances to you, and continues to sell available Reserved Instance listings to you until your demand is met. You are charged based on the total price of all of the listings that you purchase.

For more information, see Reserved Instance Marketplace in the Amazon EC2 User Guide.

", "DescribeReservedInstancesModifications": "

Describes the modifications made to your Reserved Instances. If no parameter is specified, information about all your Reserved Instances modification requests is returned. If a modification ID is specified, only information about the specific modification is returned.

For more information, see Modifying Reserved Instances in the Amazon EC2 User Guide.

", @@ -345,6 +346,7 @@ "DetachVolume": "

Detaches an EBS volume from an instance. Make sure to unmount any file systems on the device within your operating system before detaching the volume. Failure to do so can result in the volume becoming stuck in the busy state while detaching. If this happens, detachment can be delayed indefinitely until you unmount the volume, force detachment, reboot the instance, or all three. If an EBS volume is the root device of an instance, it can't be detached while the instance is running. To detach the root volume, stop the instance first.

When a volume with an Amazon Web Services Marketplace product code is detached from an instance, the product code is no longer associated with the instance.

For more information, see Detach an Amazon EBS volume in the Amazon Elastic Compute Cloud User Guide.

", "DetachVpnGateway": "

Detaches a virtual private gateway from a VPC. You do this if you're planning to turn off the VPC and not use it anymore. You can confirm a virtual private gateway has been completely detached from a VPC by describing the virtual private gateway (any attachments to the virtual private gateway are also described).

You must wait for the attachment's state to switch to detached before you can delete the VPC or attach a different VPC to the virtual private gateway.

", "DisableAddressTransfer": "

Disables Elastic IP address transfer. For more information, see Transfer Elastic IP addresses in the Amazon Virtual Private Cloud User Guide.

", + "DisableAwsNetworkPerformanceMetricSubscription": "

Disables Infrastructure Performance metric subscriptions.

", "DisableEbsEncryptionByDefault": "

Disables EBS encryption by default for your account in the current Region.

After you disable encryption by default, you can still create encrypted volumes by enabling encryption when you create each volume.

Disabling encryption by default does not change the encryption status of your existing volumes.

For more information, see Amazon EBS encryption in the Amazon Elastic Compute Cloud User Guide.

", "DisableFastLaunch": "

Discontinue faster launching for a Windows AMI, and clean up existing pre-provisioned snapshots. When you disable faster launching, the AMI uses the standard launch process for each instance. All pre-provisioned snapshots must be removed before you can enable faster launching again.

To change these settings, you must own the AMI.

", "DisableFastSnapshotRestores": "

Disables fast snapshot restores for the specified snapshots in the specified Availability Zones.

", @@ -368,11 +370,13 @@ "DisassociateTrunkInterface": "

This API action is currently in limited preview only. If you are interested in using this feature, contact your account manager.

Removes an association between a branch network interface with a trunk network interface.

", "DisassociateVpcCidrBlock": "

Disassociates a CIDR block from a VPC. To disassociate the CIDR block, you must specify its association ID. You can get the association ID by using DescribeVpcs. You must detach or delete all gateways and resources that are associated with the CIDR block before you can disassociate it.

You cannot disassociate the CIDR block with which you originally created the VPC (the primary CIDR block).

", "EnableAddressTransfer": "

Enables Elastic IP address transfer. For more information, see Transfer Elastic IP addresses in the Amazon Virtual Private Cloud User Guide.

", + "EnableAwsNetworkPerformanceMetricSubscription": "

Enables Infrastructure Performance subscriptions.

", "EnableEbsEncryptionByDefault": "

Enables EBS encryption by default for your account in the current Region.

After you enable encryption by default, the EBS volumes that you create are always encrypted, either using the default KMS key or the KMS key that you specified when you created each volume. For more information, see Amazon EBS encryption in the Amazon Elastic Compute Cloud User Guide.

You can specify the default KMS key for encryption by default using ModifyEbsDefaultKmsKeyId or ResetEbsDefaultKmsKeyId.

Enabling encryption by default has no effect on the encryption status of your existing volumes.

After you enable encryption by default, you can no longer launch instances using instance types that do not support encryption. For more information, see Supported instance types.

", "EnableFastLaunch": "

When you enable faster launching for a Windows AMI, images are pre-provisioned, using snapshots to launch instances up to 65% faster. To create the optimized Windows image, Amazon EC2 launches an instance and runs through Sysprep steps, rebooting as required. Then it creates a set of reserved snapshots that are used for subsequent launches. The reserved snapshots are automatically replenished as they are used, depending on your settings for launch frequency.

To change these settings, you must own the AMI.

", "EnableFastSnapshotRestores": "

Enables fast snapshot restores for the specified snapshots in the specified Availability Zones.

You get the full benefit of fast snapshot restores after they enter the enabled state. To get the current state of fast snapshot restores, use DescribeFastSnapshotRestores. To disable fast snapshot restores, use DisableFastSnapshotRestores.

For more information, see Amazon EBS fast snapshot restore in the Amazon Elastic Compute Cloud User Guide.

", "EnableImageDeprecation": "

Enables deprecation of the specified AMI at the specified date and time.

For more information, see Deprecate an AMI in the Amazon Elastic Compute Cloud User Guide.

", "EnableIpamOrganizationAdminAccount": "

Enable an Organizations member account as the IPAM admin account. You cannot select the Organizations management account as the IPAM admin account. For more information, see Enable integration with Organizations in the Amazon VPC IPAM User Guide.

", + "EnableReachabilityAnalyzerOrganizationSharing": null, "EnableSerialConsoleAccess": "

Enables access to the EC2 serial console of all instances for your account. By default, access to the EC2 serial console is disabled for your account. For more information, see Manage account access to the EC2 serial console in the Amazon EC2 User Guide.

", "EnableTransitGatewayRouteTablePropagation": "

Enables the specified attachment to propagate routes to the specified propagation route table.

", "EnableVgwRoutePropagation": "

Enables a virtual private gateway (VGW) to propagate routes to the specified route table of a VPC.

", @@ -385,6 +389,7 @@ "ExportTransitGatewayRoutes": "

Exports routes from the specified transit gateway route table to the specified S3 bucket. By default, all routes are exported. Alternatively, you can filter by CIDR range.

The routes are saved to the specified bucket in a JSON file. For more information, see Export Route Tables to Amazon S3 in Transit Gateways.

", "GetAssociatedEnclaveCertificateIamRoles": "

Returns the IAM roles that are associated with the specified ACM (ACM) certificate. It also returns the name of the Amazon S3 bucket and the Amazon S3 object key where the certificate, certificate chain, and encrypted private key bundle are stored, and the ARN of the KMS key that's used to encrypt the private key.

", "GetAssociatedIpv6PoolCidrs": "

Gets information about the IPv6 CIDR block associations for a specified IPv6 address pool.

", + "GetAwsNetworkPerformanceData": "

Gets network performance data.

", "GetCapacityReservationUsage": "

Gets usage information about a Capacity Reservation. If the Capacity Reservation is shared, it shows usage information for the Capacity Reservation owner and each Amazon Web Services account that is currently using the shared capacity. If the Capacity Reservation is not shared, it shows only the Capacity Reservation owner's usage.

", "GetCoipPoolUsage": "

Describes the allocations from the specified customer-owned address pool.

", "GetConsoleOutput": "

Gets the console output for the specified instance. For Linux instances, the instance console output displays the exact console output that would normally be displayed on a physical monitor attached to a computer. For Windows instances, the instance console output includes the last three system event log errors.

By default, the console output returns buffered information that was posted shortly after an instance transition state (start, stop, reboot, or terminate). This information is available for at least one hour after the most recent post. Only the most recent 64 KB of console output is available.

You can optionally retrieve the latest serial console output at any time during the instance lifecycle. This option is supported on instance types that use the Nitro hypervisor.

For more information, see Instance console output in the Amazon EC2 User Guide.

", @@ -977,7 +982,7 @@ "AllocationStrategy": { "base": null, "refs": { - "SpotFleetRequestConfigData$AllocationStrategy": "

The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the Spot Fleet launch configuration. For more information, see Allocation strategies for Spot Instances in the Amazon EC2 User Guide.

lowestPrice - Spot Fleet launches instances from the lowest-price Spot Instance pool that has available capacity. If the cheapest pool doesn't have available capacity, the Spot Instances come from the next cheapest pool that has available capacity. If a pool runs out of capacity before fulfilling your desired capacity, Spot Fleet will continue to fulfill your request by drawing from the next cheapest pool. To ensure that your desired capacity is met, you might receive Spot Instances from several pools.

diversified - Spot Fleet launches instances from all of the Spot Instance pools that you specify.

capacityOptimized (recommended) - Spot Fleet launches instances from Spot Instance pools with optimal capacity for the number of instances that are launching. To give certain instance types a higher chance of launching first, use capacityOptimizedPrioritized. Set a priority for each instance type by using the Priority parameter for LaunchTemplateOverrides. You can assign the same priority to different LaunchTemplateOverrides. EC2 implements the priorities on a best-effort basis, but optimizes for capacity first. capacityOptimizedPrioritized is supported only if your Spot Fleet uses a launch template. Note that if the OnDemandAllocationStrategy is set to prioritized, the same priority is applied when fulfilling On-Demand capacity.

Default: lowestPrice

" + "SpotFleetRequestConfigData$AllocationStrategy": "

The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the Spot Fleet launch configuration. For more information, see Allocation strategies for Spot Instances in the Amazon EC2 User Guide.

priceCapacityOptimized (recommended)

Spot Fleet identifies the pools with the highest capacity availability for the number of instances that are launching. This means that we will request Spot Instances from the pools that we believe have the lowest chance of interruption in the near term. Spot Fleet then requests Spot Instances from the lowest priced of these pools.

capacityOptimized

Spot Fleet identifies the pools with the highest capacity availability for the number of instances that are launching. This means that we will request Spot Instances from the pools that we believe have the lowest chance of interruption in the near term. To give certain instance types a higher chance of launching first, use capacityOptimizedPrioritized. Set a priority for each instance type by using the Priority parameter for LaunchTemplateOverrides. You can assign the same priority to different LaunchTemplateOverrides. EC2 implements the priorities on a best-effort basis, but optimizes for capacity first. capacityOptimizedPrioritized is supported only if your Spot Fleet uses a launch template. Note that if the OnDemandAllocationStrategy is set to prioritized, the same priority is applied when fulfilling On-Demand capacity.

diversified

Spot Fleet requests instances from all of the Spot Instance pools that you specify.

lowestPrice

Spot Fleet requests instances from the lowest priced Spot Instance pool that has available capacity. If the lowest priced pool doesn't have available capacity, the Spot Instances come from the next lowest priced pool that has available capacity. If a pool runs out of capacity before fulfilling your desired capacity, Spot Fleet will continue to fulfill your request by drawing from the next lowest priced pool. To ensure that your desired capacity is met, you might receive Spot Instances from several pools. Because this strategy only considers instance price and not capacity availability, it might lead to high interruption rates.

Default: lowestPrice

" } }, "AllocationType": { @@ -1439,6 +1444,18 @@ "refs": { } }, + "AttachmentEnaSrdSpecification": { + "base": "

Describes the ENA Express configuration for the network interface that's attached to the instance.

", + "refs": { + "NetworkInterfaceAttachment$EnaSrdSpecification": "

Configures ENA Express for the network interface that this action attaches to the instance.

" + } + }, + "AttachmentEnaSrdUdpSpecification": { + "base": "

Describes the ENA Express configuration for UDP traffic on the network interface that's attached to the instance.

", + "refs": { + "AttachmentEnaSrdSpecification$EnaSrdUdpSpecification": "

ENA Express configuration for UDP network traffic.

" + } + }, "AttachmentStatus": { "base": null, "refs": { @@ -1774,6 +1791,8 @@ "AttachNetworkInterfaceRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "AttachVolumeRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "AttachVpnGatewayRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", + "AttachmentEnaSrdSpecification$EnaSrdEnabled": "

Indicates whether ENA Express is enabled for the network interface that's attached to the instance.

", + "AttachmentEnaSrdUdpSpecification$EnaSrdUdpEnabled": "

Indicates whether UDP traffic to and from the instance uses ENA Express. To specify this setting, you must first enable ENA Express.

", "AttributeBooleanValue$Value": "

The attribute value. The valid values are true or false.

", "AuthorizationRule$AccessAll": "

Indicates whether the authorization rule grants access to all clients.

", "AuthorizeClientVpnIngressRequest$AuthorizeAllGroups": "

Indicates whether to grant access to all clients. Specify true to grant all clients who successfully establish a VPN connection access to the network. Must be set to true if AccessGroupId is not specified.

", @@ -2000,6 +2019,7 @@ "DescribeAggregateIdFormatResult$UseLongIdsAggregated": "

Indicates whether all resource types in the Region are configured to use longer IDs. This value is only true if all users are configured to use longer IDs for all resources types in the Region.

", "DescribeAvailabilityZonesRequest$AllAvailabilityZones": "

Include all Availability Zones, Local Zones, and Wavelength Zones regardless of your opt-in status.

If you do not use this parameter, the results include only the zones for the Regions where you have chosen the option to opt in.

", "DescribeAvailabilityZonesRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", + "DescribeAwsNetworkPerformanceMetricSubscriptionsRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "DescribeBundleTasksRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "DescribeByoipCidrsRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "DescribeCapacityReservationFleetsRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", @@ -2136,6 +2156,8 @@ "DetachVolumeRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "DetachVpnGatewayRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "DisableAddressTransferRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", + "DisableAwsNetworkPerformanceMetricSubscriptionRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", + "DisableAwsNetworkPerformanceMetricSubscriptionResult$Output": "

Indicates whether the unsubscribe action was successful.

", "DisableEbsEncryptionByDefaultRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "DisableEbsEncryptionByDefaultResult$EbsEncryptionByDefault": "

The updated status of encryption by default.

", "DisableFastLaunchRequest$Force": "

Forces the image settings to turn off faster launching for your Windows AMI. This parameter overrides any errors that are encountered while cleaning up resources in your account.

", @@ -2168,7 +2190,11 @@ "EbsBlockDevice$Encrypted": "

Indicates whether the encryption state of an EBS volume is changed while being restored from a backing snapshot. The effect of setting the encryption state to true depends on the volume origin (new or from a snapshot), starting encryption state, ownership, and whether encryption by default is enabled. For more information, see Amazon EBS encryption in the Amazon EC2 User Guide.

In no case can you remove encryption from an encrypted volume.

Encrypted volumes can only be attached to instances that support Amazon EBS encryption. For more information, see Supported instance types.

This parameter is not returned by DescribeImageAttribute.

", "EbsInstanceBlockDevice$DeleteOnTermination": "

Indicates whether the volume is deleted on instance termination.

", "EbsInstanceBlockDeviceSpecification$DeleteOnTermination": "

Indicates whether the volume is deleted on instance termination.

", + "EnaSrdSpecification$EnaSrdEnabled": "

Indicates whether ENA Express is enabled for the network interface.

", + "EnaSrdUdpSpecification$EnaSrdUdpEnabled": "

Indicates whether UDP traffic uses ENA Express. To specify this setting, you must first enable ENA Express.

", "EnableAddressTransferRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", + "EnableAwsNetworkPerformanceMetricSubscriptionRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", + "EnableAwsNetworkPerformanceMetricSubscriptionResult$Output": "

Indicates whether the subscribe action was successful.

", "EnableEbsEncryptionByDefaultRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "EnableEbsEncryptionByDefaultResult$EbsEncryptionByDefault": "

The updated status of encryption by default.

", "EnableFastLaunchRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", @@ -2177,6 +2203,8 @@ "EnableImageDeprecationResult$Return": "

Returns true if the request succeeds; otherwise, it returns an error.

", "EnableIpamOrganizationAdminAccountRequest$DryRun": "

A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "EnableIpamOrganizationAdminAccountResult$Success": "

The result of enabling the IPAM account.

", + "EnableReachabilityAnalyzerOrganizationSharingRequest$DryRun": null, + "EnableReachabilityAnalyzerOrganizationSharingResult$ReturnValue": null, "EnableSerialConsoleAccessRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "EnableSerialConsoleAccessResult$SerialConsoleAccessEnabled": "

If true, access to the EC2 serial console of all instances is enabled for your account. If false, access to the EC2 serial console of all instances is disabled for your account.

", "EnableTransitGatewayRouteTablePropagationRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", @@ -2198,6 +2226,7 @@ "FpgaImage$DataRetentionSupport": "

Indicates whether data retention support is enabled for the AFI.

", "GetAssociatedEnclaveCertificateIamRolesRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "GetAssociatedIpv6PoolCidrsRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", + "GetAwsNetworkPerformanceDataRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "GetCapacityReservationUsageRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "GetCoipPoolUsageRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "GetConsoleOutputRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", @@ -3385,8 +3414,8 @@ "base": "

Describes a customer-owned address pool.

", "refs": { "CoipPoolSet$member": null, - "CreateCoipPoolResult$CoipPool": null, - "DeleteCoipPoolResult$CoipPool": null + "CreateCoipPoolResult$CoipPool": "

Information about the CoIP address pool.

", + "DeleteCoipPoolResult$CoipPool": "

Information about the CoIP address pool.

" } }, "CoipPoolId": { @@ -4486,6 +4515,30 @@ "DescribeInstanceTypeOfferingsRequest$MaxResults": "

The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the next token value.

" } }, + "DataQueries": { + "base": null, + "refs": { + "GetAwsNetworkPerformanceDataRequest$DataQueries": "

A list of network performance data queries.

" + } + }, + "DataQuery": { + "base": "

A query used for retrieving network health data.

", + "refs": { + "DataQueries$member": null + } + }, + "DataResponse": { + "base": "

The response to a DataQuery.

", + "refs": { + "DataResponses$member": null + } + }, + "DataResponses": { + "base": null, + "refs": { + "GetAwsNetworkPerformanceDataResult$DataResponses": "

The list of data responses.

" + } + }, "DatafeedSubscriptionState": { "base": null, "refs": { @@ -5456,6 +5509,16 @@ "refs": { } }, + "DescribeAwsNetworkPerformanceMetricSubscriptionsRequest": { + "base": null, + "refs": { + } + }, + "DescribeAwsNetworkPerformanceMetricSubscriptionsResult": { + "base": null, + "refs": { + } + }, "DescribeBundleTasksRequest": { "base": null, "refs": { @@ -7187,6 +7250,16 @@ "refs": { } }, + "DisableAwsNetworkPerformanceMetricSubscriptionRequest": { + "base": null, + "refs": { + } + }, + "DisableAwsNetworkPerformanceMetricSubscriptionResult": { + "base": null, + "refs": { + } + }, "DisableEbsEncryptionByDefaultRequest": { "base": null, "refs": { @@ -7838,6 +7911,25 @@ "DisassociateAddressRequest$AssociationId": "

[EC2-VPC] The association ID. Required for EC2-VPC.

" } }, + "EnaSrdSpecification": { + "base": "

ENA Express uses Amazon Web Services Scalable Reliable Datagram (SRD) technology to increase the maximum bandwidth used per stream and minimize tail latency of network traffic between EC2 instances. With ENA Express, you can communicate between two EC2 instances in the same subnet within the same account, or in different accounts. Both sending and receiving instances must have ENA Express enabled.

To improve the reliability of network packet delivery, ENA Express reorders network packets on the receiving end by default. However, some UDP-based applications are designed to handle network packets that are out of order to reduce the overhead for packet delivery at the network layer. When ENA Express is enabled, you can specify whether UDP network traffic uses it.

", + "refs": { + "AttachNetworkInterfaceRequest$EnaSrdSpecification": "

Configures ENA Express for the network interface that this action attaches to the instance.

", + "ModifyNetworkInterfaceAttributeRequest$EnaSrdSpecification": "

Updates the ENA Express configuration for the network interface that’s attached to the instance.

" + } + }, + "EnaSrdSupported": { + "base": null, + "refs": { + "NetworkInfo$EnaSrdSupported": "

Indicates whether the instance type supports ENA Express. ENA Express uses Amazon Web Services Scalable Reliable Datagram (SRD) technology to increase the maximum bandwidth used per stream and minimize tail latency of network traffic between EC2 instances.

" + } + }, + "EnaSrdUdpSpecification": { + "base": "

ENA Express is compatible with both TCP and UDP transport protocols. When it’s enabled, TCP traffic automatically uses it. However, some UDP-based applications are designed to handle network packets that are out of order, without a need for retransmission, such as live video broadcasting or other near-real-time applications. For UDP traffic, you can specify whether to use ENA Express, based on your application environment needs.

", + "refs": { + "EnaSrdSpecification$EnaSrdUdpSpecification": "

Configures ENA Express for UDP network traffic.

" + } + }, "EnaSupport": { "base": null, "refs": { @@ -7854,6 +7946,16 @@ "refs": { } }, + "EnableAwsNetworkPerformanceMetricSubscriptionRequest": { + "base": null, + "refs": { + } + }, + "EnableAwsNetworkPerformanceMetricSubscriptionResult": { + "base": null, + "refs": { + } + }, "EnableEbsEncryptionByDefaultRequest": { "base": null, "refs": { @@ -7946,6 +8048,16 @@ "refs": { } }, + "EnableReachabilityAnalyzerOrganizationSharingRequest": { + "base": null, + "refs": { + } + }, + "EnableReachabilityAnalyzerOrganizationSharingResult": { + "base": null, + "refs": { + } + }, "EnableSerialConsoleAccessRequest": { "base": null, "refs": { @@ -8338,6 +8450,7 @@ "refs": { "DescribeAddressesRequest$Filters": "

One or more filters. Filter names and values are case-sensitive.

", "DescribeAvailabilityZonesRequest$Filters": "

The filters.

", + "DescribeAwsNetworkPerformanceMetricSubscriptionsRequest$Filters": "

One or more filters.

", "DescribeBundleTasksRequest$Filters": "

The filters.

", "DescribeCapacityReservationFleetsRequest$Filters": "

One or more filters.

", "DescribeCapacityReservationsRequest$Filters": "

One or more filters.

", @@ -8441,8 +8554,8 @@ "DescribeVpcEndpointConnectionsRequest$Filters": "

One or more filters.

", "DescribeVpcEndpointServiceConfigurationsRequest$Filters": "

One or more filters.

", "DescribeVpcEndpointServicePermissionsRequest$Filters": "

One or more filters.

", - "DescribeVpcEndpointServicesRequest$Filters": "

One or more filters.

", - "DescribeVpcEndpointsRequest$Filters": "

One or more filters.

", + "DescribeVpcEndpointServicesRequest$Filters": "

One or more filters.

", + "DescribeVpcEndpointsRequest$Filters": "

One or more filters.

", "DescribeVpcPeeringConnectionsRequest$Filters": "

One or more filters.

", "DescribeVpcsRequest$Filters": "

One or more filters.

", "DescribeVpnConnectionsRequest$Filters": "

One or more filters.

", @@ -8683,6 +8796,7 @@ "Float": { "base": null, "refs": { + "MetricPoint$Value": null, "ReservedInstances$FixedPrice": "

The purchase price of the Reserved Instance.

", "ReservedInstances$UsagePrice": "

The usage price of the Reserved Instance, per hour.

", "ReservedInstancesOffering$FixedPrice": "

The purchase price of the Reserved Instance.

", @@ -8875,6 +8989,16 @@ "refs": { } }, + "GetAwsNetworkPerformanceDataRequest": { + "base": null, + "refs": { + } + }, + "GetAwsNetworkPerformanceDataResult": { + "base": null, + "refs": { + } + }, "GetCapacityReservationUsageRequest": { "base": null, "refs": { @@ -10809,6 +10933,7 @@ "FleetSpotCapacityRebalance$TerminationDelay": "

The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot Instance after launching a new replacement Spot Instance.

Required when ReplacementStrategy is set to launch-before-terminate.

Not valid when ReplacementStrategy is set to launch.

Valid values: Minimum value of 120 seconds. Maximum value of 7200 seconds.

", "FleetSpotCapacityRebalanceRequest$TerminationDelay": "

The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot Instance after launching a new replacement Spot Instance.

Required when ReplacementStrategy is set to launch-before-terminate.

Not valid when ReplacementStrategy is set to launch.

Valid values: Minimum value of 120 seconds. Maximum value of 7200 seconds.

", "FlowLog$MaxAggregationInterval": "

The maximum interval of time, in seconds, during which a flow of packets is captured and aggregated into a flow log record.

When a network interface is attached to a Nitro-based instance, the aggregation interval is always 60 seconds (1 minute) or less, regardless of the specified value.

Valid Values: 60 | 600

", + "GetAwsNetworkPerformanceDataRequest$MaxResults": "

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

", "GetCapacityReservationUsageResult$TotalInstanceCount": "

The number of instances for which the Capacity Reservation reserves capacity.

", "GetCapacityReservationUsageResult$AvailableInstanceCount": "

The remaining capacity. Indicates the number of instances that can be launched in the Capacity Reservation.

", "GetInstanceTypesFromInstanceRequirementsRequest$MaxResults": "

The maximum number of results to return in a single call. Specify a value between 1 and
 1000. The default value is 1000. To retrieve the remaining results, make another call with
 the returned NextToken value.

", @@ -10924,7 +11049,7 @@ "Phase1DHGroupNumbersRequestListValue$Value": "

The Diffie-Hellmann group number.

", "Phase2DHGroupNumbersListValue$Value": "

The Diffie-Hellmann group number.

", "Phase2DHGroupNumbersRequestListValue$Value": "

The Diffie-Hellmann group number.

", - "Placement$PartitionNumber": "

The number of the partition that the instance is in. Valid only if the placement group strategy is set to partition.

This parameter is not supported by CreateFleet.

", + "Placement$PartitionNumber": "

The number of the partition that the instance is in. Valid only if the placement group strategy is set to partition.

This parameter is not supported for CreateFleet.

", "PlacementGroup$PartitionCount": "

The number of partitions. Valid only if strategy is set to partition.

", "PortRange$From": "

The first port in the range.

", "PortRange$To": "

The last port in the range.

", @@ -12404,7 +12529,7 @@ "CreateLocalGatewayRouteResult$Route": "

Information about the route.

", "DeleteLocalGatewayRouteResult$Route": "

Information about the route.

", "LocalGatewayRouteList$member": null, - "ModifyLocalGatewayRouteResult$Route": null + "ModifyLocalGatewayRouteResult$Route": "

Information about the local gateway route table.

" } }, "LocalGatewayRouteList": { @@ -12422,8 +12547,8 @@ "LocalGatewayRouteTable": { "base": "

Describes a local gateway route table.

", "refs": { - "CreateLocalGatewayRouteTableResult$LocalGatewayRouteTable": null, - "DeleteLocalGatewayRouteTableResult$LocalGatewayRouteTable": null, + "CreateLocalGatewayRouteTableResult$LocalGatewayRouteTable": "

Information about the local gateway route table.

", + "DeleteLocalGatewayRouteTableResult$LocalGatewayRouteTable": "

Information about the local gateway route table.

", "LocalGatewayRouteTableSet$member": null } }, @@ -12449,8 +12574,8 @@ "LocalGatewayRouteTableVirtualInterfaceGroupAssociation": { "base": "

Describes an association between a local gateway route table and a virtual interface group.

", "refs": { - "CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult$LocalGatewayRouteTableVirtualInterfaceGroupAssociation": null, - "DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult$LocalGatewayRouteTableVirtualInterfaceGroupAssociation": null, + "CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult$LocalGatewayRouteTableVirtualInterfaceGroupAssociation": "

Information about the local gateway route table virtual interface group association.

", + "DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult$LocalGatewayRouteTableVirtualInterfaceGroupAssociation": "

Information about the association.

", "LocalGatewayRouteTableVirtualInterfaceGroupAssociationSet$member": null } }, @@ -12711,6 +12836,12 @@ "SearchLocalGatewayRoutesRequest$MaxResults": "

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

" } }, + "MaxResultsParam": { + "base": null, + "refs": { + "DescribeAwsNetworkPerformanceMetricSubscriptionsRequest$MaxResults": "

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

" + } + }, "MaximumBandwidthInMbps": { "base": null, "refs": { @@ -12784,6 +12915,28 @@ "MemoryInfo$SizeInMiB": "

The size of the memory, in MiB.

" } }, + "MetricPoint": { + "base": "

Indicates whether the network was healthy or unhealthy at a particular point. The value is aggregated from the startDate to the endDate. Currently only five_minutes is supported.

", + "refs": { + "MetricPoints$member": null + } + }, + "MetricPoints": { + "base": null, + "refs": { + "DataResponse$MetricPoints": "

A list of MetricPoint objects.

" + } + }, + "MetricType": { + "base": null, + "refs": { + "DataQuery$Metric": "

The aggregation metric used for the data query. Currently only aggregation-latency is supported, indicating network latency.

", + "DataResponse$Metric": "

The metric used for the network performance request. Currently only aggregate-latency is supported, showing network latency during a specified period.

", + "DisableAwsNetworkPerformanceMetricSubscriptionRequest$Metric": "

The metric used for the disabled subscription.

", + "EnableAwsNetworkPerformanceMetricSubscriptionRequest$Metric": "

The metric used for the enabled subscription.

", + "Subscription$Metric": "

The metric used for the subscription.

" + } + }, "MillisecondDateTime": { "base": null, "refs": { @@ -12822,6 +12975,8 @@ "EnableImageDeprecationRequest$DeprecateAt": "

The date and time to deprecate the AMI, in UTC, in the following format: YYYY-MM-DDTHH:MM:SSZ. If you specify a value for seconds, Amazon EC2 rounds the seconds to the nearest minute.

You can’t specify a date in the past. The upper limit for DeprecateAt is 10 years from now, except for public AMIs, where the upper limit is 2 years from the creation date.

", "FleetCapacityReservation$CreateDate": "

The date and time at which the Capacity Reservation was created.

", "FlowLog$CreationTime": "

The date and time the flow log was created.

", + "GetAwsNetworkPerformanceDataRequest$StartTime": "

The starting time for the performance data request. The starting time must be formatted as yyyy-mm-ddThh:mm:ss. For example, 2022-06-10T12:00:00.000Z.

", + "GetAwsNetworkPerformanceDataRequest$EndTime": "

The ending time for the performance data request. The end time must be formatted as yyyy-mm-ddThh:mm:ss. For example, 2022-06-12T12:00:00.000Z.

", "GetIpamAddressHistoryRequest$StartTime": "

The start of the time period for which you are looking for history. If you omit this option, it will default to the value of EndTime.

", "GetIpamAddressHistoryRequest$EndTime": "

The end of the time period for which you are looking for history. If you omit this option, it will default to the current time.

", "ImageRecycleBinInfo$RecycleBinEnterTime": "

The date and time when the AMI entered the Recycle Bin.

", @@ -12830,6 +12985,8 @@ "IpamAddressHistoryRecord$SampledStartTime": "

Sampled start time of the resource-to-CIDR association within the IPAM scope. Changes are picked up in periodic snapshots, so the start time may have occurred before this specific time.

", "IpamAddressHistoryRecord$SampledEndTime": "

Sampled end time of the resource-to-CIDR association within the IPAM scope. Changes are picked up in periodic snapshots, so the end time may have occurred before this specific time.

", "KeyPairInfo$CreateTime": "

If you used Amazon EC2 to create the key pair, this is the date and time when the key was created, in ISO 8601 date-time format, in the UTC time zone.

If you imported an existing key pair to Amazon EC2, this is the date and time the key was imported, in ISO 8601 date-time format, in the UTC time zone.

", + "MetricPoint$StartDate": "

The start date for the metric point. The starting date for the metric point. The starting time must be formatted as yyyy-mm-ddThh:mm:ss. For example, 2022-06-10T12:00:00.000Z.

", + "MetricPoint$EndDate": "

The end date for the metric point. The ending time must be formatted as yyyy-mm-ddThh:mm:ss. For example, 2022-06-12T12:00:00.000Z.

", "ModifyCapacityReservationFleetRequest$EndDate": "

The date and time at which the Capacity Reservation Fleet expires. When the Capacity Reservation Fleet expires, its state changes to expired and all of the Capacity Reservations in the Fleet expire.

The Capacity Reservation Fleet expires within an hour after the specified time. For example, if you specify 5/31/2019, 13:30:55, the Capacity Reservation Fleet is guaranteed to expire between 13:30:55 and 14:30:55 on 5/31/2019.

You can't specify EndDate and RemoveEndDate in the same request.

", "ModifySnapshotTierResult$TieringStartTime": "

The date and time when the archive process was started.

", "NetworkInsightsAccessScope$CreatedDate": "

The creation date.

", @@ -13785,7 +13942,7 @@ "NetworkInterfaceAttachmentChanges": { "base": "

Describes an attachment change.

", "refs": { - "ModifyNetworkInterfaceAttributeRequest$Attachment": "

Information about the interface attachment. If modifying the 'delete on termination' attribute, you must specify the ID of the interface attachment.

" + "ModifyNetworkInterfaceAttributeRequest$Attachment": "

Information about the interface attachment. If modifying the delete on termination attribute, you must specify the ID of the interface attachment.

" } }, "NetworkInterfaceAttachmentId": { @@ -14210,6 +14367,14 @@ "TransitGatewayPeeringAttachment$AccepterTgwInfo": "

Information about the accepter transit gateway.

" } }, + "PeriodType": { + "base": null, + "refs": { + "DataQuery$Period": "

The aggregation period used for the data query.

", + "DataResponse$Period": "

The period used for the network performance request.

", + "Subscription$Period": "

The data aggregation time for the subscription.

" + } + }, "PermissionGroup": { "base": null, "refs": { @@ -14398,7 +14563,7 @@ "LaunchTemplatePlacement$GroupId": "

The Group ID of the placement group. You must specify the Placement Group Group ID to launch an instance in a shared placement group.

", "LaunchTemplatePlacementRequest$GroupId": "

The Group Id of a placement group. You must specify the Placement Group Group Id to launch an instance in a shared placement group.

", "ModifyInstancePlacementRequest$GroupId": "

The Group Id of a placement group. You must specify the Placement Group Group Id to launch an instance in a shared placement group.

", - "Placement$GroupId": "

The Group Id of the placement group.

", + "Placement$GroupId": "

The ID of the placement group that the instance is in. If you specify GroupId, you can't specify GroupName.

", "PlacementGroupIdStringList$member": null } }, @@ -14426,7 +14591,7 @@ "DeletePlacementGroupRequest$GroupName": "

The name of the placement group.

", "LaunchTemplatePlacementRequest$GroupName": "

The name of the placement group for the instance.

", "ModifyInstancePlacementRequest$GroupName": "

The name of the placement group in which to place the instance. For spread placement groups, the instance must have a tenancy of default. For cluster and partition placement groups, the instance must have a tenancy of default or dedicated.

To remove an instance from a placement group, specify an empty string (\"\").

", - "Placement$GroupName": "

The name of the placement group the instance is in.

", + "Placement$GroupName": "

The name of the placement group that the instance is in. If you specify GroupName, you can't specify GroupId.

", "PlacementGroupStringList$member": null, "PlacementResponse$GroupName": "

The name of the placement group that the instance is in.

", "ScheduledInstancesPlacement$GroupName": "

The name of the placement group.

", @@ -15682,7 +15847,9 @@ "NetworkInsightsAccessScope$NetworkInsightsAccessScopeArn": "

The Amazon Resource Name (ARN) of the Network Access Scope.

", "NetworkInsightsAccessScopeAnalysis$NetworkInsightsAccessScopeAnalysisArn": "

The Amazon Resource Name (ARN) of the Network Access Scope analysis.

", "NetworkInsightsAnalysis$NetworkInsightsAnalysisArn": "

The Amazon Resource Name (ARN) of the network insights analysis.

", - "NetworkInsightsPath$NetworkInsightsPathArn": "

The Amazon Resource Name (ARN) of the path.

" + "NetworkInsightsPath$NetworkInsightsPathArn": "

The Amazon Resource Name (ARN) of the path.

", + "NetworkInsightsPath$SourceArn": null, + "NetworkInsightsPath$DestinationArn": null } }, "ResourceIdList": { @@ -16532,8 +16699,8 @@ "SpotAllocationStrategy": { "base": null, "refs": { - "SpotOptions$AllocationStrategy": "

The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the EC2 Fleet launch configuration. For more information, see Allocation strategies for Spot Instances in the Amazon EC2 User Guide.

lowest-price - EC2 Fleet launches instances from the lowest-price Spot Instance pool that has available capacity. If the cheapest pool doesn't have available capacity, the Spot Instances come from the next cheapest pool that has available capacity. If a pool runs out of capacity before fulfilling your desired capacity, EC2 Fleet will continue to fulfill your request by drawing from the next cheapest pool. To ensure that your desired capacity is met, you might receive Spot Instances from several pools.

diversified - EC2 Fleet launches instances from all of the Spot Instance pools that you specify.

capacity-optimized (recommended) - EC2 Fleet launches instances from Spot Instance pools with optimal capacity for the number of instances that are launching. To give certain instance types a higher chance of launching first, use capacity-optimized-prioritized. Set a priority for each instance type by using the Priority parameter for LaunchTemplateOverrides. You can assign the same priority to different LaunchTemplateOverrides. EC2 implements the priorities on a best-effort basis, but optimizes for capacity first. capacity-optimized-prioritized is supported only if your fleet uses a launch template. Note that if the On-Demand AllocationStrategy is set to prioritized, the same priority is applied when fulfilling On-Demand capacity.

Default: lowest-price

", - "SpotOptionsRequest$AllocationStrategy": "

The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the EC2 Fleet launch configuration. For more information, see Allocation strategies for Spot Instances in the Amazon EC2 User Guide.

lowest-price - EC2 Fleet launches instances from the lowest-price Spot Instance pool that has available capacity. If the cheapest pool doesn't have available capacity, the Spot Instances come from the next cheapest pool that has available capacity. If a pool runs out of capacity before fulfilling your desired capacity, EC2 Fleet will continue to fulfill your request by drawing from the next cheapest pool. To ensure that your desired capacity is met, you might receive Spot Instances from several pools.

diversified - EC2 Fleet launches instances from all of the Spot Instance pools that you specify.

capacity-optimized (recommended) - EC2 Fleet launches instances from Spot Instance pools with optimal capacity for the number of instances that are launching. To give certain instance types a higher chance of launching first, use capacity-optimized-prioritized. Set a priority for each instance type by using the Priority parameter for LaunchTemplateOverrides. You can assign the same priority to different LaunchTemplateOverrides. EC2 implements the priorities on a best-effort basis, but optimizes for capacity first. capacity-optimized-prioritized is supported only if your fleet uses a launch template. Note that if the On-Demand AllocationStrategy is set to prioritized, the same priority is applied when fulfilling On-Demand capacity.

Default: lowest-price

" + "SpotOptions$AllocationStrategy": "

The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the EC2 Fleet launch configuration. For more information, see Allocation strategies for Spot Instances in the Amazon EC2 User Guide.

price-capacity-optimized (recommended)

EC2 Fleet identifies the pools with the highest capacity availability for the number of instances that are launching. This means that we will request Spot Instances from the pools that we believe have the lowest chance of interruption in the near term. EC2 Fleet then requests Spot Instances from the lowest priced of these pools.

capacity-optimized

EC2 Fleet identifies the pools with the highest capacity availability for the number of instances that are launching. This means that we will request Spot Instances from the pools that we believe have the lowest chance of interruption in the near term. To give certain instance types a higher chance of launching first, use capacity-optimized-prioritized. Set a priority for each instance type by using the Priority parameter for LaunchTemplateOverrides. You can assign the same priority to different LaunchTemplateOverrides. EC2 implements the priorities on a best-effort basis, but optimizes for capacity first. capacity-optimized-prioritized is supported only if your EC2 Fleet uses a launch template. Note that if the On-Demand AllocationStrategy is set to prioritized, the same priority is applied when fulfilling On-Demand capacity.

diversified

EC2 Fleet requests instances from all of the Spot Instance pools that you specify.

lowest-price

EC2 Fleet requests instances from the lowest priced Spot Instance pool that has available capacity. If the lowest priced pool doesn't have available capacity, the Spot Instances come from the next lowest priced pool that has available capacity. If a pool runs out of capacity before fulfilling your desired capacity, EC2 Fleet will continue to fulfill your request by drawing from the next lowest priced pool. To ensure that your desired capacity is met, you might receive Spot Instances from several pools. Because this strategy only considers instance price and not capacity availability, it might lead to high interruption rates.

Default: lowest-price

", + "SpotOptionsRequest$AllocationStrategy": "

The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the EC2 Fleet launch configuration. For more information, see Allocation strategies for Spot Instances in the Amazon EC2 User Guide.

price-capacity-optimized (recommended)

EC2 Fleet identifies the pools with the highest capacity availability for the number of instances that are launching. This means that we will request Spot Instances from the pools that we believe have the lowest chance of interruption in the near term. EC2 Fleet then requests Spot Instances from the lowest priced of these pools.

capacity-optimized

EC2 Fleet identifies the pools with the highest capacity availability for the number of instances that are launching. This means that we will request Spot Instances from the pools that we believe have the lowest chance of interruption in the near term. To give certain instance types a higher chance of launching first, use capacity-optimized-prioritized. Set a priority for each instance type by using the Priority parameter for LaunchTemplateOverrides. You can assign the same priority to different LaunchTemplateOverrides. EC2 implements the priorities on a best-effort basis, but optimizes for capacity first. capacity-optimized-prioritized is supported only if your EC2 Fleet uses a launch template. Note that if the On-Demand AllocationStrategy is set to prioritized, the same priority is applied when fulfilling On-Demand capacity.

diversified

EC2 Fleet requests instances from all of the Spot Instance pools that you specify.

lowest-price

EC2 Fleet requests instances from the lowest priced Spot Instance pool that has available capacity. If the lowest priced pool doesn't have available capacity, the Spot Instances come from the next lowest priced pool that has available capacity. If a pool runs out of capacity before fulfilling your desired capacity, EC2 Fleet will continue to fulfill your request by drawing from the next lowest priced pool. To ensure that your desired capacity is met, you might receive Spot Instances from several pools. Because this strategy only considers instance price and not capacity availability, it might lead to high interruption rates.

Default: lowest-price

" } }, "SpotCapacityRebalance": { @@ -16742,7 +16909,7 @@ "base": null, "refs": { "CreatePlacementGroupRequest$SpreadLevel": "

Determines how placement groups spread instances.

", - "PlacementGroup$SpreadLevel": "

The spread level for the placement group. Only Outpost placement groups can be spread across hosts.

" + "PlacementGroup$SpreadLevel": "

The spread level for the placement group. Only Outpost placement groups can be spread across hosts.

" } }, "StaleIpPermission": { @@ -16822,7 +16989,7 @@ "refs": { "Image$StateReason": "

The reason for the state change.

", "Instance$StateReason": "

The reason for the most recent state transition.

", - "LocalGatewayRouteTable$StateReason": null + "LocalGatewayRouteTable$StateReason": "

Information about the state change.

" } }, "StaticSourcesSupportValue": { @@ -16832,6 +16999,16 @@ "TransitGatewayMulticastDomainOptions$StaticSourcesSupport": "

Indicates whether support for statically configuring transit gateway multicast group sources is turned on.

" } }, + "StatisticType": { + "base": null, + "refs": { + "DataQuery$Statistic": "

Metric data aggregations over specified periods of time. The following are the supported Infrastructure Performance statistics:

", + "DataResponse$Statistic": "

The statistic used for the network performance request.

", + "DisableAwsNetworkPerformanceMetricSubscriptionRequest$Statistic": "

The statistic used for the disabled subscription.

", + "EnableAwsNetworkPerformanceMetricSubscriptionRequest$Statistic": "

The statistic used for the enabled subscription.

", + "Subscription$Statistic": "

The statistic used for the subscription.

" + } + }, "Status": { "base": null, "refs": { @@ -17309,6 +17486,12 @@ "CustomerGateway$State": "

The current state of the customer gateway (pending | available | deleting | deleted).

", "CustomerGateway$Type": "

The type of VPN connection the customer gateway supports (ipsec.1).

", "CustomerGateway$DeviceName": "

The name of customer gateway device.

", + "DataQuery$Id": "

A user-defined ID associated with a data query that's returned in the dataResponse identifying the query. For example, if you set the Id to MyQuery01in the query, the dataResponse identifies the query as MyQuery01.

", + "DataQuery$Source": "

The Region or Availability Zone that's the source for the data query. For example, us-east-1.

", + "DataQuery$Destination": "

The Region or Availability Zone that's the target for the data query. For example, eu-north-1.

", + "DataResponse$Id": "

The ID passed in the DataQuery.

", + "DataResponse$Source": "

The Region or Availability Zone that's the source for the data query. For example, us-east-1.

", + "DataResponse$Destination": "

The Region or Availability Zone that's the destination for the data query. For example, eu-west-1.

", "DeleteClientVpnRouteRequest$DestinationCidrBlock": "

The IPv4 address range, in CIDR notation, of the route to be deleted.

", "DeleteCoipCidrRequest$Cidr": "

A customer-owned IP address range that you want to delete.

", "DeleteFleetError$Message": "

The description for the error code.

", @@ -17335,6 +17518,8 @@ "DeregisterTransitGatewayMulticastGroupSourcesRequest$GroupIpAddress": "

The IP address assigned to the transit gateway multicast group.

", "DescribeAddressTransfersRequest$NextToken": "

Specify the pagination token from a previous request to retrieve the next page of results.

", "DescribeAddressTransfersResult$NextToken": "

Specify the pagination token from a previous request to retrieve the next page of results.

", + "DescribeAwsNetworkPerformanceMetricSubscriptionsRequest$NextToken": "

The token for the next page of results.

", + "DescribeAwsNetworkPerformanceMetricSubscriptionsResult$NextToken": "

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

", "DescribeByoipCidrsResult$NextToken": "

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

", "DescribeCapacityReservationFleetsRequest$NextToken": "

The token to use to retrieve the next page of results.

", "DescribeCapacityReservationFleetsResult$NextToken": "

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

", @@ -17526,6 +17711,8 @@ "DhcpOptions$OwnerId": "

The ID of the Amazon Web Services account that owns the DHCP options set.

", "DirectoryServiceAuthentication$DirectoryId": "

The ID of the Active Directory used for authentication.

", "DirectoryServiceAuthenticationRequest$DirectoryId": "

The ID of the Active Directory to be used for authentication.

", + "DisableAwsNetworkPerformanceMetricSubscriptionRequest$Source": "

The source Region or Availability Zone that the metric subscription is disabled for. For example, us-east-1.

", + "DisableAwsNetworkPerformanceMetricSubscriptionRequest$Destination": "

The target Region or Availability Zone that the metric subscription is disabled for. For example, eu-north-1.

", "DisableFastLaunchResult$OwnerId": "

The owner of the Windows AMI for which faster launching was turned off.

", "DisableFastLaunchResult$StateTransitionReason": "

The reason that the state changed for faster launching for the Windows AMI.

", "DisableFastSnapshotRestoreErrorItem$SnapshotId": "

The ID of the snapshot.

", @@ -17568,6 +17755,8 @@ "ElasticInferenceAcceleratorAssociation$ElasticInferenceAcceleratorAssociationId": "

The ID of the association.

", "ElasticInferenceAcceleratorAssociation$ElasticInferenceAcceleratorAssociationState": "

The state of the elastic inference accelerator.

", "EnableAddressTransferRequest$TransferAccountId": "

The ID of the account that you want to transfer the Elastic IP address to.

", + "EnableAwsNetworkPerformanceMetricSubscriptionRequest$Source": "

The source Region or Availability Zone that the metric subscription is enabled for. For example, us-east-1.

", + "EnableAwsNetworkPerformanceMetricSubscriptionRequest$Destination": "

The target Region or Availability Zone that the metric subscription is enabled for. For example, eu-west-1.

", "EnableFastLaunchRequest$ResourceType": "

The type of resource to use for pre-provisioning the Windows AMI for faster launching. Supported values include: snapshot, which is the default value.

", "EnableFastLaunchResult$OwnerId": "

The owner ID for the Windows AMI for which faster launching was enabled.

", "EnableFastLaunchResult$StateTransitionReason": "

The reason that the state changed for faster launching for the Windows AMI.

", @@ -17665,6 +17854,8 @@ "FpgaImageAttribute$Description": "

The description of the AFI.

", "FpgaImageState$Message": "

If the state is failed, this is the error message.

", "GetAssociatedIpv6PoolCidrsResult$NextToken": "

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

", + "GetAwsNetworkPerformanceDataRequest$NextToken": "

The token for the next page of results.

", + "GetAwsNetworkPerformanceDataResult$NextToken": "

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

", "GetCapacityReservationUsageRequest$NextToken": "

The token to use to retrieve the next page of results.

", "GetCapacityReservationUsageResult$NextToken": "

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

", "GetCapacityReservationUsageResult$CapacityReservationId": "

The ID of the Capacity Reservation.

", @@ -18045,6 +18236,7 @@ "ManagedPrefixList$StateMessage": "

The state message.

", "ManagedPrefixList$PrefixListName": "

The name of the prefix list.

", "ManagedPrefixList$OwnerId": "

The ID of the owner of the prefix list.

", + "MetricPoint$Status": "

The status of the metric point.

", "ModifyAddressAttributeRequest$DomainName": "

The domain name to modify for the IP address.

", "ModifyAvailabilityZoneGroupRequest$GroupName": "

The name of the Availability Zone group, Local Zone group, or Wavelength Zone group.

", "ModifyCapacityReservationRequest$AdditionalInfo": "

Reserved for future use.

", @@ -18185,11 +18377,11 @@ "Phase2EncryptionAlgorithmsRequestListValue$Value": "

The encryption algorithm.

", "Phase2IntegrityAlgorithmsListValue$Value": "

The integrity algorithm.

", "Phase2IntegrityAlgorithmsRequestListValue$Value": "

The integrity algorithm.

", - "Placement$AvailabilityZone": "

The Availability Zone of the instance.

If not specified, an Availability Zone will be automatically chosen for you based on the load balancing criteria for the Region.

This parameter is not supported by CreateFleet.

", - "Placement$Affinity": "

The affinity setting for the instance on the Dedicated Host. This parameter is not supported for the ImportInstance command.

This parameter is not supported by CreateFleet.

", - "Placement$HostId": "

The ID of the Dedicated Host on which the instance resides. This parameter is not supported for the ImportInstance command.

This parameter is not supported by CreateFleet.

", - "Placement$SpreadDomain": "

Reserved for future use.

This parameter is not supported by CreateFleet.

", - "Placement$HostResourceGroupArn": "

The ARN of the host resource group in which to launch the instances. If you specify a host resource group ARN, omit the Tenancy parameter or set it to host.

This parameter is not supported by CreateFleet.

", + "Placement$AvailabilityZone": "

The Availability Zone of the instance.

If not specified, an Availability Zone will be automatically chosen for you based on the load balancing criteria for the Region.

This parameter is not supported for CreateFleet.

", + "Placement$Affinity": "

The affinity setting for the instance on the Dedicated Host.

This parameter is not supported for CreateFleet or ImportInstance.

", + "Placement$HostId": "

The ID of the Dedicated Host on which the instance resides.

This parameter is not supported for CreateFleet or ImportInstance.

", + "Placement$SpreadDomain": "

Reserved for future use.

", + "Placement$HostResourceGroupArn": "

The ARN of the host resource group in which to launch the instances.

If you specify this parameter, either omit the Tenancy parameter or set it to host.

This parameter is not supported for CreateFleet.

", "PlacementGroup$GroupName": "

The name of the placement group.

", "PlacementGroup$GroupId": "

The ID of the placement group.

", "PlacementGroup$GroupArn": "

The Amazon Resource Name (ARN) of the placement group.

", @@ -18539,6 +18731,8 @@ "SubnetCidrReservation$OwnerId": "

The ID of the account that owns the subnet CIDR reservation.

", "SubnetCidrReservation$Description": "

The description assigned to the subnet CIDR reservation.

", "SubnetIpv6CidrBlockAssociation$Ipv6CidrBlock": "

The IPv6 CIDR block.

", + "Subscription$Source": "

The Region or Availability Zone that's the source for the subscription. For example, us-east-1.

", + "Subscription$Destination": "

The Region or Availability Zone that's the target for the subscription. For example, eu-west-1.

", "SuccessfulInstanceCreditSpecificationItem$InstanceId": "

The ID of the instance.

", "SuccessfulQueuedPurchaseDeletion$ReservedInstancesId": "

The ID of the Reserved Instance.

", "Tag$Key": "

The key of the tag.

Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.

", @@ -18923,6 +19117,18 @@ "Subnet$State": "

The current state of the subnet.

" } }, + "Subscription": { + "base": "

Describes an Infrastructure Performance subscription.

", + "refs": { + "SubscriptionList$member": null + } + }, + "SubscriptionList": { + "base": null, + "refs": { + "DescribeAwsNetworkPerformanceMetricSubscriptionsResult$Subscriptions": "

Describes the current Infrastructure Performance subscriptions.

" + } + }, "SuccessfulInstanceCreditSpecificationItem": { "base": "

Describes the burstable performance instance whose credit option for CPU usage was successfully modified.

", "refs": { @@ -19279,7 +19485,7 @@ "DescribeReservedInstancesOfferingsRequest$InstanceTenancy": "

The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy of dedicated is applied to instances that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).

Important: The host value cannot be used with this parameter. Use the default or dedicated values only.

Default: default

", "LaunchTemplatePlacement$Tenancy": "

The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware.

", "LaunchTemplatePlacementRequest$Tenancy": "

The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware.

", - "Placement$Tenancy": "

The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware. The host tenancy is not supported for the ImportInstance command.

This parameter is not supported by CreateFleet.

T3 instances that use the unlimited CPU credit option do not support host tenancy.

", + "Placement$Tenancy": "

The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware.

This parameter is not supported for CreateFleet. The host tenancy is not supported for ImportInstance or for T3 instances that are configured for the unlimited CPU credit option.

", "ReservedInstances$InstanceTenancy": "

The tenancy of the instance.

", "ReservedInstancesOffering$InstanceTenancy": "

The tenancy of the instance.

", "SpotPlacement$Tenancy": "

The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware. The host tenancy is not supported for Spot Instances.

", @@ -19328,7 +19534,7 @@ "ThreadsPerCoreList": { "base": null, "refs": { - "VCpuInfo$ValidThreadsPerCore": "

The valid number of threads per core that can be configured for the instance type.

" + "VCpuInfo$ValidThreadsPerCore": "

The valid number of threads per core that can be configured for the instance type.

" } }, "ThroughResourcesStatement": { @@ -19591,7 +19797,7 @@ "refs": { "CreateTransitGatewayResult$TransitGateway": "

Information about the transit gateway.

", "DeleteTransitGatewayResult$TransitGateway": "

Information about the deleted transit gateway.

", - "ModifyTransitGatewayResult$TransitGateway": null, + "ModifyTransitGatewayResult$TransitGateway": "

Information about the transit gateway.

", "TransitGatewayList$member": null } }, @@ -19900,10 +20106,10 @@ "TransitGatewayMulticastDomainAssociations": { "base": "

Describes the multicast domain associations.

", "refs": { - "AcceptTransitGatewayMulticastDomainAssociationsResult$Associations": null, + "AcceptTransitGatewayMulticastDomainAssociationsResult$Associations": "

Information about the multicast domain associations.

", "AssociateTransitGatewayMulticastDomainResult$Associations": "

Information about the transit gateway multicast domain associations.

", "DisassociateTransitGatewayMulticastDomainResult$Associations": "

Information about the association.

", - "RejectTransitGatewayMulticastDomainAssociationsResult$Associations": null + "RejectTransitGatewayMulticastDomainAssociationsResult$Associations": "

Information about the multicast domain associations.

" } }, "TransitGatewayMulticastDomainId": { @@ -20642,6 +20848,8 @@ "ModifyVpcEndpointServiceConfigurationRequest$RemoveSupportedIpAddressTypes": "

The IP address types to remove from your service configuration.

", "ModifyVpcEndpointServicePermissionsRequest$AddAllowedPrincipals": "

The Amazon Resource Names (ARN) of one or more principals. Permissions are granted to the principals in this list. To grant permissions to all principals, specify an asterisk (*).

", "ModifyVpcEndpointServicePermissionsRequest$RemoveAllowedPrincipals": "

The Amazon Resource Names (ARN) of one or more principals. Permissions are revoked for principals in this list.

", + "NetworkInsightsAnalysis$AdditionalAccounts": null, + "NetworkInsightsAnalysis$SuggestedAccounts": null, "NewDhcpConfiguration$Values": null, "PacketHeaderStatement$SourceAddresses": "

The source addresses.

", "PacketHeaderStatement$DestinationAddresses": "

The destination addresses.

", @@ -20669,6 +20877,7 @@ "ServiceConfiguration$BaseEndpointDnsNames": "

The DNS names for the service.

", "ServiceDetail$AvailabilityZones": "

The Availability Zones in which the service is available.

", "ServiceDetail$BaseEndpointDnsNames": "

The DNS names for the service.

", + "StartNetworkInsightsAnalysisRequest$AdditionalAccounts": null, "TargetNetwork$SecurityGroups": "

The IDs of the security groups applied to the target network association.

", "TransitGatewayMulticastDeregisteredGroupMembers$DeregisteredNetworkInterfaceIds": "

The network interface IDs of the deregistered members.

", "TransitGatewayMulticastDeregisteredGroupSources$DeregisteredNetworkInterfaceIds": "

The network interface IDs of the non-registered members.

", @@ -21175,7 +21384,6 @@ "VpcPeeringConnectionId": { "base": null, "refs": { - "AcceptVpcPeeringConnectionRequest$VpcPeeringConnectionId": "

The ID of the VPC peering connection. You must specify this parameter in the request.

", "CreateRouteRequest$VpcPeeringConnectionId": "

The ID of a VPC peering connection.

", "DeleteVpcPeeringConnectionRequest$VpcPeeringConnectionId": "

The ID of the VPC peering connection.

", "ModifyVpcPeeringConnectionOptionsRequest$VpcPeeringConnectionId": "

The ID of the VPC peering connection.

", @@ -21190,6 +21398,12 @@ "DescribeVpcPeeringConnectionsRequest$VpcPeeringConnectionIds": "

One or more VPC peering connection IDs.

Default: Describes all your VPC peering connections.

" } }, + "VpcPeeringConnectionIdWithResolver": { + "base": null, + "refs": { + "AcceptVpcPeeringConnectionRequest$VpcPeeringConnectionId": "

The ID of the VPC peering connection. You must specify this parameter in the request.

" + } + }, "VpcPeeringConnectionList": { "base": null, "refs": { @@ -21237,10 +21451,10 @@ "base": "

Describes a VPN connection.

", "refs": { "CreateVpnConnectionResult$VpnConnection": "

Information about the VPN connection.

", - "ModifyVpnConnectionOptionsResult$VpnConnection": null, - "ModifyVpnConnectionResult$VpnConnection": null, - "ModifyVpnTunnelCertificateResult$VpnConnection": null, - "ModifyVpnTunnelOptionsResult$VpnConnection": null, + "ModifyVpnConnectionOptionsResult$VpnConnection": "

Information about the VPN connection.

", + "ModifyVpnConnectionResult$VpnConnection": "

Information about the VPN connection.

", + "ModifyVpnTunnelCertificateResult$VpnConnection": "

Information about the VPN connection.

", + "ModifyVpnTunnelOptionsResult$VpnConnection": "

Information about the VPN connection.

", "VpnConnectionList$member": null } }, diff --git a/models/apis/ec2/2016-11-15/endpoint-tests-1.json b/models/apis/ec2/2016-11-15/endpoint-tests-1.json index 59a00d5dcb9..b6fa8ed123c 100644 --- a/models/apis/ec2/2016-11-15/endpoint-tests-1.json +++ b/models/apis/ec2/2016-11-15/endpoint-tests-1.json @@ -8,9 +8,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "ap-south-2", - "UseFIPS": true + "UseDualStack": true } }, { @@ -21,9 +21,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "ap-south-2", - "UseFIPS": true + "UseDualStack": false } }, { @@ -34,9 +34,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "ap-south-2", - "UseFIPS": false + "UseDualStack": true } }, { @@ -47,9 +47,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "ap-south-2", - "UseFIPS": false + "UseDualStack": false } }, { @@ -60,9 +60,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "ap-south-1", - "UseFIPS": true + "UseDualStack": true } }, { @@ -73,9 +73,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "ap-south-1", - "UseFIPS": true + "UseDualStack": false } }, { @@ -86,9 +86,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "ap-south-1", - "UseFIPS": false + "UseDualStack": true } }, { @@ -99,9 +99,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "ap-south-1", - "UseFIPS": false + "UseDualStack": false } }, { @@ -112,9 +112,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "eu-south-1", - "UseFIPS": true + "UseDualStack": true } }, { @@ -125,9 +125,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "eu-south-1", - "UseFIPS": true + "UseDualStack": false } }, { @@ -138,9 +138,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "eu-south-1", - "UseFIPS": false + "UseDualStack": true } }, { @@ -151,9 +151,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "eu-south-1", - "UseFIPS": false + "UseDualStack": false } }, { @@ -164,9 +164,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "eu-south-2", - "UseFIPS": true + "UseDualStack": true } }, { @@ -177,9 +177,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "eu-south-2", - "UseFIPS": true + "UseDualStack": false } }, { @@ -190,9 +190,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "eu-south-2", - "UseFIPS": false + "UseDualStack": true } }, { @@ -203,9 +203,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "eu-south-2", - "UseFIPS": false + "UseDualStack": false } }, { @@ -216,9 +216,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "us-gov-east-1", - "UseFIPS": true + "UseDualStack": true } }, { @@ -229,9 +229,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "us-gov-east-1", - "UseFIPS": true + "UseDualStack": false } }, { @@ -242,9 +242,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "us-gov-east-1", - "UseFIPS": false + "UseDualStack": true } }, { @@ -255,9 +255,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "us-gov-east-1", - "UseFIPS": false + "UseDualStack": false } }, { @@ -268,9 +268,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "me-central-1", - "UseFIPS": true + "UseDualStack": true } }, { @@ -281,9 +281,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "me-central-1", - "UseFIPS": true + "UseDualStack": false } }, { @@ -294,9 +294,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "me-central-1", - "UseFIPS": false + "UseDualStack": true } }, { @@ -307,9 +307,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "me-central-1", - "UseFIPS": false + "UseDualStack": false } }, { @@ -320,9 +320,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "ca-central-1", - "UseFIPS": true + "UseDualStack": true } }, { @@ -333,9 +333,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "ca-central-1", - "UseFIPS": true + "UseDualStack": false } }, { @@ -346,9 +346,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "ca-central-1", - "UseFIPS": false + "UseDualStack": true } }, { @@ -359,9 +359,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "ca-central-1", - "UseFIPS": false + "UseDualStack": false } }, { @@ -372,9 +372,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "eu-central-1", - "UseFIPS": true + "UseDualStack": true } }, { @@ -385,9 +385,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "eu-central-1", - "UseFIPS": true + "UseDualStack": false } }, { @@ -398,9 +398,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "eu-central-1", - "UseFIPS": false + "UseDualStack": true } }, { @@ -411,9 +411,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "eu-central-1", - "UseFIPS": false + "UseDualStack": false } }, { @@ -422,9 +422,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "us-iso-west-1", - "UseFIPS": true + "UseDualStack": true } }, { @@ -435,9 +435,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "us-iso-west-1", - "UseFIPS": true + "UseDualStack": false } }, { @@ -446,9 +446,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "us-iso-west-1", - "UseFIPS": false + "UseDualStack": true } }, { @@ -459,9 +459,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "us-iso-west-1", - "UseFIPS": false + "UseDualStack": false } }, { @@ -472,9 +472,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "eu-central-2", - "UseFIPS": true + "UseDualStack": true } }, { @@ -485,9 +485,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "eu-central-2", - "UseFIPS": true + "UseDualStack": false } }, { @@ -498,9 +498,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "eu-central-2", - "UseFIPS": false + "UseDualStack": true } }, { @@ -511,9 +511,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "eu-central-2", - "UseFIPS": false + "UseDualStack": false } }, { @@ -524,9 +524,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "us-west-1", - "UseFIPS": true + "UseDualStack": true } }, { @@ -537,9 +537,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "us-west-1", - "UseFIPS": true + "UseDualStack": false } }, { @@ -550,9 +550,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "us-west-1", - "UseFIPS": false + "UseDualStack": true } }, { @@ -563,9 +563,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "us-west-1", - "UseFIPS": false + "UseDualStack": false } }, { @@ -576,9 +576,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "us-west-2", - "UseFIPS": true + "UseDualStack": true } }, { @@ -589,9 +589,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "us-west-2", - "UseFIPS": true + "UseDualStack": false } }, { @@ -602,9 +602,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "us-west-2", - "UseFIPS": false + "UseDualStack": true } }, { @@ -615,9 +615,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "us-west-2", - "UseFIPS": false + "UseDualStack": false } }, { @@ -626,9 +626,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "us-isob-west-1", - "UseFIPS": true + "UseDualStack": true } }, { @@ -639,9 +639,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "us-isob-west-1", - "UseFIPS": true + "UseDualStack": false } }, { @@ -650,9 +650,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "us-isob-west-1", - "UseFIPS": false + "UseDualStack": true } }, { @@ -663,9 +663,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "us-isob-west-1", - "UseFIPS": false + "UseDualStack": false } }, { @@ -676,9 +676,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "af-south-1", - "UseFIPS": true + "UseDualStack": true } }, { @@ -689,9 +689,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "af-south-1", - "UseFIPS": true + "UseDualStack": false } }, { @@ -702,9 +702,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "af-south-1", - "UseFIPS": false + "UseDualStack": true } }, { @@ -715,9 +715,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "af-south-1", - "UseFIPS": false + "UseDualStack": false } }, { @@ -728,9 +728,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "eu-north-1", - "UseFIPS": true + "UseDualStack": true } }, { @@ -741,9 +741,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "eu-north-1", - "UseFIPS": true + "UseDualStack": false } }, { @@ -754,9 +754,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "eu-north-1", - "UseFIPS": false + "UseDualStack": true } }, { @@ -767,9 +767,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "eu-north-1", - "UseFIPS": false + "UseDualStack": false } }, { @@ -780,9 +780,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "eu-west-3", - "UseFIPS": true + "UseDualStack": true } }, { @@ -793,9 +793,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "eu-west-3", - "UseFIPS": true + "UseDualStack": false } }, { @@ -806,9 +806,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "eu-west-3", - "UseFIPS": false + "UseDualStack": true } }, { @@ -819,9 +819,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "eu-west-3", - "UseFIPS": false + "UseDualStack": false } }, { @@ -832,9 +832,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "eu-west-2", - "UseFIPS": true + "UseDualStack": true } }, { @@ -845,9 +845,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "eu-west-2", - "UseFIPS": true + "UseDualStack": false } }, { @@ -858,9 +858,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "eu-west-2", - "UseFIPS": false + "UseDualStack": true } }, { @@ -871,9 +871,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "eu-west-2", - "UseFIPS": false + "UseDualStack": false } }, { @@ -884,9 +884,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "eu-west-1", - "UseFIPS": true + "UseDualStack": true } }, { @@ -897,9 +897,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "eu-west-1", - "UseFIPS": true + "UseDualStack": false } }, { @@ -910,9 +910,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "eu-west-1", - "UseFIPS": false + "UseDualStack": true } }, { @@ -923,9 +923,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "eu-west-1", - "UseFIPS": false + "UseDualStack": false } }, { @@ -936,9 +936,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "ap-northeast-3", - "UseFIPS": true + "UseDualStack": true } }, { @@ -949,9 +949,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "ap-northeast-3", - "UseFIPS": true + "UseDualStack": false } }, { @@ -962,9 +962,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "ap-northeast-3", - "UseFIPS": false + "UseDualStack": true } }, { @@ -975,9 +975,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "ap-northeast-3", - "UseFIPS": false + "UseDualStack": false } }, { @@ -988,9 +988,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "ap-northeast-2", - "UseFIPS": true + "UseDualStack": true } }, { @@ -1001,9 +1001,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "ap-northeast-2", - "UseFIPS": true + "UseDualStack": false } }, { @@ -1014,9 +1014,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "ap-northeast-2", - "UseFIPS": false + "UseDualStack": true } }, { @@ -1027,9 +1027,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "ap-northeast-2", - "UseFIPS": false + "UseDualStack": false } }, { @@ -1040,9 +1040,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "ap-northeast-1", - "UseFIPS": true + "UseDualStack": true } }, { @@ -1053,9 +1053,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "ap-northeast-1", - "UseFIPS": true + "UseDualStack": false } }, { @@ -1066,9 +1066,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "ap-northeast-1", - "UseFIPS": false + "UseDualStack": true } }, { @@ -1079,9 +1079,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "ap-northeast-1", - "UseFIPS": false + "UseDualStack": false } }, { @@ -1092,9 +1092,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "me-south-1", - "UseFIPS": true + "UseDualStack": true } }, { @@ -1105,9 +1105,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "me-south-1", - "UseFIPS": true + "UseDualStack": false } }, { @@ -1118,9 +1118,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "me-south-1", - "UseFIPS": false + "UseDualStack": true } }, { @@ -1131,9 +1131,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "me-south-1", - "UseFIPS": false + "UseDualStack": false } }, { @@ -1144,9 +1144,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "sa-east-1", - "UseFIPS": true + "UseDualStack": true } }, { @@ -1157,9 +1157,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "sa-east-1", - "UseFIPS": true + "UseDualStack": false } }, { @@ -1170,9 +1170,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "sa-east-1", - "UseFIPS": false + "UseDualStack": true } }, { @@ -1183,9 +1183,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "sa-east-1", - "UseFIPS": false + "UseDualStack": false } }, { @@ -1196,9 +1196,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "ap-east-1", - "UseFIPS": true + "UseDualStack": true } }, { @@ -1209,9 +1209,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "ap-east-1", - "UseFIPS": true + "UseDualStack": false } }, { @@ -1222,9 +1222,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "ap-east-1", - "UseFIPS": false + "UseDualStack": true } }, { @@ -1235,9 +1235,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "ap-east-1", - "UseFIPS": false + "UseDualStack": false } }, { @@ -1248,9 +1248,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "cn-north-1", - "UseFIPS": true + "UseDualStack": true } }, { @@ -1261,9 +1261,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "cn-north-1", - "UseFIPS": true + "UseDualStack": false } }, { @@ -1274,9 +1274,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "cn-north-1", - "UseFIPS": false + "UseDualStack": true } }, { @@ -1287,9 +1287,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "cn-north-1", - "UseFIPS": false + "UseDualStack": false } }, { @@ -1300,9 +1300,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "ca-west-1", - "UseFIPS": true + "UseDualStack": true } }, { @@ -1313,9 +1313,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "ca-west-1", - "UseFIPS": true + "UseDualStack": false } }, { @@ -1326,9 +1326,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "ca-west-1", - "UseFIPS": false + "UseDualStack": true } }, { @@ -1339,9 +1339,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "ca-west-1", - "UseFIPS": false + "UseDualStack": false } }, { @@ -1352,9 +1352,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "us-gov-west-1", - "UseFIPS": true + "UseDualStack": true } }, { @@ -1365,9 +1365,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "us-gov-west-1", - "UseFIPS": true + "UseDualStack": false } }, { @@ -1378,9 +1378,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "us-gov-west-1", - "UseFIPS": false + "UseDualStack": true } }, { @@ -1391,9 +1391,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "us-gov-west-1", - "UseFIPS": false + "UseDualStack": false } }, { @@ -1404,9 +1404,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "ap-southeast-1", - "UseFIPS": true + "UseDualStack": true } }, { @@ -1417,9 +1417,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "ap-southeast-1", - "UseFIPS": true + "UseDualStack": false } }, { @@ -1430,9 +1430,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "ap-southeast-1", - "UseFIPS": false + "UseDualStack": true } }, { @@ -1443,9 +1443,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "ap-southeast-1", - "UseFIPS": false + "UseDualStack": false } }, { @@ -1456,9 +1456,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "ap-southeast-2", - "UseFIPS": true + "UseDualStack": true } }, { @@ -1469,9 +1469,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "ap-southeast-2", - "UseFIPS": true + "UseDualStack": false } }, { @@ -1482,9 +1482,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "ap-southeast-2", - "UseFIPS": false + "UseDualStack": true } }, { @@ -1495,9 +1495,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "ap-southeast-2", - "UseFIPS": false + "UseDualStack": false } }, { @@ -1506,9 +1506,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "us-iso-east-1", - "UseFIPS": true + "UseDualStack": true } }, { @@ -1519,9 +1519,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "us-iso-east-1", - "UseFIPS": true + "UseDualStack": false } }, { @@ -1530,9 +1530,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "us-iso-east-1", - "UseFIPS": false + "UseDualStack": true } }, { @@ -1543,9 +1543,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "us-iso-east-1", - "UseFIPS": false + "UseDualStack": false } }, { @@ -1556,9 +1556,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "ap-southeast-3", - "UseFIPS": true + "UseDualStack": true } }, { @@ -1569,9 +1569,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "ap-southeast-3", - "UseFIPS": true + "UseDualStack": false } }, { @@ -1582,9 +1582,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "ap-southeast-3", - "UseFIPS": false + "UseDualStack": true } }, { @@ -1595,9 +1595,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "ap-southeast-3", - "UseFIPS": false + "UseDualStack": false } }, { @@ -1608,9 +1608,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "ap-southeast-4", - "UseFIPS": true + "UseDualStack": true } }, { @@ -1621,9 +1621,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "ap-southeast-4", - "UseFIPS": true + "UseDualStack": false } }, { @@ -1634,9 +1634,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "ap-southeast-4", - "UseFIPS": false + "UseDualStack": true } }, { @@ -1647,9 +1647,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "ap-southeast-4", - "UseFIPS": false + "UseDualStack": false } }, { @@ -1660,9 +1660,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "us-east-1", - "UseFIPS": true + "UseDualStack": true } }, { @@ -1673,9 +1673,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "us-east-1", - "UseFIPS": true + "UseDualStack": false } }, { @@ -1686,9 +1686,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "us-east-1", - "UseFIPS": false + "UseDualStack": true } }, { @@ -1699,9 +1699,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "us-east-1", - "UseFIPS": false + "UseDualStack": false } }, { @@ -1712,9 +1712,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "us-east-2", - "UseFIPS": true + "UseDualStack": true } }, { @@ -1725,9 +1725,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "us-east-2", - "UseFIPS": true + "UseDualStack": false } }, { @@ -1738,9 +1738,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "us-east-2", - "UseFIPS": false + "UseDualStack": true } }, { @@ -1751,9 +1751,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "us-east-2", - "UseFIPS": false + "UseDualStack": false } }, { @@ -1764,9 +1764,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "cn-northwest-1", - "UseFIPS": true + "UseDualStack": true } }, { @@ -1777,9 +1777,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "cn-northwest-1", - "UseFIPS": true + "UseDualStack": false } }, { @@ -1790,9 +1790,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "cn-northwest-1", - "UseFIPS": false + "UseDualStack": true } }, { @@ -1803,9 +1803,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "cn-northwest-1", - "UseFIPS": false + "UseDualStack": false } }, { @@ -1814,9 +1814,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "us-isob-east-1", - "UseFIPS": true + "UseDualStack": true } }, { @@ -1827,9 +1827,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "us-isob-east-1", - "UseFIPS": true + "UseDualStack": false } }, { @@ -1838,9 +1838,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "us-isob-east-1", - "UseFIPS": false + "UseDualStack": true } }, { @@ -1851,9 +1851,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "us-isob-east-1", - "UseFIPS": false + "UseDualStack": false } }, { @@ -1864,9 +1864,9 @@ } }, "params": { - "UseDualStack": false, - "Region": "us-east-1", "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1876,9 +1876,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseDualStack": false, - "Region": "us-east-1", "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1888,9 +1888,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseDualStack": true, - "Region": "us-east-1", "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": true, "Endpoint": "https://example.com" } } diff --git a/models/apis/ec2/2016-11-15/paginators-1.json b/models/apis/ec2/2016-11-15/paginators-1.json index 5135df216c0..9cabec38ffe 100755 --- a/models/apis/ec2/2016-11-15/paginators-1.json +++ b/models/apis/ec2/2016-11-15/paginators-1.json @@ -21,6 +21,12 @@ "DescribeAvailabilityZones": { "result_key": "AvailabilityZones" }, + "DescribeAwsNetworkPerformanceMetricSubscriptions": { + "input_token": "NextToken", + "limit_key": "MaxResults", + "output_token": "NextToken", + "result_key": "Subscriptions" + }, "DescribeBundleTasks": { "result_key": "BundleTasks" }, @@ -656,6 +662,12 @@ "output_token": "NextToken", "result_key": "Ipv6CidrAssociations" }, + "GetAwsNetworkPerformanceData": { + "input_token": "NextToken", + "limit_key": "MaxResults", + "output_token": "NextToken", + "result_key": "DataResponses" + }, "GetGroupsForCapacityReservation": { "input_token": "NextToken", "limit_key": "MaxResults", diff --git a/models/apis/eks/2017-11-01/api-2.json b/models/apis/eks/2017-11-01/api-2.json index c644968f436..65fcd8c4d7f 100644 --- a/models/apis/eks/2017-11-01/api-2.json +++ b/models/apis/eks/2017-11-01/api-2.json @@ -593,7 +593,10 @@ "createdAt":{"shape":"Timestamp"}, "modifiedAt":{"shape":"Timestamp"}, "serviceAccountRoleArn":{"shape":"String"}, - "tags":{"shape":"TagMap"} + "tags":{"shape":"TagMap"}, + "publisher":{"shape":"String"}, + "owner":{"shape":"String"}, + "marketplaceInformation":{"shape":"MarketplaceInformation"} } }, "AddonHealth":{ @@ -607,7 +610,10 @@ "members":{ "addonName":{"shape":"String"}, "type":{"shape":"String"}, - "addonVersions":{"shape":"AddonVersionInfoList"} + "addonVersions":{"shape":"AddonVersionInfoList"}, + "publisher":{"shape":"String"}, + "owner":{"shape":"String"}, + "marketplaceInformation":{"shape":"MarketplaceInformation"} } }, "AddonIssue":{ @@ -653,7 +659,8 @@ "members":{ "addonVersion":{"shape":"String"}, "architecture":{"shape":"StringList"}, - "compatibilities":{"shape":"Compatibilities"} + "compatibilities":{"shape":"Compatibilities"}, + "requiresConfiguration":{"shape":"Boolean"} } }, "AddonVersionInfoList":{ @@ -1193,6 +1200,21 @@ "shape":"String", "location":"querystring", "locationName":"addonName" + }, + "types":{ + "shape":"StringList", + "location":"querystring", + "locationName":"types" + }, + "publishers":{ + "shape":"StringList", + "location":"querystring", + "locationName":"publishers" + }, + "owners":{ + "shape":"StringList", + "location":"querystring", + "locationName":"owners" } } }, @@ -1800,6 +1822,13 @@ "clusterLogging":{"shape":"LogSetups"} } }, + "MarketplaceInformation":{ + "type":"structure", + "members":{ + "productId":{"shape":"String"}, + "productUrl":{"shape":"String"} + } + }, "Nodegroup":{ "type":"structure", "members":{ diff --git a/models/apis/eks/2017-11-01/docs-2.json b/models/apis/eks/2017-11-01/docs-2.json index 9e8ab7aa4cb..376ab7ebd82 100644 --- a/models/apis/eks/2017-11-01/docs-2.json +++ b/models/apis/eks/2017-11-01/docs-2.json @@ -14,7 +14,7 @@ "DeleteNodegroup": "

Deletes an Amazon EKS node group for a cluster.

", "DeregisterCluster": "

Deregisters a connected cluster to remove it from the Amazon EKS control plane.

", "DescribeAddon": "

Describes an Amazon EKS add-on.

", - "DescribeAddonVersions": "

Describes the Kubernetes versions that the add-on can be used with.

", + "DescribeAddonVersions": "

Describes the versions for an add-on. Information such as the Kubernetes versions that you can use the add-on with, the owner, publisher, and the type of the add-on are returned.

", "DescribeCluster": "

Returns descriptive information about an Amazon EKS cluster.

The API server endpoint and certificate authority data returned by this operation are required for kubelet and kubectl to communicate with your Kubernetes API server. For more information, see Create a kubeconfig for Amazon EKS.

The API server endpoint and certificate authority data aren't available until the cluster reaches the ACTIVE state.

", "DescribeFargateProfile": "

Returns descriptive information about an Fargate profile.

", "DescribeIdentityProviderConfig": "

Returns descriptive information about an identity provider configuration.

", @@ -109,7 +109,7 @@ "Addons": { "base": null, "refs": { - "DescribeAddonVersionsResponse$addons": "

The list of available versions with Kubernetes version compatibility.

" + "DescribeAddonVersionsResponse$addons": "

The list of available versions with Kubernetes version compatibility and other properties.

" } }, "AssociateEncryptionConfigRequest": { @@ -152,8 +152,9 @@ "Boolean": { "base": null, "refs": { + "AddonVersionInfo$requiresConfiguration": "

Whether the add-on requires configuration.

", "Compatibility$defaultVersion": "

The supported default version.

", - "DeleteAddonRequest$preserve": "

Specifying this option preserves the add-on software on your cluster but Amazon EKS stops managing any settings for the add-on. If an IAM account is associated with the add-on, it is not removed.

", + "DeleteAddonRequest$preserve": "

Specifying this option preserves the add-on software on your cluster but Amazon EKS stops managing any settings for the add-on. If an IAM account is associated with the add-on, it isn't removed.

", "UpdateNodegroupVersionRequest$force": "

Force the update if the existing node group's pods are unable to be drained due to a pod disruption budget issue. If an update fails because pods could not be drained, you can force the update after it fails to terminate the old node whether or not any pods are running on the node.

", "VpcConfigResponse$endpointPublicAccess": "

This parameter indicates whether the Amazon EKS public API server endpoint is enabled. If the Amazon EKS public API server endpoint is disabled, your cluster's Kubernetes API server can only receive requests that originate from within the cluster VPC.

", "VpcConfigResponse$endpointPrivateAccess": "

This parameter indicates whether the Amazon EKS private API server endpoint is enabled. If the Amazon EKS private API server endpoint is enabled, Kubernetes API requests that originate from within your cluster's VPC use the private VPC endpoint instead of traversing the internet. If this value is disabled and you have nodes or Fargate pods in the cluster, then ensure that publicAccessCidrs includes the necessary CIDR blocks for communication with the nodes or Fargate pods. For more information, see Amazon EKS cluster endpoint access control in the Amazon EKS User Guide .

" @@ -282,15 +283,15 @@ } }, "ControlPlanePlacementRequest": { - "base": "

The placement configuration for all the control plane instance of your local Amazon EKS cluster on an Amazon Web Services Outpost. For more information, see Capacity considerations in the Amazon EKS User Guide

", + "base": "

The placement configuration for all the control plane instances of your local Amazon EKS cluster on an Amazon Web Services Outpost. For more information, see Capacity considerations in the Amazon EKS User Guide

", "refs": { - "OutpostConfigRequest$controlPlanePlacement": "

An object representing the placement configuration for all the control plane instance of your local Amazon EKS cluster on an Amazon Web Services Outpost. For more information, see Capacity considerations in the Amazon EKS User Guide.

" + "OutpostConfigRequest$controlPlanePlacement": "

An object representing the placement configuration for all the control plane instances of your local Amazon EKS cluster on an Amazon Web Services Outpost. For more information, see Capacity considerations in the Amazon EKS User Guide.

" } }, "ControlPlanePlacementResponse": { - "base": "

The placement configuration for all the control plane instance of your local Amazon EKS cluster on an Amazon Web Services Outpost. For more information, see Capacity considerations in the Amazon EKS User Guide.

", + "base": "

The placement configuration for all the control plane instances of your local Amazon EKS cluster on an Amazon Web Services Outpost. For more information, see Capacity considerations in the Amazon EKS User Guide.

", "refs": { - "OutpostConfigResponse$controlPlanePlacement": "

An object representing the placement configuration for all the control plane instance of your local Amazon EKS cluster on an Amazon Web Services Outpost. For more information, see Capacity considerations in the Amazon EKS User Guide.

" + "OutpostConfigResponse$controlPlanePlacement": "

An object representing the placement configuration for all the control plane instances of your local Amazon EKS cluster on an Amazon Web Services Outpost. For more information, see Capacity considerations in the Amazon EKS User Guide.

" } }, "CreateAddonRequest": { @@ -585,7 +586,7 @@ "IpFamily": { "base": null, "refs": { - "KubernetesNetworkConfigRequest$ipFamily": "

Specify which IP family is used to assign Kubernetes pod and service IP addresses. If you don't specify a value, ipv4 is used by default. You can only specify an IP family when you create a cluster and can't change this value once the cluster is created. If you specify ipv6, the VPC and subnets that you specify for cluster creation must have both IPv4 and IPv6 CIDR blocks assigned to them. You can't specify ipv6 for clusters in China Regions.

You can only specify ipv6 for 1.21 and later clusters that use version 1.10.1 or later of the Amazon VPC CNI add-on. If you specify ipv6, then ensure that your VPC meets the requirements listed in the considerations listed in Assigning IPv6 addresses to pods and services in the Amazon EKS User Guide. Kubernetes assigns services IPv6 addresses from the unique local address range (fc00::/7). You can't specify a custom IPv6 CIDR block. Pod addresses are assigned from the subnet's IPv6 CIDR.

", + "KubernetesNetworkConfigRequest$ipFamily": "

Specify which IP family is used to assign Kubernetes pod and service IP addresses. If you don't specify a value, ipv4 is used by default. You can only specify an IP family when you create a cluster and can't change this value once the cluster is created. If you specify ipv6, the VPC and subnets that you specify for cluster creation must have both IPv4 and IPv6 CIDR blocks assigned to them. You can't specify ipv6 for clusters in China Regions.

You can only specify ipv6 for 1.21 and later clusters that use version 1.10.1 or later of the Amazon VPC CNI add-on. If you specify ipv6, then ensure that your VPC meets the requirements listed in the considerations listed in Assigning IPv6 addresses to pods and services in the Amazon EKS User Guide. Kubernetes assigns services IPv6 addresses from the unique local address range (fc00::/7). You can't specify a custom IPv6 CIDR block. Pod addresses are assigned from the subnet's IPv6 CIDR.

", "KubernetesNetworkConfigResponse$ipFamily": "

The IP family used to assign Kubernetes pod and service IP addresses. The IP family is always ipv4, unless you have a 1.21 or later cluster running version 1.10.1 or later of the Amazon VPC CNI add-on and specified ipv6 when you created the cluster.

" } }, @@ -753,6 +754,13 @@ "UpdateClusterConfigRequest$logging": "

Enable or disable exporting the Kubernetes control plane logs for your cluster to CloudWatch Logs. By default, cluster control plane logs aren't exported to CloudWatch Logs. For more information, see Amazon EKS cluster control plane logs in the Amazon EKS User Guide .

CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported control plane logs. For more information, see CloudWatch Pricing.

" } }, + "MarketplaceInformation": { + "base": "

Information about an Amazon EKS add-on from the Amazon Web Services Marketplace.

", + "refs": { + "Addon$marketplaceInformation": "

Information about an Amazon EKS add-on from the Amazon Web Services Marketplace.

", + "AddonInfo$marketplaceInformation": "

Information about the add-on from the Amazon Web Services Marketplace.

" + } + }, "Nodegroup": { "base": "

An object representing an Amazon EKS managed node group.

", "refs": { @@ -923,8 +931,12 @@ "Addon$addonVersion": "

The version of the add-on.

", "Addon$addonArn": "

The Amazon Resource Name (ARN) of the add-on.

", "Addon$serviceAccountRoleArn": "

The Amazon Resource Name (ARN) of the IAM role that is bound to the Kubernetes service account used by the add-on.

", + "Addon$publisher": "

The publisher of the add-on.

", + "Addon$owner": "

The owner of the add-on.

", "AddonInfo$addonName": "

The name of the add-on.

", "AddonInfo$type": "

The type of the add-on.

", + "AddonInfo$publisher": "

The publisher of the add-on.

", + "AddonInfo$owner": "

The owner of the add-on.

", "AddonIssue$message": "

A message that provides details about the issue and what might cause it.

", "AddonVersionInfo$addonVersion": "

The version of the add-on.

", "AssociateEncryptionConfigRequest$clusterName": "

The name of the cluster that you are associating with encryption configuration.

", @@ -979,7 +991,7 @@ "DeleteNodegroupRequest$nodegroupName": "

The name of the node group to delete.

", "DeregisterClusterRequest$name": "

The name of the connected cluster to deregister.

", "DescribeAddonRequest$addonName": "

The name of the add-on. The name must match one of the names returned by ListAddons .

", - "DescribeAddonVersionsRequest$kubernetesVersion": "

The Kubernetes versions that the add-on can be used with.

", + "DescribeAddonVersionsRequest$kubernetesVersion": "

The Kubernetes versions that you can use the add-on with.

", "DescribeAddonVersionsRequest$nextToken": "

The nextToken value returned from a previous paginated DescribeAddonVersionsRequest where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value.

This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.

", "DescribeAddonVersionsRequest$addonName": "

The name of the add-on. The name must match one of the names returned by ListAddons .

", "DescribeAddonVersionsResponse$nextToken": "

The nextToken value returned from a previous paginated DescribeAddonVersionsResponse where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value.

This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.

", @@ -1016,7 +1028,7 @@ "InvalidRequestException$addonName": null, "InvalidRequestException$message": null, "Issue$message": "

The error message associated with the issue.

", - "KubernetesNetworkConfigRequest$serviceIpv4Cidr": "

Don't specify a value if you select ipv6 for ipFamily. The CIDR block to assign Kubernetes service IP addresses from. If you don't specify a block, Kubernetes assigns addresses from either the 10.100.0.0/16 or 172.20.0.0/16 CIDR blocks. We recommend that you specify a block that does not overlap with resources in other networks that are peered or connected to your VPC. The block must meet the following requirements:

You can only specify a custom CIDR block when you create a cluster and can't change this value once the cluster is created.

", + "KubernetesNetworkConfigRequest$serviceIpv4Cidr": "

Don't specify a value if you select ipv6 for ipFamily. The CIDR block to assign Kubernetes service IP addresses from. If you don't specify a block, Kubernetes assigns addresses from either the 10.100.0.0/16 or 172.20.0.0/16 CIDR blocks. We recommend that you specify a block that does not overlap with resources in other networks that are peered or connected to your VPC. The block must meet the following requirements:

You can only specify a custom CIDR block when you create a cluster and can't change this value once the cluster is created.

", "KubernetesNetworkConfigResponse$serviceIpv4Cidr": "

The CIDR block that Kubernetes pod and service IP addresses are assigned from. Kubernetes assigns addresses from an IPv4 CIDR block assigned to a subnet that the node is in. If you didn't specify a CIDR block when you created the cluster, then Kubernetes assigns addresses from either the 10.100.0.0/16 or 172.20.0.0/16 CIDR blocks. If this was specified, then it was specified when the cluster was created and it can't be changed.

", "KubernetesNetworkConfigResponse$serviceIpv6Cidr": "

The CIDR block that Kubernetes pod and service IP addresses are assigned from if you created a 1.21 or later cluster with version 1.10.1 or later of the Amazon VPC CNI add-on and specified ipv6 for ipFamily when you created the cluster. Kubernetes assigns service addresses from the unique local address range (fc00::/7) because you can't specify a custom IPv6 CIDR block when you create the cluster.

", "LaunchTemplateSpecification$name": "

The name of the launch template.

You must specify either the launch template name or the launch template ID in the request, but not both.

", @@ -1041,6 +1053,8 @@ "ListUpdatesRequest$addonName": "

The names of the installed add-ons that have available updates.

", "ListUpdatesRequest$nextToken": "

The nextToken value returned from a previous paginated ListUpdates request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value.

", "ListUpdatesResponse$nextToken": "

The nextToken value to include in a future ListUpdates request. When the results of a ListUpdates request exceed maxResults, you can use this value to retrieve the next page of results. This value is null when there are no more results to return.

", + "MarketplaceInformation$productId": "

The product ID from the Amazon Web Services Marketplace.

", + "MarketplaceInformation$productUrl": "

The product URL from the Amazon Web Services Marketplace.

", "Nodegroup$nodegroupName": "

The name associated with an Amazon EKS managed node group.

", "Nodegroup$nodegroupArn": "

The Amazon Resource Name (ARN) associated with the managed node group.

", "Nodegroup$clusterName": "

The name of the cluster that the managed node group resides in.

", @@ -1128,6 +1142,9 @@ "CreateFargateProfileRequest$subnets": "

The IDs of subnets to launch your pods into. At this time, pods running on Fargate are not assigned public IP addresses, so only private subnets (with no direct route to an Internet Gateway) are accepted for this parameter.

", "CreateNodegroupRequest$subnets": "

The subnets to use for the Auto Scaling group that is created for your node group. If you specify launchTemplate, then don't specify SubnetId in your launch template, or the node group deployment will fail. For more information about using launch templates with Amazon EKS, see Launch template support in the Amazon EKS User Guide.

", "CreateNodegroupRequest$instanceTypes": "

Specify the instance types for a node group. If you specify a GPU instance type, be sure to specify AL2_x86_64_GPU with the amiType parameter. If you specify launchTemplate, then you can specify zero or one instance type in your launch template or you can specify 0-20 instance types for instanceTypes. If however, you specify an instance type in your launch template and specify any instanceTypes, the node group deployment will fail. If you don't specify an instance type in a launch template or for instanceTypes, then t3.medium is used, by default. If you specify Spot for capacityType, then we recommend specifying multiple values for instanceTypes. For more information, see Managed node group capacity types and Launch template support in the Amazon EKS User Guide.

", + "DescribeAddonVersionsRequest$types": "

The type of the add-on. For valid types, don't specify a value for this property.

", + "DescribeAddonVersionsRequest$publishers": "

The publisher of the add-on. For valid publishers, don't specify a value for this property.

", + "DescribeAddonVersionsRequest$owners": "

The owner of the add-on. For valid owners, don't specify a value for this property.

", "EncryptionConfig$resources": "

Specifies the resources to be encrypted. The only supported value is \"secrets\".

", "ErrorDetail$resourceIds": "

An optional field that contains the resource IDs associated with the error.

", "FargateProfile$subnets": "

The IDs of subnets to launch pods into.

", @@ -1434,7 +1451,7 @@ "CreateNodegroupRequest$taints": "

The Kubernetes taints to be applied to the nodes in the node group. For more information, see Node taints on managed node groups.

", "Nodegroup$taints": "

The Kubernetes taints to be applied to the nodes in the node group when they are created. Effect is one of No_Schedule, Prefer_No_Schedule, or No_Execute. Kubernetes taints can be used together with tolerations to control how workloads are scheduled to your nodes. For more information, see Node taints on managed node groups.

", "UpdateTaintsPayload$addOrUpdateTaints": "

Kubernetes taints to be added or updated.

", - "UpdateTaintsPayload$removeTaints": "

Kubernetes taints to be removed.

" + "UpdateTaintsPayload$removeTaints": "

Kubernetes taints to remove.

" } } } diff --git a/models/apis/eks/2017-11-01/endpoint-rule-set-1.json b/models/apis/eks/2017-11-01/endpoint-rule-set-1.json index 5ff419796cc..a8f8885b3ee 100644 --- a/models/apis/eks/2017-11-01/endpoint-rule-set-1.json +++ b/models/apis/eks/2017-11-01/endpoint-rule-set-1.json @@ -3,7 +3,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": false, + "required": true, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, diff --git a/models/apis/eks/2017-11-01/endpoint-tests-1.json b/models/apis/eks/2017-11-01/endpoint-tests-1.json index 8cc05949df5..fe63f7d1aec 100644 --- a/models/apis/eks/2017-11-01/endpoint-tests-1.json +++ b/models/apis/eks/2017-11-01/endpoint-tests-1.json @@ -8,9 +8,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-south-2", - "UseDualStack": true + "Region": "ap-south-2" } }, { @@ -21,9 +21,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-south-2", - "UseDualStack": false + "Region": "ap-south-2" } }, { @@ -34,9 +34,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-south-2", - "UseDualStack": true + "Region": "ap-south-2" } }, { @@ -47,9 +47,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-south-2", - "UseDualStack": false + "Region": "ap-south-2" } }, { @@ -60,9 +60,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-south-1", - "UseDualStack": true + "Region": "ap-south-1" } }, { @@ -73,9 +73,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-south-1", - "UseDualStack": false + "Region": "ap-south-1" } }, { @@ -86,9 +86,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-south-1", - "UseDualStack": true + "Region": "ap-south-1" } }, { @@ -99,9 +99,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-south-1", - "UseDualStack": false + "Region": "ap-south-1" } }, { @@ -112,9 +112,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-south-1", - "UseDualStack": true + "Region": "eu-south-1" } }, { @@ -125,9 +125,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-south-1", - "UseDualStack": false + "Region": "eu-south-1" } }, { @@ -138,9 +138,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-south-1", - "UseDualStack": true + "Region": "eu-south-1" } }, { @@ -151,9 +151,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-south-1", - "UseDualStack": false + "Region": "eu-south-1" } }, { @@ -164,9 +164,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-south-2", - "UseDualStack": true + "Region": "eu-south-2" } }, { @@ -177,9 +177,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-south-2", - "UseDualStack": false + "Region": "eu-south-2" } }, { @@ -190,9 +190,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-south-2", - "UseDualStack": true + "Region": "eu-south-2" } }, { @@ -203,9 +203,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-south-2", - "UseDualStack": false + "Region": "eu-south-2" } }, { @@ -216,9 +216,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-gov-east-1", - "UseDualStack": true + "Region": "us-gov-east-1" } }, { @@ -229,9 +229,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-gov-east-1", - "UseDualStack": false + "Region": "us-gov-east-1" } }, { @@ -242,9 +242,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-gov-east-1", - "UseDualStack": true + "Region": "us-gov-east-1" } }, { @@ -255,9 +255,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-gov-east-1", - "UseDualStack": false + "Region": "us-gov-east-1" } }, { @@ -268,9 +268,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "me-central-1", - "UseDualStack": true + "Region": "me-central-1" } }, { @@ -281,9 +281,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "me-central-1", - "UseDualStack": false + "Region": "me-central-1" } }, { @@ -294,9 +294,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "me-central-1", - "UseDualStack": true + "Region": "me-central-1" } }, { @@ -307,9 +307,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "me-central-1", - "UseDualStack": false + "Region": "me-central-1" } }, { @@ -320,9 +320,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ca-central-1", - "UseDualStack": true + "Region": "ca-central-1" } }, { @@ -333,9 +333,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ca-central-1", - "UseDualStack": false + "Region": "ca-central-1" } }, { @@ -346,9 +346,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ca-central-1", - "UseDualStack": true + "Region": "ca-central-1" } }, { @@ -359,9 +359,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ca-central-1", - "UseDualStack": false + "Region": "ca-central-1" } }, { @@ -372,9 +372,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-central-1", - "UseDualStack": true + "Region": "eu-central-1" } }, { @@ -385,9 +385,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-central-1", - "UseDualStack": false + "Region": "eu-central-1" } }, { @@ -398,9 +398,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-central-1", - "UseDualStack": true + "Region": "eu-central-1" } }, { @@ -411,9 +411,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-central-1", - "UseDualStack": false + "Region": "eu-central-1" } }, { @@ -424,9 +424,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-central-2", - "UseDualStack": true + "Region": "eu-central-2" } }, { @@ -437,9 +437,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-central-2", - "UseDualStack": false + "Region": "eu-central-2" } }, { @@ -450,9 +450,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-central-2", - "UseDualStack": true + "Region": "eu-central-2" } }, { @@ -463,9 +463,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-central-2", - "UseDualStack": false + "Region": "eu-central-2" } }, { @@ -476,9 +476,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-west-1", - "UseDualStack": true + "Region": "us-west-1" } }, { @@ -489,9 +489,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-west-1", - "UseDualStack": false + "Region": "us-west-1" } }, { @@ -502,9 +502,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-west-1", - "UseDualStack": true + "Region": "us-west-1" } }, { @@ -515,9 +515,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-west-1", - "UseDualStack": false + "Region": "us-west-1" } }, { @@ -528,9 +528,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-west-2", - "UseDualStack": true + "Region": "us-west-2" } }, { @@ -541,9 +541,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-west-2", - "UseDualStack": false + "Region": "us-west-2" } }, { @@ -554,9 +554,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-west-2", - "UseDualStack": true + "Region": "us-west-2" } }, { @@ -567,9 +567,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-west-2", - "UseDualStack": false + "Region": "us-west-2" } }, { @@ -580,9 +580,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "af-south-1", - "UseDualStack": true + "Region": "af-south-1" } }, { @@ -593,9 +593,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "af-south-1", - "UseDualStack": false + "Region": "af-south-1" } }, { @@ -606,9 +606,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "af-south-1", - "UseDualStack": true + "Region": "af-south-1" } }, { @@ -619,9 +619,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "af-south-1", - "UseDualStack": false + "Region": "af-south-1" } }, { @@ -632,9 +632,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-north-1", - "UseDualStack": true + "Region": "eu-north-1" } }, { @@ -645,9 +645,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-north-1", - "UseDualStack": false + "Region": "eu-north-1" } }, { @@ -658,9 +658,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-north-1", - "UseDualStack": true + "Region": "eu-north-1" } }, { @@ -671,9 +671,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-north-1", - "UseDualStack": false + "Region": "eu-north-1" } }, { @@ -684,9 +684,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-west-3", - "UseDualStack": true + "Region": "eu-west-3" } }, { @@ -697,9 +697,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-west-3", - "UseDualStack": false + "Region": "eu-west-3" } }, { @@ -710,9 +710,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-west-3", - "UseDualStack": true + "Region": "eu-west-3" } }, { @@ -723,9 +723,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-west-3", - "UseDualStack": false + "Region": "eu-west-3" } }, { @@ -736,9 +736,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-west-2", - "UseDualStack": true + "Region": "eu-west-2" } }, { @@ -749,9 +749,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-west-2", - "UseDualStack": false + "Region": "eu-west-2" } }, { @@ -762,9 +762,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-west-2", - "UseDualStack": true + "Region": "eu-west-2" } }, { @@ -775,9 +775,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-west-2", - "UseDualStack": false + "Region": "eu-west-2" } }, { @@ -788,9 +788,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-west-1", - "UseDualStack": true + "Region": "eu-west-1" } }, { @@ -801,9 +801,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-west-1", - "UseDualStack": false + "Region": "eu-west-1" } }, { @@ -814,9 +814,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-west-1", - "UseDualStack": true + "Region": "eu-west-1" } }, { @@ -827,9 +827,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-west-1", - "UseDualStack": false + "Region": "eu-west-1" } }, { @@ -840,9 +840,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-northeast-3", - "UseDualStack": true + "Region": "ap-northeast-3" } }, { @@ -853,9 +853,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-northeast-3", - "UseDualStack": false + "Region": "ap-northeast-3" } }, { @@ -866,9 +866,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-northeast-3", - "UseDualStack": true + "Region": "ap-northeast-3" } }, { @@ -879,9 +879,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-northeast-3", - "UseDualStack": false + "Region": "ap-northeast-3" } }, { @@ -892,9 +892,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-northeast-2", - "UseDualStack": true + "Region": "ap-northeast-2" } }, { @@ -905,9 +905,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-northeast-2", - "UseDualStack": false + "Region": "ap-northeast-2" } }, { @@ -918,9 +918,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-northeast-2", - "UseDualStack": true + "Region": "ap-northeast-2" } }, { @@ -931,9 +931,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-northeast-2", - "UseDualStack": false + "Region": "ap-northeast-2" } }, { @@ -944,9 +944,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-northeast-1", - "UseDualStack": true + "Region": "ap-northeast-1" } }, { @@ -957,9 +957,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-northeast-1", - "UseDualStack": false + "Region": "ap-northeast-1" } }, { @@ -970,9 +970,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-northeast-1", - "UseDualStack": true + "Region": "ap-northeast-1" } }, { @@ -983,9 +983,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-northeast-1", - "UseDualStack": false + "Region": "ap-northeast-1" } }, { @@ -996,9 +996,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "me-south-1", - "UseDualStack": true + "Region": "me-south-1" } }, { @@ -1009,9 +1009,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "me-south-1", - "UseDualStack": false + "Region": "me-south-1" } }, { @@ -1022,9 +1022,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "me-south-1", - "UseDualStack": true + "Region": "me-south-1" } }, { @@ -1035,9 +1035,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "me-south-1", - "UseDualStack": false + "Region": "me-south-1" } }, { @@ -1048,9 +1048,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "sa-east-1", - "UseDualStack": true + "Region": "sa-east-1" } }, { @@ -1061,9 +1061,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "sa-east-1", - "UseDualStack": false + "Region": "sa-east-1" } }, { @@ -1074,9 +1074,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "sa-east-1", - "UseDualStack": true + "Region": "sa-east-1" } }, { @@ -1087,9 +1087,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "sa-east-1", - "UseDualStack": false + "Region": "sa-east-1" } }, { @@ -1100,9 +1100,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-east-1", - "UseDualStack": true + "Region": "ap-east-1" } }, { @@ -1113,9 +1113,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-east-1", - "UseDualStack": false + "Region": "ap-east-1" } }, { @@ -1126,9 +1126,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-east-1", - "UseDualStack": true + "Region": "ap-east-1" } }, { @@ -1139,9 +1139,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-east-1", - "UseDualStack": false + "Region": "ap-east-1" } }, { @@ -1152,9 +1152,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "cn-north-1", - "UseDualStack": true + "Region": "cn-north-1" } }, { @@ -1165,9 +1165,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "cn-north-1", - "UseDualStack": false + "Region": "cn-north-1" } }, { @@ -1178,9 +1178,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "cn-north-1", - "UseDualStack": true + "Region": "cn-north-1" } }, { @@ -1191,9 +1191,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "cn-north-1", - "UseDualStack": false + "Region": "cn-north-1" } }, { @@ -1204,9 +1204,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-gov-west-1", - "UseDualStack": true + "Region": "us-gov-west-1" } }, { @@ -1217,9 +1217,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-gov-west-1", - "UseDualStack": false + "Region": "us-gov-west-1" } }, { @@ -1230,9 +1230,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-gov-west-1", - "UseDualStack": true + "Region": "us-gov-west-1" } }, { @@ -1243,9 +1243,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-gov-west-1", - "UseDualStack": false + "Region": "us-gov-west-1" } }, { @@ -1256,9 +1256,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-southeast-1", - "UseDualStack": true + "Region": "ap-southeast-1" } }, { @@ -1269,9 +1269,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-southeast-1", - "UseDualStack": false + "Region": "ap-southeast-1" } }, { @@ -1282,9 +1282,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-southeast-1", - "UseDualStack": true + "Region": "ap-southeast-1" } }, { @@ -1295,9 +1295,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-1", - "UseDualStack": false + "Region": "ap-southeast-1" } }, { @@ -1308,9 +1308,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-southeast-2", - "UseDualStack": true + "Region": "ap-southeast-2" } }, { @@ -1321,9 +1321,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-southeast-2", - "UseDualStack": false + "Region": "ap-southeast-2" } }, { @@ -1334,9 +1334,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-southeast-2", - "UseDualStack": true + "Region": "ap-southeast-2" } }, { @@ -1347,9 +1347,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-2", - "UseDualStack": false + "Region": "ap-southeast-2" } }, { @@ -1358,9 +1358,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-iso-east-1", - "UseDualStack": true + "Region": "us-iso-east-1" } }, { @@ -1371,9 +1371,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-iso-east-1", - "UseDualStack": false + "Region": "us-iso-east-1" } }, { @@ -1382,9 +1382,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-iso-east-1", - "UseDualStack": true + "Region": "us-iso-east-1" } }, { @@ -1395,9 +1395,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-iso-east-1", - "UseDualStack": false + "Region": "us-iso-east-1" } }, { @@ -1408,9 +1408,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-southeast-3", - "UseDualStack": true + "Region": "ap-southeast-3" } }, { @@ -1421,9 +1421,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-southeast-3", - "UseDualStack": false + "Region": "ap-southeast-3" } }, { @@ -1434,9 +1434,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-southeast-3", - "UseDualStack": true + "Region": "ap-southeast-3" } }, { @@ -1447,9 +1447,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-3", - "UseDualStack": false + "Region": "ap-southeast-3" } }, { @@ -1460,9 +1460,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-southeast-4", - "UseDualStack": true + "Region": "ap-southeast-4" } }, { @@ -1473,9 +1473,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-southeast-4", - "UseDualStack": false + "Region": "ap-southeast-4" } }, { @@ -1486,9 +1486,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-southeast-4", - "UseDualStack": true + "Region": "ap-southeast-4" } }, { @@ -1499,9 +1499,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-4", - "UseDualStack": false + "Region": "ap-southeast-4" } }, { @@ -1512,9 +1512,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-east-1", - "UseDualStack": true + "Region": "us-east-1" } }, { @@ -1525,9 +1525,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-east-1", - "UseDualStack": false + "Region": "us-east-1" } }, { @@ -1538,9 +1538,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-east-1", - "UseDualStack": true + "Region": "us-east-1" } }, { @@ -1551,9 +1551,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-east-1", - "UseDualStack": false + "Region": "us-east-1" } }, { @@ -1564,9 +1564,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-east-2", - "UseDualStack": true + "Region": "us-east-2" } }, { @@ -1577,9 +1577,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-east-2", - "UseDualStack": false + "Region": "us-east-2" } }, { @@ -1590,9 +1590,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-east-2", - "UseDualStack": true + "Region": "us-east-2" } }, { @@ -1603,9 +1603,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-east-2", - "UseDualStack": false + "Region": "us-east-2" } }, { @@ -1616,9 +1616,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "cn-northwest-1", - "UseDualStack": true + "Region": "cn-northwest-1" } }, { @@ -1629,9 +1629,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "cn-northwest-1", - "UseDualStack": false + "Region": "cn-northwest-1" } }, { @@ -1642,9 +1642,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "cn-northwest-1", - "UseDualStack": true + "Region": "cn-northwest-1" } }, { @@ -1655,9 +1655,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "cn-northwest-1", - "UseDualStack": false + "Region": "cn-northwest-1" } }, { @@ -1666,9 +1666,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-isob-east-1", - "UseDualStack": true + "Region": "us-isob-east-1" } }, { @@ -1679,9 +1679,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-isob-east-1", - "UseDualStack": false + "Region": "us-isob-east-1" } }, { @@ -1690,9 +1690,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-isob-east-1", - "UseDualStack": true + "Region": "us-isob-east-1" } }, { @@ -1703,9 +1703,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-isob-east-1", - "UseDualStack": false + "Region": "us-isob-east-1" } }, { @@ -1716,9 +1716,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, "Region": "us-east-1", - "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1728,9 +1728,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { + "UseDualStack": false, "UseFIPS": true, "Region": "us-east-1", - "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1740,9 +1740,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { + "UseDualStack": true, "UseFIPS": false, "Region": "us-east-1", - "UseDualStack": true, "Endpoint": "https://example.com" } } diff --git a/models/apis/fsx/2018-03-01/api-2.json b/models/apis/fsx/2018-03-01/api-2.json index a475be484cf..6a74163d270 100644 --- a/models/apis/fsx/2018-03-01/api-2.json +++ b/models/apis/fsx/2018-03-01/api-2.json @@ -648,6 +648,7 @@ {"shape":"BadRequest"}, {"shape":"UnsupportedOperation"}, {"shape":"IncompatibleParameterError"}, + {"shape":"InvalidNetworkSettings"}, {"shape":"InternalServerError"}, {"shape":"FileSystemNotFound"}, {"shape":"MissingFileSystemConfiguration"}, @@ -777,7 +778,8 @@ "FILE_SYSTEM_ALIAS_DISASSOCIATION", "VOLUME_UPDATE", "SNAPSHOT_UPDATE", - "RELEASE_NFS_V3_LOCKS" + "RELEASE_NFS_V3_LOCKS", + "VOLUME_RESTORE" ] }, "AdministrativeActions":{ @@ -1299,9 +1301,7 @@ "CreateOntapVolumeConfiguration":{ "type":"structure", "required":[ - "JunctionPath", "SizeInMegabytes", - "StorageEfficiencyEnabled", "StorageVirtualMachineId" ], "members":{ @@ -1310,7 +1310,10 @@ "SizeInMegabytes":{"shape":"VolumeCapacity"}, "StorageEfficiencyEnabled":{"shape":"Flag"}, "StorageVirtualMachineId":{"shape":"StorageVirtualMachineId"}, - "TieringPolicy":{"shape":"TieringPolicy"} + "TieringPolicy":{"shape":"TieringPolicy"}, + "OntapVolumeType":{"shape":"InputOntapVolumeType"}, + "SnapshotPolicy":{"shape":"SnapshotPolicy"}, + "CopyTagsToBackups":{"shape":"Flag"} } }, "CreateOpenZFSOriginSnapshotConfiguration":{ @@ -2427,6 +2430,13 @@ }, "exception":true }, + "InputOntapVolumeType":{ + "type":"string", + "enum":[ + "RW", + "DP" + ] + }, "IntegerNoMax":{ "type":"integer", "max":2147483647, @@ -2511,7 +2521,7 @@ }, "Iops":{ "type":"long", - "max":160000, + "max":1000000, "min":0 }, "IpAddress":{ @@ -2659,7 +2669,7 @@ }, "MegabytesPerSecond":{ "type":"integer", - "max":4096, + "max":100000, "min":8 }, "MetadataStorageCapacity":{ @@ -2779,7 +2789,9 @@ "StorageVirtualMachineRoot":{"shape":"Flag"}, "TieringPolicy":{"shape":"TieringPolicy"}, "UUID":{"shape":"UUID"}, - "OntapVolumeType":{"shape":"OntapVolumeType"} + "OntapVolumeType":{"shape":"OntapVolumeType"}, + "SnapshotPolicy":{"shape":"SnapshotPolicy"}, + "CopyTagsToBackups":{"shape":"Flag"} } }, "OntapVolumeType":{ @@ -2840,7 +2852,10 @@ }, "OpenZFSDeploymentType":{ "type":"string", - "enum":["SINGLE_AZ_1"] + "enum":[ + "SINGLE_AZ_1", + "SINGLE_AZ_2" + ] }, "OpenZFSFileSystemConfiguration":{ "type":"structure", @@ -2897,7 +2912,7 @@ "OpenZFSUserAndGroupQuotas":{ "type":"list", "member":{"shape":"OpenZFSUserOrGroupQuota"}, - "max":100 + "max":500 }, "OpenZFSUserOrGroupQuota":{ "type":"structure", @@ -2925,7 +2940,10 @@ "OriginSnapshot":{"shape":"OpenZFSOriginSnapshotConfiguration"}, "ReadOnly":{"shape":"ReadOnly"}, "NfsExports":{"shape":"OpenZFSNfsExports"}, - "UserAndGroupQuotas":{"shape":"OpenZFSUserAndGroupQuotas"} + "UserAndGroupQuotas":{"shape":"OpenZFSUserAndGroupQuotas"}, + "RestoreToSnapshot":{"shape":"SnapshotId"}, + "DeleteIntermediateSnaphots":{"shape":"Flag"}, + "DeleteClonedVolumes":{"shape":"Flag"} } }, "OrganizationalUnitDistinguishedName":{ @@ -3050,7 +3068,8 @@ "type":"structure", "members":{ "VolumeId":{"shape":"VolumeId"}, - "Lifecycle":{"shape":"VolumeLifecycle"} + "Lifecycle":{"shape":"VolumeLifecycle"}, + "AdministrativeActions":{"shape":"AdministrativeActions"} } }, "RouteTableId":{ @@ -3226,6 +3245,11 @@ }, "exception":true }, + "SnapshotPolicy":{ + "type":"string", + "max":255, + "min":1 + }, "Snapshots":{ "type":"list", "member":{"shape":"Snapshot"}, @@ -3279,7 +3303,6 @@ "Name":{"shape":"StorageVirtualMachineName"}, "ResourceARN":{"shape":"ResourceARN"}, "StorageVirtualMachineId":{"shape":"StorageVirtualMachineId"}, - "Subtype":{"shape":"StorageVirtualMachineSubtype"}, "UUID":{"shape":"UUID"}, "Tags":{"shape":"Tags"}, "LifecycleTransitionReason":{"shape":"LifecycleTransitionReason"}, @@ -3356,15 +3379,6 @@ "MIXED" ] }, - "StorageVirtualMachineSubtype":{ - "type":"string", - "enum":[ - "DEFAULT", - "DP_DESTINATION", - "SYNC_DESTINATION", - "SYNC_SOURCE" - ] - }, "StorageVirtualMachines":{ "type":"list", "member":{"shape":"StorageVirtualMachine"}, @@ -3580,7 +3594,9 @@ "FsxAdminPassword":{"shape":"AdminPassword"}, "WeeklyMaintenanceStartTime":{"shape":"WeeklyTime"}, "DiskIopsConfiguration":{"shape":"DiskIopsConfiguration"}, - "ThroughputCapacity":{"shape":"MegabytesPerSecond"} + "ThroughputCapacity":{"shape":"MegabytesPerSecond"}, + "AddRouteTableIds":{"shape":"RouteTableIds"}, + "RemoveRouteTableIds":{"shape":"RouteTableIds"} } }, "UpdateFileSystemOpenZFSConfiguration":{ @@ -3635,7 +3651,9 @@ "SecurityStyle":{"shape":"SecurityStyle"}, "SizeInMegabytes":{"shape":"VolumeCapacity"}, "StorageEfficiencyEnabled":{"shape":"Flag"}, - "TieringPolicy":{"shape":"TieringPolicy"} + "TieringPolicy":{"shape":"TieringPolicy"}, + "SnapshotPolicy":{"shape":"SnapshotPolicy"}, + "CopyTagsToBackups":{"shape":"Flag"} } }, "UpdateOpenZFSVolumeConfiguration":{ diff --git a/models/apis/fsx/2018-03-01/docs-2.json b/models/apis/fsx/2018-03-01/docs-2.json index c9ddb7b58ec..a5901684caa 100644 --- a/models/apis/fsx/2018-03-01/docs-2.json +++ b/models/apis/fsx/2018-03-01/docs-2.json @@ -34,7 +34,7 @@ "DisassociateFileSystemAliases": "

Use this action to disassociate, or remove, one or more Domain Name Service (DNS) aliases from an Amazon FSx for Windows File Server file system. If you attempt to disassociate a DNS alias that is not associated with the file system, Amazon FSx responds with a 400 Bad Request. For more information, see Working with DNS Aliases.

The system generated response showing the DNS aliases that Amazon FSx is attempting to disassociate from the file system. Use the API operation to monitor the status of the aliases Amazon FSx is disassociating with the file system.

", "ListTagsForResource": "

Lists tags for Amazon FSx resources.

When retrieving all tags, you can optionally specify the MaxResults parameter to limit the number of tags in a response. If more tags remain, Amazon FSx returns a NextToken value in the response. In this case, send a later request with the NextToken request parameter set to the value of NextToken from the last response.

This action is used in an iterative process to retrieve a list of your tags. ListTagsForResource is called first without a NextTokenvalue. Then the action continues to be called with the NextToken parameter set to the value of the last NextToken value until a response has no NextToken.

When using this action, keep the following in mind:

", "ReleaseFileSystemNfsV3Locks": "

Releases the file system lock from an Amazon FSx for OpenZFS file system.

", - "RestoreVolumeFromSnapshot": "

Returns an Amazon FSx for OpenZFS volume to the state saved by the specified snapshot.

", + "RestoreVolumeFromSnapshot": "

Returns an Amazon FSx for OpenZFS volume to the state saved by the specified snapshot.

", "TagResource": "

Tags an Amazon FSx resource.

", "UntagResource": "

This action removes a tag from an Amazon FSx resource.

", "UpdateDataRepositoryAssociation": "

Updates the configuration of an existing data repository association on an Amazon FSx for Lustre file system. Data repository associations are supported only for file systems with the Persistent_2 deployment type.

", @@ -101,7 +101,7 @@ } }, "AdministrativeActionType": { - "base": "

Describes the type of administrative action, as follows:

", + "base": "

Describes the type of administrative action, as follows:

", "refs": { "AdministrativeAction$AdministrativeActionType": null } @@ -110,8 +110,9 @@ "base": null, "refs": { "FileSystem$AdministrativeActions": "

A list of administrative actions for the file system that are in process or waiting to be processed. Administrative actions describe changes to the Amazon FSx system that you have initiated using the UpdateFileSystem operation.

", + "RestoreVolumeFromSnapshotResponse$AdministrativeActions": "

A list of administrative actions for the file system that are in process or waiting to be processed. Administrative actions describe changes to the Amazon FSx system.

", "Snapshot$AdministrativeActions": "

A list of administrative actions for the file system that are in process or waiting to be processed. Administrative actions describe changes to the Amazon FSx system.

", - "Volume$AdministrativeActions": "

A list of administrative actions for the file system that are in process or waiting to be processed. Administrative actions describe changes to the Amazon FSx system that you initiated.

" + "Volume$AdministrativeActions": "

A list of administrative actions for the volume that are in process or waiting to be processed. Administrative actions describe changes to the volume that you have initiated using the UpdateVolume action.

" } }, "Alias": { @@ -639,7 +640,7 @@ } }, "DataRepositoryFailureDetails": { - "base": "

Provides detailed information about the data respository if its Lifecycle is set to MISCONFIGURED or FAILED.

", + "base": "

Provides detailed information about the data repository if its Lifecycle is set to MISCONFIGURED or FAILED.

", "refs": { "DataRepositoryAssociation$FailureDetails": null, "DataRepositoryConfiguration$FailureDetails": null @@ -1388,6 +1389,7 @@ "CreateFileSystemOpenZFSConfiguration$CopyTagsToVolumes": "

A Boolean value indicating whether tags for the file system should be copied to volumes. This value defaults to false. If it's set to true, all tags for the file system are copied to volumes where the user doesn't specify tags. If this value is true, and you specify one or more tags, only the specified tags are copied to volumes. If you specify one or more tags when creating the volume, no tags are copied from the file system, regardless of this value.

", "CreateFileSystemWindowsConfiguration$CopyTagsToBackups": "

A boolean flag indicating whether tags for the file system should be copied to backups. This value defaults to false. If it's set to true, all tags for the file system are copied to all automatic and user-initiated backups where the user doesn't specify tags. If this value is true, and you specify one or more tags, only the specified tags are copied to backups. If you specify one or more tags when creating a user-initiated backup, no tags are copied from the file system, regardless of this value.

", "CreateOntapVolumeConfiguration$StorageEfficiencyEnabled": "

Set to true to enable deduplication, compression, and compaction storage efficiency features on the volume.

", + "CreateOntapVolumeConfiguration$CopyTagsToBackups": "

A boolean flag indicating whether tags for the volume should be copied to backups. This value defaults to false. If it's set to true, all tags for the volume are copied to all automatic and user-initiated backups where the user doesn't specify tags. If this value is true, and you specify one or more tags, only the specified tags are copied to backups. If you specify one or more tags when creating a user-initiated backup, no tags are copied from the volume, regardless of this value.

", "CreateOpenZFSVolumeConfiguration$CopyTagsToSnapshots": "

A Boolean value indicating whether tags for the volume should be copied to snapshots. This value defaults to false. If it's set to true, all tags for the volume are copied to snapshots where the user doesn't specify tags. If this value is true, and you specify one or more tags, only the specified tags are copied to snapshots. If you specify one or more tags when creating the snapshot, no tags are copied from the volume, regardless of this value.

", "DeleteFileSystemLustreConfiguration$SkipFinalBackup": "

Set SkipFinalBackup to false if you want to take a final backup of the file system you are deleting. By default, Amazon FSx will not take a final backup on your behalf when the DeleteFileSystem operation is invoked. (Default = true)

The fsx:CreateBackup permission is required if you set SkipFinalBackup to false in order to delete the file system and take a final backup.

", "DeleteFileSystemOpenZFSConfiguration$SkipFinalBackup": "

By default, Amazon FSx for OpenZFS takes a final backup on your behalf when the DeleteFileSystem operation is invoked. Doing this helps protect you from data loss, and we highly recommend taking the final backup. If you want to skip taking a final backup, set this value to true.

", @@ -1396,13 +1398,17 @@ "LustreFileSystemConfiguration$CopyTagsToBackups": "

A boolean flag indicating whether tags on the file system are copied to backups. If it's set to true, all tags on the file system are copied to all automatic backups and any user-initiated backups where the user doesn't specify any tags. If this value is true, and you specify one or more tags, only the specified tags are copied to backups. If you specify one or more tags when creating a user-initiated backup, no tags are copied from the file system, regardless of this value. (Default = false)

", "OntapVolumeConfiguration$StorageEfficiencyEnabled": "

The volume's storage efficiency setting.

", "OntapVolumeConfiguration$StorageVirtualMachineRoot": "

A Boolean flag indicating whether this volume is the root volume for its storage virtual machine (SVM). Only one volume on an SVM can be the root volume. This value defaults to false. If this value is true, then this is the SVM root volume.

This flag is useful when you're deleting an SVM, because you must first delete all non-root volumes. This flag, when set to false, helps you identify which volumes to delete before you can delete the SVM.

", + "OntapVolumeConfiguration$CopyTagsToBackups": "

A boolean flag indicating whether tags for the volume should be copied to backups. This value defaults to false. If it's set to true, all tags for the volume are copied to all automatic and user-initiated backups where the user doesn't specify tags. If this value is true, and you specify one or more tags, only the specified tags are copied to backups. If you specify one or more tags when creating a user-initiated backup, no tags are copied from the volume, regardless of this value.

", "OpenZFSCreateRootVolumeConfiguration$CopyTagsToSnapshots": "

A Boolean value indicating whether tags for the volume should be copied to snapshots of the volume. This value defaults to false. If it's set to true, all tags for the volume are copied to snapshots where the user doesn't specify tags. If this value is true and you specify one or more tags, only the specified tags are copied to snapshots. If you specify one or more tags when creating the snapshot, no tags are copied from the volume, regardless of this value.

", "OpenZFSFileSystemConfiguration$CopyTagsToBackups": "

A Boolean value indicating whether tags on the file system should be copied to backups. If it's set to true, all tags on the file system are copied to all automatic backups and any user-initiated backups where the user doesn't specify any tags. If this value is true and you specify one or more tags, only the specified tags are copied to backups. If you specify one or more tags when creating a user-initiated backup, no tags are copied from the file system, regardless of this value.

", "OpenZFSFileSystemConfiguration$CopyTagsToVolumes": "

A Boolean value indicating whether tags for the volume should be copied to snapshots. This value defaults to false. If it's set to true, all tags for the volume are copied to snapshots where the user doesn't specify tags. If this value is true and you specify one or more tags, only the specified tags are copied to snapshots. If you specify one or more tags when creating the snapshot, no tags are copied from the volume, regardless of this value.

", "OpenZFSVolumeConfiguration$CopyTagsToSnapshots": "

A Boolean value indicating whether tags for the volume should be copied to snapshots. This value defaults to false. If it's set to true, all tags for the volume are copied to snapshots where the user doesn't specify tags. If this value is true and you specify one or more tags, only the specified tags are copied to snapshots. If you specify one or more tags when creating the snapshot, no tags are copied from the volume, regardless of this value.

", + "OpenZFSVolumeConfiguration$DeleteIntermediateSnaphots": "

A Boolean value indicating whether snapshots between the current state and the specified snapshot should be deleted when a volume is restored from snapshot.

", + "OpenZFSVolumeConfiguration$DeleteClonedVolumes": "

A Boolean value indicating whether dependent clone volumes created from intermediate snapshots should be deleted when a volume is restored from snapshot.

", "UpdateFileSystemOpenZFSConfiguration$CopyTagsToBackups": "

A Boolean value indicating whether tags for the file system should be copied to backups. This value defaults to false. If it's set to true, all tags for the file system are copied to all automatic and user-initiated backups where the user doesn't specify tags. If this value is true and you specify one or more tags, only the specified tags are copied to backups. If you specify one or more tags when creating a user-initiated backup, no tags are copied from the file system, regardless of this value.

", "UpdateFileSystemOpenZFSConfiguration$CopyTagsToVolumes": "

A Boolean value indicating whether tags for the volume should be copied to snapshots. This value defaults to false. If it's set to true, all tags for the volume are copied to snapshots where the user doesn't specify tags. If this value is true and you specify one or more tags, only the specified tags are copied to snapshots. If you specify one or more tags when creating the snapshot, no tags are copied from the volume, regardless of this value.

", "UpdateOntapVolumeConfiguration$StorageEfficiencyEnabled": "

Default is false. Set to true to enable the deduplication, compression, and compaction storage efficiency features on the volume.

", + "UpdateOntapVolumeConfiguration$CopyTagsToBackups": "

A boolean flag indicating whether tags for the volume should be copied to backups. This value defaults to false. If it's set to true, all tags for the volume are copied to all automatic and user-initiated backups where the user doesn't specify tags. If this value is true, and you specify one or more tags, only the specified tags are copied to backups. If you specify one or more tags when creating a user-initiated backup, no tags are copied from the volume, regardless of this value.

", "WindowsFileSystemConfiguration$CopyTagsToBackups": "

A boolean flag indicating whether tags on the file system should be copied to backups. This value defaults to false. If it's set to true, all tags on the file system are copied to all automatic backups and any user-initiated backups where the user doesn't specify any tags. If this value is true, and you specify one or more tags, only the specified tags are copied to backups. If you specify one or more tags when creating a user-initiated backup, no tags are copied from the file system, regardless of this value.

" } }, @@ -1431,6 +1437,12 @@ "refs": { } }, + "InputOntapVolumeType": { + "base": null, + "refs": { + "CreateOntapVolumeConfiguration$OntapVolumeType": "

Specifies the type of volume you are creating. Valid values are the following:

For more information, see Volume types in the Amazon FSx for NetApp ONTAP User Guide.

" + } + }, "IntegerNoMax": { "base": null, "refs": { @@ -1521,7 +1533,7 @@ "IpAddressRange": { "base": null, "refs": { - "CreateFileSystemOntapConfiguration$EndpointIpAddressRange": "

(Multi-AZ only) Specifies the IP address range in which the endpoints to access your file system will be created. By default, Amazon FSx selects an unused IP address range for you from the 198.19.* range.

The Endpoint IP address range you select for your file system must exist outside the VPC's CIDR range and must be at least /30 or larger.

", + "CreateFileSystemOntapConfiguration$EndpointIpAddressRange": "

(Multi-AZ only) Specifies the IP address range in which the endpoints to access your file system will be created. By default in the Amazon FSx API, Amazon FSx selects an unused IP address range for you from the 198.19.* range. By default in the Amazon FSx console, Amazon FSx chooses the last 64 IP addresses from the VPC’s primary CIDR range to use as the endpoint IP address range for the file system. You can have overlapping endpoint IP addresses for file systems deployed in the same VPC/route tables.

", "OntapFileSystemConfiguration$EndpointIpAddressRange": "

(Multi-AZ only) The IP address range in which the endpoints to access your file system are created.

The Endpoint IP address range you select for your file system must exist outside the VPC's CIDR range and must be at least /30 or larger. If you do not specify this optional parameter, Amazon FSx will automatically select a CIDR block for you.

" } }, @@ -1670,13 +1682,13 @@ "MegabytesPerSecond": { "base": "

The sustained throughput of an Amazon FSx file system in Megabytes per second (MBps).

", "refs": { - "CreateFileSystemOntapConfiguration$ThroughputCapacity": "

Sets the throughput capacity for the file system that you're creating. Valid values are 128, 256, 512, 1024, and 2048 MBps.

", - "CreateFileSystemOpenZFSConfiguration$ThroughputCapacity": "

Specifies the throughput of an Amazon FSx for OpenZFS file system, measured in megabytes per second (MB/s). Valid values are 64, 128, 256, 512, 1024, 2048, 3072, or 4096 MB/s. You pay for additional throughput capacity that you provision.

", + "CreateFileSystemOntapConfiguration$ThroughputCapacity": "

Sets the throughput capacity for the file system that you're creating. Valid values are 128, 256, 512, 1024, 2048, and 4096 MBps.

", + "CreateFileSystemOpenZFSConfiguration$ThroughputCapacity": "

Specifies the throughput of an Amazon FSx for OpenZFS file system, measured in megabytes per second (MB/s). Valid values depend on the DeploymentType you choose, as follows:

You pay for additional throughput capacity that you provision.

", "CreateFileSystemWindowsConfiguration$ThroughputCapacity": "

Sets the throughput capacity of an Amazon FSx file system, measured in megabytes per second (MB/s), in 2 to the nth increments, between 2^3 (8) and 2^11 (2048).

", "OntapFileSystemConfiguration$ThroughputCapacity": null, - "OpenZFSFileSystemConfiguration$ThroughputCapacity": "

The throughput of an Amazon FSx file system, measured in megabytes per second (MBps). Valid values are 64, 128, 256, 512, 1024, 2048, 3072, or 4096 MB/s.

", - "UpdateFileSystemOntapConfiguration$ThroughputCapacity": "

Specifies the throughput of an FSx for NetApp ONTAP file system, measured in megabytes per second (MBps). Valid values are 128, 256, 512, 1024, or 2048 MB/s.

", - "UpdateFileSystemOpenZFSConfiguration$ThroughputCapacity": "

The throughput of an Amazon FSx file system, measured in megabytes per second (MBps). Valid values are 64, 128, 256, 512, 1024, 2048, 3072, or 4096 MB/s.

", + "OpenZFSFileSystemConfiguration$ThroughputCapacity": "

The throughput of an Amazon FSx file system, measured in megabytes per second (MBps).

", + "UpdateFileSystemOntapConfiguration$ThroughputCapacity": "

Specifies the throughput of an FSx for NetApp ONTAP file system, measured in megabytes per second (MBps). Valid values are 128, 256, 512, 1024, 2048, and 4096 MBps.

", + "UpdateFileSystemOpenZFSConfiguration$ThroughputCapacity": "

The throughput of an Amazon FSx for OpenZFS file system, measured in megabytes per second
 (MB/s). Valid values depend on the DeploymentType you choose, as follows:

", "UpdateFileSystemWindowsConfiguration$ThroughputCapacity": "

Sets the target value for a file system's throughput capacity, in MB/s, that you are updating the file system to. Valid values are 8, 16, 32, 64, 128, 256, 512, 1024, 2048. You cannot make a throughput capacity update request if there is an existing throughput capacity update request in progress. For more information, see Managing Throughput Capacity.

", "WindowsFileSystemConfiguration$ThroughputCapacity": "

The throughput of the Amazon FSx file system, measured in megabytes per second.

" } @@ -1851,8 +1863,8 @@ "OpenZFSDeploymentType": { "base": null, "refs": { - "CreateFileSystemOpenZFSConfiguration$DeploymentType": "

Specifies the file system deployment type. Amazon FSx for OpenZFS supports SINGLE_AZ_1. SINGLE_AZ_1 deployment type is configured for redundancy within a single Availability Zone.

", - "OpenZFSFileSystemConfiguration$DeploymentType": "

Specifies the file-system deployment type. Amazon FSx for OpenZFS supports SINGLE_AZ_1. SINGLE_AZ_1 is a file system configured for a single Availability Zone (AZ) of redundancy.

" + "CreateFileSystemOpenZFSConfiguration$DeploymentType": "

Specifies the file system deployment type. Single AZ deployment types are configured for redundancy within a single Availability Zone in an Amazon Web Services Region . Valid values are the following:

For more information, see: Deployment type availability and File system performancein theAmazon FSx for OpenZFS User Guide.

", + "OpenZFSFileSystemConfiguration$DeploymentType": "

Specifies the file-system deployment type. Amazon FSx for OpenZFS supports
 SINGLE_AZ_1 and SINGLE_AZ_2.

" } }, "OpenZFSFileSystemConfiguration": { @@ -2055,7 +2067,7 @@ "RestoreOpenZFSVolumeOptions": { "base": null, "refs": { - "RestoreVolumeFromSnapshotRequest$Options": "

The settings used when restoring the specified volume from snapshot.

" + "RestoreVolumeFromSnapshotRequest$Options": "

The settings used when restoring the specified volume from snapshot.

" } }, "RestoreVolumeFromSnapshotRequest": { @@ -2079,7 +2091,9 @@ "base": null, "refs": { "CreateFileSystemOntapConfiguration$RouteTableIds": "

(Multi-AZ only) Specifies the virtual private cloud (VPC) route tables in which your file system's endpoints will be created. You should specify all VPC route tables associated with the subnets in which your clients are located. By default, Amazon FSx selects your VPC's default route table.

", - "OntapFileSystemConfiguration$RouteTableIds": "

(Multi-AZ only) The VPC route tables in which your file system's endpoints are created.

" + "OntapFileSystemConfiguration$RouteTableIds": "

(Multi-AZ only) The VPC route tables in which your file system's endpoints are created.

", + "UpdateFileSystemOntapConfiguration$AddRouteTableIds": "

(Multi-AZ only) A list of IDs of new virtual private cloud (VPC) route tables to associate (add) with your Amazon FSx for NetApp ONTAP file system.

", + "UpdateFileSystemOntapConfiguration$RemoveRouteTableIds": "

(Multi-AZ only) A list of IDs of existing virtual private cloud (VPC) route tables to disassociate (remove) from your Amazon FSx for NetApp ONTAP file system. You can use the API operation to retrieve the list of VPC route table IDs for a file system.

" } }, "S3DataRepositoryConfiguration": { @@ -2189,6 +2203,7 @@ "refs": { "DeleteSnapshotRequest$SnapshotId": "

The ID of the snapshot that you want to delete.

", "DeleteSnapshotResponse$SnapshotId": "

The ID of the deleted snapshot.

", + "OpenZFSVolumeConfiguration$RestoreToSnapshot": "

Specifies the ID of the snapshot to which the volume was restored.

", "RestoreVolumeFromSnapshotRequest$SnapshotId": "

The ID of the source snapshot. Specifies the snapshot that you are restoring from.

", "Snapshot$SnapshotId": "

The ID of the snapshot.

", "SnapshotIds$member": null, @@ -2221,6 +2236,14 @@ "refs": { } }, + "SnapshotPolicy": { + "base": null, + "refs": { + "CreateOntapVolumeConfiguration$SnapshotPolicy": "

Specifies the snapshot policy for the volume. There are three built-in snapshot policies:

You can also provide the name of a custom policy that you created with the ONTAP CLI or REST API.

For more information, see Snapshot policies in the Amazon FSx for NetApp ONTAP User Guide.

", + "OntapVolumeConfiguration$SnapshotPolicy": "

Specifies the snapshot policy for the volume. There are three built-in snapshot policies:

You can also provide the name of a custom policy that you created with the ONTAP CLI or REST API.

For more information, see Snapshot policies in the Amazon FSx for NetApp ONTAP User Guide.

", + "UpdateOntapVolumeConfiguration$SnapshotPolicy": "

Specifies the snapshot policy for the volume. There are three built-in snapshot policies:

You can also provide the name of a custom policy that you created with the ONTAP CLI or REST API.

For more information, see Snapshot policies in the Amazon FSx for NetApp ONTAP User Guide.

" + } + }, "Snapshots": { "base": null, "refs": { @@ -2352,12 +2375,6 @@ "StorageVirtualMachine$RootVolumeSecurityStyle": "

The security style of the root volume of the SVM.

" } }, - "StorageVirtualMachineSubtype": { - "base": null, - "refs": { - "StorageVirtualMachine$Subtype": "

Describes the SVM's subtype.

" - } - }, "StorageVirtualMachines": { "base": null, "refs": { diff --git a/models/apis/fsx/2018-03-01/endpoint-rule-set-1.json b/models/apis/fsx/2018-03-01/endpoint-rule-set-1.json new file mode 100644 index 00000000000..13d705602c8 --- /dev/null +++ b/models/apis/fsx/2018-03-01/endpoint-rule-set-1.json @@ -0,0 +1,448 @@ +{ + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": true, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + }, + { + "fn": "parseURL", + "argv": [ + { + "ref": "Endpoint" + } + ], + "assign": "url" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://fsx-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" + }, + "prod-ca-central-1" + ] + } + ], + "endpoint": { + "url": "https://fsx-fips.ca-central-1.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" + }, + "prod-us-east-1" + ] + } + ], + "endpoint": { + "url": "https://fsx-fips.us-east-1.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" + }, + "prod-us-east-2" + ] + } + ], + "endpoint": { + "url": "https://fsx-fips.us-east-2.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" + }, + "prod-us-west-1" + ] + } + ], + "endpoint": { + "url": "https://fsx-fips.us-west-1.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" + }, + "prod-us-west-2" + ] + } + ], + "endpoint": { + "url": "https://fsx-fips.us-west-2.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" + }, + "prod-us-gov-east-1" + ] + } + ], + "endpoint": { + "url": "https://fsx-fips.us-gov-east-1.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" + }, + "prod-us-gov-west-1" + ] + } + ], + "endpoint": { + "url": "https://fsx-fips.us-gov-west-1.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://fsx-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://fsx.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://fsx.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] +} \ No newline at end of file diff --git a/models/apis/fsx/2018-03-01/endpoint-tests-1.json b/models/apis/fsx/2018-03-01/endpoint-tests-1.json new file mode 100644 index 00000000000..70569c1b421 --- /dev/null +++ b/models/apis/fsx/2018-03-01/endpoint-tests-1.json @@ -0,0 +1,1491 @@ +{ + "testCases": [ + { + "documentation": "For region ap-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.ap-south-1.api.aws" + } + }, + "params": { + "Region": "ap-south-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.ap-south-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-south-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx.ap-south-1.api.aws" + } + }, + "params": { + "Region": "ap-south-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx.ap-south-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-south-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.eu-south-1.api.aws" + } + }, + "params": { + "Region": "eu-south-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.eu-south-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-south-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx.eu-south-1.api.aws" + } + }, + "params": { + "Region": "eu-south-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx.eu-south-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-south-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.ca-central-1.api.aws" + } + }, + "params": { + "Region": "ca-central-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.ca-central-1.amazonaws.com" + } + }, + "params": { + "Region": "ca-central-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx.ca-central-1.api.aws" + } + }, + "params": { + "Region": "ca-central-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx.ca-central-1.amazonaws.com" + } + }, + "params": { + "Region": "ca-central-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.eu-central-1.api.aws" + } + }, + "params": { + "Region": "eu-central-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.eu-central-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-central-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx.eu-central-1.api.aws" + } + }, + "params": { + "Region": "eu-central-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx.eu-central-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-central-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.us-west-1.api.aws" + } + }, + "params": { + "Region": "us-west-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.us-west-1.amazonaws.com" + } + }, + "params": { + "Region": "us-west-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx.us-west-1.api.aws" + } + }, + "params": { + "Region": "us-west-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx.us-west-1.amazonaws.com" + } + }, + "params": { + "Region": "us-west-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.us-west-2.api.aws" + } + }, + "params": { + "Region": "us-west-2", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.us-west-2.amazonaws.com" + } + }, + "params": { + "Region": "us-west-2", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx.us-west-2.api.aws" + } + }, + "params": { + "Region": "us-west-2", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx.us-west-2.amazonaws.com" + } + }, + "params": { + "Region": "us-west-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region af-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.af-south-1.api.aws" + } + }, + "params": { + "Region": "af-south-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region af-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.af-south-1.amazonaws.com" + } + }, + "params": { + "Region": "af-south-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx.af-south-1.api.aws" + } + }, + "params": { + "Region": "af-south-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx.af-south-1.amazonaws.com" + } + }, + "params": { + "Region": "af-south-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.eu-north-1.api.aws" + } + }, + "params": { + "Region": "eu-north-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.eu-north-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-north-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx.eu-north-1.api.aws" + } + }, + "params": { + "Region": "eu-north-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx.eu-north-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-north-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.eu-west-3.api.aws" + } + }, + "params": { + "Region": "eu-west-3", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.eu-west-3.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-3", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx.eu-west-3.api.aws" + } + }, + "params": { + "Region": "eu-west-3", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx.eu-west-3.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-3", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.eu-west-2.api.aws" + } + }, + "params": { + "Region": "eu-west-2", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.eu-west-2.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-2", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx.eu-west-2.api.aws" + } + }, + "params": { + "Region": "eu-west-2", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx.eu-west-2.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.eu-west-1.api.aws" + } + }, + "params": { + "Region": "eu-west-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.eu-west-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx.eu-west-1.api.aws" + } + }, + "params": { + "Region": "eu-west-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx.eu-west-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.ap-northeast-3.api.aws" + } + }, + "params": { + "Region": "ap-northeast-3", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.ap-northeast-3.amazonaws.com" + } + }, + "params": { + "Region": "ap-northeast-3", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx.ap-northeast-3.api.aws" + } + }, + "params": { + "Region": "ap-northeast-3", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx.ap-northeast-3.amazonaws.com" + } + }, + "params": { + "Region": "ap-northeast-3", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.ap-northeast-2.api.aws" + } + }, + "params": { + "Region": "ap-northeast-2", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "Region": "ap-northeast-2", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx.ap-northeast-2.api.aws" + } + }, + "params": { + "Region": "ap-northeast-2", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "Region": "ap-northeast-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.ap-northeast-1.api.aws" + } + }, + "params": { + "Region": "ap-northeast-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-northeast-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx.ap-northeast-1.api.aws" + } + }, + "params": { + "Region": "ap-northeast-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-northeast-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region me-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.me-south-1.api.aws" + } + }, + "params": { + "Region": "me-south-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region me-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.me-south-1.amazonaws.com" + } + }, + "params": { + "Region": "me-south-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region me-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx.me-south-1.api.aws" + } + }, + "params": { + "Region": "me-south-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx.me-south-1.amazonaws.com" + } + }, + "params": { + "Region": "me-south-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region sa-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.sa-east-1.api.aws" + } + }, + "params": { + "Region": "sa-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region sa-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.sa-east-1.amazonaws.com" + } + }, + "params": { + "Region": "sa-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region sa-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx.sa-east-1.api.aws" + } + }, + "params": { + "Region": "sa-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx.sa-east-1.amazonaws.com" + } + }, + "params": { + "Region": "sa-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.ap-east-1.api.aws" + } + }, + "params": { + "Region": "ap-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.ap-east-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx.ap-east-1.api.aws" + } + }, + "params": { + "Region": "ap-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx.ap-east-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.us-gov-west-1.api.aws" + } + }, + "params": { + "Region": "us-gov-west-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-west-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx.us-gov-west-1.api.aws" + } + }, + "params": { + "Region": "us-gov-west-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-west-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.ap-southeast-1.api.aws" + } + }, + "params": { + "Region": "ap-southeast-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-southeast-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx.ap-southeast-1.api.aws" + } + }, + "params": { + "Region": "ap-southeast-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-southeast-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.ap-southeast-2.api.aws" + } + }, + "params": { + "Region": "ap-southeast-2", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "Region": "ap-southeast-2", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx.ap-southeast-2.api.aws" + } + }, + "params": { + "Region": "ap-southeast-2", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "Region": "ap-southeast-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.ap-southeast-3.api.aws" + } + }, + "params": { + "Region": "ap-southeast-3", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.ap-southeast-3.amazonaws.com" + } + }, + "params": { + "Region": "ap-southeast-3", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx.ap-southeast-3.api.aws" + } + }, + "params": { + "Region": "ap-southeast-3", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx.ap-southeast-3.amazonaws.com" + } + }, + "params": { + "Region": "ap-southeast-3", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.us-east-2.api.aws" + } + }, + "params": { + "Region": "us-east-2", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.us-east-2.amazonaws.com" + } + }, + "params": { + "Region": "us-east-2", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx.us-east-2.api.aws" + } + }, + "params": { + "Region": "us-east-2", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx.us-east-2.amazonaws.com" + } + }, + "params": { + "Region": "us-east-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.cn-northwest-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-northwest-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.cn-northwest-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-northwest-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fsx.cn-northwest-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-northwest-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx.cn-northwest-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-northwest-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fsx.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" +} \ No newline at end of file diff --git a/models/apis/glue/2017-03-31/api-2.json b/models/apis/glue/2017-03-31/api-2.json index 54bd402aabc..ae0eb921425 100644 --- a/models/apis/glue/2017-03-31/api-2.json +++ b/models/apis/glue/2017-03-31/api-2.json @@ -3860,7 +3860,8 @@ "MicrosoftSQLServerCatalogTarget":{"shape":"MicrosoftSQLServerCatalogTarget"}, "MySQLCatalogTarget":{"shape":"MySQLCatalogTarget"}, "OracleSQLCatalogTarget":{"shape":"OracleSQLCatalogTarget"}, - "PostgreSQLCatalogTarget":{"shape":"PostgreSQLCatalogTarget"} + "PostgreSQLCatalogTarget":{"shape":"PostgreSQLCatalogTarget"}, + "DynamicTransform":{"shape":"DynamicTransform"} } }, "CodeGenConfigurationNodes":{ @@ -5691,6 +5692,25 @@ "NullTextList":{"shape":"NullValueFields"} } }, + "DynamicTransform":{ + "type":"structure", + "required":[ + "Name", + "TransformName", + "Inputs", + "FunctionName", + "Path" + ], + "members":{ + "Name":{"shape":"EnclosedInStringProperty"}, + "TransformName":{"shape":"EnclosedInStringProperty"}, + "Inputs":{"shape":"OneInput"}, + "Parameters":{"shape":"TransformConfigParameterList"}, + "FunctionName":{"shape":"EnclosedInStringProperty"}, + "Path":{"shape":"EnclosedInStringProperty"}, + "Version":{"shape":"EnclosedInStringProperty"} + } + }, "DynamoDBCatalogSource":{ "type":"structure", "required":[ @@ -8594,6 +8614,18 @@ "min":1 }, "PaginationToken":{"type":"string"}, + "ParamType":{ + "type":"string", + "enum":[ + "str", + "int", + "float", + "complex", + "bool", + "list", + "null" + ] + }, "ParametersMap":{ "type":"map", "key":{"shape":"KeyString"}, @@ -10484,6 +10516,26 @@ "min":1, "pattern":"[\\p{L}\\p{N}\\p{P}]*" }, + "TransformConfigParameter":{ + "type":"structure", + "required":[ + "Name", + "Type" + ], + "members":{ + "Name":{"shape":"EnclosedInStringProperty"}, + "Type":{"shape":"ParamType"}, + "ValidationRule":{"shape":"EnclosedInStringProperty"}, + "ValidationMessage":{"shape":"EnclosedInStringProperty"}, + "Value":{"shape":"EnclosedInStringProperties"}, + "ListType":{"shape":"ParamType"}, + "IsOptional":{"shape":"BoxedBoolean"} + } + }, + "TransformConfigParameterList":{ + "type":"list", + "member":{"shape":"TransformConfigParameter"} + }, "TransformEncryption":{ "type":"structure", "members":{ diff --git a/models/apis/glue/2017-03-31/docs-2.json b/models/apis/glue/2017-03-31/docs-2.json index f6f3ec25f1c..3602364f7b8 100644 --- a/models/apis/glue/2017-03-31/docs-2.json +++ b/models/apis/glue/2017-03-31/docs-2.json @@ -728,7 +728,8 @@ "S3DirectSourceAdditionalOptions$EnableSamplePath": "

Sets option to enable a sample path.

", "S3JsonSource$Recurse": "

If set to true, recursively reads files in all subdirectories under the specified paths.

", "S3JsonSource$Multiline": "

A Boolean value that specifies whether a single record can span multiple lines. This can occur when a field contains a quoted new-line character. You must set this option to True if any record spans multiple lines. The default value is False, which allows for more aggressive file-splitting during parsing.

", - "S3ParquetSource$Recurse": "

If set to true, recursively reads files in all subdirectories under the specified paths.

" + "S3ParquetSource$Recurse": "

If set to true, recursively reads files in all subdirectories under the specified paths.

", + "TransformConfigParameter$IsOptional": "

Specifies whether the parameter is optional or not in the config file of the dynamic transform.

" } }, "BoxedDoubleFraction": { @@ -2320,6 +2321,12 @@ "CodeGenConfigurationNode$DropNullFields": "

Specifies a transform that removes columns from the dataset if all values in the column are 'null'. By default, Glue Studio will recognize null objects, but some values such as empty strings, strings that are \"null\", -1 integers or other placeholders such as zeros, are not automatically recognized as nulls.

" } }, + "DynamicTransform": { + "base": "

Specifies the set of parameters needed to perform the dynamic transform.

", + "refs": { + "CodeGenConfigurationNode$DynamicTransform": "

Specifies a custom visual transform created by a user.

" + } + }, "DynamoDBCatalogSource": { "base": "

Specifies a DynamoDB data source in the Glue Data Catalog.

", "refs": { @@ -2378,7 +2385,8 @@ "S3JsonSource$Paths": "

A list of the Amazon S3 paths to read from.

", "S3JsonSource$Exclusions": "

A string containing a JSON list of Unix-style glob patterns to exclude. For example, \"[\\\"**.pdf\\\"]\" excludes all PDF files.

", "S3ParquetSource$Paths": "

A list of the Amazon S3 paths to read from.

", - "S3ParquetSource$Exclusions": "

A string containing a JSON list of Unix-style glob patterns to exclude. For example, \"[\\\"**.pdf\\\"]\" excludes all PDF files.

" + "S3ParquetSource$Exclusions": "

A string containing a JSON list of Unix-style glob patterns to exclude. For example, \"[\\\"**.pdf\\\"]\" excludes all PDF files.

", + "TransformConfigParameter$Value": "

Specifies the value of the parameter in the config file of the dynamic transform.

" } }, "EnclosedInStringPropertiesMinOne": { @@ -2407,6 +2415,11 @@ "CustomCode$ClassName": "

The name defined for the custom code node class.

", "DirectSchemaChangePolicy$Table": "

Specifies the table in the database that the schema change policy applies to.

", "DirectSchemaChangePolicy$Database": "

Specifies the database that the schema change policy applies to.

", + "DynamicTransform$Name": "

Specifies the name of the dynamic transform.

", + "DynamicTransform$TransformName": "

Specifies the name of the dynamic transform as it appears in the Glue Studio visual editor.

", + "DynamicTransform$FunctionName": "

Specifies the name of the function of the dynamic transform.

", + "DynamicTransform$Path": "

Specifies the path of the dynamic transform source and config files.

", + "DynamicTransform$Version": "

This field is not used and will be deprecated in future release.

", "DynamoDBCatalogSource$Database": "

The name of the database to read from.

", "DynamoDBCatalogSource$Table": "

The name of the table in the database to read from.

", "EnclosedInStringProperties$member": null, @@ -2499,6 +2512,9 @@ "SparkConnectorTarget$ConnectorName": "

The name of an Apache Spark connector.

", "SparkConnectorTarget$ConnectionType": "

The type of connection, such as marketplace.spark or custom.spark, designating a connection to an Apache Spark data store.

", "Spigot$Path": "

A path in Amazon S3 where the transform will write a subset of records from the dataset to a JSON file in an Amazon S3 bucket.

", + "TransformConfigParameter$Name": "

Specifies the name of the parameter in the config file of the dynamic transform.

", + "TransformConfigParameter$ValidationRule": "

Specifies the validation rule in the config file of the dynamic transform.

", + "TransformConfigParameter$ValidationMessage": "

Specifies the validation message in the config file of the dynamic transform.

", "UpsertRedshiftTargetOptions$TableLocation": "

The physical location of the Redshift table.

", "UpsertRedshiftTargetOptions$ConnectionName": "

The name of the connection to use to write to Redshift.

" } @@ -3574,7 +3590,7 @@ } }, "GlueSchema": { - "base": "

Specifies a user-defined schema when a schema cannot be determined by AWS Glue.

", + "base": "

Specifies a user-defined schema when a schema cannot be determined by Glue.

", "refs": { "GlueSchemas$member": null } @@ -5184,6 +5200,7 @@ "DropDuplicates$Inputs": "

The data inputs identified by their node names.

", "DropFields$Inputs": "

The data inputs identified by their node names.

", "DropNullFields$Inputs": "

The data inputs identified by their node names.

", + "DynamicTransform$Inputs": "

Specifies the inputs for the dynamic transform that are required.

", "FillMissingValues$Inputs": "

The data inputs identified by their node names.

", "Filter$Inputs": "

The data inputs identified by their node names.

", "GovernedCatalogTarget$Inputs": "

The nodes that are inputs to the data target.

", @@ -5377,6 +5394,13 @@ "ListMLTransformsResponse$NextToken": "

A continuation token, if the returned list does not contain the last metric available.

" } }, + "ParamType": { + "base": null, + "refs": { + "TransformConfigParameter$Type": "

Specifies the parameter type in the config file of the dynamic transform.

", + "TransformConfigParameter$ListType": "

Specifies the list type of the parameter in the config file of the dynamic transform.

" + } + }, "ParametersMap": { "base": null, "refs": { @@ -7067,6 +7091,18 @@ "UpdateTableRequest$TransactionId": "

The transaction ID at which to update the table contents.

" } }, + "TransformConfigParameter": { + "base": "

Specifies the parameters in the config file of the dynamic transform.

", + "refs": { + "TransformConfigParameterList$member": null + } + }, + "TransformConfigParameterList": { + "base": null, + "refs": { + "DynamicTransform$Parameters": "

Specifies the parameters of the dynamic transform.

" + } + }, "TransformEncryption": { "base": "

The encryption-at-rest settings of the transform that apply to accessing user data. Machine learning transforms can access user data encrypted in Amazon S3 using KMS.

Additionally, imported labels and trained transforms can now be encrypted using a customer provided KMS key.

", "refs": { diff --git a/models/apis/glue/2017-03-31/endpoint-rule-set-1.json b/models/apis/glue/2017-03-31/endpoint-rule-set-1.json index fac1a2e4247..a5c46721e53 100644 --- a/models/apis/glue/2017-03-31/endpoint-rule-set-1.json +++ b/models/apis/glue/2017-03-31/endpoint-rule-set-1.json @@ -3,7 +3,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": false, + "required": true, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, diff --git a/models/apis/glue/2017-03-31/endpoint-tests-1.json b/models/apis/glue/2017-03-31/endpoint-tests-1.json index d2bcd4f5098..f4d72c68822 100644 --- a/models/apis/glue/2017-03-31/endpoint-tests-1.json +++ b/models/apis/glue/2017-03-31/endpoint-tests-1.json @@ -8,8 +8,8 @@ } }, "params": { - "UseFIPS": true, "Region": "ap-south-1", + "UseFIPS": true, "UseDualStack": true } }, @@ -21,8 +21,8 @@ } }, "params": { - "UseFIPS": true, "Region": "ap-south-1", + "UseFIPS": true, "UseDualStack": false } }, @@ -34,8 +34,8 @@ } }, "params": { - "UseFIPS": false, "Region": "ap-south-1", + "UseFIPS": false, "UseDualStack": true } }, @@ -47,8 +47,8 @@ } }, "params": { - "UseFIPS": false, "Region": "ap-south-1", + "UseFIPS": false, "UseDualStack": false } }, @@ -60,8 +60,8 @@ } }, "params": { - "UseFIPS": true, "Region": "eu-south-1", + "UseFIPS": true, "UseDualStack": true } }, @@ -73,8 +73,8 @@ } }, "params": { - "UseFIPS": true, "Region": "eu-south-1", + "UseFIPS": true, "UseDualStack": false } }, @@ -86,8 +86,8 @@ } }, "params": { - "UseFIPS": false, "Region": "eu-south-1", + "UseFIPS": false, "UseDualStack": true } }, @@ -99,8 +99,8 @@ } }, "params": { - "UseFIPS": false, "Region": "eu-south-1", + "UseFIPS": false, "UseDualStack": false } }, @@ -112,8 +112,8 @@ } }, "params": { - "UseFIPS": true, "Region": "eu-south-2", + "UseFIPS": true, "UseDualStack": true } }, @@ -125,8 +125,8 @@ } }, "params": { - "UseFIPS": true, "Region": "eu-south-2", + "UseFIPS": true, "UseDualStack": false } }, @@ -138,8 +138,8 @@ } }, "params": { - "UseFIPS": false, "Region": "eu-south-2", + "UseFIPS": false, "UseDualStack": true } }, @@ -151,8 +151,8 @@ } }, "params": { - "UseFIPS": false, "Region": "eu-south-2", + "UseFIPS": false, "UseDualStack": false } }, @@ -164,8 +164,8 @@ } }, "params": { - "UseFIPS": true, "Region": "us-gov-east-1", + "UseFIPS": true, "UseDualStack": true } }, @@ -177,8 +177,8 @@ } }, "params": { - "UseFIPS": true, "Region": "us-gov-east-1", + "UseFIPS": true, "UseDualStack": false } }, @@ -190,8 +190,8 @@ } }, "params": { - "UseFIPS": false, "Region": "us-gov-east-1", + "UseFIPS": false, "UseDualStack": true } }, @@ -203,8 +203,8 @@ } }, "params": { - "UseFIPS": false, "Region": "us-gov-east-1", + "UseFIPS": false, "UseDualStack": false } }, @@ -216,8 +216,8 @@ } }, "params": { - "UseFIPS": true, "Region": "me-central-1", + "UseFIPS": true, "UseDualStack": true } }, @@ -229,8 +229,8 @@ } }, "params": { - "UseFIPS": true, "Region": "me-central-1", + "UseFIPS": true, "UseDualStack": false } }, @@ -242,8 +242,8 @@ } }, "params": { - "UseFIPS": false, "Region": "me-central-1", + "UseFIPS": false, "UseDualStack": true } }, @@ -255,8 +255,8 @@ } }, "params": { - "UseFIPS": false, "Region": "me-central-1", + "UseFIPS": false, "UseDualStack": false } }, @@ -268,8 +268,8 @@ } }, "params": { - "UseFIPS": true, "Region": "ca-central-1", + "UseFIPS": true, "UseDualStack": true } }, @@ -281,8 +281,8 @@ } }, "params": { - "UseFIPS": true, "Region": "ca-central-1", + "UseFIPS": true, "UseDualStack": false } }, @@ -294,8 +294,8 @@ } }, "params": { - "UseFIPS": false, "Region": "ca-central-1", + "UseFIPS": false, "UseDualStack": true } }, @@ -307,8 +307,8 @@ } }, "params": { - "UseFIPS": false, "Region": "ca-central-1", + "UseFIPS": false, "UseDualStack": false } }, @@ -320,8 +320,8 @@ } }, "params": { - "UseFIPS": true, "Region": "eu-central-1", + "UseFIPS": true, "UseDualStack": true } }, @@ -333,8 +333,8 @@ } }, "params": { - "UseFIPS": true, "Region": "eu-central-1", + "UseFIPS": true, "UseDualStack": false } }, @@ -346,8 +346,8 @@ } }, "params": { - "UseFIPS": false, "Region": "eu-central-1", + "UseFIPS": false, "UseDualStack": true } }, @@ -359,8 +359,8 @@ } }, "params": { - "UseFIPS": false, "Region": "eu-central-1", + "UseFIPS": false, "UseDualStack": false } }, @@ -372,8 +372,8 @@ } }, "params": { - "UseFIPS": true, "Region": "us-west-1", + "UseFIPS": true, "UseDualStack": true } }, @@ -385,8 +385,8 @@ } }, "params": { - "UseFIPS": true, "Region": "us-west-1", + "UseFIPS": true, "UseDualStack": false } }, @@ -398,8 +398,8 @@ } }, "params": { - "UseFIPS": false, "Region": "us-west-1", + "UseFIPS": false, "UseDualStack": true } }, @@ -411,8 +411,8 @@ } }, "params": { - "UseFIPS": false, "Region": "us-west-1", + "UseFIPS": false, "UseDualStack": false } }, @@ -424,8 +424,8 @@ } }, "params": { - "UseFIPS": true, "Region": "us-west-2", + "UseFIPS": true, "UseDualStack": true } }, @@ -437,8 +437,8 @@ } }, "params": { - "UseFIPS": true, "Region": "us-west-2", + "UseFIPS": true, "UseDualStack": false } }, @@ -450,8 +450,8 @@ } }, "params": { - "UseFIPS": false, "Region": "us-west-2", + "UseFIPS": false, "UseDualStack": true } }, @@ -463,8 +463,8 @@ } }, "params": { - "UseFIPS": false, "Region": "us-west-2", + "UseFIPS": false, "UseDualStack": false } }, @@ -476,8 +476,8 @@ } }, "params": { - "UseFIPS": true, "Region": "af-south-1", + "UseFIPS": true, "UseDualStack": true } }, @@ -489,8 +489,8 @@ } }, "params": { - "UseFIPS": true, "Region": "af-south-1", + "UseFIPS": true, "UseDualStack": false } }, @@ -502,8 +502,8 @@ } }, "params": { - "UseFIPS": false, "Region": "af-south-1", + "UseFIPS": false, "UseDualStack": true } }, @@ -515,8 +515,8 @@ } }, "params": { - "UseFIPS": false, "Region": "af-south-1", + "UseFIPS": false, "UseDualStack": false } }, @@ -528,8 +528,8 @@ } }, "params": { - "UseFIPS": true, "Region": "eu-north-1", + "UseFIPS": true, "UseDualStack": true } }, @@ -541,8 +541,8 @@ } }, "params": { - "UseFIPS": true, "Region": "eu-north-1", + "UseFIPS": true, "UseDualStack": false } }, @@ -554,8 +554,8 @@ } }, "params": { - "UseFIPS": false, "Region": "eu-north-1", + "UseFIPS": false, "UseDualStack": true } }, @@ -567,8 +567,8 @@ } }, "params": { - "UseFIPS": false, "Region": "eu-north-1", + "UseFIPS": false, "UseDualStack": false } }, @@ -580,8 +580,8 @@ } }, "params": { - "UseFIPS": true, "Region": "eu-west-3", + "UseFIPS": true, "UseDualStack": true } }, @@ -593,8 +593,8 @@ } }, "params": { - "UseFIPS": true, "Region": "eu-west-3", + "UseFIPS": true, "UseDualStack": false } }, @@ -606,8 +606,8 @@ } }, "params": { - "UseFIPS": false, "Region": "eu-west-3", + "UseFIPS": false, "UseDualStack": true } }, @@ -619,8 +619,8 @@ } }, "params": { - "UseFIPS": false, "Region": "eu-west-3", + "UseFIPS": false, "UseDualStack": false } }, @@ -632,8 +632,8 @@ } }, "params": { - "UseFIPS": true, "Region": "eu-west-2", + "UseFIPS": true, "UseDualStack": true } }, @@ -645,8 +645,8 @@ } }, "params": { - "UseFIPS": true, "Region": "eu-west-2", + "UseFIPS": true, "UseDualStack": false } }, @@ -658,8 +658,8 @@ } }, "params": { - "UseFIPS": false, "Region": "eu-west-2", + "UseFIPS": false, "UseDualStack": true } }, @@ -671,8 +671,8 @@ } }, "params": { - "UseFIPS": false, "Region": "eu-west-2", + "UseFIPS": false, "UseDualStack": false } }, @@ -684,8 +684,8 @@ } }, "params": { - "UseFIPS": true, "Region": "eu-west-1", + "UseFIPS": true, "UseDualStack": true } }, @@ -697,8 +697,8 @@ } }, "params": { - "UseFIPS": true, "Region": "eu-west-1", + "UseFIPS": true, "UseDualStack": false } }, @@ -710,8 +710,8 @@ } }, "params": { - "UseFIPS": false, "Region": "eu-west-1", + "UseFIPS": false, "UseDualStack": true } }, @@ -723,8 +723,8 @@ } }, "params": { - "UseFIPS": false, "Region": "eu-west-1", + "UseFIPS": false, "UseDualStack": false } }, @@ -736,8 +736,8 @@ } }, "params": { - "UseFIPS": true, "Region": "ap-northeast-3", + "UseFIPS": true, "UseDualStack": true } }, @@ -749,8 +749,8 @@ } }, "params": { - "UseFIPS": true, "Region": "ap-northeast-3", + "UseFIPS": true, "UseDualStack": false } }, @@ -762,8 +762,8 @@ } }, "params": { - "UseFIPS": false, "Region": "ap-northeast-3", + "UseFIPS": false, "UseDualStack": true } }, @@ -775,8 +775,8 @@ } }, "params": { - "UseFIPS": false, "Region": "ap-northeast-3", + "UseFIPS": false, "UseDualStack": false } }, @@ -788,8 +788,8 @@ } }, "params": { - "UseFIPS": true, "Region": "ap-northeast-2", + "UseFIPS": true, "UseDualStack": true } }, @@ -801,8 +801,8 @@ } }, "params": { - "UseFIPS": true, "Region": "ap-northeast-2", + "UseFIPS": true, "UseDualStack": false } }, @@ -814,8 +814,8 @@ } }, "params": { - "UseFIPS": false, "Region": "ap-northeast-2", + "UseFIPS": false, "UseDualStack": true } }, @@ -827,8 +827,8 @@ } }, "params": { - "UseFIPS": false, "Region": "ap-northeast-2", + "UseFIPS": false, "UseDualStack": false } }, @@ -840,8 +840,8 @@ } }, "params": { - "UseFIPS": true, "Region": "ap-northeast-1", + "UseFIPS": true, "UseDualStack": true } }, @@ -853,8 +853,8 @@ } }, "params": { - "UseFIPS": true, "Region": "ap-northeast-1", + "UseFIPS": true, "UseDualStack": false } }, @@ -866,8 +866,8 @@ } }, "params": { - "UseFIPS": false, "Region": "ap-northeast-1", + "UseFIPS": false, "UseDualStack": true } }, @@ -879,8 +879,8 @@ } }, "params": { - "UseFIPS": false, "Region": "ap-northeast-1", + "UseFIPS": false, "UseDualStack": false } }, @@ -892,8 +892,8 @@ } }, "params": { - "UseFIPS": true, "Region": "me-south-1", + "UseFIPS": true, "UseDualStack": true } }, @@ -905,8 +905,8 @@ } }, "params": { - "UseFIPS": true, "Region": "me-south-1", + "UseFIPS": true, "UseDualStack": false } }, @@ -918,8 +918,8 @@ } }, "params": { - "UseFIPS": false, "Region": "me-south-1", + "UseFIPS": false, "UseDualStack": true } }, @@ -931,8 +931,8 @@ } }, "params": { - "UseFIPS": false, "Region": "me-south-1", + "UseFIPS": false, "UseDualStack": false } }, @@ -944,8 +944,8 @@ } }, "params": { - "UseFIPS": true, "Region": "sa-east-1", + "UseFIPS": true, "UseDualStack": true } }, @@ -957,8 +957,8 @@ } }, "params": { - "UseFIPS": true, "Region": "sa-east-1", + "UseFIPS": true, "UseDualStack": false } }, @@ -970,8 +970,8 @@ } }, "params": { - "UseFIPS": false, "Region": "sa-east-1", + "UseFIPS": false, "UseDualStack": true } }, @@ -983,8 +983,8 @@ } }, "params": { - "UseFIPS": false, "Region": "sa-east-1", + "UseFIPS": false, "UseDualStack": false } }, @@ -996,8 +996,8 @@ } }, "params": { - "UseFIPS": true, "Region": "ap-east-1", + "UseFIPS": true, "UseDualStack": true } }, @@ -1009,8 +1009,8 @@ } }, "params": { - "UseFIPS": true, "Region": "ap-east-1", + "UseFIPS": true, "UseDualStack": false } }, @@ -1022,8 +1022,8 @@ } }, "params": { - "UseFIPS": false, "Region": "ap-east-1", + "UseFIPS": false, "UseDualStack": true } }, @@ -1035,8 +1035,8 @@ } }, "params": { - "UseFIPS": false, "Region": "ap-east-1", + "UseFIPS": false, "UseDualStack": false } }, @@ -1048,8 +1048,8 @@ } }, "params": { - "UseFIPS": true, "Region": "cn-north-1", + "UseFIPS": true, "UseDualStack": true } }, @@ -1061,8 +1061,8 @@ } }, "params": { - "UseFIPS": true, "Region": "cn-north-1", + "UseFIPS": true, "UseDualStack": false } }, @@ -1074,8 +1074,8 @@ } }, "params": { - "UseFIPS": false, "Region": "cn-north-1", + "UseFIPS": false, "UseDualStack": true } }, @@ -1087,8 +1087,8 @@ } }, "params": { - "UseFIPS": false, "Region": "cn-north-1", + "UseFIPS": false, "UseDualStack": false } }, @@ -1100,8 +1100,8 @@ } }, "params": { - "UseFIPS": true, "Region": "us-gov-west-1", + "UseFIPS": true, "UseDualStack": true } }, @@ -1113,8 +1113,8 @@ } }, "params": { - "UseFIPS": true, "Region": "us-gov-west-1", + "UseFIPS": true, "UseDualStack": false } }, @@ -1126,8 +1126,8 @@ } }, "params": { - "UseFIPS": false, "Region": "us-gov-west-1", + "UseFIPS": false, "UseDualStack": true } }, @@ -1139,8 +1139,8 @@ } }, "params": { - "UseFIPS": false, "Region": "us-gov-west-1", + "UseFIPS": false, "UseDualStack": false } }, @@ -1152,8 +1152,8 @@ } }, "params": { - "UseFIPS": true, "Region": "ap-southeast-1", + "UseFIPS": true, "UseDualStack": true } }, @@ -1165,8 +1165,8 @@ } }, "params": { - "UseFIPS": true, "Region": "ap-southeast-1", + "UseFIPS": true, "UseDualStack": false } }, @@ -1178,8 +1178,8 @@ } }, "params": { - "UseFIPS": false, "Region": "ap-southeast-1", + "UseFIPS": false, "UseDualStack": true } }, @@ -1191,8 +1191,8 @@ } }, "params": { - "UseFIPS": false, "Region": "ap-southeast-1", + "UseFIPS": false, "UseDualStack": false } }, @@ -1204,8 +1204,8 @@ } }, "params": { - "UseFIPS": true, "Region": "ap-southeast-2", + "UseFIPS": true, "UseDualStack": true } }, @@ -1217,8 +1217,8 @@ } }, "params": { - "UseFIPS": true, "Region": "ap-southeast-2", + "UseFIPS": true, "UseDualStack": false } }, @@ -1230,8 +1230,8 @@ } }, "params": { - "UseFIPS": false, "Region": "ap-southeast-2", + "UseFIPS": false, "UseDualStack": true } }, @@ -1243,8 +1243,8 @@ } }, "params": { - "UseFIPS": false, "Region": "ap-southeast-2", + "UseFIPS": false, "UseDualStack": false } }, @@ -1254,8 +1254,8 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseFIPS": true, "Region": "us-iso-east-1", + "UseFIPS": true, "UseDualStack": true } }, @@ -1267,8 +1267,8 @@ } }, "params": { - "UseFIPS": true, "Region": "us-iso-east-1", + "UseFIPS": true, "UseDualStack": false } }, @@ -1278,8 +1278,8 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseFIPS": false, "Region": "us-iso-east-1", + "UseFIPS": false, "UseDualStack": true } }, @@ -1291,8 +1291,8 @@ } }, "params": { - "UseFIPS": false, "Region": "us-iso-east-1", + "UseFIPS": false, "UseDualStack": false } }, @@ -1304,8 +1304,8 @@ } }, "params": { - "UseFIPS": true, "Region": "ap-southeast-3", + "UseFIPS": true, "UseDualStack": true } }, @@ -1317,8 +1317,8 @@ } }, "params": { - "UseFIPS": true, "Region": "ap-southeast-3", + "UseFIPS": true, "UseDualStack": false } }, @@ -1330,8 +1330,8 @@ } }, "params": { - "UseFIPS": false, "Region": "ap-southeast-3", + "UseFIPS": false, "UseDualStack": true } }, @@ -1343,8 +1343,8 @@ } }, "params": { - "UseFIPS": false, "Region": "ap-southeast-3", + "UseFIPS": false, "UseDualStack": false } }, @@ -1356,8 +1356,8 @@ } }, "params": { - "UseFIPS": true, "Region": "us-east-1", + "UseFIPS": true, "UseDualStack": true } }, @@ -1369,8 +1369,8 @@ } }, "params": { - "UseFIPS": true, "Region": "us-east-1", + "UseFIPS": true, "UseDualStack": false } }, @@ -1382,8 +1382,8 @@ } }, "params": { - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, "UseDualStack": true } }, @@ -1395,8 +1395,8 @@ } }, "params": { - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, "UseDualStack": false } }, @@ -1408,8 +1408,8 @@ } }, "params": { - "UseFIPS": true, "Region": "us-east-2", + "UseFIPS": true, "UseDualStack": true } }, @@ -1421,8 +1421,8 @@ } }, "params": { - "UseFIPS": true, "Region": "us-east-2", + "UseFIPS": true, "UseDualStack": false } }, @@ -1434,8 +1434,8 @@ } }, "params": { - "UseFIPS": false, "Region": "us-east-2", + "UseFIPS": false, "UseDualStack": true } }, @@ -1447,8 +1447,8 @@ } }, "params": { - "UseFIPS": false, "Region": "us-east-2", + "UseFIPS": false, "UseDualStack": false } }, @@ -1460,8 +1460,8 @@ } }, "params": { - "UseFIPS": true, "Region": "cn-northwest-1", + "UseFIPS": true, "UseDualStack": true } }, @@ -1473,8 +1473,8 @@ } }, "params": { - "UseFIPS": true, "Region": "cn-northwest-1", + "UseFIPS": true, "UseDualStack": false } }, @@ -1486,8 +1486,8 @@ } }, "params": { - "UseFIPS": false, "Region": "cn-northwest-1", + "UseFIPS": false, "UseDualStack": true } }, @@ -1499,8 +1499,8 @@ } }, "params": { - "UseFIPS": false, "Region": "cn-northwest-1", + "UseFIPS": false, "UseDualStack": false } }, @@ -1510,8 +1510,8 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseFIPS": true, "Region": "us-isob-east-1", + "UseFIPS": true, "UseDualStack": true } }, @@ -1523,8 +1523,8 @@ } }, "params": { - "UseFIPS": true, "Region": "us-isob-east-1", + "UseFIPS": true, "UseDualStack": false } }, @@ -1534,8 +1534,8 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseFIPS": false, "Region": "us-isob-east-1", + "UseFIPS": false, "UseDualStack": true } }, @@ -1547,8 +1547,8 @@ } }, "params": { - "UseFIPS": false, "Region": "us-isob-east-1", + "UseFIPS": false, "UseDualStack": false } }, @@ -1560,8 +1560,8 @@ } }, "params": { - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, "UseDualStack": false, "Endpoint": "https://example.com" } @@ -1572,8 +1572,8 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseFIPS": true, "Region": "us-east-1", + "UseFIPS": true, "UseDualStack": false, "Endpoint": "https://example.com" } @@ -1584,8 +1584,8 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, "UseDualStack": true, "Endpoint": "https://example.com" } diff --git a/models/apis/inspector2/2020-06-08/api-2.json b/models/apis/inspector2/2020-06-08/api-2.json index 8e1b34a88be..c19c06a7385 100644 --- a/models/apis/inspector2/2020-06-08/api-2.json +++ b/models/apis/inspector2/2020-06-08/api-2.json @@ -641,6 +641,8 @@ "ec2InstanceAggregation":{"shape":"Ec2InstanceAggregation"}, "findingTypeAggregation":{"shape":"FindingTypeAggregation"}, "imageLayerAggregation":{"shape":"ImageLayerAggregation"}, + "lambdaFunctionAggregation":{"shape":"LambdaFunctionAggregation"}, + "lambdaLayerAggregation":{"shape":"LambdaLayerAggregation"}, "packageAggregation":{"shape":"PackageAggregation"}, "repositoryAggregation":{"shape":"RepositoryAggregation"}, "titleAggregation":{"shape":"TitleAggregation"} @@ -651,7 +653,8 @@ "type":"string", "enum":[ "AWS_EC2_INSTANCE", - "AWS_ECR_CONTAINER_IMAGE" + "AWS_ECR_CONTAINER_IMAGE", + "AWS_LAMBDA_FUNCTION" ] }, "AggregationResponse":{ @@ -663,6 +666,8 @@ "ec2InstanceAggregation":{"shape":"Ec2InstanceAggregationResponse"}, "findingTypeAggregation":{"shape":"FindingTypeAggregationResponse"}, "imageLayerAggregation":{"shape":"ImageLayerAggregationResponse"}, + "lambdaFunctionAggregation":{"shape":"LambdaFunctionAggregationResponse"}, + "lambdaLayerAggregation":{"shape":"LambdaLayerAggregationResponse"}, "packageAggregation":{"shape":"PackageAggregationResponse"}, "repositoryAggregation":{"shape":"RepositoryAggregationResponse"}, "titleAggregation":{"shape":"TitleAggregationResponse"} @@ -684,7 +689,9 @@ "AWS_EC2_INSTANCE", "AWS_ECR_CONTAINER", "IMAGE_LAYER", - "ACCOUNT" + "ACCOUNT", + "AWS_LAMBDA_FUNCTION", + "LAMBDA_LAYER" ] }, "AmiAggregation":{ @@ -700,10 +707,7 @@ "required":["ami"], "members":{ "accountId":{"shape":"AccountId"}, - "affectedInstances":{ - "shape":"Long", - "box":true - }, + "affectedInstances":{"shape":"Long"}, "ami":{"shape":"AmiId"}, "severityCounts":{"shape":"SeverityCounts"} } @@ -721,6 +725,19 @@ "AFFECTED_INSTANCES" ] }, + "Architecture":{ + "type":"string", + "enum":[ + "X86_64", + "ARM64" + ] + }, + "ArchitectureList":{ + "type":"list", + "member":{"shape":"Architecture"}, + "max":1, + "min":1 + }, "Arn":{ "type":"string", "max":1011, @@ -747,14 +764,9 @@ "ecr" ], "members":{ - "ec2":{ - "shape":"Boolean", - "box":true - }, - "ecr":{ - "shape":"Boolean", - "box":true - } + "ec2":{"shape":"Boolean"}, + "ecr":{"shape":"Boolean"}, + "lambda":{"shape":"Boolean"} } }, "AwsEc2InstanceDetails":{ @@ -823,6 +835,28 @@ "ALL" ] }, + "AwsLambdaFunctionDetails":{ + "type":"structure", + "required":[ + "codeSha256", + "executionRoleArn", + "functionName", + "runtime", + "version" + ], + "members":{ + "architectures":{"shape":"ArchitectureList"}, + "codeSha256":{"shape":"NonEmptyString"}, + "executionRoleArn":{"shape":"ExecutionRoleArn"}, + "functionName":{"shape":"FunctionName"}, + "lastModifiedAt":{"shape":"Timestamp"}, + "layers":{"shape":"LayerList"}, + "packageType":{"shape":"PackageType"}, + "runtime":{"shape":"Runtime"}, + "version":{"shape":"Version"}, + "vpcConfig":{"shape":"LambdaVpcConfig"} + } + }, "BadRequestException":{ "type":"structure", "required":["message"], @@ -873,7 +907,10 @@ "failedAccounts":{"shape":"FreeTrialInfoErrorList"} } }, - "Boolean":{"type":"boolean"}, + "Boolean":{ + "type":"boolean", + "box":true + }, "CancelFindingsReportRequest":{ "type":"structure", "required":["reportId"], @@ -916,10 +953,7 @@ "Counts":{ "type":"structure", "members":{ - "count":{ - "shape":"AggCounts", - "default":0 - }, + "count":{"shape":"AggCounts"}, "groupKey":{"shape":"GroupKey"} } }, @@ -936,6 +970,9 @@ "ec2InstanceTags":{"shape":"CoverageMapFilterList"}, "ecrImageTags":{"shape":"CoverageStringFilterList"}, "ecrRepositoryName":{"shape":"CoverageStringFilterList"}, + "lambdaFunctionName":{"shape":"CoverageStringFilterList"}, + "lambdaFunctionRuntime":{"shape":"CoverageStringFilterList"}, + "lambdaFunctionTags":{"shape":"CoverageMapFilterList"}, "resourceId":{"shape":"CoverageStringFilterList"}, "resourceType":{"shape":"CoverageStringFilterList"}, "scanStatusCode":{"shape":"CoverageStringFilterList"}, @@ -970,7 +1007,8 @@ "enum":[ "AWS_EC2_INSTANCE", "AWS_ECR_CONTAINER_IMAGE", - "AWS_ECR_REPOSITORY" + "AWS_ECR_REPOSITORY", + "AWS_LAMBDA_FUNCTION" ] }, "CoverageStringComparison":{ @@ -1077,10 +1115,7 @@ "version" ], "members":{ - "baseScore":{ - "shape":"Double", - "box":true - }, + "baseScore":{"shape":"Double"}, "scoringVector":{"shape":"NonEmptyString"}, "source":{"shape":"NonEmptyString"}, "version":{"shape":"NonEmptyString"} @@ -1112,10 +1147,7 @@ "members":{ "adjustments":{"shape":"CvssScoreAdjustmentList"}, "cvssSource":{"shape":"NonEmptyString"}, - "score":{ - "shape":"Double", - "box":true - }, + "score":{"shape":"Double"}, "scoreSource":{"shape":"NonEmptyString"}, "scoringVector":{"shape":"NonEmptyString"}, "version":{"shape":"NonEmptyString"} @@ -1189,10 +1221,7 @@ "type":"structure", "members":{ "autoEnable":{"shape":"AutoEnable"}, - "maxAccountLimitReached":{ - "shape":"Boolean", - "box":true - } + "maxAccountLimitReached":{"shape":"Boolean"} } }, "Destination":{ @@ -1231,7 +1260,7 @@ "DisableResourceTypeList":{ "type":"list", "member":{"shape":"ResourceScanType"}, - "max":2, + "max":3, "min":0 }, "DisableResponse":{ @@ -1256,7 +1285,10 @@ "accountId":{"shape":"AccountId"} } }, - "Double":{"type":"double"}, + "Double":{ + "type":"double", + "box":true + }, "Ec2InstanceAggregation":{ "type":"structure", "members":{ @@ -1276,10 +1308,7 @@ "ami":{"shape":"AmiId"}, "instanceId":{"shape":"NonEmptyString"}, "instanceTags":{"shape":"TagMap"}, - "networkFindings":{ - "shape":"Long", - "box":true - }, + "networkFindings":{"shape":"Long"}, "operatingSystem":{"shape":"String"}, "severityCounts":{"shape":"SeverityCounts"} } @@ -1400,7 +1429,7 @@ "EnableResourceTypeList":{ "type":"list", "member":{"shape":"ResourceScanType"}, - "max":2, + "max":3, "min":1 }, "EnableResponse":{ @@ -1431,6 +1460,23 @@ ] }, "ErrorMessage":{"type":"string"}, + "ExecutionRoleArn":{ + "type":"string", + "pattern":"^arn:(aws[a-zA-Z-]*)?:iam::\\d{12}:role/?[a-zA-Z_0-9+=,.@\\-_/]+$" + }, + "ExploitAvailable":{ + "type":"string", + "enum":[ + "YES", + "NO" + ] + }, + "ExploitabilityDetails":{ + "type":"structure", + "members":{ + "lastKnownExploitAt":{"shape":"DateTimeTimestamp"} + } + }, "ExternalReportStatus":{ "type":"string", "enum":[ @@ -1521,12 +1567,18 @@ "ecrImageRegistry":{"shape":"StringFilterList"}, "ecrImageRepositoryName":{"shape":"StringFilterList"}, "ecrImageTags":{"shape":"StringFilterList"}, + "exploitAvailable":{"shape":"StringFilterList"}, "findingArn":{"shape":"StringFilterList"}, "findingStatus":{"shape":"StringFilterList"}, "findingType":{"shape":"StringFilterList"}, "firstObservedAt":{"shape":"DateFilterList"}, "fixAvailable":{"shape":"StringFilterList"}, "inspectorScore":{"shape":"NumberFilterList"}, + "lambdaFunctionExecutionRoleArn":{"shape":"StringFilterList"}, + "lambdaFunctionLastModifiedAt":{"shape":"DateFilterList"}, + "lambdaFunctionLayers":{"shape":"StringFilterList"}, + "lambdaFunctionName":{"shape":"StringFilterList"}, + "lambdaFunctionRuntime":{"shape":"StringFilterList"}, "lastObservedAt":{"shape":"DateFilterList"}, "networkProtocol":{"shape":"StringFilterList"}, "portRange":{"shape":"PortRangeFilterList"}, @@ -1579,13 +1631,12 @@ "members":{ "awsAccountId":{"shape":"AccountId"}, "description":{"shape":"FindingDescription"}, + "exploitAvailable":{"shape":"ExploitAvailable"}, + "exploitabilityDetails":{"shape":"ExploitabilityDetails"}, "findingArn":{"shape":"FindingArn"}, "firstObservedAt":{"shape":"DateTimeTimestamp"}, "fixAvailable":{"shape":"FixAvailable"}, - "inspectorScore":{ - "shape":"Double", - "box":true - }, + "inspectorScore":{"shape":"Double"}, "inspectorScoreDetails":{"shape":"InspectorScoreDetails"}, "lastObservedAt":{"shape":"DateTimeTimestamp"}, "networkReachabilityDetails":{"shape":"NetworkReachabilityDetails"}, @@ -1736,9 +1787,14 @@ "type":"string", "enum":[ "EC2", - "ECR" + "ECR", + "LAMBDA" ] }, + "FunctionName":{ + "type":"string", + "pattern":"^[a-zA-Z0-9-_\\.]+(:(\\$LATEST|[a-zA-Z0-9-_]+))?$" + }, "GetConfigurationRequest":{ "type":"structure", "members":{ @@ -1851,7 +1907,10 @@ "adjustedCvss":{"shape":"CvssScoreDetails"} } }, - "Integer":{"type":"integer"}, + "Integer":{ + "type":"integer", + "box":true + }, "InternalServerException":{ "type":"structure", "required":["message"], @@ -1859,7 +1918,6 @@ "message":{"shape":"String"}, "retryAfterSeconds":{ "shape":"Integer", - "box":true, "location":"header", "locationName":"Retry-After" } @@ -1888,18 +1946,115 @@ "type":"list", "member":{"shape":"IpV6Address"} }, + "LambdaFunctionAggregation":{ + "type":"structure", + "members":{ + "functionNames":{"shape":"StringFilterList"}, + "functionTags":{"shape":"MapFilterList"}, + "resourceIds":{"shape":"StringFilterList"}, + "runtimes":{"shape":"StringFilterList"}, + "sortBy":{"shape":"LambdaFunctionSortBy"}, + "sortOrder":{"shape":"SortOrder"} + } + }, + "LambdaFunctionAggregationResponse":{ + "type":"structure", + "required":["resourceId"], + "members":{ + "accountId":{"shape":"AccountId"}, + "functionName":{"shape":"String"}, + "lambdaTags":{"shape":"TagMap"}, + "lastModifiedAt":{"shape":"DateTimeTimestamp"}, + "resourceId":{"shape":"NonEmptyString"}, + "runtime":{"shape":"String"}, + "severityCounts":{"shape":"SeverityCounts"} + } + }, + "LambdaFunctionMetadata":{ + "type":"structure", + "members":{ + "functionName":{"shape":"String"}, + "functionTags":{"shape":"TagMap"}, + "layers":{"shape":"LambdaLayerList"}, + "runtime":{"shape":"Runtime"} + } + }, + "LambdaFunctionSortBy":{ + "type":"string", + "enum":[ + "CRITICAL", + "HIGH", + "ALL" + ] + }, + "LambdaLayerAggregation":{ + "type":"structure", + "members":{ + "functionNames":{"shape":"StringFilterList"}, + "layerArns":{"shape":"StringFilterList"}, + "resourceIds":{"shape":"StringFilterList"}, + "sortBy":{"shape":"LambdaLayerSortBy"}, + "sortOrder":{"shape":"SortOrder"} + } + }, + "LambdaLayerAggregationResponse":{ + "type":"structure", + "required":[ + "accountId", + "functionName", + "layerArn", + "resourceId" + ], + "members":{ + "accountId":{"shape":"AccountId"}, + "functionName":{"shape":"NonEmptyString"}, + "layerArn":{"shape":"NonEmptyString"}, + "resourceId":{"shape":"NonEmptyString"}, + "severityCounts":{"shape":"SeverityCounts"} + } + }, + "LambdaLayerArn":{ + "type":"string", + "pattern":"^arn:[a-zA-Z0-9-]+:lambda:[a-zA-Z0-9-]+:\\d{12}:layer:[a-zA-Z0-9-_]+:[0-9]+$" + }, + "LambdaLayerList":{ + "type":"list", + "member":{"shape":"String"}, + "max":5, + "min":0 + }, + "LambdaLayerSortBy":{ + "type":"string", + "enum":[ + "CRITICAL", + "HIGH", + "ALL" + ] + }, + "LambdaVpcConfig":{ + "type":"structure", + "members":{ + "securityGroupIds":{"shape":"SecurityGroupIdList"}, + "subnetIds":{"shape":"SubnetIdList"}, + "vpcId":{"shape":"VpcId"} + } + }, + "LayerList":{ + "type":"list", + "member":{"shape":"LambdaLayerArn"}, + "max":5, + "min":1 + }, "ListAccountPermissionsMaxResults":{ "type":"integer", + "box":true, "max":1024, "min":1 }, "ListAccountPermissionsRequest":{ "type":"structure", "members":{ - "maxResults":{ - "shape":"ListAccountPermissionsMaxResults", - "box":true - }, + "maxResults":{"shape":"ListAccountPermissionsMaxResults"}, "nextToken":{"shape":"NextToken"}, "service":{"shape":"Service"} } @@ -1914,6 +2069,7 @@ }, "ListCoverageMaxResults":{ "type":"integer", + "box":true, "max":200, "min":1 }, @@ -1921,10 +2077,7 @@ "type":"structure", "members":{ "filterCriteria":{"shape":"CoverageFilterCriteria"}, - "maxResults":{ - "shape":"ListCoverageMaxResults", - "box":true - }, + "maxResults":{"shape":"ListCoverageMaxResults"}, "nextToken":{"shape":"NextToken"} } }, @@ -1949,19 +2102,13 @@ "members":{ "countsByGroup":{"shape":"CountsList"}, "nextToken":{"shape":"NextToken"}, - "totalCounts":{ - "shape":"Long", - "box":true - } + "totalCounts":{"shape":"Long"} } }, "ListDelegatedAdminAccountsRequest":{ "type":"structure", "members":{ - "maxResults":{ - "shape":"ListDelegatedAdminMaxResults", - "box":true - }, + "maxResults":{"shape":"ListDelegatedAdminMaxResults"}, "nextToken":{"shape":"NextToken"} } }, @@ -1974,11 +2121,13 @@ }, "ListDelegatedAdminMaxResults":{ "type":"integer", + "box":true, "max":5, "min":1 }, "ListFilterMaxResults":{ "type":"integer", + "box":true, "max":100, "min":1 }, @@ -1987,10 +2136,7 @@ "members":{ "action":{"shape":"FilterAction"}, "arns":{"shape":"FilterArnList"}, - "maxResults":{ - "shape":"ListFilterMaxResults", - "box":true - }, + "maxResults":{"shape":"ListFilterMaxResults"}, "nextToken":{"shape":"NextToken"} } }, @@ -2004,6 +2150,7 @@ }, "ListFindingAggregationsMaxResults":{ "type":"integer", + "box":true, "max":100, "min":1 }, @@ -2014,10 +2161,7 @@ "accountIds":{"shape":"StringFilterList"}, "aggregationRequest":{"shape":"AggregationRequest"}, "aggregationType":{"shape":"AggregationType"}, - "maxResults":{ - "shape":"ListFindingAggregationsMaxResults", - "box":true - }, + "maxResults":{"shape":"ListFindingAggregationsMaxResults"}, "nextToken":{"shape":"NextToken"} } }, @@ -2032,6 +2176,7 @@ }, "ListFindingsMaxResults":{ "type":"integer", + "box":true, "max":100, "min":1 }, @@ -2039,10 +2184,7 @@ "type":"structure", "members":{ "filterCriteria":{"shape":"FilterCriteria"}, - "maxResults":{ - "shape":"ListFindingsMaxResults", - "box":true - }, + "maxResults":{"shape":"ListFindingsMaxResults"}, "nextToken":{"shape":"NextToken"}, "sortCriteria":{"shape":"SortCriteria"} } @@ -2056,21 +2198,16 @@ }, "ListMembersMaxResults":{ "type":"integer", + "box":true, "max":50, "min":1 }, "ListMembersRequest":{ "type":"structure", "members":{ - "maxResults":{ - "shape":"ListMembersMaxResults", - "box":true - }, + "maxResults":{"shape":"ListMembersMaxResults"}, "nextToken":{"shape":"NextToken"}, - "onlyAssociated":{ - "shape":"Boolean", - "box":true - } + "onlyAssociated":{"shape":"Boolean"} } }, "ListMembersResponse":{ @@ -2099,6 +2236,7 @@ }, "ListUsageTotalsMaxResults":{ "type":"integer", + "box":true, "max":500, "min":1 }, @@ -2110,10 +2248,7 @@ "type":"structure", "members":{ "accountIds":{"shape":"UsageAccountIdList"}, - "maxResults":{ - "shape":"ListUsageTotalsMaxResults", - "box":true - }, + "maxResults":{"shape":"ListUsageTotalsMaxResults"}, "nextToken":{"shape":"ListUsageTotalsNextToken"} } }, @@ -2124,7 +2259,10 @@ "totals":{"shape":"UsageTotalList"} } }, - "Long":{"type":"long"}, + "Long":{ + "type":"long", + "box":true + }, "MapComparison":{ "type":"string", "enum":["EQUALS"] @@ -2222,14 +2360,8 @@ "NumberFilter":{ "type":"structure", "members":{ - "lowerInclusive":{ - "shape":"Double", - "box":true - }, - "upperInclusive":{ - "shape":"Double", - "box":true - } + "lowerInclusive":{"shape":"Double"}, + "upperInclusive":{"shape":"Double"} } }, "NumberFilterList":{ @@ -2283,6 +2415,7 @@ "epoch":{"shape":"NumberFilter"}, "name":{"shape":"StringFilter"}, "release":{"shape":"StringFilter"}, + "sourceLambdaLayerArn":{"shape":"StringFilter"}, "sourceLayerHash":{"shape":"StringFilter"}, "version":{"shape":"StringFilter"} } @@ -2332,6 +2465,13 @@ "ALL" ] }, + "PackageType":{ + "type":"string", + "enum":[ + "IMAGE", + "ZIP" + ] + }, "PackageVersion":{ "type":"string", "max":1024, @@ -2380,6 +2520,7 @@ }, "Port":{ "type":"integer", + "box":true, "max":65535, "min":0 }, @@ -2390,27 +2531,15 @@ "end" ], "members":{ - "begin":{ - "shape":"Port", - "box":true - }, - "end":{ - "shape":"Port", - "box":true - } + "begin":{"shape":"Port"}, + "end":{"shape":"Port"} } }, "PortRangeFilter":{ "type":"structure", "members":{ - "beginInclusive":{ - "shape":"Port", - "box":true - }, - "endInclusive":{ - "shape":"Port", - "box":true - } + "beginInclusive":{"shape":"Port"}, + "endInclusive":{"shape":"Port"} } }, "PortRangeFilterList":{ @@ -2484,10 +2613,7 @@ "required":["repository"], "members":{ "accountId":{"shape":"AccountId"}, - "affectedImages":{ - "shape":"Long", - "box":true - }, + "affectedImages":{"shape":"Long"}, "repository":{"shape":"NonEmptyString"}, "severityCounts":{"shape":"SeverityCounts"} } @@ -2520,14 +2646,15 @@ "type":"structure", "members":{ "awsEc2Instance":{"shape":"AwsEc2InstanceDetails"}, - "awsEcrContainerImage":{"shape":"AwsEcrContainerImageDetails"} + "awsEcrContainerImage":{"shape":"AwsEcrContainerImageDetails"}, + "awsLambdaFunction":{"shape":"AwsLambdaFunctionDetails"} } }, "ResourceId":{ "type":"string", "max":341, "min":10, - "pattern":"(^arn:.*:ecr:.*:\\d{12}:repository\\/(?:[a-z0-9]+(?:[._-][a-z0-9]+)*\\/)*[a-z0-9]+(?:[._-][a-z0-9]+)*(\\/sha256:[a-z0-9]{64})?$)|(^i-([a-z0-9]{8}|[a-z0-9]{17}|\\\\*)$)" + "pattern":"(^arn:.*:ecr:.*:\\d{12}:repository\\/(?:[a-z0-9]+(?:[._-][a-z0-9]+)*\\/)*[a-z0-9]+(?:[._-][a-z0-9]+)*(\\/sha256:[a-z0-9]{64})?$)|(^i-([a-z0-9]{8}|[a-z0-9]{17}|\\\\*)$|(^arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}(-gov)?-[a-z]+-\\d{1}:\\d{12}:function:[a-zA-Z0-9-_\\.]+(:(\\$LATEST|[a-zA-Z0-9-_]+))?$))" }, "ResourceList":{ "type":"list", @@ -2552,14 +2679,16 @@ "members":{ "ec2":{"shape":"Ec2Metadata"}, "ecrImage":{"shape":"EcrContainerImageMetadata"}, - "ecrRepository":{"shape":"EcrRepositoryMetadata"} + "ecrRepository":{"shape":"EcrRepositoryMetadata"}, + "lambdaFunction":{"shape":"LambdaFunctionMetadata"} } }, "ResourceScanType":{ "type":"string", "enum":[ "EC2", - "ECR" + "ECR", + "LAMBDA" ] }, "ResourceState":{ @@ -2570,7 +2699,8 @@ ], "members":{ "ec2":{"shape":"State"}, - "ecr":{"shape":"State"} + "ecr":{"shape":"State"}, + "lambda":{"shape":"State"} } }, "ResourceStatus":{ @@ -2581,7 +2711,8 @@ ], "members":{ "ec2":{"shape":"Status"}, - "ecr":{"shape":"Status"} + "ecr":{"shape":"Status"}, + "lambda":{"shape":"Status"} } }, "ResourceType":{ @@ -2589,7 +2720,24 @@ "enum":[ "AWS_EC2_INSTANCE", "AWS_ECR_CONTAINER_IMAGE", - "AWS_ECR_REPOSITORY" + "AWS_ECR_REPOSITORY", + "AWS_LAMBDA_FUNCTION" + ] + }, + "Runtime":{ + "type":"string", + "enum":[ + "NODEJS", + "NODEJS_12_X", + "NODEJS_14_X", + "NODEJS_16_X", + "JAVA_8", + "JAVA_8_AL2", + "JAVA_11", + "PYTHON_3_7", + "PYTHON_3_8", + "PYTHON_3_9", + "UNSUPPORTED" ] }, "ScanStatus":{ @@ -2628,7 +2776,9 @@ "EC2_INSTANCE_STOPPED", "PENDING_DISABLE", "NO_INVENTORY", - "STALE_INVENTORY" + "STALE_INVENTORY", + "EXCLUDED_BY_TAG", + "UNSUPPORTED_RUNTIME" ] }, "ScanType":{ @@ -2638,11 +2788,22 @@ "PACKAGE" ] }, + "SecurityGroupId":{ + "type":"string", + "pattern":"^sg-([a-z0-9]{8}|[a-z0-9]{17}|\\*)$" + }, + "SecurityGroupIdList":{ + "type":"list", + "member":{"shape":"SecurityGroupId"}, + "max":5, + "min":0 + }, "Service":{ "type":"string", "enum":[ "EC2", - "ECR" + "ECR", + "LAMBDA" ] }, "ServiceQuotaExceededException":{ @@ -2675,22 +2836,10 @@ "SeverityCounts":{ "type":"structure", "members":{ - "all":{ - "shape":"Long", - "box":true - }, - "critical":{ - "shape":"Long", - "box":true - }, - "high":{ - "shape":"Long", - "box":true - }, - "medium":{ - "shape":"Long", - "box":true - } + "all":{"shape":"Long"}, + "critical":{"shape":"Long"}, + "high":{"shape":"Long"}, + "medium":{"shape":"Long"} } }, "SortCriteria":{ @@ -2814,6 +2963,16 @@ "type":"list", "member":{"shape":"NonEmptyString"} }, + "SubnetId":{ + "type":"string", + "pattern":"^subnet-([a-z0-9]{8}|[a-z0-9]{17}|\\*)$" + }, + "SubnetIdList":{ + "type":"list", + "member":{"shape":"SubnetId"}, + "max":16, + "min":0 + }, "TagKey":{ "type":"string", "max":128, @@ -2859,13 +3018,19 @@ "type":"structure", "required":["message"], "members":{ - "message":{"shape":"String"} + "message":{"shape":"String"}, + "retryAfterSeconds":{ + "shape":"Integer", + "location":"header", + "locationName":"Retry-After" + } }, "error":{ "httpStatusCode":429, "senderFault":true }, - "exception":true + "exception":true, + "retryable":{"throttling":true} }, "Timestamp":{"type":"timestamp"}, "TitleAggregation":{ @@ -2969,14 +3134,8 @@ "type":"structure", "members":{ "currency":{"shape":"Currency"}, - "estimatedMonthlyCost":{ - "shape":"MonthlyCostEstimate", - "default":0 - }, - "total":{ - "shape":"UsageValue", - "default":0 - }, + "estimatedMonthlyCost":{"shape":"MonthlyCostEstimate"}, + "total":{"shape":"UsageValue"}, "type":{"shape":"UsageType"} } }, @@ -2987,7 +3146,7 @@ "UsageAccountIdList":{ "type":"list", "member":{"shape":"UsageAccountId"}, - "max":5000, + "max":7000, "min":1 }, "UsageList":{ @@ -3010,7 +3169,8 @@ "enum":[ "EC2_INSTANCE_HOURS", "ECR_INITIAL_SCAN", - "ECR_RESCAN" + "ECR_RESCAN", + "LAMBDA_FUNCTION_HOURS" ] }, "UsageValue":{ @@ -3057,6 +3217,14 @@ "OTHER" ] }, + "Version":{ + "type":"string", + "pattern":"^\\$LATEST|[0-9]+$" + }, + "VpcId":{ + "type":"string", + "pattern":"^vpc-([a-z0-9]{8}|[a-z0-9]{17}|\\*)$" + }, "VulnerabilityId":{ "type":"string", "max":128, @@ -3074,16 +3242,14 @@ ], "members":{ "arch":{"shape":"PackageArchitecture"}, - "epoch":{ - "shape":"PackageEpoch", - "default":0 - }, + "epoch":{"shape":"PackageEpoch"}, "filePath":{"shape":"FilePath"}, "fixedInVersion":{"shape":"PackageVersion"}, "name":{"shape":"PackageName"}, "packageManager":{"shape":"PackageManager"}, "release":{"shape":"PackageRelease"}, "remediation":{"shape":"VulnerablePackageRemediation"}, + "sourceLambdaLayerArn":{"shape":"LambdaLayerArn"}, "sourceLayerHash":{"shape":"SourceLayerHash"}, "version":{"shape":"PackageVersion"} } diff --git a/models/apis/inspector2/2020-06-08/docs-2.json b/models/apis/inspector2/2020-06-08/docs-2.json index d7c7da9f5f4..db3c05d7de4 100644 --- a/models/apis/inspector2/2020-06-08/docs-2.json +++ b/models/apis/inspector2/2020-06-08/docs-2.json @@ -9,7 +9,7 @@ "CreateFilter": "

Creates a filter resource using specified filter criteria.

", "CreateFindingsReport": "

Creates a finding report.

", "DeleteFilter": "

Deletes a filter resource.

", - "DescribeOrganizationConfiguration": "

Describe Amazon Inspector configuration settings for an Amazon Web Services organization

", + "DescribeOrganizationConfiguration": "

Describe Amazon Inspector configuration settings for an Amazon Web Services organization.

", "Disable": "

Disables Amazon Inspector scans for one or more Amazon Web Services accounts. Disabling all scan types in an account disables the Amazon Inspector service.

", "DisableDelegatedAdminAccount": "

Disables the Amazon Inspector delegated administrator for your organization.

", "DisassociateMember": "

Disassociates a member account from an Amazon Inspector delegated administrator.

", @@ -66,7 +66,7 @@ "AccountAggregationResponse$accountId": "

The Amazon Web Services account ID.

", "AccountIdSet$member": null, "AccountState$accountId": "

The Amazon Web Services account ID.

", - "AmiAggregationResponse$accountId": "

The Amazon Web Services account ID that the AMI belongs.

", + "AmiAggregationResponse$accountId": "

The Amazon Web Services account ID for the AMI.

", "AssociateMemberRequest$accountId": "

The Amazon Web Services account ID of the member account to be associated.

", "AssociateMemberResponse$accountId": "

The Amazon Web Services account ID of the successfully associated member account.

", "AwsEcrContainerAggregationResponse$accountId": "

The Amazon Web Services account ID of the account that owns the container.

", @@ -84,6 +84,8 @@ "FindingTypeAggregationResponse$accountId": "

The ID of the Amazon Web Services account associated with the findings.

", "GetMemberRequest$accountId": "

The Amazon Web Services account ID of the member account to retrieve information on.

", "ImageLayerAggregationResponse$accountId": "

The ID of the Amazon Web Services account that owns the container image hosting the layer image.

", + "LambdaFunctionAggregationResponse$accountId": "

The ID of the AWS account that owns the AWS Lambda function.

", + "LambdaLayerAggregationResponse$accountId": "

The account ID of the AWS Lambda function layer.

", "Member$accountId": "

The Amazon Web Services account ID of the member account.

", "Member$delegatedAdminAccountId": "

The Amazon Web Services account ID of the Amazon Inspector delegated administrator for this member account.

", "PackageAggregationResponse$accountId": "

The ID of the Amazon Web Services account associated with the findings.

", @@ -113,7 +115,7 @@ } }, "AccountState": { - "base": "

An object with details the status of an Amazon Web Services account within your Amazon Inspector environment

", + "base": "

An object with details the status of an Amazon Web Services account within your Amazon Inspector environment.

", "refs": { "AccountStateList$member": null } @@ -196,6 +198,18 @@ "AmiAggregation$sortBy": "

The value to sort results by.

" } }, + "Architecture": { + "base": null, + "refs": { + "ArchitectureList$member": null + } + }, + "ArchitectureList": { + "base": null, + "refs": { + "AwsLambdaFunctionDetails$architectures": "

The instruction set architecture that the AWS Lambda function supports. Architecture is a string array with one of the valid values. The default architecture value is x86_64.

" + } + }, "Arn": { "base": null, "refs": { @@ -252,6 +266,12 @@ "AwsEcrContainerAggregation$sortBy": "

The value to sort by.

" } }, + "AwsLambdaFunctionDetails": { + "base": "

A summary of information about the AWS Lambda function.

", + "refs": { + "ResourceDetails$awsLambdaFunction": "

A summary of the information about an AWS Lambda function affected by a finding.

" + } + }, "BadRequestException": { "base": "

One or more tags submitted as part of the request is not valid.

", "refs": { @@ -288,6 +308,7 @@ "refs": { "AutoEnable$ec2": "

Represents whether Amazon EC2 scans are automatically enabled for new members of your Amazon Inspector organization.

", "AutoEnable$ecr": "

Represents whether Amazon ECR scans are automatically enabled for new members of your Amazon Inspector organization.

", + "AutoEnable$lambda": "

Represents whether AWS Lambda scans are automatically enabled for new members of your Amazon Inspector organization.

", "DescribeOrganizationConfigurationResponse$maxAccountLimitReached": "

Represents whether your organization has reached the maximum Amazon Web Services account limit for Amazon Inspector.

", "ListMembersRequest$onlyAssociated": "

Specifies whether to list only currently associated members if True or to list all members within the organization if False.

" } @@ -360,7 +381,8 @@ "CoverageMapFilterList": { "base": null, "refs": { - "CoverageFilterCriteria$ec2InstanceTags": "

The Amazon EC2 instance tags to filter on.

" + "CoverageFilterCriteria$ec2InstanceTags": "

The Amazon EC2 instance tags to filter on.

", + "CoverageFilterCriteria$lambdaFunctionTags": "

Returns coverage statistics for AWS Lambda functions filtered by tag.

" } }, "CoverageResourceType": { @@ -387,6 +409,8 @@ "CoverageFilterCriteria$accountId": "

An array of Amazon Web Services account IDs to return coverage statistics for.

", "CoverageFilterCriteria$ecrImageTags": "

The Amazon ECR image tags to filter on.

", "CoverageFilterCriteria$ecrRepositoryName": "

The Amazon ECR repository name to filter on.

", + "CoverageFilterCriteria$lambdaFunctionName": "

Returns coverage statistics for AWS Lambda functions filtered by function names.

", + "CoverageFilterCriteria$lambdaFunctionRuntime": "

Returns coverage statistics for AWS Lambda functions filtered by runtime.

", "CoverageFilterCriteria$resourceId": "

An array of Amazon Web Services resource IDs to return coverage statistics for.

", "CoverageFilterCriteria$resourceType": "

An array of Amazon Web Services resource types to return coverage statistics for. The values can be AWS_EC2_INSTANCE or AWS_ECR_REPOSITORY.

", "CoverageFilterCriteria$scanStatusCode": "

The scan status code to filter on.

", @@ -479,6 +503,7 @@ "refs": { "FilterCriteria$ecrImagePushedAt": "

Details on the Amazon ECR image push date and time used to filter findings.

", "FilterCriteria$firstObservedAt": "

Details on the date and time a finding was first seen used to filter findings.

", + "FilterCriteria$lambdaFunctionLastModifiedAt": "

Filters the list of AWS Lambda functions by the date and time that a user last updated the configuration, in ISO 8601 format

", "FilterCriteria$lastObservedAt": "

Details on the date and time a finding was last seen used to filter findings.

", "FilterCriteria$updatedAt": "

Details on the date and time a finding was last updated at used to filter findings.

" } @@ -489,11 +514,13 @@ "AwsEc2InstanceDetails$launchedAt": "

The date and time the Amazon EC2 instance was launched at.

", "AwsEcrContainerImageDetails$pushedAt": "

The date and time the Amazon ECR container image was pushed.

", "EcrRescanDurationState$updatedAt": "

A timestamp representing when the last time the ECR scan duration setting was changed.

", + "ExploitabilityDetails$lastKnownExploitAt": "

The date and time of the last exploit associated with a finding discovered in your environment.

", "Filter$createdAt": "

The date and time this filter was created at.

", "Filter$updatedAt": "

The date and time the filter was last updated at.

", "Finding$firstObservedAt": "

The date and time that the finding was first observed.

", "Finding$lastObservedAt": "

The date and time that the finding was last observed.

", "Finding$updatedAt": "

The date and time the finding was last updated at.

", + "LambdaFunctionAggregationResponse$lastModifiedAt": "

The date that the AWS Lambda function included in the aggregation results was last changed.

", "Member$updatedAt": "

A timestamp showing when the status of this member was last updated.

", "PackageVulnerabilityDetails$vendorCreatedAt": "

The date and time that this vulnerability was first added to the vendor's database.

", "PackageVulnerabilityDetails$vendorUpdatedAt": "

The date and time the vendor last updated this vulnerability in their database.

" @@ -627,7 +654,7 @@ } }, "EcrConfiguration": { - "base": "

Details about the ECR automated re-scan duration setting for your environment

", + "base": "

Details about the ECR automated re-scan duration setting for your environment.

", "refs": { "UpdateConfigurationRequest$ecrConfiguration": "

Specifies how the ECR automated re-scan will be updated for your environment.

" } @@ -714,6 +741,24 @@ "GetFindingsReportStatusResponse$errorMessage": "

The error message of the report.

" } }, + "ExecutionRoleArn": { + "base": null, + "refs": { + "AwsLambdaFunctionDetails$executionRoleArn": "

The AWS Lambda function's execution role.

" + } + }, + "ExploitAvailable": { + "base": null, + "refs": { + "Finding$exploitAvailable": "

If a finding discovered in your environment has an exploit available.

" + } + }, + "ExploitabilityDetails": { + "base": "

The details of an exploit available for a finding discovered in your environment.

", + "refs": { + "Finding$exploitabilityDetails": "

The details of an exploit available for a finding discovered in your environment.

" + } + }, "ExternalReportStatus": { "base": null, "refs": { @@ -934,6 +979,12 @@ "FreeTrialInfo$type": "

The type of scan covered by the Amazon Inspector free trail.

" } }, + "FunctionName": { + "base": null, + "refs": { + "AwsLambdaFunctionDetails$functionName": "

The name of the AWS Lambda function.

" + } + }, "GetConfigurationRequest": { "base": null, "refs": { @@ -1020,7 +1071,8 @@ "Integer": { "base": null, "refs": { - "InternalServerException$retryAfterSeconds": "

The number of seconds to wait before retrying the request.

" + "InternalServerException$retryAfterSeconds": "

The number of seconds to wait before retrying the request.

", + "ThrottlingException$retryAfterSeconds": "

The number of seconds to wait before retrying the request.

" } }, "InternalServerException": { @@ -1052,6 +1104,73 @@ "AwsEc2InstanceDetails$ipV6Addresses": "

The IPv6 addresses of the Amazon EC2 instance.

" } }, + "LambdaFunctionAggregation": { + "base": "

The details that define a findings aggregation based on AWS Lambda functions.

", + "refs": { + "AggregationRequest$lambdaFunctionAggregation": "

Returns an object with findings aggregated by AWS Lambda function.

" + } + }, + "LambdaFunctionAggregationResponse": { + "base": "

A response that contains the results of an AWS Lambda function finding aggregation.

", + "refs": { + "AggregationResponse$lambdaFunctionAggregation": "

An aggregation of findings by AWS Lambda function.

" + } + }, + "LambdaFunctionMetadata": { + "base": "

The AWS Lambda function metadata.

", + "refs": { + "ResourceScanMetadata$lambdaFunction": "

An object that contains metadata details for an AWS Lambda function.

" + } + }, + "LambdaFunctionSortBy": { + "base": null, + "refs": { + "LambdaFunctionAggregation$sortBy": "

The finding severity to use for sorting the results.

" + } + }, + "LambdaLayerAggregation": { + "base": "

The details that define a findings aggregation based on an AWS Lambda function's layers.

", + "refs": { + "AggregationRequest$lambdaLayerAggregation": "

Returns an object with findings aggregated by AWS Lambda layer.

" + } + }, + "LambdaLayerAggregationResponse": { + "base": "

A response that contains the results of an AWS Lambda function layer finding aggregation.

", + "refs": { + "AggregationResponse$lambdaLayerAggregation": "

An aggregation of findings by AWS Lambda layer.

" + } + }, + "LambdaLayerArn": { + "base": null, + "refs": { + "LayerList$member": null, + "VulnerablePackage$sourceLambdaLayerArn": "

The Amazon Resource Number (ARN) of the AWS Lambda function affected by a finding.

" + } + }, + "LambdaLayerList": { + "base": null, + "refs": { + "LambdaFunctionMetadata$layers": "

The layers for an AWS Lambda function. A Lambda function can have up to five layers.

" + } + }, + "LambdaLayerSortBy": { + "base": null, + "refs": { + "LambdaLayerAggregation$sortBy": "

The finding severity to use for sorting the results.

" + } + }, + "LambdaVpcConfig": { + "base": "

The VPC security groups and subnets that are attached to an AWS Lambda function. For more information, see VPC Settings.

", + "refs": { + "AwsLambdaFunctionDetails$vpcConfig": "

The AWS Lambda function's networking configuration.

" + } + }, + "LayerList": { + "base": null, + "refs": { + "AwsLambdaFunctionDetails$layers": "

The AWS Lambda function's layers. A Lambda function can have up to five layers.

" + } + }, "ListAccountPermissionsMaxResults": { "base": null, "refs": { @@ -1236,7 +1355,8 @@ "base": null, "refs": { "Ec2InstanceAggregation$instanceTags": "

The Amazon EC2 instance tags to aggregate findings for.

", - "FilterCriteria$resourceTags": "

Details on the resource tags used to filter findings.

" + "FilterCriteria$resourceTags": "

Details on the resource tags used to filter findings.

", + "LambdaFunctionAggregation$functionTags": "

The tags to include in the aggregation results.

" } }, "MapKey": { @@ -1331,8 +1451,9 @@ "AwsEc2InstanceDetails$vpcId": "

The VPC ID of the Amazon EC2 instance.

", "AwsEcrContainerAggregationResponse$resourceId": "

The resource ID of the container.

", "AwsEcrContainerImageDetails$architecture": "

The architecture of the Amazon ECR container image.

", - "AwsEcrContainerImageDetails$registry": "

The registry the Amazon ECR container image belongs to.

", + "AwsEcrContainerImageDetails$registry": "

The registry for the Amazon ECR container image.

", "AwsEcrContainerImageDetails$repositoryName": "

The name of the repository the Amazon ECR container image resides in.

", + "AwsLambdaFunctionDetails$codeSha256": "

The SHA256 hash of the AWS Lambda function's deployment package.

", "CoverageMapFilter$key": "

The tag key associated with the coverage map filter.

", "CoverageMapFilter$value": "

The tag value associated with the coverage map filter.

", "CvssScore$scoringVector": "

The vector string of the CVSS score.

", @@ -1350,6 +1471,10 @@ "ImageLayerAggregationResponse$repository": "

The repository the layer resides in.

", "ImageLayerAggregationResponse$resourceId": "

The resource ID of the container image layer.

", "ImageTagList$member": null, + "LambdaFunctionAggregationResponse$resourceId": "

The resource IDs included in the aggregation results.

", + "LambdaLayerAggregationResponse$functionName": "

The names of the AWS Lambda functions associated with the layers.

", + "LambdaLayerAggregationResponse$layerArn": "

The Amazon Resource Name (ARN) of the AWS Lambda function layer.

", + "LambdaLayerAggregationResponse$resourceId": "

The Resource ID of the AWS Lambda function layer.

", "NonEmptyStringList$member": null, "PackageAggregationResponse$packageName": "

The name of the operating system package.

", "PackageVulnerabilityDetails$source": "

The source of the vulnerability information.

", @@ -1457,6 +1582,12 @@ "PackageAggregation$sortBy": "

The value to sort results by.

" } }, + "PackageType": { + "base": null, + "refs": { + "AwsLambdaFunctionDetails$packageType": "

The type of deployment package. Set to Image for container image and set Zip for .zip file archive.

" + } + }, "PackageVersion": { "base": null, "refs": { @@ -1636,6 +1767,13 @@ "Resource$type": "

The type of resource.

" } }, + "Runtime": { + "base": null, + "refs": { + "AwsLambdaFunctionDetails$runtime": "

The runtime environment for the AWS Lambda function.

", + "LambdaFunctionMetadata$runtime": "

An AWS Lambda function's runtime.

" + } + }, "ScanStatus": { "base": "

The status of the scan.

", "refs": { @@ -1660,6 +1798,18 @@ "CoveredResource$scanType": "

The Amazon Inspector scan type covering the resource.

" } }, + "SecurityGroupId": { + "base": null, + "refs": { + "SecurityGroupIdList$member": null + } + }, + "SecurityGroupIdList": { + "base": null, + "refs": { + "LambdaVpcConfig$securityGroupIds": "

The VPC security groups and subnets that are attached to an AWS Lambda function. For more information, see VPC Settings.

" + } + }, "Service": { "base": null, "refs": { @@ -1687,6 +1837,8 @@ "Ec2InstanceAggregationResponse$severityCounts": "

An object that contains the count of matched findings per severity.

", "FindingTypeAggregationResponse$severityCounts": "

The value to sort results by.

", "ImageLayerAggregationResponse$severityCounts": "

An object that represents the count of matched findings per severity.

", + "LambdaFunctionAggregationResponse$severityCounts": null, + "LambdaLayerAggregationResponse$severityCounts": null, "PackageAggregationResponse$severityCounts": "

An object that contains the count of matched findings per severity.

", "RepositoryAggregationResponse$severityCounts": "

An object that represent the count of matched findings per severity.

", "TitleAggregationResponse$severityCounts": "

An object that represent the count of matched findings per severity.

" @@ -1713,6 +1865,8 @@ "Ec2InstanceAggregation$sortOrder": "

The order to sort results by.

", "FindingTypeAggregation$sortOrder": "

The order to sort results by.

", "ImageLayerAggregation$sortOrder": "

The order to sort results by.

", + "LambdaFunctionAggregation$sortOrder": "

The order to use for sorting the results.

", + "LambdaLayerAggregation$sortOrder": "

The order to use for sorting the results.

", "PackageAggregation$sortOrder": "

The order to sort results by.

", "RepositoryAggregation$sortOrder": "

The order to sort results by.

", "SortCriteria$sortOrder": "

The order by which findings are sorted.

", @@ -1730,7 +1884,8 @@ "refs": { "AccountState$state": "

An object detailing the status of Amazon Inspector for the account.

", "ResourceState$ec2": "

An object detailing the state of Amazon Inspector scanning for Amazon EC2 resources.

", - "ResourceState$ecr": "

An object detailing the state of Amazon Inspector scanning for Amazon ECR resources.

" + "ResourceState$ecr": "

An object detailing the state of Amazon Inspector scanning for Amazon ECR resources.

", + "ResourceState$lambda": null } }, "Status": { @@ -1740,6 +1895,7 @@ "FailedAccount$status": "

The status of Amazon Inspector for the account.

", "ResourceStatus$ec2": "

The status of Amazon Inspector scanning for Amazon EC2 resources.

", "ResourceStatus$ecr": "

The status of Amazon Inspector scanning for Amazon ECR resources.

", + "ResourceStatus$lambda": "

The status of Amazon Inspector scanning for AWS Lambda function resources.

", "State$status": "

The status of Amazon Inspector for the account.

" } }, @@ -1770,11 +1926,15 @@ "Destination$bucketName": "

The name of the Amazon S3 bucket to export findings to.

", "Destination$keyPrefix": "

The prefix of the KMS key used to export findings.

", "Destination$kmsKeyArn": "

The ARN of the KMS key used to encrypt data when exporting findings.

", - "Ec2InstanceAggregationResponse$accountId": "

The Amazon Web Services account the Amazon EC2 instance belongs to.

", + "Ec2InstanceAggregationResponse$accountId": "

The Amazon Web Services account for the Amazon EC2 instance.

", "Ec2InstanceAggregationResponse$operatingSystem": "

The operating system of the Amazon EC2 instance.

", "EcrRepositoryMetadata$name": "

The name of the Amazon ECR repository.

", "FreeTrialInfoError$message": "

The error message returned.

", "InternalServerException$message": null, + "LambdaFunctionAggregationResponse$functionName": "

The AWS Lambda function names included in the aggregation results.

", + "LambdaFunctionAggregationResponse$runtime": "

The runtimes included in the aggregation results.

", + "LambdaFunctionMetadata$functionName": "

The name of a function.

", + "LambdaLayerList$member": null, "ResourceNotFoundException$message": null, "ServiceQuotaExceededException$message": null, "ServiceQuotaExceededException$resourceId": "

The ID of the resource that exceeds a service quota.

", @@ -1789,7 +1949,7 @@ "StringComparison": { "base": null, "refs": { - "StringFilter$comparison": "

The operator to use when comparing values in the filter

" + "StringFilter$comparison": "

The operator to use when comparing values in the filter.

" } }, "StringFilter": { @@ -1798,6 +1958,7 @@ "PackageFilter$architecture": "

An object that contains details on the package architecture type to filter on.

", "PackageFilter$name": "

An object that contains details on the name of the package to filter on.

", "PackageFilter$release": "

An object that contains details on the package release to filter on.

", + "PackageFilter$sourceLambdaLayerArn": null, "PackageFilter$sourceLayerHash": "

An object that contains details on the source layer hash to filter on.

", "PackageFilter$version": "

The package version to filter on.

", "StringFilterList$member": null @@ -1826,10 +1987,15 @@ "FilterCriteria$ecrImageRegistry": "

Details on the Amazon ECR registry used to filter findings.

", "FilterCriteria$ecrImageRepositoryName": "

Details on the name of the Amazon ECR repository used to filter findings.

", "FilterCriteria$ecrImageTags": "

The tags attached to the Amazon ECR container image.

", + "FilterCriteria$exploitAvailable": "

Filters the list of AWS Lambda findings by the availability of exploits.

", "FilterCriteria$findingArn": "

Details on the finding ARNs used to filter findings.

", "FilterCriteria$findingStatus": "

Details on the finding status types used to filter findings.

", "FilterCriteria$findingType": "

Details on the finding types used to filter findings.

", "FilterCriteria$fixAvailable": "

Details on whether a fix is available through a version update. This value can be YES, NO, or PARTIAL. A PARTIAL fix means that some, but not all, of the packages identified in the finding have fixes available through updated versions.

", + "FilterCriteria$lambdaFunctionExecutionRoleArn": "

Filters the list of AWS Lambda functions by execution role.

", + "FilterCriteria$lambdaFunctionLayers": "

Filters the list of AWS Lambda functions by the function's layers. A Lambda function can have up to five layers.

", + "FilterCriteria$lambdaFunctionName": "

Filters the list of AWS Lambda functions by the name of the function.

", + "FilterCriteria$lambdaFunctionRuntime": "

Filters the list of AWS Lambda functions by the runtime environment for the Lambda function.

", "FilterCriteria$networkProtocol": "

Details on the ingress source addresses used to filter findings.

", "FilterCriteria$relatedVulnerabilities": "

Details on the related vulnerabilities used to filter findings.

", "FilterCriteria$resourceId": "

Details on the resource IDs used to filter findings.

", @@ -1842,6 +2008,12 @@ "ImageLayerAggregation$layerHashes": "

The hashes associated with the layers.

", "ImageLayerAggregation$repositories": "

The repository associated with the container image hosting the layers.

", "ImageLayerAggregation$resourceIds": "

The ID of the container image layer.

", + "LambdaFunctionAggregation$functionNames": "

The AWS Lambda function names to include in the aggregation results.

", + "LambdaFunctionAggregation$resourceIds": "

The resource IDs to include in the aggregation results.

", + "LambdaFunctionAggregation$runtimes": "

Returns findings aggregated by AWS Lambda function runtime environments.

", + "LambdaLayerAggregation$functionNames": "

The names of the AWS Lambda functions associated with the layers.

", + "LambdaLayerAggregation$layerArns": "

The Amazon Resource Name (ARN) of the AWS Lambda function layer.

", + "LambdaLayerAggregation$resourceIds": "

The resource IDs for the AWS Lambda function layers.

", "ListFindingAggregationsRequest$accountIds": "

The Amazon Web Services account IDs to retrieve finding aggregation data for.

", "PackageAggregation$packageNames": "

The names of packages to aggregate findings on.

", "RepositoryAggregation$repositories": "

The names of repositories to aggregate findings on.

", @@ -1861,6 +2033,18 @@ "AwsEcrContainerAggregationResponse$imageTags": "

The container image stags.

" } }, + "SubnetId": { + "base": null, + "refs": { + "SubnetIdList$member": null + } + }, + "SubnetIdList": { + "base": null, + "refs": { + "LambdaVpcConfig$subnetIds": "

A list of VPC subnet IDs.

" + } + }, "TagKey": { "base": null, "refs": { @@ -1886,6 +2070,8 @@ "Ec2InstanceAggregationResponse$instanceTags": "

The tags attached to the instance.

", "Ec2Metadata$tags": "

The tags attached to the instance.

", "Filter$tags": "

The tags attached to the filter.

", + "LambdaFunctionAggregationResponse$lambdaTags": "

The tags included in the aggregation results.

", + "LambdaFunctionMetadata$functionTags": "

The resource tags on an AWS Lambda function.

", "ListTagsForResourceResponse$tags": "

The tags associated with the resource.

", "Resource$tags": "

The tags attached to the resource.

", "TagResourceRequest$tags": "

The tags to be added to a resource.

" @@ -1909,6 +2095,7 @@ "Timestamp": { "base": null, "refs": { + "AwsLambdaFunctionDetails$lastModifiedAt": "

The date and time that a user last updated the configuration, in ISO 8601 format

", "DateFilter$endInclusive": "

A timestamp representing the end of the time period filtered on.

", "DateFilter$startInclusive": "

A timestamp representing the start of the time period filtered on.

", "FreeTrialInfo$end": "

The date and time that the Amazon Inspector free trail ends for a given account.

", @@ -2044,6 +2231,18 @@ "ValidationException$reason": "

The reason for the validation failure.

" } }, + "Version": { + "base": null, + "refs": { + "AwsLambdaFunctionDetails$version": "

The version of the AWS Lambda function.

" + } + }, + "VpcId": { + "base": null, + "refs": { + "LambdaVpcConfig$vpcId": "

The ID of the VPC.

" + } + }, "VulnerabilityId": { "base": null, "refs": { diff --git a/models/apis/inspector2/2020-06-08/endpoint-rule-set-1.json b/models/apis/inspector2/2020-06-08/endpoint-rule-set-1.json new file mode 100644 index 00000000000..9639d6558fb --- /dev/null +++ b/models/apis/inspector2/2020-06-08/endpoint-rule-set-1.json @@ -0,0 +1,315 @@ +{ + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + }, + { + "fn": "parseURL", + "argv": [ + { + "ref": "Endpoint" + } + ], + "assign": "url" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://inspector2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://inspector2-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://inspector2.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://inspector2.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] +} \ No newline at end of file diff --git a/models/apis/inspector2/2020-06-08/endpoint-tests-1.json b/models/apis/inspector2/2020-06-08/endpoint-tests-1.json new file mode 100644 index 00000000000..51c0be4682c --- /dev/null +++ b/models/apis/inspector2/2020-06-08/endpoint-tests-1.json @@ -0,0 +1,1239 @@ +{ + "testCases": [ + { + "documentation": "For region ap-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.ap-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.ap-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2.ap-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.ap-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.eu-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.eu-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2.eu-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.eu-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-gov-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-gov-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2.us-gov-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-gov-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-gov-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.ca-central-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ca-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.ca-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ca-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2.ca-central-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ca-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.ca-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ca-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.eu-central-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2.eu-central-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.us-west-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.us-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2.us-west-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.us-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.us-west-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.us-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2.us-west-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.us-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region af-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.af-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "af-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region af-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.af-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "af-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2.af-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "af-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.af-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "af-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.eu-north-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-north-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.eu-north-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-north-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2.eu-north-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-north-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.eu-north-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-north-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.eu-west-3.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-3", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.eu-west-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-3", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2.eu-west-3.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-3", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.eu-west-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-3", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.eu-west-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2.eu-west-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.eu-west-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2.eu-west-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.ap-northeast-3.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-3", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.ap-northeast-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-3", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2.ap-northeast-3.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-3", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.ap-northeast-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-3", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.ap-northeast-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2.ap-northeast-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.ap-northeast-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2.ap-northeast-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region me-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.me-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "me-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region me-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.me-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "me-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region me-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2.me-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "me-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.me-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "me-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region sa-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.sa-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "sa-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region sa-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.sa-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "sa-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region sa-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2.sa-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "sa-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.sa-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "sa-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.ap-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.ap-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2.ap-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.ap-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.us-gov-west-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-gov-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-gov-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2.us-gov-west-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-gov-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-gov-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.ap-southeast-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2.ap-southeast-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.ap-southeast-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2.ap-southeast-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.us-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2.us-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.us-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.us-east-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.us-east-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-2", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2.us-east-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.us-east-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-2", + "UseDualStack": false + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": true, + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" +} \ No newline at end of file diff --git a/models/apis/lambda/2015-03-31/api-2.json b/models/apis/lambda/2015-03-31/api-2.json index ded3a45ce48..58465d45b9b 100644 --- a/models/apis/lambda/2015-03-31/api-2.json +++ b/models/apis/lambda/2015-03-31/api-2.json @@ -552,6 +552,9 @@ {"shape":"EFSMountFailureException"}, {"shape":"EFSMountTimeoutException"}, {"shape":"EFSIOException"}, + {"shape":"SnapStartException"}, + {"shape":"SnapStartTimeoutException"}, + {"shape":"SnapStartNotReadyException"}, {"shape":"EC2ThrottledException"}, {"shape":"EC2AccessDeniedException"}, {"shape":"InvalidSubnetIDException"}, @@ -1447,7 +1450,8 @@ "ImageConfig":{"shape":"ImageConfig"}, "CodeSigningConfigArn":{"shape":"CodeSigningConfigArn"}, "Architectures":{"shape":"ArchitecturesList"}, - "EphemeralStorage":{"shape":"EphemeralStorage"} + "EphemeralStorage":{"shape":"EphemeralStorage"}, + "SnapStart":{"shape":"SnapStart"} } }, "CreateFunctionUrlConfigRequest":{ @@ -1957,7 +1961,8 @@ "SigningProfileVersionArn":{"shape":"Arn"}, "SigningJobArn":{"shape":"Arn"}, "Architectures":{"shape":"ArchitecturesList"}, - "EphemeralStorage":{"shape":"EphemeralStorage"} + "EphemeralStorage":{"shape":"EphemeralStorage"}, + "SnapStart":{"shape":"SnapStartResponse"} } }, "FunctionEventInvokeConfig":{ @@ -2608,7 +2613,18 @@ "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", - "InvalidImage" + "InvalidImage", + "KMSKeyAccessDenied", + "KMSKeyNotFound", + "InvalidStateKMSKey", + "DisabledKMSKey", + "EFSIOError", + "EFSMountConnectivityError", + "EFSMountFailure", + "EFSMountTimeout", + "InvalidRuntime", + "InvalidZipFileException", + "FunctionError" ] }, "Layer":{ @@ -3621,6 +3637,60 @@ "max":20, "min":1 }, + "SnapStart":{ + "type":"structure", + "members":{ + "ApplyOn":{"shape":"SnapStartApplyOn"} + } + }, + "SnapStartApplyOn":{ + "type":"string", + "enum":[ + "PublishedVersions", + "None" + ] + }, + "SnapStartException":{ + "type":"structure", + "members":{ + "Type":{"shape":"String"}, + "Message":{"shape":"String"} + }, + "error":{"httpStatusCode":400}, + "exception":true + }, + "SnapStartNotReadyException":{ + "type":"structure", + "members":{ + "Type":{"shape":"String"}, + "Message":{"shape":"String"} + }, + "error":{"httpStatusCode":409}, + "exception":true + }, + "SnapStartOptimizationStatus":{ + "type":"string", + "enum":[ + "On", + "Off" + ] + }, + "SnapStartResponse":{ + "type":"structure", + "members":{ + "ApplyOn":{"shape":"SnapStartApplyOn"}, + "OptimizationStatus":{"shape":"SnapStartOptimizationStatus"} + } + }, + "SnapStartTimeoutException":{ + "type":"structure", + "members":{ + "Type":{"shape":"String"}, + "Message":{"shape":"String"} + }, + "error":{"httpStatusCode":408}, + "exception":true + }, "SourceAccessConfiguration":{ "type":"structure", "members":{ @@ -3677,7 +3747,18 @@ "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", - "InvalidImage" + "InvalidImage", + "KMSKeyAccessDenied", + "KMSKeyNotFound", + "InvalidStateKMSKey", + "DisabledKMSKey", + "EFSIOError", + "EFSMountConnectivityError", + "EFSMountFailure", + "EFSMountTimeout", + "InvalidRuntime", + "InvalidZipFileException", + "FunctionError" ] }, "StatementId":{ @@ -3740,7 +3821,8 @@ "FunctionInvocationRateLimitExceeded", "ReservedFunctionConcurrentInvocationLimitExceeded", "ReservedFunctionInvocationRateLimitExceeded", - "CallerRateLimitExceeded" + "CallerRateLimitExceeded", + "ConcurrentSnapshotCreateLimitExceeded" ] }, "Timeout":{ @@ -3949,7 +4031,8 @@ "Layers":{"shape":"LayerList"}, "FileSystemConfigs":{"shape":"FileSystemConfigList"}, "ImageConfig":{"shape":"ImageConfig"}, - "EphemeralStorage":{"shape":"EphemeralStorage"} + "EphemeralStorage":{"shape":"EphemeralStorage"}, + "SnapStart":{"shape":"SnapStart"} } }, "UpdateFunctionEventInvokeConfigRequest":{ diff --git a/models/apis/lambda/2015-03-31/docs-2.json b/models/apis/lambda/2015-03-31/docs-2.json index 89380f48701..88f96f98a9c 100644 --- a/models/apis/lambda/2015-03-31/docs-2.json +++ b/models/apis/lambda/2015-03-31/docs-2.json @@ -3,16 +3,16 @@ "service": "Lambda

Overview

Lambda is a compute service that lets you run code without provisioning or managing servers. Lambda runs your code on a high-availability compute infrastructure and performs all of the administration of the compute resources, including server and operating system maintenance, capacity provisioning and automatic scaling, code monitoring and logging. With Lambda, you can run code for virtually any type of application or backend service. For more information about the Lambda service, see What is Lambda in the Lambda Developer Guide.

The Lambda API Reference provides information about each of the API methods, including details about the parameters in each API request and response.

You can use Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command line tools to access the API. For installation instructions, see Tools for Amazon Web Services.

For a list of Region-specific endpoints that Lambda supports, see Lambda endpoints and quotas in the Amazon Web Services General Reference..

When making the API calls, you will need to authenticate your request by providing a signature. Lambda supports signature version 4. For more information, see Signature Version 4 signing process in the Amazon Web Services General Reference..

CA certificates

Because Amazon Web Services SDKs use the CA certificates from your computer, changes to the certificates on the Amazon Web Services servers can cause connection failures when you attempt to use an SDK. You can prevent these failures by keeping your computer's CA certificates and operating system up-to-date. If you encounter this issue in a corporate environment and do not manage your own computer, you might need to ask an administrator to assist with the update process. The following list shows minimum operating system and Java versions:

When accessing the Lambda management console or Lambda API endpoints, whether through browsers or programmatically, you will need to ensure your client machines support any of the following CAs:

Root certificates from the first two authorities are available from Amazon trust services, but keeping your computer up-to-date is the more straightforward solution. To learn more about ACM-provided certificates, see Amazon Web Services Certificate Manager FAQs.

", "operations": { "AddLayerVersionPermission": "

Adds permissions to the resource-based policy of a version of an Lambda layer. Use this action to grant layer usage permission to other accounts. You can grant permission to a single account, all accounts in an organization, or all Amazon Web Services accounts.

To revoke permission, call RemoveLayerVersionPermission with the statement ID that you specified when you added it.

", - "AddPermission": "

Grants an Amazon Web Services service, account, or organization permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict access to a single version or alias. If you use a qualifier, the invoker must use the full Amazon Resource Name (ARN) of that version or alias to invoke the function. Note: Lambda does not support adding policies to version $LATEST.

To grant permission to another account, specify the account ID as the Principal. To grant permission to an organization defined in Organizations, specify the organization ID as the PrincipalOrgID. For Amazon Web Services services, the principal is a domain-style identifier defined by the service, like s3.amazonaws.com or sns.amazonaws.com. For Amazon Web Services services, you can also specify the ARN of the associated resource as the SourceArn. If you grant permission to a service principal without specifying the source, other accounts could potentially configure resources in their account to invoke your Lambda function.

This action adds a statement to a resource-based permissions policy for the function. For more information about function policies, see Lambda Function Policies.

", + "AddPermission": "

Grants an Amazon Web Service, Amazon Web Services account, or Amazon Web Services organization permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict access to a single version or alias. If you use a qualifier, the invoker must use the full Amazon Resource Name (ARN) of that version or alias to invoke the function. Note: Lambda does not support adding policies to version $LATEST.

To grant permission to another account, specify the account ID as the Principal. To grant permission to an organization defined in Organizations, specify the organization ID as the PrincipalOrgID. For Amazon Web Services, the principal is a domain-style identifier that the service defines, such as s3.amazonaws.com or sns.amazonaws.com. For Amazon Web Services, you can also specify the ARN of the associated resource as the SourceArn. If you grant permission to a service principal without specifying the source, other accounts could potentially configure resources in their account to invoke your Lambda function.

This operation adds a statement to a resource-based permissions policy for the function. For more information about function policies, see Using resource-based policies for Lambda.

", "CreateAlias": "

Creates an alias for a Lambda function version. Use aliases to provide clients with a function identifier that you can update to invoke a different version.

You can also map an alias to split invocation requests between two versions. Use the RoutingConfig parameter to specify a second version and the percentage of invocation requests that it receives.

", "CreateCodeSigningConfig": "

Creates a code signing configuration. A code signing configuration defines a list of allowed signing profiles and defines the code-signing validation policy (action to be taken if deployment validation checks fail).

", "CreateEventSourceMapping": "

Creates a mapping between an event source and an Lambda function. Lambda reads items from the event source and invokes the function.

For details about how to configure different event sources, see the following topics.

The following error handling options are available only for stream sources (DynamoDB and Kinesis):

For information about which configuration parameters apply to each event source, see the following topics.

", - "CreateFunction": "

Creates a Lambda function. To create a function, you need a deployment package and an execution role. The deployment package is a .zip file archive or container image that contains your function code. The execution role grants the function permission to use Amazon Web Services services, such as Amazon CloudWatch Logs for log streaming and X-Ray for request tracing.

You set the package type to Image if the deployment package is a container image. For a container image, the code property must include the URI of a container image in the Amazon ECR registry. You do not need to specify the handler and runtime properties.

You set the package type to Zip if the deployment package is a .zip file archive. For a .zip file archive, the code property specifies the location of the .zip file. You must also specify the handler and runtime properties. The code in the deployment package must be compatible with the target instruction set architecture of the function (x86-64 or arm64). If you do not specify the architecture, the default value is x86-64.

When you create a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute or so. During this time, you can't invoke or modify the function. The State, StateReason, and StateReasonCode fields in the response from GetFunctionConfiguration indicate when the function is ready to invoke. For more information, see Function States.

A function has an unpublished version, and can have published versions and aliases. The unpublished version changes when you update your function's code and configuration. A published version is a snapshot of your function code and configuration that can't be changed. An alias is a named resource that maps to a version, and can be changed to map to a different version. Use the Publish parameter to create version 1 of your function from its initial configuration.

The other parameters let you configure version-specific and function-level settings. You can modify version-specific settings later with UpdateFunctionConfiguration. Function-level settings apply to both the unpublished and published versions of the function, and include tags (TagResource) and per-function concurrency limits (PutFunctionConcurrency).

You can use code signing if your deployment package is a .zip file archive. To enable code signing for this function, specify the ARN of a code-signing configuration. When a user attempts to deploy a code package with UpdateFunctionCode, Lambda checks that the code package has a valid signature from a trusted publisher. The code-signing configuration includes set set of signing profiles, which define the trusted publishers for this function.

If another account or an Amazon Web Services service invokes your function, use AddPermission to grant permission by creating a resource-based IAM policy. You can grant permissions at the function level, on a version, or on an alias.

To invoke your function directly, use Invoke. To invoke your function in response to events in other Amazon Web Services services, create an event source mapping (CreateEventSourceMapping), or configure a function trigger in the other service. For more information, see Invoking Functions.

", + "CreateFunction": "

Creates a Lambda function. To create a function, you need a deployment package and an execution role. The deployment package is a .zip file archive or container image that contains your function code. The execution role grants the function permission to use Amazon Web Services, such as Amazon CloudWatch Logs for log streaming and X-Ray for request tracing.

If the deployment package is a container image, then you set the package type to Image. For a container image, the code property must include the URI of a container image in the Amazon ECR registry. You do not need to specify the handler and runtime properties.

If the deployment package is a .zip file archive, then you set the package type to Zip. For a .zip file archive, the code property specifies the location of the .zip file. You must also specify the handler and runtime properties. The code in the deployment package must be compatible with the target instruction set architecture of the function (x86-64 or arm64). If you do not specify the architecture, then the default value is x86-64.

When you create a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute or so. During this time, you can't invoke or modify the function. The State, StateReason, and StateReasonCode fields in the response from GetFunctionConfiguration indicate when the function is ready to invoke. For more information, see Lambda function states.

A function has an unpublished version, and can have published versions and aliases. The unpublished version changes when you update your function's code and configuration. A published version is a snapshot of your function code and configuration that can't be changed. An alias is a named resource that maps to a version, and can be changed to map to a different version. Use the Publish parameter to create version 1 of your function from its initial configuration.

The other parameters let you configure version-specific and function-level settings. You can modify version-specific settings later with UpdateFunctionConfiguration. Function-level settings apply to both the unpublished and published versions of the function, and include tags (TagResource) and per-function concurrency limits (PutFunctionConcurrency).

You can use code signing if your deployment package is a .zip file archive. To enable code signing for this function, specify the ARN of a code-signing configuration. When a user attempts to deploy a code package with UpdateFunctionCode, Lambda checks that the code package has a valid signature from a trusted publisher. The code-signing configuration includes set of signing profiles, which define the trusted publishers for this function.

If another Amazon Web Services account or an Amazon Web Service invokes your function, use AddPermission to grant permission by creating a resource-based Identity and Access Management (IAM) policy. You can grant permissions at the function level, on a version, or on an alias.

To invoke your function directly, use Invoke. To invoke your function in response to events in other Amazon Web Services, create an event source mapping (CreateEventSourceMapping), or configure a function trigger in the other service. For more information, see Invoking Lambda functions.

", "CreateFunctionUrlConfig": "

Creates a Lambda function URL with the specified configuration parameters. A function URL is a dedicated HTTP(S) endpoint that you can use to invoke your function.

", "DeleteAlias": "

Deletes a Lambda function alias.

", "DeleteCodeSigningConfig": "

Deletes the code signing configuration. You can delete the code signing configuration only if no function is using it.

", "DeleteEventSourceMapping": "

Deletes an event source mapping. You can get the identifier of a mapping from the output of ListEventSourceMappings.

When you delete an event source mapping, it enters a Deleting state and might not be completely deleted for several seconds.

", - "DeleteFunction": "

Deletes a Lambda function. To delete a specific function version, use the Qualifier parameter. Otherwise, all versions and aliases are deleted.

To delete Lambda event source mappings that invoke a function, use DeleteEventSourceMapping. For Amazon Web Services services and resources that invoke your function directly, delete the trigger in the service where you originally configured it.

", + "DeleteFunction": "

Deletes a Lambda function. To delete a specific function version, use the Qualifier parameter. Otherwise, all versions and aliases are deleted.

To delete Lambda event source mappings that invoke a function, use DeleteEventSourceMapping. For Amazon Web Services and resources that invoke your function directly, delete the trigger in the service where you originally configured it.

", "DeleteFunctionCodeSigningConfig": "

Removes the code signing configuration from the function.

", "DeleteFunctionConcurrency": "

Removes a concurrent execution limit from a function.

", "DeleteFunctionEventInvokeConfig": "

Deletes the configuration for asynchronous invocation for a function, version, or alias.

To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.

", @@ -34,14 +34,14 @@ "GetLayerVersionPolicy": "

Returns the permission policy for a version of an Lambda layer. For more information, see AddLayerVersionPermission.

", "GetPolicy": "

Returns the resource-based IAM policy for a function, version, or alias.

", "GetProvisionedConcurrencyConfig": "

Retrieves the provisioned concurrency configuration for a function's alias or version.

", - "Invoke": "

Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or asynchronously. To invoke a function asynchronously, set InvocationType to Event.

For synchronous invocation, details about the function response, including errors, are included in the response body and headers. For either invocation type, you can find more information in the execution log and trace.

When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type, client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an error, Lambda executes the function up to two more times. For more information, see Retry Behavior.

For asynchronous invocation, Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple times, even if no error occurs. To retain events that were not processed, configure your function with a dead-letter queue.

The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that prevent your function from executing, such as permissions errors, limit errors, or issues with your function's code and configuration. For example, Lambda returns TooManyRequestsException if executing the function would cause you to exceed a concurrency limit at either the account level (ConcurrentInvocationLimitExceeded) or function level (ReservedFunctionConcurrentInvocationLimitExceeded).

For functions with a long timeout, your client might be disconnected during synchronous invocation while it waits for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long connections with timeout or keep-alive settings.

This operation requires permission for the lambda:InvokeFunction action. For details on how to set up permissions for cross-account invocations, see Granting function access to other accounts.

", + "Invoke": "

Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or asynchronously. To invoke a function asynchronously, set InvocationType to Event.

For synchronous invocation, details about the function response, including errors, are included in the response body and headers. For either invocation type, you can find more information in the execution log and trace.

When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type, client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an error, Lambda executes the function up to two more times. For more information, see Error handling and automatic retries in Lambda.

For asynchronous invocation, Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple times, even if no error occurs. To retain events that were not processed, configure your function with a dead-letter queue.

The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that prevent your function from executing, such as permissions errors, quota errors, or issues with your function's code and configuration. For example, Lambda returns TooManyRequestsException if running the function would cause you to exceed a concurrency limit at either the account level (ConcurrentInvocationLimitExceeded) or function level (ReservedFunctionConcurrentInvocationLimitExceeded).

For functions with a long timeout, your client might disconnect during synchronous invocation while it waits for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long connections with timeout or keep-alive settings.

This operation requires permission for the lambda:InvokeFunction action. For details on how to set up permissions for cross-account invocations, see Granting function access to other accounts.

", "InvokeAsync": "

For asynchronous function invocation, use Invoke.

Invokes a function asynchronously.

", "ListAliases": "

Returns a list of aliases for a Lambda function.

", "ListCodeSigningConfigs": "

Returns a list of code signing configurations. A request returns up to 10,000 configurations per call. You can use the MaxItems parameter to return fewer configurations per call.

", "ListEventSourceMappings": "

Lists event source mappings. Specify an EventSourceArn to show only event source mappings for a single event source.

", "ListFunctionEventInvokeConfigs": "

Retrieves a list of configurations for asynchronous invocation for a function.

To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.

", "ListFunctionUrlConfigs": "

Returns a list of Lambda function URLs for the specified function.

", - "ListFunctions": "

Returns a list of Lambda functions, with the version-specific configuration of each. Lambda returns up to 50 functions per call.

Set FunctionVersion to ALL to include all published versions of each function in addition to the unpublished version.

The ListFunctions action returns a subset of the FunctionConfiguration fields. To get the additional fields (State, StateReasonCode, StateReason, LastUpdateStatus, LastUpdateStatusReason, LastUpdateStatusReasonCode) for a function or version, use GetFunction.

", + "ListFunctions": "

Returns a list of Lambda functions, with the version-specific configuration of each. Lambda returns up to 50 functions per call.

Set FunctionVersion to ALL to include all published versions of each function in addition to the unpublished version.

The ListFunctions operation returns a subset of the FunctionConfiguration fields. To get the additional fields (State, StateReasonCode, StateReason, LastUpdateStatus, LastUpdateStatusReason, LastUpdateStatusReasonCode) for a function or version, use GetFunction.

", "ListFunctionsByCodeSigningConfig": "

List the functions that use the specified code signing configuration. You can use this method prior to deleting a code signing configuration, to verify that no functions are using it.

", "ListLayerVersions": "

Lists the versions of an Lambda layer. Versions that have been deleted aren't listed. Specify a runtime identifier to list only versions that indicate that they're compatible with that runtime. Specify a compatible architecture to include only layer versions that are compatible with that architecture.

", "ListLayers": "

Lists Lambda layers and shows information about the latest version of each. Specify a runtime identifier to list only layers that indicate that they're compatible with that runtime. Specify a compatible architecture to include only layers that are compatible with that instruction set architecture.

", @@ -51,18 +51,18 @@ "PublishLayerVersion": "

Creates an Lambda layer from a ZIP archive. Each time you call PublishLayerVersion with the same layer name, a new version is created.

Add layers to your function with CreateFunction or UpdateFunctionConfiguration.

", "PublishVersion": "

Creates a version from the current code and configuration of a function. Use versions to create a snapshot of your function code and configuration that doesn't change.

Lambda doesn't publish a version if the function's configuration and code haven't changed since the last version. Use UpdateFunctionCode or UpdateFunctionConfiguration to update the function before publishing a version.

Clients can invoke versions directly or with an alias. To create an alias, use CreateAlias.

", "PutFunctionCodeSigningConfig": "

Update the code signing configuration for the function. Changes to the code signing configuration take effect the next time a user tries to deploy a code package to the function.

", - "PutFunctionConcurrency": "

Sets the maximum number of simultaneous executions for a function, and reserves capacity for that concurrency level.

Concurrency settings apply to the function as a whole, including all published versions and the unpublished version. Reserving concurrency both ensures that your function has capacity to process the specified number of events simultaneously, and prevents it from scaling beyond that level. Use GetFunction to see the current setting for a function.

Use GetAccountSettings to see your Regional concurrency limit. You can reserve concurrency for as many functions as you like, as long as you leave at least 100 simultaneous executions unreserved for functions that aren't configured with a per-function limit. For more information, see Managing Concurrency.

", + "PutFunctionConcurrency": "

Sets the maximum number of simultaneous executions for a function, and reserves capacity for that concurrency level.

Concurrency settings apply to the function as a whole, including all published versions and the unpublished version. Reserving concurrency both ensures that your function has capacity to process the specified number of events simultaneously, and prevents it from scaling beyond that level. Use GetFunction to see the current setting for a function.

Use GetAccountSettings to see your Regional concurrency limit. You can reserve concurrency for as many functions as you like, as long as you leave at least 100 simultaneous executions unreserved for functions that aren't configured with a per-function limit. For more information, see Lambda function scaling.

", "PutFunctionEventInvokeConfig": "

Configures options for asynchronous invocation on a function, version, or alias. If a configuration already exists for a function, version, or alias, this operation overwrites it. If you exclude any settings, they are removed. To set one option without affecting existing settings for other options, use UpdateFunctionEventInvokeConfig.

By default, Lambda retries an asynchronous invocation twice if the function returns an error. It retains events in a queue for up to six hours. When an event fails all processing attempts or stays in the asynchronous invocation queue for too long, Lambda discards it. To retain discarded events, configure a dead-letter queue with UpdateFunctionConfiguration.

To send an invocation record to a queue, topic, function, or event bus, specify a destination. You can configure separate destinations for successful invocations (on-success) and events that fail all processing attempts (on-failure). You can configure destinations in addition to or instead of a dead-letter queue.

", "PutProvisionedConcurrencyConfig": "

Adds a provisioned concurrency configuration to a function's alias or version.

", "RemoveLayerVersionPermission": "

Removes a statement from the permissions policy for a version of an Lambda layer. For more information, see AddLayerVersionPermission.

", - "RemovePermission": "

Revokes function-use permission from an Amazon Web Services service or another account. You can get the ID of the statement from the output of GetPolicy.

", + "RemovePermission": "

Revokes function-use permission from an Amazon Web Service or another Amazon Web Services account. You can get the ID of the statement from the output of GetPolicy.

", "TagResource": "

Adds tags to a function.

", "UntagResource": "

Removes tags from a function.

", "UpdateAlias": "

Updates the configuration of a Lambda function alias.

", "UpdateCodeSigningConfig": "

Update the code signing configuration. Changes to the code signing configuration take effect the next time a user tries to deploy a code package to the function.

", "UpdateEventSourceMapping": "

Updates an event source mapping. You can change the function that Lambda invokes, or pause invocation and resume later from the same location.

For details about how to configure different event sources, see the following topics.

The following error handling options are available only for stream sources (DynamoDB and Kinesis):

For information about which configuration parameters apply to each event source, see the following topics.

", - "UpdateFunctionCode": "

Updates a Lambda function's code. If code signing is enabled for the function, the code package must be signed by a trusted publisher. For more information, see Configuring code signing.

If the function's package type is Image, you must specify the code package in ImageUri as the URI of a container image in the Amazon ECR registry.

If the function's package type is Zip, you must specify the deployment package as a .zip file archive. Enter the Amazon S3 bucket and key of the code .zip file location. You can also provide the function code inline using the ZipFile field.

The code in the deployment package must be compatible with the target instruction set architecture of the function (x86-64 or arm64).

The function's code is locked when you publish a version. You can't modify the code of a published version, only the unpublished version.

For a function defined as a container image, Lambda resolves the image tag to an image digest. In Amazon ECR, if you update the image tag to a new image, Lambda does not automatically update the function.

", - "UpdateFunctionConfiguration": "

Modify the version-specific settings of a Lambda function.

When you update a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute. During this time, you can't modify the function, but you can still invoke it. The LastUpdateStatus, LastUpdateStatusReason, and LastUpdateStatusReasonCode fields in the response from GetFunctionConfiguration indicate when the update is complete and the function is processing events with the new configuration. For more information, see Function States.

These settings can vary between versions of a function and are locked when you publish a version. You can't modify the configuration of a published version, only the unpublished version.

To configure function concurrency, use PutFunctionConcurrency. To grant invoke permissions to an account or Amazon Web Services service, use AddPermission.

", + "UpdateFunctionCode": "

Updates a Lambda function's code. If code signing is enabled for the function, the code package must be signed by a trusted publisher. For more information, see Configuring code signing for Lambda.

If the function's package type is Image, then you must specify the code package in ImageUri as the URI of a container image in the Amazon ECR registry.

If the function's package type is Zip, then you must specify the deployment package as a .zip file archive. Enter the Amazon S3 bucket and key of the code .zip file location. You can also provide the function code inline using the ZipFile field.

The code in the deployment package must be compatible with the target instruction set architecture of the function (x86-64 or arm64).

The function's code is locked when you publish a version. You can't modify the code of a published version, only the unpublished version.

For a function defined as a container image, Lambda resolves the image tag to an image digest. In Amazon ECR, if you update the image tag to a new image, Lambda does not automatically update the function.

", + "UpdateFunctionConfiguration": "

Modify the version-specific settings of a Lambda function.

When you update a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute. During this time, you can't modify the function, but you can still invoke it. The LastUpdateStatus, LastUpdateStatusReason, and LastUpdateStatusReasonCode fields in the response from GetFunctionConfiguration indicate when the update is complete and the function is processing events with the new configuration. For more information, see Lambda function states.

These settings can vary between versions of a function and are locked when you publish a version. You can't modify the configuration of a published version, only the unpublished version.

To configure function concurrency, use PutFunctionConcurrency. To grant invoke permissions to an Amazon Web Services account or Amazon Web Service, use AddPermission.

", "UpdateFunctionEventInvokeConfig": "

Updates the configuration for asynchronous invocation for a function, version, or alias.

To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.

", "UpdateFunctionUrlConfig": "

Updates the configuration for a Lambda function URL.

" }, @@ -200,14 +200,14 @@ "Arn": { "base": null, "refs": { - "AddPermissionRequest$SourceArn": "

For Amazon Web Services services, the ARN of the Amazon Web Services resource that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic.

Note that Lambda configures the comparison using the StringLike operator.

", - "CreateEventSourceMappingRequest$EventSourceArn": "

The Amazon Resource Name (ARN) of the event source.

", + "AddPermissionRequest$SourceArn": "

For Amazon Web Services, the ARN of the Amazon Web Services resource that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic.

Note that Lambda configures the comparison using the StringLike operator.

", + "CreateEventSourceMappingRequest$EventSourceArn": "

The Amazon Resource Name (ARN) of the event source.

", "EventSourceMappingConfiguration$EventSourceArn": "

The Amazon Resource Name (ARN) of the event source.

", "FunctionConfiguration$SigningProfileVersionArn": "

The ARN of the signing profile version.

", "FunctionConfiguration$SigningJobArn": "

The ARN of the signing job.

", "Layer$SigningProfileVersionArn": "

The Amazon Resource Name (ARN) for a signing profile version.

", "Layer$SigningJobArn": "

The Amazon Resource Name (ARN) of a signing job.

", - "ListEventSourceMappingsRequest$EventSourceArn": "

The Amazon Resource Name (ARN) of the event source.

", + "ListEventSourceMappingsRequest$EventSourceArn": "

The Amazon Resource Name (ARN) of the event source.

", "SigningProfileVersionArns$member": null } }, @@ -230,11 +230,11 @@ "Blob": { "base": null, "refs": { - "FunctionCode$ZipFile": "

The base64-encoded contents of the deployment package. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for you.

", - "InvocationRequest$Payload": "

The JSON that you want to provide to your Lambda function as input.

You can enter the JSON directly. For example, --payload '{ \"key\": \"value\" }'. You can also specify a file path. For example, --payload file://payload.json.

", + "FunctionCode$ZipFile": "

The base64-encoded contents of the deployment package. Amazon Web Services SDK and CLI clients handle the encoding for you.

", + "InvocationRequest$Payload": "

The JSON that you want to provide to your Lambda function as input.

You can enter the JSON directly. For example, --payload '{ \"key\": \"value\" }'. You can also specify a file path. For example, --payload file://payload.json.

", "InvocationResponse$Payload": "

The response from the function, or an error object.

", "LayerVersionContentInput$ZipFile": "

The base64-encoded contents of the layer archive. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for you.

", - "UpdateFunctionCodeRequest$ZipFile": "

The base64-encoded contents of the deployment package. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for you. Use only with a function defined with a .zip file archive deployment package.

" + "UpdateFunctionCodeRequest$ZipFile": "

The base64-encoded contents of the deployment package. Amazon Web Services SDK and CLI clients handle the encoding for you. Use only with a function defined with a .zip file archive deployment package.

" } }, "BlobStream": { @@ -306,12 +306,12 @@ } }, "CodeStorageExceededException": { - "base": "

You have exceeded your maximum total code size per account. Learn more

", + "base": "

Your Amazon Web Services account has exceeded its maximum total code size. For more information, see Lambda quotas.

", "refs": { } }, "CodeVerificationFailedException": { - "base": "

The code signature failed one or more of the validation checks for signature mismatch or expiry, and the code signing policy is set to ENFORCE. Lambda blocks the deployment.

", + "base": "

The code signature failed one or more of the validation checks for signature mismatch or expiry, and the code signing policy is set to ENFORCE. Lambda blocks the deployment.

", "refs": { } }, @@ -397,9 +397,9 @@ "DeadLetterConfig": { "base": "

The dead-letter queue for failed asynchronous invocations.

", "refs": { - "CreateFunctionRequest$DeadLetterConfig": "

A dead letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing. For more information, see Dead Letter Queues.

", + "CreateFunctionRequest$DeadLetterConfig": "

A dead-letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing. For more information, see Dead-letter queues.

", "FunctionConfiguration$DeadLetterConfig": "

The function's dead letter queue.

", - "UpdateFunctionConfigurationRequest$DeadLetterConfig": "

A dead letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing. For more information, see Dead Letter Queues.

" + "UpdateFunctionConfigurationRequest$DeadLetterConfig": "

A dead-letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing. For more information, see Dead-letter queues.

" } }, "DeleteAliasRequest": { @@ -500,12 +500,12 @@ } }, "EC2ThrottledException": { - "base": "

Lambda was throttled by Amazon EC2 during Lambda function initialization using the execution role provided for the Lambda function.

", + "base": "

Amazon EC2 throttled Lambda during Lambda function initialization using the execution role provided for the function.

", "refs": { } }, "EC2UnexpectedException": { - "base": "

Lambda received an unexpected EC2 client exception while setting up for the Lambda function.

", + "base": "

Lambda received an unexpected Amazon EC2 client exception while setting up for the Lambda function.

", "refs": { } }, @@ -515,22 +515,22 @@ } }, "EFSMountConnectivityException": { - "base": "

The function couldn't make a network connection to the configured file system.

", + "base": "

The Lambda function couldn't make a network connection to the configured file system.

", "refs": { } }, "EFSMountFailureException": { - "base": "

The function couldn't mount the configured file system due to a permission or configuration issue.

", + "base": "

The Lambda function couldn't mount the configured file system due to a permission or configuration issue.

", "refs": { } }, "EFSMountTimeoutException": { - "base": "

The function was able to make a network connection to the configured file system, but the mount operation timed out.

", + "base": "

The Lambda function made a network connection to the configured file system, but the mount operation timed out.

", "refs": { } }, "ENILimitReachedException": { - "base": "

Lambda was not able to create an elastic network interface in the VPC, specified as part of Lambda function configuration, because the limit for network interfaces has been reached.

", + "base": "

Lambda couldn't create an elastic network interface in the VPC, specified as part of Lambda function configuration, because the limit for network interfaces has been reached. For more information, see Lambda quotas.

", "refs": { } }, @@ -566,7 +566,7 @@ } }, "Environment": { - "base": "

A function's environment variable settings. You can use environment variables to adjust your function's behavior without updating code. An environment variable is a pair of strings that are stored in a function's version-specific configuration.

", + "base": "

A function's environment variable settings. You can use environment variables to adjust your function's behavior without updating code. An environment variable is a pair of strings that are stored in a function's version-specific configuration.

", "refs": { "CreateFunctionRequest$Environment": "

Environment variables that are accessible from function code during execution.

", "UpdateFunctionConfigurationRequest$Environment": "

Environment variables that are accessible from function code during execution.

" @@ -579,7 +579,7 @@ } }, "EnvironmentResponse": { - "base": "

The results of an operation to update or read environment variables. If the operation is successful, the response contains the environment variables. If it failed, the response contains details about the error.

", + "base": "

The results of an operation to update or read environment variables. If the operation succeeds, the response contains the environment variables. If it fails, the response contains details about the error.

", "refs": { "FunctionConfiguration$Environment": "

The function's environment variables. Omitted from CloudTrail logs.

" } @@ -604,17 +604,17 @@ } }, "EphemeralStorage": { - "base": "

The size of the function’s /tmp directory in MB. The default value is 512, but can be any whole number between 512 and 10240 MB.

", + "base": "

The size of the function's /tmp directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB.

", "refs": { - "CreateFunctionRequest$EphemeralStorage": "

The size of the function’s /tmp directory in MB. The default value is 512, but can be any whole number between 512 and 10240 MB.

", - "FunctionConfiguration$EphemeralStorage": "

The size of the function’s /tmp directory in MB. The default value is 512, but can be any whole number between 512 and 10240 MB.

", - "UpdateFunctionConfigurationRequest$EphemeralStorage": "

The size of the function’s /tmp directory in MB. The default value is 512, but can be any whole number between 512 and 10240 MB.

" + "CreateFunctionRequest$EphemeralStorage": "

The size of the function's /tmp directory in MB. The default value is 512, but can be any whole number between 512 and 10,240 MB.

", + "FunctionConfiguration$EphemeralStorage": "

The size of the function’s /tmp directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB.

", + "UpdateFunctionConfigurationRequest$EphemeralStorage": "

The size of the function's /tmp directory in MB. The default value is 512, but can be any whole number between 512 and 10,240 MB.

" } }, "EphemeralStorageSize": { "base": null, "refs": { - "EphemeralStorage$Size": "

The size of the function’s /tmp directory.

" + "EphemeralStorage$Size": "

The size of the function's /tmp directory.

" } }, "EventSourceMappingConfiguration": { @@ -639,7 +639,7 @@ "EventSourceToken": { "base": null, "refs": { - "AddPermissionRequest$EventSourceToken": "

For Alexa Smart Home functions, a token that must be supplied by the invoker.

" + "AddPermissionRequest$EventSourceToken": "

For Alexa Smart Home functions, a token that the invoker must supply.

" } }, "FileSystemArn": { @@ -671,9 +671,9 @@ "FilterCriteria": { "base": "

An object that contains the filters for an event source.

", "refs": { - "CreateEventSourceMappingRequest$FilterCriteria": "

(Streams and Amazon SQS) An object that defines the filter criteria that determine whether Lambda should process an event. For more information, see Lambda event filtering.

", - "EventSourceMappingConfiguration$FilterCriteria": "

(Streams and Amazon SQS) An object that defines the filter criteria that determine whether Lambda should process an event. For more information, see Lambda event filtering.

", - "UpdateEventSourceMappingRequest$FilterCriteria": "

(Streams and Amazon SQS) An object that defines the filter criteria that determine whether Lambda should process an event. For more information, see Lambda event filtering.

" + "CreateEventSourceMappingRequest$FilterCriteria": "

An object that defines the filter criteria that determine whether Lambda should process an event. For more information, see Lambda event filtering.

", + "EventSourceMappingConfiguration$FilterCriteria": "

An object that defines the filter criteria that determine whether Lambda should process an event. For more information, see Lambda event filtering.

", + "UpdateEventSourceMappingRequest$FilterCriteria": "

An object that defines the filter criteria that determine whether Lambda should process an event. For more information, see Lambda event filtering.

" } }, "FilterList": { @@ -707,7 +707,7 @@ } }, "FunctionCode": { - "base": "

The code for the Lambda function. You can specify either an object in Amazon S3, upload a .zip file archive deployment package directly, or specify the URI of a container image.

", + "base": "

The code for the Lambda function. You can either specify an object in Amazon S3, upload a .zip file archive deployment package directly, or specify the URI of a container image.

", "refs": { "CreateFunctionRequest$Code": "

The code for the function.

" } @@ -747,43 +747,43 @@ "FunctionName": { "base": null, "refs": { - "AddPermissionRequest$FunctionName": "

The name of the Lambda function, version, or alias.

Name formats

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", + "AddPermissionRequest$FunctionName": "

The name of the Lambda function, version, or alias.

Name formats

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "CreateAliasRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "CreateEventSourceMappingRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.

", - "CreateFunctionRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", - "CreateFunctionUrlConfigRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", + "CreateFunctionRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", + "CreateFunctionUrlConfigRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "DeleteAliasRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "DeleteFunctionCodeSigningConfigRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", - "DeleteFunctionConcurrencyRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", + "DeleteFunctionConcurrencyRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "DeleteFunctionEventInvokeConfigRequest$FunctionName": "

The name of the Lambda function, version, or alias.

Name formats

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", - "DeleteFunctionRequest$FunctionName": "

The name of the Lambda function or version.

Name formats

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", - "DeleteFunctionUrlConfigRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", - "DeleteProvisionedConcurrencyConfigRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", + "DeleteFunctionRequest$FunctionName": "

The name of the Lambda function or version.

Name formats

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", + "DeleteFunctionUrlConfigRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", + "DeleteProvisionedConcurrencyConfigRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "GetAliasRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "GetFunctionCodeSigningConfigRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "GetFunctionCodeSigningConfigResponse$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", - "GetFunctionConcurrencyRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", + "GetFunctionConcurrencyRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "GetFunctionEventInvokeConfigRequest$FunctionName": "

The name of the Lambda function, version, or alias.

Name formats

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", - "GetFunctionUrlConfigRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", - "GetProvisionedConcurrencyConfigRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", + "GetFunctionUrlConfigRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", + "GetProvisionedConcurrencyConfigRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "ListAliasesRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "ListEventSourceMappingsRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.

", "ListFunctionEventInvokeConfigsRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", - "ListFunctionUrlConfigsRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", - "ListProvisionedConcurrencyConfigsRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", + "ListFunctionUrlConfigsRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", + "ListProvisionedConcurrencyConfigsRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "PublishVersionRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "PutFunctionCodeSigningConfigRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "PutFunctionCodeSigningConfigResponse$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", - "PutFunctionConcurrencyRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", + "PutFunctionConcurrencyRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "PutFunctionEventInvokeConfigRequest$FunctionName": "

The name of the Lambda function, version, or alias.

Name formats

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", - "PutProvisionedConcurrencyConfigRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", - "RemovePermissionRequest$FunctionName": "

The name of the Lambda function, version, or alias.

Name formats

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", + "PutProvisionedConcurrencyConfigRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", + "RemovePermissionRequest$FunctionName": "

The name of the Lambda function, version, or alias.

Name formats

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "UpdateAliasRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "UpdateEventSourceMappingRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.

", - "UpdateFunctionCodeRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", - "UpdateFunctionConfigurationRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", + "UpdateFunctionCodeRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", + "UpdateFunctionConfigurationRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "UpdateFunctionEventInvokeConfigRequest$FunctionName": "

The name of the Lambda function, version, or alias.

Name formats

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", - "UpdateFunctionUrlConfigRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

" + "UpdateFunctionUrlConfigRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

" } }, "FunctionResponseType": { @@ -812,13 +812,13 @@ "FunctionUrlAuthType": { "base": null, "refs": { - "AddPermissionRequest$FunctionUrlAuthType": "

The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated IAM users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.

", - "CreateFunctionUrlConfigRequest$AuthType": "

The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated IAM users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.

", - "CreateFunctionUrlConfigResponse$AuthType": "

The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated IAM users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.

", - "FunctionUrlConfig$AuthType": "

The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated IAM users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.

", - "GetFunctionUrlConfigResponse$AuthType": "

The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated IAM users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.

", - "UpdateFunctionUrlConfigRequest$AuthType": "

The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated IAM users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.

", - "UpdateFunctionUrlConfigResponse$AuthType": "

The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated IAM users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.

" + "AddPermissionRequest$FunctionUrlAuthType": "

The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated IAM users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.

", + "CreateFunctionUrlConfigRequest$AuthType": "

The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated IAM users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.

", + "CreateFunctionUrlConfigResponse$AuthType": "

The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated IAM users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.

", + "FunctionUrlConfig$AuthType": "

The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated IAM users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.

", + "GetFunctionUrlConfigResponse$AuthType": "

The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated IAM users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.

", + "UpdateFunctionUrlConfigRequest$AuthType": "

The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated IAM users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.

", + "UpdateFunctionUrlConfigResponse$AuthType": "

The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated IAM users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.

" } }, "FunctionUrlConfig": { @@ -976,9 +976,9 @@ "Handler": { "base": null, "refs": { - "CreateFunctionRequest$Handler": "

The name of the method within your code that Lambda calls to execute your function. Handler is required if the deployment package is a .zip file archive. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see Programming Model.

", - "FunctionConfiguration$Handler": "

The function that Lambda calls to begin executing your function.

", - "UpdateFunctionConfigurationRequest$Handler": "

The name of the method within your code that Lambda calls to execute your function. Handler is required if the deployment package is a .zip file archive. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see Programming Model.

" + "CreateFunctionRequest$Handler": "

The name of the method within your code that Lambda calls to run your function. Handler is required if the deployment package is a .zip file archive. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see Lambda programming model.

", + "FunctionConfiguration$Handler": "

The function that Lambda calls to begin running your function.

", + "UpdateFunctionConfigurationRequest$Handler": "

The name of the method within your code that Lambda calls to run your function. Handler is required if the deployment package is a .zip file archive. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see Lambda programming model.

" } }, "Header": { @@ -1001,7 +1001,7 @@ } }, "ImageConfig": { - "base": "

Configuration values that override the container image Dockerfile settings. See Container settings.

", + "base": "

Configuration values that override the container image Dockerfile settings. For more information, see Container image settings.

", "refs": { "CreateFunctionRequest$ImageConfig": "

Container image configuration values that override the values in the container image Dockerfile.

", "ImageConfigResponse$ImageConfig": "

Configuration values that override the container image Dockerfile.

", @@ -1009,13 +1009,13 @@ } }, "ImageConfigError": { - "base": "

Error response to GetFunctionConfiguration.

", + "base": "

Error response to GetFunctionConfiguration.

", "refs": { - "ImageConfigResponse$Error": "

Error response to GetFunctionConfiguration.

" + "ImageConfigResponse$Error": "

Error response to GetFunctionConfiguration.

" } }, "ImageConfigResponse": { - "base": "

Response to GetFunctionConfiguration request.

", + "base": "

Response to a GetFunctionConfiguration request.

", "refs": { "FunctionConfiguration$ImageConfigResponse": "

The function's image configuration values.

" } @@ -1028,12 +1028,12 @@ } }, "InvalidCodeSignatureException": { - "base": "

The code signature failed the integrity check. Lambda always blocks deployment if the integrity check fails, even if code signing policy is set to WARN.

", + "base": "

The code signature failed the integrity check. If the integrity check fails, then Lambda blocks deployment, even if the code signing policy is set to WARN.

", "refs": { } }, "InvalidParameterValueException": { - "base": "

One of the parameters in the request is invalid.

", + "base": "

One of the parameters in the request is not valid.

", "refs": { } }, @@ -1048,12 +1048,12 @@ } }, "InvalidSecurityGroupIDException": { - "base": "

The Security Group ID provided in the Lambda function VPC configuration is invalid.

", + "base": "

The security group ID provided in the Lambda function VPC configuration is not valid.

", "refs": { } }, "InvalidSubnetIDException": { - "base": "

The Subnet ID provided in the Lambda function VPC configuration is invalid.

", + "base": "

The subnet ID provided in the Lambda function VPC configuration is not valid.

", "refs": { } }, @@ -1075,7 +1075,7 @@ "InvocationType": { "base": null, "refs": { - "InvocationRequest$InvocationType": "

Choose from the following options.

" + "InvocationRequest$InvocationType": "

Choose from the following options.

" } }, "InvokeAsyncRequest": { @@ -1084,35 +1084,35 @@ } }, "InvokeAsyncResponse": { - "base": "

A success response (202 Accepted) indicates that the request is queued for invocation.

", + "base": "

A success response (202 Accepted) indicates that the request is queued for invocation.

", "refs": { } }, "KMSAccessDeniedException": { - "base": "

Lambda was unable to decrypt the environment variables because KMS access was denied. Check the Lambda function's KMS permissions.

", + "base": "

Lambda couldn't decrypt the environment variables because KMS access was denied. Check the Lambda function's KMS permissions.

", "refs": { } }, "KMSDisabledException": { - "base": "

Lambda was unable to decrypt the environment variables because the KMS key used is disabled. Check the Lambda function's KMS key settings.

", + "base": "

Lambda couldn't decrypt the environment variables because the KMS key used is disabled. Check the Lambda function's KMS key settings.

", "refs": { } }, "KMSInvalidStateException": { - "base": "

Lambda was unable to decrypt the environment variables because the KMS key used is in an invalid state for Decrypt. Check the function's KMS key settings.

", + "base": "

Lambda couldn't decrypt the environment variables because the state of the KMS key used is not valid for Decrypt. Check the function's KMS key settings.

", "refs": { } }, "KMSKeyArn": { "base": null, "refs": { - "CreateFunctionRequest$KMSKeyArn": "

The ARN of the Amazon Web Services Key Management Service (KMS) key that's used to encrypt your function's environment variables. If it's not provided, Lambda uses a default service key.

", - "FunctionConfiguration$KMSKeyArn": "

The KMS key that's used to encrypt the function's environment variables. This key is only returned if you've configured a customer managed key.

", - "UpdateFunctionConfigurationRequest$KMSKeyArn": "

The ARN of the Amazon Web Services Key Management Service (KMS) key that's used to encrypt your function's environment variables. If it's not provided, Lambda uses a default service key.

" + "CreateFunctionRequest$KMSKeyArn": "

The ARN of the Key Management Service (KMS) key that's used to encrypt your function's environment variables. If it's not provided, Lambda uses a default service key.

", + "FunctionConfiguration$KMSKeyArn": "

The KMS key that's used to encrypt the function's environment variables. This key is returned only if you've configured a customer managed key.

", + "UpdateFunctionConfigurationRequest$KMSKeyArn": "

The ARN of the Key Management Service (KMS) key that's used to encrypt your function's environment variables. If it's not provided, Lambda uses a default service key.

" } }, "KMSNotFoundException": { - "base": "

Lambda was unable to decrypt the environment variables because the KMS key was not found. Check the function's KMS key settings.

", + "base": "

Lambda couldn't decrypt the environment variables because the KMS key was not found. Check the function's KMS key settings.

", "refs": { } }, @@ -1245,7 +1245,7 @@ "LayersReferenceList": { "base": null, "refs": { - "FunctionConfiguration$Layers": "

The function's layers.

" + "FunctionConfiguration$Layers": "

The function's layers.

" } }, "LicenseInfo": { @@ -1405,7 +1405,7 @@ "MasterRegion": { "base": null, "refs": { - "ListFunctionsRequest$MasterRegion": "

For Lambda@Edge functions, the Amazon Web Services Region of the master function. For example, us-east-1 filters the list of functions to only include Lambda@Edge functions replicated from a master function in US East (N. Virginia). If specified, you must set FunctionVersion to ALL.

" + "ListFunctionsRequest$MasterRegion": "

For Lambda@Edge functions, the Amazon Web Services Region of the master function. For example, us-east-1 filters the list of functions to include only Lambda@Edge functions replicated from a master function in US East (N. Virginia). If specified, you must set FunctionVersion to ALL.

" } }, "MaxAge": { @@ -1493,9 +1493,9 @@ "MemorySize": { "base": null, "refs": { - "CreateFunctionRequest$MemorySize": "

The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB.

", - "FunctionConfiguration$MemorySize": "

The amount of memory available to the function at runtime.

", - "UpdateFunctionConfigurationRequest$MemorySize": "

The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB.

" + "CreateFunctionRequest$MemorySize": "

The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB.

", + "FunctionConfiguration$MemorySize": "

The amount of memory available to the function at runtime.

", + "UpdateFunctionConfigurationRequest$MemorySize": "

The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB.

" } }, "Method": { @@ -1514,11 +1514,11 @@ "base": null, "refs": { "FunctionConfiguration$FunctionName": "

The name of the function.

", - "GetFunctionConfigurationRequest$FunctionName": "

The name of the Lambda function, version, or alias.

Name formats

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", - "GetFunctionRequest$FunctionName": "

The name of the Lambda function, version, or alias.

Name formats

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", - "GetPolicyRequest$FunctionName": "

The name of the Lambda function, version, or alias.

Name formats

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", - "InvocationRequest$FunctionName": "

The name of the Lambda function, version, or alias.

Name formats

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", - "InvokeAsyncRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", + "GetFunctionConfigurationRequest$FunctionName": "

The name of the Lambda function, version, or alias.

Name formats

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", + "GetFunctionRequest$FunctionName": "

The name of the Lambda function, version, or alias.

Name formats

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", + "GetPolicyRequest$FunctionName": "

The name of the Lambda function, version, or alias.

Name formats

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", + "InvocationRequest$FunctionName": "

The name of the Lambda function, version, or alias.

Name formats

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", + "InvokeAsyncRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "ListVersionsByFunctionRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

" } }, @@ -1566,7 +1566,7 @@ "PackageType": { "base": null, "refs": { - "CreateFunctionRequest$PackageType": "

The type of deployment package. Set to Image for container image and set Zip for ZIP archive.

", + "CreateFunctionRequest$PackageType": "

The type of deployment package. Set to Image for container image and set to Zip for .zip file archive.

", "FunctionConfiguration$PackageType": "

The type of deployment package. Set to Image for container image and set Zip for .zip file archive.

" } }, @@ -1585,7 +1585,7 @@ } }, "PolicyLengthExceededException": { - "base": "

The permissions policy for the resource is too large. Learn more

", + "base": "

The permissions policy for the resource is too large. For more information, see Lambda quotas.

", "refs": { } }, @@ -1599,14 +1599,14 @@ } }, "PreconditionFailedException": { - "base": "

The RevisionId provided does not match the latest RevisionId for the Lambda function or alias. Call the GetFunction or the GetAlias API to retrieve the latest RevisionId for your resource.

", + "base": "

The RevisionId provided does not match the latest RevisionId for the Lambda function or alias. Call the GetFunction or the GetAlias API operation to retrieve the latest RevisionId for your resource.

", "refs": { } }, "Principal": { "base": null, "refs": { - "AddPermissionRequest$Principal": "

The Amazon Web Services service or account that invokes the function. If you specify a service, use SourceArn or SourceAccount to limit who can invoke the function through that service.

" + "AddPermissionRequest$Principal": "

The Amazon Web Service or Amazon Web Services account that invokes the function. If you specify a service, use SourceArn or SourceAccount to limit who can invoke the function through that service.

" } }, "PrincipalOrgID": { @@ -1690,7 +1690,7 @@ "refs": { "AddPermissionRequest$Qualifier": "

Specify a version or alias to add permissions to a published version of the function.

", "DeleteFunctionEventInvokeConfigRequest$Qualifier": "

A version number or alias name.

", - "DeleteFunctionRequest$Qualifier": "

Specify a version to delete. You can't delete a version that's referenced by an alias.

", + "DeleteFunctionRequest$Qualifier": "

Specify a version to delete. You can't delete a version that an alias references.

", "DeleteProvisionedConcurrencyConfigRequest$Qualifier": "

The version number or alias name.

", "GetFunctionConfigurationRequest$Qualifier": "

Specify a version or alias to get details about a published version of the function.

", "GetFunctionEventInvokeConfigRequest$Qualifier": "

A version number or alias name.

", @@ -1728,14 +1728,14 @@ } }, "RequestTooLargeException": { - "base": "

The request payload exceeded the Invoke request body JSON input limit. For more information, see Limits.

", + "base": "

The request payload exceeded the Invoke request body JSON input quota. For more information, see Lambda quotas.

", "refs": { } }, "ReservedConcurrentExecutions": { "base": null, "refs": { - "Concurrency$ReservedConcurrentExecutions": "

The number of concurrent executions that are reserved for this function. For more information, see Managing Concurrency.

", + "Concurrency$ReservedConcurrentExecutions": "

The number of concurrent executions that are reserved for this function. For more information, see Managing Lambda reserved concurrency.

", "GetFunctionConcurrencyResponse$ReservedConcurrentExecutions": "

The number of simultaneous executions that are reserved for the function.

", "PutFunctionConcurrencyRequest$ReservedConcurrentExecutions": "

The number of simultaneous executions to reserve for the function.

" } @@ -1752,7 +1752,7 @@ } }, "ResourceInUseException": { - "base": "

The operation conflicts with the resource's availability. For example, you attempted to update an EventSource Mapping in CREATING, or tried to delete a EventSource mapping currently in the UPDATING state.

", + "base": "

The operation conflicts with the resource's availability. For example, you tried to update an event source mapping in the CREATING state, or you tried to delete an event source mapping currently UPDATING.

", "refs": { } }, @@ -1818,8 +1818,8 @@ "SecurityGroupIds": { "base": null, "refs": { - "VpcConfig$SecurityGroupIds": "

A list of VPC security groups IDs.

", - "VpcConfigResponse$SecurityGroupIds": "

A list of VPC security groups IDs.

" + "VpcConfig$SecurityGroupIds": "

A list of VPC security group IDs.

", + "VpcConfigResponse$SecurityGroupIds": "

A list of VPC security group IDs.

" } }, "SelfManagedEventSource": { @@ -1854,6 +1854,47 @@ "AllowedPublishers$SigningProfileVersionArns": "

The Amazon Resource Name (ARN) for each of the signing profiles. A signing profile defines a trusted user who can sign a code package.

" } }, + "SnapStart": { + "base": "

The function's SnapStart setting. Set ApplyOn to PublishedVersions to create a snapshot of the initialized execution environment when you publish a function version. For more information, see Reducing startup time with Lambda SnapStart.

", + "refs": { + "CreateFunctionRequest$SnapStart": "

The function's SnapStart setting.

", + "UpdateFunctionConfigurationRequest$SnapStart": "

The function's SnapStart setting.

" + } + }, + "SnapStartApplyOn": { + "base": null, + "refs": { + "SnapStart$ApplyOn": "

Set to PublishedVersions to create a snapshot of the initialized execution environment when you publish a function version.

", + "SnapStartResponse$ApplyOn": "

When set to PublishedVersions, Lambda creates a snapshot of the execution environment when you publish a function version.

" + } + }, + "SnapStartException": { + "base": "

The runtime restore hook encountered an error. For more information, check the Amazon CloudWatch logs.

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

Lambda is initializing your function. You can invoke the function when the function state becomes Active.

", + "refs": { + } + }, + "SnapStartOptimizationStatus": { + "base": null, + "refs": { + "SnapStartResponse$OptimizationStatus": "

When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.

" + } + }, + "SnapStartResponse": { + "base": "

The function's SnapStart setting.

", + "refs": { + "FunctionConfiguration$SnapStart": "

Set ApplyOn to PublishedVersions to create a snapshot of the initialized execution environment when you publish a function version. For more information, see Reducing startup time with Lambda SnapStart.

" + } + }, + "SnapStartTimeoutException": { + "base": "

The runtime restore hook failed to complete within the timeout limit (2 seconds).

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

To secure and define access to your event source, you can specify the authentication protocol, VPC components, or virtual host.

", "refs": { @@ -1877,7 +1918,7 @@ "SourceOwner": { "base": null, "refs": { - "AddPermissionRequest$SourceAccount": "

For Amazon S3, the ID of the account that owns the resource. Use this together with SourceArn to ensure that the resource is owned by the specified account. It is possible for an Amazon S3 bucket to be deleted by its owner and recreated by another account.

" + "AddPermissionRequest$SourceAccount": "

For Amazon Web Service, the ID of the Amazon Web Services account that owns the resource. Use this together with SourceArn to ensure that the specified account owns the resource. It is possible for an Amazon S3 bucket to be deleted by its owner and recreated by another account.

" } }, "State": { @@ -1912,7 +1953,7 @@ "AddLayerVersionPermissionRequest$RevisionId": "

Only update the policy if the revision ID matches the ID specified. Use this option to avoid modifying a policy that has changed since you last read it.

", "AddLayerVersionPermissionResponse$Statement": "

The permission statement.

", "AddLayerVersionPermissionResponse$RevisionId": "

A unique identifier for the current revision of the policy.

", - "AddPermissionRequest$RevisionId": "

Only update the policy if the revision ID matches the ID that's specified. Use this option to avoid modifying a policy that has changed since you last read it.

", + "AddPermissionRequest$RevisionId": "

Update the policy only if the revision ID matches the ID that's specified. Use this option to avoid modifying a policy that has changed since you last read it.

", "AddPermissionResponse$Statement": "

The permission statement that's added to the function policy.

", "AliasConfiguration$RevisionId": "

A unique identifier that changes when you update the alias.

", "CodeSigningConfigNotFoundException$Type": null, @@ -1972,9 +2013,9 @@ "InvalidSubnetIDException$Message": null, "InvalidZipFileException$Type": null, "InvalidZipFileException$Message": null, - "InvocationRequest$ClientContext": "

Up to 3583 bytes of base64-encoded data about the invoking client to pass to the function in the context object.

", + "InvocationRequest$ClientContext": "

Up to 3,583 bytes of base64-encoded data about the invoking client to pass to the function in the context object.

", "InvocationResponse$FunctionError": "

If present, indicates that an error occurred during function execution. Details about the error are included in the response payload.

", - "InvocationResponse$LogResult": "

The last 4 KB of the execution log, which is base64 encoded.

", + "InvocationResponse$LogResult": "

The last 4 KB of the execution log, which is base64-encoded.

", "KMSAccessDeniedException$Type": null, "KMSAccessDeniedException$Message": null, "KMSDisabledException$Type": null, @@ -2020,7 +2061,7 @@ "PublishVersionRequest$RevisionId": "

Only update the function if the revision ID matches the ID that's specified. Use this option to avoid publishing a version if the function configuration has changed since you last updated it.

", "PutProvisionedConcurrencyConfigResponse$StatusReason": "

For failed allocations, the reason that provisioned concurrency could not be allocated.

", "RemoveLayerVersionPermissionRequest$RevisionId": "

Only update the policy if the revision ID matches the ID specified. Use this option to avoid modifying a policy that has changed since you last read it.

", - "RemovePermissionRequest$RevisionId": "

Only update the policy if the revision ID matches the ID that's specified. Use this option to avoid modifying a policy that has changed since you last read it.

", + "RemovePermissionRequest$RevisionId": "

Update the policy only if the revision ID matches the ID that's specified. Use this option to avoid modifying a policy that has changed since you last read it.

", "RequestTooLargeException$Type": null, "RequestTooLargeException$message": null, "ResourceConflictException$Type": "

The exception type.

", @@ -2033,6 +2074,12 @@ "ResourceNotReadyException$message": "

The exception message.

", "ServiceException$Type": null, "ServiceException$Message": null, + "SnapStartException$Type": null, + "SnapStartException$Message": null, + "SnapStartNotReadyException$Type": null, + "SnapStartNotReadyException$Message": null, + "SnapStartTimeoutException$Type": null, + "SnapStartTimeoutException$Message": null, "StringList$member": null, "SubnetIPAddressLimitReachedException$Type": null, "SubnetIPAddressLimitReachedException$Message": null, @@ -2044,19 +2091,19 @@ "UpdateAliasRequest$RevisionId": "

Only update the alias if the revision ID matches the ID that's specified. Use this option to avoid modifying an alias that has changed since you last read it.

", "UpdateEventSourceMappingRequest$UUID": "

The identifier of the event source mapping.

", "UpdateFunctionCodeRequest$ImageUri": "

URI of a container image in the Amazon ECR registry. Do not use for a function defined with a .zip file archive.

", - "UpdateFunctionCodeRequest$RevisionId": "

Only update the function if the revision ID matches the ID that's specified. Use this option to avoid modifying a function that has changed since you last read it.

", - "UpdateFunctionConfigurationRequest$RevisionId": "

Only update the function if the revision ID matches the ID that's specified. Use this option to avoid modifying a function that has changed since you last read it.

" + "UpdateFunctionCodeRequest$RevisionId": "

Update the function only if the revision ID matches the ID that's specified. Use this option to avoid modifying a function that has changed since you last read it.

", + "UpdateFunctionConfigurationRequest$RevisionId": "

Update the function only if the revision ID matches the ID that's specified. Use this option to avoid modifying a function that has changed since you last read it.

" } }, "StringList": { "base": null, "refs": { "ImageConfig$EntryPoint": "

Specifies the entry point to their application, which is typically the location of the runtime executable.

", - "ImageConfig$Command": "

Specifies parameters that you want to pass in with ENTRYPOINT.

" + "ImageConfig$Command": "

Specifies parameters that you want to pass in with ENTRYPOINT.

" } }, "SubnetIPAddressLimitReachedException": { - "base": "

Lambda was not able to set up VPC access for the Lambda function because one or more configured subnets has no available IP addresses.

", + "base": "

Lambda couldn't set up VPC access for the Lambda function because one or more configured subnets has no available IP addresses.

", "refs": { } }, @@ -2115,9 +2162,9 @@ "Timeout": { "base": null, "refs": { - "CreateFunctionRequest$Timeout": "

The amount of time (in seconds) that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds. For additional information, see Lambda execution environment.

", + "CreateFunctionRequest$Timeout": "

The amount of time (in seconds) that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds. For more information, see Lambda execution environment.

", "FunctionConfiguration$Timeout": "

The amount of time in seconds that Lambda allows a function to run before stopping it.

", - "UpdateFunctionConfigurationRequest$Timeout": "

The amount of time (in seconds) that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds. For additional information, see Lambda execution environment.

" + "UpdateFunctionConfigurationRequest$Timeout": "

The amount of time (in seconds) that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds. For more information, see Lambda execution environment.

" } }, "Timestamp": { @@ -2141,7 +2188,7 @@ } }, "TooManyRequestsException": { - "base": "

The request throughput limit was exceeded.

", + "base": "

The request throughput limit was exceeded. For more information, see Lambda quotas.

", "refs": { } }, @@ -2267,10 +2314,10 @@ } }, "VpcConfig": { - "base": "

The VPC security groups and subnets that are attached to a Lambda function. For more information, see VPC Settings.

", + "base": "

The VPC security groups and subnets that are attached to a Lambda function. For more information, see Configuring a Lambda function to access resources in a VPC.

", "refs": { - "CreateFunctionRequest$VpcConfig": "

For network connectivity to Amazon Web Services resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can only access resources and the internet through that VPC. For more information, see VPC Settings.

", - "UpdateFunctionConfigurationRequest$VpcConfig": "

For network connectivity to Amazon Web Services resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can only access resources and the internet through that VPC. For more information, see VPC Settings.

" + "CreateFunctionRequest$VpcConfig": "

For network connectivity to Amazon Web Services resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can access resources and the internet only through that VPC. For more information, see Configuring a Lambda function to access resources in a VPC.

", + "UpdateFunctionConfigurationRequest$VpcConfig": "

For network connectivity to Amazon Web Services resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can access resources and the internet only through that VPC. For more information, see Configuring a Lambda function to access resources in a VPC.

" } }, "VpcConfigResponse": { diff --git a/models/apis/lambda/2015-03-31/endpoint-rule-set-1.json b/models/apis/lambda/2015-03-31/endpoint-rule-set-1.json index 84fb834f202..1c2cb6b0d97 100644 --- a/models/apis/lambda/2015-03-31/endpoint-rule-set-1.json +++ b/models/apis/lambda/2015-03-31/endpoint-rule-set-1.json @@ -3,7 +3,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": false, + "required": true, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, diff --git a/models/apis/lambda/2015-03-31/endpoint-tests-1.json b/models/apis/lambda/2015-03-31/endpoint-tests-1.json index 56def9b4a79..8a03f230a51 100644 --- a/models/apis/lambda/2015-03-31/endpoint-tests-1.json +++ b/models/apis/lambda/2015-03-31/endpoint-tests-1.json @@ -8,9 +8,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "ap-south-2", - "UseDualStack": true + "UseFIPS": true } }, { @@ -21,9 +21,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "ap-south-2", - "UseDualStack": false + "UseFIPS": true } }, { @@ -34,9 +34,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "ap-south-2", - "UseDualStack": true + "UseFIPS": false } }, { @@ -47,9 +47,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "ap-south-2", - "UseDualStack": false + "UseFIPS": false } }, { @@ -60,9 +60,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "ap-south-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -73,9 +73,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "ap-south-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -86,9 +86,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "ap-south-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -99,9 +99,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "ap-south-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -112,9 +112,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "eu-south-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -125,9 +125,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "eu-south-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -138,9 +138,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "eu-south-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -151,9 +151,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "eu-south-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -164,9 +164,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "eu-south-2", - "UseDualStack": true + "UseFIPS": true } }, { @@ -177,9 +177,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "eu-south-2", - "UseDualStack": false + "UseFIPS": true } }, { @@ -190,9 +190,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "eu-south-2", - "UseDualStack": true + "UseFIPS": false } }, { @@ -203,9 +203,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "eu-south-2", - "UseDualStack": false + "UseFIPS": false } }, { @@ -216,9 +216,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "us-gov-east-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -229,9 +229,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "us-gov-east-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -242,9 +242,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "us-gov-east-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -255,9 +255,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "us-gov-east-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -268,9 +268,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "me-central-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -281,9 +281,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "me-central-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -294,9 +294,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "me-central-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -307,9 +307,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "me-central-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -320,9 +320,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "ca-central-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -333,9 +333,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "ca-central-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -346,9 +346,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "ca-central-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -359,9 +359,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "ca-central-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -372,9 +372,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "eu-central-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -385,9 +385,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "eu-central-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -398,9 +398,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "eu-central-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -411,9 +411,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "eu-central-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -422,9 +422,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "us-iso-west-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -435,9 +435,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "us-iso-west-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -446,9 +446,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "us-iso-west-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -459,9 +459,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "us-iso-west-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -472,9 +472,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "eu-central-2", - "UseDualStack": true + "UseFIPS": true } }, { @@ -485,9 +485,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "eu-central-2", - "UseDualStack": false + "UseFIPS": true } }, { @@ -498,9 +498,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "eu-central-2", - "UseDualStack": true + "UseFIPS": false } }, { @@ -511,9 +511,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "eu-central-2", - "UseDualStack": false + "UseFIPS": false } }, { @@ -524,9 +524,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "us-west-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -537,9 +537,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "us-west-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -550,9 +550,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "us-west-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -563,9 +563,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "us-west-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -576,9 +576,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "us-west-2", - "UseDualStack": true + "UseFIPS": true } }, { @@ -589,9 +589,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "us-west-2", - "UseDualStack": false + "UseFIPS": true } }, { @@ -602,9 +602,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "us-west-2", - "UseDualStack": true + "UseFIPS": false } }, { @@ -615,9 +615,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "us-west-2", - "UseDualStack": false + "UseFIPS": false } }, { @@ -628,9 +628,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "af-south-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -641,9 +641,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "af-south-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -654,9 +654,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "af-south-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -667,9 +667,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "af-south-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -680,9 +680,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "eu-north-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -693,9 +693,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "eu-north-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -706,9 +706,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "eu-north-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -719,9 +719,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "eu-north-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -732,9 +732,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "eu-west-3", - "UseDualStack": true + "UseFIPS": true } }, { @@ -745,9 +745,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "eu-west-3", - "UseDualStack": false + "UseFIPS": true } }, { @@ -758,9 +758,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "eu-west-3", - "UseDualStack": true + "UseFIPS": false } }, { @@ -771,9 +771,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "eu-west-3", - "UseDualStack": false + "UseFIPS": false } }, { @@ -784,9 +784,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "eu-west-2", - "UseDualStack": true + "UseFIPS": true } }, { @@ -797,9 +797,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "eu-west-2", - "UseDualStack": false + "UseFIPS": true } }, { @@ -810,9 +810,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "eu-west-2", - "UseDualStack": true + "UseFIPS": false } }, { @@ -823,9 +823,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "eu-west-2", - "UseDualStack": false + "UseFIPS": false } }, { @@ -836,9 +836,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "eu-west-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -849,9 +849,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "eu-west-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -862,9 +862,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "eu-west-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -875,9 +875,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "eu-west-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -888,9 +888,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "ap-northeast-3", - "UseDualStack": true + "UseFIPS": true } }, { @@ -901,9 +901,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "ap-northeast-3", - "UseDualStack": false + "UseFIPS": true } }, { @@ -914,9 +914,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "ap-northeast-3", - "UseDualStack": true + "UseFIPS": false } }, { @@ -927,9 +927,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "ap-northeast-3", - "UseDualStack": false + "UseFIPS": false } }, { @@ -940,9 +940,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "ap-northeast-2", - "UseDualStack": true + "UseFIPS": true } }, { @@ -953,9 +953,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "ap-northeast-2", - "UseDualStack": false + "UseFIPS": true } }, { @@ -966,9 +966,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "ap-northeast-2", - "UseDualStack": true + "UseFIPS": false } }, { @@ -979,9 +979,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "ap-northeast-2", - "UseDualStack": false + "UseFIPS": false } }, { @@ -992,9 +992,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "ap-northeast-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -1005,9 +1005,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "ap-northeast-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -1018,9 +1018,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "ap-northeast-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -1031,9 +1031,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "ap-northeast-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -1044,9 +1044,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "me-south-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -1057,9 +1057,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "me-south-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -1070,9 +1070,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "me-south-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -1083,9 +1083,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "me-south-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -1096,9 +1096,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "sa-east-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -1109,9 +1109,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "sa-east-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -1122,9 +1122,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "sa-east-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -1135,9 +1135,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "sa-east-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -1148,9 +1148,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "ap-east-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -1161,9 +1161,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "ap-east-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -1174,9 +1174,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "ap-east-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -1187,9 +1187,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "ap-east-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -1200,9 +1200,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "cn-north-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -1213,9 +1213,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "cn-north-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -1226,9 +1226,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "cn-north-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -1239,9 +1239,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "cn-north-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -1252,9 +1252,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "us-gov-west-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -1265,9 +1265,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "us-gov-west-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -1278,9 +1278,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "us-gov-west-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -1291,9 +1291,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "us-gov-west-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -1304,9 +1304,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "ap-southeast-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -1317,9 +1317,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "ap-southeast-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -1330,9 +1330,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "ap-southeast-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -1343,9 +1343,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "ap-southeast-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -1356,9 +1356,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "ap-southeast-2", - "UseDualStack": true + "UseFIPS": true } }, { @@ -1369,9 +1369,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "ap-southeast-2", - "UseDualStack": false + "UseFIPS": true } }, { @@ -1382,9 +1382,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "ap-southeast-2", - "UseDualStack": true + "UseFIPS": false } }, { @@ -1395,9 +1395,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "ap-southeast-2", - "UseDualStack": false + "UseFIPS": false } }, { @@ -1406,9 +1406,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "us-iso-east-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -1419,9 +1419,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "us-iso-east-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -1430,9 +1430,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "us-iso-east-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -1443,9 +1443,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "us-iso-east-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -1456,9 +1456,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "ap-southeast-3", - "UseDualStack": true + "UseFIPS": true } }, { @@ -1469,9 +1469,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "ap-southeast-3", - "UseDualStack": false + "UseFIPS": true } }, { @@ -1482,9 +1482,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "ap-southeast-3", - "UseDualStack": true + "UseFIPS": false } }, { @@ -1495,9 +1495,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "ap-southeast-3", - "UseDualStack": false + "UseFIPS": false } }, { @@ -1508,9 +1508,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "ap-southeast-4", - "UseDualStack": true + "UseFIPS": true } }, { @@ -1521,9 +1521,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "ap-southeast-4", - "UseDualStack": false + "UseFIPS": true } }, { @@ -1534,9 +1534,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "ap-southeast-4", - "UseDualStack": true + "UseFIPS": false } }, { @@ -1547,9 +1547,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "ap-southeast-4", - "UseDualStack": false + "UseFIPS": false } }, { @@ -1560,9 +1560,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "us-east-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -1573,9 +1573,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "us-east-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -1586,9 +1586,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "us-east-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -1599,9 +1599,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "us-east-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -1612,9 +1612,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "us-east-2", - "UseDualStack": true + "UseFIPS": true } }, { @@ -1625,9 +1625,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "us-east-2", - "UseDualStack": false + "UseFIPS": true } }, { @@ -1638,9 +1638,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "us-east-2", - "UseDualStack": true + "UseFIPS": false } }, { @@ -1651,9 +1651,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "us-east-2", - "UseDualStack": false + "UseFIPS": false } }, { @@ -1664,9 +1664,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "cn-northwest-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -1677,9 +1677,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "cn-northwest-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -1690,9 +1690,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "cn-northwest-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -1703,9 +1703,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "cn-northwest-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -1714,9 +1714,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "us-isob-east-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -1727,9 +1727,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "us-isob-east-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -1738,9 +1738,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "us-isob-east-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -1751,9 +1751,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "us-isob-east-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -1764,9 +1764,9 @@ } }, "params": { - "UseFIPS": false, - "Region": "us-east-1", "UseDualStack": false, + "Region": "us-east-1", + "UseFIPS": false, "Endpoint": "https://example.com" } }, @@ -1776,9 +1776,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseFIPS": true, - "Region": "us-east-1", "UseDualStack": false, + "Region": "us-east-1", + "UseFIPS": true, "Endpoint": "https://example.com" } }, @@ -1788,9 +1788,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseFIPS": false, - "Region": "us-east-1", "UseDualStack": true, + "Region": "us-east-1", + "UseFIPS": false, "Endpoint": "https://example.com" } } diff --git a/models/apis/lambda/2015-03-31/waiters-2.json b/models/apis/lambda/2015-03-31/waiters-2.json index b4c18f64310..86e24b0cb91 100644 --- a/models/apis/lambda/2015-03-31/waiters-2.json +++ b/models/apis/lambda/2015-03-31/waiters-2.json @@ -121,6 +121,32 @@ "expected": "InProgress" } ] + }, + "PublishedVersionActive": { + "delay": 5, + "maxAttempts": 312, + "operation": "GetFunctionConfiguration", + "description": "Waits for the published version's State to be Active. This waiter uses GetFunctionConfiguration API. This should be used after new version is published.", + "acceptors": [ + { + "state": "success", + "matcher": "path", + "argument": "State", + "expected": "Active" + }, + { + "state": "failure", + "matcher": "path", + "argument": "State", + "expected": "Failed" + }, + { + "state": "retry", + "matcher": "path", + "argument": "State", + "expected": "Pending" + } + ] } } } diff --git a/models/apis/license-manager-user-subscriptions/2018-05-10/api-2.json b/models/apis/license-manager-user-subscriptions/2018-05-10/api-2.json index cede87ffbd6..70389cb4f48 100644 --- a/models/apis/license-manager-user-subscriptions/2018-05-10/api-2.json +++ b/models/apis/license-manager-user-subscriptions/2018-05-10/api-2.json @@ -205,6 +205,23 @@ {"shape":"ResourceNotFoundException"}, {"shape":"AccessDeniedException"} ] + }, + "UpdateIdentityProviderSettings":{ + "name":"UpdateIdentityProviderSettings", + "http":{ + "method":"POST", + "requestUri":"/identity-provider/UpdateIdentityProviderSettings", + "responseCode":200 + }, + "input":{"shape":"UpdateIdentityProviderSettingsRequest"}, + "output":{"shape":"UpdateIdentityProviderSettingsResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServerException"}, + {"shape":"AccessDeniedException"} + ], + "idempotent":true } }, "shapes":{ @@ -317,12 +334,14 @@ "required":[ "IdentityProvider", "Product", + "Settings", "Status" ], "members":{ "FailureMessage":{"shape":"String"}, "IdentityProvider":{"shape":"IdentityProvider"}, "Product":{"shape":"String"}, + "Settings":{"shape":"Settings"}, "Status":{"shape":"String"} } }, @@ -483,7 +502,8 @@ ], "members":{ "IdentityProvider":{"shape":"IdentityProvider"}, - "Product":{"shape":"String"} + "Product":{"shape":"String"}, + "Settings":{"shape":"Settings"} } }, "RegisterIdentityProviderResponse":{ @@ -504,6 +524,12 @@ }, "exception":true }, + "SecurityGroup":{ + "type":"string", + "max":200, + "min":5, + "pattern":"^sg-(([0-9a-z]{8})|([0-9a-z]{17}))$" + }, "ServiceQuotaExceededException":{ "type":"structure", "members":{ @@ -511,6 +537,22 @@ }, "exception":true }, + "Settings":{ + "type":"structure", + "required":[ + "SecurityGroupId", + "Subnets" + ], + "members":{ + "SecurityGroupId":{"shape":"SecurityGroup"}, + "Subnets":{"shape":"SettingsSubnetsList"} + } + }, + "SettingsSubnetsList":{ + "type":"list", + "member":{"shape":"Subnet"}, + "min":1 + }, "StartProductSubscriptionRequest":{ "type":"structure", "required":[ @@ -558,6 +600,14 @@ "type":"list", "member":{"shape":"String"} }, + "Subnet":{ + "type":"string", + "pattern":"subnet-[a-z0-9]{8,17}" + }, + "Subnets":{ + "type":"list", + "member":{"shape":"Subnet"} + }, "ThrottlingException":{ "type":"structure", "members":{ @@ -565,6 +615,38 @@ }, "exception":true }, + "UpdateIdentityProviderSettingsRequest":{ + "type":"structure", + "required":[ + "IdentityProvider", + "Product", + "UpdateSettings" + ], + "members":{ + "IdentityProvider":{"shape":"IdentityProvider"}, + "Product":{"shape":"String"}, + "UpdateSettings":{"shape":"UpdateSettings"} + } + }, + "UpdateIdentityProviderSettingsResponse":{ + "type":"structure", + "required":["IdentityProviderSummary"], + "members":{ + "IdentityProviderSummary":{"shape":"IdentityProviderSummary"} + } + }, + "UpdateSettings":{ + "type":"structure", + "required":[ + "AddSubnets", + "RemoveSubnets" + ], + "members":{ + "AddSubnets":{"shape":"Subnets"}, + "RemoveSubnets":{"shape":"Subnets"}, + "SecurityGroupId":{"shape":"SecurityGroup"} + } + }, "ValidationException":{ "type":"structure", "members":{ diff --git a/models/apis/license-manager-user-subscriptions/2018-05-10/docs-2.json b/models/apis/license-manager-user-subscriptions/2018-05-10/docs-2.json index 45c72c00d18..72ef60ecae9 100644 --- a/models/apis/license-manager-user-subscriptions/2018-05-10/docs-2.json +++ b/models/apis/license-manager-user-subscriptions/2018-05-10/docs-2.json @@ -2,7 +2,7 @@ "version": "2.0", "service": "

With License Manager, you can create user-based subscriptions to utilize licensed software with a per user subscription fee on Amazon EC2 instances.

", "operations": { - "AssociateUser": "

Associates the user to an EC2 instance to utilize user-based subscriptions.

", + "AssociateUser": "

Associates the user to an EC2 instance to utilize user-based subscriptions.

Your estimated bill for charges on the number of users and related costs will take 48 hours to appear for billing periods that haven't closed (marked as Pending billing status) in Amazon Web Services Billing. For more information, see Viewing your monthly charges in the Amazon Web Services Billing User Guide.

", "DeregisterIdentityProvider": "

Deregisters the identity provider from providing user-based subscriptions.

", "DisassociateUser": "

Disassociates the user from an EC2 instance providing user-based subscriptions.

", "ListIdentityProviders": "

Lists the identity providers for user-based subscriptions.

", @@ -10,8 +10,9 @@ "ListProductSubscriptions": "

Lists the user-based subscription products available from an identity provider.

", "ListUserAssociations": "

Lists user associations for an identity provider.

", "RegisterIdentityProvider": "

Registers an identity provider for user-based subscriptions.

", - "StartProductSubscription": "

Starts a product subscription for a user with the specified identity provider.

", - "StopProductSubscription": "

Stops a product subscription for a user with the specified identity provider.

" + "StartProductSubscription": "

Starts a product subscription for a user with the specified identity provider.

Your estimated bill for charges on the number of users and related costs will take 48 hours to appear for billing periods that haven't closed (marked as Pending billing status) in Amazon Web Services Billing. For more information, see Viewing your monthly charges in the Amazon Web Services Billing User Guide.

", + "StopProductSubscription": "

Stops a product subscription for a user with the specified identity provider.

", + "UpdateIdentityProviderSettings": "

Updates additional product configuration settings for the registered identity provider.

" }, "shapes": { "AccessDeniedException": { @@ -96,7 +97,8 @@ "ProductUserSummary$IdentityProvider": "

An object that specifies details for the identity provider.

", "RegisterIdentityProviderRequest$IdentityProvider": "

An object that specifies details for the identity provider.

", "StartProductSubscriptionRequest$IdentityProvider": "

An object that specifies details for the identity provider.

", - "StopProductSubscriptionRequest$IdentityProvider": "

An object that specifies details for the identity provider.

" + "StopProductSubscriptionRequest$IdentityProvider": "

An object that specifies details for the identity provider.

", + "UpdateIdentityProviderSettingsRequest$IdentityProvider": null } }, "IdentityProviderSummary": { @@ -104,7 +106,8 @@ "refs": { "DeregisterIdentityProviderResponse$IdentityProviderSummary": "

Metadata that describes the results of an identity provider operation.

", "IdentityProviderSummaryList$member": null, - "RegisterIdentityProviderResponse$IdentityProviderSummary": "

Metadata that describes the results of an identity provider operation.

" + "RegisterIdentityProviderResponse$IdentityProviderSummary": "

Metadata that describes the results of an identity provider operation.

", + "UpdateIdentityProviderSettingsResponse$IdentityProviderSummary": null } }, "IdentityProviderSummaryList": { @@ -213,11 +216,31 @@ "refs": { } }, + "SecurityGroup": { + "base": null, + "refs": { + "Settings$SecurityGroupId": "

A security group ID that allows inbound TCP port 1688 communication between resources in your VPC and the VPC endpoint for activation servers.

", + "UpdateSettings$SecurityGroupId": "

A security group ID that allows inbound TCP port 1688 communication between resources in your VPC and the VPC endpoints for activation servers.

" + } + }, "ServiceQuotaExceededException": { "base": "

The request failed because a service quota is exceeded.

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

The registered identity provider’s product related configuration settings such as the subnets to provision VPC endpoints, and the security group ID that is associated with the VPC endpoints. The security group should permit inbound TCP port 1688 communication from resources in the VPC.

", + "refs": { + "IdentityProviderSummary$Settings": "

An object that details the registered identity provider’s product related configuration settings such as the subnets to provision VPC endpoints.

", + "RegisterIdentityProviderRequest$Settings": "

The registered identity provider’s product related configuration settings such as the subnets to provision VPC endpoints.

" + } + }, + "SettingsSubnetsList": { + "base": null, + "refs": { + "Settings$Subnets": "

The subnets defined for the registered identity provider.

" + } + }, "StartProductSubscriptionRequest": { "base": null, "refs": { @@ -297,6 +320,7 @@ "StopProductSubscriptionRequest$Username": "

The user name from the identity provider for the user.

", "StringList$member": null, "ThrottlingException$message": null, + "UpdateIdentityProviderSettingsRequest$Product": "

The name of the user-based subscription product.

", "ValidationException$message": null } }, @@ -306,11 +330,41 @@ "InstanceSummary$Products": "

A list of provided user-based subscription products.

" } }, + "Subnet": { + "base": null, + "refs": { + "SettingsSubnetsList$member": null, + "Subnets$member": null + } + }, + "Subnets": { + "base": null, + "refs": { + "UpdateSettings$AddSubnets": "

The ID of one or more subnets in which License Manager will create a VPC endpoint for products that require connectivity to activation servers.

", + "UpdateSettings$RemoveSubnets": "

The ID of one or more subnets to remove.

" + } + }, "ThrottlingException": { "base": "

The request was denied because of request throttling. Retry the request.

", "refs": { } }, + "UpdateIdentityProviderSettingsRequest": { + "base": null, + "refs": { + } + }, + "UpdateIdentityProviderSettingsResponse": { + "base": null, + "refs": { + } + }, + "UpdateSettings": { + "base": "

Updates the registered identity provider’s product related configuration settings such as the subnets to provision VPC endpoints.

", + "refs": { + "UpdateIdentityProviderSettingsRequest$UpdateSettings": "

Updates the registered identity provider’s product related configuration settings. You can update any combination of settings in a single operation such as the:

" + } + }, "ValidationException": { "base": "

A parameter is not valid.

", "refs": { diff --git a/models/apis/license-manager-user-subscriptions/2018-05-10/endpoint-rule-set-1.json b/models/apis/license-manager-user-subscriptions/2018-05-10/endpoint-rule-set-1.json new file mode 100644 index 00000000000..cce231cf0fc --- /dev/null +++ b/models/apis/license-manager-user-subscriptions/2018-05-10/endpoint-rule-set-1.json @@ -0,0 +1,309 @@ +{ + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + }, + { + "fn": "parseURL", + "argv": [ + { + "ref": "Endpoint" + } + ], + "assign": "url" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://license-manager-user-subscriptions.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://license-manager-user-subscriptions.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] +} \ No newline at end of file diff --git a/models/apis/license-manager-user-subscriptions/2018-05-10/endpoint-tests-1.json b/models/apis/license-manager-user-subscriptions/2018-05-10/endpoint-tests-1.json new file mode 100644 index 00000000000..0a5ca591c98 --- /dev/null +++ b/models/apis/license-manager-user-subscriptions/2018-05-10/endpoint-tests-1.json @@ -0,0 +1,1135 @@ +{ + "testCases": [ + { + "documentation": "For region ap-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.ap-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.ap-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.ap-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.ap-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.eu-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.eu-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.eu-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.eu-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.ca-central-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ca-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.ca-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ca-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.ca-central-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ca-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.ca-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ca-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.eu-central-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.eu-central-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.us-west-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.us-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.us-west-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.us-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.us-west-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.us-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.us-west-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.us-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region af-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.af-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "af-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region af-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.af-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "af-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.af-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "af-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.af-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "af-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.eu-north-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-north-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.eu-north-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-north-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.eu-north-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-north-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.eu-north-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-north-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.eu-west-3.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-3", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.eu-west-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-3", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.eu-west-3.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-3", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.eu-west-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-3", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.eu-west-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.eu-west-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.eu-west-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.eu-west-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.ap-northeast-3.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-3", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.ap-northeast-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-3", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.ap-northeast-3.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-3", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.ap-northeast-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-3", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.ap-northeast-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.ap-northeast-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.ap-northeast-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.ap-northeast-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region me-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.me-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "me-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region me-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.me-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "me-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region me-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.me-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "me-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.me-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "me-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region sa-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.sa-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "sa-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region sa-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.sa-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "sa-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region sa-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.sa-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "sa-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.sa-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "sa-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.ap-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.ap-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.ap-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.ap-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.ap-southeast-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.ap-southeast-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.ap-southeast-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.ap-southeast-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.us-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.us-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.us-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.us-east-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions-fips.us-east-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-2", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.us-east-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-user-subscriptions.us-east-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-2", + "UseDualStack": false + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": true, + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" +} \ No newline at end of file diff --git a/models/apis/macie2/2020-01-01/api-2.json b/models/apis/macie2/2020-01-01/api-2.json index ec6ca02655d..b067ebb89b1 100644 --- a/models/apis/macie2/2020-01-01/api-2.json +++ b/models/apis/macie2/2020-01-01/api-2.json @@ -998,6 +998,34 @@ } ] }, + "GetAutomatedDiscoveryConfiguration": { + "name": "GetAutomatedDiscoveryConfiguration", + "http": { + "method": "GET", + "requestUri": "/automated-discovery/configuration", + "responseCode": 200 + }, + "input": { + "shape": "GetAutomatedDiscoveryConfigurationRequest" + }, + "output": { + "shape": "GetAutomatedDiscoveryConfigurationResponse" + }, + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + } + ] + }, "GetBucketStatistics": { "name": "GetBucketStatistics", "http": { @@ -1072,6 +1100,37 @@ } ] }, + "GetClassificationScope": { + "name": "GetClassificationScope", + "http": { + "method": "GET", + "requestUri": "/classification-scopes/{id}", + "responseCode": 200 + }, + "input": { + "shape": "GetClassificationScopeRequest" + }, + "output": { + "shape": "GetClassificationScopeResponse" + }, + "errors": [ + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + } + ] + }, "GetCustomDataIdentifier": { "name": "GetCustomDataIdentifier", "http": { @@ -1405,6 +1464,40 @@ } ] }, + "GetResourceProfile": { + "name": "GetResourceProfile", + "http": { + "method": "GET", + "requestUri": "/resource-profiles", + "responseCode": 200 + }, + "input": { + "shape": "GetResourceProfileRequest" + }, + "output": { + "shape": "GetResourceProfileResponse" + }, + "errors": [ + { + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ServiceQuotaExceededException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ThrottlingException" + } + ] + }, "GetRevealConfiguration": { "name": "GetRevealConfiguration", "http": { @@ -1495,6 +1588,37 @@ } ] }, + "GetSensitivityInspectionTemplate": { + "name": "GetSensitivityInspectionTemplate", + "http": { + "method": "GET", + "requestUri": "/templates/sensitivity-inspections/{id}", + "responseCode": 200 + }, + "input": { + "shape": "GetSensitivityInspectionTemplateRequest" + }, + "output": { + "shape": "GetSensitivityInspectionTemplateResponse" + }, + "errors": [ + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + } + ] + }, "GetUsageStatistics": { "name": "GetUsageStatistics", "http": { @@ -1634,6 +1758,34 @@ } ] }, + "ListClassificationScopes": { + "name": "ListClassificationScopes", + "http": { + "method": "GET", + "requestUri": "/classification-scopes", + "responseCode": 200 + }, + "input": { + "shape": "ListClassificationScopesRequest" + }, + "output": { + "shape": "ListClassificationScopesResponse" + }, + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + } + ] + }, "ListCustomDataIdentifiers": { "name": "ListCustomDataIdentifiers", "http": { @@ -1871,6 +2023,102 @@ } ] }, + "ListResourceProfileArtifacts": { + "name": "ListResourceProfileArtifacts", + "http": { + "method": "GET", + "requestUri": "/resource-profiles/artifacts", + "responseCode": 200 + }, + "input": { + "shape": "ListResourceProfileArtifactsRequest" + }, + "output": { + "shape": "ListResourceProfileArtifactsResponse" + }, + "errors": [ + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + } + ] + }, + "ListResourceProfileDetections": { + "name": "ListResourceProfileDetections", + "http": { + "method": "GET", + "requestUri": "/resource-profiles/detections", + "responseCode": 200 + }, + "input": { + "shape": "ListResourceProfileDetectionsRequest" + }, + "output": { + "shape": "ListResourceProfileDetectionsResponse" + }, + "errors": [ + { + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ServiceQuotaExceededException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ThrottlingException" + } + ] + }, + "ListSensitivityInspectionTemplates": { + "name": "ListSensitivityInspectionTemplates", + "http": { + "method": "GET", + "requestUri": "/templates/sensitivity-inspections", + "responseCode": 200 + }, + "input": { + "shape": "ListSensitivityInspectionTemplatesRequest" + }, + "output": { + "shape": "ListSensitivityInspectionTemplatesResponse" + }, + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ServiceQuotaExceededException" + }, + { + "shape": "AccessDeniedException" + } + ] + }, "ListTagsForResource": { "name": "ListTagsForResource", "http": { @@ -2095,6 +2343,34 @@ } ] }, + "UpdateAutomatedDiscoveryConfiguration": { + "name": "UpdateAutomatedDiscoveryConfiguration", + "http": { + "method": "PUT", + "requestUri": "/automated-discovery/configuration", + "responseCode": 200 + }, + "input": { + "shape": "UpdateAutomatedDiscoveryConfigurationRequest" + }, + "output": { + "shape": "UpdateAutomatedDiscoveryConfigurationResponse" + }, + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + } + ] + }, "UpdateClassificationJob": { "name": "UpdateClassificationJob", "http": { @@ -2132,6 +2408,37 @@ } ] }, + "UpdateClassificationScope": { + "name": "UpdateClassificationScope", + "http": { + "method": "PATCH", + "requestUri": "/classification-scopes/{id}", + "responseCode": 200 + }, + "input": { + "shape": "UpdateClassificationScopeRequest" + }, + "output": { + "shape": "UpdateClassificationScopeResponse" + }, + "errors": [ + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + } + ] + }, "UpdateFindingsFilter": { "name": "UpdateFindingsFilter", "http": { @@ -2280,6 +2587,74 @@ } ] }, + "UpdateResourceProfile": { + "name": "UpdateResourceProfile", + "http": { + "method": "PATCH", + "requestUri": "/resource-profiles", + "responseCode": 200 + }, + "input": { + "shape": "UpdateResourceProfileRequest" + }, + "output": { + "shape": "UpdateResourceProfileResponse" + }, + "errors": [ + { + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ServiceQuotaExceededException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ThrottlingException" + } + ] + }, + "UpdateResourceProfileDetections": { + "name": "UpdateResourceProfileDetections", + "http": { + "method": "PATCH", + "requestUri": "/resource-profiles/detections", + "responseCode": 200 + }, + "input": { + "shape": "UpdateResourceProfileDetectionsRequest" + }, + "output": { + "shape": "UpdateResourceProfileDetectionsResponse" + }, + "errors": [ + { + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ServiceQuotaExceededException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ThrottlingException" + } + ] + }, "UpdateRevealConfiguration": { "name": "UpdateRevealConfiguration", "http": { @@ -2307,6 +2682,37 @@ "shape": "AccessDeniedException" } ] + }, + "UpdateSensitivityInspectionTemplate": { + "name": "UpdateSensitivityInspectionTemplate", + "http": { + "method": "PUT", + "requestUri": "/templates/sensitivity-inspections/{id}", + "responseCode": 200 + }, + "input": { + "shape": "UpdateSensitivityInspectionTemplateRequest" + }, + "output": { + "shape": "UpdateSensitivityInspectionTemplateResponse" + }, + "errors": [ + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + } + ] } }, "shapes": { @@ -2531,6 +2937,13 @@ } } }, + "AutomatedDiscoveryStatus": { + "type": "string", + "enum": [ + "ENABLED", + "DISABLED" + ] + }, "AvailabilityCode": { "type": "string", "enum": [ @@ -2814,6 +3227,10 @@ "shape": "JobDetails", "locationName": "jobDetails" }, + "lastAutomatedDiscoveryTime": { + "shape": "__timestampIso8601", + "locationName": "lastAutomatedDiscoveryTime" + }, "lastUpdated": { "shape": "__timestampIso8601", "locationName": "lastUpdated" @@ -2838,6 +3255,10 @@ "shape": "ReplicationDetails", "locationName": "replicationDetails" }, + "sensitivityScore": { + "shape": "__integer", + "locationName": "sensitivityScore" + }, "serverSideEncryption": { "shape": "BucketServerSideEncryption", "locationName": "serverSideEncryption" @@ -2943,6 +3364,27 @@ } } }, + "BucketStatisticsBySensitivity": { + "type": "structure", + "members": { + "classificationError": { + "shape": "SensitivityAggregations", + "locationName": "classificationError" + }, + "notClassified": { + "shape": "SensitivityAggregations", + "locationName": "notClassified" + }, + "notSensitive": { + "shape": "SensitivityAggregations", + "locationName": "notSensitive" + }, + "sensitive": { + "shape": "SensitivityAggregations", + "locationName": "sensitive" + } + } + }, "Cell": { "type": "structure", "members": { @@ -3046,6 +3488,35 @@ } } }, + "ClassificationScopeId": { + "type": "string", + "pattern": "^[0-9a-z]*$" + }, + "ClassificationScopeName": { + "type": "string", + "pattern": "^[0-9a-zA-Z_\\\\-]*$" + }, + "ClassificationScopeSummary": { + "type": "structure", + "members": { + "id": { + "shape": "ClassificationScopeId", + "locationName": "id" + }, + "name": { + "shape": "ClassificationScopeName", + "locationName": "name" + } + } + }, + "ClassificationScopeUpdateOperation": { + "type": "string", + "enum": [ + "ADD", + "REPLACE", + "REMOVE" + ] + }, "ConflictException": { "type": "structure", "members": { @@ -3501,6 +3972,13 @@ "HIGH" ] }, + "DataIdentifierType": { + "type": "string", + "enum": [ + "CUSTOM", + "MANAGED" + ] + }, "DayOfWeek": { "type": "string", "enum": [ @@ -3817,6 +4295,35 @@ "value" ] }, + "Detection": { + "type": "structure", + "members": { + "arn": { + "shape": "__string", + "locationName": "arn" + }, + "count": { + "shape": "__long", + "locationName": "count" + }, + "id": { + "shape": "__string", + "locationName": "id" + }, + "name": { + "shape": "__string", + "locationName": "name" + }, + "suppressed": { + "shape": "__boolean", + "locationName": "suppressed" + }, + "type": { + "shape": "DataIdentifierType", + "locationName": "type" + } + } + }, "DisableMacieRequest": { "type": "structure", "members": {} @@ -4245,9 +4752,42 @@ "shape": "TagMap", "locationName": "tags" }, - "updatedAt": { - "shape": "__timestampIso8601", - "locationName": "updatedAt" + "updatedAt": { + "shape": "__timestampIso8601", + "locationName": "updatedAt" + } + } + }, + "GetAutomatedDiscoveryConfigurationRequest": { + "type": "structure", + "members": {} + }, + "GetAutomatedDiscoveryConfigurationResponse": { + "type": "structure", + "members": { + "classificationScopeId": { + "shape": "ClassificationScopeId", + "locationName": "classificationScopeId" + }, + "disabledAt": { + "shape": "Timestamp", + "locationName": "disabledAt" + }, + "firstEnabledAt": { + "shape": "Timestamp", + "locationName": "firstEnabledAt" + }, + "lastUpdatedAt": { + "shape": "Timestamp", + "locationName": "lastUpdatedAt" + }, + "sensitivityInspectionTemplateId": { + "shape": "SensitivityInspectionTemplateId", + "locationName": "sensitivityInspectionTemplateId" + }, + "status": { + "shape": "AutomatedDiscoveryStatus", + "locationName": "status" } } }, @@ -4283,6 +4823,10 @@ "shape": "BucketCountBySharedAccessType", "locationName": "bucketCountBySharedAccessType" }, + "bucketStatisticsBySensitivity": { + "shape": "BucketStatisticsBySensitivity", + "locationName": "bucketStatisticsBySensitivity" + }, "classifiableObjectCount": { "shape": "__long", "locationName": "classifiableObjectCount" @@ -4330,6 +4874,36 @@ } } }, + "GetClassificationScopeRequest": { + "type": "structure", + "members": { + "id": { + "shape": "__string", + "location": "uri", + "locationName": "id" + } + }, + "required": [ + "id" + ] + }, + "GetClassificationScopeResponse": { + "type": "structure", + "members": { + "id": { + "shape": "ClassificationScopeId", + "locationName": "id" + }, + "name": { + "shape": "ClassificationScopeName", + "locationName": "name" + }, + "s3": { + "shape": "S3ClassificationScope", + "locationName": "s3" + } + } + }, "GetCustomDataIdentifierRequest": { "type": "structure", "members": { @@ -4626,6 +5200,40 @@ } } }, + "GetResourceProfileRequest": { + "type": "structure", + "members": { + "resourceArn": { + "shape": "__string", + "location": "querystring", + "locationName": "resourceArn" + } + }, + "required": [ + "resourceArn" + ] + }, + "GetResourceProfileResponse": { + "type": "structure", + "members": { + "profileUpdatedAt": { + "shape": "__timestampIso8601", + "locationName": "profileUpdatedAt" + }, + "sensitivityScore": { + "shape": "__integer", + "locationName": "sensitivityScore" + }, + "sensitivityScoreOverridden": { + "shape": "__boolean", + "locationName": "sensitivityScoreOverridden" + }, + "statistics": { + "shape": "ResourceStatistics", + "locationName": "statistics" + } + } + }, "GetRevealConfigurationRequest": { "type": "structure", "members": {} @@ -4695,6 +5303,44 @@ } } }, + "GetSensitivityInspectionTemplateRequest": { + "type": "structure", + "members": { + "id": { + "shape": "__string", + "location": "uri", + "locationName": "id" + } + }, + "required": [ + "id" + ] + }, + "GetSensitivityInspectionTemplateResponse": { + "type": "structure", + "members": { + "description": { + "shape": "__string", + "locationName": "description" + }, + "excludes": { + "shape": "SensitivityInspectionTemplateExcludes", + "locationName": "excludes" + }, + "includes": { + "shape": "SensitivityInspectionTemplateIncludes", + "locationName": "includes" + }, + "name": { + "shape": "__string", + "locationName": "name" + }, + "sensitivityInspectionTemplateId": { + "shape": "SensitivityInspectionTemplateId", + "locationName": "sensitivityInspectionTemplateId" + } + } + }, "GetUsageStatisticsRequest": { "type": "structure", "members": { @@ -5021,6 +5667,10 @@ "JobSummary": { "type": "structure", "members": { + "bucketCriteria": { + "shape": "S3BucketCriteriaForJob", + "locationName": "bucketCriteria" + }, "bucketDefinitions": { "shape": "__listOfS3BucketDefinitionForJob", "locationName": "bucketDefinitions" @@ -5052,10 +5702,6 @@ "userPausedDetails": { "shape": "UserPausedDetails", "locationName": "userPausedDetails" - }, - "bucketCriteria": { - "shape": "S3BucketCriteriaForJob", - "locationName": "bucketCriteria" } } }, @@ -5163,6 +5809,34 @@ } } }, + "ListClassificationScopesRequest": { + "type": "structure", + "members": { + "name": { + "shape": "__string", + "location": "querystring", + "locationName": "name" + }, + "nextToken": { + "shape": "__string", + "location": "querystring", + "locationName": "nextToken" + } + } + }, + "ListClassificationScopesResponse": { + "type": "structure", + "members": { + "classificationScopes": { + "shape": "__listOfClassificationScopeSummary", + "locationName": "classificationScopes" + }, + "nextToken": { + "shape": "NextToken", + "locationName": "nextToken" + } + } + }, "ListCustomDataIdentifiersRequest": { "type": "structure", "members": { @@ -5423,6 +6097,101 @@ } } }, + "ListResourceProfileArtifactsRequest": { + "type": "structure", + "members": { + "nextToken": { + "shape": "__string", + "location": "querystring", + "locationName": "nextToken" + }, + "resourceArn": { + "shape": "__string", + "location": "querystring", + "locationName": "resourceArn" + } + }, + "required": [ + "resourceArn" + ] + }, + "ListResourceProfileArtifactsResponse": { + "type": "structure", + "members": { + "artifacts": { + "shape": "__listOfResourceProfileArtifact", + "locationName": "artifacts" + }, + "nextToken": { + "shape": "__string", + "locationName": "nextToken" + } + } + }, + "ListResourceProfileDetectionsRequest": { + "type": "structure", + "members": { + "maxResults": { + "shape": "MaxResults", + "location": "querystring", + "locationName": "maxResults" + }, + "nextToken": { + "shape": "__string", + "location": "querystring", + "locationName": "nextToken" + }, + "resourceArn": { + "shape": "__string", + "location": "querystring", + "locationName": "resourceArn" + } + }, + "required": [ + "resourceArn" + ] + }, + "ListResourceProfileDetectionsResponse": { + "type": "structure", + "members": { + "detections": { + "shape": "__listOfDetection", + "locationName": "detections" + }, + "nextToken": { + "shape": "__string", + "locationName": "nextToken" + } + } + }, + "ListSensitivityInspectionTemplatesRequest": { + "type": "structure", + "members": { + "maxResults": { + "shape": "MaxResults", + "location": "querystring", + "locationName": "maxResults" + }, + "nextToken": { + "shape": "__string", + "location": "querystring", + "locationName": "nextToken" + } + } + }, + "ListSensitivityInspectionTemplatesResponse": { + "type": "structure", + "members": { + "nextToken": { + "shape": "__string", + "locationName": "nextToken" + }, + "sensitivityInspectionTemplates": { + "shape": "__listOfSensitivityInspectionTemplatesEntry", + "locationName": "sensitivityInspectionTemplates" + } + } + }, "ListTagsForResourceRequest": { "type": "structure", "members": { @@ -5505,6 +6274,10 @@ "shape": "JobDetails", "locationName": "jobDetails" }, + "lastAutomatedDiscoveryTime": { + "shape": "__timestampIso8601", + "locationName": "lastAutomatedDiscoveryTime" + }, "objectCount": { "shape": "__long", "locationName": "objectCount" @@ -5513,6 +6286,10 @@ "shape": "ObjectCountByEncryptionType", "locationName": "objectCountByEncryptionType" }, + "sensitivityScore": { + "shape": "__integer", + "locationName": "sensitivityScore" + }, "sizeInBytes": { "shape": "__long", "locationName": "sizeInBytes" @@ -5595,6 +6372,10 @@ } } }, + "NextToken": { + "type": "string", + "pattern": "^.*$" + }, "ObjectCountByEncryptionType": { "type": "structure", "members": { @@ -5672,7 +6453,8 @@ "OriginType": { "type": "string", "enum": [ - "SENSITIVE_DATA_DISCOVERY_JOB" + "SENSITIVE_DATA_DISCOVERY_JOB", + "AUTOMATED_SENSITIVE_DATA_DISCOVERY" ] }, "Page": { @@ -5814,27 +6596,89 @@ "shape": "__boolean", "locationName": "replicated" }, - "replicatedExternally": { - "shape": "__boolean", - "locationName": "replicatedExternally" + "replicatedExternally": { + "shape": "__boolean", + "locationName": "replicatedExternally" + }, + "replicationAccounts": { + "shape": "__listOf__string", + "locationName": "replicationAccounts" + } + } + }, + "ResourceNotFoundException": { + "type": "structure", + "members": { + "message": { + "shape": "__string", + "locationName": "message" + } + }, + "exception": true, + "error": { + "httpStatusCode": 404 + } + }, + "ResourceProfileArtifact": { + "type": "structure", + "members": { + "arn": { + "shape": "__string", + "locationName": "arn" + }, + "classificationResultStatus": { + "shape": "__string", + "locationName": "classificationResultStatus" + }, + "sensitive": { + "shape": "__boolean", + "locationName": "sensitive" + } + }, + "required": [ + "classificationResultStatus", + "arn" + ] + }, + "ResourceStatistics": { + "type": "structure", + "members": { + "totalBytesClassified": { + "shape": "__long", + "locationName": "totalBytesClassified" + }, + "totalDetections": { + "shape": "__long", + "locationName": "totalDetections" + }, + "totalDetectionsSuppressed": { + "shape": "__long", + "locationName": "totalDetectionsSuppressed" + }, + "totalItemsClassified": { + "shape": "__long", + "locationName": "totalItemsClassified" + }, + "totalItemsSensitive": { + "shape": "__long", + "locationName": "totalItemsSensitive" + }, + "totalItemsSkipped": { + "shape": "__long", + "locationName": "totalItemsSkipped" + }, + "totalItemsSkippedInvalidEncryption": { + "shape": "__long", + "locationName": "totalItemsSkippedInvalidEncryption" + }, + "totalItemsSkippedInvalidKms": { + "shape": "__long", + "locationName": "totalItemsSkippedInvalidKms" }, - "replicationAccounts": { - "shape": "__listOf__string", - "locationName": "replicationAccounts" - } - } - }, - "ResourceNotFoundException": { - "type": "structure", - "members": { - "message": { - "shape": "__string", - "locationName": "message" + "totalItemsSkippedPermissionDenied": { + "shape": "__long", + "locationName": "totalItemsSkippedPermissionDenied" } - }, - "exception": true, - "error": { - "httpStatusCode": 404 } }, "ResourcesAffected": { @@ -5948,6 +6792,10 @@ "buckets" ] }, + "S3BucketName": { + "type": "string", + "pattern": "^[A-Za-z0-9.\\-_]{3,255}$" + }, "S3BucketOwner": { "type": "structure", "members": { @@ -5961,6 +6809,59 @@ } } }, + "S3ClassificationScope": { + "type": "structure", + "members": { + "excludes": { + "shape": "S3ClassificationScopeExclusion", + "locationName": "excludes" + } + }, + "required": [ + "excludes" + ] + }, + "S3ClassificationScopeExclusion": { + "type": "structure", + "members": { + "bucketNames": { + "shape": "__listOfS3BucketName", + "locationName": "bucketNames" + } + }, + "required": [ + "bucketNames" + ] + }, + "S3ClassificationScopeExclusionUpdate": { + "type": "structure", + "members": { + "bucketNames": { + "shape": "__listOfS3BucketName", + "locationName": "bucketNames" + }, + "operation": { + "shape": "ClassificationScopeUpdateOperation", + "locationName": "operation" + } + }, + "required": [ + "bucketNames", + "operation" + ] + }, + "S3ClassificationScopeUpdate": { + "type": "structure", + "members": { + "excludes": { + "shape": "S3ClassificationScopeExclusionUpdate", + "locationName": "excludes" + } + }, + "required": [ + "excludes" + ] + }, "S3Destination": { "type": "structure", "members": { @@ -5985,6 +6886,10 @@ "S3JobDefinition": { "type": "structure", "members": { + "bucketCriteria": { + "shape": "S3BucketCriteriaForJob", + "locationName": "bucketCriteria" + }, "bucketDefinitions": { "shape": "__listOfS3BucketDefinitionForJob", "locationName": "bucketDefinitions" @@ -5992,10 +6897,6 @@ "scoping": { "shape": "Scoping", "locationName": "scoping" - }, - "bucketCriteria": { - "shape": "S3BucketCriteriaForJob", - "locationName": "bucketCriteria" } } }, @@ -6299,6 +7200,69 @@ "shape": "__listOfDetectedDataDetails" } }, + "SensitivityAggregations": { + "type": "structure", + "members": { + "classifiableSizeInBytes": { + "shape": "__long", + "locationName": "classifiableSizeInBytes" + }, + "publiclyAccessibleCount": { + "shape": "__long", + "locationName": "publiclyAccessibleCount" + }, + "totalCount": { + "shape": "__long", + "locationName": "totalCount" + }, + "totalSizeInBytes": { + "shape": "__long", + "locationName": "totalSizeInBytes" + } + } + }, + "SensitivityInspectionTemplateExcludes": { + "type": "structure", + "members": { + "managedDataIdentifierIds": { + "shape": "__listOf__string", + "locationName": "managedDataIdentifierIds" + } + } + }, + "SensitivityInspectionTemplateId": { + "type": "string" + }, + "SensitivityInspectionTemplateIncludes": { + "type": "structure", + "members": { + "allowListIds": { + "shape": "__listOf__string", + "locationName": "allowListIds" + }, + "customDataIdentifierIds": { + "shape": "__listOf__string", + "locationName": "customDataIdentifierIds" + }, + "managedDataIdentifierIds": { + "shape": "__listOf__string", + "locationName": "managedDataIdentifierIds" + } + } + }, + "SensitivityInspectionTemplatesEntry": { + "type": "structure", + "members": { + "id": { + "shape": "__string", + "locationName": "id" + }, + "name": { + "shape": "__string", + "locationName": "name" + } + } + }, "ServerSideEncryption": { "type": "structure", "members": { @@ -6527,6 +7491,19 @@ "GLACIER" ] }, + "SuppressDataIdentifier": { + "type": "structure", + "members": { + "id": { + "shape": "__string", + "locationName": "id" + }, + "type": { + "shape": "DataIdentifierType", + "locationName": "type" + } + } + }, "TagCriterionForJob": { "type": "structure", "members": { @@ -6682,6 +7659,10 @@ "PAST_30_DAYS" ] }, + "Timestamp": { + "type": "timestamp", + "timestampFormat": "iso8601" + }, "Type": { "type": "string", "enum": [ @@ -6802,6 +7783,22 @@ } } }, + "UpdateAutomatedDiscoveryConfigurationRequest": { + "type": "structure", + "members": { + "status": { + "shape": "AutomatedDiscoveryStatus", + "locationName": "status" + } + }, + "required": [ + "status" + ] + }, + "UpdateAutomatedDiscoveryConfigurationResponse": { + "type": "structure", + "members": {} + }, "UpdateClassificationJobRequest": { "type": "structure", "members": { @@ -6824,6 +7821,27 @@ "type": "structure", "members": {} }, + "UpdateClassificationScopeRequest": { + "type": "structure", + "members": { + "id": { + "shape": "__string", + "location": "uri", + "locationName": "id" + }, + "s3": { + "shape": "S3ClassificationScopeUpdate", + "locationName": "s3" + } + }, + "required": [ + "id" + ] + }, + "UpdateClassificationScopeResponse": { + "type": "structure", + "members": {} + }, "UpdateFindingsFilterRequest": { "type": "structure", "members": { @@ -6831,6 +7849,11 @@ "shape": "FindingsFilterAction", "locationName": "action" }, + "clientToken": { + "shape": "__string", + "locationName": "clientToken", + "idempotencyToken": true + }, "description": { "shape": "__string", "locationName": "description" @@ -6851,11 +7874,6 @@ "position": { "shape": "__integer", "locationName": "position" - }, - "clientToken": { - "shape": "__string", - "locationName": "clientToken", - "idempotencyToken": true } }, "required": [ @@ -6930,6 +7948,48 @@ "type": "structure", "members": {} }, + "UpdateResourceProfileDetectionsRequest": { + "type": "structure", + "members": { + "resourceArn": { + "shape": "__string", + "location": "querystring", + "locationName": "resourceArn" + }, + "suppressDataIdentifiers": { + "shape": "__listOfSuppressDataIdentifier", + "locationName": "suppressDataIdentifiers" + } + }, + "required": [ + "resourceArn" + ] + }, + "UpdateResourceProfileDetectionsResponse": { + "type": "structure", + "members": {} + }, + "UpdateResourceProfileRequest": { + "type": "structure", + "members": { + "resourceArn": { + "shape": "__string", + "location": "querystring", + "locationName": "resourceArn" + }, + "sensitivityScoreOverride": { + "shape": "__integer", + "locationName": "sensitivityScoreOverride" + } + }, + "required": [ + "resourceArn" + ] + }, + "UpdateResourceProfileResponse": { + "type": "structure", + "members": {} + }, "UpdateRevealConfigurationRequest": { "type": "structure", "members": { @@ -6951,6 +8011,35 @@ } } }, + "UpdateSensitivityInspectionTemplateRequest": { + "type": "structure", + "members": { + "description": { + "shape": "__string", + "locationName": "description" + }, + "excludes": { + "shape": "SensitivityInspectionTemplateExcludes", + "locationName": "excludes" + }, + "id": { + "shape": "__string", + "location": "uri", + "locationName": "id" + }, + "includes": { + "shape": "SensitivityInspectionTemplateIncludes", + "locationName": "includes" + } + }, + "required": [ + "id" + ] + }, + "UpdateSensitivityInspectionTemplateResponse": { + "type": "structure", + "members": {} + }, "UsageByAccount": { "type": "structure", "members": { @@ -6979,6 +8068,10 @@ "shape": "__string", "locationName": "accountId" }, + "automatedDiscoveryFreeTrialStartDate": { + "shape": "__timestampIso8601", + "locationName": "automatedDiscoveryFreeTrialStartDate" + }, "freeTrialStartDate": { "shape": "__timestampIso8601", "locationName": "freeTrialStartDate" @@ -7070,7 +8163,9 @@ "type": "string", "enum": [ "DATA_INVENTORY_EVALUATION", - "SENSITIVE_DATA_DISCOVERY" + "SENSITIVE_DATA_DISCOVERY", + "AUTOMATED_SENSITIVE_DATA_DISCOVERY", + "AUTOMATED_OBJECT_MONITORING" ] }, "UserIdentity": { @@ -7206,6 +8301,12 @@ "shape": "BucketMetadata" } }, + "__listOfClassificationScopeSummary": { + "type": "list", + "member": { + "shape": "ClassificationScopeSummary" + } + }, "__listOfCriteriaForJob": { "type": "list", "member": { @@ -7224,6 +8325,12 @@ "shape": "DetectedDataDetails" } }, + "__listOfDetection": { + "type": "list", + "member": { + "shape": "Detection" + } + }, "__listOfFinding": { "type": "list", "member": { @@ -7296,12 +8403,24 @@ "shape": "Member" } }, + "__listOfResourceProfileArtifact": { + "type": "list", + "member": { + "shape": "ResourceProfileArtifact" + } + }, "__listOfS3BucketDefinitionForJob": { "type": "list", "member": { "shape": "S3BucketDefinitionForJob" } }, + "__listOfS3BucketName": { + "type": "list", + "member": { + "shape": "S3BucketName" + } + }, "__listOfSearchResourcesCriteria": { "type": "list", "member": { @@ -7314,6 +8433,18 @@ "shape": "SearchResourcesTagCriterionPair" } }, + "__listOfSensitivityInspectionTemplatesEntry": { + "type": "list", + "member": { + "shape": "SensitivityInspectionTemplatesEntry" + } + }, + "__listOfSuppressDataIdentifier": { + "type": "list", + "member": { + "shape": "SuppressDataIdentifier" + } + }, "__listOfTagCriterionPairForJob": { "type": "list", "member": { @@ -7430,4 +8561,4 @@ "timestampFormat": "unixTimestamp" } } -} +} \ No newline at end of file diff --git a/models/apis/macie2/2020-01-01/docs-2.json b/models/apis/macie2/2020-01-01/docs-2.json index 393bc4ff652..2c474400d16 100644 --- a/models/apis/macie2/2020-01-01/docs-2.json +++ b/models/apis/macie2/2020-01-01/docs-2.json @@ -1,6 +1,6 @@ { "version" : "2.0", - "service" : "

Amazon Macie is a fully managed data security and data privacy service that uses machine learning and pattern matching to discover and protect your sensitive data in AWS. Macie automates the discovery of sensitive data, such as PII and intellectual property, to provide you with insight into the data that your organization stores in AWS. Macie also provides an inventory of your Amazon S3 buckets, which it continually monitors for you. If Macie detects sensitive data or potential data access issues, it generates detailed findings for you to review and act upon as necessary.

", + "service" : "

Amazon Macie is a fully managed data security and data privacy service that uses machine learning and pattern matching to help you discover and protect your sensitive data in AWS. Macie automates the discovery of sensitive data, such as PII and intellectual property, to provide you with insight into the data that your organization stores in AWS. Macie also provides an inventory of your Amazon S3 buckets, which it continually monitors for you. If Macie detects sensitive data or potential data access issues, it generates detailed findings for you to review and act upon as necessary.

", "operations" : { "AcceptInvitation" : "

Accepts an Amazon Macie membership invitation that was received from a specific account.

", "BatchGetCustomDataIdentifiers" : "

Retrieves information about one or more custom data identifiers.

", @@ -17,7 +17,7 @@ "DeleteFindingsFilter" : "

Deletes a findings filter.

", "DeleteInvitations" : "

Deletes Amazon Macie membership invitations that were received from specific accounts.

", "DeleteMember" : "

Deletes the association between an Amazon Macie administrator account and an account.

", - "DescribeBuckets" : "

Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie monitors and analyzes.

", + "DescribeBuckets" : "

Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie monitors and analyzes for an account.

", "DescribeClassificationJob" : "

Retrieves the status and settings for a classification job.

", "DescribeOrganizationConfiguration" : "

Retrieves the Amazon Macie configuration settings for an organization in Organizations.

", "DisableMacie" : "

Disables Amazon Macie and deletes all settings and resources for a Macie account.

", @@ -29,24 +29,29 @@ "EnableOrganizationAdminAccount" : "

Designates an account as the delegated Amazon Macie administrator account for an organization in Organizations.

", "GetAdministratorAccount" : "

Retrieves information about the Amazon Macie administrator account for an account.

", "GetAllowList" : "

Retrieves the settings and status of an allow list.

", - "GetBucketStatistics" : "

Retrieves (queries) aggregated statistical data about S3 buckets that Amazon Macie monitors and analyzes.

", + "GetAutomatedDiscoveryConfiguration" : "

Retrieves the configuration settings and status of automated sensitive data discovery for an account.

", + "GetBucketStatistics" : "

Retrieves (queries) aggregated statistical data about all the S3 buckets that Amazon Macie monitors and analyzes for an account.

", "GetClassificationExportConfiguration" : "

Retrieves the configuration settings for storing data classification results.

", + "GetClassificationScope" : "

Retrieves the classification scope settings for an account.

", "GetCustomDataIdentifier" : "

Retrieves the criteria and other settings for a custom data identifier.

", "GetFindingStatistics" : "

Retrieves (queries) aggregated statistical data about findings.

", "GetFindings" : "

Retrieves the details of one or more findings.

", "GetFindingsFilter" : "

Retrieves the criteria and other settings for a findings filter.

", "GetFindingsPublicationConfiguration" : "

Retrieves the configuration settings for publishing findings to Security Hub.

", "GetInvitationsCount" : "

Retrieves the count of Amazon Macie membership invitations that were received by an account.

", - "GetMacieSession" : "

Retrieves the current status and configuration settings for an Amazon Macie account.

", + "GetMacieSession" : "

Retrieves the status and configuration settings for an Amazon Macie account.

", "GetMasterAccount" : "

(Deprecated) Retrieves information about the Amazon Macie administrator account for an account. This operation has been replaced by the GetAdministratorAccount operation.

", "GetMember" : "

Retrieves information about an account that's associated with an Amazon Macie administrator account.

", + "GetResourceProfile" : "

Retrieves (queries) sensitive data discovery statistics and the sensitivity score for an S3 bucket.

", "GetRevealConfiguration" : "

Retrieves the status and configuration settings for retrieving occurrences of sensitive data reported by findings.

", "GetSensitiveDataOccurrences" : "

Retrieves occurrences of sensitive data reported by a finding.

", "GetSensitiveDataOccurrencesAvailability" : "

Checks whether occurrences of sensitive data can be retrieved for a finding.

", + "GetSensitivityInspectionTemplate" : "

Retrieves the settings for the sensitivity inspection template for an account.

", "GetUsageStatistics" : "

Retrieves (queries) quotas and aggregated usage data for one or more accounts.

", "GetUsageTotals" : "

Retrieves (queries) aggregated usage data for an account.

", "ListAllowLists" : "

Retrieves a subset of information about all the allow lists for an account.

", "ListClassificationJobs" : "

Retrieves a subset of information about one or more classification jobs.

", + "ListClassificationScopes" : "

Retrieves a subset of information about the classification scope for an account.

", "ListCustomDataIdentifiers" : "

Retrieves a subset of information about all the custom data identifiers for an account.

", "ListFindings" : "

Retrieves a subset of information about one or more findings.

", "ListFindingsFilters" : "

Retrieves a subset of information about all the findings filters for an account.

", @@ -54,6 +59,9 @@ "ListManagedDataIdentifiers" : "

Retrieves information about all the managed data identifiers that Amazon Macie currently provides.

", "ListMembers" : "

Retrieves information about the accounts that are associated with an Amazon Macie administrator account.

", "ListOrganizationAdminAccounts" : "

Retrieves information about the delegated Amazon Macie administrator account for an organization in Organizations.

", + "ListResourceProfileArtifacts" : "

Retrieves information about objects that were selected from an S3 bucket for automated sensitive data discovery.

", + "ListResourceProfileDetections" : "

Retrieves information about the types and amount of sensitive data that Amazon Macie found in an S3 bucket.

", + "ListSensitivityInspectionTemplates" : "

Retrieves a subset of information about the sensitivity inspection template for an account.

", "ListTagsForResource" : "

Retrieves the tags (keys and values) that are associated with an Amazon Macie resource.

", "PutClassificationExportConfiguration" : "

Creates or updates the configuration settings for storing data classification results.

", "PutFindingsPublicationConfiguration" : "

Updates the configuration settings for publishing findings to Security Hub.

", @@ -62,12 +70,17 @@ "TestCustomDataIdentifier" : "

Tests a custom data identifier.

", "UntagResource" : "

Removes one or more tags (keys and values) from an Amazon Macie resource.

", "UpdateAllowList" : "

Updates the settings for an allow list.

", + "UpdateAutomatedDiscoveryConfiguration" : "

Enables or disables automated sensitive data discovery for an account.

", "UpdateClassificationJob" : "

Changes the status of a classification job.

", + "UpdateClassificationScope" : "

Updates the classification scope settings for an account.

", "UpdateFindingsFilter" : "

Updates the criteria and other settings for a findings filter.

", "UpdateMacieSession" : "

Suspends or re-enables Amazon Macie, or updates the configuration settings for a Macie account.

", "UpdateMemberSession" : "

Enables an Amazon Macie administrator to suspend or re-enable Macie for a member account.

", "UpdateOrganizationConfiguration" : "

Updates the Amazon Macie configuration settings for an organization in Organizations.

", - "UpdateRevealConfiguration" : "

Updates the status and configuration settings for retrieving occurrences of sensitive data reported by findings.

" + "UpdateResourceProfile" : "

Updates the sensitivity score for an S3 bucket.

", + "UpdateResourceProfileDetections" : "

Updates the sensitivity scoring settings for an S3 bucket.

", + "UpdateRevealConfiguration" : "

Updates the status and configuration settings for retrieving occurrences of sensitive data reported by findings.

", + "UpdateSensitivityInspectionTemplate" : "

Updates the settings for the sensitivity inspection template for an account.

" }, "shapes" : { "AcceptInvitationRequest" : { @@ -137,8 +150,8 @@ "AllowsUnencryptedObjectUploads" : { "base" : null, "refs" : { - "BucketMetadata$AllowsUnencryptedObjectUploads" : "

Specifies whether the bucket policy for the bucket requires server-side encryption of objects when objects are uploaded to the bucket. Possible values are:

", - "S3Bucket$AllowsUnencryptedObjectUploads" : "

Specifies whether the bucket policy for the bucket requires server-side encryption of objects when objects are uploaded to the bucket. Possible values are:

" + "BucketMetadata$AllowsUnencryptedObjectUploads" : "

Specifies whether the bucket policy for the bucket requires server-side encryption of objects when objects are uploaded to the bucket. Possible values are:

Valid server-side encryption headers are: x-amz-server-side-encryption with a value of AES256 or aws:kms, and x-amz-server-side-encryption-customer-algorithm with a value of AES256.

", + "S3Bucket$AllowsUnencryptedObjectUploads" : "

Specifies whether the bucket policy for the bucket requires server-side encryption of objects when objects are uploaded to the bucket. Possible values are:

Valid server-side encryption headers are: x-amz-server-side-encryption with a value of AES256 or aws:kms, and x-amz-server-side-encryption-customer-algorithm with a value of AES256.

" } }, "ApiCallDetails" : { @@ -153,6 +166,13 @@ "UserIdentity$AssumedRole" : "

If the action was performed with temporary security credentials that were obtained using the AssumeRole operation of the Security Token Service (STS) API, the identifiers, session context, and other details about the identity.

" } }, + "AutomatedDiscoveryStatus" : { + "base" : "

The status of the automated sensitive data discovery configuration for an Amazon Macie account. Valid values are:

", + "refs" : { + "GetAutomatedDiscoveryConfigurationResponse$Status" : "

The current status of the automated sensitive data discovery configuration for the account. Possible values are: ENABLED, use the specified settings to perform automated sensitive data discovery activities for the account; and, DISABLED, don't perform automated sensitive data discovery activities for the account.

", + "UpdateAutomatedDiscoveryConfigurationRequest$Status" : "

The new status of automated sensitive data discovery for the account. Valid values are: ENABLED, start or resume automated sensitive data discovery activities for the account; and, DISABLED, stop performing automated sensitive data discovery activities for the account.

When you enable automated sensitive data discovery for the first time, Amazon Macie uses default configuration settings to determine which data sources to analyze and which managed data identifiers to use. To change these settings, use the UpdateClassificationScope and UpdateSensitivityInspectionTemplate operations, respectively. If you change the settings and subsequently disable the configuration, Amazon Macie retains your changes.

" + } + }, "AvailabilityCode" : { "base" : "

Specifies whether occurrences of sensitive data can be retrieved for a finding. Possible values are:

", "refs" : { @@ -186,7 +206,7 @@ "refs" : { } }, "BlockPublicAccess" : { - "base" : "

Provides information about the block public access settings for an S3 bucket. These settings can apply to a bucket at the account level or bucket level. For detailed information about each setting, see Blocking public access to your Amazon S3 storage in the Amazon Simple Storage Service User Guide.

", + "base" : "

Provides information about the block public access settings for an S3 bucket. These settings can apply to a bucket at the account or bucket level. For detailed information about each setting, see Blocking public access to your Amazon S3 storage in the Amazon Simple Storage Service User Guide.

", "refs" : { "AccountLevelPermissions$BlockPublicAccess" : "

The block public access settings for the Amazon Web Services account that owns the bucket.

", "BucketLevelPermissions$BlockPublicAccess" : "

The block public access settings for the bucket.

" @@ -235,13 +255,13 @@ } }, "BucketMetadata" : { - "base" : "

Provides statistical data and other information about an S3 bucket that Amazon Macie monitors and analyzes for your account. If an error occurs when Macie attempts to retrieve and process information about the bucket or the bucket's objects, the value for the versioning property is false and the value for most other properties is null. Exceptions are accountId, bucketArn, bucketCreatedAt, bucketName, lastUpdated, and region. To identify the cause of the error, refer to the errorCode and errorMessage values.

", + "base" : "

Provides statistical data and other information about an S3 bucket that Amazon Macie monitors and analyzes for your account. If an error occurs when Macie attempts to retrieve and process metadata from Amazon S3 for the bucket and the bucket's objects, the value for the versioning property is false and the value for most other properties is null. Key exceptions are accountId, bucketArn, bucketCreatedAt, bucketName, lastUpdated, and region. To identify the cause of the error, refer to the errorCode and errorMessage values.

", "refs" : { "__listOfBucketMetadata$member" : null } }, "BucketMetadataErrorCode" : { - "base" : "

The error code for an error that prevented Amazon Macie from retrieving and processing information about an S3 bucket and the bucket's objects.

", + "base" : "

The error code for an error that prevented Amazon Macie from retrieving and processing metadata from Amazon S3 for an S3 bucket and the bucket's objects.

", "refs" : { "BucketMetadata$ErrorCode" : "

Specifies the error code for an error that prevented Amazon Macie from retrieving and processing information about the bucket and the bucket's objects. If this value is ACCESS_DENIED, Macie doesn't have permission to retrieve the information. For example, the bucket has a restrictive bucket policy and Amazon S3 denied the request. If this value is null, Macie was able to retrieve and process the information.

", "MatchingBucket$ErrorCode" : "

Specifies the error code for an error that prevented Amazon Macie from retrieving and processing information about the bucket and the bucket's objects. If this value is ACCESS_DENIED, Macie doesn't have permission to retrieve the information. For example, the bucket has a restrictive bucket policy and Amazon S3 denied the request. If this value is null, Macie was able to retrieve and process the information.

" @@ -278,6 +298,12 @@ "DescribeBucketsRequest$SortCriteria" : "

The criteria to use to sort the query results.

" } }, + "BucketStatisticsBySensitivity" : { + "base" : "

Provides aggregated statistical data for sensitive data discovery metrics that apply to S3 buckets, grouped by bucket sensitivity score (sensitivityScore). If automated sensitive data discovery is currently disabled for your account, the value for each metric is 0.

", + "refs" : { + "GetBucketStatisticsResponse$BucketStatisticsBySensitivity" : "

The aggregated sensitive data discovery statistics for the buckets. If automated sensitive data discovery is currently disabled for your account, the value for each statistic is 0.

" + } + }, "Cell" : { "base" : "

Specifies the location of an occurrence of sensitive data in a Microsoft Excel workbook, CSV file, or TSV file.

", "refs" : { @@ -297,7 +323,7 @@ } }, "ClassificationExportConfiguration" : { - "base" : "

Specifies where to store data classification results, and the encryption settings to use when storing results in that location. Currently, you can store classification results only in an S3 bucket.

", + "base" : "

Specifies where to store data classification results, and the encryption settings to use when storing results in that location. The location must be an S3 bucket.

", "refs" : { "GetClassificationExportConfigurationResponse$Configuration" : "

The location where data classification results are stored, and the encryption settings that are used when storing results in that location.

", "PutClassificationExportConfigurationRequest$Configuration" : "

The location to store data classification results in, and the encryption settings to use when storing results in that location.

", @@ -316,6 +342,33 @@ "ClassificationResult$Status" : "

The status of the finding.

" } }, + "ClassificationScopeId" : { + "base" : "

The unique identifier the classification scope.

", + "refs" : { + "ClassificationScopeSummary$Id" : "

The unique identifier for the classification scope.

", + "GetAutomatedDiscoveryConfigurationResponse$ClassificationScopeId" : "

The unique identifier for the classification scope that's used when performing automated sensitive data discovery for the account. The classification scope specifies S3 buckets to exclude from automated sensitive data discovery.

", + "GetClassificationScopeResponse$Id" : "

The unique identifier for the classification scope.

" + } + }, + "ClassificationScopeName" : { + "base" : "

The name of the classification scope.

", + "refs" : { + "ClassificationScopeSummary$Name" : "

The name of the classification scope.

", + "GetClassificationScopeResponse$Name" : "

The name of the classification scope.

" + } + }, + "ClassificationScopeSummary" : { + "base" : "

Provides information about the classification scope for an Amazon Macie account. Macie uses the scope's settings when it performs automated sensitive data discovery for the account.

", + "refs" : { + "__listOfClassificationScopeSummary$member" : null + } + }, + "ClassificationScopeUpdateOperation" : { + "base" : "

Specifies how to apply changes to the S3 bucket exclusion list defined by the classification scope for an Amazon Macie account. Valid values are:

", + "refs" : { + "S3ClassificationScopeExclusionUpdate$Operation" : "

Specifies how to apply the changes to the exclusion list. Valid values are:

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

Provides information about an error that occurred due to a versioning conflict for a specified resource.

", "refs" : { } @@ -440,6 +493,13 @@ "SeverityLevel$Severity" : "

The severity to assign to a finding: if the number of occurrences is greater than or equal to the specified threshold (occurrencesThreshold); and, if applicable, the number of occurrences is less than the threshold for the next consecutive severity level for the custom data identifier, moving from LOW to HIGH.

" } }, + "DataIdentifierType" : { + "base" : "

The type of data identifier that detected a specific type of sensitive data in an S3 bucket. Possible values are:

", + "refs" : { + "Detection$Type" : "

The type of data identifier that detected the sensitive data. Possible values are: CUSTOM, for a custom data identifier; and, MANAGED, for a managed data identifier.

", + "SuppressDataIdentifier$Type" : "

The type of data identifier that detected the sensitive data. Possible values are: CUSTOM, for a custom data identifier; and, MANAGED, for a managed data identifier.

" + } + }, "DayOfWeek" : { "base" : null, "refs" : { @@ -496,6 +556,12 @@ "__listOfDetectedDataDetails$member" : null } }, + "Detection" : { + "base" : "

Provides information about a type of sensitive data that Amazon Macie found in an S3 bucket while performing automated sensitive data discovery for the bucket. The information also specifies the custom data identifier or managed data identifier that detected the data. This information is available only if automated sensitive data discovery is currently enabled for your account.

", + "refs" : { + "__listOfDetection$member" : null + } + }, "DomainDetails" : { "base" : "

Provides information about the domain name of the device that an entity used to perform an action on an affected resource.

", "refs" : { @@ -521,7 +587,7 @@ "refs" : { } }, "EncryptionType" : { - "base" : "

The type of server-side encryption that's used to encrypt an S3 object or objects in an S3 bucket. Valid values are:

", + "base" : "

The type of server-side encryption that's used to encrypt an S3 object or objects in an S3 bucket. Possible values are:

", "refs" : { "ServerSideEncryption$EncryptionType" : "

The server-side encryption algorithm that's used when storing data in the bucket or object. If default encryption is disabled for the bucket or the object isn't encrypted using server-side encryption, this value is NONE.

" } @@ -563,7 +629,7 @@ } }, "FindingCategory" : { - "base" : "

The category of the finding. Valid values are:

", + "base" : "

The category of the finding. Possible values are:

", "refs" : { "Finding$Category" : "

The category of the finding. Possible values are: CLASSIFICATION, for a sensitive data finding; and, POLICY, for a policy finding.

" } @@ -599,19 +665,19 @@ } }, "FindingType" : { - "base" : "

The type of finding. For details about each type, see Types of Amazon Macie findings in the Amazon Macie User Guide. Valid values are:

", + "base" : "

The type of finding. For details about each type, see Types of Amazon Macie findings in the Amazon Macie User Guide. Possible values are:

", "refs" : { "Finding$Type" : "

The type of the finding.

", "__listOfFindingType$member" : null } }, "FindingsFilterAction" : { - "base" : "

The action to perform on findings that meet the filter criteria. To suppress (automatically archive) findings that meet the criteria, set this value to ARCHIVE. Valid values are:

", + "base" : "

The action to perform on findings that match the filter criteria. To suppress (automatically archive) findings that match the criteria, set this value to ARCHIVE. Valid values are:

", "refs" : { - "CreateFindingsFilterRequest$Action" : "

The action to perform on findings that meet the filter criteria (findingCriteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.

", - "FindingsFilterListItem$Action" : "

The action that's performed on findings that meet the filter criteria. Possible values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.

", - "GetFindingsFilterResponse$Action" : "

The action that's performed on findings that meet the filter criteria (findingCriteria). Possible values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.

", - "UpdateFindingsFilterRequest$Action" : "

The action to perform on findings that meet the filter criteria (findingCriteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.

" + "CreateFindingsFilterRequest$Action" : "

The action to perform on findings that match the filter criteria (findingCriteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.

", + "FindingsFilterListItem$Action" : "

The action that's performed on findings that match the filter criteria. Possible values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.

", + "GetFindingsFilterResponse$Action" : "

The action that's performed on findings that match the filter criteria (findingCriteria). Possible values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.

", + "UpdateFindingsFilterRequest$Action" : "

The action to perform on findings that match the filter criteria (findingCriteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.

" } }, "FindingsFilterListItem" : { @@ -628,6 +694,10 @@ "base" : "

Provides information about the settings and status of an allow list.

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

Provides information about the configuration settings for performing automated sensitive data discovery for an Amazon Macie account, and the status of the configuration for the account.

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

Specifies the account that owns the S3 buckets to retrieve aggregated statistical data for.

", "refs" : { } @@ -640,6 +710,10 @@ "base" : "

Provides information about the current configuration settings for storing data classification results.

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

Provides information about the classification scope settings for an Amazon Macie account. Macie uses these settings when it performs automated sensitive data discovery for the account.

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

Provides information about the detection criteria and other settings for a custom data identifier.

", "refs" : { } @@ -673,7 +747,7 @@ "refs" : { } }, "GetMacieSessionResponse" : { - "base" : "

Provides information about the current status and configuration settings for an Amazon Macie account.

", + "base" : "

Provides information about the status and configuration settings for an Amazon Macie account.

", "refs" : { } }, "GetMasterAccountResponse" : { @@ -684,6 +758,10 @@ "base" : "

Provides information about an account that's associated with an Amazon Macie administrator account.

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

Provides the results of a query that retrieved sensitive data discovery statistics and the sensitivity score for an S3 bucket that Amazon Macie monitors and analyzes for your account. This data is available only if automated sensitive data discovery is currently enabled for your account.

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

Provides information about the configuration settings for retrieving occurrences of sensitive data reported by findings, and the status of the configuration for an Amazon Macie account.

", "refs" : { } @@ -696,6 +774,10 @@ "base" : "

Provides the results of a request to retrieve occurrences of sensitive data reported by a finding.

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

Provides information about the settings for the sensitivity inspection template for an Amazon Macie account. Macie uses the template's settings when it performs automated sensitive data discovery for the account.

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

Specifies criteria for filtering, sorting, and paginating the results of a query for quotas and aggregated usage data for one or more Amazon Macie accounts.

", "refs" : { } @@ -878,6 +960,10 @@ "base" : "

Provides the results of a request for information about one or more classification jobs.

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

Provides the results of a request for information about the classification scope for an Amazon Macie account. Macie uses the scope's settings when it performs automated sensitive data discovery for the account.

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

Specifies criteria for paginating the results of a request for information about custom data identifiers.

", "refs" : { } @@ -948,6 +1034,18 @@ "base" : "

Provides information about the delegated Amazon Macie administrator accounts for an organization in Organizations.

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

Provides the results of a request for information about the S3 objects that Amazon Macie selected for analysis while performing automated sensitive data discovery for an S3 bucket. This information is available only if automated sensitive data discovery is currently enabled for your account.

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

Provides the results of a request for information about the types and amount of sensitive data that Amazon Macie found in an S3 bucket while performing automated sensitive data discovery for the bucket. This information is available only if automated sensitive data discovery is currently enabled for your account.

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

Provides the results of a request for information about the sensitivity inspection template for an Amazon Macie account. Macie uses the template's settings when it performs automated sensitive data discovery for the account.

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

Provides information about the tags (keys and values) that are associated with an Amazon Macie resource.

", "refs" : { } @@ -975,7 +1073,7 @@ } }, "MatchingBucket" : { - "base" : "

Provides statistical data and other information about an S3 bucket that Amazon Macie monitors and analyzes for your account. If an error occurs when Macie attempts to retrieve and process information about the bucket or the bucket's objects, the value for most of these properties is null. Exceptions are accountId and bucketName. To identify the cause of the error, refer to the errorCode and errorMessage values.

", + "base" : "

Provides statistical data and other information about an S3 bucket that Amazon Macie monitors and analyzes for your account. If an error occurs when Macie attempts to retrieve and process information about the bucket or the bucket's objects, the value for most of these properties is null. Key exceptions are accountId and bucketName. To identify the cause of the error, refer to the errorCode and errorMessage values.

", "refs" : { "MatchingResource$MatchingBucket" : "

The details of an S3 bucket that Amazon Macie monitors and analyzes.

" } @@ -998,15 +1096,21 @@ "JobScheduleFrequency$MonthlySchedule" : "

Specifies a monthly recurrence pattern for running the job.

" } }, + "NextToken" : { + "base" : "

Specifies which page of results to return in a paginated response.

", + "refs" : { + "ListClassificationScopesResponse$NextToken" : "

The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

" + } + }, "ObjectCountByEncryptionType" : { "base" : "

Provides information about the number of objects that are in an S3 bucket and use certain types of server-side encryption, use client-side encryption, or aren't encrypted.

", "refs" : { "BucketMetadata$ObjectCountByEncryptionType" : "

The total number of objects that are in the bucket, grouped by server-side encryption type. This includes a grouping that reports the total number of objects that aren't encrypted or use client-side encryption.

", - "MatchingBucket$ObjectCountByEncryptionType" : "

The total number of objects that are in the bucket, grouped by server-side encryption type. This includes a grouping that reports the total number of objects that aren't encrypted or use client-side encryption.

" + "MatchingBucket$ObjectCountByEncryptionType" : "

The total number of objects in the bucket, grouped by server-side encryption type. This includes a grouping that reports the total number of objects that aren't encrypted or use client-side encryption.

" } }, "ObjectLevelStatistics" : { - "base" : "

Provides information about the total storage size (in bytes) or number of objects that Amazon Macie can't analyze in one or more S3 buckets. In a BucketMetadata or MatchingBucket object, this data is for a specific bucket. In a GetBucketStatisticsResponse object, this data is aggregated for the buckets in the query results. If versioning is enabled for a bucket, total storage size values are based on the size of the latest version of each applicable object in the bucket.

", + "base" : "

Provides information about the total storage size (in bytes) or number of objects that Amazon Macie can't analyze in one or more S3 buckets. In a BucketMetadata or MatchingBucket object, this data is for a specific bucket. In a GetBucketStatisticsResponse object, this data is aggregated for all the buckets in the query results. If versioning is enabled for a bucket, storage size values are based on the size of the latest version of each applicable object in the bucket.

", "refs" : { "BucketMetadata$UnclassifiableObjectCount" : "

The total number of objects that Amazon Macie can't analyze in the bucket. These objects don't use a supported storage class or don't have a file name extension for a supported file or storage format.

", "BucketMetadata$UnclassifiableObjectSizeInBytes" : "

The total storage size, in bytes, of the objects that Amazon Macie can't analyze in the bucket. These objects don't use a supported storage class or don't have a file name extension for a supported file or storage format.

", @@ -1035,9 +1139,9 @@ } }, "OriginType" : { - "base" : "

Specifies how Amazon Macie found the sensitive data that produced a finding. The only possible value is:

", + "base" : "

Specifies how Amazon Macie found the sensitive data that produced a finding. Possible values are:

", "refs" : { - "ClassificationDetails$OriginType" : "

Specifies how Amazon Macie found the sensitive data that produced the finding: SENSITIVE_DATA_DISCOVERY_JOB, for a classification job.

" + "ClassificationDetails$OriginType" : "

Specifies how Amazon Macie found the sensitive data that produced the finding. Possible values are: SENSITIVE_DATA_DISCOVERY_JOB, for a classification job; and, AUTOMATED_SENSITIVE_DATA_DISCOVERY, for automated sensitive data discovery.

" } }, "Page" : { @@ -1059,7 +1163,7 @@ } }, "PutClassificationExportConfigurationRequest" : { - "base" : "

Specifies where to store data classification results, and the encryption settings to use when storing results in that location. Currently, you can store classification results only in an S3 bucket.

", + "base" : "

Specifies where to store data classification results, and the encryption settings to use when storing results in that location.

", "refs" : { } }, "PutClassificationExportConfigurationResponse" : { @@ -1115,6 +1219,18 @@ "base" : "

Provides information about an error that occurred because a specified resource wasn't found.

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

Provides information about an S3 object that Amazon Macie selected for analysis while performing automated sensitive data discovery for an S3 bucket, and the status and results of the analysis. This information is available only if automated sensitive data discovery is currently enabled for your account.

", + "refs" : { + "__listOfResourceProfileArtifact$member" : null + } + }, + "ResourceStatistics" : { + "base" : "

Provides statistical data for sensitive data discovery metrics that apply to an S3 bucket that Amazon Macie monitors and analyzes for your account. The statistics capture the results of automated sensitive data discovery activities that Macie has performed for the bucket. The data is available only if automated sensitive data discovery is currently enabled for your account.

", + "refs" : { + "GetResourceProfileResponse$Statistics" : "

The sensitive data discovery statistics for the bucket. The statistics capture the results of automated sensitive data discovery activities that Amazon Macie has performed for the bucket.

" + } + }, "ResourcesAffected" : { "base" : "

Provides information about the resources that a finding applies to.

", "refs" : { @@ -1160,12 +1276,42 @@ "__listOfS3BucketDefinitionForJob$member" : null } }, + "S3BucketName" : { + "base" : "

The name of an S3 bucket.

", + "refs" : { + "__listOfS3BucketName$member" : null + } + }, "S3BucketOwner" : { "base" : "

Provides information about the Amazon Web Services account that owns an S3 bucket.

", "refs" : { "S3Bucket$Owner" : "

The display name and canonical user ID for the Amazon Web Services account that owns the bucket.

" } }, + "S3ClassificationScope" : { + "base" : "

Specifies the S3 buckets that are excluded from automated sensitive data discovery for an Amazon Macie account.

", + "refs" : { + "GetClassificationScopeResponse$S3" : "

The S3 buckets that are excluded from automated sensitive data discovery.

" + } + }, + "S3ClassificationScopeExclusion" : { + "base" : "

Specifies the names of the S3 buckets that are excluded from automated sensitive data discovery.

", + "refs" : { + "S3ClassificationScope$Excludes" : "

The S3 buckets that are excluded.

" + } + }, + "S3ClassificationScopeExclusionUpdate" : { + "base" : "

Specifies S3 buckets to add or remove from the exclusion list defined by the classification scope for an Amazon Macie account.

", + "refs" : { + "S3ClassificationScopeUpdate$Excludes" : "

The names of the S3 buckets to add or remove from the list.

" + } + }, + "S3ClassificationScopeUpdate" : { + "base" : "

Specifies changes to the list of S3 buckets that are excluded from automated sensitive data discovery for an Amazon Macie account.

", + "refs" : { + "UpdateClassificationScopeRequest$S3" : "

The S3 buckets to add or remove from the exclusion list defined by the classification scope.

" + } + }, "S3Destination" : { "base" : "

Specifies an S3 bucket to store data classification results in, and the encryption settings to use when storing results in that bucket.

", "refs" : { @@ -1305,6 +1451,42 @@ "GetSensitiveDataOccurrencesResponse$SensitiveDataOccurrences" : "

A map that specifies 1-100 types of sensitive data reported by the finding and, for each type, 1-10 occurrences of sensitive data.

" } }, + "SensitivityAggregations" : { + "base" : "

Provides aggregated statistical data for sensitive data discovery metrics that apply to S3 buckets. Each field contains aggregated data for all the buckets that have a sensitivity score (sensitivityScore) of a specified value or within a specified range (BucketStatisticsBySensitivity). If automated sensitive data discovery is currently disabled for your account, the value for each field is 0.

", + "refs" : { + "BucketStatisticsBySensitivity$ClassificationError" : "

The aggregated statistical data for all buckets that have a sensitivity score of -1.

", + "BucketStatisticsBySensitivity$NotClassified" : "

The aggregated statistical data for all buckets that have a sensitivity score of 50.

", + "BucketStatisticsBySensitivity$NotSensitive" : "

The aggregated statistical data for all buckets that have a sensitivity score of 0-49.

", + "BucketStatisticsBySensitivity$Sensitive" : "

The aggregated statistical data for all buckets that have a sensitivity score of 51-100.

" + } + }, + "SensitivityInspectionTemplateExcludes" : { + "base" : "

Specifies managed data identifiers to exclude (not use) when performing automated sensitive data discovery for an Amazon Macie account. For information about the managed data identifiers that Amazon Macie currently provides, see Using managed data identifiers in the Amazon Macie User Guide.

", + "refs" : { + "GetSensitivityInspectionTemplateResponse$Excludes" : "

The managed data identifiers that are explicitly excluded (not used) when analyzing data.

", + "UpdateSensitivityInspectionTemplateRequest$Excludes" : "

The managed data identifiers to explicitly exclude (not use) when analyzing data.

To exclude an allow list or custom data identifier that's currently included by the template, update the values for the SensitivityInspectionTemplateIncludes.allowListIds and SensitivityInspectionTemplateIncludes.customDataIdentifierIds properties, respectively.

" + } + }, + "SensitivityInspectionTemplateId" : { + "base" : "

The unique identifier for the sensitivity inspection template.

", + "refs" : { + "GetAutomatedDiscoveryConfigurationResponse$SensitivityInspectionTemplateId" : "

The unique identifier for the sensitivity inspection template that's used when performing automated sensitive data discovery for the account. The template specifies which allow lists, custom data identifiers, and managed data identifiers to use when analyzing data.

", + "GetSensitivityInspectionTemplateResponse$SensitivityInspectionTemplateId" : "

The unique identifier for the template.

" + } + }, + "SensitivityInspectionTemplateIncludes" : { + "base" : "

Specifies the allow lists, custom data identifiers, and managed data identifiers to include (use) when performing automated sensitive data discovery for an Amazon Macie account. The configuration must specify at least one custom data identifier or managed data identifier. For information about the managed data identifiers that Amazon Macie currently provides, see Using managed data identifiers in the Amazon Macie User Guide.

", + "refs" : { + "GetSensitivityInspectionTemplateResponse$Includes" : "

The allow lists, custom data identifiers, and managed data identifiers that are included (used) when analyzing data.

", + "UpdateSensitivityInspectionTemplateRequest$Includes" : "

The allow lists, custom data identifiers, and managed data identifiers to include (use) when analyzing data.

" + } + }, + "SensitivityInspectionTemplatesEntry" : { + "base" : "

Provides information about the sensitivity inspection template for an Amazon Macie account. Macie uses the template's settings when it performs automated sensitive data discovery for the account.

", + "refs" : { + "__listOfSensitivityInspectionTemplatesEntry$member" : null + } + }, "ServerSideEncryption" : { "base" : "

Provides information about the server-side encryption settings for an S3 bucket or S3 object.

", "refs" : { @@ -1409,6 +1591,12 @@ "S3Object$StorageClass" : "

The storage class of the object.

" } }, + "SuppressDataIdentifier" : { + "base" : "

Specifies a custom data identifier or managed data identifier that detected a type of sensitive data to start excluding or including in an S3 bucket's sensitivity score.

", + "refs" : { + "__listOfSuppressDataIdentifier$member" : null + } + }, "TagCriterionForJob" : { "base" : "

Specifies a tag-based condition that determines whether an S3 bucket is included or excluded from a classification job.

", "refs" : { @@ -1486,6 +1674,14 @@ "GetUsageTotalsResponse$TimeRange" : "

The inclusive time period that the usage data applies to. Possible values are: MONTH_TO_DATE, for the current calendar month to date; and, PAST_30_DAYS, for the preceding 30 days.

" } }, + "Timestamp" : { + "base" : "

Specifies a date and time in UTC and extended ISO 8601 format.

", + "refs" : { + "GetAutomatedDiscoveryConfigurationResponse$DisabledAt" : "

The date and time, in UTC and extended ISO 8601 format, when automated sensitive data discovery was most recently disabled for the account. This value is null if automated sensitive data discovery wasn't enabled and subsequently disabled for the account.

", + "GetAutomatedDiscoveryConfigurationResponse$FirstEnabledAt" : "

The date and time, in UTC and extended ISO 8601 format, when automated sensitive data discovery was initially enabled for the account. This value is null if automated sensitive data discovery has never been enabled for the account.

", + "GetAutomatedDiscoveryConfigurationResponse$LastUpdatedAt" : "

The date and time, in UTC and extended ISO 8601 format, when automated sensitive data discovery was most recently enabled or disabled for the account.

" + } + }, "Type" : { "base" : null, "refs" : { @@ -1526,10 +1722,18 @@ "base" : "

Provides information about an allow list whose settings were changed in response to a request.

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

Enables or disables automated sensitive data discovery for an Amazon Macie account.

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

Changes the status of a classification job. For more information about pausing, resuming, or cancelling jobs, see Managing sensitive data discovery jobs in the Amazon Macie User Guide.

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

Specifies new classification scope settings for an Amazon Macie account. Macie uses these settings when it performs automated sensitive data discovery for the account. To update the settings, automated sensitive data discovery must currently be enabled for the account.

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

Specifies the criteria and other settings for a findings filter.

", "refs" : { } @@ -1550,6 +1754,14 @@ "base" : "

Specifies whether to enable Amazon Macie automatically for accounts that are added to an organization in Organizations.

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

Updates the sensitivity scoring settings for an S3 bucket that Amazon Macie monitors and analyzes for your account. The settings specify whether to exclude or include occurrences of specific types of sensitive data in calculations of the bucket's sensitivity score. You can update the settings only if automated sensitive data discovery is currently enabled for your account.

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

Specifies a new sensitivity score for an S3 bucket that Amazon Macie monitors and analyzes for your account. To update the score, automated sensitive data discovery must currently be enabled for your account.

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

Specifies the configuration settings for retrieving occurrences of sensitive data reported by findings, and the status of the configuration for an Amazon Macie account.

", "refs" : { } @@ -1558,6 +1770,10 @@ "base" : "

Provides information about updated configuration settings for retrieving occurrences of sensitive data reported by findings, and the status of the configuration for an Amazon Macie account.

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

Specifies settings for the sensitivity inspection template for an Amazon Macie account. Macie uses the template's settings when it performs automated sensitive data discovery for the account. To update the settings, automated sensitive data discovery must currently be enabled for the account.

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

Provides data for a specific usage metric and the corresponding quota for an Amazon Macie account.

", "refs" : { @@ -1609,8 +1825,8 @@ "UsageType" : { "base" : "

The name of an Amazon Macie usage metric for an account. Possible values are:

", "refs" : { - "UsageByAccount$Type" : "

The name of the metric. Possible values are: DATA_INVENTORY_EVALUATION, for monitoring S3 buckets; and, SENSITIVE_DATA_DISCOVERY, for analyzing S3 objects to detect sensitive data.

", - "UsageTotal$Type" : "

The name of the metric. Possible values are: DATA_INVENTORY_EVALUATION, for monitoring S3 buckets; and, SENSITIVE_DATA_DISCOVERY, for analyzing S3 objects to detect sensitive data.

" + "UsageByAccount$Type" : "

The name of the metric. Possible values are: AUTOMATED_OBJECT_MONITORING, to monitor S3 objects for automated sensitive data discovery; AUTOMATED_SENSITIVE_DATA_DISCOVERY, to analyze S3 objects for automated sensitive data discovery; DATA_INVENTORY_EVALUATION, to monitor S3 buckets; and, SENSITIVE_DATA_DISCOVERY, to run classification jobs.

", + "UsageTotal$Type" : "

The name of the metric. Possible values are: AUTOMATED_OBJECT_MONITORING, to monitor S3 objects for automated sensitive data discovery; AUTOMATED_SENSITIVE_DATA_DISCOVERY, to analyze S3 objects for automated sensitive data discovery; DATA_INVENTORY_EVALUATION, to monitor S3 buckets; and, SENSITIVE_DATA_DISCOVERY, to run classification jobs.

" } }, "UserIdentity" : { @@ -1667,11 +1883,14 @@ "DescribeClassificationJobResponse$InitialRun" : "

For a recurring job, specifies whether you configured the job to analyze all existing, eligible objects immediately after the job was created (true). If you configured the job to analyze only those objects that were created or changed after the job was created and before the job's first scheduled run, this value is false. This value is also false for a one-time job.

", "DescribeOrganizationConfigurationResponse$AutoEnable" : "

Specifies whether Amazon Macie is enabled automatically for accounts that are added to the organization.

", "DescribeOrganizationConfigurationResponse$MaxAccountLimitReached" : "

Specifies whether the maximum number of Amazon Macie member accounts are part of the organization.

", + "Detection$Suppressed" : "

Specifies whether occurrences of this type of sensitive data are excluded (true) or included (false) in the bucket's sensitivity score.

", "Finding$Archived" : "

Specifies whether the finding is archived (suppressed).

", "Finding$Sample" : "

Specifies whether the finding is a sample finding. A sample finding is a finding that uses example data to demonstrate what a finding might contain.

", "GetCustomDataIdentifierResponse$Deleted" : "

Specifies whether the custom data identifier was deleted. If you delete a custom data identifier, Amazon Macie doesn't delete it permanently. Instead, it soft deletes the identifier.

", + "GetResourceProfileResponse$SensitivityScoreOverridden" : "

Specifies whether the bucket's current sensitivity score was set manually. If this value is true, the score was manually changed to 100. If this value is false, the score was calculated automatically by Amazon Macie.

", "ReplicationDetails$Replicated" : "

Specifies whether the bucket is configured to replicate one or more objects to any destination.

", "ReplicationDetails$ReplicatedExternally" : "

Specifies whether the bucket is configured to replicate one or more objects to an Amazon Web Services account that isn't part of the same Amazon Macie organization.

", + "ResourceProfileArtifact$Sensitive" : "

Specifies whether Amazon Macie found sensitive data in the object.

", "S3Object$PublicAccess" : "

Specifies whether the object is publicly accessible due to the combination of permissions settings that apply to the object.

", "SecurityHubConfiguration$PublishClassificationFindings" : "

Specifies whether to publish sensitive data findings to Security Hub. If you set this value to true, Amazon Macie automatically publishes all sensitive data findings that weren't suppressed by a findings filter. The default value is false.

", "SecurityHubConfiguration$PublishPolicyFindings" : "

Specifies whether to publish policy findings to Security Hub. If you set this value to true, Amazon Macie automatically publishes all new and updated policy findings that weren't suppressed by a findings filter. The default value is true.

", @@ -1692,6 +1911,7 @@ "__integer" : { "base" : null, "refs" : { + "BucketMetadata$SensitivityScore" : "

The sensitivity score for the bucket, ranging from -1 (no analysis due to an error) to 100 (sensitive). This value is null if automated sensitive data discovery is currently disabled for your account.

", "CreateClassificationJobRequest$SamplingPercentage" : "

The sampling depth, as a percentage, for the job to apply when processing objects. This value determines the percentage of eligible objects that the job analyzes. If this value is less than 100, Amazon Macie selects the objects to analyze at random, up to the specified percentage, and analyzes all the data in those objects.

", "CreateCustomDataIdentifierRequest$MaximumMatchDistance" : "

The maximum number of characters that can exist between the end of at least one complete character sequence specified by the keywords array and the end of the text that matches the regex pattern. If a complete keyword precedes all the text that matches the pattern and the keyword is within the specified distance, Amazon Macie includes the result. The distance can be 1-300 characters. The default value is 50.

", "CreateFindingsFilterRequest$Position" : "

The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.

", @@ -1700,15 +1920,18 @@ "GetCustomDataIdentifierResponse$MaximumMatchDistance" : "

The maximum number of characters that can exist between the end of at least one complete character sequence specified by the keywords array and the end of the text that matches the regex pattern. If a complete keyword precedes all the text that matches the pattern and the keyword is within the specified distance, Amazon Macie includes the result. Otherwise, Macie excludes the result.

", "GetFindingStatisticsRequest$Size" : "

The maximum number of items to include in each page of the response.

", "GetFindingsFilterResponse$Position" : "

The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.

", + "GetResourceProfileResponse$SensitivityScore" : "

The current sensitivity score for the bucket, ranging from -1 (no analysis due to an error) to 100 (sensitive). By default, this score is calculated automatically based on the amount of data that Amazon Macie has analyzed in the bucket and the amount of sensitive data that Macie has found in the bucket.

", "GetUsageStatisticsRequest$MaxResults" : "

The maximum number of items to include in each page of the response.

", "ListClassificationJobsRequest$MaxResults" : "

The maximum number of items to include in each page of the response.

", "ListCustomDataIdentifiersRequest$MaxResults" : "

The maximum number of items to include in each page of the response.

", "ListFindingsRequest$MaxResults" : "

The maximum number of items to include in each page of the response.

", + "MatchingBucket$SensitivityScore" : "

The current sensitivity score for the bucket, ranging from -1 (no analysis due to an error) to 100 (sensitive). This value is null if automated sensitive data discovery is currently disabled for your account.

", "MonthlySchedule$DayOfMonth" : "

The numeric day of the month when Amazon Macie runs the job. This value can be an integer from 1 through 31.

If this value exceeds the number of days in a certain month, Macie doesn't run the job that month. Macie runs the job only during months that have the specified day. For example, if this value is 31 and a month has only 30 days, Macie doesn't run the job that month. To run the job every month, specify a value that's less than 29.

", "SearchResourcesRequest$MaxResults" : "

The maximum number of items to include in each page of the response. The default value is 50.

", "TestCustomDataIdentifierRequest$MaximumMatchDistance" : "

The maximum number of characters that can exist between the end of at least one complete character sequence specified by the keywords array and the end of the text that matches the regex pattern. If a complete keyword precedes all the text that matches the pattern and the keyword is within the specified distance, Amazon Macie includes the result. The distance can be 1-300 characters. The default value is 50.

", "TestCustomDataIdentifierResponse$MatchCount" : "

The number of occurrences of sample text that matched the criteria specified by the custom data identifier.

", - "UpdateFindingsFilterRequest$Position" : "

The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.

" + "UpdateFindingsFilterRequest$Position" : "

The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.

", + "UpdateResourceProfileRequest$SensitivityScoreOverride" : "

The new sensitivity score for the bucket. Valid values are: 100, assign the maximum score and apply the Sensitive label to the bucket; and, null (empty), assign a score that Amazon Macie calculates automatically after you submit the request.

" } }, "__listOfAdminAccount" : { @@ -1726,13 +1949,19 @@ "__listOfBatchGetCustomDataIdentifierSummary" : { "base" : null, "refs" : { - "BatchGetCustomDataIdentifiersResponse$CustomDataIdentifiers" : "

An array of objects, one for each custom data identifier that meets the criteria specified in the request.

" + "BatchGetCustomDataIdentifiersResponse$CustomDataIdentifiers" : "

An array of objects, one for each custom data identifier that matches the criteria specified in the request.

" } }, "__listOfBucketMetadata" : { "base" : null, "refs" : { - "DescribeBucketsResponse$Buckets" : "

An array of objects, one for each bucket that meets the filter criteria specified in the request.

" + "DescribeBucketsResponse$Buckets" : "

An array of objects, one for each bucket that matches the filter criteria specified in the request.

" + } + }, + "__listOfClassificationScopeSummary" : { + "base" : null, + "refs" : { + "ListClassificationScopesResponse$ClassificationScopes" : "

An array that specifies the unique identifier and name of the classification scope for the account.

" } }, "__listOfCriteriaForJob" : { @@ -1753,10 +1982,16 @@ "SensitiveDataOccurrences$member" : null } }, + "__listOfDetection" : { + "base" : null, + "refs" : { + "ListResourceProfileDetectionsResponse$Detections" : "

An array of objects, one for each type of sensitive data that Amazon Macie found in the bucket. Each object reports the number of occurrences of the specified type and provides information about the custom data identifier or managed data identifier that detected the data.

" + } + }, "__listOfFinding" : { "base" : null, "refs" : { - "GetFindingsResponse$Findings" : "

An array of objects, one for each finding that meets the criteria specified in the request.

" + "GetFindingsResponse$Findings" : "

An array of objects, one for each finding that matches the criteria specified in the request.

" } }, "__listOfFindingType" : { @@ -1774,7 +2009,7 @@ "__listOfGroupCount" : { "base" : null, "refs" : { - "GetFindingStatisticsResponse$CountsByGroup" : "

An array of objects, one for each group of findings that meet the filter criteria specified in the request.

" + "GetFindingStatisticsResponse$CountsByGroup" : "

An array of objects, one for each group of findings that matches the filter criteria specified in the request.

" } }, "__listOfInvitation" : { @@ -1792,7 +2027,7 @@ "__listOfJobSummary" : { "base" : null, "refs" : { - "ListClassificationJobsResponse$Items" : "

An array of objects, one for each job that meets the filter criteria specified in the request.

" + "ListClassificationJobsResponse$Items" : "

An array of objects, one for each job that matches the filter criteria specified in the request.

" } }, "__listOfKeyValuePair" : { @@ -1817,13 +2052,19 @@ "__listOfMatchingResource" : { "base" : null, "refs" : { - "SearchResourcesResponse$MatchingResources" : "

An array of objects, one for each resource that meets the filter criteria specified in the request.

" + "SearchResourcesResponse$MatchingResources" : "

An array of objects, one for each resource that matches the filter criteria specified in the request.

" } }, "__listOfMember" : { "base" : null, "refs" : { - "ListMembersResponse$Members" : "

An array of objects, one for each account that's associated with the administrator account and meets the criteria specified in the request.

" + "ListMembersResponse$Members" : "

An array of objects, one for each account that's associated with the administrator account and matches the criteria specified in the request.

" + } + }, + "__listOfResourceProfileArtifact" : { + "base" : null, + "refs" : { + "ListResourceProfileArtifactsResponse$Artifacts" : "

An array of objects, one for each S3 object that Amazon Macie selected for analysis.

" } }, "__listOfS3BucketDefinitionForJob" : { @@ -1833,6 +2074,13 @@ "S3JobDefinition$BucketDefinitions" : "

An array of objects, one for each Amazon Web Services account that owns specific S3 buckets to analyze. Each object specifies the account ID for an account and one or more buckets to analyze for that account. A job's definition can contain a bucketDefinitions array or a bucketCriteria object, not both.

" } }, + "__listOfS3BucketName" : { + "base" : null, + "refs" : { + "S3ClassificationScopeExclusion$BucketNames" : "

An array of strings, one for each S3 bucket that is excluded. Each string is the full name of an excluded bucket.

", + "S3ClassificationScopeExclusionUpdate$BucketNames" : "

Depending on the value specified for the update operation (ClassificationScopeUpdateOperation), an array of strings that: lists the names of buckets to add or remove from the list, or specifies a new set of bucket names that overwrites all existing names in the list. Each string must be the full name of an S3 bucket. Values are case sensitive.

" + } + }, "__listOfSearchResourcesCriteria" : { "base" : null, "refs" : { @@ -1845,6 +2093,18 @@ "SearchResourcesTagCriterion$TagValues" : "

The tag keys, tag values, or tag key and value pairs to use in the condition.

" } }, + "__listOfSensitivityInspectionTemplatesEntry" : { + "base" : null, + "refs" : { + "ListSensitivityInspectionTemplatesResponse$SensitivityInspectionTemplates" : "

An array that specifies the unique identifier and name of the sensitivity inspection template for the account.

" + } + }, + "__listOfSuppressDataIdentifier" : { + "base" : null, + "refs" : { + "UpdateResourceProfileDetectionsRequest$SuppressDataIdentifiers" : "

An array of objects, one for each custom data identifier or managed data identifier that detected the type of sensitive data to start excluding or including in the bucket's score. To start including all sensitive data types in the score, don't specify any values for this array.

" + } + }, "__listOfTagCriterionPairForJob" : { "base" : null, "refs" : { @@ -1880,7 +2140,7 @@ "__listOfUsageRecord" : { "base" : null, "refs" : { - "GetUsageStatisticsResponse$Records" : "

An array of objects that contains the results of the query. Each object contains the data for an account that meets the filter criteria specified in the request.

" + "GetUsageStatisticsResponse$Records" : "

An array of objects that contains the results of the query. Each object contains the data for an account that matches the filter criteria specified in the request.

" } }, "__listOfUsageStatisticsFilter" : { @@ -1919,16 +2179,20 @@ "GetCustomDataIdentifierResponse$IgnoreWords" : "

An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression contains any string in this array, Amazon Macie ignores it. Ignore words are case sensitive.

", "GetCustomDataIdentifierResponse$Keywords" : "

An array that lists specific character sequences (keywords), one of which must precede and be within proximity (maximumMatchDistance) of the regular expression to match. Keywords aren't case sensitive.

", "GetFindingsRequest$FindingIds" : "

An array of strings that lists the unique identifiers for the findings to retrieve. You can specify as many as 50 unique identifiers in this array.

", - "ListFindingsResponse$FindingIds" : "

An array of strings, where each string is the unique identifier for a finding that meets the filter criteria specified in the request.

", + "ListFindingsResponse$FindingIds" : "

An array of strings, where each string is the unique identifier for a finding that matches the filter criteria specified in the request.

", "ListJobsFilterTerm$Values" : "

An array that lists one or more values to use to filter the results.

", "ReplicationDetails$ReplicationAccounts" : "

An array of Amazon Web Services account IDs, one for each Amazon Web Services account that the bucket is configured to replicate one or more objects to.

", "S3BucketDefinitionForJob$Buckets" : "

An array that lists the names of the buckets.

", "SearchResourcesSimpleCriterion$Values" : "

An array that lists one or more values to use in the condition. If you specify multiple values, Amazon Macie uses OR logic to join the values. Valid values for each supported property (key) are:

Values are case sensitive. Also, Macie doesn't support use of partial values or wildcard characters in values.

", + "SensitivityInspectionTemplateExcludes$ManagedDataIdentifierIds" : "

An array of unique identifiers, one for each managed data identifier to exclude. To retrieve a list of valid values, use the ListManagedDataIdentifiers operation.

", + "SensitivityInspectionTemplateIncludes$AllowListIds" : "

An array of unique identifiers, one for each allow list to include.

", + "SensitivityInspectionTemplateIncludes$CustomDataIdentifierIds" : "

An array of unique identifiers, one for each custom data identifier to include.

", + "SensitivityInspectionTemplateIncludes$ManagedDataIdentifierIds" : "

An array of unique identifiers, one for each managed data identifier to include.

Amazon Macie uses these managed data identifiers in addition to managed data identifiers that are subsequently released and recommended for automated sensitive data discovery. To retrieve a list of valid values for the managed data identifiers that are currently available, use the ListManagedDataIdentifiers operation.

", "SimpleCriterionForJob$Values" : "

An array that lists one or more values to use in the condition. If you specify multiple values, Amazon Macie uses OR logic to join the values. Valid values for each supported property (key) are:

Values are case sensitive. Also, Macie doesn't support use of partial values or wildcard characters in these values.

", "SimpleScopeTerm$Values" : "

An array that lists the values to use in the condition. If the value for the key property is OBJECT_EXTENSION or OBJECT_KEY, this array can specify multiple values and Amazon Macie uses OR logic to join the values. Otherwise, this array can specify only one value.

Valid values for each supported property (key) are:

Macie doesn't support use of wildcard characters in these values. Also, string values are case sensitive.

", "TestCustomDataIdentifierRequest$IgnoreWords" : "

An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression contains any string in this array, Amazon Macie ignores it. The array can contain as many as 10 ignore words. Each ignore word can contain 4-90 UTF-8 characters. Ignore words are case sensitive.

", "TestCustomDataIdentifierRequest$Keywords" : "

An array that lists specific character sequences (keywords), one of which must precede and be within proximity (maximumMatchDistance) of the regular expression to match. The array can contain as many as 50 keywords. Each keyword can contain 3-90 UTF-8 characters. Keywords aren't case sensitive.

", - "UsageStatisticsFilter$Values" : "

An array that lists values to use in the condition, based on the value for the field specified by the key property. If the value for the key property is accountId, this array can specify multiple values. Otherwise, this array can specify only one value.

Valid values for each supported field are:

" + "UsageStatisticsFilter$Values" : "

An array that lists values to use in the condition, based on the value for the field specified by the key property. If the value for the key property is accountId, this array can specify multiple values. Otherwise, this array can specify only one value.

Valid values for each supported field are:

" } }, "__long" : { @@ -1946,8 +2210,8 @@ "BucketCountBySharedAccessType$Internal" : "

The total number of buckets that are shared with an Amazon Web Services account that's part of the same Amazon Macie organization.

", "BucketCountBySharedAccessType$NotShared" : "

The total number of buckets that aren't shared with other Amazon Web Services accounts.

", "BucketCountBySharedAccessType$Unknown" : "

The total number of buckets that Amazon Macie wasn't able to evaluate shared access settings for. Macie can't determine whether these buckets are shared with other Amazon Web Services accounts.

", - "BucketCountPolicyAllowsUnencryptedObjectUploads$AllowsUnencryptedObjectUploads" : "

The total number of buckets that don't have a bucket policy or have a bucket policy that doesn't require server-side encryption of new objects. If a bucket policy exists, the policy doesn't require PutObject requests to include the x-amz-server-side-encryption header and it doesn't require the value for that header to be AES256 or aws:kms.

", - "BucketCountPolicyAllowsUnencryptedObjectUploads$DeniesUnencryptedObjectUploads" : "

The total number of buckets whose bucket policies require server-side encryption of new objects. PutObject requests for these buckets must include the x-amz-server-side-encryption header and the value for that header must be AES256 or aws:kms.

", + "BucketCountPolicyAllowsUnencryptedObjectUploads$AllowsUnencryptedObjectUploads" : "

The total number of buckets that don't have a bucket policy or have a bucket policy that doesn't require server-side encryption of new objects. If a bucket policy exists, the policy doesn't require PutObject requests to include a valid server-side encryption header: the x-amz-server-side-encryption header with a value of AES256 or aws:kms, or the x-amz-server-side-encryption-customer-algorithm header with a value of AES256.

", + "BucketCountPolicyAllowsUnencryptedObjectUploads$DeniesUnencryptedObjectUploads" : "

The total number of buckets whose bucket policies require server-side encryption of new objects. PutObject requests for these buckets must include a valid server-side encryption header: the x-amz-server-side-encryption header with a value of AES256 or aws:kms, or the x-amz-server-side-encryption-customer-algorithm header with a value of AES256.

", "BucketCountPolicyAllowsUnencryptedObjectUploads$Unknown" : "

The total number of buckets that Amazon Macie wasn't able to evaluate server-side encryption requirements for. Macie can't determine whether the bucket policies for these buckets require server-side encryption of new objects.

", "BucketCriteriaAdditionalProperties$Gt" : "

The value for the property is greater than the specified value.

", "BucketCriteriaAdditionalProperties$Gte" : "

The value for the property is greater than or equal to the specified value.

", @@ -1968,13 +2232,14 @@ "CustomDataIdentifiers$TotalCount" : "

The total number of occurrences of the data that was detected by the custom data identifiers and produced the finding.

", "CustomDetection$Count" : "

The total number of occurrences of the sensitive data that the custom data identifier detected.

", "DefaultDetection$Count" : "

The total number of occurrences of the type of sensitive data that was detected.

", - "Finding$Count" : "

The total number of occurrences of the finding. For sensitive data findings, this value is always 1. All sensitive data findings are considered new (unique) because they derive from individual classification jobs.

", + "Detection$Count" : "

The total number of occurrences of the sensitive data.

", + "Finding$Count" : "

The total number of occurrences of the finding. For sensitive data findings, this value is always 1. All sensitive data findings are considered unique.

", "GetBucketStatisticsResponse$BucketCount" : "

The total number of buckets.

", "GetBucketStatisticsResponse$ClassifiableObjectCount" : "

The total number of objects that Amazon Macie can analyze in the buckets. These objects use a supported storage class and have a file name extension for a supported file or storage format.

", - "GetBucketStatisticsResponse$ClassifiableSizeInBytes" : "

The total storage size, in bytes, of all the objects that Amazon Macie can analyze in the buckets. These objects use a supported storage class and have a file name extension for a supported file or storage format.

If versioning is enabled for any of the buckets, Macie calculates this value based on the size of the latest version of each applicable object in those buckets. This value doesn't reflect the storage size of all versions of all applicable objects in the buckets.

", + "GetBucketStatisticsResponse$ClassifiableSizeInBytes" : "

The total storage size, in bytes, of all the objects that Amazon Macie can analyze in the buckets. These objects use a supported storage class and have a file name extension for a supported file or storage format.

If versioning is enabled for any of the buckets, this value is based on the size of the latest version of each applicable object in the buckets. This value doesn't reflect the storage size of all versions of all applicable objects in the buckets.

", "GetBucketStatisticsResponse$ObjectCount" : "

The total number of objects in the buckets.

", - "GetBucketStatisticsResponse$SizeInBytes" : "

The total storage size, in bytes, of the buckets.

If versioning is enabled for any of the buckets, Amazon Macie calculates this value based on the size of the latest version of each object in those buckets. This value doesn't reflect the storage size of all versions of the objects in the buckets.

", - "GetBucketStatisticsResponse$SizeInBytesCompressed" : "

The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the buckets.

If versioning is enabled for any of the buckets, Amazon Macie calculates this value based on the size of the latest version of each applicable object in those buckets. This value doesn't reflect the storage size of all versions of the applicable objects in the buckets.

", + "GetBucketStatisticsResponse$SizeInBytes" : "

The total storage size, in bytes, of the buckets.

If versioning is enabled for any of the buckets, this value is based on the size of the latest version of each object in the buckets. This value doesn't reflect the storage size of all versions of the objects in the buckets.

", + "GetBucketStatisticsResponse$SizeInBytesCompressed" : "

The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the buckets.

If versioning is enabled for any of the buckets, this value is based on the size of the latest version of each applicable object in the buckets. This value doesn't reflect the storage size of all versions of the applicable objects in the buckets.

", "GetInvitationsCountResponse$InvitationsCount" : "

The total number of invitations that were received by the account, not including the currently accepted invitation.

", "GroupCount$Count" : "

The total number of findings in the group of query results.

", "MatchingBucket$ClassifiableObjectCount" : "

The total number of objects that Amazon Macie can analyze in the bucket. These objects use a supported storage class and have a file name extension for a supported file or storage format.

", @@ -1995,8 +2260,21 @@ "Range$Start" : "

The number of lines from the beginning of the file to the beginning of the sensitive data.

", "Range$StartColumn" : "

The number of characters, with spaces and starting from 1, from the beginning of the first line that contains the sensitive data (start) to the beginning of the sensitive data.

", "Record$RecordIndex" : "

For an Avro object container or Parquet file, the record index, starting from 0, for the record that contains the sensitive data. For a JSON Lines file, the line index, starting from 0, for the line that contains the sensitive data. This value is always 0 for JSON files.

", + "ResourceStatistics$TotalBytesClassified" : "

The total amount of data, in bytes, that Amazon Macie has analyzed in the bucket.

", + "ResourceStatistics$TotalDetections" : "

The total number of occurrences of sensitive data that Amazon Macie has found in the bucket's objects. This includes occurrences that are currently suppressed by the sensitivity scoring settings for the bucket (totalDetectionsSuppressed).

", + "ResourceStatistics$TotalDetectionsSuppressed" : "

The total number of occurrences of sensitive data that are currently suppressed by the sensitivity scoring settings for the bucket. These represent occurrences of sensitive data that Amazon Macie found in the bucket's objects, but the occurrences were manually suppressed. By default, suppressed occurrences are excluded from the bucket's sensitivity score.

", + "ResourceStatistics$TotalItemsClassified" : "

The total number of objects that Amazon Macie has analyzed in the bucket.

", + "ResourceStatistics$TotalItemsSensitive" : "

The total number of the bucket's objects that Amazon Macie has found sensitive data in.

", + "ResourceStatistics$TotalItemsSkipped" : "

The total number of objects that Amazon Macie hasn't analyzed in the bucket due to an error or issue. For example, the object is a malformed file. This value includes objects that Macie hasn't analyzed for reasons reported by other statistics in the ResourceStatistics object.

", + "ResourceStatistics$TotalItemsSkippedInvalidEncryption" : "

The total number of objects that Amazon Macie hasn't analyzed in the bucket because the objects are encrypted with a key that Macie isn't allowed to use.

", + "ResourceStatistics$TotalItemsSkippedInvalidKms" : "

The total number of objects that Amazon Macie hasn't analyzed in the bucket because the objects are encrypted with an KMS key that was disabled or deleted.

", + "ResourceStatistics$TotalItemsSkippedPermissionDenied" : "

The total number of objects that Amazon Macie hasn't analyzed in the bucket because Macie isn't allowed to access the objects.

", "S3Object$Size" : "

The total storage size, in bytes, of the object.

", "SensitiveDataItem$TotalCount" : "

The total number of occurrences of the sensitive data that was detected.

", + "SensitivityAggregations$ClassifiableSizeInBytes" : "

The total storage size, in bytes, of all the objects that Amazon Macie can analyze in the buckets. These objects use a supported storage class and have a file name extension for a supported file or storage format.

If versioning is enabled for any of the buckets, this value is based on the size of the latest version of each applicable object in the buckets. This value doesn't reflect the storage size of all versions of all applicable objects in the buckets.

", + "SensitivityAggregations$PubliclyAccessibleCount" : "

The total number of buckets that are publicly accessible based on a combination of permissions settings for each bucket.

", + "SensitivityAggregations$TotalCount" : "

The total number of buckets.

", + "SensitivityAggregations$TotalSizeInBytes" : "

The total storage size, in bytes, of the buckets.

If versioning is enabled for any of the buckets, this value is based on the size of the latest version of each object in the buckets. This value doesn't reflect the storage size of all versions of the objects in the buckets.

", "ServiceLimit$Value" : "

The value for the metric specified by the UsageByAccount.type field in the response.

", "Severity$Score" : "

The numerical representation of the finding's severity, ranging from 1 (least severe) to 3 (most severe).

", "SeverityLevel$OccurrencesThreshold" : "

The minimum number of occurrences of text that must match the custom data identifier's detection criteria in order to produce a finding with the specified severity (severity).

" @@ -2032,12 +2310,12 @@ "BucketMetadata$ErrorMessage" : "

A brief description of the error (errorCode) that prevented Amazon Macie from retrieving and processing information about the bucket and the bucket's objects. This value is null if Macie was able to retrieve and process the information.

", "BucketMetadata$Region" : "

The Amazon Web Services Region that hosts the bucket.

", "BucketServerSideEncryption$KmsMasterKeyId" : "

The Amazon Resource Name (ARN) or unique identifier (key ID) for the KMS key that's used by default to encrypt objects that are added to the bucket. This value is null if the bucket uses an Amazon S3 managed key to encrypt new objects or the bucket doesn't encrypt new objects by default.

", - "BucketSortCriteria$AttributeName" : "

The name of the bucket property to sort the results by. This value can be one of the following properties that Amazon Macie defines as bucket metadata: accountId, bucketName, classifiableObjectCount, classifiableSizeInBytes, objectCount, or sizeInBytes.

", + "BucketSortCriteria$AttributeName" : "

The name of the bucket property to sort the results by. This value can be one of the following properties that Amazon Macie defines as bucket metadata: accountId, bucketName, classifiableObjectCount, classifiableSizeInBytes, objectCount, sensitivityScore, or sizeInBytes.

", "Cell$CellReference" : "

The location of the cell, as an absolute cell reference, that contains the sensitive data, for example Sheet2!C5 for cell C5 on Sheet2 in a Microsoft Excel workbook. This value is null for CSV and TSV files.

", "Cell$ColumnName" : "

The name of the column that contains the sensitive data, if available.

", - "ClassificationDetails$DetailedResultsLocation" : "

The path to the folder or file (in Amazon S3) that contains the corresponding sensitive data discovery result for the finding. If a finding applies to a large archive or compressed file, this value is the path to a folder. Otherwise, this value is the path to a file.

", - "ClassificationDetails$JobArn" : "

The Amazon Resource Name (ARN) of the classification job that produced the finding.

", - "ClassificationDetails$JobId" : "

The unique identifier for the classification job that produced the finding.

", + "ClassificationDetails$DetailedResultsLocation" : "

The path to the folder or file in Amazon S3 that contains the corresponding sensitive data discovery result for the finding. If a finding applies to a large archive or compressed file, this value is the path to a folder. Otherwise, this value is the path to a file.

", + "ClassificationDetails$JobArn" : "

The Amazon Resource Name (ARN) of the classification job that produced the finding. This value is null if the origin of the finding (originType) is AUTOMATED_SENSITIVE_DATA_DISCOVERY.

", + "ClassificationDetails$JobId" : "

The unique identifier for the classification job that produced the finding. This value is null if the origin of the finding (originType) is AUTOMATED_SENSITIVE_DATA_DISCOVERY.

", "ClassificationResult$MimeType" : "

The type of content, as a MIME type, that the finding applies to. For example, application/gzip, for a GNU Gzip compressed archive file, or application/pdf, for an Adobe Portable Document Format file.

", "ClassificationResultStatus$Code" : "

The status of the finding. Possible values are:

", "ClassificationResultStatus$Reason" : "

A brief description of the status of the finding. This value is null if the status (code) of the finding is COMPLETE.

Amazon Macie uses this value to notify you of any errors, warnings, or considerations that might impact your analysis of the finding and the affected S3 object. Possible values are:

For information about sensitive data discovery quotas for files, see Amazon Macie quotas in the Amazon Macie User Guide.

", @@ -2074,6 +2352,9 @@ "DescribeClassificationJobResponse$JobArn" : "

The Amazon Resource Name (ARN) of the job.

", "DescribeClassificationJobResponse$JobId" : "

The unique identifier for the job.

", "DescribeClassificationJobResponse$Name" : "

The custom name of the job.

", + "Detection$Arn" : "

If the sensitive data was detected by a custom data identifier, the Amazon Resource Name (ARN) of the custom data identifier that detected the data. Otherwise, this value is null.

", + "Detection$Id" : "

The unique identifier for the custom data identifier or managed data identifier that detected the sensitive data. For additional details about a specified managed data identifier, see Using managed data identifiers in the Amazon Macie User Guide.

", + "Detection$Name" : "

The name of the custom data identifier or managed data identifier that detected the sensitive data. For a managed data identifier, this value is the same as the unique identifier (id).

", "DomainDetails$DomainName" : "

The name of the domain.

", "EnableMacieRequest$ClientToken" : "

A unique, case-sensitive token that you provide to ensure the idempotency of the request.

", "EnableOrganizationAdminAccountRequest$AdminAccountId" : "

The Amazon Web Services account ID for the account to designate as the delegated Amazon Macie administrator account for the organization.

", @@ -2109,6 +2390,8 @@ "GetMemberResponse$Email" : "

The email address for the account.

", "GetMemberResponse$MasterAccountId" : "

(Deprecated) The Amazon Web Services account ID for the administrator account. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility.

", "GetSensitiveDataOccurrencesResponse$Error" : "

If an error occurred when Amazon Macie attempted to retrieve occurrences of sensitive data reported by the finding, a description of the error that occurred. This value is null if the status (status) of the request is PROCESSING or SUCCESS.

", + "GetSensitivityInspectionTemplateResponse$Description" : "

The custom description of the template.

", + "GetSensitivityInspectionTemplateResponse$Name" : "

The name of the template.

", "GetUsageStatisticsRequest$NextToken" : "

The nextToken string that specifies which page of results to return in a paginated response.

", "GetUsageStatisticsResponse$NextToken" : "

The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

", "GroupCount$GroupKey" : "

The name of the property that defines the group in the query results, as specified by the groupBy property in the query request.

", @@ -2145,6 +2428,9 @@ "ListManagedDataIdentifiersResponse$NextToken" : "

The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

", "ListMembersResponse$NextToken" : "

The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

", "ListOrganizationAdminAccountsResponse$NextToken" : "

The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

", + "ListResourceProfileArtifactsResponse$NextToken" : "

The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

", + "ListResourceProfileDetectionsResponse$NextToken" : "

The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

", + "ListSensitivityInspectionTemplatesResponse$NextToken" : "

The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

", "ManagedDataIdentifierSummary$Id" : "

The unique identifier for the managed data identifier. This is a string that describes the type of sensitive data that the managed data identifier detects. For example: OPENSSH_PRIVATE_KEY for OpenSSH private keys, CREDIT_CARD_NUMBER for credit card numbers, or USA_PASSPORT_NUMBER for US passport numbers.

", "MatchingBucket$AccountId" : "

The unique identifier for the Amazon Web Services account that owns the bucket.

", "MatchingBucket$BucketName" : "

The name of the bucket.

", @@ -2157,6 +2443,8 @@ "PutFindingsPublicationConfigurationRequest$ClientToken" : "

A unique, case-sensitive token that you provide to ensure the idempotency of the request.

", "Record$JsonPath" : "

The path, as a JSONPath expression, to the sensitive data. For an Avro object container or Parquet file, this is the path to the field in the record (recordIndex) that contains the data. For a JSON or JSON Lines file, this is the path to the field or array that contains the data. If the data is a value in an array, the path also indicates which value contains the data.

If Amazon Macie detects sensitive data in the name of any element in the path, Macie omits this field. If the name of an element exceeds 20 characters, Macie truncates the name by removing characters from the beginning of the name. If the resulting full path exceeds 250 characters, Macie also truncates the path, starting with the first element in the path, until the path contains 250 or fewer characters.

", "ResourceNotFoundException$Message" : "

The explanation of the error that occurred.

", + "ResourceProfileArtifact$Arn" : "

The Amazon Resource Name (ARN) of the object.

", + "ResourceProfileArtifact$ClassificationResultStatus" : "

The status of the analysis. Possible values are:

", "S3Bucket$Arn" : "

The Amazon Resource Name (ARN) of the bucket.

", "S3Bucket$Name" : "

The name of the bucket.

", "S3BucketDefinitionForJob$AccountId" : "

The unique identifier for the Amazon Web Services account that owns the buckets.

", @@ -2175,6 +2463,8 @@ "SearchResourcesResponse$NextToken" : "

The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

", "SearchResourcesTagCriterionPair$Key" : "

The value for the tag key to use in the condition.

", "SearchResourcesTagCriterionPair$Value" : "

The tag value to use in the condition.

", + "SensitivityInspectionTemplatesEntry$Id" : "

The unique identifier for the sensitivity inspection template for the account.

", + "SensitivityInspectionTemplatesEntry$Name" : "

The name of the sensitivity inspection template for the account.

", "ServerSideEncryption$KmsMasterKeyId" : "

The Amazon Resource Name (ARN) or unique identifier (key ID) for the KMS key that's used to encrypt data in the bucket or the object. This value is null if an KMS key isn't used to encrypt the data.

", "ServiceQuotaExceededException$Message" : "

The explanation of the error that occurred.

", "SessionIssuer$AccountId" : "

The unique identifier for the Amazon Web Services account that owns the entity that was used to get the credentials.

", @@ -2183,6 +2473,7 @@ "SessionIssuer$Type" : "

The source of the temporary security credentials, such as Root, IAMUser, or Role.

", "SessionIssuer$UserName" : "

The name or alias of the user or role that issued the session. This value is null if the credentials were obtained from a root account that doesn't have an alias.

", "SortCriteria$AttributeName" : "

The name of the property to sort the results by. This value can be the name of any property that Amazon Macie defines for a finding.

", + "SuppressDataIdentifier$Id" : "

The unique identifier for the custom data identifier or managed data identifier that detected the type of sensitive data to exclude or include in the score.

", "TagCriterionPairForJob$Key" : "

The value for the tag key to use in the condition.

", "TagCriterionPairForJob$Value" : "

The tag value to use in the condition.

", "TagMap$member" : null, @@ -2200,6 +2491,7 @@ "UpdateFindingsFilterRequest$Name" : "

A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64 characters.

We strongly recommend that you avoid including any sensitive data in the name of a filter. Other users might be able to see this name, depending on the actions that they're allowed to perform in Amazon Macie.

", "UpdateFindingsFilterResponse$Arn" : "

The Amazon Resource Name (ARN) of the filter that was updated.

", "UpdateFindingsFilterResponse$Id" : "

The unique identifier for the filter that was updated.

", + "UpdateSensitivityInspectionTemplateRequest$Description" : "

A custom description of the template.

", "UsageByAccount$EstimatedCost" : "

The estimated value for the metric.

", "UsageRecord$AccountId" : "

The unique identifier for the Amazon Web Services account that the data applies to.

", "UsageTotal$EstimatedCost" : "

The estimated value for the metric.

", @@ -2281,13 +2573,14 @@ "ApiCallDetails$FirstSeen" : "

The first date and time, in UTC and extended ISO 8601 format, when any operation was invoked and produced the finding.

", "ApiCallDetails$LastSeen" : "

The most recent date and time, in UTC and extended ISO 8601 format, when the specified operation (api) was invoked and produced the finding.

", "BatchGetCustomDataIdentifierSummary$CreatedAt" : "

The date and time, in UTC and extended ISO 8601 format, when the custom data identifier was created.

", - "BucketMetadata$BucketCreatedAt" : "

The date and time, in UTC and extended ISO 8601 format, when the bucket was created.

", + "BucketMetadata$BucketCreatedAt" : "

The date and time, in UTC and extended ISO 8601 format, when the bucket was created, or changes such as edits to the bucket's policy were most recently made to the bucket.

", + "BucketMetadata$LastAutomatedDiscoveryTime" : "

The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently performed automated sensitive data discovery for the bucket. This value is null if automated sensitive data discovery is currently disabled for your account.

", "BucketMetadata$LastUpdated" : "

The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently retrieved both bucket and object metadata from Amazon S3 for the bucket.

", "CustomDataIdentifierSummary$CreatedAt" : "

The date and time, in UTC and extended ISO 8601 format, when the custom data identifier was created.

", "DescribeClassificationJobResponse$CreatedAt" : "

The date and time, in UTC and extended ISO 8601 format, when the job was created.

", "DescribeClassificationJobResponse$LastRunTime" : "

The date and time, in UTC and extended ISO 8601 format, when the job started. If the job is a recurring job, this value indicates when the most recent run started or, if the job hasn't run yet, when the job was created.

", - "Finding$CreatedAt" : "

The date and time, in UTC and extended ISO 8601 format, when the finding was created.

", - "Finding$UpdatedAt" : "

The date and time, in UTC and extended ISO 8601 format, when the finding was last updated. For sensitive data findings, this value is the same as the value for the createdAt property. All sensitive data findings are considered new (unique) because they derive from individual classification jobs.

", + "Finding$CreatedAt" : "

The date and time, in UTC and extended ISO 8601 format, when Amazon Macie created the finding.

", + "Finding$UpdatedAt" : "

The date and time, in UTC and extended ISO 8601 format, when Amazon Macie last updated the finding. For sensitive data findings, this value is the same as the value for the createdAt property. All sensitive data findings are considered new.

", "GetAllowListResponse$CreatedAt" : "

The date and time, in UTC and extended ISO 8601 format, when the allow list was created in Amazon Macie.

", "GetAllowListResponse$UpdatedAt" : "

The date and time, in UTC and extended ISO 8601 format, when the allow list's settings were most recently changed in Amazon Macie.

", "GetBucketStatisticsResponse$LastUpdated" : "

The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently retrieved both bucket and object metadata from Amazon S3 for the buckets.

", @@ -2296,18 +2589,21 @@ "GetMacieSessionResponse$UpdatedAt" : "

The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the Amazon Macie account.

", "GetMemberResponse$InvitedAt" : "

The date and time, in UTC and extended ISO 8601 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if an invitation hasn't been sent to the account.

", "GetMemberResponse$UpdatedAt" : "

The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the relationship between the account and the administrator account.

", + "GetResourceProfileResponse$ProfileUpdatedAt" : "

The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently recalculated sensitive data discovery statistics and details for the bucket. If the bucket's sensitivity score is calculated automatically, this includes the score.

", "Invitation$InvitedAt" : "

The date and time, in UTC and extended ISO 8601 format, when the invitation was sent.

", "JobDetails$LastJobRunTime" : "

The date and time, in UTC and extended ISO 8601 format, when the job (lastJobId) started. If the job is a recurring job, this value indicates when the most recent run started.

This value is typically null if the value for the isDefinedInJob property is FALSE or UNKNOWN.

", "JobSummary$CreatedAt" : "

The date and time, in UTC and extended ISO 8601 format, when the job was created.

", + "MatchingBucket$LastAutomatedDiscoveryTime" : "

The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently performed automated sensitive data discovery for the bucket. This value is null if automated sensitive data discovery is currently disabled for your account.

", "Member$InvitedAt" : "

The date and time, in UTC and extended ISO 8601 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if an invitation hasn't been sent to the account.

", "Member$UpdatedAt" : "

The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the relationship between the account and the administrator account.

", "S3Bucket$CreatedAt" : "

The date and time, in UTC and extended ISO 8601 format, when the bucket was created.

", "S3Object$LastModified" : "

The date and time, in UTC and extended ISO 8601 format, when the object was last modified.

", "SessionContextAttributes$CreationDate" : "

The date and time, in UTC and ISO 8601 format, when the credentials were issued.

", - "UsageRecord$FreeTrialStartDate" : "

The date and time, in UTC and extended ISO 8601 format, when the free trial started for the account.

", + "UsageRecord$AutomatedDiscoveryFreeTrialStartDate" : "

The date and time, in UTC and extended ISO 8601 format, when the free trial of automated sensitive data discovery started for the account. If the account is a member account in an organization, this value is the same as the value for the organization's Amazon Macie administrator account.

", + "UsageRecord$FreeTrialStartDate" : "

The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie free trial started for the account.

", "UserPausedDetails$JobExpiresAt" : "

The date and time, in UTC and extended ISO 8601 format, when the job or job run will expire and be cancelled if you don't resume it first.

", "UserPausedDetails$JobPausedAt" : "

The date and time, in UTC and extended ISO 8601 format, when you paused the job.

" } } } -} +} \ No newline at end of file diff --git a/models/apis/macie2/2020-01-01/endpoint-rule-set-1.json b/models/apis/macie2/2020-01-01/endpoint-rule-set-1.json new file mode 100644 index 00000000000..6f6f62d3c91 --- /dev/null +++ b/models/apis/macie2/2020-01-01/endpoint-rule-set-1.json @@ -0,0 +1,315 @@ +{ + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": true, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + }, + { + "fn": "parseURL", + "argv": [ + { + "ref": "Endpoint" + } + ], + "assign": "url" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://macie2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://macie2-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://macie2.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://macie2.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] +} \ No newline at end of file diff --git a/models/apis/macie2/2020-01-01/endpoint-tests-1.json b/models/apis/macie2/2020-01-01/endpoint-tests-1.json new file mode 100644 index 00000000000..f3d6996af25 --- /dev/null +++ b/models/apis/macie2/2020-01-01/endpoint-tests-1.json @@ -0,0 +1,1135 @@ +{ + "testCases": [ + { + "documentation": "For region ap-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.ap-south-1.api.aws" + } + }, + "params": { + "Region": "ap-south-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.ap-south-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-south-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2.ap-south-1.api.aws" + } + }, + "params": { + "Region": "ap-south-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2.ap-south-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-south-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.eu-south-1.api.aws" + } + }, + "params": { + "Region": "eu-south-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.eu-south-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-south-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2.eu-south-1.api.aws" + } + }, + "params": { + "Region": "eu-south-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2.eu-south-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-south-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.ca-central-1.api.aws" + } + }, + "params": { + "Region": "ca-central-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.ca-central-1.amazonaws.com" + } + }, + "params": { + "Region": "ca-central-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2.ca-central-1.api.aws" + } + }, + "params": { + "Region": "ca-central-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2.ca-central-1.amazonaws.com" + } + }, + "params": { + "Region": "ca-central-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.eu-central-1.api.aws" + } + }, + "params": { + "Region": "eu-central-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.eu-central-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-central-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2.eu-central-1.api.aws" + } + }, + "params": { + "Region": "eu-central-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2.eu-central-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-central-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.us-west-1.api.aws" + } + }, + "params": { + "Region": "us-west-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.us-west-1.amazonaws.com" + } + }, + "params": { + "Region": "us-west-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2.us-west-1.api.aws" + } + }, + "params": { + "Region": "us-west-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2.us-west-1.amazonaws.com" + } + }, + "params": { + "Region": "us-west-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.us-west-2.api.aws" + } + }, + "params": { + "Region": "us-west-2", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.us-west-2.amazonaws.com" + } + }, + "params": { + "Region": "us-west-2", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2.us-west-2.api.aws" + } + }, + "params": { + "Region": "us-west-2", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2.us-west-2.amazonaws.com" + } + }, + "params": { + "Region": "us-west-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region af-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.af-south-1.api.aws" + } + }, + "params": { + "Region": "af-south-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region af-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.af-south-1.amazonaws.com" + } + }, + "params": { + "Region": "af-south-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2.af-south-1.api.aws" + } + }, + "params": { + "Region": "af-south-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2.af-south-1.amazonaws.com" + } + }, + "params": { + "Region": "af-south-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.eu-north-1.api.aws" + } + }, + "params": { + "Region": "eu-north-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.eu-north-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-north-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2.eu-north-1.api.aws" + } + }, + "params": { + "Region": "eu-north-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2.eu-north-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-north-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.eu-west-3.api.aws" + } + }, + "params": { + "Region": "eu-west-3", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.eu-west-3.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-3", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2.eu-west-3.api.aws" + } + }, + "params": { + "Region": "eu-west-3", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2.eu-west-3.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-3", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.eu-west-2.api.aws" + } + }, + "params": { + "Region": "eu-west-2", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.eu-west-2.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-2", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2.eu-west-2.api.aws" + } + }, + "params": { + "Region": "eu-west-2", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2.eu-west-2.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.eu-west-1.api.aws" + } + }, + "params": { + "Region": "eu-west-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.eu-west-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2.eu-west-1.api.aws" + } + }, + "params": { + "Region": "eu-west-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2.eu-west-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.ap-northeast-3.api.aws" + } + }, + "params": { + "Region": "ap-northeast-3", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.ap-northeast-3.amazonaws.com" + } + }, + "params": { + "Region": "ap-northeast-3", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2.ap-northeast-3.api.aws" + } + }, + "params": { + "Region": "ap-northeast-3", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2.ap-northeast-3.amazonaws.com" + } + }, + "params": { + "Region": "ap-northeast-3", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.ap-northeast-2.api.aws" + } + }, + "params": { + "Region": "ap-northeast-2", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "Region": "ap-northeast-2", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2.ap-northeast-2.api.aws" + } + }, + "params": { + "Region": "ap-northeast-2", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "Region": "ap-northeast-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.ap-northeast-1.api.aws" + } + }, + "params": { + "Region": "ap-northeast-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-northeast-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2.ap-northeast-1.api.aws" + } + }, + "params": { + "Region": "ap-northeast-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-northeast-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region me-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.me-south-1.api.aws" + } + }, + "params": { + "Region": "me-south-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region me-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.me-south-1.amazonaws.com" + } + }, + "params": { + "Region": "me-south-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region me-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2.me-south-1.api.aws" + } + }, + "params": { + "Region": "me-south-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2.me-south-1.amazonaws.com" + } + }, + "params": { + "Region": "me-south-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region sa-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.sa-east-1.api.aws" + } + }, + "params": { + "Region": "sa-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region sa-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.sa-east-1.amazonaws.com" + } + }, + "params": { + "Region": "sa-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region sa-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2.sa-east-1.api.aws" + } + }, + "params": { + "Region": "sa-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2.sa-east-1.amazonaws.com" + } + }, + "params": { + "Region": "sa-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.ap-east-1.api.aws" + } + }, + "params": { + "Region": "ap-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.ap-east-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2.ap-east-1.api.aws" + } + }, + "params": { + "Region": "ap-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2.ap-east-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.ap-southeast-1.api.aws" + } + }, + "params": { + "Region": "ap-southeast-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-southeast-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2.ap-southeast-1.api.aws" + } + }, + "params": { + "Region": "ap-southeast-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-southeast-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.ap-southeast-2.api.aws" + } + }, + "params": { + "Region": "ap-southeast-2", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "Region": "ap-southeast-2", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2.ap-southeast-2.api.aws" + } + }, + "params": { + "Region": "ap-southeast-2", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "Region": "ap-southeast-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.us-east-2.api.aws" + } + }, + "params": { + "Region": "us-east-2", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2-fips.us-east-2.amazonaws.com" + } + }, + "params": { + "Region": "us-east-2", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://macie2.us-east-2.api.aws" + } + }, + "params": { + "Region": "us-east-2", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://macie2.us-east-2.amazonaws.com" + } + }, + "params": { + "Region": "us-east-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" +} \ No newline at end of file diff --git a/models/apis/macie2/2020-01-01/paginators-1.json b/models/apis/macie2/2020-01-01/paginators-1.json index 89c0cdcc0b2..b5f426a3c89 100644 --- a/models/apis/macie2/2020-01-01/paginators-1.json +++ b/models/apis/macie2/2020-01-01/paginators-1.json @@ -18,6 +18,11 @@ "limit_key": "maxResults", "result_key": "items" }, + "ListClassificationScopes": { + "input_token": "nextToken", + "output_token": "nextToken", + "result_key": "classificationScopes" + }, "ListCustomDataIdentifiers": { "input_token": "nextToken", "output_token": "nextToken", @@ -59,6 +64,34 @@ "output_token": "nextToken", "limit_key": "maxResults", "result_key": "matchingResources" + }, + "ListAllowLists": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "allowLists" + }, + "ListManagedDataIdentifiers": { + "input_token": "nextToken", + "output_token": "nextToken", + "result_key": "items" + }, + "ListResourceProfileDetections": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "detections" + }, + "ListSensitivityInspectionTemplates": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "sensitivityInspectionTemplates" + }, + "ListResourceProfileArtifacts": { + "input_token": "nextToken", + "output_token": "nextToken", + "result_key": "artifacts" } } } diff --git a/models/apis/quicksight/2018-04-01/api-2.json b/models/apis/quicksight/2018-04-01/api-2.json index 4ca659d178e..ca31386c16b 100644 --- a/models/apis/quicksight/2018-04-01/api-2.json +++ b/models/apis/quicksight/2018-04-01/api-2.json @@ -82,6 +82,7 @@ {"shape":"ResourceExistsException"}, {"shape":"ConflictException"}, {"shape":"UnsupportedUserEditionException"}, + {"shape":"LimitExceededException"}, {"shape":"InternalFailureException"} ] }, @@ -100,6 +101,7 @@ {"shape":"ResourceExistsException"}, {"shape":"ConflictException"}, {"shape":"UnsupportedUserEditionException"}, + {"shape":"LimitExceededException"}, {"shape":"InternalFailureException"} ] }, @@ -736,6 +738,25 @@ {"shape":"InternalFailureException"} ] }, + "DescribeAnalysisDefinition":{ + "name":"DescribeAnalysisDefinition", + "http":{ + "method":"GET", + "requestUri":"/accounts/{AwsAccountId}/analyses/{AnalysisId}/definition" + }, + "input":{"shape":"DescribeAnalysisDefinitionRequest"}, + "output":{"shape":"DescribeAnalysisDefinitionResponse"}, + "errors":[ + {"shape":"InvalidParameterValueException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceExistsException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ConflictException"}, + {"shape":"UnsupportedUserEditionException"}, + {"shape":"InternalFailureException"} + ] + }, "DescribeAnalysisPermissions":{ "name":"DescribeAnalysisPermissions", "http":{ @@ -769,6 +790,25 @@ {"shape":"InternalFailureException"} ] }, + "DescribeDashboardDefinition":{ + "name":"DescribeDashboardDefinition", + "http":{ + "method":"GET", + "requestUri":"/accounts/{AwsAccountId}/dashboards/{DashboardId}/definition" + }, + "input":{"shape":"DescribeDashboardDefinitionRequest"}, + "output":{"shape":"DescribeDashboardDefinitionResponse"}, + "errors":[ + {"shape":"InvalidParameterValueException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceExistsException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ConflictException"}, + {"shape":"UnsupportedUserEditionException"}, + {"shape":"InternalFailureException"} + ] + }, "DescribeDashboardPermissions":{ "name":"DescribeDashboardPermissions", "http":{ @@ -1037,6 +1077,25 @@ {"shape":"InternalFailureException"} ] }, + "DescribeTemplateDefinition":{ + "name":"DescribeTemplateDefinition", + "http":{ + "method":"GET", + "requestUri":"/accounts/{AwsAccountId}/templates/{TemplateId}/definition" + }, + "input":{"shape":"DescribeTemplateDefinitionRequest"}, + "output":{"shape":"DescribeTemplateDefinitionResponse"}, + "errors":[ + {"shape":"InvalidParameterValueException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceExistsException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ConflictException"}, + {"shape":"UnsupportedUserEditionException"}, + {"shape":"InternalFailureException"} + ] + }, "DescribeTemplatePermissions":{ "name":"DescribeTemplatePermissions", "http":{ @@ -1831,6 +1890,7 @@ {"shape":"ResourceNotFoundException"}, {"shape":"UnsupportedUserEditionException"}, {"shape":"ConflictException"}, + {"shape":"LimitExceededException"}, {"shape":"InternalFailureException"} ] }, @@ -1866,6 +1926,7 @@ {"shape":"ResourceNotFoundException"}, {"shape":"UnsupportedUserEditionException"}, {"shape":"ConflictException"}, + {"shape":"LimitExceededException"}, {"shape":"InternalFailureException"} ] }, @@ -2113,6 +2174,7 @@ {"shape":"ConflictException"}, {"shape":"ResourceNotFoundException"}, {"shape":"UnsupportedUserEditionException"}, + {"shape":"LimitExceededException"}, {"shape":"InternalFailureException"} ] }, @@ -2167,6 +2229,7 @@ {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"}, {"shape":"UnsupportedUserEditionException"}, + {"shape":"LimitExceededException"}, {"shape":"InternalFailureException"} ] }, @@ -2252,10 +2315,36 @@ }, "AdditionalDashboardIdList":{ "type":"list", - "member":{"shape":"RestrictiveResourceId"}, + "member":{"shape":"ShortRestrictiveResourceId"}, "max":20, "min":1 }, + "AggregationFunction":{ + "type":"structure", + "members":{ + "NumericalAggregationFunction":{"shape":"NumericalAggregationFunction"}, + "CategoricalAggregationFunction":{"shape":"CategoricalAggregationFunction"}, + "DateAggregationFunction":{"shape":"DateAggregationFunction"} + } + }, + "AggregationSortConfiguration":{ + "type":"structure", + "required":[ + "Column", + "SortDirection", + "AggregationFunction" + ], + "members":{ + "Column":{"shape":"ColumnIdentifier"}, + "SortDirection":{"shape":"SortDirection"}, + "AggregationFunction":{"shape":"AggregationFunction"} + } + }, + "AggregationSortConfigurationList":{ + "type":"list", + "member":{"shape":"AggregationSortConfiguration"}, + "max":100 + }, "AliasName":{ "type":"string", "max":2048, @@ -2279,7 +2368,7 @@ "Analysis":{ "type":"structure", "members":{ - "AnalysisId":{"shape":"RestrictiveResourceId"}, + "AnalysisId":{"shape":"ShortRestrictiveResourceId"}, "Arn":{"shape":"Arn"}, "Name":{"shape":"AnalysisName"}, "Status":{"shape":"ResourceStatus"}, @@ -2291,11 +2380,32 @@ "Sheets":{"shape":"SheetList"} } }, + "AnalysisDefaults":{ + "type":"structure", + "required":["DefaultNewSheetConfiguration"], + "members":{ + "DefaultNewSheetConfiguration":{"shape":"DefaultNewSheetConfiguration"} + } + }, + "AnalysisDefinition":{ + "type":"structure", + "required":["DataSetIdentifierDeclarations"], + "members":{ + "DataSetIdentifierDeclarations":{"shape":"DataSetIdentifierDeclarationList"}, + "Sheets":{"shape":"SheetDefinitionList"}, + "CalculatedFields":{"shape":"CalculatedFields"}, + "ParameterDeclarations":{"shape":"ParameterDeclarationList"}, + "FilterGroups":{"shape":"FilterGroupList"}, + "ColumnConfigurations":{"shape":"ColumnConfigurationList"}, + "AnalysisDefaults":{"shape":"AnalysisDefaults"} + } + }, "AnalysisError":{ "type":"structure", "members":{ "Type":{"shape":"AnalysisErrorType"}, - "Message":{"shape":"NonEmptyString"} + "Message":{"shape":"NonEmptyString"}, + "ViolatedEntities":{"shape":"EntityList"} } }, "AnalysisErrorList":{ @@ -2370,7 +2480,7 @@ "type":"structure", "members":{ "Arn":{"shape":"Arn"}, - "AnalysisId":{"shape":"RestrictiveResourceId"}, + "AnalysisId":{"shape":"ShortRestrictiveResourceId"}, "Name":{"shape":"AnalysisName"}, "Status":{"shape":"ResourceStatus"}, "CreatedTime":{"shape":"Timestamp"}, @@ -2382,11 +2492,22 @@ "member":{"shape":"AnalysisSummary"}, "max":100 }, + "AnchorDateConfiguration":{ + "type":"structure", + "members":{ + "AnchorOption":{"shape":"AnchorOption"}, + "ParameterName":{"shape":"ParameterName"} + } + }, + "AnchorOption":{ + "type":"string", + "enum":["NOW"] + }, "AnonymousUserDashboardEmbeddingConfiguration":{ "type":"structure", "required":["InitialDashboardId"], "members":{ - "InitialDashboardId":{"shape":"RestrictiveResourceId"} + "InitialDashboardId":{"shape":"ShortRestrictiveResourceId"} } }, "AnonymousUserDashboardVisualEmbeddingConfiguration":{ @@ -2411,6 +2532,59 @@ "InitialTopicId":{"shape":"RestrictiveResourceId"} } }, + "ArcAxisConfiguration":{ + "type":"structure", + "members":{ + "Range":{"shape":"ArcAxisDisplayRange"}, + "ReserveRange":{"shape":"Integer"} + } + }, + "ArcAxisDisplayRange":{ + "type":"structure", + "members":{ + "Min":{ + "shape":"Double", + "box":true + }, + "Max":{ + "shape":"Double", + "box":true + } + } + }, + "ArcConfiguration":{ + "type":"structure", + "members":{ + "ArcAngle":{ + "shape":"Double", + "box":true + }, + "ArcThickness":{"shape":"ArcThicknessOptions"} + } + }, + "ArcOptions":{ + "type":"structure", + "members":{ + "ArcThickness":{"shape":"ArcThickness"} + } + }, + "ArcThickness":{ + "type":"string", + "enum":[ + "SMALL", + "MEDIUM", + "LARGE", + "WHOLE" + ] + }, + "ArcThicknessOptions":{ + "type":"string", + "enum":[ + "SMALL", + "MEDIUM", + "LARGE" + ] + }, "Arn":{"type":"string"}, "ArnList":{ "type":"list", @@ -2482,338 +2656,400 @@ "DataSetName":{"shape":"DataSetName"} } }, - "Boolean":{"type":"boolean"}, - "BorderStyle":{ + "AxisBinding":{ + "type":"string", + "enum":[ + "PRIMARY_YAXIS", + "SECONDARY_YAXIS" + ] + }, + "AxisDataOptions":{ "type":"structure", "members":{ - "Show":{ - "shape":"boolean", + "NumericAxisOptions":{"shape":"NumericAxisOptions"}, + "DateAxisOptions":{"shape":"DateAxisOptions"} + } + }, + "AxisDisplayDataDrivenRange":{ + "type":"structure", + "members":{ + } + }, + "AxisDisplayMinMaxRange":{ + "type":"structure", + "members":{ + "Minimum":{ + "shape":"Double", + "box":true + }, + "Maximum":{ + "shape":"Double", "box":true } } }, - "CIDR":{ - "type":"string", - "pattern":"^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\\/(3[0-2]|[1-2][0-9]|[1-9]))$" + "AxisDisplayOptions":{ + "type":"structure", + "members":{ + "TickLabelOptions":{"shape":"AxisTickLabelOptions"}, + "AxisLineVisibility":{"shape":"Visibility"}, + "GridLineVisibility":{"shape":"Visibility"}, + "DataOptions":{"shape":"AxisDataOptions"}, + "ScrollbarOptions":{"shape":"ScrollBarOptions"}, + "AxisOffset":{"shape":"PixelLength"} + } }, - "CalculatedColumn":{ + "AxisDisplayRange":{ "type":"structure", - "required":[ - "ColumnName", - "ColumnId", - "Expression" - ], "members":{ - "ColumnName":{"shape":"ColumnName"}, - "ColumnId":{"shape":"ColumnId"}, - "Expression":{"shape":"Expression"} + "MinMax":{"shape":"AxisDisplayMinMaxRange"}, + "DataDriven":{"shape":"AxisDisplayDataDrivenRange"} } }, - "CalculatedColumnList":{ + "AxisLabelOptions":{ + "type":"structure", + "members":{ + "FontConfiguration":{"shape":"FontConfiguration"}, + "CustomLabel":{"shape":"String"}, + "ApplyTo":{"shape":"AxisLabelReferenceOptions"} + } + }, + "AxisLabelOptionsList":{ "type":"list", - "member":{"shape":"CalculatedColumn"}, - "max":128, - "min":1 + "member":{"shape":"AxisLabelOptions"}, + "max":100 }, - "CancelIngestionRequest":{ + "AxisLabelReferenceOptions":{ "type":"structure", "required":[ - "AwsAccountId", - "DataSetId", - "IngestionId" + "FieldId", + "Column" ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "DataSetId":{ - "shape":"String", - "location":"uri", - "locationName":"DataSetId" + "FieldId":{"shape":"FieldId"}, + "Column":{"shape":"ColumnIdentifier"} + } + }, + "AxisLinearScale":{ + "type":"structure", + "members":{ + "StepCount":{ + "shape":"Integer", + "box":true }, - "IngestionId":{ - "shape":"IngestionId", - "location":"uri", - "locationName":"IngestionId" + "StepSize":{ + "shape":"Double", + "box":true } } }, - "CancelIngestionResponse":{ + "AxisLogarithmicScale":{ "type":"structure", "members":{ - "Arn":{"shape":"Arn"}, - "IngestionId":{"shape":"IngestionId"}, - "RequestId":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" + "Base":{ + "shape":"Double", + "box":true } } }, - "CastColumnTypeOperation":{ + "AxisScale":{ "type":"structure", - "required":[ - "ColumnName", - "NewColumnType" - ], "members":{ - "ColumnName":{"shape":"ColumnName"}, - "NewColumnType":{"shape":"ColumnDataType"}, - "Format":{"shape":"TypeCastFormat"} + "Linear":{"shape":"AxisLinearScale"}, + "Logarithmic":{"shape":"AxisLogarithmicScale"} } }, - "Catalog":{ - "type":"string", - "max":128 - }, - "ClusterId":{ - "type":"string", - "max":64, - "min":1 + "AxisTickLabelOptions":{ + "type":"structure", + "members":{ + "LabelOptions":{"shape":"LabelOptions"}, + "RotationAngle":{ + "shape":"Double", + "box":true + } + } }, - "ColorList":{ - "type":"list", - "member":{"shape":"HexColor"}, - "max":100 + "BarChartAggregatedFieldWells":{ + "type":"structure", + "members":{ + "Category":{"shape":"DimensionFieldList"}, + "Values":{"shape":"MeasureFieldList"}, + "Colors":{"shape":"DimensionFieldList"}, + "SmallMultiples":{"shape":"SmallMultiplesDimensionFieldList"} + } }, - "ColumnDataType":{ - "type":"string", - "enum":[ - "STRING", - "INTEGER", - "DECIMAL", - "DATETIME" - ] + "BarChartConfiguration":{ + "type":"structure", + "members":{ + "FieldWells":{"shape":"BarChartFieldWells"}, + "SortConfiguration":{"shape":"BarChartSortConfiguration"}, + "Orientation":{"shape":"BarChartOrientation"}, + "BarsArrangement":{"shape":"BarsArrangement"}, + "VisualPalette":{"shape":"VisualPalette"}, + "SmallMultiplesOptions":{"shape":"SmallMultiplesOptions"}, + "CategoryAxis":{"shape":"AxisDisplayOptions"}, + "CategoryLabelOptions":{"shape":"ChartAxisLabelOptions"}, + "ValueAxis":{"shape":"AxisDisplayOptions"}, + "ValueLabelOptions":{"shape":"ChartAxisLabelOptions"}, + "ColorLabelOptions":{"shape":"ChartAxisLabelOptions"}, + "Legend":{"shape":"LegendOptions"}, + "DataLabels":{"shape":"DataLabelOptions"}, + "Tooltip":{"shape":"TooltipOptions"}, + "ReferenceLines":{"shape":"ReferenceLineList"}, + "ContributionAnalysisDefaults":{"shape":"ContributionAnalysisDefaultList"} + } }, - "ColumnDescription":{ + "BarChartFieldWells":{ "type":"structure", "members":{ - "Text":{"shape":"ColumnDescriptiveText"} + "BarChartAggregatedFieldWells":{"shape":"BarChartAggregatedFieldWells"} } }, - "ColumnDescriptiveText":{ + "BarChartOrientation":{ "type":"string", - "max":500, - "min":0 + "enum":[ + "HORIZONTAL", + "VERTICAL" + ] }, - "ColumnGroup":{ + "BarChartSortConfiguration":{ "type":"structure", "members":{ - "GeoSpatialColumnGroup":{"shape":"GeoSpatialColumnGroup"} + "CategorySort":{"shape":"FieldSortOptionsList"}, + "CategoryItemsLimit":{"shape":"ItemsLimitConfiguration"}, + "ColorSort":{"shape":"FieldSortOptionsList"}, + "ColorItemsLimit":{"shape":"ItemsLimitConfiguration"}, + "SmallMultiplesSort":{"shape":"FieldSortOptionsList"}, + "SmallMultiplesLimitConfiguration":{"shape":"ItemsLimitConfiguration"} } }, - "ColumnGroupColumnSchema":{ + "BarChartVisual":{ "type":"structure", + "required":["VisualId"], "members":{ - "Name":{"shape":"String"} + "VisualId":{"shape":"ShortRestrictiveResourceId"}, + "Title":{"shape":"VisualTitleLabelOptions"}, + "Subtitle":{"shape":"VisualSubtitleLabelOptions"}, + "ChartConfiguration":{"shape":"BarChartConfiguration"}, + "Actions":{"shape":"VisualCustomActionList"}, + "ColumnHierarchies":{"shape":"ColumnHierarchyList"} } }, - "ColumnGroupColumnSchemaList":{ - "type":"list", - "member":{"shape":"ColumnGroupColumnSchema"}, - "max":500 - }, - "ColumnGroupList":{ - "type":"list", - "member":{"shape":"ColumnGroup"}, - "max":8, - "min":1 + "BarsArrangement":{ + "type":"string", + "enum":[ + "CLUSTERED", + "STACKED", + "STACKED_PERCENT" + ] }, - "ColumnGroupName":{ + "BaseMapStyleType":{ "type":"string", - "max":64, - "min":1 + "enum":[ + "LIGHT_GRAY", + "DARK_GRAY", + "STREET", + "IMAGERY" + ] }, - "ColumnGroupSchema":{ + "BinCountLimit":{ + "type":"long", + "max":1000, + "min":0 + }, + "BinCountOptions":{ "type":"structure", "members":{ - "Name":{"shape":"String"}, - "ColumnGroupColumnSchemaList":{"shape":"ColumnGroupColumnSchemaList"} + "Value":{"shape":"BinCountValue"} } }, - "ColumnGroupSchemaList":{ - "type":"list", - "member":{"shape":"ColumnGroupSchema"}, - "max":500 + "BinCountValue":{ + "type":"integer", + "min":0 }, - "ColumnId":{ - "type":"string", - "max":64, - "min":1 + "BinWidthOptions":{ + "type":"structure", + "members":{ + "Value":{"shape":"BinWidthValue"}, + "BinCountLimit":{"shape":"BinCountLimit"} + } }, - "ColumnLevelPermissionRule":{ + "BinWidthValue":{ + "type":"double", + "min":0 + }, + "BodySectionConfiguration":{ "type":"structure", + "required":[ + "SectionId", + "Content" + ], "members":{ - "Principals":{"shape":"PrincipalList"}, - "ColumnNames":{"shape":"ColumnNameList"} + "SectionId":{"shape":"ShortRestrictiveResourceId"}, + "Content":{"shape":"BodySectionContent"}, + "Style":{"shape":"SectionStyle"}, + "PageBreakConfiguration":{"shape":"SectionPageBreakConfiguration"} } }, - "ColumnLevelPermissionRuleList":{ + "BodySectionConfigurationList":{ "type":"list", - "member":{"shape":"ColumnLevelPermissionRule"}, - "min":1 + "member":{"shape":"BodySectionConfiguration"}, + "max":28 }, - "ColumnList":{ - "type":"list", - "member":{"shape":"ColumnName"}, - "max":16, - "min":1 + "BodySectionContent":{ + "type":"structure", + "members":{ + "Layout":{"shape":"SectionLayoutConfiguration"} + } }, - "ColumnName":{ - "type":"string", - "max":128, - "min":1 + "Boolean":{"type":"boolean"}, + "BooleanObject":{"type":"boolean"}, + "BorderStyle":{ + "type":"structure", + "members":{ + "Show":{ + "shape":"Boolean", + "box":true + } + } }, - "ColumnNameList":{ - "type":"list", - "member":{"shape":"String"}, - "min":1 + "BoxPlotAggregatedFieldWells":{ + "type":"structure", + "members":{ + "GroupBy":{"shape":"BoxPlotDimensionFieldList"}, + "Values":{"shape":"BoxPlotMeasureFieldList"} + } }, - "ColumnSchema":{ + "BoxPlotChartConfiguration":{ "type":"structure", "members":{ - "Name":{"shape":"String"}, - "DataType":{"shape":"String"}, - "GeographicRole":{"shape":"String"} + "FieldWells":{"shape":"BoxPlotFieldWells"}, + "SortConfiguration":{"shape":"BoxPlotSortConfiguration"}, + "BoxPlotOptions":{"shape":"BoxPlotOptions"}, + "CategoryAxis":{"shape":"AxisDisplayOptions"}, + "CategoryLabelOptions":{"shape":"ChartAxisLabelOptions"}, + "PrimaryYAxisDisplayOptions":{"shape":"AxisDisplayOptions"}, + "PrimaryYAxisLabelOptions":{"shape":"ChartAxisLabelOptions"}, + "Legend":{"shape":"LegendOptions"}, + "Tooltip":{"shape":"TooltipOptions"}, + "ReferenceLines":{"shape":"ReferenceLineList"}, + "VisualPalette":{"shape":"VisualPalette"} } }, - "ColumnSchemaList":{ + "BoxPlotDimensionFieldList":{ "type":"list", - "member":{"shape":"ColumnSchema"}, - "max":500 + "member":{"shape":"DimensionField"}, + "max":1 }, - "ColumnTag":{ + "BoxPlotFieldWells":{ "type":"structure", "members":{ - "ColumnGeographicRole":{"shape":"GeoSpatialDataRole"}, - "ColumnDescription":{"shape":"ColumnDescription"} + "BoxPlotAggregatedFieldWells":{"shape":"BoxPlotAggregatedFieldWells"} } }, - "ColumnTagList":{ - "type":"list", - "member":{"shape":"ColumnTag"}, - "max":16, - "min":1 - }, - "ColumnTagName":{ + "BoxPlotFillStyle":{ "type":"string", "enum":[ - "COLUMN_GEOGRAPHIC_ROLE", - "COLUMN_DESCRIPTION" + "SOLID", + "TRANSPARENT" ] }, - "ColumnTagNames":{ + "BoxPlotMeasureFieldList":{ "type":"list", - "member":{"shape":"ColumnTagName"} + "member":{"shape":"MeasureField"}, + "max":5 }, - "ConcurrentUpdatingException":{ + "BoxPlotOptions":{ "type":"structure", "members":{ - "Message":{"shape":"String"}, - "RequestId":{"shape":"String"} - }, - "error":{"httpStatusCode":500}, - "exception":true + "StyleOptions":{"shape":"BoxPlotStyleOptions"}, + "OutlierVisibility":{"shape":"Visibility"}, + "AllDataPointsVisibility":{"shape":"Visibility"} + } }, - "ConflictException":{ + "BoxPlotSortConfiguration":{ "type":"structure", "members":{ - "Message":{"shape":"String"}, - "RequestId":{"shape":"String"} - }, - "error":{"httpStatusCode":409}, - "exception":true + "CategorySort":{"shape":"FieldSortOptionsList"}, + "PaginationConfiguration":{"shape":"PaginationConfiguration"} + } }, - "CopySourceArn":{ - "type":"string", - "pattern":"^arn:[-a-z0-9]*:quicksight:[-a-z0-9]*:[0-9]{12}:datasource/.+" + "BoxPlotStyleOptions":{ + "type":"structure", + "members":{ + "FillStyle":{"shape":"BoxPlotFillStyle"} + } }, - "CreateAccountCustomizationRequest":{ + "BoxPlotVisual":{ "type":"structure", - "required":[ - "AwsAccountId", - "AccountCustomization" - ], + "required":["VisualId"], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "Namespace":{ - "shape":"Namespace", - "location":"querystring", - "locationName":"namespace" - }, - "AccountCustomization":{"shape":"AccountCustomization"}, - "Tags":{"shape":"TagList"} + "VisualId":{"shape":"ShortRestrictiveResourceId"}, + "Title":{"shape":"VisualTitleLabelOptions"}, + "Subtitle":{"shape":"VisualSubtitleLabelOptions"}, + "ChartConfiguration":{"shape":"BoxPlotChartConfiguration"}, + "Actions":{"shape":"VisualCustomActionList"}, + "ColumnHierarchies":{"shape":"ColumnHierarchyList"} } }, - "CreateAccountCustomizationResponse":{ + "CIDR":{ + "type":"string", + "pattern":"^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\\/(3[0-2]|[1-2][0-9]|[1-9]))$" + }, + "CalculatedColumn":{ "type":"structure", + "required":[ + "ColumnName", + "ColumnId", + "Expression" + ], "members":{ - "Arn":{"shape":"Arn"}, - "AwsAccountId":{"shape":"AwsAccountId"}, - "Namespace":{"shape":"Namespace"}, - "AccountCustomization":{"shape":"AccountCustomization"}, - "RequestId":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - } + "ColumnName":{"shape":"ColumnName"}, + "ColumnId":{"shape":"ColumnId"}, + "Expression":{"shape":"Expression"} } }, - "CreateAccountSubscriptionRequest":{ + "CalculatedColumnList":{ + "type":"list", + "member":{"shape":"CalculatedColumn"}, + "max":128, + "min":1 + }, + "CalculatedField":{ "type":"structure", "required":[ - "Edition", - "AuthenticationMethod", - "AwsAccountId", - "AccountName", - "NotificationEmail" + "DataSetIdentifier", + "Name", + "Expression" ], "members":{ - "Edition":{"shape":"Edition"}, - "AuthenticationMethod":{"shape":"AuthenticationMethodOption"}, - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "AccountName":{"shape":"String"}, - "NotificationEmail":{"shape":"String"}, - "ActiveDirectoryName":{"shape":"String"}, - "Realm":{"shape":"String"}, - "DirectoryId":{"shape":"String"}, - "AdminGroup":{"shape":"GroupsList"}, - "AuthorGroup":{"shape":"GroupsList"}, - "ReaderGroup":{"shape":"GroupsList"}, - "FirstName":{"shape":"String"}, - "LastName":{"shape":"String"}, - "EmailAddress":{"shape":"String"}, - "ContactNumber":{"shape":"String"} + "DataSetIdentifier":{"shape":"DataSetIdentifier"}, + "Name":{"shape":"ColumnName"}, + "Expression":{"shape":"Expression"} } }, - "CreateAccountSubscriptionResponse":{ + "CalculatedFields":{ + "type":"list", + "member":{"shape":"CalculatedField"}, + "max":100 + }, + "CalculatedMeasureField":{ "type":"structure", + "required":[ + "FieldId", + "Expression" + ], "members":{ - "SignupResponse":{"shape":"SignupResponse"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - }, - "RequestId":{"shape":"String"} + "FieldId":{"shape":"FieldId"}, + "Expression":{"shape":"Expression"} } }, - "CreateAnalysisRequest":{ + "CancelIngestionRequest":{ "type":"structure", "required":[ "AwsAccountId", - "AnalysisId", - "Name", - "SourceEntity" + "DataSetId", + "IngestionId" ], "members":{ "AwsAccountId":{ @@ -2821,1644 +3057,6482 @@ "location":"uri", "locationName":"AwsAccountId" }, - "AnalysisId":{ - "shape":"RestrictiveResourceId", + "DataSetId":{ + "shape":"String", "location":"uri", - "locationName":"AnalysisId" + "locationName":"DataSetId" }, - "Name":{"shape":"AnalysisName"}, - "Parameters":{"shape":"Parameters"}, - "Permissions":{"shape":"ResourcePermissionList"}, - "SourceEntity":{"shape":"AnalysisSourceEntity"}, - "ThemeArn":{"shape":"Arn"}, - "Tags":{"shape":"TagList"} + "IngestionId":{ + "shape":"IngestionId", + "location":"uri", + "locationName":"IngestionId" + } } }, - "CreateAnalysisResponse":{ + "CancelIngestionResponse":{ "type":"structure", "members":{ "Arn":{"shape":"Arn"}, - "AnalysisId":{"shape":"RestrictiveResourceId"}, - "CreationStatus":{"shape":"ResourceStatus"}, + "IngestionId":{"shape":"IngestionId"}, + "RequestId":{"shape":"String"}, "Status":{ "shape":"StatusCode", "location":"statusCode" - }, - "RequestId":{"shape":"String"} + } } }, - "CreateColumnsOperation":{ + "CascadingControlConfiguration":{ "type":"structure", - "required":["Columns"], "members":{ - "Columns":{"shape":"CalculatedColumnList"} + "SourceControls":{"shape":"CascadingControlSourceList"} } }, - "CreateDashboardRequest":{ + "CascadingControlSource":{ "type":"structure", - "required":[ - "AwsAccountId", - "DashboardId", - "Name", - "SourceEntity" - ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "DashboardId":{ - "shape":"RestrictiveResourceId", - "location":"uri", - "locationName":"DashboardId" - }, - "Name":{"shape":"DashboardName"}, - "Parameters":{"shape":"Parameters"}, - "Permissions":{"shape":"ResourcePermissionList"}, - "SourceEntity":{"shape":"DashboardSourceEntity"}, - "Tags":{"shape":"TagList"}, - "VersionDescription":{"shape":"VersionDescription"}, - "DashboardPublishOptions":{"shape":"DashboardPublishOptions"}, - "ThemeArn":{"shape":"Arn"} + "SourceSheetControlId":{"shape":"String"}, + "ColumnToMatch":{"shape":"ColumnIdentifier"} } }, - "CreateDashboardResponse":{ + "CascadingControlSourceList":{ + "type":"list", + "member":{"shape":"CascadingControlSource"}, + "max":200 + }, + "CastColumnTypeOperation":{ "type":"structure", + "required":[ + "ColumnName", + "NewColumnType" + ], "members":{ - "Arn":{"shape":"Arn"}, - "VersionArn":{"shape":"Arn"}, - "DashboardId":{"shape":"RestrictiveResourceId"}, - "CreationStatus":{"shape":"ResourceStatus"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - }, - "RequestId":{"shape":"String"} + "ColumnName":{"shape":"ColumnName"}, + "NewColumnType":{"shape":"ColumnDataType"}, + "Format":{"shape":"TypeCastFormat"} } }, - "CreateDataSetRequest":{ + "Catalog":{ + "type":"string", + "max":128 + }, + "CategoricalAggregationFunction":{ + "type":"string", + "enum":[ + "COUNT", + "DISTINCT_COUNT" + ] + }, + "CategoricalDimensionField":{ "type":"structure", "required":[ - "AwsAccountId", - "DataSetId", - "Name", - "PhysicalTableMap", - "ImportMode" + "FieldId", + "Column" ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "DataSetId":{"shape":"ResourceId"}, - "Name":{"shape":"ResourceName"}, - "PhysicalTableMap":{"shape":"PhysicalTableMap"}, - "LogicalTableMap":{"shape":"LogicalTableMap"}, - "ImportMode":{"shape":"DataSetImportMode"}, - "ColumnGroups":{"shape":"ColumnGroupList"}, - "FieldFolders":{"shape":"FieldFolderMap"}, - "Permissions":{"shape":"ResourcePermissionList"}, - "RowLevelPermissionDataSet":{"shape":"RowLevelPermissionDataSet"}, - "RowLevelPermissionTagConfiguration":{"shape":"RowLevelPermissionTagConfiguration"}, - "ColumnLevelPermissionRules":{"shape":"ColumnLevelPermissionRuleList"}, - "Tags":{"shape":"TagList"}, - "DataSetUsageConfiguration":{"shape":"DataSetUsageConfiguration"} + "FieldId":{"shape":"FieldId"}, + "Column":{"shape":"ColumnIdentifier"}, + "HierarchyId":{"shape":"HierarchyId"}, + "FormatConfiguration":{"shape":"StringFormatConfiguration"} } }, - "CreateDataSetResponse":{ + "CategoricalMeasureField":{ "type":"structure", + "required":[ + "FieldId", + "Column" + ], "members":{ - "Arn":{"shape":"Arn"}, - "DataSetId":{"shape":"ResourceId"}, - "IngestionArn":{"shape":"Arn"}, - "IngestionId":{"shape":"ResourceId"}, - "RequestId":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - } + "FieldId":{"shape":"FieldId"}, + "Column":{"shape":"ColumnIdentifier"}, + "AggregationFunction":{"shape":"CategoricalAggregationFunction"}, + "FormatConfiguration":{"shape":"StringFormatConfiguration"} } }, - "CreateDataSourceRequest":{ + "CategoryDrillDownFilter":{ "type":"structure", "required":[ - "AwsAccountId", - "DataSourceId", - "Name", - "Type" + "Column", + "CategoryValues" ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "DataSourceId":{"shape":"ResourceId"}, - "Name":{"shape":"ResourceName"}, - "Type":{"shape":"DataSourceType"}, - "DataSourceParameters":{"shape":"DataSourceParameters"}, - "Credentials":{"shape":"DataSourceCredentials"}, - "Permissions":{"shape":"ResourcePermissionList"}, - "VpcConnectionProperties":{"shape":"VpcConnectionProperties"}, - "SslProperties":{"shape":"SslProperties"}, - "Tags":{"shape":"TagList"} + "Column":{"shape":"ColumnIdentifier"}, + "CategoryValues":{"shape":"CategoryValueList"} } }, - "CreateDataSourceResponse":{ + "CategoryFilter":{ "type":"structure", + "required":[ + "FilterId", + "Column" + ], "members":{ - "Arn":{"shape":"Arn"}, - "DataSourceId":{"shape":"ResourceId"}, - "CreationStatus":{"shape":"ResourceStatus"}, - "RequestId":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - } + "FilterId":{"shape":"ShortRestrictiveResourceId"}, + "Column":{"shape":"ColumnIdentifier"}, + "Configuration":{"shape":"CategoryFilterConfiguration"} } }, - "CreateFolderMembershipRequest":{ + "CategoryFilterConfiguration":{ "type":"structure", - "required":[ - "AwsAccountId", - "FolderId", - "MemberId", - "MemberType" - ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "FolderId":{ - "shape":"RestrictiveResourceId", - "location":"uri", - "locationName":"FolderId" - }, - "MemberId":{ - "shape":"RestrictiveResourceId", - "location":"uri", - "locationName":"MemberId" - }, - "MemberType":{ - "shape":"MemberType", - "location":"uri", - "locationName":"MemberType" - } + "FilterListConfiguration":{"shape":"FilterListConfiguration"}, + "CustomFilterListConfiguration":{"shape":"CustomFilterListConfiguration"}, + "CustomFilterConfiguration":{"shape":"CustomFilterConfiguration"} } }, - "CreateFolderMembershipResponse":{ + "CategoryFilterMatchOperator":{ + "type":"string", + "enum":[ + "EQUALS", + "DOES_NOT_EQUAL", + "CONTAINS", + "DOES_NOT_CONTAIN", + "STARTS_WITH", + "ENDS_WITH" + ] + }, + "CategoryFilterSelectAllOptions":{ + "type":"string", + "enum":["FILTER_ALL_VALUES"] + }, + "CategoryValue":{ + "type":"string", + "max":512 + }, + "CategoryValueList":{ + "type":"list", + "member":{"shape":"CategoryValue"}, + "max":100000 + }, + "ChartAxisLabelOptions":{ "type":"structure", "members":{ - "Status":{"shape":"StatusCode"}, - "FolderMember":{"shape":"FolderMember"}, - "RequestId":{"shape":"String"} + "Visibility":{"shape":"Visibility"}, + "SortIconVisibility":{"shape":"Visibility"}, + "AxisLabelOptions":{"shape":"AxisLabelOptionsList"} } }, - "CreateFolderRequest":{ + "ClusterId":{ + "type":"string", + "max":64, + "min":1 + }, + "ClusterMarker":{ "type":"structure", - "required":[ - "AwsAccountId", - "FolderId" - ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "FolderId":{ - "shape":"RestrictiveResourceId", - "location":"uri", - "locationName":"FolderId" - }, - "Name":{"shape":"FolderName"}, - "FolderType":{"shape":"FolderType"}, - "ParentFolderArn":{"shape":"Arn"}, - "Permissions":{"shape":"ResourcePermissionList"}, - "Tags":{"shape":"TagList"} + "SimpleClusterMarker":{"shape":"SimpleClusterMarker"} } }, - "CreateFolderResponse":{ + "ClusterMarkerConfiguration":{ "type":"structure", "members":{ - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - }, - "Arn":{"shape":"Arn"}, - "FolderId":{"shape":"RestrictiveResourceId"}, - "RequestId":{"shape":"String"} + "ClusterMarker":{"shape":"ClusterMarker"} } }, - "CreateGroupMembershipRequest":{ + "ColorFillType":{ + "type":"string", + "enum":[ + "DISCRETE", + "GRADIENT" + ] + }, + "ColorList":{ + "type":"list", + "member":{"shape":"HexColor"}, + "max":100 + }, + "ColorScale":{ "type":"structure", "required":[ - "MemberName", - "GroupName", - "AwsAccountId", - "Namespace" + "Colors", + "ColorFillType" ], "members":{ - "MemberName":{ - "shape":"GroupMemberName", - "location":"uri", - "locationName":"MemberName" - }, - "GroupName":{ - "shape":"GroupName", - "location":"uri", - "locationName":"GroupName" - }, - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "Namespace":{ - "shape":"Namespace", - "location":"uri", - "locationName":"Namespace" - } + "Colors":{"shape":"ColorScaleColorList"}, + "ColorFillType":{"shape":"ColorFillType"}, + "NullValueColor":{"shape":"DataColor"} } }, - "CreateGroupMembershipResponse":{ + "ColorScaleColorList":{ + "type":"list", + "member":{"shape":"DataColor"}, + "max":3, + "min":2 + }, + "ColumnConfiguration":{ "type":"structure", + "required":["Column"], "members":{ - "GroupMember":{"shape":"GroupMember"}, - "RequestId":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - } + "Column":{"shape":"ColumnIdentifier"}, + "FormatConfiguration":{"shape":"FormatConfiguration"}, + "Role":{"shape":"ColumnRole"} } }, - "CreateGroupRequest":{ + "ColumnConfigurationList":{ + "type":"list", + "member":{"shape":"ColumnConfiguration"}, + "max":200 + }, + "ColumnDataType":{ + "type":"string", + "enum":[ + "STRING", + "INTEGER", + "DECIMAL", + "DATETIME" + ] + }, + "ColumnDescription":{ "type":"structure", - "required":[ - "GroupName", - "AwsAccountId", - "Namespace" - ], "members":{ - "GroupName":{"shape":"GroupName"}, - "Description":{"shape":"GroupDescription"}, - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "Namespace":{ - "shape":"Namespace", - "location":"uri", - "locationName":"Namespace" - } + "Text":{"shape":"ColumnDescriptiveText"} } }, - "CreateGroupResponse":{ + "ColumnDescriptiveText":{ + "type":"string", + "max":500, + "min":0 + }, + "ColumnGroup":{ "type":"structure", "members":{ - "Group":{"shape":"Group"}, - "RequestId":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - } + "GeoSpatialColumnGroup":{"shape":"GeoSpatialColumnGroup"} } }, - "CreateIAMPolicyAssignmentRequest":{ + "ColumnGroupColumnSchema":{ "type":"structure", - "required":[ - "AwsAccountId", - "AssignmentName", - "AssignmentStatus", - "Namespace" - ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "AssignmentName":{"shape":"IAMPolicyAssignmentName"}, - "AssignmentStatus":{"shape":"AssignmentStatus"}, - "PolicyArn":{"shape":"Arn"}, - "Identities":{"shape":"IdentityMap"}, - "Namespace":{ - "shape":"Namespace", - "location":"uri", - "locationName":"Namespace" - } + "Name":{"shape":"String"} } }, - "CreateIAMPolicyAssignmentResponse":{ + "ColumnGroupColumnSchemaList":{ + "type":"list", + "member":{"shape":"ColumnGroupColumnSchema"}, + "max":500 + }, + "ColumnGroupList":{ + "type":"list", + "member":{"shape":"ColumnGroup"}, + "max":8, + "min":1 + }, + "ColumnGroupName":{ + "type":"string", + "max":64, + "min":1 + }, + "ColumnGroupSchema":{ "type":"structure", "members":{ - "AssignmentName":{"shape":"IAMPolicyAssignmentName"}, - "AssignmentId":{"shape":"String"}, - "AssignmentStatus":{"shape":"AssignmentStatus"}, - "PolicyArn":{"shape":"Arn"}, - "Identities":{"shape":"IdentityMap"}, - "RequestId":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - } + "Name":{"shape":"String"}, + "ColumnGroupColumnSchemaList":{"shape":"ColumnGroupColumnSchemaList"} } }, - "CreateIngestionRequest":{ + "ColumnGroupSchemaList":{ + "type":"list", + "member":{"shape":"ColumnGroupSchema"}, + "max":500 + }, + "ColumnHierarchy":{ + "type":"structure", + "members":{ + "ExplicitHierarchy":{"shape":"ExplicitHierarchy"}, + "DateTimeHierarchy":{"shape":"DateTimeHierarchy"}, + "PredefinedHierarchy":{"shape":"PredefinedHierarchy"} + } + }, + "ColumnHierarchyList":{ + "type":"list", + "member":{"shape":"ColumnHierarchy"}, + "max":2 + }, + "ColumnId":{ + "type":"string", + "max":64, + "min":1 + }, + "ColumnIdentifier":{ "type":"structure", "required":[ - "DataSetId", - "IngestionId", - "AwsAccountId" + "DataSetIdentifier", + "ColumnName" ], "members":{ - "DataSetId":{ - "shape":"String", - "location":"uri", - "locationName":"DataSetId" - }, - "IngestionId":{ - "shape":"IngestionId", - "location":"uri", - "locationName":"IngestionId" - }, - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "IngestionType":{"shape":"IngestionType"} + "DataSetIdentifier":{"shape":"DataSetIdentifier"}, + "ColumnName":{"shape":"ColumnName"} } }, - "CreateIngestionResponse":{ + "ColumnLevelPermissionRule":{ "type":"structure", "members":{ - "Arn":{"shape":"Arn"}, - "IngestionId":{"shape":"IngestionId"}, - "IngestionStatus":{"shape":"IngestionStatus"}, - "RequestId":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - } + "Principals":{"shape":"PrincipalList"}, + "ColumnNames":{"shape":"ColumnNameList"} } }, - "CreateNamespaceRequest":{ + "ColumnLevelPermissionRuleList":{ + "type":"list", + "member":{"shape":"ColumnLevelPermissionRule"}, + "min":1 + }, + "ColumnList":{ + "type":"list", + "member":{"shape":"ColumnName"}, + "max":16, + "min":1 + }, + "ColumnName":{ + "type":"string", + "max":128, + "min":1 + }, + "ColumnNameList":{ + "type":"list", + "member":{"shape":"String"}, + "min":1 + }, + "ColumnRole":{ + "type":"string", + "enum":[ + "DIMENSION", + "MEASURE" + ] + }, + "ColumnSchema":{ + "type":"structure", + "members":{ + "Name":{"shape":"String"}, + "DataType":{"shape":"String"}, + "GeographicRole":{"shape":"String"} + } + }, + "ColumnSchemaList":{ + "type":"list", + "member":{"shape":"ColumnSchema"}, + "max":500 + }, + "ColumnSort":{ "type":"structure", "required":[ - "AwsAccountId", - "Namespace", - "IdentityStore" + "SortBy", + "Direction" ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "Namespace":{"shape":"Namespace"}, - "IdentityStore":{"shape":"IdentityStore"}, - "Tags":{"shape":"TagList"} + "SortBy":{"shape":"ColumnIdentifier"}, + "Direction":{"shape":"SortDirection"}, + "AggregationFunction":{"shape":"AggregationFunction"} } }, - "CreateNamespaceResponse":{ + "ColumnTag":{ "type":"structure", "members":{ - "Arn":{"shape":"Arn"}, - "Name":{"shape":"Namespace"}, - "CapacityRegion":{"shape":"String"}, - "CreationStatus":{"shape":"NamespaceStatus"}, - "IdentityStore":{"shape":"IdentityStore"}, - "RequestId":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - } + "ColumnGeographicRole":{"shape":"GeoSpatialDataRole"}, + "ColumnDescription":{"shape":"ColumnDescription"} } }, - "CreateTemplateAliasRequest":{ + "ColumnTagList":{ + "type":"list", + "member":{"shape":"ColumnTag"}, + "max":16, + "min":1 + }, + "ColumnTagName":{ + "type":"string", + "enum":[ + "COLUMN_GEOGRAPHIC_ROLE", + "COLUMN_DESCRIPTION" + ] + }, + "ColumnTagNames":{ + "type":"list", + "member":{"shape":"ColumnTagName"} + }, + "ColumnTooltipItem":{ "type":"structure", - "required":[ - "AwsAccountId", - "TemplateId", - "AliasName", - "TemplateVersionNumber" - ], + "required":["Column"], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "TemplateId":{ - "shape":"RestrictiveResourceId", - "location":"uri", - "locationName":"TemplateId" - }, - "AliasName":{ - "shape":"AliasName", - "location":"uri", - "locationName":"AliasName" - }, - "TemplateVersionNumber":{"shape":"VersionNumber"} + "Column":{"shape":"ColumnIdentifier"}, + "Label":{"shape":"String"}, + "Visibility":{"shape":"Visibility"}, + "Aggregation":{"shape":"AggregationFunction"} } }, - "CreateTemplateAliasResponse":{ + "ComboChartAggregatedFieldWells":{ "type":"structure", "members":{ - "TemplateAlias":{"shape":"TemplateAlias"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - }, - "RequestId":{"shape":"String"} + "Category":{"shape":"DimensionFieldList"}, + "BarValues":{"shape":"MeasureFieldList"}, + "Colors":{"shape":"DimensionFieldList"}, + "LineValues":{"shape":"MeasureFieldList"} } }, - "CreateTemplateRequest":{ + "ComboChartConfiguration":{ "type":"structure", - "required":[ - "AwsAccountId", - "TemplateId", - "SourceEntity" - ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "TemplateId":{ - "shape":"RestrictiveResourceId", - "location":"uri", - "locationName":"TemplateId" - }, - "Name":{"shape":"TemplateName"}, - "Permissions":{"shape":"ResourcePermissionList"}, - "SourceEntity":{"shape":"TemplateSourceEntity"}, - "Tags":{"shape":"TagList"}, - "VersionDescription":{"shape":"VersionDescription"} + "FieldWells":{"shape":"ComboChartFieldWells"}, + "SortConfiguration":{"shape":"ComboChartSortConfiguration"}, + "BarsArrangement":{"shape":"BarsArrangement"}, + "CategoryAxis":{"shape":"AxisDisplayOptions"}, + "CategoryLabelOptions":{"shape":"ChartAxisLabelOptions"}, + "PrimaryYAxisDisplayOptions":{"shape":"AxisDisplayOptions"}, + "PrimaryYAxisLabelOptions":{"shape":"ChartAxisLabelOptions"}, + "SecondaryYAxisDisplayOptions":{"shape":"AxisDisplayOptions"}, + "SecondaryYAxisLabelOptions":{"shape":"ChartAxisLabelOptions"}, + "ColorLabelOptions":{"shape":"ChartAxisLabelOptions"}, + "Legend":{"shape":"LegendOptions"}, + "BarDataLabels":{"shape":"DataLabelOptions"}, + "LineDataLabels":{"shape":"DataLabelOptions"}, + "Tooltip":{"shape":"TooltipOptions"}, + "ReferenceLines":{"shape":"ReferenceLineList"}, + "VisualPalette":{"shape":"VisualPalette"} } }, - "CreateTemplateResponse":{ + "ComboChartFieldWells":{ "type":"structure", "members":{ - "Arn":{"shape":"Arn"}, - "VersionArn":{"shape":"Arn"}, - "TemplateId":{"shape":"RestrictiveResourceId"}, - "CreationStatus":{"shape":"ResourceStatus"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - }, - "RequestId":{"shape":"String"} + "ComboChartAggregatedFieldWells":{"shape":"ComboChartAggregatedFieldWells"} } }, - "CreateThemeAliasRequest":{ + "ComboChartSortConfiguration":{ "type":"structure", - "required":[ - "AwsAccountId", - "ThemeId", - "AliasName", - "ThemeVersionNumber" - ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "ThemeId":{ - "shape":"RestrictiveResourceId", - "location":"uri", - "locationName":"ThemeId" - }, - "AliasName":{ - "shape":"AliasName", - "location":"uri", - "locationName":"AliasName" - }, - "ThemeVersionNumber":{"shape":"VersionNumber"} + "CategorySort":{"shape":"FieldSortOptionsList"}, + "CategoryItemsLimit":{"shape":"ItemsLimitConfiguration"}, + "ColorSort":{"shape":"FieldSortOptionsList"}, + "ColorItemsLimit":{"shape":"ItemsLimitConfiguration"} } }, - "CreateThemeAliasResponse":{ + "ComboChartVisual":{ "type":"structure", + "required":["VisualId"], "members":{ - "ThemeAlias":{"shape":"ThemeAlias"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - }, - "RequestId":{"shape":"String"} + "VisualId":{"shape":"ShortRestrictiveResourceId"}, + "Title":{"shape":"VisualTitleLabelOptions"}, + "Subtitle":{"shape":"VisualSubtitleLabelOptions"}, + "ChartConfiguration":{"shape":"ComboChartConfiguration"}, + "Actions":{"shape":"VisualCustomActionList"}, + "ColumnHierarchies":{"shape":"ColumnHierarchyList"} } }, - "CreateThemeRequest":{ + "ComparisonConfiguration":{ "type":"structure", - "required":[ - "AwsAccountId", - "ThemeId", - "Name", - "BaseThemeId", - "Configuration" - ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "ThemeId":{ - "shape":"RestrictiveResourceId", - "location":"uri", - "locationName":"ThemeId" - }, - "Name":{"shape":"ThemeName"}, - "BaseThemeId":{"shape":"RestrictiveResourceId"}, - "VersionDescription":{"shape":"VersionDescription"}, - "Configuration":{"shape":"ThemeConfiguration"}, - "Permissions":{"shape":"ResourcePermissionList"}, - "Tags":{"shape":"TagList"} + "ComparisonMethod":{"shape":"ComparisonMethod"}, + "ComparisonFormat":{"shape":"ComparisonFormatConfiguration"} } }, - "CreateThemeResponse":{ + "ComparisonFormatConfiguration":{ "type":"structure", "members":{ - "Arn":{"shape":"Arn"}, - "VersionArn":{"shape":"Arn"}, - "ThemeId":{"shape":"RestrictiveResourceId"}, - "CreationStatus":{"shape":"ResourceStatus"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - }, - "RequestId":{"shape":"String"} + "NumberDisplayFormatConfiguration":{"shape":"NumberDisplayFormatConfiguration"}, + "PercentageDisplayFormatConfiguration":{"shape":"PercentageDisplayFormatConfiguration"} } }, - "CredentialPair":{ + "ComparisonMethod":{ + "type":"string", + "enum":[ + "DIFFERENCE", + "PERCENT_DIFFERENCE", + "PERCENT" + ] + }, + "Computation":{ "type":"structure", - "required":[ - "Username", - "Password" - ], "members":{ - "Username":{"shape":"Username"}, - "Password":{"shape":"Password"}, - "AlternateDataSourceParameters":{"shape":"DataSourceParametersList"} + "TopBottomRanked":{"shape":"TopBottomRankedComputation"}, + "TopBottomMovers":{"shape":"TopBottomMoversComputation"}, + "TotalAggregation":{"shape":"TotalAggregationComputation"}, + "MaximumMinimum":{"shape":"MaximumMinimumComputation"}, + "MetricComparison":{"shape":"MetricComparisonComputation"}, + "PeriodOverPeriod":{"shape":"PeriodOverPeriodComputation"}, + "PeriodToDate":{"shape":"PeriodToDateComputation"}, + "GrowthRate":{"shape":"GrowthRateComputation"}, + "UniqueValues":{"shape":"UniqueValuesComputation"}, + "Forecast":{"shape":"ForecastComputation"} } }, - "CustomSql":{ + "ComputationList":{ + "type":"list", + "member":{"shape":"Computation"}, + "max":100 + }, + "ConcurrentUpdatingException":{ "type":"structure", - "required":[ - "DataSourceArn", - "Name", - "SqlQuery" - ], "members":{ - "DataSourceArn":{"shape":"Arn"}, - "Name":{"shape":"CustomSqlName"}, - "SqlQuery":{"shape":"SqlQuery"}, - "Columns":{"shape":"InputColumnList"} - } - }, - "CustomSqlName":{ - "type":"string", - "max":64, - "min":1 + "Message":{"shape":"String"}, + "RequestId":{"shape":"String"} + }, + "error":{"httpStatusCode":500}, + "exception":true }, - "Dashboard":{ + "ConditionalFormattingColor":{ "type":"structure", "members":{ - "DashboardId":{"shape":"RestrictiveResourceId"}, - "Arn":{"shape":"Arn"}, - "Name":{"shape":"DashboardName"}, - "Version":{"shape":"DashboardVersion"}, - "CreatedTime":{"shape":"Timestamp"}, - "LastPublishedTime":{"shape":"Timestamp"}, - "LastUpdatedTime":{"shape":"Timestamp"} + "Solid":{"shape":"ConditionalFormattingSolidColor"}, + "Gradient":{"shape":"ConditionalFormattingGradientColor"} } }, - "DashboardBehavior":{ - "type":"string", - "enum":[ - "ENABLED", - "DISABLED" - ] - }, - "DashboardError":{ + "ConditionalFormattingCustomIconCondition":{ "type":"structure", + "required":[ + "Expression", + "IconOptions" + ], "members":{ - "Type":{"shape":"DashboardErrorType"}, - "Message":{"shape":"NonEmptyString"} + "Expression":{"shape":"Expression"}, + "IconOptions":{"shape":"ConditionalFormattingCustomIconOptions"}, + "Color":{"shape":"HexColor"}, + "DisplayConfiguration":{"shape":"ConditionalFormattingIconDisplayConfiguration"} } }, - "DashboardErrorList":{ - "type":"list", - "member":{"shape":"DashboardError"}, - "min":1 - }, - "DashboardErrorType":{ - "type":"string", - "enum":[ - "ACCESS_DENIED", - "SOURCE_NOT_FOUND", - "DATA_SET_NOT_FOUND", - "INTERNAL_FAILURE", - "PARAMETER_VALUE_INCOMPATIBLE", - "PARAMETER_TYPE_INVALID", - "PARAMETER_NOT_FOUND", - "COLUMN_TYPE_MISMATCH", - "COLUMN_GEOGRAPHIC_ROLE_MISMATCH", - "COLUMN_REPLACEMENT_MISSING" - ] - }, - "DashboardFilterAttribute":{ - "type":"string", - "enum":[ - "QUICKSIGHT_USER", - "QUICKSIGHT_VIEWER_OR_OWNER", - "DIRECT_QUICKSIGHT_VIEWER_OR_OWNER", - "QUICKSIGHT_OWNER", - "DIRECT_QUICKSIGHT_OWNER", - "DIRECT_QUICKSIGHT_SOLE_OWNER", - "DASHBOARD_NAME" - ] - }, - "DashboardName":{ - "type":"string", - "max":2048, - "min":1 - }, - "DashboardPublishOptions":{ + "ConditionalFormattingCustomIconOptions":{ "type":"structure", "members":{ - "AdHocFilteringOption":{"shape":"AdHocFilteringOption"}, - "ExportToCSVOption":{"shape":"ExportToCSVOption"}, - "SheetControlsOption":{"shape":"SheetControlsOption"} + "Icon":{"shape":"Icon"}, + "UnicodeIcon":{"shape":"UnicodeIcon"} } }, - "DashboardSearchFilter":{ + "ConditionalFormattingGradientColor":{ "type":"structure", - "required":["Operator"], + "required":[ + "Expression", + "Color" + ], "members":{ - "Operator":{"shape":"FilterOperator"}, - "Name":{"shape":"DashboardFilterAttribute"}, - "Value":{"shape":"String"} + "Expression":{"shape":"Expression"}, + "Color":{"shape":"GradientColor"} } }, - "DashboardSearchFilterList":{ - "type":"list", - "member":{"shape":"DashboardSearchFilter"}, - "max":1, - "min":1 - }, - "DashboardSourceEntity":{ + "ConditionalFormattingIcon":{ "type":"structure", "members":{ - "SourceTemplate":{"shape":"DashboardSourceTemplate"} + "IconSet":{"shape":"ConditionalFormattingIconSet"}, + "CustomCondition":{"shape":"ConditionalFormattingCustomIconCondition"} } }, - "DashboardSourceTemplate":{ + "ConditionalFormattingIconDisplayConfiguration":{ "type":"structure", - "required":[ - "DataSetReferences", - "Arn" - ], "members":{ - "DataSetReferences":{"shape":"DataSetReferenceList"}, - "Arn":{"shape":"Arn"} + "IconDisplayOption":{"shape":"ConditionalFormattingIconDisplayOption"} } }, - "DashboardSummary":{ + "ConditionalFormattingIconDisplayOption":{ + "type":"string", + "enum":["ICON_ONLY"] + }, + "ConditionalFormattingIconSet":{ "type":"structure", + "required":["Expression"], "members":{ - "Arn":{"shape":"Arn"}, - "DashboardId":{"shape":"RestrictiveResourceId"}, - "Name":{"shape":"DashboardName"}, - "CreatedTime":{"shape":"Timestamp"}, - "LastUpdatedTime":{"shape":"Timestamp"}, - "PublishedVersionNumber":{"shape":"VersionNumber"}, - "LastPublishedTime":{"shape":"Timestamp"} + "Expression":{"shape":"Expression"}, + "IconSetType":{"shape":"ConditionalFormattingIconSetType"} } }, - "DashboardSummaryList":{ - "type":"list", - "member":{"shape":"DashboardSummary"}, - "max":100 - }, - "DashboardUIState":{ + "ConditionalFormattingIconSetType":{ "type":"string", "enum":[ - "EXPANDED", - "COLLAPSED" + "PLUS_MINUS", + "CHECK_X", + "THREE_COLOR_ARROW", + "THREE_GRAY_ARROW", + "CARET_UP_MINUS_DOWN", + "THREE_SHAPE", + "THREE_CIRCLE", + "FLAGS", + "BARS", + "FOUR_COLOR_ARROW", + "FOUR_GRAY_ARROW" ] }, - "DashboardVersion":{ + "ConditionalFormattingSolidColor":{ "type":"structure", + "required":["Expression"], "members":{ - "CreatedTime":{"shape":"Timestamp"}, - "Errors":{"shape":"DashboardErrorList"}, - "VersionNumber":{"shape":"VersionNumber"}, - "Status":{"shape":"ResourceStatus"}, - "Arn":{"shape":"Arn"}, - "SourceEntityArn":{"shape":"Arn"}, - "DataSetArns":{"shape":"DataSetArnsList"}, - "Description":{"shape":"VersionDescription"}, - "ThemeArn":{"shape":"Arn"}, - "Sheets":{"shape":"SheetList"} + "Expression":{"shape":"Expression"}, + "Color":{"shape":"HexColor"} } }, - "DashboardVersionSummary":{ + "ConflictException":{ "type":"structure", "members":{ - "Arn":{"shape":"Arn"}, - "CreatedTime":{"shape":"Timestamp"}, - "VersionNumber":{"shape":"VersionNumber"}, - "Status":{"shape":"ResourceStatus"}, - "SourceEntityArn":{"shape":"Arn"}, - "Description":{"shape":"VersionDescription"} - } - }, - "DashboardVersionSummaryList":{ - "type":"list", - "member":{"shape":"DashboardVersionSummary"}, - "max":100 + "Message":{"shape":"String"}, + "RequestId":{"shape":"String"} + }, + "error":{"httpStatusCode":409}, + "exception":true }, - "DashboardVisualId":{ + "ContributionAnalysisDefault":{ "type":"structure", "required":[ - "DashboardId", - "SheetId", - "VisualId" + "MeasureFieldId", + "ContributorDimensions" ], "members":{ - "DashboardId":{"shape":"RestrictiveResourceId"}, - "SheetId":{"shape":"RestrictiveResourceId"}, - "VisualId":{"shape":"RestrictiveResourceId"} + "MeasureFieldId":{"shape":"FieldId"}, + "ContributorDimensions":{"shape":"ContributorDimensionList"} } }, - "DataColorPalette":{ + "ContributionAnalysisDefaultList":{ + "type":"list", + "member":{"shape":"ContributionAnalysisDefault"}, + "max":200, + "min":1 + }, + "ContributorDimensionList":{ + "type":"list", + "member":{"shape":"ColumnIdentifier"}, + "max":4, + "min":1 + }, + "CopySourceArn":{ + "type":"string", + "pattern":"^arn:[-a-z0-9]*:quicksight:[-a-z0-9]*:[0-9]{12}:datasource/.+" + }, + "CreateAccountCustomizationRequest":{ "type":"structure", + "required":[ + "AwsAccountId", + "AccountCustomization" + ], "members":{ - "Colors":{"shape":"ColorList"}, - "MinMaxGradient":{"shape":"ColorList"}, - "EmptyFillColor":{"shape":"HexColor"} + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "Namespace":{ + "shape":"Namespace", + "location":"querystring", + "locationName":"namespace" + }, + "AccountCustomization":{"shape":"AccountCustomization"}, + "Tags":{"shape":"TagList"} } }, - "DataSet":{ + "CreateAccountCustomizationResponse":{ "type":"structure", "members":{ "Arn":{"shape":"Arn"}, - "DataSetId":{"shape":"ResourceId"}, - "Name":{"shape":"ResourceName"}, - "CreatedTime":{"shape":"Timestamp"}, - "LastUpdatedTime":{"shape":"Timestamp"}, - "PhysicalTableMap":{"shape":"PhysicalTableMap"}, - "LogicalTableMap":{"shape":"LogicalTableMap"}, - "OutputColumns":{"shape":"OutputColumnList"}, - "ImportMode":{"shape":"DataSetImportMode"}, - "ConsumedSpiceCapacityInBytes":{"shape":"Long"}, - "ColumnGroups":{"shape":"ColumnGroupList"}, - "FieldFolders":{"shape":"FieldFolderMap"}, - "RowLevelPermissionDataSet":{"shape":"RowLevelPermissionDataSet"}, - "RowLevelPermissionTagConfiguration":{"shape":"RowLevelPermissionTagConfiguration"}, - "ColumnLevelPermissionRules":{"shape":"ColumnLevelPermissionRuleList"}, - "DataSetUsageConfiguration":{"shape":"DataSetUsageConfiguration"} + "AwsAccountId":{"shape":"AwsAccountId"}, + "Namespace":{"shape":"Namespace"}, + "AccountCustomization":{"shape":"AccountCustomization"}, + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } } }, - "DataSetArnsList":{ - "type":"list", - "member":{"shape":"Arn"}, + "CreateAccountSubscriptionRequest":{ + "type":"structure", + "required":[ + "Edition", + "AuthenticationMethod", + "AwsAccountId", + "AccountName", + "NotificationEmail" + ], + "members":{ + "Edition":{"shape":"Edition"}, + "AuthenticationMethod":{"shape":"AuthenticationMethodOption"}, + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "AccountName":{"shape":"String"}, + "NotificationEmail":{"shape":"String"}, + "ActiveDirectoryName":{"shape":"String"}, + "Realm":{"shape":"String"}, + "DirectoryId":{"shape":"String"}, + "AdminGroup":{"shape":"GroupsList"}, + "AuthorGroup":{"shape":"GroupsList"}, + "ReaderGroup":{"shape":"GroupsList"}, + "FirstName":{"shape":"String"}, + "LastName":{"shape":"String"}, + "EmailAddress":{"shape":"String"}, + "ContactNumber":{"shape":"String"} + } + }, + "CreateAccountSubscriptionResponse":{ + "type":"structure", + "members":{ + "SignupResponse":{"shape":"SignupResponse"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + }, + "RequestId":{"shape":"String"} + } + }, + "CreateAnalysisRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "AnalysisId", + "Name" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "AnalysisId":{ + "shape":"ShortRestrictiveResourceId", + "location":"uri", + "locationName":"AnalysisId" + }, + "Name":{"shape":"AnalysisName"}, + "Parameters":{"shape":"Parameters"}, + "Permissions":{"shape":"ResourcePermissionList"}, + "SourceEntity":{"shape":"AnalysisSourceEntity"}, + "ThemeArn":{"shape":"Arn"}, + "Tags":{"shape":"TagList"}, + "Definition":{"shape":"AnalysisDefinition"} + } + }, + "CreateAnalysisResponse":{ + "type":"structure", + "members":{ + "Arn":{"shape":"Arn"}, + "AnalysisId":{"shape":"ShortRestrictiveResourceId"}, + "CreationStatus":{"shape":"ResourceStatus"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + }, + "RequestId":{"shape":"String"} + } + }, + "CreateColumnsOperation":{ + "type":"structure", + "required":["Columns"], + "members":{ + "Columns":{"shape":"CalculatedColumnList"} + } + }, + "CreateDashboardRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "DashboardId", + "Name" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "DashboardId":{ + "shape":"ShortRestrictiveResourceId", + "location":"uri", + "locationName":"DashboardId" + }, + "Name":{"shape":"DashboardName"}, + "Parameters":{"shape":"Parameters"}, + "Permissions":{"shape":"ResourcePermissionList"}, + "SourceEntity":{"shape":"DashboardSourceEntity"}, + "Tags":{"shape":"TagList"}, + "VersionDescription":{"shape":"VersionDescription"}, + "DashboardPublishOptions":{"shape":"DashboardPublishOptions"}, + "ThemeArn":{"shape":"Arn"}, + "Definition":{"shape":"DashboardVersionDefinition"} + } + }, + "CreateDashboardResponse":{ + "type":"structure", + "members":{ + "Arn":{"shape":"Arn"}, + "VersionArn":{"shape":"Arn"}, + "DashboardId":{"shape":"ShortRestrictiveResourceId"}, + "CreationStatus":{"shape":"ResourceStatus"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + }, + "RequestId":{"shape":"String"} + } + }, + "CreateDataSetRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "DataSetId", + "Name", + "PhysicalTableMap", + "ImportMode" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "DataSetId":{"shape":"ResourceId"}, + "Name":{"shape":"ResourceName"}, + "PhysicalTableMap":{"shape":"PhysicalTableMap"}, + "LogicalTableMap":{"shape":"LogicalTableMap"}, + "ImportMode":{"shape":"DataSetImportMode"}, + "ColumnGroups":{"shape":"ColumnGroupList"}, + "FieldFolders":{"shape":"FieldFolderMap"}, + "Permissions":{"shape":"ResourcePermissionList"}, + "RowLevelPermissionDataSet":{"shape":"RowLevelPermissionDataSet"}, + "RowLevelPermissionTagConfiguration":{"shape":"RowLevelPermissionTagConfiguration"}, + "ColumnLevelPermissionRules":{"shape":"ColumnLevelPermissionRuleList"}, + "Tags":{"shape":"TagList"}, + "DataSetUsageConfiguration":{"shape":"DataSetUsageConfiguration"} + } + }, + "CreateDataSetResponse":{ + "type":"structure", + "members":{ + "Arn":{"shape":"Arn"}, + "DataSetId":{"shape":"ResourceId"}, + "IngestionArn":{"shape":"Arn"}, + "IngestionId":{"shape":"ResourceId"}, + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } + } + }, + "CreateDataSourceRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "DataSourceId", + "Name", + "Type" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "DataSourceId":{"shape":"ResourceId"}, + "Name":{"shape":"ResourceName"}, + "Type":{"shape":"DataSourceType"}, + "DataSourceParameters":{"shape":"DataSourceParameters"}, + "Credentials":{"shape":"DataSourceCredentials"}, + "Permissions":{"shape":"ResourcePermissionList"}, + "VpcConnectionProperties":{"shape":"VpcConnectionProperties"}, + "SslProperties":{"shape":"SslProperties"}, + "Tags":{"shape":"TagList"} + } + }, + "CreateDataSourceResponse":{ + "type":"structure", + "members":{ + "Arn":{"shape":"Arn"}, + "DataSourceId":{"shape":"ResourceId"}, + "CreationStatus":{"shape":"ResourceStatus"}, + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } + } + }, + "CreateFolderMembershipRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "FolderId", + "MemberId", + "MemberType" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "FolderId":{ + "shape":"RestrictiveResourceId", + "location":"uri", + "locationName":"FolderId" + }, + "MemberId":{ + "shape":"RestrictiveResourceId", + "location":"uri", + "locationName":"MemberId" + }, + "MemberType":{ + "shape":"MemberType", + "location":"uri", + "locationName":"MemberType" + } + } + }, + "CreateFolderMembershipResponse":{ + "type":"structure", + "members":{ + "Status":{"shape":"StatusCode"}, + "FolderMember":{"shape":"FolderMember"}, + "RequestId":{"shape":"String"} + } + }, + "CreateFolderRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "FolderId" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "FolderId":{ + "shape":"RestrictiveResourceId", + "location":"uri", + "locationName":"FolderId" + }, + "Name":{"shape":"FolderName"}, + "FolderType":{"shape":"FolderType"}, + "ParentFolderArn":{"shape":"Arn"}, + "Permissions":{"shape":"ResourcePermissionList"}, + "Tags":{"shape":"TagList"} + } + }, + "CreateFolderResponse":{ + "type":"structure", + "members":{ + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + }, + "Arn":{"shape":"Arn"}, + "FolderId":{"shape":"RestrictiveResourceId"}, + "RequestId":{"shape":"String"} + } + }, + "CreateGroupMembershipRequest":{ + "type":"structure", + "required":[ + "MemberName", + "GroupName", + "AwsAccountId", + "Namespace" + ], + "members":{ + "MemberName":{ + "shape":"GroupMemberName", + "location":"uri", + "locationName":"MemberName" + }, + "GroupName":{ + "shape":"GroupName", + "location":"uri", + "locationName":"GroupName" + }, + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "Namespace":{ + "shape":"Namespace", + "location":"uri", + "locationName":"Namespace" + } + } + }, + "CreateGroupMembershipResponse":{ + "type":"structure", + "members":{ + "GroupMember":{"shape":"GroupMember"}, + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } + } + }, + "CreateGroupRequest":{ + "type":"structure", + "required":[ + "GroupName", + "AwsAccountId", + "Namespace" + ], + "members":{ + "GroupName":{"shape":"GroupName"}, + "Description":{"shape":"GroupDescription"}, + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "Namespace":{ + "shape":"Namespace", + "location":"uri", + "locationName":"Namespace" + } + } + }, + "CreateGroupResponse":{ + "type":"structure", + "members":{ + "Group":{"shape":"Group"}, + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } + } + }, + "CreateIAMPolicyAssignmentRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "AssignmentName", + "AssignmentStatus", + "Namespace" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "AssignmentName":{"shape":"IAMPolicyAssignmentName"}, + "AssignmentStatus":{"shape":"AssignmentStatus"}, + "PolicyArn":{"shape":"Arn"}, + "Identities":{"shape":"IdentityMap"}, + "Namespace":{ + "shape":"Namespace", + "location":"uri", + "locationName":"Namespace" + } + } + }, + "CreateIAMPolicyAssignmentResponse":{ + "type":"structure", + "members":{ + "AssignmentName":{"shape":"IAMPolicyAssignmentName"}, + "AssignmentId":{"shape":"String"}, + "AssignmentStatus":{"shape":"AssignmentStatus"}, + "PolicyArn":{"shape":"Arn"}, + "Identities":{"shape":"IdentityMap"}, + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } + } + }, + "CreateIngestionRequest":{ + "type":"structure", + "required":[ + "DataSetId", + "IngestionId", + "AwsAccountId" + ], + "members":{ + "DataSetId":{ + "shape":"String", + "location":"uri", + "locationName":"DataSetId" + }, + "IngestionId":{ + "shape":"IngestionId", + "location":"uri", + "locationName":"IngestionId" + }, + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "IngestionType":{"shape":"IngestionType"} + } + }, + "CreateIngestionResponse":{ + "type":"structure", + "members":{ + "Arn":{"shape":"Arn"}, + "IngestionId":{"shape":"IngestionId"}, + "IngestionStatus":{"shape":"IngestionStatus"}, + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } + } + }, + "CreateNamespaceRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "Namespace", + "IdentityStore" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "Namespace":{"shape":"Namespace"}, + "IdentityStore":{"shape":"IdentityStore"}, + "Tags":{"shape":"TagList"} + } + }, + "CreateNamespaceResponse":{ + "type":"structure", + "members":{ + "Arn":{"shape":"Arn"}, + "Name":{"shape":"Namespace"}, + "CapacityRegion":{"shape":"String"}, + "CreationStatus":{"shape":"NamespaceStatus"}, + "IdentityStore":{"shape":"IdentityStore"}, + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } + } + }, + "CreateTemplateAliasRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "TemplateId", + "AliasName", + "TemplateVersionNumber" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "TemplateId":{ + "shape":"ShortRestrictiveResourceId", + "location":"uri", + "locationName":"TemplateId" + }, + "AliasName":{ + "shape":"AliasName", + "location":"uri", + "locationName":"AliasName" + }, + "TemplateVersionNumber":{"shape":"VersionNumber"} + } + }, + "CreateTemplateAliasResponse":{ + "type":"structure", + "members":{ + "TemplateAlias":{"shape":"TemplateAlias"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + }, + "RequestId":{"shape":"String"} + } + }, + "CreateTemplateRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "TemplateId" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "TemplateId":{ + "shape":"ShortRestrictiveResourceId", + "location":"uri", + "locationName":"TemplateId" + }, + "Name":{"shape":"TemplateName"}, + "Permissions":{"shape":"ResourcePermissionList"}, + "SourceEntity":{"shape":"TemplateSourceEntity"}, + "Tags":{"shape":"TagList"}, + "VersionDescription":{"shape":"VersionDescription"}, + "Definition":{"shape":"TemplateVersionDefinition"} + } + }, + "CreateTemplateResponse":{ + "type":"structure", + "members":{ + "Arn":{"shape":"Arn"}, + "VersionArn":{"shape":"Arn"}, + "TemplateId":{"shape":"ShortRestrictiveResourceId"}, + "CreationStatus":{"shape":"ResourceStatus"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + }, + "RequestId":{"shape":"String"} + } + }, + "CreateThemeAliasRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "ThemeId", + "AliasName", + "ThemeVersionNumber" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "ThemeId":{ + "shape":"ShortRestrictiveResourceId", + "location":"uri", + "locationName":"ThemeId" + }, + "AliasName":{ + "shape":"AliasName", + "location":"uri", + "locationName":"AliasName" + }, + "ThemeVersionNumber":{"shape":"VersionNumber"} + } + }, + "CreateThemeAliasResponse":{ + "type":"structure", + "members":{ + "ThemeAlias":{"shape":"ThemeAlias"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + }, + "RequestId":{"shape":"String"} + } + }, + "CreateThemeRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "ThemeId", + "Name", + "BaseThemeId", + "Configuration" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "ThemeId":{ + "shape":"ShortRestrictiveResourceId", + "location":"uri", + "locationName":"ThemeId" + }, + "Name":{"shape":"ThemeName"}, + "BaseThemeId":{"shape":"ShortRestrictiveResourceId"}, + "VersionDescription":{"shape":"VersionDescription"}, + "Configuration":{"shape":"ThemeConfiguration"}, + "Permissions":{"shape":"ResourcePermissionList"}, + "Tags":{"shape":"TagList"} + } + }, + "CreateThemeResponse":{ + "type":"structure", + "members":{ + "Arn":{"shape":"Arn"}, + "VersionArn":{"shape":"Arn"}, + "ThemeId":{"shape":"ShortRestrictiveResourceId"}, + "CreationStatus":{"shape":"ResourceStatus"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + }, + "RequestId":{"shape":"String"} + } + }, + "CredentialPair":{ + "type":"structure", + "required":[ + "Username", + "Password" + ], + "members":{ + "Username":{"shape":"Username"}, + "Password":{"shape":"Password"}, + "AlternateDataSourceParameters":{"shape":"DataSourceParametersList"} + } + }, + "CrossDatasetTypes":{ + "type":"string", + "enum":[ + "ALL_DATASETS", + "SINGLE_DATASET" + ] + }, + "CurrencyCode":{ + "type":"string", + "pattern":"[A-Z]{3}" + }, + "CurrencyDisplayFormatConfiguration":{ + "type":"structure", + "members":{ + "Prefix":{"shape":"Prefix"}, + "Suffix":{"shape":"Suffix"}, + "SeparatorConfiguration":{"shape":"NumericSeparatorConfiguration"}, + "Symbol":{"shape":"CurrencyCode"}, + "DecimalPlacesConfiguration":{"shape":"DecimalPlacesConfiguration"}, + "NumberScale":{"shape":"NumberScale"}, + "NegativeValueConfiguration":{"shape":"NegativeValueConfiguration"}, + "NullValueFormatConfiguration":{"shape":"NullValueFormatConfiguration"} + } + }, + "CustomActionFilterOperation":{ + "type":"structure", + "required":[ + "SelectedFieldsConfiguration", + "TargetVisualsConfiguration" + ], + "members":{ + "SelectedFieldsConfiguration":{"shape":"FilterOperationSelectedFieldsConfiguration"}, + "TargetVisualsConfiguration":{"shape":"FilterOperationTargetVisualsConfiguration"} + } + }, + "CustomActionNavigationOperation":{ + "type":"structure", + "members":{ + "LocalNavigationConfiguration":{"shape":"LocalNavigationConfiguration"} + } + }, + "CustomActionSetParametersOperation":{ + "type":"structure", + "required":["ParameterValueConfigurations"], + "members":{ + "ParameterValueConfigurations":{"shape":"SetParameterValueConfigurationList"} + } + }, + "CustomActionURLOperation":{ + "type":"structure", + "required":[ + "URLTemplate", + "URLTarget" + ], + "members":{ + "URLTemplate":{"shape":"URLOperationTemplate"}, + "URLTarget":{"shape":"URLTargetConfiguration"} + } + }, + "CustomContentConfiguration":{ + "type":"structure", + "members":{ + "ContentUrl":{"shape":"URLOperationTemplate"}, + "ContentType":{"shape":"CustomContentType"}, + "ImageScaling":{"shape":"CustomContentImageScalingConfiguration"} + } + }, + "CustomContentImageScalingConfiguration":{ + "type":"string", + "enum":[ + "FIT_TO_HEIGHT", + "FIT_TO_WIDTH", + "DO_NOT_SCALE", + "SCALE_TO_VISUAL" + ] + }, + "CustomContentType":{ + "type":"string", + "enum":[ + "IMAGE", + "OTHER_EMBEDDED_CONTENT" + ] + }, + "CustomContentVisual":{ + "type":"structure", + "required":[ + "VisualId", + "DataSetIdentifier" + ], + "members":{ + "VisualId":{"shape":"ShortRestrictiveResourceId"}, + "Title":{"shape":"VisualTitleLabelOptions"}, + "Subtitle":{"shape":"VisualSubtitleLabelOptions"}, + "ChartConfiguration":{"shape":"CustomContentConfiguration"}, + "Actions":{"shape":"VisualCustomActionList"}, + "DataSetIdentifier":{"shape":"DataSetIdentifier"} + } + }, + "CustomFilterConfiguration":{ + "type":"structure", + "required":[ + "MatchOperator", + "NullOption" + ], + "members":{ + "MatchOperator":{"shape":"CategoryFilterMatchOperator"}, + "CategoryValue":{"shape":"CategoryValue"}, + "SelectAllOptions":{"shape":"CategoryFilterSelectAllOptions"}, + "ParameterName":{"shape":"ParameterName"}, + "NullOption":{"shape":"FilterNullOption"} + } + }, + "CustomFilterListConfiguration":{ + "type":"structure", + "required":[ + "MatchOperator", + "NullOption" + ], + "members":{ + "MatchOperator":{"shape":"CategoryFilterMatchOperator"}, + "CategoryValues":{"shape":"CategoryValueList"}, + "SelectAllOptions":{"shape":"CategoryFilterSelectAllOptions"}, + "NullOption":{"shape":"FilterNullOption"} + } + }, + "CustomLabel":{ + "type":"string", + "max":2048, + "min":1 + }, + "CustomNarrativeOptions":{ + "type":"structure", + "required":["Narrative"], + "members":{ + "Narrative":{"shape":"NarrativeString"} + } + }, + "CustomParameterValues":{ + "type":"structure", + "members":{ + "StringValues":{"shape":"StringDefaultValueList"}, + "IntegerValues":{"shape":"IntegerDefaultValueList"}, + "DecimalValues":{"shape":"DecimalDefaultValueList"}, + "DateTimeValues":{"shape":"DateTimeDefaultValueList"} + } + }, + "CustomSql":{ + "type":"structure", + "required":[ + "DataSourceArn", + "Name", + "SqlQuery" + ], + "members":{ + "DataSourceArn":{"shape":"Arn"}, + "Name":{"shape":"CustomSqlName"}, + "SqlQuery":{"shape":"SqlQuery"}, + "Columns":{"shape":"InputColumnList"} + } + }, + "CustomSqlName":{ + "type":"string", + "max":64, + "min":1 + }, + "CustomValuesConfiguration":{ + "type":"structure", + "required":["CustomValues"], + "members":{ + "IncludeNullValue":{"shape":"BooleanObject"}, + "CustomValues":{"shape":"CustomParameterValues"} + } + }, + "Dashboard":{ + "type":"structure", + "members":{ + "DashboardId":{"shape":"ShortRestrictiveResourceId"}, + "Arn":{"shape":"Arn"}, + "Name":{"shape":"DashboardName"}, + "Version":{"shape":"DashboardVersion"}, + "CreatedTime":{"shape":"Timestamp"}, + "LastPublishedTime":{"shape":"Timestamp"}, + "LastUpdatedTime":{"shape":"Timestamp"} + } + }, + "DashboardBehavior":{ + "type":"string", + "enum":[ + "ENABLED", + "DISABLED" + ] + }, + "DashboardError":{ + "type":"structure", + "members":{ + "Type":{"shape":"DashboardErrorType"}, + "Message":{"shape":"NonEmptyString"}, + "ViolatedEntities":{"shape":"EntityList"} + } + }, + "DashboardErrorList":{ + "type":"list", + "member":{"shape":"DashboardError"}, + "min":1 + }, + "DashboardErrorType":{ + "type":"string", + "enum":[ + "ACCESS_DENIED", + "SOURCE_NOT_FOUND", + "DATA_SET_NOT_FOUND", + "INTERNAL_FAILURE", + "PARAMETER_VALUE_INCOMPATIBLE", + "PARAMETER_TYPE_INVALID", + "PARAMETER_NOT_FOUND", + "COLUMN_TYPE_MISMATCH", + "COLUMN_GEOGRAPHIC_ROLE_MISMATCH", + "COLUMN_REPLACEMENT_MISSING" + ] + }, + "DashboardFilterAttribute":{ + "type":"string", + "enum":[ + "QUICKSIGHT_USER", + "QUICKSIGHT_VIEWER_OR_OWNER", + "DIRECT_QUICKSIGHT_VIEWER_OR_OWNER", + "QUICKSIGHT_OWNER", + "DIRECT_QUICKSIGHT_OWNER", + "DIRECT_QUICKSIGHT_SOLE_OWNER", + "DASHBOARD_NAME" + ] + }, + "DashboardName":{ + "type":"string", + "max":2048, + "min":1 + }, + "DashboardPublishOptions":{ + "type":"structure", + "members":{ + "AdHocFilteringOption":{"shape":"AdHocFilteringOption"}, + "ExportToCSVOption":{"shape":"ExportToCSVOption"}, + "SheetControlsOption":{"shape":"SheetControlsOption"}, + "VisualPublishOptions":{"shape":"DashboardVisualPublishOptions"} + } + }, + "DashboardSearchFilter":{ + "type":"structure", + "required":["Operator"], + "members":{ + "Operator":{"shape":"FilterOperator"}, + "Name":{"shape":"DashboardFilterAttribute"}, + "Value":{"shape":"String"} + } + }, + "DashboardSearchFilterList":{ + "type":"list", + "member":{"shape":"DashboardSearchFilter"}, + "max":1, + "min":1 + }, + "DashboardSourceEntity":{ + "type":"structure", + "members":{ + "SourceTemplate":{"shape":"DashboardSourceTemplate"} + } + }, + "DashboardSourceTemplate":{ + "type":"structure", + "required":[ + "DataSetReferences", + "Arn" + ], + "members":{ + "DataSetReferences":{"shape":"DataSetReferenceList"}, + "Arn":{"shape":"Arn"} + } + }, + "DashboardSummary":{ + "type":"structure", + "members":{ + "Arn":{"shape":"Arn"}, + "DashboardId":{"shape":"ShortRestrictiveResourceId"}, + "Name":{"shape":"DashboardName"}, + "CreatedTime":{"shape":"Timestamp"}, + "LastUpdatedTime":{"shape":"Timestamp"}, + "PublishedVersionNumber":{"shape":"VersionNumber"}, + "LastPublishedTime":{"shape":"Timestamp"} + } + }, + "DashboardSummaryList":{ + "type":"list", + "member":{"shape":"DashboardSummary"}, + "max":100 + }, + "DashboardUIState":{ + "type":"string", + "enum":[ + "EXPANDED", + "COLLAPSED" + ] + }, + "DashboardVersion":{ + "type":"structure", + "members":{ + "CreatedTime":{"shape":"Timestamp"}, + "Errors":{"shape":"DashboardErrorList"}, + "VersionNumber":{"shape":"VersionNumber"}, + "Status":{"shape":"ResourceStatus"}, + "Arn":{"shape":"Arn"}, + "SourceEntityArn":{"shape":"Arn"}, + "DataSetArns":{"shape":"DataSetArnsList"}, + "Description":{"shape":"VersionDescription"}, + "ThemeArn":{"shape":"Arn"}, + "Sheets":{"shape":"SheetList"} + } + }, + "DashboardVersionDefinition":{ + "type":"structure", + "required":["DataSetIdentifierDeclarations"], + "members":{ + "DataSetIdentifierDeclarations":{"shape":"DataSetIdentifierDeclarationList"}, + "Sheets":{"shape":"SheetDefinitionList"}, + "CalculatedFields":{"shape":"CalculatedFields"}, + "ParameterDeclarations":{"shape":"ParameterDeclarationList"}, + "FilterGroups":{"shape":"FilterGroupList"}, + "ColumnConfigurations":{"shape":"ColumnConfigurationList"}, + "AnalysisDefaults":{"shape":"AnalysisDefaults"} + } + }, + "DashboardVersionSummary":{ + "type":"structure", + "members":{ + "Arn":{"shape":"Arn"}, + "CreatedTime":{"shape":"Timestamp"}, + "VersionNumber":{"shape":"VersionNumber"}, + "Status":{"shape":"ResourceStatus"}, + "SourceEntityArn":{"shape":"Arn"}, + "Description":{"shape":"VersionDescription"} + } + }, + "DashboardVersionSummaryList":{ + "type":"list", + "member":{"shape":"DashboardVersionSummary"}, + "max":100 + }, + "DashboardVisualId":{ + "type":"structure", + "required":[ + "DashboardId", + "SheetId", + "VisualId" + ], + "members":{ + "DashboardId":{"shape":"ShortRestrictiveResourceId"}, + "SheetId":{"shape":"ShortRestrictiveResourceId"}, + "VisualId":{"shape":"ShortRestrictiveResourceId"} + } + }, + "DashboardVisualPublishOptions":{ + "type":"structure", + "members":{ + "ExportHiddenFieldsOption":{"shape":"ExportHiddenFieldsOption"} + } + }, + "DataColor":{ + "type":"structure", + "members":{ + "Color":{"shape":"HexColor"}, + "DataValue":{ + "shape":"Double", + "box":true + } + } + }, + "DataColorPalette":{ + "type":"structure", + "members":{ + "Colors":{"shape":"ColorList"}, + "MinMaxGradient":{"shape":"ColorList"}, + "EmptyFillColor":{"shape":"HexColor"} + } + }, + "DataFieldSeriesItem":{ + "type":"structure", + "required":[ + "FieldId", + "AxisBinding" + ], + "members":{ + "FieldId":{"shape":"FieldId"}, + "FieldValue":{"shape":"SensitiveString"}, + "AxisBinding":{"shape":"AxisBinding"}, + "Settings":{"shape":"LineChartSeriesSettings"} + } + }, + "DataLabelContent":{ + "type":"string", + "enum":[ + "VALUE", + "PERCENT", + "VALUE_AND_PERCENT" + ] + }, + "DataLabelOptions":{ + "type":"structure", + "members":{ + "Visibility":{"shape":"Visibility"}, + "CategoryLabelVisibility":{"shape":"Visibility"}, + "MeasureLabelVisibility":{"shape":"Visibility"}, + "DataLabelTypes":{"shape":"DataLabelTypes"}, + "Position":{"shape":"DataLabelPosition"}, + "LabelContent":{"shape":"DataLabelContent"}, + "LabelFontConfiguration":{"shape":"FontConfiguration"}, + "LabelColor":{"shape":"HexColor"}, + "Overlap":{"shape":"DataLabelOverlap"} + } + }, + "DataLabelOverlap":{ + "type":"string", + "enum":[ + "DISABLE_OVERLAP", + "ENABLE_OVERLAP" + ] + }, + "DataLabelPosition":{ + "type":"string", + "enum":[ + "INSIDE", + "OUTSIDE", + "LEFT", + "TOP", + "BOTTOM", + "RIGHT" + ] + }, + "DataLabelType":{ + "type":"structure", + "members":{ + "FieldLabelType":{"shape":"FieldLabelType"}, + "DataPathLabelType":{"shape":"DataPathLabelType"}, + "RangeEndsLabelType":{"shape":"RangeEndsLabelType"}, + "MinimumLabelType":{"shape":"MinimumLabelType"}, + "MaximumLabelType":{"shape":"MaximumLabelType"} + } + }, + "DataLabelTypes":{ + "type":"list", + "member":{"shape":"DataLabelType"}, + "max":100 + }, + "DataPathColor":{ + "type":"structure", + "required":[ + "Element", + "Color" + ], + "members":{ + "Element":{"shape":"DataPathValue"}, + "Color":{"shape":"HexColor"}, + "TimeGranularity":{"shape":"TimeGranularity"} + } + }, + "DataPathColorList":{ + "type":"list", + "member":{"shape":"DataPathColor"}, + "max":5000 + }, + "DataPathLabelType":{ + "type":"structure", + "members":{ + "FieldId":{"shape":"FieldId"}, + "FieldValue":{"shape":"FieldValue"}, + "Visibility":{"shape":"Visibility"} + } + }, + "DataPathSort":{ + "type":"structure", + "required":[ + "Direction", + "SortPaths" + ], + "members":{ + "Direction":{"shape":"SortDirection"}, + "SortPaths":{"shape":"DataPathValueList"} + } + }, + "DataPathValue":{ + "type":"structure", + "required":[ + "FieldId", + "FieldValue" + ], + "members":{ + "FieldId":{"shape":"FieldId"}, + "FieldValue":{"shape":"FieldValue"} + } + }, + "DataPathValueList":{ + "type":"list", + "member":{"shape":"DataPathValue"}, + "max":20 + }, + "DataSet":{ + "type":"structure", + "members":{ + "Arn":{"shape":"Arn"}, + "DataSetId":{"shape":"ResourceId"}, + "Name":{"shape":"ResourceName"}, + "CreatedTime":{"shape":"Timestamp"}, + "LastUpdatedTime":{"shape":"Timestamp"}, + "PhysicalTableMap":{"shape":"PhysicalTableMap"}, + "LogicalTableMap":{"shape":"LogicalTableMap"}, + "OutputColumns":{"shape":"OutputColumnList"}, + "ImportMode":{"shape":"DataSetImportMode"}, + "ConsumedSpiceCapacityInBytes":{"shape":"Long"}, + "ColumnGroups":{"shape":"ColumnGroupList"}, + "FieldFolders":{"shape":"FieldFolderMap"}, + "RowLevelPermissionDataSet":{"shape":"RowLevelPermissionDataSet"}, + "RowLevelPermissionTagConfiguration":{"shape":"RowLevelPermissionTagConfiguration"}, + "ColumnLevelPermissionRules":{"shape":"ColumnLevelPermissionRuleList"}, + "DataSetUsageConfiguration":{"shape":"DataSetUsageConfiguration"} + } + }, + "DataSetArnsList":{ + "type":"list", + "member":{"shape":"Arn"}, + "max":100 + }, + "DataSetConfiguration":{ + "type":"structure", + "members":{ + "Placeholder":{"shape":"String"}, + "DataSetSchema":{"shape":"DataSetSchema"}, + "ColumnGroupSchemaList":{"shape":"ColumnGroupSchemaList"} + } + }, + "DataSetConfigurationList":{ + "type":"list", + "member":{"shape":"DataSetConfiguration"}, + "max":30 + }, + "DataSetFilterAttribute":{ + "type":"string", + "enum":[ + "QUICKSIGHT_VIEWER_OR_OWNER", + "QUICKSIGHT_OWNER", + "DIRECT_QUICKSIGHT_VIEWER_OR_OWNER", + "DIRECT_QUICKSIGHT_OWNER", + "DIRECT_QUICKSIGHT_SOLE_OWNER", + "DATASET_NAME" + ] + }, + "DataSetIdentifier":{ + "type":"string", + "max":2048, + "min":1 + }, + "DataSetIdentifierDeclaration":{ + "type":"structure", + "required":[ + "Identifier", + "DataSetArn" + ], + "members":{ + "Identifier":{"shape":"DataSetIdentifier"}, + "DataSetArn":{"shape":"Arn"} + } + }, + "DataSetIdentifierDeclarationList":{ + "type":"list", + "member":{"shape":"DataSetIdentifierDeclaration"}, + "max":50, + "min":1 + }, + "DataSetImportMode":{ + "type":"string", + "enum":[ + "SPICE", + "DIRECT_QUERY" + ] + }, + "DataSetName":{ + "type":"string", + "max":128, + "min":1 + }, + "DataSetReference":{ + "type":"structure", + "required":[ + "DataSetPlaceholder", + "DataSetArn" + ], + "members":{ + "DataSetPlaceholder":{"shape":"NonEmptyString"}, + "DataSetArn":{"shape":"Arn"} + } + }, + "DataSetReferenceList":{ + "type":"list", + "member":{"shape":"DataSetReference"}, + "min":1 + }, + "DataSetSchema":{ + "type":"structure", + "members":{ + "ColumnSchemaList":{"shape":"ColumnSchemaList"} + } + }, + "DataSetSearchFilter":{ + "type":"structure", + "required":[ + "Operator", + "Name", + "Value" + ], + "members":{ + "Operator":{"shape":"FilterOperator"}, + "Name":{"shape":"DataSetFilterAttribute"}, + "Value":{"shape":"String"} + } + }, + "DataSetSearchFilterList":{ + "type":"list", + "member":{"shape":"DataSetSearchFilter"}, + "max":1, + "min":1 + }, + "DataSetSummary":{ + "type":"structure", + "members":{ + "Arn":{"shape":"Arn"}, + "DataSetId":{"shape":"ResourceId"}, + "Name":{"shape":"ResourceName"}, + "CreatedTime":{"shape":"Timestamp"}, + "LastUpdatedTime":{"shape":"Timestamp"}, + "ImportMode":{"shape":"DataSetImportMode"}, + "RowLevelPermissionDataSet":{"shape":"RowLevelPermissionDataSet"}, + "RowLevelPermissionTagConfigurationApplied":{"shape":"Boolean"}, + "ColumnLevelPermissionRulesApplied":{"shape":"Boolean"} + } + }, + "DataSetSummaryList":{ + "type":"list", + "member":{"shape":"DataSetSummary"} + }, + "DataSetUsageConfiguration":{ + "type":"structure", + "members":{ + "DisableUseAsDirectQuerySource":{"shape":"Boolean"}, + "DisableUseAsImportedSource":{"shape":"Boolean"} + } + }, + "DataSource":{ + "type":"structure", + "members":{ + "Arn":{"shape":"Arn"}, + "DataSourceId":{"shape":"ResourceId"}, + "Name":{"shape":"ResourceName"}, + "Type":{"shape":"DataSourceType"}, + "Status":{"shape":"ResourceStatus"}, + "CreatedTime":{"shape":"Timestamp"}, + "LastUpdatedTime":{"shape":"Timestamp"}, + "DataSourceParameters":{"shape":"DataSourceParameters"}, + "AlternateDataSourceParameters":{"shape":"DataSourceParametersList"}, + "VpcConnectionProperties":{"shape":"VpcConnectionProperties"}, + "SslProperties":{"shape":"SslProperties"}, + "ErrorInfo":{"shape":"DataSourceErrorInfo"}, + "SecretArn":{"shape":"SecretArn"} + } + }, + "DataSourceCredentials":{ + "type":"structure", + "members":{ + "CredentialPair":{"shape":"CredentialPair"}, + "CopySourceArn":{"shape":"CopySourceArn"}, + "SecretArn":{"shape":"SecretArn"} + }, + "sensitive":true + }, + "DataSourceErrorInfo":{ + "type":"structure", + "members":{ + "Type":{"shape":"DataSourceErrorInfoType"}, + "Message":{"shape":"String"} + } + }, + "DataSourceErrorInfoType":{ + "type":"string", + "enum":[ + "ACCESS_DENIED", + "COPY_SOURCE_NOT_FOUND", + "TIMEOUT", + "ENGINE_VERSION_NOT_SUPPORTED", + "UNKNOWN_HOST", + "GENERIC_SQL_FAILURE", + "CONFLICT", + "UNKNOWN" + ] + }, + "DataSourceFilterAttribute":{ + "type":"string", + "enum":[ + "DIRECT_QUICKSIGHT_VIEWER_OR_OWNER", + "DIRECT_QUICKSIGHT_OWNER", + "DIRECT_QUICKSIGHT_SOLE_OWNER", + "DATASOURCE_NAME" + ] + }, + "DataSourceList":{ + "type":"list", + "member":{"shape":"DataSource"} + }, + "DataSourceParameters":{ + "type":"structure", + "members":{ + "AmazonElasticsearchParameters":{"shape":"AmazonElasticsearchParameters"}, + "AthenaParameters":{"shape":"AthenaParameters"}, + "AuroraParameters":{"shape":"AuroraParameters"}, + "AuroraPostgreSqlParameters":{"shape":"AuroraPostgreSqlParameters"}, + "AwsIotAnalyticsParameters":{"shape":"AwsIotAnalyticsParameters"}, + "JiraParameters":{"shape":"JiraParameters"}, + "MariaDbParameters":{"shape":"MariaDbParameters"}, + "MySqlParameters":{"shape":"MySqlParameters"}, + "OracleParameters":{"shape":"OracleParameters"}, + "PostgreSqlParameters":{"shape":"PostgreSqlParameters"}, + "PrestoParameters":{"shape":"PrestoParameters"}, + "RdsParameters":{"shape":"RdsParameters"}, + "RedshiftParameters":{"shape":"RedshiftParameters"}, + "S3Parameters":{"shape":"S3Parameters"}, + "ServiceNowParameters":{"shape":"ServiceNowParameters"}, + "SnowflakeParameters":{"shape":"SnowflakeParameters"}, + "SparkParameters":{"shape":"SparkParameters"}, + "SqlServerParameters":{"shape":"SqlServerParameters"}, + "TeradataParameters":{"shape":"TeradataParameters"}, + "TwitterParameters":{"shape":"TwitterParameters"}, + "AmazonOpenSearchParameters":{"shape":"AmazonOpenSearchParameters"}, + "ExasolParameters":{"shape":"ExasolParameters"}, + "DatabricksParameters":{"shape":"DatabricksParameters"} + } + }, + "DataSourceParametersList":{ + "type":"list", + "member":{"shape":"DataSourceParameters"}, + "max":50, + "min":1 + }, + "DataSourceSearchFilter":{ + "type":"structure", + "required":[ + "Operator", + "Name", + "Value" + ], + "members":{ + "Operator":{"shape":"FilterOperator"}, + "Name":{"shape":"DataSourceFilterAttribute"}, + "Value":{"shape":"String"} + } + }, + "DataSourceSearchFilterList":{ + "type":"list", + "member":{"shape":"DataSourceSearchFilter"}, + "max":1, + "min":1 + }, + "DataSourceSummary":{ + "type":"structure", + "members":{ + "Arn":{"shape":"Arn"}, + "DataSourceId":{"shape":"ResourceId"}, + "Name":{"shape":"ResourceName"}, + "Type":{"shape":"DataSourceType"}, + "CreatedTime":{"shape":"Timestamp"}, + "LastUpdatedTime":{"shape":"Timestamp"} + } + }, + "DataSourceSummaryList":{ + "type":"list", + "member":{"shape":"DataSourceSummary"} + }, + "DataSourceType":{ + "type":"string", + "enum":[ + "ADOBE_ANALYTICS", + "AMAZON_ELASTICSEARCH", + "ATHENA", + "AURORA", + "AURORA_POSTGRESQL", + "AWS_IOT_ANALYTICS", + "GITHUB", + "JIRA", + "MARIADB", + "MYSQL", + "ORACLE", + "POSTGRESQL", + "PRESTO", + "REDSHIFT", + "S3", + "SALESFORCE", + "SERVICENOW", + "SNOWFLAKE", + "SPARK", + "SQLSERVER", + "TERADATA", + "TWITTER", + "TIMESTREAM", + "AMAZON_OPENSEARCH", + "EXASOL", + "DATABRICKS" + ] + }, + "Database":{ + "type":"string", + "max":128, + "min":1 + }, + "DatabricksParameters":{ + "type":"structure", + "required":[ + "Host", + "Port", + "SqlEndpointPath" + ], + "members":{ + "Host":{"shape":"Host"}, + "Port":{"shape":"Port"}, + "SqlEndpointPath":{"shape":"SqlEndpointPath"} + } + }, + "DateAggregationFunction":{ + "type":"string", + "enum":[ + "COUNT", + "DISTINCT_COUNT", + "MIN", + "MAX" + ] + }, + "DateAxisOptions":{ + "type":"structure", + "members":{ + "MissingDateVisibility":{"shape":"Visibility"} + } + }, + "DateDimensionField":{ + "type":"structure", + "required":[ + "FieldId", + "Column" + ], + "members":{ + "FieldId":{"shape":"FieldId"}, + "Column":{"shape":"ColumnIdentifier"}, + "DateGranularity":{"shape":"TimeGranularity"}, + "HierarchyId":{"shape":"HierarchyId"}, + "FormatConfiguration":{"shape":"DateTimeFormatConfiguration"} + } + }, + "DateMeasureField":{ + "type":"structure", + "required":[ + "FieldId", + "Column" + ], + "members":{ + "FieldId":{"shape":"FieldId"}, + "Column":{"shape":"ColumnIdentifier"}, + "AggregationFunction":{"shape":"DateAggregationFunction"}, + "FormatConfiguration":{"shape":"DateTimeFormatConfiguration"} + } + }, + "DateTimeDefaultValueList":{ + "type":"list", + "member":{"shape":"SensitiveTimestamp"}, + "max":50000 + }, + "DateTimeDefaultValues":{ + "type":"structure", + "members":{ + "DynamicValue":{"shape":"DynamicDefaultValue"}, + "StaticValues":{"shape":"DateTimeDefaultValueList"}, + "RollingDate":{"shape":"RollingDateConfiguration"} + } + }, + "DateTimeFormat":{ + "type":"string", + "max":128, + "min":1 + }, + "DateTimeFormatConfiguration":{ + "type":"structure", + "members":{ + "DateTimeFormat":{"shape":"DateTimeFormat"}, + "NullValueFormatConfiguration":{"shape":"NullValueFormatConfiguration"}, + "NumericFormatConfiguration":{"shape":"NumericFormatConfiguration"} + } + }, + "DateTimeHierarchy":{ + "type":"structure", + "required":["HierarchyId"], + "members":{ + "HierarchyId":{"shape":"HierarchyId"}, + "DrillDownFilters":{"shape":"DrillDownFilterList"} + } + }, + "DateTimeParameter":{ + "type":"structure", + "required":[ + "Name", + "Values" + ], + "members":{ + "Name":{"shape":"NonEmptyString"}, + "Values":{"shape":"SensitiveTimestampList"} + } + }, + "DateTimeParameterDeclaration":{ + "type":"structure", + "required":["Name"], + "members":{ + "Name":{"shape":"ParameterName"}, + "DefaultValues":{"shape":"DateTimeDefaultValues"}, + "TimeGranularity":{"shape":"TimeGranularity"}, + "ValueWhenUnset":{"shape":"DateTimeValueWhenUnsetConfiguration"} + } + }, + "DateTimeParameterList":{ + "type":"list", + "member":{"shape":"DateTimeParameter"}, + "max":100 + }, + "DateTimePickerControlDisplayOptions":{ + "type":"structure", + "members":{ + "TitleOptions":{"shape":"LabelOptions"}, + "DateTimeFormat":{"shape":"DateTimeFormat"} + } + }, + "DateTimeValueWhenUnsetConfiguration":{ + "type":"structure", + "members":{ + "ValueWhenUnsetOption":{"shape":"ValueWhenUnsetOption"}, + "CustomValue":{"shape":"SensitiveTimestamp"} + } + }, + "DecimalDefaultValueList":{ + "type":"list", + "member":{"shape":"SensitiveDoubleObject"}, + "max":50000 + }, + "DecimalDefaultValues":{ + "type":"structure", + "members":{ + "DynamicValue":{"shape":"DynamicDefaultValue"}, + "StaticValues":{"shape":"DecimalDefaultValueList"} + } + }, + "DecimalParameter":{ + "type":"structure", + "required":[ + "Name", + "Values" + ], + "members":{ + "Name":{"shape":"NonEmptyString"}, + "Values":{"shape":"SensitiveDoubleList"} + } + }, + "DecimalParameterDeclaration":{ + "type":"structure", + "required":[ + "ParameterValueType", + "Name" + ], + "members":{ + "ParameterValueType":{"shape":"ParameterValueType"}, + "Name":{"shape":"ParameterName"}, + "DefaultValues":{"shape":"DecimalDefaultValues"}, + "ValueWhenUnset":{"shape":"DecimalValueWhenUnsetConfiguration"} + } + }, + "DecimalParameterList":{ + "type":"list", + "member":{"shape":"DecimalParameter"}, + "max":100 + }, + "DecimalPlaces":{ + "type":"long", + "max":20, + "min":0 + }, + "DecimalPlacesConfiguration":{ + "type":"structure", + "required":["DecimalPlaces"], + "members":{ + "DecimalPlaces":{"shape":"DecimalPlaces"} + } + }, + "DecimalValueWhenUnsetConfiguration":{ + "type":"structure", + "members":{ + "ValueWhenUnsetOption":{"shape":"ValueWhenUnsetOption"}, + "CustomValue":{ + "shape":"SensitiveDouble", + "box":true + } + } + }, + "DefaultFreeFormLayoutConfiguration":{ + "type":"structure", + "required":["CanvasSizeOptions"], + "members":{ + "CanvasSizeOptions":{"shape":"FreeFormLayoutCanvasSizeOptions"} + } + }, + "DefaultGridLayoutConfiguration":{ + "type":"structure", + "required":["CanvasSizeOptions"], + "members":{ + "CanvasSizeOptions":{"shape":"GridLayoutCanvasSizeOptions"} + } + }, + "DefaultInteractiveLayoutConfiguration":{ + "type":"structure", + "members":{ + "Grid":{"shape":"DefaultGridLayoutConfiguration"}, + "FreeForm":{"shape":"DefaultFreeFormLayoutConfiguration"} + } + }, + "DefaultNewSheetConfiguration":{ + "type":"structure", + "members":{ + "InteractiveLayoutConfiguration":{"shape":"DefaultInteractiveLayoutConfiguration"}, + "PaginatedLayoutConfiguration":{"shape":"DefaultPaginatedLayoutConfiguration"}, + "SheetContentType":{"shape":"SheetContentType"} + } + }, + "DefaultPaginatedLayoutConfiguration":{ + "type":"structure", + "members":{ + "SectionBased":{"shape":"DefaultSectionBasedLayoutConfiguration"} + } + }, + "DefaultSectionBasedLayoutConfiguration":{ + "type":"structure", + "required":["CanvasSizeOptions"], + "members":{ + "CanvasSizeOptions":{"shape":"SectionBasedLayoutCanvasSizeOptions"} + } + }, + "DeleteAccountCustomizationRequest":{ + "type":"structure", + "required":["AwsAccountId"], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "Namespace":{ + "shape":"Namespace", + "location":"querystring", + "locationName":"namespace" + } + } + }, + "DeleteAccountCustomizationResponse":{ + "type":"structure", + "members":{ + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } + } + }, + "DeleteAccountSubscriptionRequest":{ + "type":"structure", + "required":["AwsAccountId"], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + } + } + }, + "DeleteAccountSubscriptionResponse":{ + "type":"structure", + "members":{ + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } + } + }, + "DeleteAnalysisRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "AnalysisId" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "AnalysisId":{ + "shape":"ShortRestrictiveResourceId", + "location":"uri", + "locationName":"AnalysisId" + }, + "RecoveryWindowInDays":{ + "shape":"RecoveryWindowInDays", + "location":"querystring", + "locationName":"recovery-window-in-days" + }, + "ForceDeleteWithoutRecovery":{ + "shape":"Boolean", + "location":"querystring", + "locationName":"force-delete-without-recovery" + } + } + }, + "DeleteAnalysisResponse":{ + "type":"structure", + "members":{ + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + }, + "Arn":{"shape":"Arn"}, + "AnalysisId":{"shape":"ShortRestrictiveResourceId"}, + "DeletionTime":{"shape":"Timestamp"}, + "RequestId":{"shape":"String"} + } + }, + "DeleteDashboardRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "DashboardId" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "DashboardId":{ + "shape":"ShortRestrictiveResourceId", + "location":"uri", + "locationName":"DashboardId" + }, + "VersionNumber":{ + "shape":"VersionNumber", + "location":"querystring", + "locationName":"version-number" + } + } + }, + "DeleteDashboardResponse":{ + "type":"structure", + "members":{ + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + }, + "Arn":{"shape":"Arn"}, + "DashboardId":{"shape":"ShortRestrictiveResourceId"}, + "RequestId":{"shape":"String"} + } + }, + "DeleteDataSetRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "DataSetId" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "DataSetId":{ + "shape":"ResourceId", + "location":"uri", + "locationName":"DataSetId" + } + } + }, + "DeleteDataSetResponse":{ + "type":"structure", + "members":{ + "Arn":{"shape":"Arn"}, + "DataSetId":{"shape":"ResourceId"}, + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } + } + }, + "DeleteDataSourceRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "DataSourceId" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "DataSourceId":{ + "shape":"ResourceId", + "location":"uri", + "locationName":"DataSourceId" + } + } + }, + "DeleteDataSourceResponse":{ + "type":"structure", + "members":{ + "Arn":{"shape":"Arn"}, + "DataSourceId":{"shape":"ResourceId"}, + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } + } + }, + "DeleteFolderMembershipRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "FolderId", + "MemberId", + "MemberType" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "FolderId":{ + "shape":"RestrictiveResourceId", + "location":"uri", + "locationName":"FolderId" + }, + "MemberId":{ + "shape":"RestrictiveResourceId", + "location":"uri", + "locationName":"MemberId" + }, + "MemberType":{ + "shape":"MemberType", + "location":"uri", + "locationName":"MemberType" + } + } + }, + "DeleteFolderMembershipResponse":{ + "type":"structure", + "members":{ + "Status":{"shape":"StatusCode"}, + "RequestId":{"shape":"String"} + } + }, + "DeleteFolderRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "FolderId" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "FolderId":{ + "shape":"RestrictiveResourceId", + "location":"uri", + "locationName":"FolderId" + } + } + }, + "DeleteFolderResponse":{ + "type":"structure", + "members":{ + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + }, + "Arn":{"shape":"Arn"}, + "FolderId":{"shape":"RestrictiveResourceId"}, + "RequestId":{"shape":"String"} + } + }, + "DeleteGroupMembershipRequest":{ + "type":"structure", + "required":[ + "MemberName", + "GroupName", + "AwsAccountId", + "Namespace" + ], + "members":{ + "MemberName":{ + "shape":"GroupMemberName", + "location":"uri", + "locationName":"MemberName" + }, + "GroupName":{ + "shape":"GroupName", + "location":"uri", + "locationName":"GroupName" + }, + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "Namespace":{ + "shape":"Namespace", + "location":"uri", + "locationName":"Namespace" + } + } + }, + "DeleteGroupMembershipResponse":{ + "type":"structure", + "members":{ + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } + } + }, + "DeleteGroupRequest":{ + "type":"structure", + "required":[ + "GroupName", + "AwsAccountId", + "Namespace" + ], + "members":{ + "GroupName":{ + "shape":"GroupName", + "location":"uri", + "locationName":"GroupName" + }, + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "Namespace":{ + "shape":"Namespace", + "location":"uri", + "locationName":"Namespace" + } + } + }, + "DeleteGroupResponse":{ + "type":"structure", + "members":{ + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } + } + }, + "DeleteIAMPolicyAssignmentRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "AssignmentName", + "Namespace" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "AssignmentName":{ + "shape":"IAMPolicyAssignmentName", + "location":"uri", + "locationName":"AssignmentName" + }, + "Namespace":{ + "shape":"Namespace", + "location":"uri", + "locationName":"Namespace" + } + } + }, + "DeleteIAMPolicyAssignmentResponse":{ + "type":"structure", + "members":{ + "AssignmentName":{"shape":"IAMPolicyAssignmentName"}, + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } + } + }, + "DeleteNamespaceRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "Namespace" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "Namespace":{ + "shape":"Namespace", + "location":"uri", + "locationName":"Namespace" + } + } + }, + "DeleteNamespaceResponse":{ + "type":"structure", + "members":{ + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } + } + }, + "DeleteTemplateAliasRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "TemplateId", + "AliasName" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "TemplateId":{ + "shape":"ShortRestrictiveResourceId", + "location":"uri", + "locationName":"TemplateId" + }, + "AliasName":{ + "shape":"AliasName", + "location":"uri", + "locationName":"AliasName" + } + } + }, + "DeleteTemplateAliasResponse":{ + "type":"structure", + "members":{ + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + }, + "TemplateId":{"shape":"ShortRestrictiveResourceId"}, + "AliasName":{"shape":"AliasName"}, + "Arn":{"shape":"Arn"}, + "RequestId":{"shape":"String"} + } + }, + "DeleteTemplateRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "TemplateId" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "TemplateId":{ + "shape":"ShortRestrictiveResourceId", + "location":"uri", + "locationName":"TemplateId" + }, + "VersionNumber":{ + "shape":"VersionNumber", + "location":"querystring", + "locationName":"version-number" + } + } + }, + "DeleteTemplateResponse":{ + "type":"structure", + "members":{ + "RequestId":{"shape":"String"}, + "Arn":{"shape":"Arn"}, + "TemplateId":{"shape":"ShortRestrictiveResourceId"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } + } + }, + "DeleteThemeAliasRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "ThemeId", + "AliasName" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "ThemeId":{ + "shape":"ShortRestrictiveResourceId", + "location":"uri", + "locationName":"ThemeId" + }, + "AliasName":{ + "shape":"AliasName", + "location":"uri", + "locationName":"AliasName" + } + } + }, + "DeleteThemeAliasResponse":{ + "type":"structure", + "members":{ + "AliasName":{"shape":"AliasName"}, + "Arn":{"shape":"Arn"}, + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + }, + "ThemeId":{"shape":"ShortRestrictiveResourceId"} + } + }, + "DeleteThemeRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "ThemeId" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "ThemeId":{ + "shape":"ShortRestrictiveResourceId", + "location":"uri", + "locationName":"ThemeId" + }, + "VersionNumber":{ + "shape":"VersionNumber", + "location":"querystring", + "locationName":"version-number" + } + } + }, + "DeleteThemeResponse":{ + "type":"structure", + "members":{ + "Arn":{"shape":"Arn"}, + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + }, + "ThemeId":{"shape":"ShortRestrictiveResourceId"} + } + }, + "DeleteUserByPrincipalIdRequest":{ + "type":"structure", + "required":[ + "PrincipalId", + "AwsAccountId", + "Namespace" + ], + "members":{ + "PrincipalId":{ + "shape":"String", + "location":"uri", + "locationName":"PrincipalId" + }, + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "Namespace":{ + "shape":"Namespace", + "location":"uri", + "locationName":"Namespace" + } + } + }, + "DeleteUserByPrincipalIdResponse":{ + "type":"structure", + "members":{ + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } + } + }, + "DeleteUserRequest":{ + "type":"structure", + "required":[ + "UserName", + "AwsAccountId", + "Namespace" + ], + "members":{ + "UserName":{ + "shape":"UserName", + "location":"uri", + "locationName":"UserName" + }, + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "Namespace":{ + "shape":"Namespace", + "location":"uri", + "locationName":"Namespace" + } + } + }, + "DeleteUserResponse":{ + "type":"structure", + "members":{ + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } + } + }, + "Delimiter":{ + "type":"string", + "max":1, + "min":1 + }, + "DescribeAccountCustomizationRequest":{ + "type":"structure", + "required":["AwsAccountId"], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "Namespace":{ + "shape":"Namespace", + "location":"querystring", + "locationName":"namespace" + }, + "Resolved":{ + "shape":"boolean", + "location":"querystring", + "locationName":"resolved" + } + } + }, + "DescribeAccountCustomizationResponse":{ + "type":"structure", + "members":{ + "Arn":{"shape":"Arn"}, + "AwsAccountId":{"shape":"AwsAccountId"}, + "Namespace":{"shape":"Namespace"}, + "AccountCustomization":{"shape":"AccountCustomization"}, + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } + } + }, + "DescribeAccountSettingsRequest":{ + "type":"structure", + "required":["AwsAccountId"], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + } + } + }, + "DescribeAccountSettingsResponse":{ + "type":"structure", + "members":{ + "AccountSettings":{"shape":"AccountSettings"}, + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } + } + }, + "DescribeAccountSubscriptionRequest":{ + "type":"structure", + "required":["AwsAccountId"], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + } + } + }, + "DescribeAccountSubscriptionResponse":{ + "type":"structure", + "members":{ + "AccountInfo":{"shape":"AccountInfo"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + }, + "RequestId":{"shape":"String"} + } + }, + "DescribeAnalysisDefinitionRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "AnalysisId" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "AnalysisId":{ + "shape":"ShortRestrictiveResourceId", + "location":"uri", + "locationName":"AnalysisId" + } + } + }, + "DescribeAnalysisDefinitionResponse":{ + "type":"structure", + "members":{ + "AnalysisId":{"shape":"ShortRestrictiveResourceId"}, + "Name":{"shape":"AnalysisName"}, + "Errors":{"shape":"AnalysisErrorList"}, + "ResourceStatus":{"shape":"ResourceStatus"}, + "ThemeArn":{"shape":"Arn"}, + "Definition":{"shape":"AnalysisDefinition"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + }, + "RequestId":{"shape":"String"} + } + }, + "DescribeAnalysisPermissionsRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "AnalysisId" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "AnalysisId":{ + "shape":"ShortRestrictiveResourceId", + "location":"uri", + "locationName":"AnalysisId" + } + } + }, + "DescribeAnalysisPermissionsResponse":{ + "type":"structure", + "members":{ + "AnalysisId":{"shape":"ShortRestrictiveResourceId"}, + "AnalysisArn":{"shape":"Arn"}, + "Permissions":{"shape":"ResourcePermissionList"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + }, + "RequestId":{"shape":"String"} + } + }, + "DescribeAnalysisRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "AnalysisId" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "AnalysisId":{ + "shape":"ShortRestrictiveResourceId", + "location":"uri", + "locationName":"AnalysisId" + } + } + }, + "DescribeAnalysisResponse":{ + "type":"structure", + "members":{ + "Analysis":{"shape":"Analysis"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + }, + "RequestId":{"shape":"String"} + } + }, + "DescribeDashboardDefinitionRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "DashboardId" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "DashboardId":{ + "shape":"ShortRestrictiveResourceId", + "location":"uri", + "locationName":"DashboardId" + }, + "VersionNumber":{ + "shape":"VersionNumber", + "location":"querystring", + "locationName":"version-number" + }, + "AliasName":{ + "shape":"AliasName", + "location":"querystring", + "locationName":"alias-name" + } + } + }, + "DescribeDashboardDefinitionResponse":{ + "type":"structure", + "members":{ + "DashboardId":{"shape":"ShortRestrictiveResourceId"}, + "Errors":{"shape":"DashboardErrorList"}, + "Name":{"shape":"DashboardName"}, + "ResourceStatus":{"shape":"ResourceStatus"}, + "ThemeArn":{"shape":"Arn"}, + "Definition":{"shape":"DashboardVersionDefinition"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + }, + "RequestId":{"shape":"String"} + } + }, + "DescribeDashboardPermissionsRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "DashboardId" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "DashboardId":{ + "shape":"ShortRestrictiveResourceId", + "location":"uri", + "locationName":"DashboardId" + } + } + }, + "DescribeDashboardPermissionsResponse":{ + "type":"structure", + "members":{ + "DashboardId":{"shape":"ShortRestrictiveResourceId"}, + "DashboardArn":{"shape":"Arn"}, + "Permissions":{"shape":"ResourcePermissionList"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + }, + "RequestId":{"shape":"String"}, + "LinkSharingConfiguration":{"shape":"LinkSharingConfiguration"} + } + }, + "DescribeDashboardRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "DashboardId" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "DashboardId":{ + "shape":"ShortRestrictiveResourceId", + "location":"uri", + "locationName":"DashboardId" + }, + "VersionNumber":{ + "shape":"VersionNumber", + "location":"querystring", + "locationName":"version-number" + }, + "AliasName":{ + "shape":"AliasName", + "location":"querystring", + "locationName":"alias-name" + } + } + }, + "DescribeDashboardResponse":{ + "type":"structure", + "members":{ + "Dashboard":{"shape":"Dashboard"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + }, + "RequestId":{"shape":"String"} + } + }, + "DescribeDataSetPermissionsRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "DataSetId" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "DataSetId":{ + "shape":"ResourceId", + "location":"uri", + "locationName":"DataSetId" + } + } + }, + "DescribeDataSetPermissionsResponse":{ + "type":"structure", + "members":{ + "DataSetArn":{"shape":"Arn"}, + "DataSetId":{"shape":"ResourceId"}, + "Permissions":{"shape":"ResourcePermissionList"}, + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } + } + }, + "DescribeDataSetRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "DataSetId" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "DataSetId":{ + "shape":"ResourceId", + "location":"uri", + "locationName":"DataSetId" + } + } + }, + "DescribeDataSetResponse":{ + "type":"structure", + "members":{ + "DataSet":{"shape":"DataSet"}, + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } + } + }, + "DescribeDataSourcePermissionsRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "DataSourceId" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "DataSourceId":{ + "shape":"ResourceId", + "location":"uri", + "locationName":"DataSourceId" + } + } + }, + "DescribeDataSourcePermissionsResponse":{ + "type":"structure", + "members":{ + "DataSourceArn":{"shape":"Arn"}, + "DataSourceId":{"shape":"ResourceId"}, + "Permissions":{"shape":"ResourcePermissionList"}, + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } + } + }, + "DescribeDataSourceRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "DataSourceId" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "DataSourceId":{ + "shape":"ResourceId", + "location":"uri", + "locationName":"DataSourceId" + } + } + }, + "DescribeDataSourceResponse":{ + "type":"structure", + "members":{ + "DataSource":{"shape":"DataSource"}, + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } + } + }, + "DescribeFolderPermissionsRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "FolderId" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "FolderId":{ + "shape":"RestrictiveResourceId", + "location":"uri", + "locationName":"FolderId" + } + } + }, + "DescribeFolderPermissionsResponse":{ + "type":"structure", + "members":{ + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + }, + "FolderId":{"shape":"RestrictiveResourceId"}, + "Arn":{"shape":"Arn"}, + "Permissions":{"shape":"ResourcePermissionList"}, + "RequestId":{"shape":"String"} + } + }, + "DescribeFolderRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "FolderId" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "FolderId":{ + "shape":"RestrictiveResourceId", + "location":"uri", + "locationName":"FolderId" + } + } + }, + "DescribeFolderResolvedPermissionsRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "FolderId" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "FolderId":{ + "shape":"RestrictiveResourceId", + "location":"uri", + "locationName":"FolderId" + } + } + }, + "DescribeFolderResolvedPermissionsResponse":{ + "type":"structure", + "members":{ + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + }, + "FolderId":{"shape":"RestrictiveResourceId"}, + "Arn":{"shape":"Arn"}, + "Permissions":{"shape":"ResourcePermissionList"}, + "RequestId":{"shape":"String"} + } + }, + "DescribeFolderResponse":{ + "type":"structure", + "members":{ + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + }, + "Folder":{"shape":"Folder"}, + "RequestId":{"shape":"String"} + } + }, + "DescribeGroupMembershipRequest":{ + "type":"structure", + "required":[ + "MemberName", + "GroupName", + "AwsAccountId", + "Namespace" + ], + "members":{ + "MemberName":{ + "shape":"GroupMemberName", + "location":"uri", + "locationName":"MemberName" + }, + "GroupName":{ + "shape":"GroupName", + "location":"uri", + "locationName":"GroupName" + }, + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "Namespace":{ + "shape":"Namespace", + "location":"uri", + "locationName":"Namespace" + } + } + }, + "DescribeGroupMembershipResponse":{ + "type":"structure", + "members":{ + "GroupMember":{"shape":"GroupMember"}, + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } + } + }, + "DescribeGroupRequest":{ + "type":"structure", + "required":[ + "GroupName", + "AwsAccountId", + "Namespace" + ], + "members":{ + "GroupName":{ + "shape":"GroupName", + "location":"uri", + "locationName":"GroupName" + }, + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "Namespace":{ + "shape":"Namespace", + "location":"uri", + "locationName":"Namespace" + } + } + }, + "DescribeGroupResponse":{ + "type":"structure", + "members":{ + "Group":{"shape":"Group"}, + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } + } + }, + "DescribeIAMPolicyAssignmentRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "AssignmentName", + "Namespace" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "AssignmentName":{ + "shape":"IAMPolicyAssignmentName", + "location":"uri", + "locationName":"AssignmentName" + }, + "Namespace":{ + "shape":"Namespace", + "location":"uri", + "locationName":"Namespace" + } + } + }, + "DescribeIAMPolicyAssignmentResponse":{ + "type":"structure", + "members":{ + "IAMPolicyAssignment":{"shape":"IAMPolicyAssignment"}, + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } + } + }, + "DescribeIngestionRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "DataSetId", + "IngestionId" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "DataSetId":{ + "shape":"String", + "location":"uri", + "locationName":"DataSetId" + }, + "IngestionId":{ + "shape":"IngestionId", + "location":"uri", + "locationName":"IngestionId" + } + } + }, + "DescribeIngestionResponse":{ + "type":"structure", + "members":{ + "Ingestion":{"shape":"Ingestion"}, + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } + } + }, + "DescribeIpRestrictionRequest":{ + "type":"structure", + "required":["AwsAccountId"], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + } + } + }, + "DescribeIpRestrictionResponse":{ + "type":"structure", + "members":{ + "AwsAccountId":{"shape":"AwsAccountId"}, + "IpRestrictionRuleMap":{"shape":"IpRestrictionRuleMap"}, + "Enabled":{"shape":"NullableBoolean"}, + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } + } + }, + "DescribeNamespaceRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "Namespace" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "Namespace":{ + "shape":"Namespace", + "location":"uri", + "locationName":"Namespace" + } + } + }, + "DescribeNamespaceResponse":{ + "type":"structure", + "members":{ + "Namespace":{"shape":"NamespaceInfoV2"}, + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } + } + }, + "DescribeTemplateAliasRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "TemplateId", + "AliasName" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "TemplateId":{ + "shape":"ShortRestrictiveResourceId", + "location":"uri", + "locationName":"TemplateId" + }, + "AliasName":{ + "shape":"AliasName", + "location":"uri", + "locationName":"AliasName" + } + } + }, + "DescribeTemplateAliasResponse":{ + "type":"structure", + "members":{ + "TemplateAlias":{"shape":"TemplateAlias"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + }, + "RequestId":{"shape":"String"} + } + }, + "DescribeTemplateDefinitionRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "TemplateId" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "TemplateId":{ + "shape":"ShortRestrictiveResourceId", + "location":"uri", + "locationName":"TemplateId" + }, + "VersionNumber":{ + "shape":"VersionNumber", + "location":"querystring", + "locationName":"version-number" + }, + "AliasName":{ + "shape":"AliasName", + "location":"querystring", + "locationName":"alias-name" + } + } + }, + "DescribeTemplateDefinitionResponse":{ + "type":"structure", + "members":{ + "Name":{"shape":"TemplateName"}, + "TemplateId":{"shape":"ShortRestrictiveResourceId"}, + "Errors":{"shape":"TemplateErrorList"}, + "ResourceStatus":{"shape":"ResourceStatus"}, + "ThemeArn":{"shape":"Arn"}, + "Definition":{"shape":"TemplateVersionDefinition"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + }, + "RequestId":{"shape":"String"} + } + }, + "DescribeTemplatePermissionsRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "TemplateId" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "TemplateId":{ + "shape":"ShortRestrictiveResourceId", + "location":"uri", + "locationName":"TemplateId" + } + } + }, + "DescribeTemplatePermissionsResponse":{ + "type":"structure", + "members":{ + "TemplateId":{"shape":"ShortRestrictiveResourceId"}, + "TemplateArn":{"shape":"Arn"}, + "Permissions":{"shape":"ResourcePermissionList"}, + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } + } + }, + "DescribeTemplateRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "TemplateId" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "TemplateId":{ + "shape":"ShortRestrictiveResourceId", + "location":"uri", + "locationName":"TemplateId" + }, + "VersionNumber":{ + "shape":"VersionNumber", + "location":"querystring", + "locationName":"version-number" + }, + "AliasName":{ + "shape":"AliasName", + "location":"querystring", + "locationName":"alias-name" + } + } + }, + "DescribeTemplateResponse":{ + "type":"structure", + "members":{ + "Template":{"shape":"Template"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + }, + "RequestId":{"shape":"String"} + } + }, + "DescribeThemeAliasRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "ThemeId", + "AliasName" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "ThemeId":{ + "shape":"ShortRestrictiveResourceId", + "location":"uri", + "locationName":"ThemeId" + }, + "AliasName":{ + "shape":"AliasName", + "location":"uri", + "locationName":"AliasName" + } + } + }, + "DescribeThemeAliasResponse":{ + "type":"structure", + "members":{ + "ThemeAlias":{"shape":"ThemeAlias"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + }, + "RequestId":{"shape":"String"} + } + }, + "DescribeThemePermissionsRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "ThemeId" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "ThemeId":{ + "shape":"ShortRestrictiveResourceId", + "location":"uri", + "locationName":"ThemeId" + } + } + }, + "DescribeThemePermissionsResponse":{ + "type":"structure", + "members":{ + "ThemeId":{"shape":"ShortRestrictiveResourceId"}, + "ThemeArn":{"shape":"Arn"}, + "Permissions":{"shape":"ResourcePermissionList"}, + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } + } + }, + "DescribeThemeRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "ThemeId" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAndAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "ThemeId":{ + "shape":"ShortRestrictiveResourceId", + "location":"uri", + "locationName":"ThemeId" + }, + "VersionNumber":{ + "shape":"VersionNumber", + "location":"querystring", + "locationName":"version-number" + }, + "AliasName":{ + "shape":"AliasName", + "location":"querystring", + "locationName":"alias-name" + } + } + }, + "DescribeThemeResponse":{ + "type":"structure", + "members":{ + "Theme":{"shape":"Theme"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + }, + "RequestId":{"shape":"String"} + } + }, + "DescribeUserRequest":{ + "type":"structure", + "required":[ + "UserName", + "AwsAccountId", + "Namespace" + ], + "members":{ + "UserName":{ + "shape":"UserName", + "location":"uri", + "locationName":"UserName" + }, + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "Namespace":{ + "shape":"Namespace", + "location":"uri", + "locationName":"Namespace" + } + } + }, + "DescribeUserResponse":{ + "type":"structure", + "members":{ + "User":{"shape":"User"}, + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } + } + }, + "DestinationParameterValueConfiguration":{ + "type":"structure", + "members":{ + "CustomValuesConfiguration":{"shape":"CustomValuesConfiguration"}, + "SelectAllValueOptions":{"shape":"SelectAllValueOptions"}, + "SourceParameterName":{"shape":"String"}, + "SourceField":{"shape":"FieldId"} + } + }, + "DimensionField":{ + "type":"structure", + "members":{ + "NumericalDimensionField":{"shape":"NumericalDimensionField"}, + "CategoricalDimensionField":{"shape":"CategoricalDimensionField"}, + "DateDimensionField":{"shape":"DateDimensionField"} + } + }, + "DimensionFieldList":{ + "type":"list", + "member":{"shape":"DimensionField"}, + "max":200 + }, + "Domain":{ + "type":"string", + "max":64, + "min":1 + }, + "DomainNotWhitelistedException":{ + "type":"structure", + "members":{ + "Message":{"shape":"String"}, + "RequestId":{"shape":"String"} + }, + "error":{"httpStatusCode":403}, + "exception":true + }, + "DonutCenterOptions":{ + "type":"structure", + "members":{ + "LabelVisibility":{"shape":"Visibility"} + } + }, + "DonutOptions":{ + "type":"structure", + "members":{ + "ArcOptions":{"shape":"ArcOptions"}, + "DonutCenterOptions":{"shape":"DonutCenterOptions"} + } + }, + "Double":{"type":"double"}, + "DrillDownFilter":{ + "type":"structure", + "members":{ + "NumericEqualityFilter":{"shape":"NumericEqualityDrillDownFilter"}, + "CategoryFilter":{"shape":"CategoryDrillDownFilter"}, + "TimeRangeFilter":{"shape":"TimeRangeDrillDownFilter"} + } + }, + "DrillDownFilterList":{ + "type":"list", + "member":{"shape":"DrillDownFilter"}, + "max":10 + }, + "DropDownControlDisplayOptions":{ + "type":"structure", + "members":{ + "SelectAllOptions":{"shape":"ListControlSelectAllOptions"}, + "TitleOptions":{"shape":"LabelOptions"} + } + }, + "DynamicDefaultValue":{ + "type":"structure", + "required":["DefaultValueColumn"], + "members":{ + "UserNameColumn":{"shape":"ColumnIdentifier"}, + "GroupNameColumn":{"shape":"ColumnIdentifier"}, + "DefaultValueColumn":{"shape":"ColumnIdentifier"} + } + }, + "Edition":{ + "type":"string", + "enum":[ + "STANDARD", + "ENTERPRISE", + "ENTERPRISE_AND_Q" + ] + }, + "EmbeddingIdentityType":{ + "type":"string", + "enum":[ + "IAM", + "QUICKSIGHT", + "ANONYMOUS" + ] + }, + "EmbeddingUrl":{ + "type":"string", + "sensitive":true + }, + "EmptyVisual":{ + "type":"structure", + "required":[ + "VisualId", + "DataSetIdentifier" + ], + "members":{ + "VisualId":{"shape":"ShortRestrictiveResourceId"}, + "DataSetIdentifier":{"shape":"DataSetIdentifier"}, + "Actions":{"shape":"VisualCustomActionList"} + } + }, + "Entity":{ + "type":"structure", + "members":{ + "Path":{"shape":"NonEmptyString"} + } + }, + "EntityList":{ + "type":"list", + "member":{"shape":"Entity"}, + "max":200 + }, + "EntryPath":{ + "type":"string", + "max":1000, + "min":1 + }, + "EntryPoint":{ + "type":"string", + "max":1000, + "min":1 + }, + "ErrorInfo":{ + "type":"structure", + "members":{ + "Type":{"shape":"IngestionErrorType"}, + "Message":{"shape":"String"} + } + }, + "ExasolParameters":{ + "type":"structure", + "required":[ + "Host", + "Port" + ], + "members":{ + "Host":{"shape":"Host"}, + "Port":{"shape":"Port"} + } + }, + "ExceptionResourceType":{ + "type":"string", + "enum":[ + "USER", + "GROUP", + "NAMESPACE", + "ACCOUNT_SETTINGS", + "IAMPOLICY_ASSIGNMENT", + "DATA_SOURCE", + "DATA_SET", + "VPC_CONNECTION", + "INGESTION" + ] + }, + "ExcludePeriodConfiguration":{ + "type":"structure", + "required":[ + "Amount", + "Granularity" + ], + "members":{ + "Amount":{ + "shape":"Integer", + "box":true + }, + "Granularity":{"shape":"TimeGranularity"}, + "Status":{"shape":"WidgetStatus"} + } + }, + "ExplicitHierarchy":{ + "type":"structure", + "required":[ + "HierarchyId", + "Columns" + ], + "members":{ + "HierarchyId":{"shape":"HierarchyId"}, + "Columns":{"shape":"ExplicitHierarchyColumnList"}, + "DrillDownFilters":{"shape":"DrillDownFilterList"} + } + }, + "ExplicitHierarchyColumnList":{ + "type":"list", + "member":{"shape":"ColumnIdentifier"}, + "max":10, + "min":2 + }, + "ExportHiddenFieldsOption":{ + "type":"structure", + "members":{ + "AvailabilityStatus":{"shape":"DashboardBehavior"} + } + }, + "ExportToCSVOption":{ + "type":"structure", + "members":{ + "AvailabilityStatus":{"shape":"DashboardBehavior"} + } + }, + "Expression":{ + "type":"string", + "max":4096, + "min":1, + "sensitive":true + }, + "FieldBasedTooltip":{ + "type":"structure", + "members":{ + "AggregationVisibility":{"shape":"Visibility"}, + "TooltipTitleType":{"shape":"TooltipTitleType"}, + "TooltipFields":{"shape":"TooltipItemList"} + } + }, + "FieldFolder":{ + "type":"structure", + "members":{ + "description":{"shape":"FieldFolderDescription"}, + "columns":{"shape":"FolderColumnList"} + } + }, + "FieldFolderDescription":{ + "type":"string", + "max":500 + }, + "FieldFolderMap":{ + "type":"map", + "key":{"shape":"FieldFolderPath"}, + "value":{"shape":"FieldFolder"} + }, + "FieldFolderPath":{ + "type":"string", + "max":1000, + "min":1 + }, + "FieldId":{ + "type":"string", + "max":512, + "min":1 + }, + "FieldLabelType":{ + "type":"structure", + "members":{ + "FieldId":{"shape":"FieldId"}, + "Visibility":{"shape":"Visibility"} + } + }, + "FieldOrderList":{ + "type":"list", + "member":{"shape":"FieldId"}, + "max":100 + }, + "FieldSeriesItem":{ + "type":"structure", + "required":[ + "FieldId", + "AxisBinding" + ], + "members":{ + "FieldId":{"shape":"FieldId"}, + "AxisBinding":{"shape":"AxisBinding"}, + "Settings":{"shape":"LineChartSeriesSettings"} + } + }, + "FieldSort":{ + "type":"structure", + "required":[ + "FieldId", + "Direction" + ], + "members":{ + "FieldId":{"shape":"FieldId"}, + "Direction":{"shape":"SortDirection"} + } + }, + "FieldSortOptions":{ + "type":"structure", + "members":{ + "FieldSort":{"shape":"FieldSort"}, + "ColumnSort":{"shape":"ColumnSort"} + } + }, + "FieldSortOptionsList":{ + "type":"list", + "member":{"shape":"FieldSortOptions"}, + "max":100 + }, + "FieldTooltipItem":{ + "type":"structure", + "required":["FieldId"], + "members":{ + "FieldId":{"shape":"FieldId"}, + "Label":{"shape":"String"}, + "Visibility":{"shape":"Visibility"} + } + }, + "FieldValue":{ + "type":"string", + "max":2048, + "sensitive":true + }, + "FileFormat":{ + "type":"string", + "enum":[ + "CSV", + "TSV", + "CLF", + "ELF", + "XLSX", + "JSON" + ] + }, + "FilledMapAggregatedFieldWells":{ + "type":"structure", + "members":{ + "Geospatial":{"shape":"FilledMapDimensionFieldList"}, + "Values":{"shape":"FilledMapMeasureFieldList"} + } + }, + "FilledMapConditionalFormatting":{ + "type":"structure", + "required":["ConditionalFormattingOptions"], + "members":{ + "ConditionalFormattingOptions":{"shape":"FilledMapConditionalFormattingOptionList"} + } + }, + "FilledMapConditionalFormattingOption":{ + "type":"structure", + "required":["Shape"], + "members":{ + "Shape":{"shape":"FilledMapShapeConditionalFormatting"} + } + }, + "FilledMapConditionalFormattingOptionList":{ + "type":"list", + "member":{"shape":"FilledMapConditionalFormattingOption"}, + "max":200 + }, + "FilledMapConfiguration":{ + "type":"structure", + "members":{ + "FieldWells":{"shape":"FilledMapFieldWells"}, + "SortConfiguration":{"shape":"FilledMapSortConfiguration"}, + "Legend":{"shape":"LegendOptions"}, + "Tooltip":{"shape":"TooltipOptions"}, + "WindowOptions":{"shape":"GeospatialWindowOptions"}, + "MapStyleOptions":{"shape":"GeospatialMapStyleOptions"} + } + }, + "FilledMapDimensionFieldList":{ + "type":"list", + "member":{"shape":"DimensionField"}, + "max":1 + }, + "FilledMapFieldWells":{ + "type":"structure", + "members":{ + "FilledMapAggregatedFieldWells":{"shape":"FilledMapAggregatedFieldWells"} + } + }, + "FilledMapMeasureFieldList":{ + "type":"list", + "member":{"shape":"MeasureField"}, + "max":1 + }, + "FilledMapShapeConditionalFormatting":{ + "type":"structure", + "required":["FieldId"], + "members":{ + "FieldId":{"shape":"FieldId"}, + "Format":{"shape":"ShapeConditionalFormat"} + } + }, + "FilledMapSortConfiguration":{ + "type":"structure", + "members":{ + "CategorySort":{"shape":"FieldSortOptionsList"} + } + }, + "FilledMapVisual":{ + "type":"structure", + "required":["VisualId"], + "members":{ + "VisualId":{"shape":"ShortRestrictiveResourceId"}, + "Title":{"shape":"VisualTitleLabelOptions"}, + "Subtitle":{"shape":"VisualSubtitleLabelOptions"}, + "ChartConfiguration":{"shape":"FilledMapConfiguration"}, + "ConditionalFormatting":{"shape":"FilledMapConditionalFormatting"}, + "ColumnHierarchies":{"shape":"ColumnHierarchyList"}, + "Actions":{"shape":"VisualCustomActionList"} + } + }, + "Filter":{ + "type":"structure", + "members":{ + "CategoryFilter":{"shape":"CategoryFilter"}, + "NumericRangeFilter":{"shape":"NumericRangeFilter"}, + "NumericEqualityFilter":{"shape":"NumericEqualityFilter"}, + "TimeEqualityFilter":{"shape":"TimeEqualityFilter"}, + "TimeRangeFilter":{"shape":"TimeRangeFilter"}, + "RelativeDatesFilter":{"shape":"RelativeDatesFilter"}, + "TopBottomFilter":{"shape":"TopBottomFilter"} + } + }, + "FilterControl":{ + "type":"structure", + "members":{ + "DateTimePicker":{"shape":"FilterDateTimePickerControl"}, + "List":{"shape":"FilterListControl"}, + "Dropdown":{"shape":"FilterDropDownControl"}, + "TextField":{"shape":"FilterTextFieldControl"}, + "TextArea":{"shape":"FilterTextAreaControl"}, + "Slider":{"shape":"FilterSliderControl"}, + "RelativeDateTime":{"shape":"FilterRelativeDateTimeControl"} + } + }, + "FilterControlList":{ + "type":"list", + "member":{"shape":"FilterControl"}, + "max":200 + }, + "FilterDateTimePickerControl":{ + "type":"structure", + "required":[ + "FilterControlId", + "Title", + "SourceFilterId" + ], + "members":{ + "FilterControlId":{"shape":"ShortRestrictiveResourceId"}, + "Title":{"shape":"SheetControlTitle"}, + "SourceFilterId":{"shape":"ShortRestrictiveResourceId"}, + "DisplayOptions":{"shape":"DateTimePickerControlDisplayOptions"}, + "Type":{"shape":"SheetControlDateTimePickerType"} + } + }, + "FilterDropDownControl":{ + "type":"structure", + "required":[ + "FilterControlId", + "Title", + "SourceFilterId" + ], + "members":{ + "FilterControlId":{"shape":"ShortRestrictiveResourceId"}, + "Title":{"shape":"SheetControlTitle"}, + "SourceFilterId":{"shape":"ShortRestrictiveResourceId"}, + "DisplayOptions":{"shape":"DropDownControlDisplayOptions"}, + "Type":{"shape":"SheetControlListType"}, + "SelectableValues":{"shape":"FilterSelectableValues"}, + "CascadingControlConfiguration":{"shape":"CascadingControlConfiguration"} + } + }, + "FilterGroup":{ + "type":"structure", + "required":[ + "FilterGroupId", + "Filters", + "ScopeConfiguration", + "CrossDataset" + ], + "members":{ + "FilterGroupId":{"shape":"ShortRestrictiveResourceId"}, + "Filters":{"shape":"FilterList"}, + "ScopeConfiguration":{"shape":"FilterScopeConfiguration"}, + "Status":{"shape":"WidgetStatus"}, + "CrossDataset":{"shape":"CrossDatasetTypes"} + } + }, + "FilterGroupList":{ + "type":"list", + "member":{"shape":"FilterGroup"}, + "max":2000 + }, + "FilterList":{ + "type":"list", + "member":{"shape":"Filter"}, + "max":20 + }, + "FilterListConfiguration":{ + "type":"structure", + "required":["MatchOperator"], + "members":{ + "MatchOperator":{"shape":"CategoryFilterMatchOperator"}, + "CategoryValues":{"shape":"CategoryValueList"}, + "SelectAllOptions":{"shape":"CategoryFilterSelectAllOptions"} + } + }, + "FilterListControl":{ + "type":"structure", + "required":[ + "FilterControlId", + "Title", + "SourceFilterId" + ], + "members":{ + "FilterControlId":{"shape":"ShortRestrictiveResourceId"}, + "Title":{"shape":"SheetControlTitle"}, + "SourceFilterId":{"shape":"ShortRestrictiveResourceId"}, + "DisplayOptions":{"shape":"ListControlDisplayOptions"}, + "Type":{"shape":"SheetControlListType"}, + "SelectableValues":{"shape":"FilterSelectableValues"}, + "CascadingControlConfiguration":{"shape":"CascadingControlConfiguration"} + } + }, + "FilterNullOption":{ + "type":"string", + "enum":[ + "ALL_VALUES", + "NULLS_ONLY", + "NON_NULLS_ONLY" + ] + }, + "FilterOperation":{ + "type":"structure", + "required":["ConditionExpression"], + "members":{ + "ConditionExpression":{"shape":"Expression"} + } + }, + "FilterOperationSelectedFieldsConfiguration":{ + "type":"structure", + "members":{ + "SelectedFields":{"shape":"SelectedFieldList"}, + "SelectedFieldOptions":{"shape":"SelectedFieldOptions"} + } + }, + "FilterOperationTargetVisualsConfiguration":{ + "type":"structure", + "members":{ + "SameSheetTargetVisualConfiguration":{"shape":"SameSheetTargetVisualConfiguration"} + } + }, + "FilterOperator":{ + "type":"string", + "enum":[ + "StringEquals", + "StringLike" + ] + }, + "FilterRelativeDateTimeControl":{ + "type":"structure", + "required":[ + "FilterControlId", + "Title", + "SourceFilterId" + ], + "members":{ + "FilterControlId":{"shape":"ShortRestrictiveResourceId"}, + "Title":{"shape":"SheetControlTitle"}, + "SourceFilterId":{"shape":"ShortRestrictiveResourceId"}, + "DisplayOptions":{"shape":"RelativeDateTimeControlDisplayOptions"} + } + }, + "FilterScopeConfiguration":{ + "type":"structure", + "members":{ + "SelectedSheets":{"shape":"SelectedSheetsFilterScopeConfiguration"} + } + }, + "FilterSelectableValues":{ + "type":"structure", + "members":{ + "Values":{"shape":"ParameterSelectableValueList"} + } + }, + "FilterSliderControl":{ + "type":"structure", + "required":[ + "FilterControlId", + "Title", + "SourceFilterId", + "MaximumValue", + "MinimumValue", + "StepSize" + ], + "members":{ + "FilterControlId":{"shape":"ShortRestrictiveResourceId"}, + "Title":{"shape":"SheetControlTitle"}, + "SourceFilterId":{"shape":"ShortRestrictiveResourceId"}, + "DisplayOptions":{"shape":"SliderControlDisplayOptions"}, + "Type":{"shape":"SheetControlSliderType"}, + "MaximumValue":{"shape":"Double"}, + "MinimumValue":{"shape":"Double"}, + "StepSize":{"shape":"Double"} + } + }, + "FilterTextAreaControl":{ + "type":"structure", + "required":[ + "FilterControlId", + "Title", + "SourceFilterId" + ], + "members":{ + "FilterControlId":{"shape":"ShortRestrictiveResourceId"}, + "Title":{"shape":"SheetControlTitle"}, + "SourceFilterId":{"shape":"ShortRestrictiveResourceId"}, + "Delimiter":{"shape":"TextAreaControlDelimiter"}, + "DisplayOptions":{"shape":"TextAreaControlDisplayOptions"} + } + }, + "FilterTextFieldControl":{ + "type":"structure", + "required":[ + "FilterControlId", + "Title", + "SourceFilterId" + ], + "members":{ + "FilterControlId":{"shape":"ShortRestrictiveResourceId"}, + "Title":{"shape":"SheetControlTitle"}, + "SourceFilterId":{"shape":"ShortRestrictiveResourceId"}, + "DisplayOptions":{"shape":"TextFieldControlDisplayOptions"} + } + }, + "FilterVisualScope":{ + "type":"string", + "enum":[ + "ALL_VISUALS", + "SELECTED_VISUALS" + ] + }, + "FilteredVisualsList":{ + "type":"list", + "member":{"shape":"ShortRestrictiveResourceId"}, + "max":50 + }, + "Folder":{ + "type":"structure", + "members":{ + "FolderId":{"shape":"RestrictiveResourceId"}, + "Arn":{"shape":"Arn"}, + "Name":{"shape":"FolderName"}, + "FolderType":{"shape":"FolderType"}, + "FolderPath":{"shape":"Path"}, + "CreatedTime":{"shape":"Timestamp"}, + "LastUpdatedTime":{"shape":"Timestamp"} + } + }, + "FolderColumnList":{ + "type":"list", + "member":{"shape":"String"}, + "max":5000 + }, + "FolderFilterAttribute":{ + "type":"string", + "enum":[ + "PARENT_FOLDER_ARN", + "DIRECT_QUICKSIGHT_OWNER", + "DIRECT_QUICKSIGHT_SOLE_OWNER", + "DIRECT_QUICKSIGHT_VIEWER_OR_OWNER", + "QUICKSIGHT_OWNER", + "QUICKSIGHT_VIEWER_OR_OWNER", + "FOLDER_NAME" + ] + }, + "FolderMember":{ + "type":"structure", + "members":{ + "MemberId":{"shape":"RestrictiveResourceId"}, + "MemberType":{"shape":"MemberType"} + } + }, + "FolderMemberList":{ + "type":"list", + "member":{"shape":"MemberIdArnPair"}, + "max":100 + }, + "FolderName":{ + "type":"string", + "max":200, + "min":1 + }, + "FolderSearchFilter":{ + "type":"structure", + "members":{ + "Operator":{"shape":"FilterOperator"}, + "Name":{"shape":"FolderFilterAttribute"}, + "Value":{"shape":"String"} + } + }, + "FolderSearchFilterList":{ + "type":"list", + "member":{"shape":"FolderSearchFilter"}, + "max":100 + }, + "FolderSummary":{ + "type":"structure", + "members":{ + "Arn":{"shape":"Arn"}, + "FolderId":{"shape":"RestrictiveResourceId"}, + "Name":{"shape":"FolderName"}, + "FolderType":{"shape":"FolderType"}, + "CreatedTime":{"shape":"Timestamp"}, + "LastUpdatedTime":{"shape":"Timestamp"} + } + }, + "FolderSummaryList":{ + "type":"list", + "member":{"shape":"FolderSummary"}, + "max":100 + }, + "FolderType":{ + "type":"string", + "enum":["SHARED"] + }, + "Font":{ + "type":"structure", + "members":{ + "FontFamily":{"shape":"String"} + } + }, + "FontConfiguration":{ + "type":"structure", + "members":{ + "FontSize":{"shape":"FontSize"}, + "FontDecoration":{"shape":"FontDecoration"}, + "FontColor":{"shape":"HexColor"}, + "FontWeight":{"shape":"FontWeight"}, + "FontStyle":{"shape":"FontStyle"} + } + }, + "FontDecoration":{ + "type":"string", + "enum":[ + "UNDERLINE", + "NONE" + ] + }, + "FontList":{ + "type":"list", + "member":{"shape":"Font"}, + "max":5 + }, + "FontSize":{ + "type":"structure", + "members":{ + "Relative":{"shape":"RelativeFontSize"} + } + }, + "FontStyle":{ + "type":"string", + "enum":[ + "NORMAL", + "ITALIC" + ] + }, + "FontWeight":{ + "type":"structure", + "members":{ + "Name":{"shape":"FontWeightName"} + } + }, + "FontWeightName":{ + "type":"string", + "enum":[ + "NORMAL", + "BOLD" + ] + }, + "ForecastComputation":{ + "type":"structure", + "required":[ + "ComputationId", + "Time" + ], + "members":{ + "ComputationId":{"shape":"ShortRestrictiveResourceId"}, + "Name":{"shape":"String"}, + "Time":{"shape":"DimensionField"}, + "Value":{"shape":"MeasureField"}, + "PeriodsForward":{"shape":"PeriodsForward"}, + "PeriodsBackward":{"shape":"PeriodsBackward"}, + "UpperBoundary":{ + "shape":"Double", + "box":true + }, + "LowerBoundary":{ + "shape":"Double", + "box":true + }, + "PredictionInterval":{"shape":"PredictionInterval"}, + "Seasonality":{"shape":"ForecastComputationSeasonality"}, + "CustomSeasonalityValue":{ + "shape":"ForecastComputationCustomSeasonalityValue", + "box":true + } + } + }, + "ForecastComputationCustomSeasonalityValue":{ + "type":"integer", + "max":180, + "min":1 + }, + "ForecastComputationSeasonality":{ + "type":"string", + "enum":[ + "AUTOMATIC", + "CUSTOM" + ] + }, + "ForecastConfiguration":{ + "type":"structure", + "members":{ + "ForecastProperties":{"shape":"TimeBasedForecastProperties"}, + "Scenario":{"shape":"ForecastScenario"} + } + }, + "ForecastConfigurationList":{ + "type":"list", + "member":{"shape":"ForecastConfiguration"}, + "max":10 + }, + "ForecastScenario":{ + "type":"structure", + "members":{ + "WhatIfPointScenario":{"shape":"WhatIfPointScenario"}, + "WhatIfRangeScenario":{"shape":"WhatIfRangeScenario"} + } + }, + "FormatConfiguration":{ + "type":"structure", + "members":{ + "StringFormatConfiguration":{"shape":"StringFormatConfiguration"}, + "NumberFormatConfiguration":{"shape":"NumberFormatConfiguration"}, + "DateTimeFormatConfiguration":{"shape":"DateTimeFormatConfiguration"} + } + }, + "FreeFormLayoutCanvasSizeOptions":{ + "type":"structure", + "members":{ + "ScreenCanvasSizeOptions":{"shape":"FreeFormLayoutScreenCanvasSizeOptions"} + } + }, + "FreeFormLayoutConfiguration":{ + "type":"structure", + "required":["Elements"], + "members":{ + "Elements":{"shape":"FreeFromLayoutElementList"}, + "CanvasSizeOptions":{"shape":"FreeFormLayoutCanvasSizeOptions"} + } + }, + "FreeFormLayoutElement":{ + "type":"structure", + "required":[ + "ElementId", + "ElementType", + "XAxisLocation", + "YAxisLocation", + "Width", + "Height" + ], + "members":{ + "ElementId":{"shape":"ShortRestrictiveResourceId"}, + "ElementType":{"shape":"LayoutElementType"}, + "XAxisLocation":{"shape":"PixelLength"}, + "YAxisLocation":{"shape":"UnlimitedPixelLength"}, + "Width":{"shape":"PixelLength"}, + "Height":{"shape":"PixelLength"}, + "Visibility":{"shape":"Visibility"}, + "RenderingRules":{"shape":"SheetElementRenderingRuleList"}, + "BorderStyle":{"shape":"FreeFormLayoutElementBorderStyle"}, + "SelectedBorderStyle":{"shape":"FreeFormLayoutElementBorderStyle"}, + "BackgroundStyle":{"shape":"FreeFormLayoutElementBackgroundStyle"}, + "LoadingAnimation":{"shape":"LoadingAnimation"} + } + }, + "FreeFormLayoutElementBackgroundStyle":{ + "type":"structure", + "members":{ + "Visibility":{"shape":"Visibility"}, + "Color":{"shape":"HexColorWithTransparency"} + } + }, + "FreeFormLayoutElementBorderStyle":{ + "type":"structure", + "members":{ + "Visibility":{"shape":"Visibility"}, + "Color":{"shape":"HexColorWithTransparency"} + } + }, + "FreeFormLayoutScreenCanvasSizeOptions":{ + "type":"structure", + "required":["OptimizedViewPortWidth"], + "members":{ + "OptimizedViewPortWidth":{ + "shape":"PixelLength", + "box":true + } + } + }, + "FreeFormSectionLayoutConfiguration":{ + "type":"structure", + "required":["Elements"], + "members":{ + "Elements":{"shape":"FreeFromLayoutElementList"} + } + }, + "FreeFromLayoutElementList":{ + "type":"list", + "member":{"shape":"FreeFormLayoutElement"}, + "max":430 + }, + "FunnelChartAggregatedFieldWells":{ + "type":"structure", + "members":{ + "Category":{"shape":"FunnelChartDimensionFieldList"}, + "Values":{"shape":"FunnelChartMeasureFieldList"} + } + }, + "FunnelChartConfiguration":{ + "type":"structure", + "members":{ + "FieldWells":{"shape":"FunnelChartFieldWells"}, + "SortConfiguration":{"shape":"FunnelChartSortConfiguration"}, + "CategoryLabelOptions":{"shape":"ChartAxisLabelOptions"}, + "ValueLabelOptions":{"shape":"ChartAxisLabelOptions"}, + "Tooltip":{"shape":"TooltipOptions"}, + "DataLabelOptions":{"shape":"FunnelChartDataLabelOptions"}, + "VisualPalette":{"shape":"VisualPalette"} + } + }, + "FunnelChartDataLabelOptions":{ + "type":"structure", + "members":{ + "Visibility":{"shape":"Visibility"}, + "CategoryLabelVisibility":{"shape":"Visibility"}, + "MeasureLabelVisibility":{"shape":"Visibility"}, + "Position":{"shape":"DataLabelPosition"}, + "LabelFontConfiguration":{"shape":"FontConfiguration"}, + "LabelColor":{"shape":"HexColor"}, + "MeasureDataLabelStyle":{"shape":"FunnelChartMeasureDataLabelStyle"} + } + }, + "FunnelChartDimensionFieldList":{ + "type":"list", + "member":{"shape":"DimensionField"}, + "max":1 + }, + "FunnelChartFieldWells":{ + "type":"structure", + "members":{ + "FunnelChartAggregatedFieldWells":{"shape":"FunnelChartAggregatedFieldWells"} + } + }, + "FunnelChartMeasureDataLabelStyle":{ + "type":"string", + "enum":[ + "VALUE_ONLY", + "PERCENTAGE_BY_FIRST_STAGE", + "PERCENTAGE_BY_PREVIOUS_STAGE", + "VALUE_AND_PERCENTAGE_BY_FIRST_STAGE", + "VALUE_AND_PERCENTAGE_BY_PREVIOUS_STAGE" + ] + }, + "FunnelChartMeasureFieldList":{ + "type":"list", + "member":{"shape":"MeasureField"}, + "max":1 + }, + "FunnelChartSortConfiguration":{ + "type":"structure", + "members":{ + "CategorySort":{"shape":"FieldSortOptionsList"}, + "CategoryItemsLimit":{"shape":"ItemsLimitConfiguration"} + } + }, + "FunnelChartVisual":{ + "type":"structure", + "required":["VisualId"], + "members":{ + "VisualId":{"shape":"ShortRestrictiveResourceId"}, + "Title":{"shape":"VisualTitleLabelOptions"}, + "Subtitle":{"shape":"VisualSubtitleLabelOptions"}, + "ChartConfiguration":{"shape":"FunnelChartConfiguration"}, + "Actions":{"shape":"VisualCustomActionList"}, + "ColumnHierarchies":{"shape":"ColumnHierarchyList"} + } + }, + "GaugeChartArcConditionalFormatting":{ + "type":"structure", + "members":{ + "ForegroundColor":{"shape":"ConditionalFormattingColor"} + } + }, + "GaugeChartConditionalFormatting":{ + "type":"structure", + "members":{ + "ConditionalFormattingOptions":{"shape":"GaugeChartConditionalFormattingOptionList"} + } + }, + "GaugeChartConditionalFormattingOption":{ + "type":"structure", + "members":{ + "PrimaryValue":{"shape":"GaugeChartPrimaryValueConditionalFormatting"}, + "Arc":{"shape":"GaugeChartArcConditionalFormatting"} + } + }, + "GaugeChartConditionalFormattingOptionList":{ + "type":"list", + "member":{"shape":"GaugeChartConditionalFormattingOption"}, + "max":100 + }, + "GaugeChartConfiguration":{ + "type":"structure", + "members":{ + "FieldWells":{"shape":"GaugeChartFieldWells"}, + "GaugeChartOptions":{"shape":"GaugeChartOptions"}, + "DataLabels":{"shape":"DataLabelOptions"}, + "TooltipOptions":{"shape":"TooltipOptions"}, + "VisualPalette":{"shape":"VisualPalette"} + } + }, + "GaugeChartFieldWells":{ + "type":"structure", + "members":{ + "Values":{"shape":"MeasureFieldList"}, + "TargetValues":{"shape":"MeasureFieldList"} + } + }, + "GaugeChartOptions":{ + "type":"structure", + "members":{ + "PrimaryValueDisplayType":{"shape":"PrimaryValueDisplayType"}, + "Comparison":{"shape":"ComparisonConfiguration"}, + "ArcAxis":{"shape":"ArcAxisConfiguration"}, + "Arc":{"shape":"ArcConfiguration"}, + "PrimaryValueFontConfiguration":{"shape":"FontConfiguration"} + } + }, + "GaugeChartPrimaryValueConditionalFormatting":{ + "type":"structure", + "members":{ + "TextColor":{"shape":"ConditionalFormattingColor"}, + "Icon":{"shape":"ConditionalFormattingIcon"} + } + }, + "GaugeChartVisual":{ + "type":"structure", + "required":["VisualId"], + "members":{ + "VisualId":{"shape":"ShortRestrictiveResourceId"}, + "Title":{"shape":"VisualTitleLabelOptions"}, + "Subtitle":{"shape":"VisualSubtitleLabelOptions"}, + "ChartConfiguration":{"shape":"GaugeChartConfiguration"}, + "ConditionalFormatting":{"shape":"GaugeChartConditionalFormatting"}, + "Actions":{"shape":"VisualCustomActionList"} + } + }, + "GenerateEmbedUrlForAnonymousUserRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "Namespace", + "AuthorizedResourceArns", + "ExperienceConfiguration" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "SessionLifetimeInMinutes":{"shape":"SessionLifetimeInMinutes"}, + "Namespace":{"shape":"Namespace"}, + "SessionTags":{"shape":"SessionTagList"}, + "AuthorizedResourceArns":{"shape":"ArnList"}, + "ExperienceConfiguration":{"shape":"AnonymousUserEmbeddingExperienceConfiguration"}, + "AllowedDomains":{"shape":"StringList"} + } + }, + "GenerateEmbedUrlForAnonymousUserResponse":{ + "type":"structure", + "required":[ + "EmbedUrl", + "Status", + "RequestId", + "AnonymousUserArn" + ], + "members":{ + "EmbedUrl":{"shape":"EmbeddingUrl"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + }, + "RequestId":{"shape":"String"}, + "AnonymousUserArn":{"shape":"Arn"} + } + }, + "GenerateEmbedUrlForRegisteredUserRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "UserArn", + "ExperienceConfiguration" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "SessionLifetimeInMinutes":{"shape":"SessionLifetimeInMinutes"}, + "UserArn":{"shape":"Arn"}, + "ExperienceConfiguration":{"shape":"RegisteredUserEmbeddingExperienceConfiguration"}, + "AllowedDomains":{"shape":"StringList"} + } + }, + "GenerateEmbedUrlForRegisteredUserResponse":{ + "type":"structure", + "required":[ + "EmbedUrl", + "Status", + "RequestId" + ], + "members":{ + "EmbedUrl":{"shape":"EmbeddingUrl"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + }, + "RequestId":{"shape":"String"} + } + }, + "GeoSpatialColumnGroup":{ + "type":"structure", + "required":[ + "Name", + "Columns" + ], + "members":{ + "Name":{"shape":"ColumnGroupName"}, + "CountryCode":{"shape":"GeoSpatialCountryCode"}, + "Columns":{"shape":"ColumnList"} + } + }, + "GeoSpatialCountryCode":{ + "type":"string", + "enum":["US"] + }, + "GeoSpatialDataRole":{ + "type":"string", + "enum":[ + "COUNTRY", + "STATE", + "COUNTY", + "CITY", + "POSTCODE", + "LONGITUDE", + "LATITUDE" + ] + }, + "GeospatialCoordinateBounds":{ + "type":"structure", + "required":[ + "North", + "South", + "West", + "East" + ], + "members":{ + "North":{"shape":"Latitude"}, + "South":{"shape":"Latitude"}, + "West":{"shape":"Longitude"}, + "East":{"shape":"Longitude"} + } + }, + "GeospatialMapAggregatedFieldWells":{ + "type":"structure", + "members":{ + "Geospatial":{"shape":"DimensionFieldList"}, + "Values":{"shape":"MeasureFieldList"}, + "Colors":{"shape":"DimensionFieldList"} + } + }, + "GeospatialMapConfiguration":{ + "type":"structure", + "members":{ + "FieldWells":{"shape":"GeospatialMapFieldWells"}, + "Legend":{"shape":"LegendOptions"}, + "Tooltip":{"shape":"TooltipOptions"}, + "WindowOptions":{"shape":"GeospatialWindowOptions"}, + "MapStyleOptions":{"shape":"GeospatialMapStyleOptions"}, + "PointStyleOptions":{"shape":"GeospatialPointStyleOptions"}, + "VisualPalette":{"shape":"VisualPalette"} + } + }, + "GeospatialMapFieldWells":{ + "type":"structure", + "members":{ + "GeospatialMapAggregatedFieldWells":{"shape":"GeospatialMapAggregatedFieldWells"} + } + }, + "GeospatialMapStyleOptions":{ + "type":"structure", + "members":{ + "BaseMapStyle":{"shape":"BaseMapStyleType"} + } + }, + "GeospatialMapVisual":{ + "type":"structure", + "required":["VisualId"], + "members":{ + "VisualId":{"shape":"ShortRestrictiveResourceId"}, + "Title":{"shape":"VisualTitleLabelOptions"}, + "Subtitle":{"shape":"VisualSubtitleLabelOptions"}, + "ChartConfiguration":{"shape":"GeospatialMapConfiguration"}, + "ColumnHierarchies":{"shape":"ColumnHierarchyList"}, + "Actions":{"shape":"VisualCustomActionList"} + } + }, + "GeospatialPointStyleOptions":{ + "type":"structure", + "members":{ + "SelectedPointStyle":{"shape":"GeospatialSelectedPointStyle"}, + "ClusterMarkerConfiguration":{"shape":"ClusterMarkerConfiguration"} + } + }, + "GeospatialSelectedPointStyle":{ + "type":"string", + "enum":[ + "POINT", + "CLUSTER" + ] + }, + "GeospatialWindowOptions":{ + "type":"structure", + "members":{ + "Bounds":{"shape":"GeospatialCoordinateBounds"}, + "MapZoomMode":{"shape":"MapZoomMode"} + } + }, + "GetDashboardEmbedUrlRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "DashboardId", + "IdentityType" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "DashboardId":{ + "shape":"ShortRestrictiveResourceId", + "location":"uri", + "locationName":"DashboardId" + }, + "IdentityType":{ + "shape":"EmbeddingIdentityType", + "location":"querystring", + "locationName":"creds-type" + }, + "SessionLifetimeInMinutes":{ + "shape":"SessionLifetimeInMinutes", + "location":"querystring", + "locationName":"session-lifetime" + }, + "UndoRedoDisabled":{ + "shape":"Boolean", + "location":"querystring", + "locationName":"undo-redo-disabled" + }, + "ResetDisabled":{ + "shape":"Boolean", + "location":"querystring", + "locationName":"reset-disabled" + }, + "StatePersistenceEnabled":{ + "shape":"Boolean", + "location":"querystring", + "locationName":"state-persistence-enabled" + }, + "UserArn":{ + "shape":"Arn", + "location":"querystring", + "locationName":"user-arn" + }, + "Namespace":{ + "shape":"Namespace", + "location":"querystring", + "locationName":"namespace" + }, + "AdditionalDashboardIds":{ + "shape":"AdditionalDashboardIdList", + "location":"querystring", + "locationName":"additional-dashboard-ids" + } + } + }, + "GetDashboardEmbedUrlResponse":{ + "type":"structure", + "members":{ + "EmbedUrl":{"shape":"EmbeddingUrl"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + }, + "RequestId":{"shape":"String"} + } + }, + "GetSessionEmbedUrlRequest":{ + "type":"structure", + "required":["AwsAccountId"], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "EntryPoint":{ + "shape":"EntryPoint", + "location":"querystring", + "locationName":"entry-point" + }, + "SessionLifetimeInMinutes":{ + "shape":"SessionLifetimeInMinutes", + "location":"querystring", + "locationName":"session-lifetime" + }, + "UserArn":{ + "shape":"Arn", + "location":"querystring", + "locationName":"user-arn" + } + } + }, + "GetSessionEmbedUrlResponse":{ + "type":"structure", + "members":{ + "EmbedUrl":{"shape":"EmbeddingUrl"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + }, + "RequestId":{"shape":"String"} + } + }, + "GlobalTableBorderOptions":{ + "type":"structure", + "members":{ + "UniformBorder":{"shape":"TableBorderOptions"}, + "SideSpecificBorder":{"shape":"TableSideBorderOptions"} + } + }, + "GradientColor":{ + "type":"structure", + "members":{ + "Stops":{"shape":"GradientStopList"} + } + }, + "GradientStop":{ + "type":"structure", + "required":["GradientOffset"], + "members":{ + "GradientOffset":{"shape":"Double"}, + "DataValue":{ + "shape":"Double", + "box":true + }, + "Color":{"shape":"HexColor"} + } + }, + "GradientStopList":{ + "type":"list", + "member":{"shape":"GradientStop"}, "max":100 }, - "DataSetConfiguration":{ + "GridLayoutCanvasSizeOptions":{ + "type":"structure", + "members":{ + "ScreenCanvasSizeOptions":{"shape":"GridLayoutScreenCanvasSizeOptions"} + } + }, + "GridLayoutConfiguration":{ + "type":"structure", + "required":["Elements"], + "members":{ + "Elements":{"shape":"GridLayoutElementList"}, + "CanvasSizeOptions":{"shape":"GridLayoutCanvasSizeOptions"} + } + }, + "GridLayoutElement":{ + "type":"structure", + "required":[ + "ElementId", + "ElementType", + "ColumnSpan", + "RowSpan" + ], + "members":{ + "ElementId":{"shape":"ShortRestrictiveResourceId"}, + "ElementType":{"shape":"LayoutElementType"}, + "ColumnIndex":{"shape":"GridLayoutElementColumnIndex"}, + "ColumnSpan":{"shape":"GridLayoutElementColumnSpan"}, + "RowIndex":{"shape":"GridLayoutElementRowIndex"}, + "RowSpan":{"shape":"GridLayoutElementRowSpan"} + } + }, + "GridLayoutElementColumnIndex":{ + "type":"integer", + "max":35, + "min":0 + }, + "GridLayoutElementColumnSpan":{ + "type":"integer", + "max":36, + "min":1 + }, + "GridLayoutElementList":{ + "type":"list", + "member":{"shape":"GridLayoutElement"}, + "max":430 + }, + "GridLayoutElementRowIndex":{ + "type":"integer", + "max":9009, + "min":0 + }, + "GridLayoutElementRowSpan":{ + "type":"integer", + "max":21, + "min":1 + }, + "GridLayoutScreenCanvasSizeOptions":{ + "type":"structure", + "required":["ResizeOption"], + "members":{ + "ResizeOption":{"shape":"ResizeOption"}, + "OptimizedViewPortWidth":{ + "shape":"PixelLength", + "box":true + } + } + }, + "Group":{ + "type":"structure", + "members":{ + "Arn":{"shape":"Arn"}, + "GroupName":{"shape":"GroupName"}, + "Description":{"shape":"GroupDescription"}, + "PrincipalId":{"shape":"String"} + } + }, + "GroupDescription":{ + "type":"string", + "max":512, + "min":1 + }, + "GroupFilterAttribute":{ + "type":"string", + "enum":["GROUP_NAME"] + }, + "GroupFilterOperator":{ + "type":"string", + "enum":["StartsWith"] + }, + "GroupList":{ + "type":"list", + "member":{"shape":"Group"} + }, + "GroupMember":{ + "type":"structure", + "members":{ + "Arn":{"shape":"Arn"}, + "MemberName":{"shape":"GroupMemberName"} + } + }, + "GroupMemberList":{ + "type":"list", + "member":{"shape":"GroupMember"} + }, + "GroupMemberName":{ + "type":"string", + "max":256, + "min":1, + "pattern":"[\\u0020-\\u00FF]+" + }, + "GroupName":{ + "type":"string", + "min":1, + "pattern":"[\\u0020-\\u00FF]+" + }, + "GroupSearchFilter":{ + "type":"structure", + "required":[ + "Operator", + "Name", + "Value" + ], + "members":{ + "Operator":{"shape":"GroupFilterOperator"}, + "Name":{"shape":"GroupFilterAttribute"}, + "Value":{"shape":"String"} + } + }, + "GroupSearchFilterList":{ + "type":"list", + "member":{"shape":"GroupSearchFilter"}, + "max":1, + "min":1 + }, + "GroupsList":{ + "type":"list", + "member":{"shape":"String"} + }, + "GrowthRateComputation":{ + "type":"structure", + "required":[ + "ComputationId", + "Time" + ], + "members":{ + "ComputationId":{"shape":"ShortRestrictiveResourceId"}, + "Name":{"shape":"String"}, + "Time":{"shape":"DimensionField"}, + "Value":{"shape":"MeasureField"}, + "PeriodSize":{"shape":"GrowthRatePeriodSize"} + } + }, + "GrowthRatePeriodSize":{ + "type":"integer", + "max":52, + "min":2 + }, + "GutterStyle":{ + "type":"structure", + "members":{ + "Show":{ + "shape":"Boolean", + "box":true + } + } + }, + "HeaderFooterSectionConfiguration":{ + "type":"structure", + "required":[ + "SectionId", + "Layout" + ], + "members":{ + "SectionId":{"shape":"ShortRestrictiveResourceId"}, + "Layout":{"shape":"SectionLayoutConfiguration"}, + "Style":{"shape":"SectionStyle"} + } + }, + "HeaderFooterSectionConfigurationList":{ + "type":"list", + "member":{"shape":"HeaderFooterSectionConfiguration"}, + "max":1 + }, + "HeatMapAggregatedFieldWells":{ + "type":"structure", + "members":{ + "Rows":{"shape":"HeatMapDimensionFieldList"}, + "Columns":{"shape":"HeatMapDimensionFieldList"}, + "Values":{"shape":"HeatMapMeasureFieldList"} + } + }, + "HeatMapConfiguration":{ "type":"structure", "members":{ - "Placeholder":{"shape":"String"}, - "DataSetSchema":{"shape":"DataSetSchema"}, - "ColumnGroupSchemaList":{"shape":"ColumnGroupSchemaList"} + "FieldWells":{"shape":"HeatMapFieldWells"}, + "SortConfiguration":{"shape":"HeatMapSortConfiguration"}, + "RowLabelOptions":{"shape":"ChartAxisLabelOptions"}, + "ColumnLabelOptions":{"shape":"ChartAxisLabelOptions"}, + "ColorScale":{"shape":"ColorScale"}, + "Legend":{"shape":"LegendOptions"}, + "DataLabels":{"shape":"DataLabelOptions"}, + "Tooltip":{"shape":"TooltipOptions"} } }, - "DataSetConfigurationList":{ + "HeatMapDimensionFieldList":{ "type":"list", - "member":{"shape":"DataSetConfiguration"}, - "max":30 + "member":{"shape":"DimensionField"}, + "max":1 }, - "DataSetFilterAttribute":{ + "HeatMapFieldWells":{ + "type":"structure", + "members":{ + "HeatMapAggregatedFieldWells":{"shape":"HeatMapAggregatedFieldWells"} + } + }, + "HeatMapMeasureFieldList":{ + "type":"list", + "member":{"shape":"MeasureField"}, + "max":1 + }, + "HeatMapSortConfiguration":{ + "type":"structure", + "members":{ + "HeatMapRowSort":{"shape":"FieldSortOptionsList"}, + "HeatMapColumnSort":{"shape":"FieldSortOptionsList"}, + "HeatMapRowItemsLimitConfiguration":{"shape":"ItemsLimitConfiguration"}, + "HeatMapColumnItemsLimitConfiguration":{"shape":"ItemsLimitConfiguration"} + } + }, + "HeatMapVisual":{ + "type":"structure", + "required":["VisualId"], + "members":{ + "VisualId":{"shape":"ShortRestrictiveResourceId"}, + "Title":{"shape":"VisualTitleLabelOptions"}, + "Subtitle":{"shape":"VisualSubtitleLabelOptions"}, + "ChartConfiguration":{"shape":"HeatMapConfiguration"}, + "ColumnHierarchies":{"shape":"ColumnHierarchyList"}, + "Actions":{"shape":"VisualCustomActionList"} + } + }, + "HexColor":{ + "type":"string", + "pattern":"^#[A-F0-9]{6}$" + }, + "HexColorWithTransparency":{ + "type":"string", + "pattern":"^#[A-F0-9]{6}(?:[A-F0-9]{2})?$" + }, + "HierarchyId":{ + "type":"string", + "max":512, + "min":1 + }, + "HistogramAggregatedFieldWells":{ + "type":"structure", + "members":{ + "Values":{"shape":"HistogramMeasureFieldList"} + } + }, + "HistogramBinOptions":{ + "type":"structure", + "members":{ + "SelectedBinType":{"shape":"HistogramBinType"}, + "BinCount":{"shape":"BinCountOptions"}, + "BinWidth":{"shape":"BinWidthOptions"}, + "StartValue":{ + "shape":"Double", + "box":true + } + } + }, + "HistogramBinType":{ "type":"string", "enum":[ - "QUICKSIGHT_VIEWER_OR_OWNER", - "QUICKSIGHT_OWNER", - "DIRECT_QUICKSIGHT_VIEWER_OR_OWNER", - "DIRECT_QUICKSIGHT_OWNER", - "DIRECT_QUICKSIGHT_SOLE_OWNER", - "DATASET_NAME" + "BIN_COUNT", + "BIN_WIDTH" ] }, - "DataSetImportMode":{ + "HistogramConfiguration":{ + "type":"structure", + "members":{ + "FieldWells":{"shape":"HistogramFieldWells"}, + "XAxisDisplayOptions":{"shape":"AxisDisplayOptions"}, + "XAxisLabelOptions":{"shape":"ChartAxisLabelOptions"}, + "YAxisDisplayOptions":{"shape":"AxisDisplayOptions"}, + "BinOptions":{"shape":"HistogramBinOptions"}, + "DataLabels":{"shape":"DataLabelOptions"}, + "Tooltip":{"shape":"TooltipOptions"}, + "VisualPalette":{"shape":"VisualPalette"} + } + }, + "HistogramFieldWells":{ + "type":"structure", + "members":{ + "HistogramAggregatedFieldWells":{"shape":"HistogramAggregatedFieldWells"} + } + }, + "HistogramMeasureFieldList":{ + "type":"list", + "member":{"shape":"MeasureField"}, + "max":1 + }, + "HistogramVisual":{ + "type":"structure", + "required":["VisualId"], + "members":{ + "VisualId":{"shape":"ShortRestrictiveResourceId"}, + "Title":{"shape":"VisualTitleLabelOptions"}, + "Subtitle":{"shape":"VisualSubtitleLabelOptions"}, + "ChartConfiguration":{"shape":"HistogramConfiguration"}, + "Actions":{"shape":"VisualCustomActionList"} + } + }, + "HorizontalTextAlignment":{ + "type":"string", + "enum":[ + "LEFT", + "CENTER", + "RIGHT", + "AUTO" + ] + }, + "Host":{ + "type":"string", + "max":256, + "min":1 + }, + "IAMPolicyAssignment":{ + "type":"structure", + "members":{ + "AwsAccountId":{"shape":"AwsAccountId"}, + "AssignmentId":{"shape":"String"}, + "AssignmentName":{"shape":"IAMPolicyAssignmentName"}, + "PolicyArn":{"shape":"Arn"}, + "Identities":{"shape":"IdentityMap"}, + "AssignmentStatus":{"shape":"AssignmentStatus"} + } + }, + "IAMPolicyAssignmentName":{ + "type":"string", + "min":1, + "pattern":"(?=^.{2,256}$)(?!.*\\s)[0-9a-zA-Z-_.:=+@]*$" + }, + "IAMPolicyAssignmentSummary":{ + "type":"structure", + "members":{ + "AssignmentName":{"shape":"IAMPolicyAssignmentName"}, + "AssignmentStatus":{"shape":"AssignmentStatus"} + } + }, + "IAMPolicyAssignmentSummaryList":{ + "type":"list", + "member":{"shape":"IAMPolicyAssignmentSummary"} + }, + "Icon":{ + "type":"string", + "enum":[ + "CARET_UP", + "CARET_DOWN", + "PLUS", + "MINUS", + "ARROW_UP", + "ARROW_DOWN", + "ARROW_LEFT", + "ARROW_UP_LEFT", + "ARROW_DOWN_LEFT", + "ARROW_RIGHT", + "ARROW_UP_RIGHT", + "ARROW_DOWN_RIGHT", + "FACE_UP", + "FACE_DOWN", + "FACE_FLAT", + "ONE_BAR", + "TWO_BAR", + "THREE_BAR", + "CIRCLE", + "TRIANGLE", + "SQUARE", + "FLAG", + "THUMBS_UP", + "THUMBS_DOWN", + "CHECKMARK", + "X" + ] + }, + "IdentityMap":{ + "type":"map", + "key":{"shape":"String"}, + "value":{"shape":"IdentityNameList"} + }, + "IdentityName":{ + "type":"string", + "min":1, + "pattern":"[\\u0020-\\u00FF]+" + }, + "IdentityNameList":{ + "type":"list", + "member":{"shape":"IdentityName"} + }, + "IdentityStore":{ + "type":"string", + "enum":["QUICKSIGHT"] + }, + "IdentityType":{ + "type":"string", + "enum":[ + "IAM", + "QUICKSIGHT" + ] + }, + "IdentityTypeNotSupportedException":{ + "type":"structure", + "members":{ + "Message":{"shape":"String"}, + "RequestId":{"shape":"String"} + }, + "error":{"httpStatusCode":403}, + "exception":true + }, + "Ingestion":{ + "type":"structure", + "required":[ + "Arn", + "IngestionStatus", + "CreatedTime" + ], + "members":{ + "Arn":{"shape":"Arn"}, + "IngestionId":{"shape":"IngestionId"}, + "IngestionStatus":{"shape":"IngestionStatus"}, + "ErrorInfo":{"shape":"ErrorInfo"}, + "RowInfo":{"shape":"RowInfo"}, + "QueueInfo":{"shape":"QueueInfo"}, + "CreatedTime":{"shape":"Timestamp"}, + "IngestionTimeInSeconds":{ + "shape":"Long", + "box":true + }, + "IngestionSizeInBytes":{ + "shape":"Long", + "box":true + }, + "RequestSource":{"shape":"IngestionRequestSource"}, + "RequestType":{"shape":"IngestionRequestType"} + } + }, + "IngestionErrorType":{ + "type":"string", + "enum":[ + "FAILURE_TO_ASSUME_ROLE", + "INGESTION_SUPERSEDED", + "INGESTION_CANCELED", + "DATA_SET_DELETED", + "DATA_SET_NOT_SPICE", + "S3_UPLOADED_FILE_DELETED", + "S3_MANIFEST_ERROR", + "DATA_TOLERANCE_EXCEPTION", + "SPICE_TABLE_NOT_FOUND", + "DATA_SET_SIZE_LIMIT_EXCEEDED", + "ROW_SIZE_LIMIT_EXCEEDED", + "ACCOUNT_CAPACITY_LIMIT_EXCEEDED", + "CUSTOMER_ERROR", + "DATA_SOURCE_NOT_FOUND", + "IAM_ROLE_NOT_AVAILABLE", + "CONNECTION_FAILURE", + "SQL_TABLE_NOT_FOUND", + "PERMISSION_DENIED", + "SSL_CERTIFICATE_VALIDATION_FAILURE", + "OAUTH_TOKEN_FAILURE", + "SOURCE_API_LIMIT_EXCEEDED_FAILURE", + "PASSWORD_AUTHENTICATION_FAILURE", + "SQL_SCHEMA_MISMATCH_ERROR", + "INVALID_DATE_FORMAT", + "INVALID_DATAPREP_SYNTAX", + "SOURCE_RESOURCE_LIMIT_EXCEEDED", + "SQL_INVALID_PARAMETER_VALUE", + "QUERY_TIMEOUT", + "SQL_NUMERIC_OVERFLOW", + "UNRESOLVABLE_HOST", + "UNROUTABLE_HOST", + "SQL_EXCEPTION", + "S3_FILE_INACCESSIBLE", + "IOT_FILE_NOT_FOUND", + "IOT_DATA_SET_FILE_EMPTY", + "INVALID_DATA_SOURCE_CONFIG", + "DATA_SOURCE_AUTH_FAILED", + "DATA_SOURCE_CONNECTION_FAILED", + "FAILURE_TO_PROCESS_JSON_FILE", + "INTERNAL_SERVICE_ERROR", + "REFRESH_SUPPRESSED_BY_EDIT", + "PERMISSION_NOT_FOUND", + "ELASTICSEARCH_CURSOR_NOT_ENABLED", + "CURSOR_NOT_ENABLED" + ] + }, + "IngestionId":{ + "type":"string", + "max":128, + "min":1, + "pattern":"^[a-zA-Z0-9-_]+$" + }, + "IngestionMaxResults":{ + "type":"integer", + "max":100, + "min":1 + }, + "IngestionRequestSource":{ + "type":"string", + "enum":[ + "MANUAL", + "SCHEDULED" + ] + }, + "IngestionRequestType":{ + "type":"string", + "enum":[ + "INITIAL_INGESTION", + "EDIT", + "INCREMENTAL_REFRESH", + "FULL_REFRESH" + ] + }, + "IngestionStatus":{ + "type":"string", + "enum":[ + "INITIALIZED", + "QUEUED", + "RUNNING", + "FAILED", + "COMPLETED", + "CANCELLED" + ] + }, + "IngestionType":{ "type":"string", "enum":[ - "SPICE", - "DIRECT_QUERY" + "INCREMENTAL_REFRESH", + "FULL_REFRESH" ] }, - "DataSetName":{ - "type":"string", - "max":128, - "min":1 + "Ingestions":{ + "type":"list", + "member":{"shape":"Ingestion"} }, - "DataSetReference":{ + "InputColumn":{ "type":"structure", "required":[ - "DataSetPlaceholder", - "DataSetArn" + "Name", + "Type" ], "members":{ - "DataSetPlaceholder":{"shape":"NonEmptyString"}, - "DataSetArn":{"shape":"Arn"} + "Name":{"shape":"ColumnName"}, + "Type":{"shape":"InputColumnDataType"} } }, - "DataSetReferenceList":{ + "InputColumnDataType":{ + "type":"string", + "enum":[ + "STRING", + "INTEGER", + "DECIMAL", + "DATETIME", + "BIT", + "BOOLEAN", + "JSON" + ] + }, + "InputColumnList":{ "type":"list", - "member":{"shape":"DataSetReference"}, + "member":{"shape":"InputColumn"}, + "max":2048, "min":1 }, - "DataSetSchema":{ + "InsightConfiguration":{ "type":"structure", "members":{ - "ColumnSchemaList":{"shape":"ColumnSchemaList"} + "Computations":{"shape":"ComputationList"}, + "CustomNarrative":{"shape":"CustomNarrativeOptions"} } }, - "DataSetSearchFilter":{ + "InsightVisual":{ "type":"structure", "required":[ - "Operator", - "Name", - "Value" + "VisualId", + "DataSetIdentifier" ], "members":{ - "Operator":{"shape":"FilterOperator"}, - "Name":{"shape":"DataSetFilterAttribute"}, - "Value":{"shape":"String"} + "VisualId":{"shape":"ShortRestrictiveResourceId"}, + "Title":{"shape":"VisualTitleLabelOptions"}, + "Subtitle":{"shape":"VisualSubtitleLabelOptions"}, + "InsightConfiguration":{"shape":"InsightConfiguration"}, + "Actions":{"shape":"VisualCustomActionList"}, + "DataSetIdentifier":{"shape":"DataSetIdentifier"} } }, - "DataSetSearchFilterList":{ - "type":"list", - "member":{"shape":"DataSetSearchFilter"}, - "max":1, + "InstanceId":{ + "type":"string", + "max":64, "min":1 }, - "DataSetSummary":{ - "type":"structure", - "members":{ - "Arn":{"shape":"Arn"}, - "DataSetId":{"shape":"ResourceId"}, - "Name":{"shape":"ResourceName"}, - "CreatedTime":{"shape":"Timestamp"}, - "LastUpdatedTime":{"shape":"Timestamp"}, - "ImportMode":{"shape":"DataSetImportMode"}, - "RowLevelPermissionDataSet":{"shape":"RowLevelPermissionDataSet"}, - "RowLevelPermissionTagConfigurationApplied":{"shape":"Boolean"}, - "ColumnLevelPermissionRulesApplied":{"shape":"Boolean"} - } - }, - "DataSetSummaryList":{ + "Integer":{"type":"integer"}, + "IntegerDefaultValueList":{ "type":"list", - "member":{"shape":"DataSetSummary"} + "member":{"shape":"SensitiveLongObject"}, + "max":50000 }, - "DataSetUsageConfiguration":{ + "IntegerDefaultValues":{ "type":"structure", "members":{ - "DisableUseAsDirectQuerySource":{"shape":"Boolean"}, - "DisableUseAsImportedSource":{"shape":"Boolean"} + "DynamicValue":{"shape":"DynamicDefaultValue"}, + "StaticValues":{"shape":"IntegerDefaultValueList"} } }, - "DataSource":{ + "IntegerParameter":{ "type":"structure", + "required":[ + "Name", + "Values" + ], "members":{ - "Arn":{"shape":"Arn"}, - "DataSourceId":{"shape":"ResourceId"}, - "Name":{"shape":"ResourceName"}, - "Type":{"shape":"DataSourceType"}, - "Status":{"shape":"ResourceStatus"}, - "CreatedTime":{"shape":"Timestamp"}, - "LastUpdatedTime":{"shape":"Timestamp"}, - "DataSourceParameters":{"shape":"DataSourceParameters"}, - "AlternateDataSourceParameters":{"shape":"DataSourceParametersList"}, - "VpcConnectionProperties":{"shape":"VpcConnectionProperties"}, - "SslProperties":{"shape":"SslProperties"}, - "ErrorInfo":{"shape":"DataSourceErrorInfo"}, - "SecretArn":{"shape":"SecretArn"} + "Name":{"shape":"NonEmptyString"}, + "Values":{"shape":"SensitiveLongList"} } }, - "DataSourceCredentials":{ - "type":"structure", - "members":{ - "CredentialPair":{"shape":"CredentialPair"}, - "CopySourceArn":{"shape":"CopySourceArn"}, - "SecretArn":{"shape":"SecretArn"} - }, - "sensitive":true - }, - "DataSourceErrorInfo":{ + "IntegerParameterDeclaration":{ "type":"structure", + "required":[ + "ParameterValueType", + "Name" + ], "members":{ - "Type":{"shape":"DataSourceErrorInfoType"}, - "Message":{"shape":"String"} + "ParameterValueType":{"shape":"ParameterValueType"}, + "Name":{"shape":"ParameterName"}, + "DefaultValues":{"shape":"IntegerDefaultValues"}, + "ValueWhenUnset":{"shape":"IntegerValueWhenUnsetConfiguration"} } }, - "DataSourceErrorInfoType":{ - "type":"string", - "enum":[ - "ACCESS_DENIED", - "COPY_SOURCE_NOT_FOUND", - "TIMEOUT", - "ENGINE_VERSION_NOT_SUPPORTED", - "UNKNOWN_HOST", - "GENERIC_SQL_FAILURE", - "CONFLICT", - "UNKNOWN" - ] - }, - "DataSourceFilterAttribute":{ - "type":"string", - "enum":[ - "DIRECT_QUICKSIGHT_VIEWER_OR_OWNER", - "DIRECT_QUICKSIGHT_OWNER", - "DIRECT_QUICKSIGHT_SOLE_OWNER", - "DATASOURCE_NAME" - ] - }, - "DataSourceList":{ + "IntegerParameterList":{ "type":"list", - "member":{"shape":"DataSource"} + "member":{"shape":"IntegerParameter"}, + "max":100 }, - "DataSourceParameters":{ + "IntegerValueWhenUnsetConfiguration":{ "type":"structure", "members":{ - "AmazonElasticsearchParameters":{"shape":"AmazonElasticsearchParameters"}, - "AthenaParameters":{"shape":"AthenaParameters"}, - "AuroraParameters":{"shape":"AuroraParameters"}, - "AuroraPostgreSqlParameters":{"shape":"AuroraPostgreSqlParameters"}, - "AwsIotAnalyticsParameters":{"shape":"AwsIotAnalyticsParameters"}, - "JiraParameters":{"shape":"JiraParameters"}, - "MariaDbParameters":{"shape":"MariaDbParameters"}, - "MySqlParameters":{"shape":"MySqlParameters"}, - "OracleParameters":{"shape":"OracleParameters"}, - "PostgreSqlParameters":{"shape":"PostgreSqlParameters"}, - "PrestoParameters":{"shape":"PrestoParameters"}, - "RdsParameters":{"shape":"RdsParameters"}, - "RedshiftParameters":{"shape":"RedshiftParameters"}, - "S3Parameters":{"shape":"S3Parameters"}, - "ServiceNowParameters":{"shape":"ServiceNowParameters"}, - "SnowflakeParameters":{"shape":"SnowflakeParameters"}, - "SparkParameters":{"shape":"SparkParameters"}, - "SqlServerParameters":{"shape":"SqlServerParameters"}, - "TeradataParameters":{"shape":"TeradataParameters"}, - "TwitterParameters":{"shape":"TwitterParameters"}, - "AmazonOpenSearchParameters":{"shape":"AmazonOpenSearchParameters"}, - "ExasolParameters":{"shape":"ExasolParameters"}, - "DatabricksParameters":{"shape":"DatabricksParameters"} + "ValueWhenUnsetOption":{"shape":"ValueWhenUnsetOption"}, + "CustomValue":{ + "shape":"SensitiveLong", + "box":true + } } }, - "DataSourceParametersList":{ - "type":"list", - "member":{"shape":"DataSourceParameters"}, - "max":50, - "min":1 - }, - "DataSourceSearchFilter":{ + "InternalFailureException":{ "type":"structure", - "required":[ - "Operator", - "Name", - "Value" - ], "members":{ - "Operator":{"shape":"FilterOperator"}, - "Name":{"shape":"DataSourceFilterAttribute"}, - "Value":{"shape":"String"} - } + "Message":{"shape":"String"}, + "RequestId":{"shape":"String"} + }, + "error":{"httpStatusCode":500}, + "exception":true, + "fault":true }, - "DataSourceSearchFilterList":{ - "type":"list", - "member":{"shape":"DataSourceSearchFilter"}, - "max":1, - "min":1 + "InvalidNextTokenException":{ + "type":"structure", + "members":{ + "Message":{"shape":"String"}, + "RequestId":{"shape":"String"} + }, + "error":{"httpStatusCode":400}, + "exception":true }, - "DataSourceSummary":{ + "InvalidParameterValueException":{ "type":"structure", "members":{ - "Arn":{"shape":"Arn"}, - "DataSourceId":{"shape":"ResourceId"}, - "Name":{"shape":"ResourceName"}, - "Type":{"shape":"DataSourceType"}, - "CreatedTime":{"shape":"Timestamp"}, - "LastUpdatedTime":{"shape":"Timestamp"} - } + "Message":{"shape":"String"}, + "RequestId":{"shape":"String"} + }, + "error":{"httpStatusCode":400}, + "exception":true }, - "DataSourceSummaryList":{ - "type":"list", - "member":{"shape":"DataSourceSummary"} + "InvalidRequestException":{ + "type":"structure", + "members":{ + "Message":{"shape":"String"}, + "RequestId":{"shape":"String"} + }, + "error":{"httpStatusCode":400}, + "exception":true }, - "DataSourceType":{ + "IpRestrictionRuleDescription":{ "type":"string", - "enum":[ - "ADOBE_ANALYTICS", - "AMAZON_ELASTICSEARCH", - "ATHENA", - "AURORA", - "AURORA_POSTGRESQL", - "AWS_IOT_ANALYTICS", - "GITHUB", - "JIRA", - "MARIADB", - "MYSQL", - "ORACLE", - "POSTGRESQL", - "PRESTO", - "REDSHIFT", - "S3", - "SALESFORCE", - "SERVICENOW", - "SNOWFLAKE", - "SPARK", - "SQLSERVER", - "TERADATA", - "TWITTER", - "TIMESTREAM", - "AMAZON_OPENSEARCH", - "EXASOL", - "DATABRICKS" - ] + "max":150, + "min":0 + }, + "IpRestrictionRuleMap":{ + "type":"map", + "key":{"shape":"CIDR"}, + "value":{"shape":"IpRestrictionRuleDescription"} }, - "Database":{ - "type":"string", - "max":128, - "min":1 + "ItemsLimitConfiguration":{ + "type":"structure", + "members":{ + "ItemsLimit":{ + "shape":"Long", + "box":true + }, + "OtherCategories":{"shape":"OtherCategories"} + } }, - "DatabricksParameters":{ + "JiraParameters":{ "type":"structure", - "required":[ - "Host", - "Port", - "SqlEndpointPath" - ], + "required":["SiteBaseUrl"], "members":{ - "Host":{"shape":"Host"}, - "Port":{"shape":"Port"}, - "SqlEndpointPath":{"shape":"SqlEndpointPath"} + "SiteBaseUrl":{"shape":"SiteBaseUrl"} } }, - "DateTimeParameter":{ + "JoinInstruction":{ "type":"structure", "required":[ - "Name", - "Values" + "LeftOperand", + "RightOperand", + "Type", + "OnClause" ], "members":{ - "Name":{"shape":"NonEmptyString"}, - "Values":{"shape":"TimestampList"} + "LeftOperand":{"shape":"LogicalTableId"}, + "RightOperand":{"shape":"LogicalTableId"}, + "LeftJoinKeyProperties":{"shape":"JoinKeyProperties"}, + "RightJoinKeyProperties":{"shape":"JoinKeyProperties"}, + "Type":{"shape":"JoinType"}, + "OnClause":{"shape":"OnClause"} } }, - "DateTimeParameterList":{ - "type":"list", - "member":{"shape":"DateTimeParameter"}, - "max":100 - }, - "DecimalParameter":{ + "JoinKeyProperties":{ "type":"structure", - "required":[ - "Name", - "Values" - ], "members":{ - "Name":{"shape":"NonEmptyString"}, - "Values":{"shape":"DoubleList"} + "UniqueKey":{ + "shape":"Boolean", + "box":true + } } }, - "DecimalParameterList":{ - "type":"list", - "member":{"shape":"DecimalParameter"}, - "max":100 + "JoinType":{ + "type":"string", + "enum":[ + "INNER", + "OUTER", + "LEFT", + "RIGHT" + ] }, - "DeleteAccountCustomizationRequest":{ + "KPIConditionalFormatting":{ "type":"structure", - "required":["AwsAccountId"], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "Namespace":{ - "shape":"Namespace", - "location":"querystring", - "locationName":"namespace" - } + "ConditionalFormattingOptions":{"shape":"KPIConditionalFormattingOptionList"} } }, - "DeleteAccountCustomizationResponse":{ + "KPIConditionalFormattingOption":{ "type":"structure", "members":{ - "RequestId":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - } + "PrimaryValue":{"shape":"KPIPrimaryValueConditionalFormatting"}, + "ProgressBar":{"shape":"KPIProgressBarConditionalFormatting"} } }, - "DeleteAccountSubscriptionRequest":{ + "KPIConditionalFormattingOptionList":{ + "type":"list", + "member":{"shape":"KPIConditionalFormattingOption"}, + "max":100 + }, + "KPIConfiguration":{ "type":"structure", - "required":["AwsAccountId"], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - } + "FieldWells":{"shape":"KPIFieldWells"}, + "SortConfiguration":{"shape":"KPISortConfiguration"}, + "KPIOptions":{"shape":"KPIOptions"} } }, - "DeleteAccountSubscriptionResponse":{ + "KPIFieldWells":{ "type":"structure", "members":{ - "RequestId":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - } + "Values":{"shape":"MeasureFieldList"}, + "TargetValues":{"shape":"MeasureFieldList"}, + "TrendGroups":{"shape":"DimensionFieldList"} } }, - "DeleteAnalysisRequest":{ + "KPIOptions":{ "type":"structure", - "required":[ - "AwsAccountId", - "AnalysisId" - ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "AnalysisId":{ - "shape":"RestrictiveResourceId", - "location":"uri", - "locationName":"AnalysisId" - }, - "RecoveryWindowInDays":{ - "shape":"RecoveryWindowInDays", - "location":"querystring", - "locationName":"recovery-window-in-days" - }, - "ForceDeleteWithoutRecovery":{ - "shape":"boolean", - "location":"querystring", - "locationName":"force-delete-without-recovery" - } + "ProgressBar":{"shape":"ProgressBarOptions"}, + "TrendArrows":{"shape":"TrendArrowOptions"}, + "SecondaryValue":{"shape":"SecondaryValueOptions"}, + "Comparison":{"shape":"ComparisonConfiguration"}, + "PrimaryValueDisplayType":{"shape":"PrimaryValueDisplayType"}, + "PrimaryValueFontConfiguration":{"shape":"FontConfiguration"}, + "SecondaryValueFontConfiguration":{"shape":"FontConfiguration"} } }, - "DeleteAnalysisResponse":{ + "KPIPrimaryValueConditionalFormatting":{ "type":"structure", "members":{ - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - }, - "Arn":{"shape":"Arn"}, - "AnalysisId":{"shape":"RestrictiveResourceId"}, - "DeletionTime":{"shape":"Timestamp"}, - "RequestId":{"shape":"String"} + "TextColor":{"shape":"ConditionalFormattingColor"}, + "Icon":{"shape":"ConditionalFormattingIcon"} } }, - "DeleteDashboardRequest":{ + "KPIProgressBarConditionalFormatting":{ "type":"structure", - "required":[ - "AwsAccountId", - "DashboardId" - ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "DashboardId":{ - "shape":"RestrictiveResourceId", - "location":"uri", - "locationName":"DashboardId" - }, - "VersionNumber":{ - "shape":"VersionNumber", - "location":"querystring", - "locationName":"version-number" - } + "ForegroundColor":{"shape":"ConditionalFormattingColor"} } }, - "DeleteDashboardResponse":{ + "KPISortConfiguration":{ "type":"structure", "members":{ - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - }, - "Arn":{"shape":"Arn"}, - "DashboardId":{"shape":"RestrictiveResourceId"}, - "RequestId":{"shape":"String"} + "TrendGroupSort":{"shape":"FieldSortOptionsList"} } }, - "DeleteDataSetRequest":{ + "KPIVisual":{ "type":"structure", - "required":[ - "AwsAccountId", - "DataSetId" - ], + "required":["VisualId"], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "DataSetId":{ - "shape":"ResourceId", - "location":"uri", - "locationName":"DataSetId" - } + "VisualId":{"shape":"ShortRestrictiveResourceId"}, + "Title":{"shape":"VisualTitleLabelOptions"}, + "Subtitle":{"shape":"VisualSubtitleLabelOptions"}, + "ChartConfiguration":{"shape":"KPIConfiguration"}, + "ConditionalFormatting":{"shape":"KPIConditionalFormatting"}, + "Actions":{"shape":"VisualCustomActionList"}, + "ColumnHierarchies":{"shape":"ColumnHierarchyList"} } }, - "DeleteDataSetResponse":{ + "LabelOptions":{ "type":"structure", "members":{ - "Arn":{"shape":"Arn"}, - "DataSetId":{"shape":"ResourceId"}, - "RequestId":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - } + "Visibility":{"shape":"Visibility"}, + "FontConfiguration":{"shape":"FontConfiguration"}, + "CustomLabel":{"shape":"String"} } }, - "DeleteDataSourceRequest":{ + "Latitude":{ + "type":"double", + "max":90, + "min":-90 + }, + "Layout":{ "type":"structure", - "required":[ - "AwsAccountId", - "DataSourceId" - ], + "required":["Configuration"], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "DataSourceId":{ - "shape":"ResourceId", - "location":"uri", - "locationName":"DataSourceId" - } + "Configuration":{"shape":"LayoutConfiguration"} } }, - "DeleteDataSourceResponse":{ + "LayoutConfiguration":{ "type":"structure", "members":{ - "Arn":{"shape":"Arn"}, - "DataSourceId":{"shape":"ResourceId"}, - "RequestId":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - } + "GridLayout":{"shape":"GridLayoutConfiguration"}, + "FreeFormLayout":{"shape":"FreeFormLayoutConfiguration"}, + "SectionBasedLayout":{"shape":"SectionBasedLayoutConfiguration"} } }, - "DeleteFolderMembershipRequest":{ + "LayoutElementType":{ + "type":"string", + "enum":[ + "VISUAL", + "FILTER_CONTROL", + "PARAMETER_CONTROL", + "TEXT_BOX" + ] + }, + "LayoutList":{ + "type":"list", + "member":{"shape":"Layout"}, + "max":1, + "min":1 + }, + "LegendOptions":{ "type":"structure", - "required":[ - "AwsAccountId", - "FolderId", - "MemberId", - "MemberType" - ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "FolderId":{ - "shape":"RestrictiveResourceId", - "location":"uri", - "locationName":"FolderId" - }, - "MemberId":{ - "shape":"RestrictiveResourceId", - "location":"uri", - "locationName":"MemberId" - }, - "MemberType":{ - "shape":"MemberType", - "location":"uri", - "locationName":"MemberType" - } + "Visibility":{"shape":"Visibility"}, + "Title":{"shape":"LabelOptions"}, + "Position":{"shape":"LegendPosition"}, + "Width":{"shape":"PixelLength"}, + "Height":{"shape":"PixelLength"} } }, - "DeleteFolderMembershipResponse":{ + "LegendPosition":{ + "type":"string", + "enum":[ + "AUTO", + "RIGHT", + "BOTTOM", + "TOP" + ] + }, + "Length":{"type":"string"}, + "LimitExceededException":{ + "type":"structure", + "members":{ + "Message":{"shape":"String"}, + "ResourceType":{"shape":"ExceptionResourceType"}, + "RequestId":{"shape":"String"} + }, + "error":{"httpStatusCode":409}, + "exception":true + }, + "LineChartAggregatedFieldWells":{ "type":"structure", "members":{ - "Status":{"shape":"StatusCode"}, - "RequestId":{"shape":"String"} + "Category":{"shape":"DimensionFieldList"}, + "Values":{"shape":"MeasureFieldList"}, + "Colors":{"shape":"DimensionFieldList"}, + "SmallMultiples":{"shape":"SmallMultiplesDimensionFieldList"} } }, - "DeleteFolderRequest":{ + "LineChartConfiguration":{ "type":"structure", - "required":[ - "AwsAccountId", - "FolderId" - ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "FolderId":{ - "shape":"RestrictiveResourceId", - "location":"uri", - "locationName":"FolderId" - } + "FieldWells":{"shape":"LineChartFieldWells"}, + "SortConfiguration":{"shape":"LineChartSortConfiguration"}, + "ForecastConfigurations":{"shape":"ForecastConfigurationList"}, + "Type":{"shape":"LineChartType"}, + "SmallMultiplesOptions":{"shape":"SmallMultiplesOptions"}, + "XAxisDisplayOptions":{"shape":"AxisDisplayOptions"}, + "XAxisLabelOptions":{"shape":"ChartAxisLabelOptions"}, + "PrimaryYAxisDisplayOptions":{"shape":"LineSeriesAxisDisplayOptions"}, + "PrimaryYAxisLabelOptions":{"shape":"ChartAxisLabelOptions"}, + "SecondaryYAxisDisplayOptions":{"shape":"LineSeriesAxisDisplayOptions"}, + "SecondaryYAxisLabelOptions":{"shape":"ChartAxisLabelOptions"}, + "DefaultSeriesSettings":{"shape":"LineChartDefaultSeriesSettings"}, + "Series":{"shape":"SeriesItemList"}, + "Legend":{"shape":"LegendOptions"}, + "DataLabels":{"shape":"DataLabelOptions"}, + "ReferenceLines":{"shape":"ReferenceLineList"}, + "Tooltip":{"shape":"TooltipOptions"}, + "ContributionAnalysisDefaults":{"shape":"ContributionAnalysisDefaultList"}, + "VisualPalette":{"shape":"VisualPalette"} } }, - "DeleteFolderResponse":{ + "LineChartDefaultSeriesSettings":{ "type":"structure", "members":{ - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - }, - "Arn":{"shape":"Arn"}, - "FolderId":{"shape":"RestrictiveResourceId"}, - "RequestId":{"shape":"String"} + "AxisBinding":{"shape":"AxisBinding"}, + "LineStyleSettings":{"shape":"LineChartLineStyleSettings"}, + "MarkerStyleSettings":{"shape":"LineChartMarkerStyleSettings"} } }, - "DeleteGroupMembershipRequest":{ + "LineChartFieldWells":{ "type":"structure", - "required":[ - "MemberName", - "GroupName", - "AwsAccountId", - "Namespace" - ], "members":{ - "MemberName":{ - "shape":"GroupMemberName", - "location":"uri", - "locationName":"MemberName" - }, - "GroupName":{ - "shape":"GroupName", - "location":"uri", - "locationName":"GroupName" - }, - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "Namespace":{ - "shape":"Namespace", - "location":"uri", - "locationName":"Namespace" - } + "LineChartAggregatedFieldWells":{"shape":"LineChartAggregatedFieldWells"} } }, - "DeleteGroupMembershipResponse":{ + "LineChartLineStyle":{ + "type":"string", + "enum":[ + "SOLID", + "DOTTED", + "DASHED" + ] + }, + "LineChartLineStyleSettings":{ "type":"structure", "members":{ - "RequestId":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - } + "LineVisibility":{"shape":"Visibility"}, + "LineInterpolation":{"shape":"LineInterpolation"}, + "LineStyle":{"shape":"LineChartLineStyle"}, + "LineWidth":{"shape":"PixelLength"} } }, - "DeleteGroupRequest":{ + "LineChartMarkerShape":{ + "type":"string", + "enum":[ + "CIRCLE", + "TRIANGLE", + "SQUARE", + "DIAMOND", + "ROUNDED_SQUARE" + ] + }, + "LineChartMarkerStyleSettings":{ "type":"structure", - "required":[ - "GroupName", - "AwsAccountId", - "Namespace" - ], "members":{ - "GroupName":{ - "shape":"GroupName", - "location":"uri", - "locationName":"GroupName" - }, - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "Namespace":{ - "shape":"Namespace", - "location":"uri", - "locationName":"Namespace" - } + "MarkerVisibility":{"shape":"Visibility"}, + "MarkerShape":{"shape":"LineChartMarkerShape"}, + "MarkerSize":{"shape":"PixelLength"}, + "MarkerColor":{"shape":"HexColor"} } }, - "DeleteGroupResponse":{ + "LineChartSeriesSettings":{ "type":"structure", "members":{ - "RequestId":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - } + "LineStyleSettings":{"shape":"LineChartLineStyleSettings"}, + "MarkerStyleSettings":{"shape":"LineChartMarkerStyleSettings"} } }, - "DeleteIAMPolicyAssignmentRequest":{ + "LineChartSortConfiguration":{ "type":"structure", - "required":[ - "AwsAccountId", - "AssignmentName", - "Namespace" - ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "AssignmentName":{ - "shape":"IAMPolicyAssignmentName", - "location":"uri", - "locationName":"AssignmentName" - }, - "Namespace":{ - "shape":"Namespace", - "location":"uri", - "locationName":"Namespace" - } + "CategorySort":{"shape":"FieldSortOptionsList"}, + "CategoryItemsLimitConfiguration":{"shape":"ItemsLimitConfiguration"}, + "ColorItemsLimitConfiguration":{"shape":"ItemsLimitConfiguration"}, + "SmallMultiplesSort":{"shape":"FieldSortOptionsList"}, + "SmallMultiplesLimitConfiguration":{"shape":"ItemsLimitConfiguration"} } }, - "DeleteIAMPolicyAssignmentResponse":{ + "LineChartType":{ + "type":"string", + "enum":[ + "LINE", + "AREA", + "STACKED_AREA" + ] + }, + "LineChartVisual":{ "type":"structure", + "required":["VisualId"], "members":{ - "AssignmentName":{"shape":"IAMPolicyAssignmentName"}, - "RequestId":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - } + "VisualId":{"shape":"ShortRestrictiveResourceId"}, + "Title":{"shape":"VisualTitleLabelOptions"}, + "Subtitle":{"shape":"VisualSubtitleLabelOptions"}, + "ChartConfiguration":{"shape":"LineChartConfiguration"}, + "Actions":{"shape":"VisualCustomActionList"}, + "ColumnHierarchies":{"shape":"ColumnHierarchyList"} } }, - "DeleteNamespaceRequest":{ + "LineInterpolation":{ + "type":"string", + "enum":[ + "LINEAR", + "SMOOTH", + "STEPPED" + ] + }, + "LineSeriesAxisDisplayOptions":{ "type":"structure", - "required":[ - "AwsAccountId", - "Namespace" - ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "Namespace":{ - "shape":"Namespace", - "location":"uri", - "locationName":"Namespace" - } + "AxisOptions":{"shape":"AxisDisplayOptions"}, + "MissingDataConfigurations":{"shape":"MissingDataConfigurationList"} } }, - "DeleteNamespaceResponse":{ + "LinkSharingConfiguration":{ "type":"structure", "members":{ - "RequestId":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - } + "Permissions":{"shape":"ResourcePermissionList"} } }, - "DeleteTemplateAliasRequest":{ + "ListAnalysesRequest":{ "type":"structure", - "required":[ - "AwsAccountId", - "TemplateId", - "AliasName" - ], + "required":["AwsAccountId"], "members":{ "AwsAccountId":{ "shape":"AwsAccountId", "location":"uri", "locationName":"AwsAccountId" }, - "TemplateId":{ - "shape":"RestrictiveResourceId", - "location":"uri", - "locationName":"TemplateId" + "NextToken":{ + "shape":"String", + "location":"querystring", + "locationName":"next-token" }, - "AliasName":{ - "shape":"AliasName", - "location":"uri", - "locationName":"AliasName" + "MaxResults":{ + "shape":"MaxResults", + "box":true, + "location":"querystring", + "locationName":"max-results" } } }, - "DeleteTemplateAliasResponse":{ + "ListAnalysesResponse":{ "type":"structure", "members":{ + "AnalysisSummaryList":{"shape":"AnalysisSummaryList"}, + "NextToken":{"shape":"String"}, "Status":{ "shape":"StatusCode", "location":"statusCode" }, - "TemplateId":{"shape":"RestrictiveResourceId"}, - "AliasName":{"shape":"AliasName"}, - "Arn":{"shape":"Arn"}, "RequestId":{"shape":"String"} } }, - "DeleteTemplateRequest":{ - "type":"structure", - "required":[ - "AwsAccountId", - "TemplateId" - ], - "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "TemplateId":{ - "shape":"RestrictiveResourceId", - "location":"uri", - "locationName":"TemplateId" - }, - "VersionNumber":{ - "shape":"VersionNumber", - "location":"querystring", - "locationName":"version-number" - } - } - }, - "DeleteTemplateResponse":{ + "ListControlDisplayOptions":{ "type":"structure", "members":{ - "RequestId":{"shape":"String"}, - "Arn":{"shape":"Arn"}, - "TemplateId":{"shape":"RestrictiveResourceId"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - } + "SearchOptions":{"shape":"ListControlSearchOptions"}, + "SelectAllOptions":{"shape":"ListControlSelectAllOptions"}, + "TitleOptions":{"shape":"LabelOptions"} } }, - "DeleteThemeAliasRequest":{ + "ListControlSearchOptions":{ "type":"structure", - "required":[ - "AwsAccountId", - "ThemeId", - "AliasName" - ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "ThemeId":{ - "shape":"RestrictiveResourceId", - "location":"uri", - "locationName":"ThemeId" - }, - "AliasName":{ - "shape":"AliasName", - "location":"uri", - "locationName":"AliasName" - } + "Visibility":{"shape":"Visibility"} } }, - "DeleteThemeAliasResponse":{ + "ListControlSelectAllOptions":{ "type":"structure", "members":{ - "AliasName":{"shape":"AliasName"}, - "Arn":{"shape":"Arn"}, - "RequestId":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - }, - "ThemeId":{"shape":"RestrictiveResourceId"} + "Visibility":{"shape":"Visibility"} } }, - "DeleteThemeRequest":{ + "ListDashboardVersionsRequest":{ "type":"structure", "required":[ "AwsAccountId", - "ThemeId" + "DashboardId" ], "members":{ "AwsAccountId":{ @@ -4466,93 +9540,97 @@ "location":"uri", "locationName":"AwsAccountId" }, - "ThemeId":{ - "shape":"RestrictiveResourceId", + "DashboardId":{ + "shape":"ShortRestrictiveResourceId", "location":"uri", - "locationName":"ThemeId" + "locationName":"DashboardId" + }, + "NextToken":{ + "shape":"String", + "location":"querystring", + "locationName":"next-token" }, - "VersionNumber":{ - "shape":"VersionNumber", + "MaxResults":{ + "shape":"MaxResults", + "box":true, "location":"querystring", - "locationName":"version-number" + "locationName":"max-results" } } }, - "DeleteThemeResponse":{ + "ListDashboardVersionsResponse":{ "type":"structure", "members":{ - "Arn":{"shape":"Arn"}, - "RequestId":{"shape":"String"}, + "DashboardVersionSummaryList":{"shape":"DashboardVersionSummaryList"}, + "NextToken":{"shape":"String"}, "Status":{ "shape":"StatusCode", "location":"statusCode" }, - "ThemeId":{"shape":"RestrictiveResourceId"} + "RequestId":{"shape":"String"} } }, - "DeleteUserByPrincipalIdRequest":{ + "ListDashboardsRequest":{ "type":"structure", - "required":[ - "PrincipalId", - "AwsAccountId", - "Namespace" - ], + "required":["AwsAccountId"], "members":{ - "PrincipalId":{ - "shape":"String", - "location":"uri", - "locationName":"PrincipalId" - }, "AwsAccountId":{ "shape":"AwsAccountId", "location":"uri", "locationName":"AwsAccountId" }, - "Namespace":{ - "shape":"Namespace", - "location":"uri", - "locationName":"Namespace" + "NextToken":{ + "shape":"String", + "location":"querystring", + "locationName":"next-token" + }, + "MaxResults":{ + "shape":"MaxResults", + "box":true, + "location":"querystring", + "locationName":"max-results" } } }, - "DeleteUserByPrincipalIdResponse":{ + "ListDashboardsResponse":{ "type":"structure", "members":{ - "RequestId":{"shape":"String"}, + "DashboardSummaryList":{"shape":"DashboardSummaryList"}, + "NextToken":{"shape":"String"}, "Status":{ "shape":"StatusCode", "location":"statusCode" - } + }, + "RequestId":{"shape":"String"} } }, - "DeleteUserRequest":{ + "ListDataSetsRequest":{ "type":"structure", - "required":[ - "UserName", - "AwsAccountId", - "Namespace" - ], + "required":["AwsAccountId"], "members":{ - "UserName":{ - "shape":"UserName", - "location":"uri", - "locationName":"UserName" - }, "AwsAccountId":{ "shape":"AwsAccountId", "location":"uri", "locationName":"AwsAccountId" }, - "Namespace":{ - "shape":"Namespace", - "location":"uri", - "locationName":"Namespace" + "NextToken":{ + "shape":"String", + "location":"querystring", + "locationName":"next-token" + }, + "MaxResults":{ + "shape":"MaxResults", + "box":true, + "location":"querystring", + "locationName":"max-results" } } }, - "DeleteUserResponse":{ + "ListDataSetsResponse":{ "type":"structure", "members":{ + "DataSetSummaries":{"shape":"DataSetSummaryList"}, + "NextToken":{"shape":"String"}, "RequestId":{"shape":"String"}, "Status":{ "shape":"StatusCode", @@ -4560,12 +9638,7 @@ } } }, - "Delimiter":{ - "type":"string", - "max":1, - "min":1 - }, - "DescribeAccountCustomizationRequest":{ + "ListDataSourcesRequest":{ "type":"structure", "required":["AwsAccountId"], "members":{ @@ -4574,25 +9647,24 @@ "location":"uri", "locationName":"AwsAccountId" }, - "Namespace":{ - "shape":"Namespace", + "NextToken":{ + "shape":"String", "location":"querystring", - "locationName":"namespace" + "locationName":"next-token" }, - "Resolved":{ - "shape":"boolean", + "MaxResults":{ + "shape":"MaxResults", + "box":true, "location":"querystring", - "locationName":"resolved" + "locationName":"max-results" } } }, - "DescribeAccountCustomizationResponse":{ + "ListDataSourcesResponse":{ "type":"structure", "members":{ - "Arn":{"shape":"Arn"}, - "AwsAccountId":{"shape":"AwsAccountId"}, - "Namespace":{"shape":"Namespace"}, - "AccountCustomization":{"shape":"AccountCustomization"}, + "DataSources":{"shape":"DataSourceList"}, + "NextToken":{"shape":"String"}, "RequestId":{"shape":"String"}, "Status":{ "shape":"StatusCode", @@ -4600,29 +9672,49 @@ } } }, - "DescribeAccountSettingsRequest":{ + "ListFolderMembersRequest":{ "type":"structure", - "required":["AwsAccountId"], + "required":[ + "AwsAccountId", + "FolderId" + ], "members":{ "AwsAccountId":{ "shape":"AwsAccountId", "location":"uri", "locationName":"AwsAccountId" + }, + "FolderId":{ + "shape":"RestrictiveResourceId", + "location":"uri", + "locationName":"FolderId" + }, + "NextToken":{ + "shape":"String", + "location":"querystring", + "locationName":"next-token" + }, + "MaxResults":{ + "shape":"MaxResults", + "box":true, + "location":"querystring", + "locationName":"max-results" } } }, - "DescribeAccountSettingsResponse":{ + "ListFolderMembersResponse":{ "type":"structure", "members":{ - "AccountSettings":{"shape":"AccountSettings"}, - "RequestId":{"shape":"String"}, "Status":{ "shape":"StatusCode", "location":"statusCode" - } + }, + "FolderMemberList":{"shape":"FolderMemberList"}, + "NextToken":{"shape":"String"}, + "RequestId":{"shape":"String"} } }, - "DescribeAccountSubscriptionRequest":{ + "ListFoldersRequest":{ "type":"structure", "required":["AwsAccountId"], "members":{ @@ -4630,57 +9722,85 @@ "shape":"AwsAccountId", "location":"uri", "locationName":"AwsAccountId" + }, + "NextToken":{ + "shape":"String", + "location":"querystring", + "locationName":"next-token" + }, + "MaxResults":{ + "shape":"MaxResults", + "box":true, + "location":"querystring", + "locationName":"max-results" } } }, - "DescribeAccountSubscriptionResponse":{ + "ListFoldersResponse":{ "type":"structure", "members":{ - "AccountInfo":{"shape":"AccountInfo"}, "Status":{ "shape":"StatusCode", "location":"statusCode" }, + "FolderSummaryList":{"shape":"FolderSummaryList"}, + "NextToken":{"shape":"String"}, "RequestId":{"shape":"String"} } }, - "DescribeAnalysisPermissionsRequest":{ + "ListGroupMembershipsRequest":{ "type":"structure", "required":[ + "GroupName", "AwsAccountId", - "AnalysisId" + "Namespace" ], "members":{ + "GroupName":{ + "shape":"GroupName", + "location":"uri", + "locationName":"GroupName" + }, + "NextToken":{ + "shape":"String", + "location":"querystring", + "locationName":"next-token" + }, + "MaxResults":{ + "shape":"MaxResults", + "box":true, + "location":"querystring", + "locationName":"max-results" + }, "AwsAccountId":{ "shape":"AwsAccountId", "location":"uri", "locationName":"AwsAccountId" }, - "AnalysisId":{ - "shape":"RestrictiveResourceId", + "Namespace":{ + "shape":"Namespace", "location":"uri", - "locationName":"AnalysisId" + "locationName":"Namespace" } } }, - "DescribeAnalysisPermissionsResponse":{ + "ListGroupMembershipsResponse":{ "type":"structure", "members":{ - "AnalysisId":{"shape":"RestrictiveResourceId"}, - "AnalysisArn":{"shape":"Arn"}, - "Permissions":{"shape":"ResourcePermissionList"}, + "GroupMemberList":{"shape":"GroupMemberList"}, + "NextToken":{"shape":"String"}, + "RequestId":{"shape":"String"}, "Status":{ "shape":"StatusCode", "location":"statusCode" - }, - "RequestId":{"shape":"String"} + } } }, - "DescribeAnalysisRequest":{ + "ListGroupsRequest":{ "type":"structure", "required":[ "AwsAccountId", - "AnalysisId" + "Namespace" ], "members":{ "AwsAccountId":{ @@ -4688,29 +9808,42 @@ "location":"uri", "locationName":"AwsAccountId" }, - "AnalysisId":{ - "shape":"RestrictiveResourceId", + "NextToken":{ + "shape":"String", + "location":"querystring", + "locationName":"next-token" + }, + "MaxResults":{ + "shape":"MaxResults", + "box":true, + "location":"querystring", + "locationName":"max-results" + }, + "Namespace":{ + "shape":"Namespace", "location":"uri", - "locationName":"AnalysisId" + "locationName":"Namespace" } } }, - "DescribeAnalysisResponse":{ + "ListGroupsResponse":{ "type":"structure", "members":{ - "Analysis":{"shape":"Analysis"}, + "GroupList":{"shape":"GroupList"}, + "NextToken":{"shape":"String"}, + "RequestId":{"shape":"String"}, "Status":{ "shape":"StatusCode", "location":"statusCode" - }, - "RequestId":{"shape":"String"} + } } }, - "DescribeDashboardPermissionsRequest":{ + "ListIAMPolicyAssignmentsForUserRequest":{ "type":"structure", "required":[ "AwsAccountId", - "DashboardId" + "UserName", + "Namespace" ], "members":{ "AwsAccountId":{ @@ -4718,32 +9851,46 @@ "location":"uri", "locationName":"AwsAccountId" }, - "DashboardId":{ - "shape":"RestrictiveResourceId", + "UserName":{ + "shape":"UserName", "location":"uri", - "locationName":"DashboardId" + "locationName":"UserName" + }, + "NextToken":{ + "shape":"String", + "location":"querystring", + "locationName":"next-token" + }, + "MaxResults":{ + "shape":"MaxResults", + "box":true, + "location":"querystring", + "locationName":"max-results" + }, + "Namespace":{ + "shape":"Namespace", + "location":"uri", + "locationName":"Namespace" } } }, - "DescribeDashboardPermissionsResponse":{ + "ListIAMPolicyAssignmentsForUserResponse":{ "type":"structure", "members":{ - "DashboardId":{"shape":"RestrictiveResourceId"}, - "DashboardArn":{"shape":"Arn"}, - "Permissions":{"shape":"ResourcePermissionList"}, + "ActiveAssignments":{"shape":"ActiveIAMPolicyAssignmentList"}, + "RequestId":{"shape":"String"}, + "NextToken":{"shape":"String"}, "Status":{ "shape":"StatusCode", "location":"statusCode" - }, - "RequestId":{"shape":"String"}, - "LinkSharingConfiguration":{"shape":"LinkSharingConfiguration"} + } } }, - "DescribeDashboardRequest":{ + "ListIAMPolicyAssignmentsRequest":{ "type":"structure", "required":[ "AwsAccountId", - "DashboardId" + "Namespace" ], "members":{ "AwsAccountId":{ @@ -4751,59 +9898,72 @@ "location":"uri", "locationName":"AwsAccountId" }, - "DashboardId":{ - "shape":"RestrictiveResourceId", + "AssignmentStatus":{"shape":"AssignmentStatus"}, + "Namespace":{ + "shape":"Namespace", "location":"uri", - "locationName":"DashboardId" + "locationName":"Namespace" }, - "VersionNumber":{ - "shape":"VersionNumber", + "NextToken":{ + "shape":"String", "location":"querystring", - "locationName":"version-number" + "locationName":"next-token" }, - "AliasName":{ - "shape":"AliasName", + "MaxResults":{ + "shape":"MaxResults", + "box":true, "location":"querystring", - "locationName":"alias-name" + "locationName":"max-results" } } }, - "DescribeDashboardResponse":{ + "ListIAMPolicyAssignmentsResponse":{ "type":"structure", "members":{ - "Dashboard":{"shape":"Dashboard"}, + "IAMPolicyAssignments":{"shape":"IAMPolicyAssignmentSummaryList"}, + "NextToken":{"shape":"String"}, + "RequestId":{"shape":"String"}, "Status":{ "shape":"StatusCode", "location":"statusCode" - }, - "RequestId":{"shape":"String"} + } } }, - "DescribeDataSetPermissionsRequest":{ + "ListIngestionsRequest":{ "type":"structure", "required":[ - "AwsAccountId", - "DataSetId" + "DataSetId", + "AwsAccountId" ], "members":{ + "DataSetId":{ + "shape":"String", + "location":"uri", + "locationName":"DataSetId" + }, + "NextToken":{ + "shape":"String", + "location":"querystring", + "locationName":"next-token" + }, "AwsAccountId":{ "shape":"AwsAccountId", "location":"uri", "locationName":"AwsAccountId" }, - "DataSetId":{ - "shape":"ResourceId", - "location":"uri", - "locationName":"DataSetId" + "MaxResults":{ + "shape":"IngestionMaxResults", + "box":true, + "location":"querystring", + "locationName":"max-results" } } }, - "DescribeDataSetPermissionsResponse":{ + "ListIngestionsResponse":{ "type":"structure", "members":{ - "DataSetArn":{"shape":"Arn"}, - "DataSetId":{"shape":"ResourceId"}, - "Permissions":{"shape":"ResourcePermissionList"}, + "Ingestions":{"shape":"Ingestions"}, + "NextToken":{"shape":"String"}, "RequestId":{"shape":"String"}, "Status":{ "shape":"StatusCode", @@ -4811,29 +9971,55 @@ } } }, - "DescribeDataSetRequest":{ + "ListNamespacesRequest":{ "type":"structure", - "required":[ - "AwsAccountId", - "DataSetId" - ], + "required":["AwsAccountId"], "members":{ "AwsAccountId":{ "shape":"AwsAccountId", "location":"uri", "locationName":"AwsAccountId" }, - "DataSetId":{ - "shape":"ResourceId", + "NextToken":{ + "shape":"String", + "location":"querystring", + "locationName":"next-token" + }, + "MaxResults":{ + "shape":"MaxResults", + "box":true, + "location":"querystring", + "locationName":"max-results" + } + } + }, + "ListNamespacesResponse":{ + "type":"structure", + "members":{ + "Namespaces":{"shape":"Namespaces"}, + "NextToken":{"shape":"String"}, + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } + } + }, + "ListTagsForResourceRequest":{ + "type":"structure", + "required":["ResourceArn"], + "members":{ + "ResourceArn":{ + "shape":"Arn", "location":"uri", - "locationName":"DataSetId" + "locationName":"ResourceArn" } } }, - "DescribeDataSetResponse":{ + "ListTagsForResourceResponse":{ "type":"structure", "members":{ - "DataSet":{"shape":"DataSet"}, + "Tags":{"shape":"TagList"}, "RequestId":{"shape":"String"}, "Status":{ "shape":"StatusCode", @@ -4841,11 +10027,11 @@ } } }, - "DescribeDataSourcePermissionsRequest":{ + "ListTemplateAliasesRequest":{ "type":"structure", "required":[ "AwsAccountId", - "DataSourceId" + "TemplateId" ], "members":{ "AwsAccountId":{ @@ -4853,31 +10039,41 @@ "location":"uri", "locationName":"AwsAccountId" }, - "DataSourceId":{ - "shape":"ResourceId", + "TemplateId":{ + "shape":"ShortRestrictiveResourceId", "location":"uri", - "locationName":"DataSourceId" + "locationName":"TemplateId" + }, + "NextToken":{ + "shape":"String", + "location":"querystring", + "locationName":"next-token" + }, + "MaxResults":{ + "shape":"MaxResults", + "box":true, + "location":"querystring", + "locationName":"max-result" } } }, - "DescribeDataSourcePermissionsResponse":{ + "ListTemplateAliasesResponse":{ "type":"structure", "members":{ - "DataSourceArn":{"shape":"Arn"}, - "DataSourceId":{"shape":"ResourceId"}, - "Permissions":{"shape":"ResourcePermissionList"}, - "RequestId":{"shape":"String"}, + "TemplateAliasList":{"shape":"TemplateAliasList"}, "Status":{ "shape":"StatusCode", "location":"statusCode" - } + }, + "RequestId":{"shape":"String"}, + "NextToken":{"shape":"String"} } }, - "DescribeDataSourceRequest":{ + "ListTemplateVersionsRequest":{ "type":"structure", "required":[ "AwsAccountId", - "DataSourceId" + "TemplateId" ], "members":{ "AwsAccountId":{ @@ -4885,61 +10081,75 @@ "location":"uri", "locationName":"AwsAccountId" }, - "DataSourceId":{ - "shape":"ResourceId", + "TemplateId":{ + "shape":"ShortRestrictiveResourceId", "location":"uri", - "locationName":"DataSourceId" + "locationName":"TemplateId" + }, + "NextToken":{ + "shape":"String", + "location":"querystring", + "locationName":"next-token" + }, + "MaxResults":{ + "shape":"MaxResults", + "box":true, + "location":"querystring", + "locationName":"max-results" } } }, - "DescribeDataSourceResponse":{ + "ListTemplateVersionsResponse":{ "type":"structure", "members":{ - "DataSource":{"shape":"DataSource"}, - "RequestId":{"shape":"String"}, + "TemplateVersionSummaryList":{"shape":"TemplateVersionSummaryList"}, + "NextToken":{"shape":"String"}, "Status":{ "shape":"StatusCode", "location":"statusCode" - } + }, + "RequestId":{"shape":"String"} } }, - "DescribeFolderPermissionsRequest":{ + "ListTemplatesRequest":{ "type":"structure", - "required":[ - "AwsAccountId", - "FolderId" - ], + "required":["AwsAccountId"], "members":{ "AwsAccountId":{ "shape":"AwsAccountId", "location":"uri", "locationName":"AwsAccountId" }, - "FolderId":{ - "shape":"RestrictiveResourceId", - "location":"uri", - "locationName":"FolderId" + "NextToken":{ + "shape":"String", + "location":"querystring", + "locationName":"next-token" + }, + "MaxResults":{ + "shape":"MaxResults", + "box":true, + "location":"querystring", + "locationName":"max-result" } } }, - "DescribeFolderPermissionsResponse":{ + "ListTemplatesResponse":{ "type":"structure", "members":{ + "TemplateSummaryList":{"shape":"TemplateSummaryList"}, + "NextToken":{"shape":"String"}, "Status":{ "shape":"StatusCode", "location":"statusCode" }, - "FolderId":{"shape":"RestrictiveResourceId"}, - "Arn":{"shape":"Arn"}, - "Permissions":{"shape":"ResourcePermissionList"}, "RequestId":{"shape":"String"} } }, - "DescribeFolderRequest":{ + "ListThemeAliasesRequest":{ "type":"structure", "required":[ "AwsAccountId", - "FolderId" + "ThemeId" ], "members":{ "AwsAccountId":{ @@ -4947,18 +10157,41 @@ "location":"uri", "locationName":"AwsAccountId" }, - "FolderId":{ - "shape":"RestrictiveResourceId", + "ThemeId":{ + "shape":"ShortRestrictiveResourceId", "location":"uri", - "locationName":"FolderId" + "locationName":"ThemeId" + }, + "NextToken":{ + "shape":"String", + "location":"querystring", + "locationName":"next-token" + }, + "MaxResults":{ + "shape":"MaxResults", + "box":true, + "location":"querystring", + "locationName":"max-result" } } }, - "DescribeFolderResolvedPermissionsRequest":{ + "ListThemeAliasesResponse":{ + "type":"structure", + "members":{ + "ThemeAliasList":{"shape":"ThemeAliasList"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + }, + "RequestId":{"shape":"String"}, + "NextToken":{"shape":"String"} + } + }, + "ListThemeVersionsRequest":{ "type":"structure", "required":[ "AwsAccountId", - "FolderId" + "ThemeId" ], "members":{ "AwsAccountId":{ @@ -4966,55 +10199,87 @@ "location":"uri", "locationName":"AwsAccountId" }, - "FolderId":{ - "shape":"RestrictiveResourceId", + "ThemeId":{ + "shape":"ShortRestrictiveResourceId", "location":"uri", - "locationName":"FolderId" + "locationName":"ThemeId" + }, + "NextToken":{ + "shape":"String", + "location":"querystring", + "locationName":"next-token" + }, + "MaxResults":{ + "shape":"MaxResults", + "box":true, + "location":"querystring", + "locationName":"max-results" } } }, - "DescribeFolderResolvedPermissionsResponse":{ + "ListThemeVersionsResponse":{ "type":"structure", "members":{ + "ThemeVersionSummaryList":{"shape":"ThemeVersionSummaryList"}, + "NextToken":{"shape":"String"}, "Status":{ "shape":"StatusCode", "location":"statusCode" }, - "FolderId":{"shape":"RestrictiveResourceId"}, - "Arn":{"shape":"Arn"}, - "Permissions":{"shape":"ResourcePermissionList"}, "RequestId":{"shape":"String"} } }, - "DescribeFolderResponse":{ + "ListThemesRequest":{ + "type":"structure", + "required":["AwsAccountId"], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "NextToken":{ + "shape":"String", + "location":"querystring", + "locationName":"next-token" + }, + "MaxResults":{ + "shape":"MaxResults", + "box":true, + "location":"querystring", + "locationName":"max-results" + }, + "Type":{ + "shape":"ThemeType", + "location":"querystring", + "locationName":"type" + } + } + }, + "ListThemesResponse":{ "type":"structure", "members":{ + "ThemeSummaryList":{"shape":"ThemeSummaryList"}, + "NextToken":{"shape":"String"}, "Status":{ "shape":"StatusCode", "location":"statusCode" }, - "Folder":{"shape":"Folder"}, "RequestId":{"shape":"String"} } }, - "DescribeGroupMembershipRequest":{ + "ListUserGroupsRequest":{ "type":"structure", "required":[ - "MemberName", - "GroupName", + "UserName", "AwsAccountId", "Namespace" ], "members":{ - "MemberName":{ - "shape":"GroupMemberName", - "location":"uri", - "locationName":"MemberName" - }, - "GroupName":{ - "shape":"GroupName", + "UserName":{ + "shape":"UserName", "location":"uri", - "locationName":"GroupName" + "locationName":"UserName" }, "AwsAccountId":{ "shape":"AwsAccountId", @@ -5025,13 +10290,25 @@ "shape":"Namespace", "location":"uri", "locationName":"Namespace" + }, + "NextToken":{ + "shape":"String", + "location":"querystring", + "locationName":"next-token" + }, + "MaxResults":{ + "shape":"MaxResults", + "box":true, + "location":"querystring", + "locationName":"max-results" } } }, - "DescribeGroupMembershipResponse":{ + "ListUserGroupsResponse":{ "type":"structure", "members":{ - "GroupMember":{"shape":"GroupMember"}, + "GroupList":{"shape":"GroupList"}, + "NextToken":{"shape":"String"}, "RequestId":{"shape":"String"}, "Status":{ "shape":"StatusCode", @@ -5039,24 +10316,29 @@ } } }, - "DescribeGroupRequest":{ + "ListUsersRequest":{ "type":"structure", "required":[ - "GroupName", "AwsAccountId", "Namespace" ], "members":{ - "GroupName":{ - "shape":"GroupName", - "location":"uri", - "locationName":"GroupName" - }, "AwsAccountId":{ "shape":"AwsAccountId", "location":"uri", "locationName":"AwsAccountId" }, + "NextToken":{ + "shape":"String", + "location":"querystring", + "locationName":"next-token" + }, + "MaxResults":{ + "shape":"MaxResults", + "box":true, + "location":"querystring", + "locationName":"max-results" + }, "Namespace":{ "shape":"Namespace", "location":"uri", @@ -5064,10 +10346,11 @@ } } }, - "DescribeGroupResponse":{ + "ListUsersResponse":{ "type":"structure", "members":{ - "Group":{"shape":"Group"}, + "UserList":{"shape":"UserList"}, + "NextToken":{"shape":"String"}, "RequestId":{"shape":"String"}, "Status":{ "shape":"StatusCode", @@ -5075,1425 +10358,1668 @@ } } }, - "DescribeIAMPolicyAssignmentRequest":{ + "LoadingAnimation":{ + "type":"structure", + "members":{ + "Visibility":{"shape":"Visibility"} + } + }, + "LocalNavigationConfiguration":{ + "type":"structure", + "required":["TargetSheetId"], + "members":{ + "TargetSheetId":{"shape":"ShortRestrictiveResourceId"} + } + }, + "LogicalTable":{ "type":"structure", "required":[ - "AwsAccountId", - "AssignmentName", - "Namespace" + "Alias", + "Source" ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "AssignmentName":{ - "shape":"IAMPolicyAssignmentName", - "location":"uri", - "locationName":"AssignmentName" - }, - "Namespace":{ - "shape":"Namespace", - "location":"uri", - "locationName":"Namespace" - } + "Alias":{"shape":"LogicalTableAlias"}, + "DataTransforms":{"shape":"TransformOperationList"}, + "Source":{"shape":"LogicalTableSource"} } }, - "DescribeIAMPolicyAssignmentResponse":{ + "LogicalTableAlias":{ + "type":"string", + "max":64, + "min":1 + }, + "LogicalTableId":{ + "type":"string", + "max":64, + "min":1, + "pattern":"[0-9a-zA-Z-]*" + }, + "LogicalTableMap":{ + "type":"map", + "key":{"shape":"LogicalTableId"}, + "value":{"shape":"LogicalTable"}, + "max":64, + "min":1 + }, + "LogicalTableSource":{ "type":"structure", "members":{ - "IAMPolicyAssignment":{"shape":"IAMPolicyAssignment"}, - "RequestId":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - } + "JoinInstruction":{"shape":"JoinInstruction"}, + "PhysicalTableId":{"shape":"PhysicalTableId"}, + "DataSetArn":{"shape":"Arn"} } }, - "DescribeIngestionRequest":{ + "Long":{"type":"long"}, + "LongFormatText":{ + "type":"structure", + "members":{ + "PlainText":{"shape":"LongPlainText"}, + "RichText":{"shape":"LongRichText"} + } + }, + "LongPlainText":{ + "type":"string", + "max":1024, + "min":1 + }, + "LongRichText":{ + "type":"string", + "max":2048, + "min":1 + }, + "Longitude":{ + "type":"double", + "max":1800, + "min":-1800 + }, + "ManifestFileLocation":{ "type":"structure", "required":[ - "AwsAccountId", - "DataSetId", - "IngestionId" + "Bucket", + "Key" ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "DataSetId":{ - "shape":"String", - "location":"uri", - "locationName":"DataSetId" - }, - "IngestionId":{ - "shape":"IngestionId", - "location":"uri", - "locationName":"IngestionId" - } + "Bucket":{"shape":"S3Bucket"}, + "Key":{"shape":"S3Key"} } }, - "DescribeIngestionResponse":{ + "MapZoomMode":{ + "type":"string", + "enum":[ + "AUTO", + "MANUAL" + ] + }, + "MarginStyle":{ "type":"structure", "members":{ - "Ingestion":{"shape":"Ingestion"}, - "RequestId":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" + "Show":{ + "shape":"Boolean", + "box":true } } }, - "DescribeIpRestrictionRequest":{ + "MariaDbParameters":{ "type":"structure", - "required":["AwsAccountId"], + "required":[ + "Host", + "Port", + "Database" + ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - } + "Host":{"shape":"Host"}, + "Port":{"shape":"Port"}, + "Database":{"shape":"Database"} + } + }, + "MaxResults":{ + "type":"integer", + "max":100, + "min":1 + }, + "MaximumLabelType":{ + "type":"structure", + "members":{ + "Visibility":{"shape":"Visibility"} + } + }, + "MaximumMinimumComputation":{ + "type":"structure", + "required":[ + "ComputationId", + "Time", + "Type" + ], + "members":{ + "ComputationId":{"shape":"ShortRestrictiveResourceId"}, + "Name":{"shape":"String"}, + "Time":{"shape":"DimensionField"}, + "Value":{"shape":"MeasureField"}, + "Type":{"shape":"MaximumMinimumComputationType"} + } + }, + "MaximumMinimumComputationType":{ + "type":"string", + "enum":[ + "MAXIMUM", + "MINIMUM" + ] + }, + "MeasureField":{ + "type":"structure", + "members":{ + "NumericalMeasureField":{"shape":"NumericalMeasureField"}, + "CategoricalMeasureField":{"shape":"CategoricalMeasureField"}, + "DateMeasureField":{"shape":"DateMeasureField"}, + "CalculatedMeasureField":{"shape":"CalculatedMeasureField"} } }, - "DescribeIpRestrictionResponse":{ + "MeasureFieldList":{ + "type":"list", + "member":{"shape":"MeasureField"}, + "max":200 + }, + "MemberIdArnPair":{ "type":"structure", "members":{ - "AwsAccountId":{"shape":"AwsAccountId"}, - "IpRestrictionRuleMap":{"shape":"IpRestrictionRuleMap"}, - "Enabled":{"shape":"NullableBoolean"}, - "RequestId":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - } + "MemberId":{"shape":"RestrictiveResourceId"}, + "MemberArn":{"shape":"Arn"} } }, - "DescribeNamespaceRequest":{ + "MemberType":{ + "type":"string", + "enum":[ + "DASHBOARD", + "ANALYSIS", + "DATASET" + ] + }, + "MetricComparisonComputation":{ "type":"structure", "required":[ - "AwsAccountId", - "Namespace" + "ComputationId", + "Time", + "FromValue", + "TargetValue" ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "Namespace":{ - "shape":"Namespace", - "location":"uri", - "locationName":"Namespace" - } + "ComputationId":{"shape":"ShortRestrictiveResourceId"}, + "Name":{"shape":"String"}, + "Time":{"shape":"DimensionField"}, + "FromValue":{"shape":"MeasureField"}, + "TargetValue":{"shape":"MeasureField"} } }, - "DescribeNamespaceResponse":{ + "MinimumLabelType":{ "type":"structure", "members":{ - "Namespace":{"shape":"NamespaceInfoV2"}, - "RequestId":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - } + "Visibility":{"shape":"Visibility"} } }, - "DescribeTemplateAliasRequest":{ + "MissingDataConfiguration":{ "type":"structure", - "required":[ - "AwsAccountId", - "TemplateId", - "AliasName" - ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "TemplateId":{ - "shape":"RestrictiveResourceId", - "location":"uri", - "locationName":"TemplateId" - }, - "AliasName":{ - "shape":"AliasName", - "location":"uri", - "locationName":"AliasName" - } + "TreatmentOption":{"shape":"MissingDataTreatmentOption"} } }, - "DescribeTemplateAliasResponse":{ - "type":"structure", - "members":{ - "TemplateAlias":{"shape":"TemplateAlias"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - }, - "RequestId":{"shape":"String"} - } + "MissingDataConfigurationList":{ + "type":"list", + "member":{"shape":"MissingDataConfiguration"}, + "max":100 }, - "DescribeTemplatePermissionsRequest":{ + "MissingDataTreatmentOption":{ + "type":"string", + "enum":[ + "INTERPOLATE", + "SHOW_AS_ZERO", + "SHOW_AS_BLANK" + ] + }, + "MySqlParameters":{ "type":"structure", "required":[ - "AwsAccountId", - "TemplateId" + "Host", + "Port", + "Database" ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "TemplateId":{ - "shape":"RestrictiveResourceId", - "location":"uri", - "locationName":"TemplateId" - } + "Host":{"shape":"Host"}, + "Port":{"shape":"Port"}, + "Database":{"shape":"Database"} } }, - "DescribeTemplatePermissionsResponse":{ + "Namespace":{ + "type":"string", + "max":64, + "pattern":"^[a-zA-Z0-9._-]*$" + }, + "NamespaceError":{ "type":"structure", "members":{ - "TemplateId":{"shape":"RestrictiveResourceId"}, - "TemplateArn":{"shape":"Arn"}, - "Permissions":{"shape":"ResourcePermissionList"}, - "RequestId":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - } + "Type":{"shape":"NamespaceErrorType"}, + "Message":{"shape":"String"} } }, - "DescribeTemplateRequest":{ + "NamespaceErrorType":{ + "type":"string", + "enum":[ + "PERMISSION_DENIED", + "INTERNAL_SERVICE_ERROR" + ] + }, + "NamespaceInfoV2":{ "type":"structure", - "required":[ - "AwsAccountId", - "TemplateId" - ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "TemplateId":{ - "shape":"RestrictiveResourceId", - "location":"uri", - "locationName":"TemplateId" - }, - "VersionNumber":{ - "shape":"VersionNumber", - "location":"querystring", - "locationName":"version-number" - }, - "AliasName":{ - "shape":"AliasName", - "location":"querystring", - "locationName":"alias-name" - } + "Name":{"shape":"Namespace"}, + "Arn":{"shape":"Arn"}, + "CapacityRegion":{"shape":"String"}, + "CreationStatus":{"shape":"NamespaceStatus"}, + "IdentityStore":{"shape":"IdentityStore"}, + "NamespaceError":{"shape":"NamespaceError"} } }, - "DescribeTemplateResponse":{ + "NamespaceStatus":{ + "type":"string", + "enum":[ + "CREATED", + "CREATING", + "DELETING", + "RETRYABLE_FAILURE", + "NON_RETRYABLE_FAILURE" + ] + }, + "Namespaces":{ + "type":"list", + "member":{"shape":"NamespaceInfoV2"} + }, + "NarrativeString":{ + "type":"string", + "max":150000 + }, + "NegativeValueConfiguration":{ "type":"structure", + "required":["DisplayMode"], "members":{ - "Template":{"shape":"Template"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - }, - "RequestId":{"shape":"String"} + "DisplayMode":{"shape":"NegativeValueDisplayMode"} } }, - "DescribeThemeAliasRequest":{ + "NegativeValueDisplayMode":{ + "type":"string", + "enum":[ + "POSITIVE", + "NEGATIVE" + ] + }, + "NonEmptyString":{ + "type":"string", + "pattern":".*\\S.*" + }, + "NullString":{ + "type":"string", + "max":128, + "min":1, + "sensitive":true + }, + "NullValueFormatConfiguration":{ "type":"structure", - "required":[ - "AwsAccountId", - "ThemeId", - "AliasName" - ], + "required":["NullString"], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "ThemeId":{ - "shape":"RestrictiveResourceId", - "location":"uri", - "locationName":"ThemeId" - }, - "AliasName":{ - "shape":"AliasName", - "location":"uri", - "locationName":"AliasName" - } + "NullString":{"shape":"NullString"} } }, - "DescribeThemeAliasResponse":{ + "NullableBoolean":{"type":"boolean"}, + "NumberDisplayFormatConfiguration":{ "type":"structure", "members":{ - "ThemeAlias":{"shape":"ThemeAlias"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - }, - "RequestId":{"shape":"String"} + "Prefix":{"shape":"Prefix"}, + "Suffix":{"shape":"Suffix"}, + "SeparatorConfiguration":{"shape":"NumericSeparatorConfiguration"}, + "DecimalPlacesConfiguration":{"shape":"DecimalPlacesConfiguration"}, + "NumberScale":{"shape":"NumberScale"}, + "NegativeValueConfiguration":{"shape":"NegativeValueConfiguration"}, + "NullValueFormatConfiguration":{"shape":"NullValueFormatConfiguration"} } }, - "DescribeThemePermissionsRequest":{ + "NumberFormatConfiguration":{ "type":"structure", - "required":[ - "AwsAccountId", - "ThemeId" - ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "ThemeId":{ - "shape":"RestrictiveResourceId", - "location":"uri", - "locationName":"ThemeId" - } + "FormatConfiguration":{"shape":"NumericFormatConfiguration"} } }, - "DescribeThemePermissionsResponse":{ + "NumberScale":{ + "type":"string", + "enum":[ + "NONE", + "AUTO", + "THOUSANDS", + "MILLIONS", + "BILLIONS", + "TRILLIONS" + ] + }, + "NumericAxisOptions":{ "type":"structure", "members":{ - "ThemeId":{"shape":"RestrictiveResourceId"}, - "ThemeArn":{"shape":"Arn"}, - "Permissions":{"shape":"ResourcePermissionList"}, - "RequestId":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - } + "Scale":{"shape":"AxisScale"}, + "Range":{"shape":"AxisDisplayRange"} } }, - "DescribeThemeRequest":{ + "NumericEqualityDrillDownFilter":{ "type":"structure", "required":[ - "AwsAccountId", - "ThemeId" + "Column", + "Value" + ], + "members":{ + "Column":{"shape":"ColumnIdentifier"}, + "Value":{"shape":"Double"} + } + }, + "NumericEqualityFilter":{ + "type":"structure", + "required":[ + "FilterId", + "Column", + "MatchOperator", + "NullOption" ], "members":{ - "AwsAccountId":{ - "shape":"AwsAndAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "ThemeId":{ - "shape":"RestrictiveResourceId", - "location":"uri", - "locationName":"ThemeId" - }, - "VersionNumber":{ - "shape":"VersionNumber", - "location":"querystring", - "locationName":"version-number" + "FilterId":{"shape":"ShortRestrictiveResourceId"}, + "Column":{"shape":"ColumnIdentifier"}, + "Value":{ + "shape":"Double", + "box":true }, - "AliasName":{ - "shape":"AliasName", - "location":"querystring", - "locationName":"alias-name" - } + "SelectAllOptions":{"shape":"NumericFilterSelectAllOptions"}, + "MatchOperator":{"shape":"NumericEqualityMatchOperator"}, + "AggregationFunction":{"shape":"AggregationFunction"}, + "ParameterName":{"shape":"ParameterName"}, + "NullOption":{"shape":"FilterNullOption"} } }, - "DescribeThemeResponse":{ + "NumericEqualityMatchOperator":{ + "type":"string", + "enum":[ + "EQUALS", + "DOES_NOT_EQUAL" + ] + }, + "NumericFilterSelectAllOptions":{ + "type":"string", + "enum":["FILTER_ALL_VALUES"] + }, + "NumericFormatConfiguration":{ "type":"structure", "members":{ - "Theme":{"shape":"Theme"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - }, - "RequestId":{"shape":"String"} + "NumberDisplayFormatConfiguration":{"shape":"NumberDisplayFormatConfiguration"}, + "CurrencyDisplayFormatConfiguration":{"shape":"CurrencyDisplayFormatConfiguration"}, + "PercentageDisplayFormatConfiguration":{"shape":"PercentageDisplayFormatConfiguration"} } }, - "DescribeUserRequest":{ + "NumericRangeFilter":{ "type":"structure", "required":[ - "UserName", - "AwsAccountId", - "Namespace" + "FilterId", + "Column", + "NullOption" ], "members":{ - "UserName":{ - "shape":"UserName", - "location":"uri", - "locationName":"UserName" + "FilterId":{"shape":"ShortRestrictiveResourceId"}, + "Column":{"shape":"ColumnIdentifier"}, + "IncludeMinimum":{ + "shape":"Boolean", + "box":true }, - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" + "IncludeMaximum":{ + "shape":"Boolean", + "box":true }, - "Namespace":{ - "shape":"Namespace", - "location":"uri", - "locationName":"Namespace" - } + "RangeMinimum":{ + "shape":"NumericRangeFilterValue", + "box":true + }, + "RangeMaximum":{ + "shape":"NumericRangeFilterValue", + "box":true + }, + "SelectAllOptions":{"shape":"NumericFilterSelectAllOptions"}, + "AggregationFunction":{"shape":"AggregationFunction"}, + "NullOption":{"shape":"FilterNullOption"} } }, - "DescribeUserResponse":{ + "NumericRangeFilterValue":{ "type":"structure", "members":{ - "User":{"shape":"User"}, - "RequestId":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - } + "StaticValue":{ + "shape":"Double", + "box":true + }, + "Parameter":{"shape":"ParameterName"} } }, - "Domain":{ - "type":"string", - "max":64, - "min":1 - }, - "DomainNotWhitelistedException":{ + "NumericSeparatorConfiguration":{ "type":"structure", "members":{ - "Message":{"shape":"String"}, - "RequestId":{"shape":"String"} - }, - "error":{"httpStatusCode":403}, - "exception":true - }, - "Double":{"type":"double"}, - "DoubleList":{ - "type":"list", - "member":{"shape":"Double"} + "DecimalSeparator":{"shape":"NumericSeparatorSymbol"}, + "ThousandsSeparator":{"shape":"ThousandSeparatorOptions"} + } }, - "Edition":{ + "NumericSeparatorSymbol":{ "type":"string", "enum":[ - "STANDARD", - "ENTERPRISE", - "ENTERPRISE_AND_Q" + "COMMA", + "DOT", + "SPACE" ] }, - "EmbeddingIdentityType":{ - "type":"string", - "enum":[ - "IAM", - "QUICKSIGHT", - "ANONYMOUS" - ] + "NumericalAggregationFunction":{ + "type":"structure", + "members":{ + "SimpleNumericalAggregation":{"shape":"SimpleNumericalAggregationFunction"}, + "PercentileAggregation":{"shape":"PercentileAggregation"} + } }, - "EmbeddingUrl":{ - "type":"string", - "sensitive":true + "NumericalDimensionField":{ + "type":"structure", + "required":[ + "FieldId", + "Column" + ], + "members":{ + "FieldId":{"shape":"FieldId"}, + "Column":{"shape":"ColumnIdentifier"}, + "HierarchyId":{"shape":"HierarchyId"}, + "FormatConfiguration":{"shape":"NumberFormatConfiguration"} + } }, - "EntryPath":{ - "type":"string", - "max":1000, - "min":1 + "NumericalMeasureField":{ + "type":"structure", + "required":[ + "FieldId", + "Column" + ], + "members":{ + "FieldId":{"shape":"FieldId"}, + "Column":{"shape":"ColumnIdentifier"}, + "AggregationFunction":{"shape":"NumericalAggregationFunction"}, + "FormatConfiguration":{"shape":"NumberFormatConfiguration"} + } }, - "EntryPoint":{ + "OnClause":{ "type":"string", - "max":1000, + "max":512, "min":1 }, - "ErrorInfo":{ - "type":"structure", - "members":{ - "Type":{"shape":"IngestionErrorType"}, - "Message":{"shape":"String"} - } + "OptionalPort":{ + "type":"integer", + "max":65535, + "min":0 }, - "ExasolParameters":{ + "OracleParameters":{ "type":"structure", "required":[ "Host", - "Port" + "Port", + "Database" ], "members":{ "Host":{"shape":"Host"}, - "Port":{"shape":"Port"} + "Port":{"shape":"Port"}, + "Database":{"shape":"Database"} } }, - "ExceptionResourceType":{ + "OtherCategories":{ "type":"string", "enum":[ - "USER", - "GROUP", - "NAMESPACE", - "ACCOUNT_SETTINGS", - "IAMPOLICY_ASSIGNMENT", - "DATA_SOURCE", - "DATA_SET", - "VPC_CONNECTION", - "INGESTION" + "INCLUDE", + "EXCLUDE" ] }, - "ExportToCSVOption":{ + "OutputColumn":{ "type":"structure", "members":{ - "AvailabilityStatus":{"shape":"DashboardBehavior"} + "Name":{"shape":"ColumnName"}, + "Description":{"shape":"ColumnDescriptiveText"}, + "Type":{"shape":"ColumnDataType"} } }, - "Expression":{ - "type":"string", - "max":4096, - "min":1 + "OutputColumnList":{ + "type":"list", + "member":{"shape":"OutputColumn"} }, - "FieldFolder":{ + "PageNumber":{ + "type":"long", + "min":0 + }, + "PaginationConfiguration":{ "type":"structure", + "required":[ + "PageSize", + "PageNumber" + ], "members":{ - "description":{"shape":"FieldFolderDescription"}, - "columns":{"shape":"FolderColumnList"} + "PageSize":{ + "shape":"Long", + "box":true + }, + "PageNumber":{"shape":"PageNumber"} } }, - "FieldFolderDescription":{ + "PanelBorderStyle":{ "type":"string", - "max":500 + "enum":[ + "SOLID", + "DASHED", + "DOTTED" + ] }, - "FieldFolderMap":{ - "type":"map", - "key":{"shape":"FieldFolderPath"}, - "value":{"shape":"FieldFolder"} + "PanelConfiguration":{ + "type":"structure", + "members":{ + "Title":{"shape":"PanelTitleOptions"}, + "BorderVisibility":{"shape":"Visibility"}, + "BorderThickness":{"shape":"PixelLength"}, + "BorderStyle":{"shape":"PanelBorderStyle"}, + "BorderColor":{"shape":"HexColorWithTransparency"}, + "GutterVisibility":{"shape":"Visibility"}, + "GutterSpacing":{"shape":"PixelLength"}, + "BackgroundVisibility":{"shape":"Visibility"}, + "BackgroundColor":{"shape":"HexColorWithTransparency"} + } }, - "FieldFolderPath":{ + "PanelTitleOptions":{ + "type":"structure", + "members":{ + "Visibility":{"shape":"Visibility"}, + "FontConfiguration":{"shape":"FontConfiguration"}, + "HorizontalTextAlignment":{"shape":"HorizontalTextAlignment"} + } + }, + "PaperOrientation":{ "type":"string", - "max":1000, - "min":1 + "enum":[ + "PORTRAIT", + "LANDSCAPE" + ] }, - "FileFormat":{ + "PaperSize":{ "type":"string", "enum":[ - "CSV", - "TSV", - "CLF", - "ELF", - "XLSX", - "JSON" + "US_LETTER", + "US_LEGAL", + "US_TABLOID_LEDGER", + "A0", + "A1", + "A2", + "A3", + "A4", + "A5", + "JIS_B4", + "JIS_B5" ] }, - "FilterOperation":{ + "ParameterControl":{ "type":"structure", - "required":["ConditionExpression"], "members":{ - "ConditionExpression":{"shape":"Expression"} + "DateTimePicker":{"shape":"ParameterDateTimePickerControl"}, + "List":{"shape":"ParameterListControl"}, + "Dropdown":{"shape":"ParameterDropDownControl"}, + "TextField":{"shape":"ParameterTextFieldControl"}, + "TextArea":{"shape":"ParameterTextAreaControl"}, + "Slider":{"shape":"ParameterSliderControl"} } }, - "FilterOperator":{ - "type":"string", - "enum":[ - "StringEquals", - "StringLike" - ] + "ParameterControlList":{ + "type":"list", + "member":{"shape":"ParameterControl"}, + "max":200 }, - "Folder":{ + "ParameterDateTimePickerControl":{ "type":"structure", + "required":[ + "ParameterControlId", + "Title", + "SourceParameterName" + ], "members":{ - "FolderId":{"shape":"RestrictiveResourceId"}, - "Arn":{"shape":"Arn"}, - "Name":{"shape":"FolderName"}, - "FolderType":{"shape":"FolderType"}, - "FolderPath":{"shape":"Path"}, - "CreatedTime":{"shape":"Timestamp"}, - "LastUpdatedTime":{"shape":"Timestamp"} + "ParameterControlId":{"shape":"ShortRestrictiveResourceId"}, + "Title":{"shape":"SheetControlTitle"}, + "SourceParameterName":{"shape":"ParameterName"}, + "DisplayOptions":{"shape":"DateTimePickerControlDisplayOptions"} } }, - "FolderColumnList":{ + "ParameterDeclaration":{ + "type":"structure", + "members":{ + "StringParameterDeclaration":{"shape":"StringParameterDeclaration"}, + "DecimalParameterDeclaration":{"shape":"DecimalParameterDeclaration"}, + "IntegerParameterDeclaration":{"shape":"IntegerParameterDeclaration"}, + "DateTimeParameterDeclaration":{"shape":"DateTimeParameterDeclaration"} + } + }, + "ParameterDeclarationList":{ "type":"list", - "member":{"shape":"String"}, - "max":5000 + "member":{"shape":"ParameterDeclaration"}, + "max":200 }, - "FolderFilterAttribute":{ + "ParameterDropDownControl":{ + "type":"structure", + "required":[ + "ParameterControlId", + "Title", + "SourceParameterName" + ], + "members":{ + "ParameterControlId":{"shape":"ShortRestrictiveResourceId"}, + "Title":{"shape":"SheetControlTitle"}, + "SourceParameterName":{"shape":"ParameterName"}, + "DisplayOptions":{"shape":"DropDownControlDisplayOptions"}, + "Type":{"shape":"SheetControlListType"}, + "SelectableValues":{"shape":"ParameterSelectableValues"}, + "CascadingControlConfiguration":{"shape":"CascadingControlConfiguration"} + } + }, + "ParameterListControl":{ + "type":"structure", + "required":[ + "ParameterControlId", + "Title", + "SourceParameterName" + ], + "members":{ + "ParameterControlId":{"shape":"ShortRestrictiveResourceId"}, + "Title":{"shape":"SheetControlTitle"}, + "SourceParameterName":{"shape":"ParameterName"}, + "DisplayOptions":{"shape":"ListControlDisplayOptions"}, + "Type":{"shape":"SheetControlListType"}, + "SelectableValues":{"shape":"ParameterSelectableValues"}, + "CascadingControlConfiguration":{"shape":"CascadingControlConfiguration"} + } + }, + "ParameterName":{ "type":"string", - "enum":[ - "PARENT_FOLDER_ARN", - "DIRECT_QUICKSIGHT_OWNER", - "DIRECT_QUICKSIGHT_SOLE_OWNER", - "DIRECT_QUICKSIGHT_VIEWER_OR_OWNER", - "QUICKSIGHT_OWNER", - "QUICKSIGHT_VIEWER_OR_OWNER", - "FOLDER_NAME" - ] + "max":2048, + "min":1, + "pattern":"^[a-zA-Z0-9]+$" }, - "FolderMember":{ + "ParameterSelectableValueList":{ + "type":"list", + "member":{"shape":"String"}, + "max":50000 + }, + "ParameterSelectableValues":{ + "type":"structure", + "members":{ + "Values":{"shape":"ParameterSelectableValueList"}, + "LinkToDataSetColumn":{"shape":"ColumnIdentifier"} + } + }, + "ParameterSliderControl":{ "type":"structure", + "required":[ + "ParameterControlId", + "Title", + "SourceParameterName", + "MaximumValue", + "MinimumValue", + "StepSize" + ], "members":{ - "MemberId":{"shape":"RestrictiveResourceId"}, - "MemberType":{"shape":"MemberType"} + "ParameterControlId":{"shape":"ShortRestrictiveResourceId"}, + "Title":{"shape":"SheetControlTitle"}, + "SourceParameterName":{"shape":"ParameterName"}, + "DisplayOptions":{"shape":"SliderControlDisplayOptions"}, + "MaximumValue":{"shape":"Double"}, + "MinimumValue":{"shape":"Double"}, + "StepSize":{"shape":"Double"} } }, - "FolderMemberList":{ - "type":"list", - "member":{"shape":"MemberIdArnPair"}, - "max":100 - }, - "FolderName":{ - "type":"string", - "max":200, - "min":1 + "ParameterTextAreaControl":{ + "type":"structure", + "required":[ + "ParameterControlId", + "Title", + "SourceParameterName" + ], + "members":{ + "ParameterControlId":{"shape":"ShortRestrictiveResourceId"}, + "Title":{"shape":"SheetControlTitle"}, + "SourceParameterName":{"shape":"ParameterName"}, + "Delimiter":{"shape":"TextAreaControlDelimiter"}, + "DisplayOptions":{"shape":"TextAreaControlDisplayOptions"} + } }, - "FolderSearchFilter":{ + "ParameterTextFieldControl":{ "type":"structure", + "required":[ + "ParameterControlId", + "Title", + "SourceParameterName" + ], "members":{ - "Operator":{"shape":"FilterOperator"}, - "Name":{"shape":"FolderFilterAttribute"}, - "Value":{"shape":"String"} + "ParameterControlId":{"shape":"ShortRestrictiveResourceId"}, + "Title":{"shape":"SheetControlTitle"}, + "SourceParameterName":{"shape":"ParameterName"}, + "DisplayOptions":{"shape":"TextFieldControlDisplayOptions"} } }, - "FolderSearchFilterList":{ - "type":"list", - "member":{"shape":"FolderSearchFilter"}, - "max":100 + "ParameterValueType":{ + "type":"string", + "enum":[ + "MULTI_VALUED", + "SINGLE_VALUED" + ] }, - "FolderSummary":{ + "Parameters":{ "type":"structure", "members":{ - "Arn":{"shape":"Arn"}, - "FolderId":{"shape":"RestrictiveResourceId"}, - "Name":{"shape":"FolderName"}, - "FolderType":{"shape":"FolderType"}, - "CreatedTime":{"shape":"Timestamp"}, - "LastUpdatedTime":{"shape":"Timestamp"} + "StringParameters":{"shape":"StringParameterList"}, + "IntegerParameters":{"shape":"IntegerParameterList"}, + "DecimalParameters":{"shape":"DecimalParameterList"}, + "DateTimeParameters":{"shape":"DateTimeParameterList"} } }, - "FolderSummaryList":{ + "Password":{ + "type":"string", + "max":1024, + "min":1 + }, + "Path":{ "type":"list", - "member":{"shape":"FolderSummary"}, - "max":100 + "member":{"shape":"Arn"}, + "max":10, + "min":1 }, - "FolderType":{ - "type":"string", - "enum":["SHARED"] + "PercentNumber":{ + "type":"double", + "max":100, + "min":0 }, - "GenerateEmbedUrlForAnonymousUserRequest":{ + "PercentVisibleRange":{ "type":"structure", - "required":[ - "AwsAccountId", - "Namespace", - "AuthorizedResourceArns", - "ExperienceConfiguration" - ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" + "From":{ + "shape":"PercentNumber", + "box":true }, - "SessionLifetimeInMinutes":{"shape":"SessionLifetimeInMinutes"}, - "Namespace":{"shape":"Namespace"}, - "SessionTags":{"shape":"SessionTagList"}, - "AuthorizedResourceArns":{"shape":"ArnList"}, - "ExperienceConfiguration":{"shape":"AnonymousUserEmbeddingExperienceConfiguration"}, - "AllowedDomains":{"shape":"StringList"} + "To":{ + "shape":"PercentNumber", + "box":true + } } }, - "GenerateEmbedUrlForAnonymousUserResponse":{ + "PercentageDisplayFormatConfiguration":{ "type":"structure", - "required":[ - "EmbedUrl", - "Status", - "RequestId", - "AnonymousUserArn" - ], "members":{ - "EmbedUrl":{"shape":"EmbeddingUrl"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - }, - "RequestId":{"shape":"String"}, - "AnonymousUserArn":{"shape":"Arn"} + "Prefix":{"shape":"Prefix"}, + "Suffix":{"shape":"Suffix"}, + "SeparatorConfiguration":{"shape":"NumericSeparatorConfiguration"}, + "DecimalPlacesConfiguration":{"shape":"DecimalPlacesConfiguration"}, + "NegativeValueConfiguration":{"shape":"NegativeValueConfiguration"}, + "NullValueFormatConfiguration":{"shape":"NullValueFormatConfiguration"} } }, - "GenerateEmbedUrlForRegisteredUserRequest":{ + "PercentileAggregation":{ "type":"structure", - "required":[ - "AwsAccountId", - "UserArn", - "ExperienceConfiguration" - ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "SessionLifetimeInMinutes":{"shape":"SessionLifetimeInMinutes"}, - "UserArn":{"shape":"Arn"}, - "ExperienceConfiguration":{"shape":"RegisteredUserEmbeddingExperienceConfiguration"}, - "AllowedDomains":{"shape":"StringList"} + "PercentileValue":{"shape":"PercentileValue"} } }, - "GenerateEmbedUrlForRegisteredUserResponse":{ + "PercentileValue":{ + "type":"double", + "max":100, + "min":0 + }, + "PeriodOverPeriodComputation":{ "type":"structure", "required":[ - "EmbedUrl", - "Status", - "RequestId" + "ComputationId", + "Time" ], "members":{ - "EmbedUrl":{"shape":"EmbeddingUrl"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - }, - "RequestId":{"shape":"String"} + "ComputationId":{"shape":"ShortRestrictiveResourceId"}, + "Name":{"shape":"String"}, + "Time":{"shape":"DimensionField"}, + "Value":{"shape":"MeasureField"} } }, - "GeoSpatialColumnGroup":{ + "PeriodToDateComputation":{ "type":"structure", "required":[ - "Name", - "Columns" + "ComputationId", + "Time" ], "members":{ - "Name":{"shape":"ColumnGroupName"}, - "CountryCode":{"shape":"GeoSpatialCountryCode"}, - "Columns":{"shape":"ColumnList"} + "ComputationId":{"shape":"ShortRestrictiveResourceId"}, + "Name":{"shape":"String"}, + "Time":{"shape":"DimensionField"}, + "Value":{"shape":"MeasureField"}, + "PeriodTimeGranularity":{"shape":"TimeGranularity"} } }, - "GeoSpatialCountryCode":{ - "type":"string", - "enum":["US"] + "PeriodsBackward":{ + "type":"integer", + "max":1000, + "min":0 }, - "GeoSpatialDataRole":{ + "PeriodsForward":{ + "type":"integer", + "max":1000, + "min":1 + }, + "PhysicalTable":{ + "type":"structure", + "members":{ + "RelationalTable":{"shape":"RelationalTable"}, + "CustomSql":{"shape":"CustomSql"}, + "S3Source":{"shape":"S3Source"} + } + }, + "PhysicalTableId":{ "type":"string", - "enum":[ - "COUNTRY", - "STATE", - "COUNTY", - "CITY", - "POSTCODE", - "LONGITUDE", - "LATITUDE" - ] + "max":64, + "min":1, + "pattern":"[0-9a-zA-Z-]*" }, - "GetDashboardEmbedUrlRequest":{ + "PhysicalTableMap":{ + "type":"map", + "key":{"shape":"PhysicalTableId"}, + "value":{"shape":"PhysicalTable"}, + "max":32, + "min":0 + }, + "PieChartAggregatedFieldWells":{ "type":"structure", - "required":[ - "AwsAccountId", - "DashboardId", - "IdentityType" - ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "DashboardId":{ - "shape":"RestrictiveResourceId", - "location":"uri", - "locationName":"DashboardId" - }, - "IdentityType":{ - "shape":"EmbeddingIdentityType", - "location":"querystring", - "locationName":"creds-type" - }, - "SessionLifetimeInMinutes":{ - "shape":"SessionLifetimeInMinutes", - "location":"querystring", - "locationName":"session-lifetime" - }, - "UndoRedoDisabled":{ - "shape":"Boolean", - "location":"querystring", - "locationName":"undo-redo-disabled" - }, - "ResetDisabled":{ - "shape":"Boolean", - "location":"querystring", - "locationName":"reset-disabled" - }, - "StatePersistenceEnabled":{ - "shape":"Boolean", - "location":"querystring", - "locationName":"state-persistence-enabled" - }, - "UserArn":{ - "shape":"Arn", - "location":"querystring", - "locationName":"user-arn" - }, - "Namespace":{ - "shape":"Namespace", - "location":"querystring", - "locationName":"namespace" - }, - "AdditionalDashboardIds":{ - "shape":"AdditionalDashboardIdList", - "location":"querystring", - "locationName":"additional-dashboard-ids" - } + "Category":{"shape":"DimensionFieldList"}, + "Values":{"shape":"MeasureFieldList"}, + "SmallMultiples":{"shape":"SmallMultiplesDimensionFieldList"} } }, - "GetDashboardEmbedUrlResponse":{ + "PieChartConfiguration":{ "type":"structure", "members":{ - "EmbedUrl":{"shape":"EmbeddingUrl"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - }, - "RequestId":{"shape":"String"} + "FieldWells":{"shape":"PieChartFieldWells"}, + "SortConfiguration":{"shape":"PieChartSortConfiguration"}, + "DonutOptions":{"shape":"DonutOptions"}, + "SmallMultiplesOptions":{"shape":"SmallMultiplesOptions"}, + "CategoryLabelOptions":{"shape":"ChartAxisLabelOptions"}, + "ValueLabelOptions":{"shape":"ChartAxisLabelOptions"}, + "Legend":{"shape":"LegendOptions"}, + "DataLabels":{"shape":"DataLabelOptions"}, + "Tooltip":{"shape":"TooltipOptions"}, + "VisualPalette":{"shape":"VisualPalette"}, + "ContributionAnalysisDefaults":{"shape":"ContributionAnalysisDefaultList"} } }, - "GetSessionEmbedUrlRequest":{ + "PieChartFieldWells":{ "type":"structure", - "required":["AwsAccountId"], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "EntryPoint":{ - "shape":"EntryPoint", - "location":"querystring", - "locationName":"entry-point" - }, - "SessionLifetimeInMinutes":{ - "shape":"SessionLifetimeInMinutes", - "location":"querystring", - "locationName":"session-lifetime" - }, - "UserArn":{ - "shape":"Arn", - "location":"querystring", - "locationName":"user-arn" - } + "PieChartAggregatedFieldWells":{"shape":"PieChartAggregatedFieldWells"} + } + }, + "PieChartSortConfiguration":{ + "type":"structure", + "members":{ + "CategorySort":{"shape":"FieldSortOptionsList"}, + "CategoryItemsLimit":{"shape":"ItemsLimitConfiguration"}, + "SmallMultiplesSort":{"shape":"FieldSortOptionsList"}, + "SmallMultiplesLimitConfiguration":{"shape":"ItemsLimitConfiguration"} } }, - "GetSessionEmbedUrlResponse":{ + "PieChartVisual":{ "type":"structure", + "required":["VisualId"], "members":{ - "EmbedUrl":{"shape":"EmbeddingUrl"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - }, - "RequestId":{"shape":"String"} + "VisualId":{"shape":"ShortRestrictiveResourceId"}, + "Title":{"shape":"VisualTitleLabelOptions"}, + "Subtitle":{"shape":"VisualSubtitleLabelOptions"}, + "ChartConfiguration":{"shape":"PieChartConfiguration"}, + "Actions":{"shape":"VisualCustomActionList"}, + "ColumnHierarchies":{"shape":"ColumnHierarchyList"} } }, - "Group":{ + "PivotFieldSortOptions":{ "type":"structure", + "required":[ + "FieldId", + "SortBy" + ], "members":{ - "Arn":{"shape":"Arn"}, - "GroupName":{"shape":"GroupName"}, - "Description":{"shape":"GroupDescription"}, - "PrincipalId":{"shape":"String"} + "FieldId":{"shape":"FieldId"}, + "SortBy":{"shape":"PivotTableSortBy"} } }, - "GroupDescription":{ - "type":"string", - "max":512, - "min":1 + "PivotFieldSortOptionsList":{ + "type":"list", + "member":{"shape":"PivotFieldSortOptions"}, + "max":200 }, - "GroupFilterAttribute":{ - "type":"string", - "enum":["GROUP_NAME"] + "PivotMeasureFieldList":{ + "type":"list", + "member":{"shape":"MeasureField"}, + "max":20 }, - "GroupFilterOperator":{ - "type":"string", - "enum":["StartsWith"] + "PivotTableAggregatedFieldWells":{ + "type":"structure", + "members":{ + "Rows":{"shape":"PivotTableDimensionList"}, + "Columns":{"shape":"PivotTableDimensionList"}, + "Values":{"shape":"PivotMeasureFieldList"} + } }, - "GroupList":{ - "type":"list", - "member":{"shape":"Group"} + "PivotTableCellConditionalFormatting":{ + "type":"structure", + "required":["FieldId"], + "members":{ + "FieldId":{"shape":"FieldId"}, + "TextFormat":{"shape":"TextConditionalFormat"}, + "Scope":{"shape":"PivotTableConditionalFormattingScope"} + } }, - "GroupMember":{ + "PivotTableConditionalFormatting":{ "type":"structure", "members":{ - "Arn":{"shape":"Arn"}, - "MemberName":{"shape":"GroupMemberName"} + "ConditionalFormattingOptions":{"shape":"PivotTableConditionalFormattingOptionList"} } }, - "GroupMemberList":{ + "PivotTableConditionalFormattingOption":{ + "type":"structure", + "members":{ + "Cell":{"shape":"PivotTableCellConditionalFormatting"} + } + }, + "PivotTableConditionalFormattingOptionList":{ "type":"list", - "member":{"shape":"GroupMember"} + "member":{"shape":"PivotTableConditionalFormattingOption"}, + "max":100 }, - "GroupMemberName":{ - "type":"string", - "max":256, - "min":1, - "pattern":"[\\u0020-\\u00FF]+" + "PivotTableConditionalFormattingScope":{ + "type":"structure", + "members":{ + "Role":{"shape":"PivotTableConditionalFormattingScopeRole"} + } }, - "GroupName":{ + "PivotTableConditionalFormattingScopeRole":{ "type":"string", - "min":1, - "pattern":"[\\u0020-\\u00FF]+" + "enum":[ + "FIELD", + "FIELD_TOTAL", + "GRAND_TOTAL" + ] }, - "GroupSearchFilter":{ + "PivotTableConfiguration":{ "type":"structure", - "required":[ - "Operator", - "Name", - "Value" - ], "members":{ - "Operator":{"shape":"GroupFilterOperator"}, - "Name":{"shape":"GroupFilterAttribute"}, - "Value":{"shape":"String"} + "FieldWells":{"shape":"PivotTableFieldWells"}, + "SortConfiguration":{"shape":"PivotTableSortConfiguration"}, + "TableOptions":{"shape":"PivotTableOptions"}, + "TotalOptions":{"shape":"PivotTableTotalOptions"}, + "FieldOptions":{"shape":"PivotTableFieldOptions"}, + "PaginatedReportOptions":{"shape":"PivotTablePaginatedReportOptions"} } }, - "GroupSearchFilterList":{ + "PivotTableDataPathOption":{ + "type":"structure", + "required":["DataPathList"], + "members":{ + "DataPathList":{"shape":"DataPathValueList"}, + "Width":{"shape":"PixelLength"} + } + }, + "PivotTableDataPathOptionList":{ "type":"list", - "member":{"shape":"GroupSearchFilter"}, - "max":1, - "min":1 + "member":{"shape":"PivotTableDataPathOption"}, + "max":100 }, - "GroupsList":{ + "PivotTableDimensionList":{ "type":"list", - "member":{"shape":"String"} + "member":{"shape":"DimensionField"}, + "max":20 }, - "GutterStyle":{ + "PivotTableFieldOption":{ "type":"structure", + "required":["FieldId"], "members":{ - "Show":{ - "shape":"boolean", - "box":true - } + "FieldId":{"shape":"FieldId"}, + "CustomLabel":{"shape":"CustomLabel"}, + "Visibility":{"shape":"Visibility"} } }, - "HexColor":{ - "type":"string", - "pattern":"^#[A-F0-9]{6}$" - }, - "Host":{ - "type":"string", - "max":256, - "min":1 + "PivotTableFieldOptionList":{ + "type":"list", + "member":{"shape":"PivotTableFieldOption"}, + "max":100 }, - "IAMPolicyAssignment":{ + "PivotTableFieldOptions":{ "type":"structure", "members":{ - "AwsAccountId":{"shape":"AwsAccountId"}, - "AssignmentId":{"shape":"String"}, - "AssignmentName":{"shape":"IAMPolicyAssignmentName"}, - "PolicyArn":{"shape":"Arn"}, - "Identities":{"shape":"IdentityMap"}, - "AssignmentStatus":{"shape":"AssignmentStatus"} + "SelectedFieldOptions":{"shape":"PivotTableFieldOptionList"}, + "DataPathOptions":{"shape":"PivotTableDataPathOptionList"} } }, - "IAMPolicyAssignmentName":{ - "type":"string", - "min":1, - "pattern":"(?=^.{2,256}$)(?!.*\\s)[0-9a-zA-Z-_.:=+@]*$" - }, - "IAMPolicyAssignmentSummary":{ + "PivotTableFieldSubtotalOptions":{ "type":"structure", "members":{ - "AssignmentName":{"shape":"IAMPolicyAssignmentName"}, - "AssignmentStatus":{"shape":"AssignmentStatus"} + "FieldId":{"shape":"FieldId"} } }, - "IAMPolicyAssignmentSummaryList":{ + "PivotTableFieldSubtotalOptionsList":{ "type":"list", - "member":{"shape":"IAMPolicyAssignmentSummary"} + "member":{"shape":"PivotTableFieldSubtotalOptions"}, + "max":100 }, - "IdentityMap":{ - "type":"map", - "key":{"shape":"String"}, - "value":{"shape":"IdentityNameList"} + "PivotTableFieldWells":{ + "type":"structure", + "members":{ + "PivotTableAggregatedFieldWells":{"shape":"PivotTableAggregatedFieldWells"} + } }, - "IdentityName":{ + "PivotTableMetricPlacement":{ "type":"string", - "min":1, - "pattern":"[\\u0020-\\u00FF]+" + "enum":[ + "ROW", + "COLUMN" + ] }, - "IdentityNameList":{ - "type":"list", - "member":{"shape":"IdentityName"} + "PivotTableOptions":{ + "type":"structure", + "members":{ + "MetricPlacement":{"shape":"PivotTableMetricPlacement"}, + "SingleMetricVisibility":{"shape":"Visibility"}, + "ColumnNamesVisibility":{"shape":"Visibility"}, + "ToggleButtonsVisibility":{"shape":"Visibility"}, + "ColumnHeaderStyle":{"shape":"TableCellStyle"}, + "RowHeaderStyle":{"shape":"TableCellStyle"}, + "CellStyle":{"shape":"TableCellStyle"}, + "RowFieldNamesStyle":{"shape":"TableCellStyle"}, + "RowAlternateColorOptions":{"shape":"RowAlternateColorOptions"} + } }, - "IdentityStore":{ - "type":"string", - "enum":["QUICKSIGHT"] + "PivotTablePaginatedReportOptions":{ + "type":"structure", + "members":{ + "VerticalOverflowVisibility":{"shape":"Visibility"}, + "OverflowColumnHeaderVisibility":{"shape":"Visibility"} + } }, - "IdentityType":{ + "PivotTableSortBy":{ + "type":"structure", + "members":{ + "Field":{"shape":"FieldSort"}, + "Column":{"shape":"ColumnSort"}, + "DataPath":{"shape":"DataPathSort"} + } + }, + "PivotTableSortConfiguration":{ + "type":"structure", + "members":{ + "FieldSortOptions":{"shape":"PivotFieldSortOptionsList"} + } + }, + "PivotTableSubtotalLevel":{ "type":"string", "enum":[ - "IAM", - "QUICKSIGHT" + "ALL", + "CUSTOM", + "LAST" ] }, - "IdentityTypeNotSupportedException":{ + "PivotTableTotalOptions":{ "type":"structure", "members":{ - "Message":{"shape":"String"}, - "RequestId":{"shape":"String"} - }, - "error":{"httpStatusCode":403}, - "exception":true + "RowSubtotalOptions":{"shape":"SubtotalOptions"}, + "ColumnSubtotalOptions":{"shape":"SubtotalOptions"}, + "RowTotalOptions":{"shape":"PivotTotalOptions"}, + "ColumnTotalOptions":{"shape":"PivotTotalOptions"} + } }, - "Ingestion":{ + "PivotTableVisual":{ + "type":"structure", + "required":["VisualId"], + "members":{ + "VisualId":{"shape":"ShortRestrictiveResourceId"}, + "Title":{"shape":"VisualTitleLabelOptions"}, + "Subtitle":{"shape":"VisualSubtitleLabelOptions"}, + "ChartConfiguration":{"shape":"PivotTableConfiguration"}, + "ConditionalFormatting":{"shape":"PivotTableConditionalFormatting"}, + "Actions":{"shape":"VisualCustomActionList"} + } + }, + "PivotTotalOptions":{ + "type":"structure", + "members":{ + "TotalsVisibility":{"shape":"Visibility"}, + "Placement":{"shape":"TableTotalsPlacement"}, + "ScrollStatus":{"shape":"TableTotalsScrollStatus"}, + "CustomLabel":{"shape":"String"}, + "TotalCellStyle":{"shape":"TableCellStyle"}, + "ValueCellStyle":{"shape":"TableCellStyle"}, + "MetricHeaderCellStyle":{"shape":"TableCellStyle"} + } + }, + "PixelLength":{"type":"string"}, + "Port":{ + "type":"integer", + "max":65535, + "min":1 + }, + "PositiveInteger":{ + "type":"integer", + "min":1 + }, + "PostgreSqlParameters":{ "type":"structure", "required":[ - "Arn", - "IngestionStatus", - "CreatedTime" + "Host", + "Port", + "Database" ], "members":{ - "Arn":{"shape":"Arn"}, - "IngestionId":{"shape":"IngestionId"}, - "IngestionStatus":{"shape":"IngestionStatus"}, - "ErrorInfo":{"shape":"ErrorInfo"}, - "RowInfo":{"shape":"RowInfo"}, - "QueueInfo":{"shape":"QueueInfo"}, - "CreatedTime":{"shape":"Timestamp"}, - "IngestionTimeInSeconds":{ - "shape":"Long", - "box":true - }, - "IngestionSizeInBytes":{ - "shape":"Long", - "box":true - }, - "RequestSource":{"shape":"IngestionRequestSource"}, - "RequestType":{"shape":"IngestionRequestType"} + "Host":{"shape":"Host"}, + "Port":{"shape":"Port"}, + "Database":{"shape":"Database"} } }, - "IngestionErrorType":{ - "type":"string", - "enum":[ - "FAILURE_TO_ASSUME_ROLE", - "INGESTION_SUPERSEDED", - "INGESTION_CANCELED", - "DATA_SET_DELETED", - "DATA_SET_NOT_SPICE", - "S3_UPLOADED_FILE_DELETED", - "S3_MANIFEST_ERROR", - "DATA_TOLERANCE_EXCEPTION", - "SPICE_TABLE_NOT_FOUND", - "DATA_SET_SIZE_LIMIT_EXCEEDED", - "ROW_SIZE_LIMIT_EXCEEDED", - "ACCOUNT_CAPACITY_LIMIT_EXCEEDED", - "CUSTOMER_ERROR", - "DATA_SOURCE_NOT_FOUND", - "IAM_ROLE_NOT_AVAILABLE", - "CONNECTION_FAILURE", - "SQL_TABLE_NOT_FOUND", - "PERMISSION_DENIED", - "SSL_CERTIFICATE_VALIDATION_FAILURE", - "OAUTH_TOKEN_FAILURE", - "SOURCE_API_LIMIT_EXCEEDED_FAILURE", - "PASSWORD_AUTHENTICATION_FAILURE", - "SQL_SCHEMA_MISMATCH_ERROR", - "INVALID_DATE_FORMAT", - "INVALID_DATAPREP_SYNTAX", - "SOURCE_RESOURCE_LIMIT_EXCEEDED", - "SQL_INVALID_PARAMETER_VALUE", - "QUERY_TIMEOUT", - "SQL_NUMERIC_OVERFLOW", - "UNRESOLVABLE_HOST", - "UNROUTABLE_HOST", - "SQL_EXCEPTION", - "S3_FILE_INACCESSIBLE", - "IOT_FILE_NOT_FOUND", - "IOT_DATA_SET_FILE_EMPTY", - "INVALID_DATA_SOURCE_CONFIG", - "DATA_SOURCE_AUTH_FAILED", - "DATA_SOURCE_CONNECTION_FAILED", - "FAILURE_TO_PROCESS_JSON_FILE", - "INTERNAL_SERVICE_ERROR", - "REFRESH_SUPPRESSED_BY_EDIT", - "PERMISSION_NOT_FOUND", - "ELASTICSEARCH_CURSOR_NOT_ENABLED", - "CURSOR_NOT_ENABLED" - ] + "PreconditionNotMetException":{ + "type":"structure", + "members":{ + "Message":{"shape":"String"}, + "RequestId":{"shape":"String"} + }, + "error":{"httpStatusCode":400}, + "exception":true }, - "IngestionId":{ - "type":"string", - "max":128, - "min":1, - "pattern":"^[a-zA-Z0-9-_]+$" + "PredefinedHierarchy":{ + "type":"structure", + "required":[ + "HierarchyId", + "Columns" + ], + "members":{ + "HierarchyId":{"shape":"HierarchyId"}, + "Columns":{"shape":"PredefinedHierarchyColumnList"}, + "DrillDownFilters":{"shape":"DrillDownFilterList"} + } }, - "IngestionMaxResults":{ - "type":"integer", - "max":100, + "PredefinedHierarchyColumnList":{ + "type":"list", + "member":{"shape":"ColumnIdentifier"}, + "max":10, "min":1 }, - "IngestionRequestSource":{ - "type":"string", - "enum":[ - "MANUAL", - "SCHEDULED" - ] + "PredictionInterval":{ + "type":"integer", + "max":95, + "min":50 }, - "IngestionRequestType":{ + "Prefix":{ "type":"string", - "enum":[ - "INITIAL_INGESTION", - "EDIT", - "INCREMENTAL_REFRESH", - "FULL_REFRESH" - ] + "max":128, + "min":1, + "sensitive":true }, - "IngestionStatus":{ + "PrestoParameters":{ + "type":"structure", + "required":[ + "Host", + "Port", + "Catalog" + ], + "members":{ + "Host":{"shape":"Host"}, + "Port":{"shape":"Port"}, + "Catalog":{"shape":"Catalog"} + } + }, + "PrimaryValueDisplayType":{ "type":"string", "enum":[ - "INITIALIZED", - "QUEUED", - "RUNNING", - "FAILED", - "COMPLETED", - "CANCELLED" + "HIDDEN", + "COMPARISON", + "ACTUAL" ] }, - "IngestionType":{ + "Principal":{ "type":"string", - "enum":[ - "INCREMENTAL_REFRESH", - "FULL_REFRESH" - ] + "max":256, + "min":1 }, - "Ingestions":{ + "PrincipalList":{ "type":"list", - "member":{"shape":"Ingestion"} + "member":{"shape":"String"}, + "max":100, + "min":1 }, - "InputColumn":{ + "ProgressBarOptions":{ "type":"structure", - "required":[ - "Name", - "Type" - ], "members":{ - "Name":{"shape":"ColumnName"}, - "Type":{"shape":"InputColumnDataType"} + "Visibility":{"shape":"Visibility"} } }, - "InputColumnDataType":{ - "type":"string", - "enum":[ - "STRING", - "INTEGER", - "DECIMAL", - "DATETIME", - "BIT", - "BOOLEAN", - "JSON" - ] + "ProjectOperation":{ + "type":"structure", + "required":["ProjectedColumns"], + "members":{ + "ProjectedColumns":{"shape":"ProjectedColumnList"} + } }, - "InputColumnList":{ + "ProjectedColumnList":{ "type":"list", - "member":{"shape":"InputColumn"}, - "max":2048, + "member":{"shape":"String"}, + "max":2000, "min":1 }, - "InstanceId":{ + "Query":{ "type":"string", - "max":64, + "max":256, "min":1 }, - "IntegerParameter":{ + "QueueInfo":{ "type":"structure", "required":[ - "Name", - "Values" + "WaitingOnIngestion", + "QueuedIngestion" ], "members":{ - "Name":{"shape":"NonEmptyString"}, - "Values":{"shape":"LongList"} + "WaitingOnIngestion":{"shape":"String"}, + "QueuedIngestion":{"shape":"String"} } }, - "IntegerParameterList":{ - "type":"list", - "member":{"shape":"IntegerParameter"}, - "max":100 - }, - "InternalFailureException":{ + "QuickSightUserNotFoundException":{ "type":"structure", "members":{ "Message":{"shape":"String"}, "RequestId":{"shape":"String"} }, - "error":{"httpStatusCode":500}, - "exception":true, - "fault":true + "error":{"httpStatusCode":404}, + "exception":true }, - "InvalidNextTokenException":{ + "RangeEndsLabelType":{ "type":"structure", "members":{ - "Message":{"shape":"String"}, - "RequestId":{"shape":"String"} - }, - "error":{"httpStatusCode":400}, - "exception":true + "Visibility":{"shape":"Visibility"} + } }, - "InvalidParameterValueException":{ + "RdsParameters":{ "type":"structure", + "required":[ + "InstanceId", + "Database" + ], "members":{ - "Message":{"shape":"String"}, - "RequestId":{"shape":"String"} - }, - "error":{"httpStatusCode":400}, - "exception":true + "InstanceId":{"shape":"InstanceId"}, + "Database":{"shape":"Database"} + } }, - "InvalidRequestException":{ + "RecoveryWindowInDays":{ + "type":"long", + "max":30, + "min":7 + }, + "RedshiftParameters":{ "type":"structure", + "required":["Database"], "members":{ - "Message":{"shape":"String"}, - "RequestId":{"shape":"String"} - }, - "error":{"httpStatusCode":400}, - "exception":true + "Host":{"shape":"Host"}, + "Port":{"shape":"OptionalPort"}, + "Database":{"shape":"Database"}, + "ClusterId":{"shape":"ClusterId"} + } }, - "IpRestrictionRuleDescription":{ + "ReferenceLine":{ + "type":"structure", + "required":["DataConfiguration"], + "members":{ + "Status":{"shape":"WidgetStatus"}, + "DataConfiguration":{"shape":"ReferenceLineDataConfiguration"}, + "StyleConfiguration":{"shape":"ReferenceLineStyleConfiguration"}, + "LabelConfiguration":{"shape":"ReferenceLineLabelConfiguration"} + } + }, + "ReferenceLineCustomLabelConfiguration":{ + "type":"structure", + "required":["CustomLabel"], + "members":{ + "CustomLabel":{"shape":"NonEmptyString"} + } + }, + "ReferenceLineDataConfiguration":{ + "type":"structure", + "members":{ + "StaticConfiguration":{"shape":"ReferenceLineStaticDataConfiguration"}, + "DynamicConfiguration":{"shape":"ReferenceLineDynamicDataConfiguration"}, + "AxisBinding":{"shape":"AxisBinding"} + } + }, + "ReferenceLineDynamicDataConfiguration":{ + "type":"structure", + "required":[ + "Column", + "MeasureAggregationFunction", + "Calculation" + ], + "members":{ + "Column":{"shape":"ColumnIdentifier"}, + "MeasureAggregationFunction":{"shape":"AggregationFunction"}, + "Calculation":{"shape":"NumericalAggregationFunction"} + } + }, + "ReferenceLineLabelConfiguration":{ + "type":"structure", + "members":{ + "ValueLabelConfiguration":{"shape":"ReferenceLineValueLabelConfiguration"}, + "CustomLabelConfiguration":{"shape":"ReferenceLineCustomLabelConfiguration"}, + "FontConfiguration":{"shape":"FontConfiguration"}, + "FontColor":{"shape":"HexColor"}, + "HorizontalPosition":{"shape":"ReferenceLineLabelHorizontalPosition"}, + "VerticalPosition":{"shape":"ReferenceLineLabelVerticalPosition"} + } + }, + "ReferenceLineLabelHorizontalPosition":{ "type":"string", - "max":150, - "min":0 + "enum":[ + "LEFT", + "CENTER", + "RIGHT" + ] }, - "IpRestrictionRuleMap":{ - "type":"map", - "key":{"shape":"CIDR"}, - "value":{"shape":"IpRestrictionRuleDescription"} + "ReferenceLineLabelVerticalPosition":{ + "type":"string", + "enum":[ + "ABOVE", + "BELOW" + ] }, - "JiraParameters":{ + "ReferenceLineList":{ + "type":"list", + "member":{"shape":"ReferenceLine"}, + "max":20 + }, + "ReferenceLinePatternType":{ + "type":"string", + "enum":[ + "SOLID", + "DASHED", + "DOTTED" + ] + }, + "ReferenceLineStaticDataConfiguration":{ "type":"structure", - "required":["SiteBaseUrl"], + "required":["Value"], "members":{ - "SiteBaseUrl":{"shape":"SiteBaseUrl"} + "Value":{"shape":"SensitiveDouble"} } }, - "JoinInstruction":{ + "ReferenceLineStyleConfiguration":{ + "type":"structure", + "members":{ + "Pattern":{"shape":"ReferenceLinePatternType"}, + "Color":{"shape":"HexColor"} + } + }, + "ReferenceLineValueLabelConfiguration":{ + "type":"structure", + "members":{ + "RelativePosition":{"shape":"ReferenceLineValueLabelRelativePosition"}, + "FormatConfiguration":{"shape":"NumericFormatConfiguration"} + } + }, + "ReferenceLineValueLabelRelativePosition":{ + "type":"string", + "enum":[ + "BEFORE_CUSTOM_LABEL", + "AFTER_CUSTOM_LABEL" + ] + }, + "RegisterUserRequest":{ "type":"structure", "required":[ - "LeftOperand", - "RightOperand", - "Type", - "OnClause" + "IdentityType", + "Email", + "UserRole", + "AwsAccountId", + "Namespace" ], "members":{ - "LeftOperand":{"shape":"LogicalTableId"}, - "RightOperand":{"shape":"LogicalTableId"}, - "LeftJoinKeyProperties":{"shape":"JoinKeyProperties"}, - "RightJoinKeyProperties":{"shape":"JoinKeyProperties"}, - "Type":{"shape":"JoinType"}, - "OnClause":{"shape":"OnClause"} + "IdentityType":{"shape":"IdentityType"}, + "Email":{"shape":"String"}, + "UserRole":{"shape":"UserRole"}, + "IamArn":{"shape":"String"}, + "SessionName":{"shape":"RoleSessionName"}, + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "Namespace":{ + "shape":"Namespace", + "location":"uri", + "locationName":"Namespace" + }, + "UserName":{"shape":"UserName"}, + "CustomPermissionsName":{"shape":"RoleName"}, + "ExternalLoginFederationProviderType":{"shape":"String"}, + "CustomFederationProviderUrl":{"shape":"String"}, + "ExternalLoginId":{"shape":"String"} } }, - "JoinKeyProperties":{ + "RegisterUserResponse":{ "type":"structure", "members":{ - "UniqueKey":{ - "shape":"Boolean", - "box":true + "User":{"shape":"User"}, + "UserInvitationUrl":{"shape":"String"}, + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" } } }, - "JoinType":{ - "type":"string", - "enum":[ - "INNER", - "OUTER", - "LEFT", - "RIGHT" - ] + "RegisteredUserDashboardEmbeddingConfiguration":{ + "type":"structure", + "required":["InitialDashboardId"], + "members":{ + "InitialDashboardId":{"shape":"ShortRestrictiveResourceId"} + } }, - "LimitExceededException":{ + "RegisteredUserDashboardVisualEmbeddingConfiguration":{ "type":"structure", + "required":["InitialDashboardVisualId"], "members":{ - "Message":{"shape":"String"}, - "ResourceType":{"shape":"ExceptionResourceType"}, - "RequestId":{"shape":"String"} - }, - "error":{"httpStatusCode":409}, - "exception":true + "InitialDashboardVisualId":{"shape":"DashboardVisualId"} + } }, - "LinkSharingConfiguration":{ + "RegisteredUserEmbeddingExperienceConfiguration":{ "type":"structure", "members":{ - "Permissions":{"shape":"ResourcePermissionList"} + "Dashboard":{"shape":"RegisteredUserDashboardEmbeddingConfiguration"}, + "QuickSightConsole":{"shape":"RegisteredUserQuickSightConsoleEmbeddingConfiguration"}, + "QSearchBar":{"shape":"RegisteredUserQSearchBarEmbeddingConfiguration"}, + "DashboardVisual":{"shape":"RegisteredUserDashboardVisualEmbeddingConfiguration"} } }, - "ListAnalysesRequest":{ + "RegisteredUserQSearchBarEmbeddingConfiguration":{ "type":"structure", - "required":["AwsAccountId"], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "NextToken":{ - "shape":"String", - "location":"querystring", - "locationName":"next-token" - }, - "MaxResults":{ - "shape":"MaxResults", - "box":true, - "location":"querystring", - "locationName":"max-results" - } + "InitialTopicId":{"shape":"RestrictiveResourceId"} } }, - "ListAnalysesResponse":{ + "RegisteredUserQuickSightConsoleEmbeddingConfiguration":{ "type":"structure", "members":{ - "AnalysisSummaryList":{"shape":"AnalysisSummaryList"}, - "NextToken":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - }, - "RequestId":{"shape":"String"} + "InitialPath":{"shape":"EntryPath"} } }, - "ListDashboardVersionsRequest":{ + "RelationalTable":{ "type":"structure", "required":[ - "AwsAccountId", - "DashboardId" + "DataSourceArn", + "Name", + "InputColumns" ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "DashboardId":{ - "shape":"RestrictiveResourceId", - "location":"uri", - "locationName":"DashboardId" - }, - "NextToken":{ - "shape":"String", - "location":"querystring", - "locationName":"next-token" - }, - "MaxResults":{ - "shape":"MaxResults", - "box":true, - "location":"querystring", - "locationName":"max-results" - } + "DataSourceArn":{"shape":"Arn"}, + "Catalog":{"shape":"RelationalTableCatalog"}, + "Schema":{"shape":"RelationalTableSchema"}, + "Name":{"shape":"RelationalTableName"}, + "InputColumns":{"shape":"InputColumnList"} } }, - "ListDashboardVersionsResponse":{ + "RelationalTableCatalog":{ + "type":"string", + "max":256 + }, + "RelationalTableName":{ + "type":"string", + "max":64, + "min":1 + }, + "RelationalTableSchema":{ + "type":"string", + "max":64 + }, + "RelativeDateTimeControlDisplayOptions":{ "type":"structure", "members":{ - "DashboardVersionSummaryList":{"shape":"DashboardVersionSummaryList"}, - "NextToken":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - }, - "RequestId":{"shape":"String"} + "TitleOptions":{"shape":"LabelOptions"}, + "DateTimeFormat":{"shape":"DateTimeFormat"} } }, - "ListDashboardsRequest":{ + "RelativeDateType":{ + "type":"string", + "enum":[ + "PREVIOUS", + "THIS", + "LAST", + "NOW", + "NEXT" + ] + }, + "RelativeDatesFilter":{ "type":"structure", - "required":["AwsAccountId"], + "required":[ + "FilterId", + "Column", + "AnchorDateConfiguration", + "TimeGranularity", + "RelativeDateType", + "NullOption" + ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "NextToken":{ - "shape":"String", - "location":"querystring", - "locationName":"next-token" + "FilterId":{"shape":"ShortRestrictiveResourceId"}, + "Column":{"shape":"ColumnIdentifier"}, + "AnchorDateConfiguration":{"shape":"AnchorDateConfiguration"}, + "MinimumGranularity":{"shape":"TimeGranularity"}, + "TimeGranularity":{"shape":"TimeGranularity"}, + "RelativeDateType":{"shape":"RelativeDateType"}, + "RelativeDateValue":{ + "shape":"Integer", + "box":true }, - "MaxResults":{ - "shape":"MaxResults", - "box":true, - "location":"querystring", - "locationName":"max-results" - } + "ParameterName":{"shape":"ParameterName"}, + "NullOption":{"shape":"FilterNullOption"}, + "ExcludePeriodConfiguration":{"shape":"ExcludePeriodConfiguration"} } }, - "ListDashboardsResponse":{ + "RelativeFontSize":{ + "type":"string", + "enum":[ + "EXTRA_SMALL", + "SMALL", + "MEDIUM", + "LARGE", + "EXTRA_LARGE" + ] + }, + "RenameColumnOperation":{ "type":"structure", + "required":[ + "ColumnName", + "NewColumnName" + ], "members":{ - "DashboardSummaryList":{"shape":"DashboardSummaryList"}, - "NextToken":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - }, - "RequestId":{"shape":"String"} + "ColumnName":{"shape":"ColumnName"}, + "NewColumnName":{"shape":"ColumnName"} } }, - "ListDataSetsRequest":{ + "ResizeOption":{ + "type":"string", + "enum":[ + "FIXED", + "RESPONSIVE" + ] + }, + "ResourceExistsException":{ "type":"structure", - "required":["AwsAccountId"], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "NextToken":{ - "shape":"String", - "location":"querystring", - "locationName":"next-token" - }, - "MaxResults":{ - "shape":"MaxResults", - "box":true, - "location":"querystring", - "locationName":"max-results" - } - } + "Message":{"shape":"String"}, + "ResourceType":{"shape":"ExceptionResourceType"}, + "RequestId":{"shape":"String"} + }, + "error":{"httpStatusCode":409}, + "exception":true }, - "ListDataSetsResponse":{ + "ResourceId":{"type":"string"}, + "ResourceName":{ + "type":"string", + "max":128, + "min":1 + }, + "ResourceNotFoundException":{ "type":"structure", "members":{ - "DataSetSummaries":{"shape":"DataSetSummaryList"}, - "NextToken":{"shape":"String"}, - "RequestId":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - } - } + "Message":{"shape":"String"}, + "ResourceType":{"shape":"ExceptionResourceType"}, + "RequestId":{"shape":"String"} + }, + "error":{"httpStatusCode":404}, + "exception":true }, - "ListDataSourcesRequest":{ + "ResourcePermission":{ "type":"structure", - "required":["AwsAccountId"], + "required":[ + "Principal", + "Actions" + ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "NextToken":{ - "shape":"String", - "location":"querystring", - "locationName":"next-token" - }, - "MaxResults":{ - "shape":"MaxResults", - "box":true, - "location":"querystring", - "locationName":"max-results" - } + "Principal":{"shape":"Principal"}, + "Actions":{"shape":"ActionList"} } }, - "ListDataSourcesResponse":{ + "ResourcePermissionList":{ + "type":"list", + "member":{"shape":"ResourcePermission"}, + "max":64, + "min":1 + }, + "ResourceStatus":{ + "type":"string", + "enum":[ + "CREATION_IN_PROGRESS", + "CREATION_SUCCESSFUL", + "CREATION_FAILED", + "UPDATE_IN_PROGRESS", + "UPDATE_SUCCESSFUL", + "UPDATE_FAILED", + "DELETED" + ] + }, + "ResourceUnavailableException":{ "type":"structure", "members":{ - "DataSources":{"shape":"DataSourceList"}, - "NextToken":{"shape":"String"}, - "RequestId":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - } - } + "Message":{"shape":"String"}, + "ResourceType":{"shape":"ExceptionResourceType"}, + "RequestId":{"shape":"String"} + }, + "error":{"httpStatusCode":503}, + "exception":true }, - "ListFolderMembersRequest":{ + "RestoreAnalysisRequest":{ "type":"structure", "required":[ "AwsAccountId", - "FolderId" + "AnalysisId" ], "members":{ "AwsAccountId":{ @@ -6501,459 +12027,307 @@ "location":"uri", "locationName":"AwsAccountId" }, - "FolderId":{ - "shape":"RestrictiveResourceId", + "AnalysisId":{ + "shape":"ShortRestrictiveResourceId", "location":"uri", - "locationName":"FolderId" - }, - "NextToken":{ - "shape":"String", - "location":"querystring", - "locationName":"next-token" - }, - "MaxResults":{ - "shape":"MaxResults", - "box":true, - "location":"querystring", - "locationName":"max-results" + "locationName":"AnalysisId" } } }, - "ListFolderMembersResponse":{ + "RestoreAnalysisResponse":{ "type":"structure", "members":{ "Status":{ "shape":"StatusCode", "location":"statusCode" }, - "FolderMemberList":{"shape":"FolderMemberList"}, - "NextToken":{"shape":"String"}, + "Arn":{"shape":"Arn"}, + "AnalysisId":{"shape":"ShortRestrictiveResourceId"}, "RequestId":{"shape":"String"} } }, - "ListFoldersRequest":{ + "RestrictiveResourceId":{ + "type":"string", + "max":2048, + "min":1, + "pattern":"[\\w\\-]+" + }, + "RoleArn":{ + "type":"string", + "max":2048, + "min":20 + }, + "RoleName":{ + "type":"string", + "max":64, + "min":1, + "pattern":"^[a-zA-Z0-9+=,.@_-]+$" + }, + "RoleSessionName":{ + "type":"string", + "max":64, + "min":2, + "pattern":"[\\w+=.@-]*" + }, + "RollingDateConfiguration":{ "type":"structure", - "required":["AwsAccountId"], + "required":["Expression"], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "NextToken":{ - "shape":"String", - "location":"querystring", - "locationName":"next-token" - }, - "MaxResults":{ - "shape":"MaxResults", - "box":true, - "location":"querystring", - "locationName":"max-results" - } + "DataSetIdentifier":{"shape":"DataSetIdentifier"}, + "Expression":{"shape":"Expression"} } }, - "ListFoldersResponse":{ + "RowAlternateColorList":{ + "type":"list", + "member":{"shape":"HexColor"}, + "max":1 + }, + "RowAlternateColorOptions":{ "type":"structure", "members":{ - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - }, - "FolderSummaryList":{"shape":"FolderSummaryList"}, - "NextToken":{"shape":"String"}, - "RequestId":{"shape":"String"} + "Status":{"shape":"WidgetStatus"}, + "RowAlternateColors":{"shape":"RowAlternateColorList"} } }, - "ListGroupMembershipsRequest":{ + "RowInfo":{ "type":"structure", - "required":[ - "GroupName", - "AwsAccountId", - "Namespace" - ], "members":{ - "GroupName":{ - "shape":"GroupName", - "location":"uri", - "locationName":"GroupName" - }, - "NextToken":{ - "shape":"String", - "location":"querystring", - "locationName":"next-token" - }, - "MaxResults":{ - "shape":"MaxResults", - "box":true, - "location":"querystring", - "locationName":"max-results" + "RowsIngested":{ + "shape":"Long", + "box":true }, - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" + "RowsDropped":{ + "shape":"Long", + "box":true }, - "Namespace":{ - "shape":"Namespace", - "location":"uri", - "locationName":"Namespace" - } - } - }, - "ListGroupMembershipsResponse":{ - "type":"structure", - "members":{ - "GroupMemberList":{"shape":"GroupMemberList"}, - "NextToken":{"shape":"String"}, - "RequestId":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" + "TotalRowsInDataset":{ + "shape":"Long", + "box":true } } }, - "ListGroupsRequest":{ + "RowLevelPermissionDataSet":{ "type":"structure", "required":[ - "AwsAccountId", - "Namespace" + "Arn", + "PermissionPolicy" ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "NextToken":{ - "shape":"String", - "location":"querystring", - "locationName":"next-token" - }, - "MaxResults":{ - "shape":"MaxResults", - "box":true, - "location":"querystring", - "locationName":"max-results" - }, - "Namespace":{ - "shape":"Namespace", - "location":"uri", - "locationName":"Namespace" - } + "Namespace":{"shape":"Namespace"}, + "Arn":{"shape":"Arn"}, + "PermissionPolicy":{"shape":"RowLevelPermissionPolicy"}, + "FormatVersion":{"shape":"RowLevelPermissionFormatVersion"}, + "Status":{"shape":"Status"} } }, - "ListGroupsResponse":{ + "RowLevelPermissionFormatVersion":{ + "type":"string", + "enum":[ + "VERSION_1", + "VERSION_2" + ] + }, + "RowLevelPermissionPolicy":{ + "type":"string", + "enum":[ + "GRANT_ACCESS", + "DENY_ACCESS" + ] + }, + "RowLevelPermissionTagConfiguration":{ "type":"structure", + "required":["TagRules"], "members":{ - "GroupList":{"shape":"GroupList"}, - "NextToken":{"shape":"String"}, - "RequestId":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - } + "Status":{"shape":"Status"}, + "TagRules":{"shape":"RowLevelPermissionTagRuleList"} } }, - "ListIAMPolicyAssignmentsForUserRequest":{ + "RowLevelPermissionTagDelimiter":{ + "type":"string", + "max":10 + }, + "RowLevelPermissionTagRule":{ "type":"structure", "required":[ - "AwsAccountId", - "UserName", - "Namespace" + "TagKey", + "ColumnName" ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "UserName":{ - "shape":"UserName", - "location":"uri", - "locationName":"UserName" - }, - "NextToken":{ - "shape":"String", - "location":"querystring", - "locationName":"next-token" - }, - "MaxResults":{ - "shape":"MaxResults", - "box":true, - "location":"querystring", - "locationName":"max-results" - }, - "Namespace":{ - "shape":"Namespace", - "location":"uri", - "locationName":"Namespace" - } + "TagKey":{"shape":"SessionTagKey"}, + "ColumnName":{"shape":"String"}, + "TagMultiValueDelimiter":{"shape":"RowLevelPermissionTagDelimiter"}, + "MatchAllValue":{"shape":"SessionTagValue"} } }, - "ListIAMPolicyAssignmentsForUserResponse":{ + "RowLevelPermissionTagRuleList":{ + "type":"list", + "member":{"shape":"RowLevelPermissionTagRule"}, + "max":50, + "min":1 + }, + "RowSortList":{ + "type":"list", + "member":{"shape":"FieldSortOptions"}, + "max":100 + }, + "S3Bucket":{ + "type":"string", + "max":1024, + "min":1 + }, + "S3Key":{ + "type":"string", + "max":1024, + "min":1 + }, + "S3Parameters":{ "type":"structure", + "required":["ManifestFileLocation"], "members":{ - "ActiveAssignments":{"shape":"ActiveIAMPolicyAssignmentList"}, - "RequestId":{"shape":"String"}, - "NextToken":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - } + "ManifestFileLocation":{"shape":"ManifestFileLocation"} } }, - "ListIAMPolicyAssignmentsRequest":{ + "S3Source":{ "type":"structure", "required":[ - "AwsAccountId", - "Namespace" + "DataSourceArn", + "InputColumns" ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "AssignmentStatus":{"shape":"AssignmentStatus"}, - "Namespace":{ - "shape":"Namespace", - "location":"uri", - "locationName":"Namespace" - }, - "NextToken":{ - "shape":"String", - "location":"querystring", - "locationName":"next-token" - }, - "MaxResults":{ - "shape":"MaxResults", - "box":true, - "location":"querystring", - "locationName":"max-results" - } + "DataSourceArn":{"shape":"Arn"}, + "UploadSettings":{"shape":"UploadSettings"}, + "InputColumns":{"shape":"InputColumnList"} } }, - "ListIAMPolicyAssignmentsResponse":{ + "SameSheetTargetVisualConfiguration":{ "type":"structure", "members":{ - "IAMPolicyAssignments":{"shape":"IAMPolicyAssignmentSummaryList"}, - "NextToken":{"shape":"String"}, - "RequestId":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - } + "TargetVisuals":{"shape":"TargetVisualList"}, + "TargetVisualOptions":{"shape":"TargetVisualOptions"} } }, - "ListIngestionsRequest":{ + "SankeyDiagramAggregatedFieldWells":{ "type":"structure", - "required":[ - "DataSetId", - "AwsAccountId" - ], "members":{ - "DataSetId":{ - "shape":"String", - "location":"uri", - "locationName":"DataSetId" - }, - "NextToken":{ - "shape":"String", - "location":"querystring", - "locationName":"next-token" - }, - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "MaxResults":{ - "shape":"IngestionMaxResults", - "box":true, - "location":"querystring", - "locationName":"max-results" - } + "Source":{"shape":"DimensionFieldList"}, + "Destination":{"shape":"DimensionFieldList"}, + "Weight":{"shape":"MeasureFieldList"} } }, - "ListIngestionsResponse":{ + "SankeyDiagramChartConfiguration":{ "type":"structure", "members":{ - "Ingestions":{"shape":"Ingestions"}, - "NextToken":{"shape":"String"}, - "RequestId":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - } + "FieldWells":{"shape":"SankeyDiagramFieldWells"}, + "SortConfiguration":{"shape":"SankeyDiagramSortConfiguration"}, + "DataLabels":{"shape":"DataLabelOptions"} } }, - "ListNamespacesRequest":{ + "SankeyDiagramFieldWells":{ "type":"structure", - "required":["AwsAccountId"], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "NextToken":{ - "shape":"String", - "location":"querystring", - "locationName":"next-token" - }, - "MaxResults":{ - "shape":"MaxResults", - "box":true, - "location":"querystring", - "locationName":"max-results" - } + "SankeyDiagramAggregatedFieldWells":{"shape":"SankeyDiagramAggregatedFieldWells"} } }, - "ListNamespacesResponse":{ + "SankeyDiagramSortConfiguration":{ "type":"structure", "members":{ - "Namespaces":{"shape":"Namespaces"}, - "NextToken":{"shape":"String"}, - "RequestId":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - } + "WeightSort":{"shape":"FieldSortOptionsList"}, + "SourceItemsLimit":{"shape":"ItemsLimitConfiguration"}, + "DestinationItemsLimit":{"shape":"ItemsLimitConfiguration"} } }, - "ListTagsForResourceRequest":{ + "SankeyDiagramVisual":{ "type":"structure", - "required":["ResourceArn"], + "required":["VisualId"], "members":{ - "ResourceArn":{ - "shape":"Arn", - "location":"uri", - "locationName":"ResourceArn" - } + "VisualId":{"shape":"ShortRestrictiveResourceId"}, + "Title":{"shape":"VisualTitleLabelOptions"}, + "Subtitle":{"shape":"VisualSubtitleLabelOptions"}, + "ChartConfiguration":{"shape":"SankeyDiagramChartConfiguration"}, + "Actions":{"shape":"VisualCustomActionList"} } }, - "ListTagsForResourceResponse":{ + "ScatterPlotCategoricallyAggregatedFieldWells":{ "type":"structure", "members":{ - "Tags":{"shape":"TagList"}, - "RequestId":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - } + "XAxis":{"shape":"MeasureFieldList"}, + "YAxis":{"shape":"MeasureFieldList"}, + "Category":{"shape":"DimensionFieldList"}, + "Size":{"shape":"MeasureFieldList"} } }, - "ListTemplateAliasesRequest":{ + "ScatterPlotConfiguration":{ "type":"structure", - "required":[ - "AwsAccountId", - "TemplateId" - ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "TemplateId":{ - "shape":"RestrictiveResourceId", - "location":"uri", - "locationName":"TemplateId" - }, - "NextToken":{ - "shape":"String", - "location":"querystring", - "locationName":"next-token" - }, - "MaxResults":{ - "shape":"MaxResults", - "box":true, - "location":"querystring", - "locationName":"max-result" - } + "FieldWells":{"shape":"ScatterPlotFieldWells"}, + "XAxisLabelOptions":{"shape":"ChartAxisLabelOptions"}, + "XAxisDisplayOptions":{"shape":"AxisDisplayOptions"}, + "YAxisLabelOptions":{"shape":"ChartAxisLabelOptions"}, + "YAxisDisplayOptions":{"shape":"AxisDisplayOptions"}, + "Legend":{"shape":"LegendOptions"}, + "DataLabels":{"shape":"DataLabelOptions"}, + "Tooltip":{"shape":"TooltipOptions"}, + "VisualPalette":{"shape":"VisualPalette"} } }, - "ListTemplateAliasesResponse":{ + "ScatterPlotFieldWells":{ "type":"structure", "members":{ - "TemplateAliasList":{"shape":"TemplateAliasList"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - }, - "RequestId":{"shape":"String"}, - "NextToken":{"shape":"String"} + "ScatterPlotCategoricallyAggregatedFieldWells":{"shape":"ScatterPlotCategoricallyAggregatedFieldWells"}, + "ScatterPlotUnaggregatedFieldWells":{"shape":"ScatterPlotUnaggregatedFieldWells"} } }, - "ListTemplateVersionsRequest":{ + "ScatterPlotUnaggregatedFieldWells":{ "type":"structure", - "required":[ - "AwsAccountId", - "TemplateId" - ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "TemplateId":{ - "shape":"RestrictiveResourceId", - "location":"uri", - "locationName":"TemplateId" - }, - "NextToken":{ - "shape":"String", - "location":"querystring", - "locationName":"next-token" - }, - "MaxResults":{ - "shape":"MaxResults", - "box":true, - "location":"querystring", - "locationName":"max-results" - } + "XAxis":{"shape":"DimensionFieldList"}, + "YAxis":{"shape":"DimensionFieldList"}, + "Size":{"shape":"MeasureFieldList"} } }, - "ListTemplateVersionsResponse":{ + "ScatterPlotVisual":{ "type":"structure", + "required":["VisualId"], "members":{ - "TemplateVersionSummaryList":{"shape":"TemplateVersionSummaryList"}, - "NextToken":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - }, - "RequestId":{"shape":"String"} + "VisualId":{"shape":"ShortRestrictiveResourceId"}, + "Title":{"shape":"VisualTitleLabelOptions"}, + "Subtitle":{"shape":"VisualSubtitleLabelOptions"}, + "ChartConfiguration":{"shape":"ScatterPlotConfiguration"}, + "Actions":{"shape":"VisualCustomActionList"}, + "ColumnHierarchies":{"shape":"ColumnHierarchyList"} } }, - "ListTemplatesRequest":{ + "ScrollBarOptions":{ "type":"structure", - "required":["AwsAccountId"], + "members":{ + "Visibility":{"shape":"Visibility"}, + "VisibleRange":{"shape":"VisibleRangeOptions"} + } + }, + "SearchAnalysesRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "Filters" + ], "members":{ "AwsAccountId":{ "shape":"AwsAccountId", "location":"uri", "locationName":"AwsAccountId" }, - "NextToken":{ - "shape":"String", - "location":"querystring", - "locationName":"next-token" - }, + "Filters":{"shape":"AnalysisSearchFilterList"}, + "NextToken":{"shape":"String"}, "MaxResults":{ "shape":"MaxResults", - "box":true, - "location":"querystring", - "locationName":"max-result" + "box":true } } }, - "ListTemplatesResponse":{ + "SearchAnalysesResponse":{ "type":"structure", "members":{ - "TemplateSummaryList":{"shape":"TemplateSummaryList"}, + "AnalysisSummaryList":{"shape":"AnalysisSummaryList"}, "NextToken":{"shape":"String"}, "Status":{ "shape":"StatusCode", @@ -6962,11 +12336,11 @@ "RequestId":{"shape":"String"} } }, - "ListThemeAliasesRequest":{ + "SearchDashboardsRequest":{ "type":"structure", "required":[ "AwsAccountId", - "ThemeId" + "Filters" ], "members":{ "AwsAccountId":{ @@ -6974,41 +12348,31 @@ "location":"uri", "locationName":"AwsAccountId" }, - "ThemeId":{ - "shape":"RestrictiveResourceId", - "location":"uri", - "locationName":"ThemeId" - }, - "NextToken":{ - "shape":"String", - "location":"querystring", - "locationName":"next-token" - }, + "Filters":{"shape":"DashboardSearchFilterList"}, + "NextToken":{"shape":"String"}, "MaxResults":{ "shape":"MaxResults", - "box":true, - "location":"querystring", - "locationName":"max-result" + "box":true } } }, - "ListThemeAliasesResponse":{ + "SearchDashboardsResponse":{ "type":"structure", "members":{ - "ThemeAliasList":{"shape":"ThemeAliasList"}, + "DashboardSummaryList":{"shape":"DashboardSummaryList"}, + "NextToken":{"shape":"String"}, "Status":{ "shape":"StatusCode", "location":"statusCode" }, - "RequestId":{"shape":"String"}, - "NextToken":{"shape":"String"} + "RequestId":{"shape":"String"} } }, - "ListThemeVersionsRequest":{ + "SearchDataSetsRequest":{ "type":"structure", "required":[ "AwsAccountId", - "ThemeId" + "Filters" ], "members":{ "AwsAccountId":{ @@ -7016,28 +12380,18 @@ "location":"uri", "locationName":"AwsAccountId" }, - "ThemeId":{ - "shape":"RestrictiveResourceId", - "location":"uri", - "locationName":"ThemeId" - }, - "NextToken":{ - "shape":"String", - "location":"querystring", - "locationName":"next-token" - }, + "Filters":{"shape":"DataSetSearchFilterList"}, + "NextToken":{"shape":"String"}, "MaxResults":{ "shape":"MaxResults", - "box":true, - "location":"querystring", - "locationName":"max-results" + "box":true } } }, - "ListThemeVersionsResponse":{ + "SearchDataSetsResponse":{ "type":"structure", "members":{ - "ThemeVersionSummaryList":{"shape":"ThemeVersionSummaryList"}, + "DataSetSummaries":{"shape":"DataSetSummaryList"}, "NextToken":{"shape":"String"}, "Status":{ "shape":"StatusCode", @@ -7046,37 +12400,30 @@ "RequestId":{"shape":"String"} } }, - "ListThemesRequest":{ + "SearchDataSourcesRequest":{ "type":"structure", - "required":["AwsAccountId"], + "required":[ + "AwsAccountId", + "Filters" + ], "members":{ "AwsAccountId":{ "shape":"AwsAccountId", "location":"uri", "locationName":"AwsAccountId" }, - "NextToken":{ - "shape":"String", - "location":"querystring", - "locationName":"next-token" - }, + "Filters":{"shape":"DataSourceSearchFilterList"}, + "NextToken":{"shape":"String"}, "MaxResults":{ "shape":"MaxResults", - "box":true, - "location":"querystring", - "locationName":"max-results" - }, - "Type":{ - "shape":"ThemeType", - "location":"querystring", - "locationName":"type" + "box":true } } }, - "ListThemesResponse":{ + "SearchDataSourcesResponse":{ "type":"structure", "members":{ - "ThemeSummaryList":{"shape":"ThemeSummaryList"}, + "DataSourceSummaries":{"shape":"DataSourceSummaryList"}, "NextToken":{"shape":"String"}, "Status":{ "shape":"StatusCode", @@ -7085,59 +12432,44 @@ "RequestId":{"shape":"String"} } }, - "ListUserGroupsRequest":{ + "SearchFoldersRequest":{ "type":"structure", "required":[ - "UserName", "AwsAccountId", - "Namespace" + "Filters" ], "members":{ - "UserName":{ - "shape":"UserName", - "location":"uri", - "locationName":"UserName" - }, "AwsAccountId":{ "shape":"AwsAccountId", "location":"uri", "locationName":"AwsAccountId" }, - "Namespace":{ - "shape":"Namespace", - "location":"uri", - "locationName":"Namespace" - }, - "NextToken":{ - "shape":"String", - "location":"querystring", - "locationName":"next-token" - }, + "Filters":{"shape":"FolderSearchFilterList"}, + "NextToken":{"shape":"String"}, "MaxResults":{ "shape":"MaxResults", - "box":true, - "location":"querystring", - "locationName":"max-results" + "box":true } } }, - "ListUserGroupsResponse":{ + "SearchFoldersResponse":{ "type":"structure", "members":{ - "GroupList":{"shape":"GroupList"}, - "NextToken":{"shape":"String"}, - "RequestId":{"shape":"String"}, "Status":{ "shape":"StatusCode", "location":"statusCode" - } + }, + "FolderSummaryList":{"shape":"FolderSummaryList"}, + "NextToken":{"shape":"String"}, + "RequestId":{"shape":"String"} } }, - "ListUsersRequest":{ + "SearchGroupsRequest":{ "type":"structure", "required":[ "AwsAccountId", - "Namespace" + "Namespace", + "Filters" ], "members":{ "AwsAccountId":{ @@ -7160,13 +12492,14 @@ "shape":"Namespace", "location":"uri", "locationName":"Namespace" - } + }, + "Filters":{"shape":"GroupSearchFilterList"} } }, - "ListUsersResponse":{ + "SearchGroupsResponse":{ "type":"structure", "members":{ - "UserList":{"shape":"UserList"}, + "GroupList":{"shape":"GroupList"}, "NextToken":{"shape":"String"}, "RequestId":{"shape":"String"}, "Status":{ @@ -7175,263 +12508,181 @@ } } }, - "LogicalTable":{ - "type":"structure", - "required":[ - "Alias", - "Source" - ], - "members":{ - "Alias":{"shape":"LogicalTableAlias"}, - "DataTransforms":{"shape":"TransformOperationList"}, - "Source":{"shape":"LogicalTableSource"} - } - }, - "LogicalTableAlias":{ - "type":"string", - "max":64, - "min":1 - }, - "LogicalTableId":{ - "type":"string", - "max":64, - "min":1, - "pattern":"[0-9a-zA-Z-]*" - }, - "LogicalTableMap":{ - "type":"map", - "key":{"shape":"LogicalTableId"}, - "value":{"shape":"LogicalTable"}, - "max":64, + "Seasonality":{ + "type":"integer", + "max":180, "min":1 }, - "LogicalTableSource":{ - "type":"structure", - "members":{ - "JoinInstruction":{"shape":"JoinInstruction"}, - "PhysicalTableId":{"shape":"PhysicalTableId"}, - "DataSetArn":{"shape":"Arn"} - } - }, - "Long":{"type":"long"}, - "LongList":{ - "type":"list", - "member":{"shape":"Long"} - }, - "ManifestFileLocation":{ + "SecondaryValueOptions":{ "type":"structure", - "required":[ - "Bucket", - "Key" - ], "members":{ - "Bucket":{"shape":"S3Bucket"}, - "Key":{"shape":"S3Key"} + "Visibility":{"shape":"Visibility"} } }, - "MarginStyle":{ - "type":"structure", - "members":{ - "Show":{ - "shape":"boolean", - "box":true - } - } + "SecretArn":{ + "type":"string", + "max":2048, + "min":1, + "pattern":"^arn:[-a-z0-9]*:secretsmanager:[-a-z0-9]*:[0-9]{12}:secret:.+" }, - "MariaDbParameters":{ + "SectionAfterPageBreak":{ "type":"structure", - "required":[ - "Host", - "Port", - "Database" - ], "members":{ - "Host":{"shape":"Host"}, - "Port":{"shape":"Port"}, - "Database":{"shape":"Database"} + "Status":{"shape":"SectionPageBreakStatus"} } }, - "MaxResults":{ - "type":"integer", - "max":100, - "min":1 - }, - "MemberIdArnPair":{ + "SectionBasedLayoutCanvasSizeOptions":{ "type":"structure", "members":{ - "MemberId":{"shape":"RestrictiveResourceId"}, - "MemberArn":{"shape":"Arn"} + "PaperCanvasSizeOptions":{"shape":"SectionBasedLayoutPaperCanvasSizeOptions"} } }, - "MemberType":{ - "type":"string", - "enum":[ - "DASHBOARD", - "ANALYSIS", - "DATASET" - ] - }, - "MySqlParameters":{ + "SectionBasedLayoutConfiguration":{ "type":"structure", "required":[ - "Host", - "Port", - "Database" + "HeaderSections", + "BodySections", + "FooterSections", + "CanvasSizeOptions" ], "members":{ - "Host":{"shape":"Host"}, - "Port":{"shape":"Port"}, - "Database":{"shape":"Database"} - } - }, - "Namespace":{ - "type":"string", - "max":64, - "pattern":"^[a-zA-Z0-9._-]*$" - }, - "NamespaceError":{ - "type":"structure", - "members":{ - "Type":{"shape":"NamespaceErrorType"}, - "Message":{"shape":"String"} + "HeaderSections":{"shape":"HeaderFooterSectionConfigurationList"}, + "BodySections":{"shape":"BodySectionConfigurationList"}, + "FooterSections":{"shape":"HeaderFooterSectionConfigurationList"}, + "CanvasSizeOptions":{"shape":"SectionBasedLayoutCanvasSizeOptions"} } }, - "NamespaceErrorType":{ - "type":"string", - "enum":[ - "PERMISSION_DENIED", - "INTERNAL_SERVICE_ERROR" - ] - }, - "NamespaceInfoV2":{ + "SectionBasedLayoutPaperCanvasSizeOptions":{ "type":"structure", - "members":{ - "Name":{"shape":"Namespace"}, - "Arn":{"shape":"Arn"}, - "CapacityRegion":{"shape":"String"}, - "CreationStatus":{"shape":"NamespaceStatus"}, - "IdentityStore":{"shape":"IdentityStore"}, - "NamespaceError":{"shape":"NamespaceError"} - } - }, - "NamespaceStatus":{ - "type":"string", - "enum":[ - "CREATED", - "CREATING", - "DELETING", - "RETRYABLE_FAILURE", - "NON_RETRYABLE_FAILURE" - ] - }, - "Namespaces":{ - "type":"list", - "member":{"shape":"NamespaceInfoV2"} - }, - "NonEmptyString":{ - "type":"string", - "pattern":".*\\S.*" - }, - "NullableBoolean":{"type":"boolean"}, - "OnClause":{ - "type":"string", - "max":512, - "min":1 - }, - "OptionalPort":{ - "type":"integer", - "max":65535, - "min":0 + "members":{ + "PaperSize":{"shape":"PaperSize"}, + "PaperOrientation":{"shape":"PaperOrientation"}, + "PaperMargin":{"shape":"Spacing"} + } }, - "OracleParameters":{ + "SectionLayoutConfiguration":{ "type":"structure", - "required":[ - "Host", - "Port", - "Database" - ], + "required":["FreeFormLayout"], "members":{ - "Host":{"shape":"Host"}, - "Port":{"shape":"Port"}, - "Database":{"shape":"Database"} + "FreeFormLayout":{"shape":"FreeFormSectionLayoutConfiguration"} } }, - "OutputColumn":{ + "SectionPageBreakConfiguration":{ "type":"structure", "members":{ - "Name":{"shape":"ColumnName"}, - "Description":{"shape":"ColumnDescriptiveText"}, - "Type":{"shape":"ColumnDataType"} + "After":{"shape":"SectionAfterPageBreak"} } }, - "OutputColumnList":{ - "type":"list", - "member":{"shape":"OutputColumn"} + "SectionPageBreakStatus":{ + "type":"string", + "enum":[ + "ENABLED", + "DISABLED" + ] }, - "Parameters":{ + "SectionStyle":{ "type":"structure", "members":{ - "StringParameters":{"shape":"StringParameterList"}, - "IntegerParameters":{"shape":"IntegerParameterList"}, - "DecimalParameters":{"shape":"DecimalParameterList"}, - "DateTimeParameters":{"shape":"DateTimeParameterList"} + "Height":{"shape":"PixelLength"}, + "Padding":{"shape":"Spacing"} } }, - "Password":{ + "SelectAllValueOptions":{ "type":"string", - "max":1024, - "min":1 + "enum":["ALL_VALUES"] }, - "Path":{ + "SelectedFieldList":{ "type":"list", - "member":{"shape":"Arn"}, - "max":10, + "member":{"shape":"FieldId"}, + "max":20, "min":1 }, - "PhysicalTable":{ + "SelectedFieldOptions":{ + "type":"string", + "enum":["ALL_FIELDS"] + }, + "SelectedSheetsFilterScopeConfiguration":{ "type":"structure", "members":{ - "RelationalTable":{"shape":"RelationalTable"}, - "CustomSql":{"shape":"CustomSql"}, - "S3Source":{"shape":"S3Source"} + "SheetVisualScopingConfigurations":{"shape":"SheetVisualScopingConfigurations"} } }, - "PhysicalTableId":{ + "SelectedTooltipType":{ "type":"string", - "max":64, - "min":1, - "pattern":"[0-9a-zA-Z-]*" + "enum":[ + "BASIC", + "DETAILED" + ] }, - "PhysicalTableMap":{ - "type":"map", - "key":{"shape":"PhysicalTableId"}, - "value":{"shape":"PhysicalTable"}, - "max":32, - "min":0 + "SensitiveDouble":{ + "type":"double", + "sensitive":true }, - "Port":{ - "type":"integer", - "max":65535, - "min":1 + "SensitiveDoubleList":{ + "type":"list", + "member":{"shape":"SensitiveDouble"} }, - "PositiveInteger":{ - "type":"integer", - "min":1 + "SensitiveDoubleObject":{ + "type":"double", + "sensitive":true }, - "PostgreSqlParameters":{ + "SensitiveLong":{ + "type":"long", + "sensitive":true + }, + "SensitiveLongList":{ + "type":"list", + "member":{"shape":"SensitiveLong"} + }, + "SensitiveLongObject":{ + "type":"long", + "sensitive":true + }, + "SensitiveString":{ + "type":"string", + "sensitive":true + }, + "SensitiveStringList":{ + "type":"list", + "member":{"shape":"SensitiveString"} + }, + "SensitiveStringObject":{ + "type":"string", + "sensitive":true + }, + "SensitiveTimestamp":{ + "type":"timestamp", + "sensitive":true + }, + "SensitiveTimestampList":{ + "type":"list", + "member":{"shape":"SensitiveTimestamp"} + }, + "SeriesItem":{ "type":"structure", - "required":[ - "Host", - "Port", - "Database" - ], "members":{ - "Host":{"shape":"Host"}, - "Port":{"shape":"Port"}, - "Database":{"shape":"Database"} + "FieldSeriesItem":{"shape":"FieldSeriesItem"}, + "DataFieldSeriesItem":{"shape":"DataFieldSeriesItem"} } }, - "PreconditionNotMetException":{ + "SeriesItemList":{ + "type":"list", + "member":{"shape":"SeriesItem"}, + "max":10 + }, + "ServiceNowParameters":{ + "type":"structure", + "required":["SiteBaseUrl"], + "members":{ + "SiteBaseUrl":{"shape":"SiteBaseUrl"} + } + }, + "SessionLifetimeInMinutes":{ + "type":"long", + "max":600, + "min":15 + }, + "SessionLifetimeInMinutesInvalidException":{ "type":"structure", "members":{ "Message":{"shape":"String"}, @@ -7440,815 +12691,716 @@ "error":{"httpStatusCode":400}, "exception":true }, - "PrestoParameters":{ + "SessionTag":{ "type":"structure", "required":[ - "Host", - "Port", - "Catalog" + "Key", + "Value" ], "members":{ - "Host":{"shape":"Host"}, - "Port":{"shape":"Port"}, - "Catalog":{"shape":"Catalog"} + "Key":{"shape":"SessionTagKey"}, + "Value":{"shape":"SessionTagValue"} } }, - "Principal":{ + "SessionTagKey":{ "type":"string", - "max":256, - "min":1 - }, - "PrincipalList":{ - "type":"list", - "member":{"shape":"String"}, - "max":100, + "max":128, "min":1 }, - "ProjectOperation":{ - "type":"structure", - "required":["ProjectedColumns"], - "members":{ - "ProjectedColumns":{"shape":"ProjectedColumnList"} - } - }, - "ProjectedColumnList":{ + "SessionTagList":{ "type":"list", - "member":{"shape":"String"}, - "max":2000, + "member":{"shape":"SessionTag"}, + "max":50, "min":1 }, - "Query":{ + "SessionTagValue":{ "type":"string", "max":256, - "min":1 + "min":1, + "sensitive":true }, - "QueueInfo":{ + "SetParameterValueConfiguration":{ "type":"structure", "required":[ - "WaitingOnIngestion", - "QueuedIngestion" + "DestinationParameterName", + "Value" ], "members":{ - "WaitingOnIngestion":{"shape":"String"}, - "QueuedIngestion":{"shape":"String"} + "DestinationParameterName":{"shape":"ParameterName"}, + "Value":{"shape":"DestinationParameterValueConfiguration"} } }, - "QuickSightUserNotFoundException":{ - "type":"structure", - "members":{ - "Message":{"shape":"String"}, - "RequestId":{"shape":"String"} - }, - "error":{"httpStatusCode":404}, - "exception":true + "SetParameterValueConfigurationList":{ + "type":"list", + "member":{"shape":"SetParameterValueConfiguration"}, + "max":200, + "min":1 }, - "RdsParameters":{ + "ShapeConditionalFormat":{ "type":"structure", - "required":[ - "InstanceId", - "Database" - ], + "required":["BackgroundColor"], "members":{ - "InstanceId":{"shape":"InstanceId"}, - "Database":{"shape":"Database"} + "BackgroundColor":{"shape":"ConditionalFormattingColor"} } }, - "RecoveryWindowInDays":{ - "type":"long", - "max":30, - "min":7 - }, - "RedshiftParameters":{ + "Sheet":{ "type":"structure", - "required":["Database"], "members":{ - "Host":{"shape":"Host"}, - "Port":{"shape":"OptionalPort"}, - "Database":{"shape":"Database"}, - "ClusterId":{"shape":"ClusterId"} + "SheetId":{"shape":"ShortRestrictiveResourceId"}, + "Name":{"shape":"SheetName"} } }, - "RegisterUserRequest":{ - "type":"structure", - "required":[ - "IdentityType", - "Email", - "UserRole", - "AwsAccountId", - "Namespace" - ], - "members":{ - "IdentityType":{"shape":"IdentityType"}, - "Email":{"shape":"String"}, - "UserRole":{"shape":"UserRole"}, - "IamArn":{"shape":"String"}, - "SessionName":{"shape":"RoleSessionName"}, - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "Namespace":{ - "shape":"Namespace", - "location":"uri", - "locationName":"Namespace" - }, - "UserName":{"shape":"UserName"}, - "CustomPermissionsName":{"shape":"RoleName"}, - "ExternalLoginFederationProviderType":{"shape":"String"}, - "CustomFederationProviderUrl":{"shape":"String"}, - "ExternalLoginId":{"shape":"String"} - } + "SheetContentType":{ + "type":"string", + "enum":[ + "PAGINATED", + "INTERACTIVE" + ] }, - "RegisterUserResponse":{ - "type":"structure", - "members":{ - "User":{"shape":"User"}, - "UserInvitationUrl":{"shape":"String"}, - "RequestId":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - } - } + "SheetControlDateTimePickerType":{ + "type":"string", + "enum":[ + "SINGLE_VALUED", + "DATE_RANGE" + ] }, - "RegisteredUserDashboardEmbeddingConfiguration":{ + "SheetControlLayout":{ "type":"structure", - "required":["InitialDashboardId"], + "required":["Configuration"], "members":{ - "InitialDashboardId":{"shape":"RestrictiveResourceId"} + "Configuration":{"shape":"SheetControlLayoutConfiguration"} } }, - "RegisteredUserDashboardVisualEmbeddingConfiguration":{ + "SheetControlLayoutConfiguration":{ "type":"structure", - "required":["InitialDashboardVisualId"], "members":{ - "InitialDashboardVisualId":{"shape":"DashboardVisualId"} + "GridLayout":{"shape":"GridLayoutConfiguration"} } }, - "RegisteredUserEmbeddingExperienceConfiguration":{ + "SheetControlLayoutList":{ + "type":"list", + "member":{"shape":"SheetControlLayout"}, + "max":1, + "min":0 + }, + "SheetControlListType":{ + "type":"string", + "enum":[ + "MULTI_SELECT", + "SINGLE_SELECT" + ] + }, + "SheetControlSliderType":{ + "type":"string", + "enum":[ + "SINGLE_POINT", + "RANGE" + ] + }, + "SheetControlTitle":{ + "type":"string", + "max":2048, + "min":1 + }, + "SheetControlsOption":{ "type":"structure", "members":{ - "Dashboard":{"shape":"RegisteredUserDashboardEmbeddingConfiguration"}, - "QuickSightConsole":{"shape":"RegisteredUserQuickSightConsoleEmbeddingConfiguration"}, - "QSearchBar":{"shape":"RegisteredUserQSearchBarEmbeddingConfiguration"}, - "DashboardVisual":{"shape":"RegisteredUserDashboardVisualEmbeddingConfiguration"} + "VisibilityState":{"shape":"DashboardUIState"} } }, - "RegisteredUserQSearchBarEmbeddingConfiguration":{ + "SheetDefinition":{ "type":"structure", + "required":["SheetId"], "members":{ - "InitialTopicId":{"shape":"RestrictiveResourceId"} + "SheetId":{"shape":"ShortRestrictiveResourceId"}, + "Title":{"shape":"SheetTitle"}, + "Description":{"shape":"SheetDescription"}, + "Name":{"shape":"SheetName"}, + "ParameterControls":{"shape":"ParameterControlList"}, + "FilterControls":{"shape":"FilterControlList"}, + "Visuals":{"shape":"VisualList"}, + "TextBoxes":{"shape":"SheetTextBoxList"}, + "Layouts":{"shape":"LayoutList"}, + "SheetControlLayouts":{"shape":"SheetControlLayoutList"}, + "ContentType":{"shape":"SheetContentType"} } }, - "RegisteredUserQuickSightConsoleEmbeddingConfiguration":{ + "SheetDefinitionList":{ + "type":"list", + "member":{"shape":"SheetDefinition"}, + "max":20 + }, + "SheetDescription":{ + "type":"string", + "max":1024, + "min":1 + }, + "SheetElementConfigurationOverrides":{ "type":"structure", "members":{ - "InitialPath":{"shape":"EntryPath"} + "Visibility":{"shape":"Visibility"} } }, - "RelationalTable":{ + "SheetElementRenderingRule":{ "type":"structure", "required":[ - "DataSourceArn", - "Name", - "InputColumns" + "Expression", + "ConfigurationOverrides" ], "members":{ - "DataSourceArn":{"shape":"Arn"}, - "Catalog":{"shape":"RelationalTableCatalog"}, - "Schema":{"shape":"RelationalTableSchema"}, - "Name":{"shape":"RelationalTableName"}, - "InputColumns":{"shape":"InputColumnList"} + "Expression":{"shape":"Expression"}, + "ConfigurationOverrides":{"shape":"SheetElementConfigurationOverrides"} } }, - "RelationalTableCatalog":{ - "type":"string", - "max":256 + "SheetElementRenderingRuleList":{ + "type":"list", + "member":{"shape":"SheetElementRenderingRule"}, + "max":10000 }, - "RelationalTableName":{ - "type":"string", - "max":64, - "min":1 + "SheetList":{ + "type":"list", + "member":{"shape":"Sheet"}, + "max":20 }, - "RelationalTableSchema":{ + "SheetName":{ "type":"string", - "max":64 + "max":2048, + "min":1 }, - "RenameColumnOperation":{ + "SheetStyle":{ "type":"structure", - "required":[ - "ColumnName", - "NewColumnName" - ], "members":{ - "ColumnName":{"shape":"ColumnName"}, - "NewColumnName":{"shape":"ColumnName"} + "Tile":{"shape":"TileStyle"}, + "TileLayout":{"shape":"TileLayoutStyle"} } }, - "ResourceExistsException":{ + "SheetTextBox":{ "type":"structure", + "required":["SheetTextBoxId"], "members":{ - "Message":{"shape":"String"}, - "ResourceType":{"shape":"ExceptionResourceType"}, - "RequestId":{"shape":"String"} - }, - "error":{"httpStatusCode":409}, - "exception":true + "SheetTextBoxId":{"shape":"ShortRestrictiveResourceId"}, + "Content":{"shape":"SheetTextBoxContent"} + } }, - "ResourceId":{"type":"string"}, - "ResourceName":{ + "SheetTextBoxContent":{ "type":"string", - "max":128, - "min":1 + "max":150000 }, - "ResourceNotFoundException":{ - "type":"structure", - "members":{ - "Message":{"shape":"String"}, - "ResourceType":{"shape":"ExceptionResourceType"}, - "RequestId":{"shape":"String"} - }, - "error":{"httpStatusCode":404}, - "exception":true + "SheetTextBoxList":{ + "type":"list", + "member":{"shape":"SheetTextBox"}, + "max":100 }, - "ResourcePermission":{ + "SheetTitle":{ + "type":"string", + "max":1024, + "min":1 + }, + "SheetVisualScopingConfiguration":{ "type":"structure", "required":[ - "Principal", - "Actions" + "SheetId", + "Scope" ], "members":{ - "Principal":{"shape":"Principal"}, - "Actions":{"shape":"ActionList"} + "SheetId":{"shape":"ShortRestrictiveResourceId"}, + "Scope":{"shape":"FilterVisualScope"}, + "VisualIds":{"shape":"FilteredVisualsList"} } }, - "ResourcePermissionList":{ + "SheetVisualScopingConfigurations":{ "type":"list", - "member":{"shape":"ResourcePermission"}, - "max":64, + "member":{"shape":"SheetVisualScopingConfiguration"}, + "max":50, "min":1 }, - "ResourceStatus":{ - "type":"string", - "enum":[ - "CREATION_IN_PROGRESS", - "CREATION_SUCCESSFUL", - "CREATION_FAILED", - "UPDATE_IN_PROGRESS", - "UPDATE_SUCCESSFUL", - "UPDATE_FAILED", - "DELETED" - ] - }, - "ResourceUnavailableException":{ + "ShortFormatText":{ "type":"structure", "members":{ - "Message":{"shape":"String"}, - "ResourceType":{"shape":"ExceptionResourceType"}, - "RequestId":{"shape":"String"} - }, - "error":{"httpStatusCode":503}, - "exception":true + "PlainText":{"shape":"ShortPlainText"}, + "RichText":{"shape":"ShortRichText"} + } }, - "RestoreAnalysisRequest":{ + "ShortPlainText":{ + "type":"string", + "max":512, + "min":1 + }, + "ShortRestrictiveResourceId":{ + "type":"string", + "max":512, + "min":1, + "pattern":"[\\w\\-]+" + }, + "ShortRichText":{ + "type":"string", + "max":1024, + "min":1 + }, + "SignupResponse":{ "type":"structure", - "required":[ - "AwsAccountId", - "AnalysisId" - ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "AnalysisId":{ - "shape":"RestrictiveResourceId", - "location":"uri", - "locationName":"AnalysisId" - } + "IAMUser":{"shape":"Boolean"}, + "userLoginName":{"shape":"String"}, + "accountName":{"shape":"String"}, + "directoryType":{"shape":"String"} } }, - "RestoreAnalysisResponse":{ + "SimpleClusterMarker":{ "type":"structure", "members":{ - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - }, - "Arn":{"shape":"Arn"}, - "AnalysisId":{"shape":"RestrictiveResourceId"}, - "RequestId":{"shape":"String"} + "Color":{"shape":"HexColor"} } }, - "RestrictiveResourceId":{ + "SimpleNumericalAggregationFunction":{ "type":"string", - "max":2048, - "min":1, - "pattern":"[\\w\\-]+" + "enum":[ + "SUM", + "AVERAGE", + "MIN", + "MAX", + "COUNT", + "DISTINCT_COUNT", + "VAR", + "VARP", + "STDEV", + "STDEVP", + "MEDIAN" + ] }, - "RoleArn":{ + "SiteBaseUrl":{ "type":"string", - "max":2048, - "min":20 + "max":1024, + "min":1 }, - "RoleName":{ - "type":"string", - "max":64, - "min":1, - "pattern":"^[a-zA-Z0-9+=,.@_-]+$" + "SliderControlDisplayOptions":{ + "type":"structure", + "members":{ + "TitleOptions":{"shape":"LabelOptions"} + } }, - "RoleSessionName":{ - "type":"string", - "max":64, - "min":2, - "pattern":"[\\w+=.@-]*" + "SmallMultiplesDimensionFieldList":{ + "type":"list", + "member":{"shape":"DimensionField"}, + "max":1 }, - "RowInfo":{ + "SmallMultiplesOptions":{ "type":"structure", "members":{ - "RowsIngested":{ - "shape":"Long", - "box":true - }, - "RowsDropped":{ - "shape":"Long", - "box":true - }, - "TotalRowsInDataset":{ - "shape":"Long", - "box":true - } + "MaxVisibleRows":{"shape":"VisiblePanelRows"}, + "MaxVisibleColumns":{"shape":"VisiblePanelColumns"}, + "PanelConfiguration":{"shape":"PanelConfiguration"} } }, - "RowLevelPermissionDataSet":{ + "SnowflakeParameters":{ "type":"structure", "required":[ - "Arn", - "PermissionPolicy" + "Host", + "Database", + "Warehouse" ], "members":{ - "Namespace":{"shape":"Namespace"}, - "Arn":{"shape":"Arn"}, - "PermissionPolicy":{"shape":"RowLevelPermissionPolicy"}, - "FormatVersion":{"shape":"RowLevelPermissionFormatVersion"}, - "Status":{"shape":"Status"} + "Host":{"shape":"Host"}, + "Database":{"shape":"Database"}, + "Warehouse":{"shape":"Warehouse"} } }, - "RowLevelPermissionFormatVersion":{ + "SortDirection":{ "type":"string", "enum":[ - "VERSION_1", - "VERSION_2" + "ASC", + "DESC" ] }, - "RowLevelPermissionPolicy":{ - "type":"string", - "enum":[ - "GRANT_ACCESS", - "DENY_ACCESS" - ] + "Spacing":{ + "type":"structure", + "members":{ + "Top":{"shape":"Length"}, + "Bottom":{"shape":"Length"}, + "Left":{"shape":"Length"}, + "Right":{"shape":"Length"} + } }, - "RowLevelPermissionTagConfiguration":{ + "SparkParameters":{ "type":"structure", - "required":["TagRules"], + "required":[ + "Host", + "Port" + ], "members":{ - "Status":{"shape":"Status"}, - "TagRules":{"shape":"RowLevelPermissionTagRuleList"} + "Host":{"shape":"Host"}, + "Port":{"shape":"Port"} } }, - "RowLevelPermissionTagDelimiter":{ + "SqlEndpointPath":{ "type":"string", - "max":10 + "max":4096, + "min":1 }, - "RowLevelPermissionTagRule":{ + "SqlQuery":{ + "type":"string", + "max":65536, + "min":1 + }, + "SqlServerParameters":{ "type":"structure", "required":[ - "TagKey", - "ColumnName" + "Host", + "Port", + "Database" ], "members":{ - "TagKey":{"shape":"SessionTagKey"}, - "ColumnName":{"shape":"String"}, - "TagMultiValueDelimiter":{"shape":"RowLevelPermissionTagDelimiter"}, - "MatchAllValue":{"shape":"SessionTagValue"} + "Host":{"shape":"Host"}, + "Port":{"shape":"Port"}, + "Database":{"shape":"Database"} } }, - "RowLevelPermissionTagRuleList":{ - "type":"list", - "member":{"shape":"RowLevelPermissionTagRule"}, - "max":50, - "min":1 + "SslProperties":{ + "type":"structure", + "members":{ + "DisableSsl":{"shape":"Boolean"} + } }, - "S3Bucket":{ + "Status":{ "type":"string", - "max":1024, - "min":1 + "enum":[ + "ENABLED", + "DISABLED" + ] }, - "S3Key":{ - "type":"string", - "max":1024, - "min":1 + "StatusCode":{"type":"integer"}, + "String":{"type":"string"}, + "StringDefaultValueList":{ + "type":"list", + "member":{"shape":"SensitiveStringObject"}, + "max":50000 }, - "S3Parameters":{ + "StringDefaultValues":{ "type":"structure", - "required":["ManifestFileLocation"], "members":{ - "ManifestFileLocation":{"shape":"ManifestFileLocation"} + "DynamicValue":{"shape":"DynamicDefaultValue"}, + "StaticValues":{"shape":"StringDefaultValueList"} } }, - "S3Source":{ + "StringFormatConfiguration":{ "type":"structure", - "required":[ - "DataSourceArn", - "InputColumns" - ], "members":{ - "DataSourceArn":{"shape":"Arn"}, - "UploadSettings":{"shape":"UploadSettings"}, - "InputColumns":{"shape":"InputColumnList"} + "NullValueFormatConfiguration":{"shape":"NullValueFormatConfiguration"}, + "NumericFormatConfiguration":{"shape":"NumericFormatConfiguration"} } }, - "SearchAnalysesRequest":{ + "StringList":{ + "type":"list", + "member":{"shape":"String"} + }, + "StringParameter":{ "type":"structure", "required":[ - "AwsAccountId", - "Filters" + "Name", + "Values" ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "Filters":{"shape":"AnalysisSearchFilterList"}, - "NextToken":{"shape":"String"}, - "MaxResults":{ - "shape":"MaxResults", - "box":true - } - } - }, - "SearchAnalysesResponse":{ - "type":"structure", - "members":{ - "AnalysisSummaryList":{"shape":"AnalysisSummaryList"}, - "NextToken":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - }, - "RequestId":{"shape":"String"} + "Name":{"shape":"NonEmptyString"}, + "Values":{"shape":"SensitiveStringList"} } }, - "SearchDashboardsRequest":{ + "StringParameterDeclaration":{ "type":"structure", "required":[ - "AwsAccountId", - "Filters" + "ParameterValueType", + "Name" ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "Filters":{"shape":"DashboardSearchFilterList"}, - "NextToken":{"shape":"String"}, - "MaxResults":{ - "shape":"MaxResults", - "box":true - } + "ParameterValueType":{"shape":"ParameterValueType"}, + "Name":{"shape":"ParameterName"}, + "DefaultValues":{"shape":"StringDefaultValues"}, + "ValueWhenUnset":{"shape":"StringValueWhenUnsetConfiguration"} } }, - "SearchDashboardsResponse":{ + "StringParameterList":{ + "type":"list", + "member":{"shape":"StringParameter"}, + "max":100 + }, + "StringValueWhenUnsetConfiguration":{ "type":"structure", "members":{ - "DashboardSummaryList":{"shape":"DashboardSummaryList"}, - "NextToken":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - }, - "RequestId":{"shape":"String"} + "ValueWhenUnsetOption":{"shape":"ValueWhenUnsetOption"}, + "CustomValue":{"shape":"SensitiveString"} } }, - "SearchDataSetsRequest":{ + "SubtotalOptions":{ "type":"structure", - "required":[ - "AwsAccountId", - "Filters" - ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "Filters":{"shape":"DataSetSearchFilterList"}, - "NextToken":{"shape":"String"}, - "MaxResults":{ - "shape":"MaxResults", - "box":true - } + "TotalsVisibility":{"shape":"Visibility"}, + "CustomLabel":{"shape":"String"}, + "FieldLevel":{"shape":"PivotTableSubtotalLevel"}, + "FieldLevelOptions":{"shape":"PivotTableFieldSubtotalOptionsList"}, + "TotalCellStyle":{"shape":"TableCellStyle"}, + "ValueCellStyle":{"shape":"TableCellStyle"}, + "MetricHeaderCellStyle":{"shape":"TableCellStyle"} } }, - "SearchDataSetsResponse":{ + "Suffix":{ + "type":"string", + "max":128, + "min":1, + "sensitive":true + }, + "TableAggregatedFieldWells":{ "type":"structure", "members":{ - "DataSetSummaries":{"shape":"DataSetSummaryList"}, - "NextToken":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - }, - "RequestId":{"shape":"String"} + "GroupBy":{"shape":"DimensionFieldList"}, + "Values":{"shape":"MeasureFieldList"} } }, - "SearchDataSourcesRequest":{ + "TableBorderOptions":{ "type":"structure", - "required":[ - "AwsAccountId", - "Filters" - ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "Filters":{"shape":"DataSourceSearchFilterList"}, - "NextToken":{"shape":"String"}, - "MaxResults":{ - "shape":"MaxResults", - "box":true - } + "Color":{"shape":"HexColor"}, + "Thickness":{"shape":"TableBorderThickness"}, + "Style":{"shape":"TableBorderStyle"} } }, - "SearchDataSourcesResponse":{ + "TableBorderStyle":{ + "type":"string", + "enum":[ + "NONE", + "SOLID" + ] + }, + "TableBorderThickness":{ + "type":"integer", + "max":4, + "min":1 + }, + "TableCellConditionalFormatting":{ "type":"structure", + "required":["FieldId"], "members":{ - "DataSourceSummaries":{"shape":"DataSourceSummaryList"}, - "NextToken":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - }, - "RequestId":{"shape":"String"} + "FieldId":{"shape":"FieldId"}, + "TextFormat":{"shape":"TextConditionalFormat"} } }, - "SearchFoldersRequest":{ + "TableCellImageScalingConfiguration":{ + "type":"string", + "enum":[ + "FIT_TO_CELL_HEIGHT", + "FIT_TO_CELL_WIDTH", + "DO_NOT_SCALE" + ] + }, + "TableCellImageSizingConfiguration":{ "type":"structure", - "required":[ - "AwsAccountId", - "Filters" - ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "Filters":{"shape":"FolderSearchFilterList"}, - "NextToken":{"shape":"String"}, - "MaxResults":{ - "shape":"MaxResults", - "box":true - } + "TableCellImageScalingConfiguration":{"shape":"TableCellImageScalingConfiguration"} } }, - "SearchFoldersResponse":{ + "TableCellStyle":{ "type":"structure", "members":{ - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - }, - "FolderSummaryList":{"shape":"FolderSummaryList"}, - "NextToken":{"shape":"String"}, - "RequestId":{"shape":"String"} + "Visibility":{"shape":"Visibility"}, + "FontConfiguration":{"shape":"FontConfiguration"}, + "TextWrap":{"shape":"TextWrap"}, + "HorizontalTextAlignment":{"shape":"HorizontalTextAlignment"}, + "VerticalTextAlignment":{"shape":"VerticalTextAlignment"}, + "BackgroundColor":{"shape":"HexColor"}, + "Height":{"shape":"TableFieldHeight"}, + "Border":{"shape":"GlobalTableBorderOptions"} } }, - "SearchGroupsRequest":{ + "TableConditionalFormatting":{ "type":"structure", - "required":[ - "AwsAccountId", - "Namespace", - "Filters" - ], "members":{ - "AwsAccountId":{ - "shape":"AwsAccountId", - "location":"uri", - "locationName":"AwsAccountId" - }, - "NextToken":{ - "shape":"String", - "location":"querystring", - "locationName":"next-token" - }, - "MaxResults":{ - "shape":"MaxResults", - "box":true, - "location":"querystring", - "locationName":"max-results" - }, - "Namespace":{ - "shape":"Namespace", - "location":"uri", - "locationName":"Namespace" - }, - "Filters":{"shape":"GroupSearchFilterList"} + "ConditionalFormattingOptions":{"shape":"TableConditionalFormattingOptionList"} } }, - "SearchGroupsResponse":{ + "TableConditionalFormattingOption":{ "type":"structure", "members":{ - "GroupList":{"shape":"GroupList"}, - "NextToken":{"shape":"String"}, - "RequestId":{"shape":"String"}, - "Status":{ - "shape":"StatusCode", - "location":"statusCode" - } + "Cell":{"shape":"TableCellConditionalFormatting"}, + "Row":{"shape":"TableRowConditionalFormatting"} } }, - "SecretArn":{ - "type":"string", - "max":2048, - "min":1, - "pattern":"^arn:[-a-z0-9]*:secretsmanager:[-a-z0-9]*:[0-9]{12}:secret:.+" + "TableConditionalFormattingOptionList":{ + "type":"list", + "member":{"shape":"TableConditionalFormattingOption"}, + "max":100 }, - "ServiceNowParameters":{ + "TableConfiguration":{ "type":"structure", - "required":["SiteBaseUrl"], "members":{ - "SiteBaseUrl":{"shape":"SiteBaseUrl"} + "FieldWells":{"shape":"TableFieldWells"}, + "SortConfiguration":{"shape":"TableSortConfiguration"}, + "TableOptions":{"shape":"TableOptions"}, + "TotalOptions":{"shape":"TotalOptions"}, + "FieldOptions":{"shape":"TableFieldOptions"}, + "PaginatedReportOptions":{"shape":"TablePaginatedReportOptions"} } }, - "SessionLifetimeInMinutes":{ - "type":"long", - "max":600, - "min":15 - }, - "SessionLifetimeInMinutesInvalidException":{ + "TableFieldCustomIconContent":{ "type":"structure", "members":{ - "Message":{"shape":"String"}, - "RequestId":{"shape":"String"} - }, - "error":{"httpStatusCode":400}, - "exception":true + "Icon":{"shape":"TableFieldIconSetType"} + } }, - "SessionTag":{ + "TableFieldCustomTextContent":{ "type":"structure", - "required":[ - "Key", - "Value" - ], + "required":["FontConfiguration"], "members":{ - "Key":{"shape":"SessionTagKey"}, - "Value":{"shape":"SessionTagValue"} + "Value":{"shape":"String"}, + "FontConfiguration":{"shape":"FontConfiguration"} } }, - "SessionTagKey":{ - "type":"string", - "max":128, - "min":1 - }, - "SessionTagList":{ - "type":"list", - "member":{"shape":"SessionTag"}, - "max":50, - "min":1 + "TableFieldHeight":{ + "type":"integer", + "max":500, + "min":8 }, - "SessionTagValue":{ + "TableFieldIconSetType":{ "type":"string", - "max":256, - "min":1, - "sensitive":true + "enum":["LINK"] }, - "Sheet":{ + "TableFieldImageConfiguration":{ "type":"structure", "members":{ - "SheetId":{"shape":"RestrictiveResourceId"}, - "Name":{"shape":"NonEmptyString"} + "SizingOptions":{"shape":"TableCellImageSizingConfiguration"} } }, - "SheetControlsOption":{ + "TableFieldLinkConfiguration":{ "type":"structure", + "required":[ + "Target", + "Content" + ], "members":{ - "VisibilityState":{"shape":"DashboardUIState"} + "Target":{"shape":"URLTargetConfiguration"}, + "Content":{"shape":"TableFieldLinkContentConfiguration"} } }, - "SheetList":{ - "type":"list", - "member":{"shape":"Sheet"}, - "max":20 + "TableFieldLinkContentConfiguration":{ + "type":"structure", + "members":{ + "CustomTextContent":{"shape":"TableFieldCustomTextContent"}, + "CustomIconContent":{"shape":"TableFieldCustomIconContent"} + } }, - "SheetStyle":{ + "TableFieldOption":{ "type":"structure", + "required":["FieldId"], "members":{ - "Tile":{"shape":"TileStyle"}, - "TileLayout":{"shape":"TileLayoutStyle"} + "FieldId":{"shape":"FieldId"}, + "Width":{"shape":"PixelLength"}, + "CustomLabel":{"shape":"CustomLabel"}, + "Visibility":{"shape":"Visibility"}, + "URLStyling":{"shape":"TableFieldURLConfiguration"} } }, - "SignupResponse":{ + "TableFieldOptionList":{ + "type":"list", + "member":{"shape":"TableFieldOption"}, + "max":100 + }, + "TableFieldOptions":{ "type":"structure", "members":{ - "IAMUser":{"shape":"Boolean"}, - "userLoginName":{"shape":"String"}, - "accountName":{"shape":"String"}, - "directoryType":{"shape":"String"} + "SelectedFieldOptions":{"shape":"TableFieldOptionList"}, + "Order":{"shape":"FieldOrderList"} } }, - "SiteBaseUrl":{ - "type":"string", - "max":1024, - "min":1 + "TableFieldURLConfiguration":{ + "type":"structure", + "members":{ + "LinkConfiguration":{"shape":"TableFieldLinkConfiguration"}, + "ImageConfiguration":{"shape":"TableFieldImageConfiguration"} + } }, - "SnowflakeParameters":{ + "TableFieldWells":{ "type":"structure", - "required":[ - "Host", - "Database", - "Warehouse" - ], "members":{ - "Host":{"shape":"Host"}, - "Database":{"shape":"Database"}, - "Warehouse":{"shape":"Warehouse"} + "TableAggregatedFieldWells":{"shape":"TableAggregatedFieldWells"}, + "TableUnaggregatedFieldWells":{"shape":"TableUnaggregatedFieldWells"} } }, - "SparkParameters":{ + "TableOptions":{ "type":"structure", - "required":[ - "Host", - "Port" - ], "members":{ - "Host":{"shape":"Host"}, - "Port":{"shape":"Port"} + "Orientation":{"shape":"TableOrientation"}, + "HeaderStyle":{"shape":"TableCellStyle"}, + "CellStyle":{"shape":"TableCellStyle"}, + "RowAlternateColorOptions":{"shape":"RowAlternateColorOptions"} } }, - "SqlEndpointPath":{ + "TableOrientation":{ "type":"string", - "max":4096, - "min":1 + "enum":[ + "VERTICAL", + "HORIZONTAL" + ] }, - "SqlQuery":{ - "type":"string", - "max":65536, - "min":1 + "TablePaginatedReportOptions":{ + "type":"structure", + "members":{ + "VerticalOverflowVisibility":{"shape":"Visibility"}, + "OverflowColumnHeaderVisibility":{"shape":"Visibility"} + } }, - "SqlServerParameters":{ + "TableRowConditionalFormatting":{ "type":"structure", - "required":[ - "Host", - "Port", - "Database" - ], "members":{ - "Host":{"shape":"Host"}, - "Port":{"shape":"Port"}, - "Database":{"shape":"Database"} + "BackgroundColor":{"shape":"ConditionalFormattingColor"}, + "TextColor":{"shape":"ConditionalFormattingColor"} } }, - "SslProperties":{ + "TableSideBorderOptions":{ "type":"structure", "members":{ - "DisableSsl":{"shape":"Boolean"} + "InnerVertical":{"shape":"TableBorderOptions"}, + "InnerHorizontal":{"shape":"TableBorderOptions"}, + "Left":{"shape":"TableBorderOptions"}, + "Right":{"shape":"TableBorderOptions"}, + "Top":{"shape":"TableBorderOptions"}, + "Bottom":{"shape":"TableBorderOptions"} } }, - "Status":{ + "TableSortConfiguration":{ + "type":"structure", + "members":{ + "RowSort":{"shape":"RowSortList"}, + "PaginationConfiguration":{"shape":"PaginationConfiguration"} + } + }, + "TableTotalsPlacement":{ "type":"string", "enum":[ - "ENABLED", - "DISABLED" + "START", + "END" ] }, - "StatusCode":{"type":"integer"}, - "String":{"type":"string"}, - "StringList":{ - "type":"list", - "member":{"shape":"String"} + "TableTotalsScrollStatus":{ + "type":"string", + "enum":[ + "PINNED", + "SCROLLED" + ] }, - "StringParameter":{ + "TableUnaggregatedFieldWells":{ "type":"structure", - "required":[ - "Name", - "Values" - ], "members":{ - "Name":{"shape":"NonEmptyString"}, - "Values":{"shape":"StringList"} + "Values":{"shape":"UnaggregatedFieldList"} } }, - "StringParameterList":{ - "type":"list", - "member":{"shape":"StringParameter"}, - "max":100 + "TableVisual":{ + "type":"structure", + "required":["VisualId"], + "members":{ + "VisualId":{"shape":"ShortRestrictiveResourceId"}, + "Title":{"shape":"VisualTitleLabelOptions"}, + "Subtitle":{"shape":"VisualSubtitleLabelOptions"}, + "ChartConfiguration":{"shape":"TableConfiguration"}, + "ConditionalFormatting":{"shape":"TableConditionalFormatting"}, + "Actions":{"shape":"VisualCustomActionList"} + } }, "Tag":{ "type":"structure", @@ -8319,13 +13471,23 @@ "max":256, "min":1 }, + "TargetVisualList":{ + "type":"list", + "member":{"shape":"ShortRestrictiveResourceId"}, + "max":30, + "min":1 + }, + "TargetVisualOptions":{ + "type":"string", + "enum":["ALL_VISUALS"] + }, "Template":{ "type":"structure", "members":{ "Arn":{"shape":"Arn"}, "Name":{"shape":"TemplateName"}, "Version":{"shape":"TemplateVersion"}, - "TemplateId":{"shape":"RestrictiveResourceId"}, + "TemplateId":{"shape":"ShortRestrictiveResourceId"}, "LastUpdatedTime":{"shape":"Timestamp"}, "CreatedTime":{"shape":"Timestamp"} } @@ -8347,7 +13509,8 @@ "type":"structure", "members":{ "Type":{"shape":"TemplateErrorType"}, - "Message":{"shape":"NonEmptyString"} + "Message":{"shape":"NonEmptyString"}, + "ViolatedEntities":{"shape":"EntityList"} } }, "TemplateErrorList":{ @@ -8398,7 +13561,7 @@ "type":"structure", "members":{ "Arn":{"shape":"Arn"}, - "TemplateId":{"shape":"RestrictiveResourceId"}, + "TemplateId":{"shape":"ShortRestrictiveResourceId"}, "Name":{"shape":"TemplateName"}, "LatestVersionNumber":{"shape":"VersionNumber"}, "CreatedTime":{"shape":"Timestamp"}, @@ -8424,6 +13587,19 @@ "Sheets":{"shape":"SheetList"} } }, + "TemplateVersionDefinition":{ + "type":"structure", + "required":["DataSetConfigurations"], + "members":{ + "DataSetConfigurations":{"shape":"DataSetConfigurationList"}, + "Sheets":{"shape":"SheetDefinitionList"}, + "CalculatedFields":{"shape":"CalculatedFields"}, + "ParameterDeclarations":{"shape":"ParameterDeclarationList"}, + "FilterGroups":{"shape":"FilterGroupList"}, + "ColumnConfigurations":{"shape":"ColumnConfigurationList"}, + "AnalysisDefaults":{"shape":"AnalysisDefaults"} + } + }, "TemplateVersionSummary":{ "type":"structure", "members":{ @@ -8452,6 +13628,39 @@ "Database":{"shape":"Database"} } }, + "TextAreaControlDelimiter":{ + "type":"string", + "max":2048, + "min":1 + }, + "TextAreaControlDisplayOptions":{ + "type":"structure", + "members":{ + "TitleOptions":{"shape":"LabelOptions"}, + "PlaceholderOptions":{"shape":"TextControlPlaceholderOptions"} + } + }, + "TextConditionalFormat":{ + "type":"structure", + "members":{ + "BackgroundColor":{"shape":"ConditionalFormattingColor"}, + "TextColor":{"shape":"ConditionalFormattingColor"}, + "Icon":{"shape":"ConditionalFormattingIcon"} + } + }, + "TextControlPlaceholderOptions":{ + "type":"structure", + "members":{ + "Visibility":{"shape":"Visibility"} + } + }, + "TextFieldControlDisplayOptions":{ + "type":"structure", + "members":{ + "TitleOptions":{"shape":"LabelOptions"}, + "PlaceholderOptions":{"shape":"TextControlPlaceholderOptions"} + } + }, "TextQualifier":{ "type":"string", "enum":[ @@ -8459,12 +13668,19 @@ "SINGLE_QUOTE" ] }, + "TextWrap":{ + "type":"string", + "enum":[ + "NONE", + "WRAP" + ] + }, "Theme":{ "type":"structure", "members":{ "Arn":{"shape":"Arn"}, "Name":{"shape":"ThemeName"}, - "ThemeId":{"shape":"RestrictiveResourceId"}, + "ThemeId":{"shape":"ShortRestrictiveResourceId"}, "Version":{"shape":"ThemeVersion"}, "CreatedTime":{"shape":"Timestamp"}, "LastUpdatedTime":{"shape":"Timestamp"}, @@ -8489,7 +13705,8 @@ "members":{ "DataColorPalette":{"shape":"DataColorPalette"}, "UIColorPalette":{"shape":"UIColorPalette"}, - "Sheet":{"shape":"SheetStyle"} + "Sheet":{"shape":"SheetStyle"}, + "Typography":{"shape":"Typography"} } }, "ThemeError":{ @@ -8518,7 +13735,7 @@ "members":{ "Arn":{"shape":"Arn"}, "Name":{"shape":"ThemeName"}, - "ThemeId":{"shape":"RestrictiveResourceId"}, + "ThemeId":{"shape":"ShortRestrictiveResourceId"}, "LatestVersionNumber":{"shape":"VersionNumber"}, "CreatedTime":{"shape":"Timestamp"}, "LastUpdatedTime":{"shape":"Timestamp"} @@ -8543,7 +13760,7 @@ "VersionNumber":{"shape":"VersionNumber"}, "Arn":{"shape":"Arn"}, "Description":{"shape":"VersionDescription"}, - "BaseThemeId":{"shape":"RestrictiveResourceId"}, + "BaseThemeId":{"shape":"ShortRestrictiveResourceId"}, "CreatedTime":{"shape":"Timestamp"}, "Configuration":{"shape":"ThemeConfiguration"}, "Errors":{"shape":"ThemeErrorList"}, @@ -8565,6 +13782,13 @@ "member":{"shape":"ThemeVersionSummary"}, "max":100 }, + "ThousandSeparatorOptions":{ + "type":"structure", + "members":{ + "Symbol":{"shape":"NumericSeparatorSymbol"}, + "Visibility":{"shape":"Visibility"} + } + }, "ThrottlingException":{ "type":"structure", "members":{ @@ -8574,24 +13798,252 @@ "error":{"httpStatusCode":429}, "exception":true }, - "TileLayoutStyle":{ + "TileLayoutStyle":{ + "type":"structure", + "members":{ + "Gutter":{"shape":"GutterStyle"}, + "Margin":{"shape":"MarginStyle"} + } + }, + "TileStyle":{ + "type":"structure", + "members":{ + "Border":{"shape":"BorderStyle"} + } + }, + "TimeBasedForecastProperties":{ + "type":"structure", + "members":{ + "PeriodsForward":{ + "shape":"PeriodsForward", + "box":true + }, + "PeriodsBackward":{ + "shape":"PeriodsBackward", + "box":true + }, + "UpperBoundary":{ + "shape":"Double", + "box":true + }, + "LowerBoundary":{ + "shape":"Double", + "box":true + }, + "PredictionInterval":{ + "shape":"PredictionInterval", + "box":true + }, + "Seasonality":{ + "shape":"Seasonality", + "box":true + } + } + }, + "TimeEqualityFilter":{ + "type":"structure", + "required":[ + "FilterId", + "Column" + ], + "members":{ + "FilterId":{"shape":"ShortRestrictiveResourceId"}, + "Column":{"shape":"ColumnIdentifier"}, + "Value":{"shape":"Timestamp"}, + "ParameterName":{"shape":"ParameterName"}, + "TimeGranularity":{"shape":"TimeGranularity"} + } + }, + "TimeGranularity":{ + "type":"string", + "enum":[ + "YEAR", + "QUARTER", + "MONTH", + "WEEK", + "DAY", + "HOUR", + "MINUTE", + "SECOND", + "MILLISECOND" + ] + }, + "TimeRangeDrillDownFilter":{ + "type":"structure", + "required":[ + "Column", + "RangeMinimum", + "RangeMaximum", + "TimeGranularity" + ], + "members":{ + "Column":{"shape":"ColumnIdentifier"}, + "RangeMinimum":{"shape":"Timestamp"}, + "RangeMaximum":{"shape":"Timestamp"}, + "TimeGranularity":{"shape":"TimeGranularity"} + } + }, + "TimeRangeFilter":{ + "type":"structure", + "required":[ + "FilterId", + "Column", + "NullOption" + ], + "members":{ + "FilterId":{"shape":"ShortRestrictiveResourceId"}, + "Column":{"shape":"ColumnIdentifier"}, + "IncludeMinimum":{ + "shape":"Boolean", + "box":true + }, + "IncludeMaximum":{ + "shape":"Boolean", + "box":true + }, + "RangeMinimumValue":{"shape":"TimeRangeFilterValue"}, + "RangeMaximumValue":{"shape":"TimeRangeFilterValue"}, + "NullOption":{"shape":"FilterNullOption"}, + "ExcludePeriodConfiguration":{"shape":"ExcludePeriodConfiguration"}, + "TimeGranularity":{"shape":"TimeGranularity"} + } + }, + "TimeRangeFilterValue":{ + "type":"structure", + "members":{ + "StaticValue":{"shape":"Timestamp"}, + "RollingDate":{"shape":"RollingDateConfiguration"}, + "Parameter":{"shape":"ParameterName"} + } + }, + "Timestamp":{"type":"timestamp"}, + "TooltipItem":{ + "type":"structure", + "members":{ + "FieldTooltipItem":{"shape":"FieldTooltipItem"}, + "ColumnTooltipItem":{"shape":"ColumnTooltipItem"} + } + }, + "TooltipItemList":{ + "type":"list", + "member":{"shape":"TooltipItem"}, + "max":100 + }, + "TooltipOptions":{ + "type":"structure", + "members":{ + "TooltipVisibility":{"shape":"Visibility"}, + "SelectedTooltipType":{"shape":"SelectedTooltipType"}, + "FieldBasedTooltip":{"shape":"FieldBasedTooltip"} + } + }, + "TooltipTitleType":{ + "type":"string", + "enum":[ + "NONE", + "PRIMARY_VALUE" + ] + }, + "TopBottomComputationType":{ + "type":"string", + "enum":[ + "TOP", + "BOTTOM" + ] + }, + "TopBottomFilter":{ + "type":"structure", + "required":[ + "FilterId", + "Column", + "AggregationSortConfigurations" + ], + "members":{ + "FilterId":{"shape":"ShortRestrictiveResourceId"}, + "Column":{"shape":"ColumnIdentifier"}, + "Limit":{ + "shape":"Integer", + "box":true + }, + "AggregationSortConfigurations":{"shape":"AggregationSortConfigurationList"}, + "TimeGranularity":{"shape":"TimeGranularity"}, + "ParameterName":{"shape":"ParameterName"} + } + }, + "TopBottomMoversComputation":{ + "type":"structure", + "required":[ + "ComputationId", + "Time", + "Category", + "Type" + ], + "members":{ + "ComputationId":{"shape":"ShortRestrictiveResourceId"}, + "Name":{"shape":"String"}, + "Time":{"shape":"DimensionField"}, + "Category":{"shape":"DimensionField"}, + "Value":{"shape":"MeasureField"}, + "MoverSize":{"shape":"TopBottomMoversComputationMoverSize"}, + "SortOrder":{"shape":"TopBottomSortOrder"}, + "Type":{"shape":"TopBottomComputationType"} + } + }, + "TopBottomMoversComputationMoverSize":{ + "type":"integer", + "max":20, + "min":1 + }, + "TopBottomRankedComputation":{ + "type":"structure", + "required":[ + "ComputationId", + "Category", + "Type" + ], + "members":{ + "ComputationId":{"shape":"ShortRestrictiveResourceId"}, + "Name":{"shape":"String"}, + "Category":{"shape":"DimensionField"}, + "Value":{"shape":"MeasureField"}, + "ResultSize":{"shape":"TopBottomRankedComputationResultSize"}, + "Type":{"shape":"TopBottomComputationType"} + } + }, + "TopBottomRankedComputationResultSize":{ + "type":"integer", + "max":20, + "min":1 + }, + "TopBottomSortOrder":{ + "type":"string", + "enum":[ + "PERCENT_DIFFERENCE", + "ABSOLUTE_DIFFERENCE" + ] + }, + "TotalAggregationComputation":{ "type":"structure", + "required":[ + "ComputationId", + "Value" + ], "members":{ - "Gutter":{"shape":"GutterStyle"}, - "Margin":{"shape":"MarginStyle"} + "ComputationId":{"shape":"ShortRestrictiveResourceId"}, + "Name":{"shape":"String"}, + "Value":{"shape":"MeasureField"} } }, - "TileStyle":{ + "TotalOptions":{ "type":"structure", "members":{ - "Border":{"shape":"BorderStyle"} + "TotalsVisibility":{"shape":"Visibility"}, + "Placement":{"shape":"TableTotalsPlacement"}, + "ScrollStatus":{"shape":"TableTotalsScrollStatus"}, + "CustomLabel":{"shape":"String"}, + "TotalCellStyle":{"shape":"TableCellStyle"} } }, - "Timestamp":{"type":"timestamp"}, - "TimestampList":{ - "type":"list", - "member":{"shape":"Timestamp"} - }, "TransformOperation":{ "type":"structure", "members":{ @@ -8610,6 +14062,69 @@ "max":2048, "min":1 }, + "TreeMapAggregatedFieldWells":{ + "type":"structure", + "members":{ + "Groups":{"shape":"TreeMapDimensionFieldList"}, + "Sizes":{"shape":"TreeMapMeasureFieldList"}, + "Colors":{"shape":"TreeMapMeasureFieldList"} + } + }, + "TreeMapConfiguration":{ + "type":"structure", + "members":{ + "FieldWells":{"shape":"TreeMapFieldWells"}, + "SortConfiguration":{"shape":"TreeMapSortConfiguration"}, + "GroupLabelOptions":{"shape":"ChartAxisLabelOptions"}, + "SizeLabelOptions":{"shape":"ChartAxisLabelOptions"}, + "ColorLabelOptions":{"shape":"ChartAxisLabelOptions"}, + "ColorScale":{"shape":"ColorScale"}, + "Legend":{"shape":"LegendOptions"}, + "DataLabels":{"shape":"DataLabelOptions"}, + "Tooltip":{"shape":"TooltipOptions"} + } + }, + "TreeMapDimensionFieldList":{ + "type":"list", + "member":{"shape":"DimensionField"}, + "max":1 + }, + "TreeMapFieldWells":{ + "type":"structure", + "members":{ + "TreeMapAggregatedFieldWells":{"shape":"TreeMapAggregatedFieldWells"} + } + }, + "TreeMapMeasureFieldList":{ + "type":"list", + "member":{"shape":"MeasureField"}, + "max":1 + }, + "TreeMapSortConfiguration":{ + "type":"structure", + "members":{ + "TreeMapSort":{"shape":"FieldSortOptionsList"}, + "TreeMapGroupItemsLimitConfiguration":{"shape":"ItemsLimitConfiguration"} + } + }, + "TreeMapVisual":{ + "type":"structure", + "required":["VisualId"], + "members":{ + "VisualId":{"shape":"ShortRestrictiveResourceId"}, + "Title":{"shape":"VisualTitleLabelOptions"}, + "Subtitle":{"shape":"VisualSubtitleLabelOptions"}, + "ChartConfiguration":{"shape":"TreeMapConfiguration"}, + "Actions":{"shape":"VisualCustomActionList"}, + "ColumnHierarchies":{"shape":"ColumnHierarchyList"} + } + }, + "TrendArrowOptions":{ + "type":"structure", + "members":{ + "Visibility":{"shape":"Visibility"} + } + }, "TwitterParameters":{ "type":"structure", "required":[ @@ -8625,6 +14140,12 @@ "type":"string", "max":32 }, + "Typography":{ + "type":"structure", + "members":{ + "FontFamilies":{"shape":"FontList"} + } + }, "UIColorPalette":{ "type":"structure", "members":{ @@ -8646,6 +14167,53 @@ "MeasureForeground":{"shape":"HexColor"} } }, + "URLOperationTemplate":{ + "type":"string", + "max":2048, + "min":1 + }, + "URLTargetConfiguration":{ + "type":"string", + "enum":[ + "NEW_TAB", + "NEW_WINDOW", + "SAME_TAB" + ] + }, + "UnaggregatedField":{ + "type":"structure", + "required":[ + "FieldId", + "Column" + ], + "members":{ + "FieldId":{"shape":"FieldId"}, + "Column":{"shape":"ColumnIdentifier"}, + "FormatConfiguration":{"shape":"FormatConfiguration"} + } + }, + "UnaggregatedFieldList":{ + "type":"list", + "member":{"shape":"UnaggregatedField"}, + "max":200 + }, + "UnicodeIcon":{ + "type":"string", + "pattern":"^[^\\u0000-\\u00FF]$" + }, + "UniqueValuesComputation":{ + "type":"structure", + "required":[ + "ComputationId", + "Category" + ], + "members":{ + "ComputationId":{"shape":"ShortRestrictiveResourceId"}, + "Name":{"shape":"String"}, + "Category":{"shape":"DimensionField"} + } + }, + "UnlimitedPixelLength":{"type":"string"}, "UnsupportedPricingPlanException":{ "type":"structure", "members":{ @@ -8778,7 +14346,7 @@ "locationName":"AwsAccountId" }, "AnalysisId":{ - "shape":"RestrictiveResourceId", + "shape":"ShortRestrictiveResourceId", "location":"uri", "locationName":"AnalysisId" }, @@ -8790,7 +14358,7 @@ "type":"structure", "members":{ "AnalysisArn":{"shape":"Arn"}, - "AnalysisId":{"shape":"RestrictiveResourceId"}, + "AnalysisId":{"shape":"ShortRestrictiveResourceId"}, "Permissions":{"shape":"ResourcePermissionList"}, "RequestId":{"shape":"String"}, "Status":{ @@ -8804,8 +14372,7 @@ "required":[ "AwsAccountId", "AnalysisId", - "Name", - "SourceEntity" + "Name" ], "members":{ "AwsAccountId":{ @@ -8814,21 +14381,22 @@ "locationName":"AwsAccountId" }, "AnalysisId":{ - "shape":"RestrictiveResourceId", + "shape":"ShortRestrictiveResourceId", "location":"uri", "locationName":"AnalysisId" }, "Name":{"shape":"AnalysisName"}, "Parameters":{"shape":"Parameters"}, "SourceEntity":{"shape":"AnalysisSourceEntity"}, - "ThemeArn":{"shape":"Arn"} + "ThemeArn":{"shape":"Arn"}, + "Definition":{"shape":"AnalysisDefinition"} } }, "UpdateAnalysisResponse":{ "type":"structure", "members":{ "Arn":{"shape":"Arn"}, - "AnalysisId":{"shape":"RestrictiveResourceId"}, + "AnalysisId":{"shape":"ShortRestrictiveResourceId"}, "UpdateStatus":{"shape":"ResourceStatus"}, "Status":{ "shape":"StatusCode", @@ -8850,7 +14418,7 @@ "locationName":"AwsAccountId" }, "DashboardId":{ - "shape":"RestrictiveResourceId", + "shape":"ShortRestrictiveResourceId", "location":"uri", "locationName":"DashboardId" }, @@ -8864,7 +14432,7 @@ "type":"structure", "members":{ "DashboardArn":{"shape":"Arn"}, - "DashboardId":{"shape":"RestrictiveResourceId"}, + "DashboardId":{"shape":"ShortRestrictiveResourceId"}, "Permissions":{"shape":"ResourcePermissionList"}, "RequestId":{"shape":"String"}, "Status":{ @@ -8888,7 +14456,7 @@ "locationName":"AwsAccountId" }, "DashboardId":{ - "shape":"RestrictiveResourceId", + "shape":"ShortRestrictiveResourceId", "location":"uri", "locationName":"DashboardId" }, @@ -8902,7 +14470,7 @@ "UpdateDashboardPublishedVersionResponse":{ "type":"structure", "members":{ - "DashboardId":{"shape":"RestrictiveResourceId"}, + "DashboardId":{"shape":"ShortRestrictiveResourceId"}, "DashboardArn":{"shape":"Arn"}, "Status":{ "shape":"StatusCode", @@ -8916,8 +14484,7 @@ "required":[ "AwsAccountId", "DashboardId", - "Name", - "SourceEntity" + "Name" ], "members":{ "AwsAccountId":{ @@ -8926,7 +14493,7 @@ "locationName":"AwsAccountId" }, "DashboardId":{ - "shape":"RestrictiveResourceId", + "shape":"ShortRestrictiveResourceId", "location":"uri", "locationName":"DashboardId" }, @@ -8935,7 +14502,8 @@ "Parameters":{"shape":"Parameters"}, "VersionDescription":{"shape":"VersionDescription"}, "DashboardPublishOptions":{"shape":"DashboardPublishOptions"}, - "ThemeArn":{"shape":"Arn"} + "ThemeArn":{"shape":"Arn"}, + "Definition":{"shape":"DashboardVersionDefinition"} } }, "UpdateDashboardResponse":{ @@ -8943,7 +14511,7 @@ "members":{ "Arn":{"shape":"Arn"}, "VersionArn":{"shape":"Arn"}, - "DashboardId":{"shape":"RestrictiveResourceId"}, + "DashboardId":{"shape":"ShortRestrictiveResourceId"}, "CreationStatus":{"shape":"ResourceStatus"}, "Status":{"shape":"StatusCode"}, "RequestId":{"shape":"String"} @@ -9314,7 +14882,7 @@ "locationName":"AwsAccountId" }, "TemplateId":{ - "shape":"RestrictiveResourceId", + "shape":"ShortRestrictiveResourceId", "location":"uri", "locationName":"TemplateId" }, @@ -9350,7 +14918,7 @@ "locationName":"AwsAccountId" }, "TemplateId":{ - "shape":"RestrictiveResourceId", + "shape":"ShortRestrictiveResourceId", "location":"uri", "locationName":"TemplateId" }, @@ -9361,7 +14929,7 @@ "UpdateTemplatePermissionsResponse":{ "type":"structure", "members":{ - "TemplateId":{"shape":"RestrictiveResourceId"}, + "TemplateId":{"shape":"ShortRestrictiveResourceId"}, "TemplateArn":{"shape":"Arn"}, "Permissions":{"shape":"ResourcePermissionList"}, "RequestId":{"shape":"String"}, @@ -9375,8 +14943,7 @@ "type":"structure", "required":[ "AwsAccountId", - "TemplateId", - "SourceEntity" + "TemplateId" ], "members":{ "AwsAccountId":{ @@ -9385,19 +14952,20 @@ "locationName":"AwsAccountId" }, "TemplateId":{ - "shape":"RestrictiveResourceId", + "shape":"ShortRestrictiveResourceId", "location":"uri", "locationName":"TemplateId" }, "SourceEntity":{"shape":"TemplateSourceEntity"}, "VersionDescription":{"shape":"VersionDescription"}, - "Name":{"shape":"TemplateName"} + "Name":{"shape":"TemplateName"}, + "Definition":{"shape":"TemplateVersionDefinition"} } }, "UpdateTemplateResponse":{ "type":"structure", "members":{ - "TemplateId":{"shape":"RestrictiveResourceId"}, + "TemplateId":{"shape":"ShortRestrictiveResourceId"}, "Arn":{"shape":"Arn"}, "VersionArn":{"shape":"Arn"}, "CreationStatus":{"shape":"ResourceStatus"}, @@ -9423,7 +14991,7 @@ "locationName":"AwsAccountId" }, "ThemeId":{ - "shape":"RestrictiveResourceId", + "shape":"ShortRestrictiveResourceId", "location":"uri", "locationName":"ThemeId" }, @@ -9459,7 +15027,7 @@ "locationName":"AwsAccountId" }, "ThemeId":{ - "shape":"RestrictiveResourceId", + "shape":"ShortRestrictiveResourceId", "location":"uri", "locationName":"ThemeId" }, @@ -9470,7 +15038,7 @@ "UpdateThemePermissionsResponse":{ "type":"structure", "members":{ - "ThemeId":{"shape":"RestrictiveResourceId"}, + "ThemeId":{"shape":"ShortRestrictiveResourceId"}, "ThemeArn":{"shape":"Arn"}, "Permissions":{"shape":"ResourcePermissionList"}, "RequestId":{"shape":"String"}, @@ -9494,12 +15062,12 @@ "locationName":"AwsAccountId" }, "ThemeId":{ - "shape":"RestrictiveResourceId", + "shape":"ShortRestrictiveResourceId", "location":"uri", "locationName":"ThemeId" }, "Name":{"shape":"ThemeName"}, - "BaseThemeId":{"shape":"RestrictiveResourceId"}, + "BaseThemeId":{"shape":"ShortRestrictiveResourceId"}, "VersionDescription":{"shape":"VersionDescription"}, "Configuration":{"shape":"ThemeConfiguration"} } @@ -9507,7 +15075,7 @@ "UpdateThemeResponse":{ "type":"structure", "members":{ - "ThemeId":{"shape":"RestrictiveResourceId"}, + "ThemeId":{"shape":"ShortRestrictiveResourceId"}, "Arn":{"shape":"Arn"}, "VersionArn":{"shape":"Arn"}, "CreationStatus":{"shape":"ResourceStatus"}, @@ -9619,6 +15187,13 @@ "max":64, "min":1 }, + "ValueWhenUnsetOption":{ + "type":"string", + "enum":[ + "RECOMMENDED_VALUE", + "NULL" + ] + }, "VersionDescription":{ "type":"string", "max":512, @@ -9628,6 +15203,138 @@ "type":"long", "min":1 }, + "VerticalTextAlignment":{ + "type":"string", + "enum":[ + "TOP", + "MIDDLE", + "BOTTOM" + ] + }, + "Visibility":{ + "type":"string", + "enum":[ + "HIDDEN", + "VISIBLE" + ] + }, + "VisiblePanelColumns":{ + "type":"long", + "max":10, + "min":1 + }, + "VisiblePanelRows":{ + "type":"long", + "max":10, + "min":1 + }, + "VisibleRangeOptions":{ + "type":"structure", + "members":{ + "PercentRange":{"shape":"PercentVisibleRange"} + } + }, + "Visual":{ + "type":"structure", + "members":{ + "TableVisual":{"shape":"TableVisual"}, + "PivotTableVisual":{"shape":"PivotTableVisual"}, + "BarChartVisual":{"shape":"BarChartVisual"}, + "KPIVisual":{"shape":"KPIVisual"}, + "PieChartVisual":{"shape":"PieChartVisual"}, + "GaugeChartVisual":{"shape":"GaugeChartVisual"}, + "LineChartVisual":{"shape":"LineChartVisual"}, + "HeatMapVisual":{"shape":"HeatMapVisual"}, + "TreeMapVisual":{"shape":"TreeMapVisual"}, + "GeospatialMapVisual":{"shape":"GeospatialMapVisual"}, + "FilledMapVisual":{"shape":"FilledMapVisual"}, + "FunnelChartVisual":{"shape":"FunnelChartVisual"}, + "ScatterPlotVisual":{"shape":"ScatterPlotVisual"}, + "ComboChartVisual":{"shape":"ComboChartVisual"}, + "BoxPlotVisual":{"shape":"BoxPlotVisual"}, + "WaterfallVisual":{"shape":"WaterfallVisual"}, + "HistogramVisual":{"shape":"HistogramVisual"}, + "WordCloudVisual":{"shape":"WordCloudVisual"}, + "InsightVisual":{"shape":"InsightVisual"}, + "SankeyDiagramVisual":{"shape":"SankeyDiagramVisual"}, + "CustomContentVisual":{"shape":"CustomContentVisual"}, + "EmptyVisual":{"shape":"EmptyVisual"} + } + }, + "VisualCustomAction":{ + "type":"structure", + "required":[ + "CustomActionId", + "Name", + "Trigger", + "ActionOperations" + ], + "members":{ + "CustomActionId":{"shape":"ShortRestrictiveResourceId"}, + "Name":{"shape":"VisualCustomActionName"}, + "Status":{"shape":"WidgetStatus"}, + "Trigger":{"shape":"VisualCustomActionTrigger"}, + "ActionOperations":{"shape":"VisualCustomActionOperationList"} + } + }, + "VisualCustomActionList":{ + "type":"list", + "member":{"shape":"VisualCustomAction"}, + "max":10 + }, + "VisualCustomActionName":{ + "type":"string", + "max":256, + "min":1 + }, + "VisualCustomActionOperation":{ + "type":"structure", + "members":{ + "FilterOperation":{"shape":"CustomActionFilterOperation"}, + "NavigationOperation":{"shape":"CustomActionNavigationOperation"}, + "URLOperation":{"shape":"CustomActionURLOperation"}, + "SetParametersOperation":{"shape":"CustomActionSetParametersOperation"} + } + }, + "VisualCustomActionOperationList":{ + "type":"list", + "member":{"shape":"VisualCustomActionOperation"}, + "max":2, + "min":1 + }, + "VisualCustomActionTrigger":{ + "type":"string", + "enum":[ + "DATA_POINT_CLICK", + "DATA_POINT_MENU" + ] + }, + "VisualList":{ + "type":"list", + "member":{"shape":"Visual"}, + "max":30 + }, + "VisualPalette":{ + "type":"structure", + "members":{ + "ChartColor":{"shape":"HexColor"}, + "ColorMap":{"shape":"DataPathColorList"} + } + }, + "VisualSubtitleLabelOptions":{ + "type":"structure", + "members":{ + "Visibility":{"shape":"Visibility"}, + "FormatText":{"shape":"LongFormatText"} + } + }, + "VisualTitleLabelOptions":{ + "type":"structure", + "members":{ + "Visibility":{"shape":"Visibility"}, + "FormatText":{"shape":"ShortFormatText"} + } + }, "VpcConnectionProperties":{ "type":"structure", "required":["VpcConnectionArn"], @@ -9639,6 +15346,195 @@ "type":"string", "max":128 }, + "WaterfallChartAggregatedFieldWells":{ + "type":"structure", + "members":{ + "Categories":{"shape":"DimensionFieldList"}, + "Values":{"shape":"MeasureFieldList"}, + "Breakdowns":{"shape":"DimensionFieldList"} + } + }, + "WaterfallChartConfiguration":{ + "type":"structure", + "members":{ + "FieldWells":{"shape":"WaterfallChartFieldWells"}, + "SortConfiguration":{"shape":"WaterfallChartSortConfiguration"}, + "WaterfallChartOptions":{"shape":"WaterfallChartOptions"}, + "CategoryAxisLabelOptions":{"shape":"ChartAxisLabelOptions"}, + "CategoryAxisDisplayOptions":{"shape":"AxisDisplayOptions"}, + "PrimaryYAxisLabelOptions":{"shape":"ChartAxisLabelOptions"}, + "PrimaryYAxisDisplayOptions":{"shape":"AxisDisplayOptions"}, + "Legend":{"shape":"LegendOptions"}, + "DataLabels":{"shape":"DataLabelOptions"}, + "VisualPalette":{"shape":"VisualPalette"} + } + }, + "WaterfallChartFieldWells":{ + "type":"structure", + "members":{ + "WaterfallChartAggregatedFieldWells":{"shape":"WaterfallChartAggregatedFieldWells"} + } + }, + "WaterfallChartOptions":{ + "type":"structure", + "members":{ + "TotalBarLabel":{"shape":"String"} + } + }, + "WaterfallChartSortConfiguration":{ + "type":"structure", + "members":{ + "CategorySort":{"shape":"FieldSortOptionsList"}, + "BreakdownItemsLimit":{"shape":"ItemsLimitConfiguration"} + } + }, + "WaterfallVisual":{ + "type":"structure", + "required":["VisualId"], + "members":{ + "VisualId":{"shape":"ShortRestrictiveResourceId"}, + "Title":{"shape":"VisualTitleLabelOptions"}, + "Subtitle":{"shape":"VisualSubtitleLabelOptions"}, + "ChartConfiguration":{"shape":"WaterfallChartConfiguration"}, + "Actions":{"shape":"VisualCustomActionList"}, + "ColumnHierarchies":{"shape":"ColumnHierarchyList"} + } + }, + "WhatIfPointScenario":{ + "type":"structure", + "required":[ + "Date", + "Value" + ], + "members":{ + "Date":{"shape":"Timestamp"}, + "Value":{"shape":"Double"} + } + }, + "WhatIfRangeScenario":{ + "type":"structure", + "required":[ + "StartDate", + "EndDate", + "Value" + ], + "members":{ + "StartDate":{"shape":"Timestamp"}, + "EndDate":{"shape":"Timestamp"}, + "Value":{"shape":"Double"} + } + }, + "WidgetStatus":{ + "type":"string", + "enum":[ + "ENABLED", + "DISABLED" + ] + }, + "WordCloudAggregatedFieldWells":{ + "type":"structure", + "members":{ + "GroupBy":{"shape":"WordCloudDimensionFieldList"}, + "Size":{"shape":"WordCloudMeasureFieldList"} + } + }, + "WordCloudChartConfiguration":{ + "type":"structure", + "members":{ + "FieldWells":{"shape":"WordCloudFieldWells"}, + "SortConfiguration":{"shape":"WordCloudSortConfiguration"}, + "CategoryLabelOptions":{"shape":"ChartAxisLabelOptions"}, + "WordCloudOptions":{"shape":"WordCloudOptions"} + } + }, + "WordCloudCloudLayout":{ + "type":"string", + "enum":[ + "FLUID", + "NORMAL" + ] + }, + "WordCloudDimensionFieldList":{ + "type":"list", + "member":{"shape":"DimensionField"}, + "max":10 + }, + "WordCloudFieldWells":{ + "type":"structure", + "members":{ + "WordCloudAggregatedFieldWells":{"shape":"WordCloudAggregatedFieldWells"} + } + }, + "WordCloudMaximumStringLength":{ + "type":"integer", + "max":100, + "min":1 + }, + "WordCloudMeasureFieldList":{ + "type":"list", + "member":{"shape":"MeasureField"}, + "max":1 + }, + "WordCloudOptions":{ + "type":"structure", + "members":{ + "WordOrientation":{"shape":"WordCloudWordOrientation"}, + "WordScaling":{"shape":"WordCloudWordScaling"}, + "CloudLayout":{"shape":"WordCloudCloudLayout"}, + "WordCasing":{"shape":"WordCloudWordCasing"}, + "WordPadding":{"shape":"WordCloudWordPadding"}, + "MaximumStringLength":{"shape":"WordCloudMaximumStringLength"} + } + }, + "WordCloudSortConfiguration":{ + "type":"structure", + "members":{ + "CategoryItemsLimit":{"shape":"ItemsLimitConfiguration"}, + "CategorySort":{"shape":"FieldSortOptionsList"} + } + }, + "WordCloudVisual":{ + "type":"structure", + "required":["VisualId"], + "members":{ + "VisualId":{"shape":"ShortRestrictiveResourceId"}, + "Title":{"shape":"VisualTitleLabelOptions"}, + "Subtitle":{"shape":"VisualSubtitleLabelOptions"}, + "ChartConfiguration":{"shape":"WordCloudChartConfiguration"}, + "Actions":{"shape":"VisualCustomActionList"}, + "ColumnHierarchies":{"shape":"ColumnHierarchyList"} + } + }, + "WordCloudWordCasing":{ + "type":"string", + "enum":[ + "LOWER_CASE", + "EXISTING_CASE" + ] + }, + "WordCloudWordOrientation":{ + "type":"string", + "enum":[ + "HORIZONTAL", + "HORIZONTAL_AND_VERTICAL" + ] + }, + "WordCloudWordPadding":{ + "type":"string", + "enum":[ + "NONE", + "SMALL", + "MEDIUM", + "LARGE" + ] + }, + "WordCloudWordScaling":{ + "type":"string", + "enum":[ + "EMPHASIZE", + "NORMAL" + ] + }, "WorkGroup":{ "type":"string", "max":128, diff --git a/models/apis/quicksight/2018-04-01/docs-2.json b/models/apis/quicksight/2018-04-01/docs-2.json index 9dc55fb098c..04eb7fbbe29 100644 --- a/models/apis/quicksight/2018-04-01/docs-2.json +++ b/models/apis/quicksight/2018-04-01/docs-2.json @@ -42,8 +42,10 @@ "DescribeAccountSettings": "

Describes the settings that were used when your Amazon QuickSight subscription was first created in this Amazon Web Services account.

", "DescribeAccountSubscription": "

Use the DescribeAccountSubscription operation to receive a description of an Amazon QuickSight account's subscription. A successful API call returns an AccountInfo object that includes an account's name, subscription status, authentication type, edition, and notification email address.

", "DescribeAnalysis": "

Provides a summary of the metadata for an analysis.

", + "DescribeAnalysisDefinition": "

Provides a detailed description of the definition of an analysis.

If you do not need to know details about the content of an Analysis, for instance if you are trying to check the status of a recently created or updated Analysis, use the DescribeAnalysis instead.

", "DescribeAnalysisPermissions": "

Provides the read and write permissions for an analysis.

", "DescribeDashboard": "

Provides a summary for a dashboard.

", + "DescribeDashboardDefinition": "

Provides a detailed description of the definition of a dashboard.

If you do not need to know details about the content of a dashboard, for instance if you are trying to check the status of a recently created or updated dashboard, use the DescribeDashboard instead.

", "DescribeDashboardPermissions": "

Describes read and write permissions for a dashboard.

", "DescribeDataSet": "

Describes a dataset. This operation doesn't support datasets that include uploaded files as a source.

", "DescribeDataSetPermissions": "

Describes the permissions on a dataset.

The permissions resource is arn:aws:quicksight:region:aws-account-id:dataset/data-set-id.

", @@ -60,6 +62,7 @@ "DescribeNamespace": "

Describes the current namespace.

", "DescribeTemplate": "

Describes a template's metadata.

", "DescribeTemplateAlias": "

Describes the template alias for a template.

", + "DescribeTemplateDefinition": "

Provides a detailed description of the definition of a template.

If you do not need to know details about the content of a template, for instance if you are trying to check the status of a recently created or updated template, use the DescribeTemplate instead.

", "DescribeTemplatePermissions": "

Describes read and write permissions on a template.

", "DescribeTheme": "

Describes a theme.

", "DescribeThemeAlias": "

Describes the alias for a theme.

", @@ -184,6 +187,29 @@ "GetDashboardEmbedUrlRequest$AdditionalDashboardIds": "

A list of one or more dashboard IDs that you want anonymous users to have tempporary access to. Currently, the IdentityType parameter must be set to ANONYMOUS because other identity types authenticate as Amazon QuickSight or IAM users. For example, if you set \"--dashboard-id dash_id1 --dashboard-id dash_id2 dash_id3 identity-type ANONYMOUS\", the session can access all three dashboards.

" } }, + "AggregationFunction": { + "base": "

An aggregation function aggregates values from a dimension or measure.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", + "refs": { + "AggregationSortConfiguration$AggregationFunction": "

The function that aggregates the values in Column.

", + "ColumnSort$AggregationFunction": "

The aggregation function that is defined in the column sort.

", + "ColumnTooltipItem$Aggregation": "

The aggregation function of the column tooltip item.

", + "NumericEqualityFilter$AggregationFunction": "

The aggregation function of the filter.

", + "NumericRangeFilter$AggregationFunction": "

The aggregation function of the filter.

", + "ReferenceLineDynamicDataConfiguration$MeasureAggregationFunction": "

The aggregation function that is used in the dynamic data.

" + } + }, + "AggregationSortConfiguration": { + "base": "

The configuration options to sort aggregated values.

", + "refs": { + "AggregationSortConfigurationList$member": null + } + }, + "AggregationSortConfigurationList": { + "base": null, + "refs": { + "TopBottomFilter$AggregationSortConfigurations": "

The aggregation and sort configuration of the top bottom filter.

" + } + }, "AliasName": { "base": null, "refs": { @@ -193,8 +219,10 @@ "DeleteTemplateAliasResponse$AliasName": "

The name for the template alias.

", "DeleteThemeAliasRequest$AliasName": "

The unique name for the theme alias to delete.

", "DeleteThemeAliasResponse$AliasName": "

The name for the theme alias.

", + "DescribeDashboardDefinitionRequest$AliasName": "

The alias name.

", "DescribeDashboardRequest$AliasName": "

The alias name.

", "DescribeTemplateAliasRequest$AliasName": "

The name of the template alias that you want to describe. If you name a specific alias, you describe the version that the alias points to. You can specify the latest version of the template by providing the keyword $LATEST in the AliasName parameter. The keyword $PUBLISHED doesn't apply to templates.

", + "DescribeTemplateDefinitionRequest$AliasName": "

The alias of the template that you want to describe. If you name a specific alias, you describe the version that the alias points to. You can specify the latest version of the template by providing the keyword $LATEST in the AliasName parameter. The keyword $PUBLISHED doesn't apply to templates.

", "DescribeTemplateRequest$AliasName": "

The alias of the template that you want to describe. If you name a specific alias, you describe the version that the alias points to. You can specify the latest version of the template by providing the keyword $LATEST in the AliasName parameter. The keyword $PUBLISHED doesn't apply to templates.

", "DescribeThemeAliasRequest$AliasName": "

The name of the theme alias that you want to describe.

", "DescribeThemeRequest$AliasName": "

The alias of the theme that you want to describe. If you name a specific alias, you describe the version that the alias points to. You can specify the latest version of the theme by providing the keyword $LATEST in the AliasName parameter. The keyword $PUBLISHED doesn't apply to themes.

", @@ -222,6 +250,22 @@ "DescribeAnalysisResponse$Analysis": "

A metadata structure that contains summary information for the analysis that you're describing.

" } }, + "AnalysisDefaults": { + "base": "

The configuration for default analysis settings.

", + "refs": { + "AnalysisDefinition$AnalysisDefaults": null, + "DashboardVersionDefinition$AnalysisDefaults": null, + "TemplateVersionDefinition$AnalysisDefaults": null + } + }, + "AnalysisDefinition": { + "base": "

The definition of an analysis.

", + "refs": { + "CreateAnalysisRequest$Definition": "

The definition of an analysis.

A definition is the data model of all features in a Dashboard, Template, or Analysis.

", + "DescribeAnalysisDefinitionResponse$Definition": "

The definition of an analysis.

A definition is the data model of all features in a Dashboard, Template, or Analysis.

", + "UpdateAnalysisRequest$Definition": "

The definition of an analysis.

A definition is the data model of all features in a Dashboard, Template, or Analysis.

" + } + }, "AnalysisError": { "base": "

Analysis error.

", "refs": { @@ -231,7 +275,8 @@ "AnalysisErrorList": { "base": null, "refs": { - "Analysis$Errors": "

Errors associated with the analysis.

" + "Analysis$Errors": "

Errors associated with the analysis.

", + "DescribeAnalysisDefinitionResponse$Errors": "

Errors associated with the analysis.

" } }, "AnalysisErrorType": { @@ -252,6 +297,7 @@ "Analysis$Name": "

The descriptive name of the analysis.

", "AnalysisSummary$Name": "

The name of the analysis. This name is displayed in the Amazon QuickSight console.

", "CreateAnalysisRequest$Name": "

A descriptive name for the analysis that you're creating. This name displays for the analysis in the Amazon QuickSight console.

", + "DescribeAnalysisDefinitionResponse$Name": "

The descriptive name of the analysis.

", "UpdateAnalysisRequest$Name": "

A descriptive name for the analysis that you're updating. This name displays for the analysis in the Amazon QuickSight console.

" } }, @@ -293,6 +339,18 @@ "SearchAnalysesResponse$AnalysisSummaryList": "

Metadata describing the analyses that you searched for.

" } }, + "AnchorDateConfiguration": { + "base": "

The date configuration of the filter.

", + "refs": { + "RelativeDatesFilter$AnchorDateConfiguration": "

The date configuration of the filter.

" + } + }, + "AnchorOption": { + "base": null, + "refs": { + "AnchorDateConfiguration$AnchorOption": "

The options for the date configuration. Choose one of the options below:

" + } + }, "AnonymousUserDashboardEmbeddingConfiguration": { "base": "

Information about the dashboard that you want to embed.

", "refs": { @@ -317,6 +375,42 @@ "AnonymousUserEmbeddingExperienceConfiguration$QSearchBar": "

The Q search bar that you want to use for anonymous user embedding.

" } }, + "ArcAxisConfiguration": { + "base": "

The arc axis configuration of a GaugeChartVisual.

", + "refs": { + "GaugeChartOptions$ArcAxis": "

The arc axis configuration of a GaugeChartVisual.

" + } + }, + "ArcAxisDisplayRange": { + "base": "

The arc axis range of a GaugeChartVisual.

", + "refs": { + "ArcAxisConfiguration$Range": "

The arc axis range of a GaugeChartVisual.

" + } + }, + "ArcConfiguration": { + "base": "

The arc configuration of a GaugeChartVisual.

", + "refs": { + "GaugeChartOptions$Arc": "

The arc configuration of a GaugeChartVisual.

" + } + }, + "ArcOptions": { + "base": "

The options that determine the arc thickness of a GaugeChartVisual.

", + "refs": { + "DonutOptions$ArcOptions": "

The option for define the arc of the chart shape. Valid values are as follows:

" + } + }, + "ArcThickness": { + "base": null, + "refs": { + "ArcOptions$ArcThickness": "

The arc thickness of a GaugeChartVisual.

" + } + }, + "ArcThicknessOptions": { + "base": null, + "refs": { + "ArcConfiguration$ArcThickness": "

The options that determine the arc thickness of a GaugeChartVisual.

" + } + }, "Arn": { "base": null, "refs": { @@ -359,6 +453,7 @@ "DashboardVersionSummary$SourceEntityArn": "

Source entity ARN.

", "DataSet$Arn": "

The Amazon Resource Name (ARN) of the resource.

", "DataSetArnsList$member": null, + "DataSetIdentifierDeclaration$DataSetArn": "

The Amazon Resource Name (ARN) of the data set.

", "DataSetReference$DataSetArn": "

Dataset Amazon Resource Name (ARN).

", "DataSetSummary$Arn": "

The Amazon Resource Name (ARN) of the dataset.

", "DataSource$Arn": "

The Amazon Resource Name (ARN) of the data source.

", @@ -373,12 +468,15 @@ "DeleteThemeAliasResponse$Arn": "

The Amazon Resource Name (ARN) of the theme resource using the deleted alias.

", "DeleteThemeResponse$Arn": "

The Amazon Resource Name (ARN) of the resource.

", "DescribeAccountCustomizationResponse$Arn": "

The Amazon Resource Name (ARN) of the customization that's associated with this Amazon Web Services account.

", + "DescribeAnalysisDefinitionResponse$ThemeArn": "

The ARN of the theme of the analysis.

", "DescribeAnalysisPermissionsResponse$AnalysisArn": "

The Amazon Resource Name (ARN) of the analysis whose permissions you're describing.

", + "DescribeDashboardDefinitionResponse$ThemeArn": "

The ARN of the theme of the dashboard.

", "DescribeDashboardPermissionsResponse$DashboardArn": "

The Amazon Resource Name (ARN) of the dashboard.

", "DescribeDataSetPermissionsResponse$DataSetArn": "

The Amazon Resource Name (ARN) of the dataset.

", "DescribeDataSourcePermissionsResponse$DataSourceArn": "

The Amazon Resource Name (ARN) of the data source.

", "DescribeFolderPermissionsResponse$Arn": "

The Amazon Resource Name (ARN) for the folder.

", "DescribeFolderResolvedPermissionsResponse$Arn": "

The Amazon Resource Name (ARN) of the folder.

", + "DescribeTemplateDefinitionResponse$ThemeArn": "

The ARN of the theme of the template.

", "DescribeTemplatePermissionsResponse$TemplateArn": "

The Amazon Resource Name (ARN) of the template.

", "DescribeThemePermissionsResponse$ThemeArn": "

The Amazon Resource Name (ARN) of the theme.

", "Folder$Arn": "

The Amazon Resource Name (ARN) for the folder.

", @@ -529,8 +627,10 @@ "DescribeAccountCustomizationResponse$AwsAccountId": "

The ID for the Amazon Web Services account that you're describing.

", "DescribeAccountSettingsRequest$AwsAccountId": "

The ID for the Amazon Web Services account that contains the settings that you want to list.

", "DescribeAccountSubscriptionRequest$AwsAccountId": "

The Amazon Web Services account ID associated with your Amazon QuickSight account.

", + "DescribeAnalysisDefinitionRequest$AwsAccountId": "

The ID of the Amazon Web Services account that contains the analysis. You must be using the Amazon Web Services account that the analysis is in.

", "DescribeAnalysisPermissionsRequest$AwsAccountId": "

The ID of the Amazon Web Services account that contains the analysis whose permissions you're describing. You must be using the Amazon Web Services account that the analysis is in.

", "DescribeAnalysisRequest$AwsAccountId": "

The ID of the Amazon Web Services account that contains the analysis. You must be using the Amazon Web Services account that the analysis is in.

", + "DescribeDashboardDefinitionRequest$AwsAccountId": "

The ID of the Amazon Web Services account that contains the dashboard that you're describing.

", "DescribeDashboardPermissionsRequest$AwsAccountId": "

The ID of the Amazon Web Services account that contains the dashboard that you're describing permissions for.

", "DescribeDashboardRequest$AwsAccountId": "

The ID of the Amazon Web Services account that contains the dashboard that you're describing.

", "DescribeDataSetPermissionsRequest$AwsAccountId": "

The Amazon Web Services account ID.

", @@ -548,6 +648,7 @@ "DescribeIpRestrictionResponse$AwsAccountId": "

The ID of the Amazon Web Services account that contains the IP rules.

", "DescribeNamespaceRequest$AwsAccountId": "

The ID for the Amazon Web Services account that contains the Amazon QuickSight namespace that you want to describe.

", "DescribeTemplateAliasRequest$AwsAccountId": "

The ID of the Amazon Web Services account that contains the template alias that you're describing.

", + "DescribeTemplateDefinitionRequest$AwsAccountId": "

The ID of the Amazon Web Services account that contains the template. You must be using the Amazon Web Services account that the template is in.

", "DescribeTemplatePermissionsRequest$AwsAccountId": "

The ID of the Amazon Web Services account that contains the template that you're describing.

", "DescribeTemplateRequest$AwsAccountId": "

The ID of the Amazon Web Services account that contains the template that you're describing.

", "DescribeThemeAliasRequest$AwsAccountId": "

The ID of the Amazon Web Services account that contains the theme alias that you're describing.

", @@ -627,2667 +728,6003 @@ "DataSourceParameters$AwsIotAnalyticsParameters": "

The parameters for IoT Analytics.

" } }, - "Boolean": { + "AxisBinding": { "base": null, "refs": { - "AccountSettings$PublicSharingEnabled": "

A Boolean value that indicates whether public sharing is turned on for an Amazon QuickSight account. For more information about turning on public sharing, see UpdatePublicSharingSettings.

", - "AccountSettings$TerminationProtectionEnabled": "

A boolean value that determines whether or not an Amazon QuickSight account can be deleted. A True value doesn't allow the account to be deleted and results in an error message if a user tries to make a DeleteAccountSubsctiption request. A False value will allow the ccount to be deleted.

", - "DataSetSummary$RowLevelPermissionTagConfigurationApplied": "

Whether or not the row level permission tags are applied.

", - "DataSetSummary$ColumnLevelPermissionRulesApplied": "

A value that indicates if the dataset has column level permission configured.

", - "DataSetUsageConfiguration$DisableUseAsDirectQuerySource": "

An option that controls whether a child dataset of a direct query can use this dataset as a source.

", - "DataSetUsageConfiguration$DisableUseAsImportedSource": "

An option that controls whether a child dataset that's stored in QuickSight can use this dataset as a source.

", - "GetDashboardEmbedUrlRequest$UndoRedoDisabled": "

Remove the undo/redo button on the embedded dashboard. The default is FALSE, which enables the undo/redo button.

", - "GetDashboardEmbedUrlRequest$ResetDisabled": "

Remove the reset button on the embedded dashboard. The default is FALSE, which enables the reset button.

", - "GetDashboardEmbedUrlRequest$StatePersistenceEnabled": "

Adds persistence of state for the user session in an embedded dashboard. Persistence applies to the sheet and the parameter settings. These are control settings that the dashboard subscriber (Amazon QuickSight reader) chooses while viewing the dashboard. If this is set to TRUE, the settings are the same when the subscriber reopens the same dashboard URL. The state is stored in Amazon QuickSight, not in a browser cookie. If this is set to FALSE, the state of the user session is not persisted. The default is FALSE.

", - "JoinKeyProperties$UniqueKey": "

A value that indicates that a row in a table is uniquely identified by the columns in a join key. This is used by Amazon QuickSight to optimize query performance.

", - "SignupResponse$IAMUser": "

A Boolean that is TRUE if the Amazon QuickSight uses IAM as an authentication method.

", - "SslProperties$DisableSsl": "

A Boolean option to control whether SSL should be disabled.

", - "UpdateAccountSettingsRequest$TerminationProtectionEnabled": "

A boolean value that determines whether or not an Amazon QuickSight account can be deleted. A True value doesn't allow the account to be deleted and results in an error message if a user tries to make a DeleteAccountSubscription request. A False value will allow the account to be deleted.

", - "UpdatePublicSharingSettingsRequest$PublicSharingEnabled": "

A Boolean value that indicates whether public sharing is turned on for an Amazon QuickSight account.

", - "UpdateUserRequest$UnapplyCustomPermissions": "

A flag that you use to indicate that you want to remove all custom permissions from this user. Using this parameter resets the user to the state it was in before a custom permissions profile was applied. This parameter defaults to NULL and it doesn't accept any other value.

", - "UploadSettings$ContainsHeader": "

Whether the file has a header row, or the files each have a header row.

", - "User$Active": "

The active status of user. When you create an Amazon QuickSight user that’s not an IAM user or an Active Directory user, that user is inactive until they sign in and provide a password.

" - } - }, - "BorderStyle": { - "base": "

The display options for tile borders for visuals.

", - "refs": { - "TileStyle$Border": "

The border around a tile.

" + "DataFieldSeriesItem$AxisBinding": "

The axis that you are binding the field to.

", + "FieldSeriesItem$AxisBinding": "

The axis that you are binding the field to.

", + "LineChartDefaultSeriesSettings$AxisBinding": "

The axis to which you are binding all line series to.

", + "ReferenceLineDataConfiguration$AxisBinding": "

The axis binding type of the reference line. Choose one of the following options:

" } }, - "CIDR": { - "base": null, + "AxisDataOptions": { + "base": "

The data options for an axis.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", "refs": { - "IpRestrictionRuleMap$key": null + "AxisDisplayOptions$DataOptions": "

The data options for an axis.

" } }, - "CalculatedColumn": { - "base": "

A calculated column for a dataset.

", + "AxisDisplayDataDrivenRange": { + "base": "

The options that are saved for future extension.

", "refs": { - "CalculatedColumnList$member": null + "AxisDisplayRange$DataDriven": "

The data-driven setup of an axis display range.

" } }, - "CalculatedColumnList": { - "base": null, + "AxisDisplayMinMaxRange": { + "base": "

The minimum and maximum setup for an axis display range.

", "refs": { - "CreateColumnsOperation$Columns": "

Calculated columns to create.

" + "AxisDisplayRange$MinMax": "

The minimum and maximum setup of an axis display range.

" } }, - "CancelIngestionRequest": { - "base": null, + "AxisDisplayOptions": { + "base": "

The display options for the axis label.

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

The label display options (grid line, range, scale, axis step) for bar chart category.

", + "BarChartConfiguration$ValueAxis": "

The label display options (grid line, range, scale, axis step) for a bar chart value.

", + "BoxPlotChartConfiguration$CategoryAxis": "

The label display options (grid line, range, scale, axis step) of a box plot category.

", + "BoxPlotChartConfiguration$PrimaryYAxisDisplayOptions": "

The label display options (grid line, range, scale, axis step) of a box plot category.

", + "ComboChartConfiguration$CategoryAxis": "

The category axis of a combo chart.

", + "ComboChartConfiguration$PrimaryYAxisDisplayOptions": "

The label display options (grid line, range, scale, and axis step) of a combo chart's primary y-axis (bar) field well.

", + "ComboChartConfiguration$SecondaryYAxisDisplayOptions": "

The label display options (grid line, range, scale, axis step) of a combo chart's secondary y-axis (line) field well.

", + "HistogramConfiguration$XAxisDisplayOptions": "

The options that determine the presentation of the x-axis.

", + "HistogramConfiguration$YAxisDisplayOptions": "

The options that determine the presentation of the y-axis.

", + "LineChartConfiguration$XAxisDisplayOptions": "

The options that determine the presentation of the x-axis.

", + "LineSeriesAxisDisplayOptions$AxisOptions": "

The options that determine the presentation of the line series axis.

", + "ScatterPlotConfiguration$XAxisDisplayOptions": "

The label display options (grid line, range, scale, and axis step) of the scatter plot's x-axis.

", + "ScatterPlotConfiguration$YAxisDisplayOptions": "

The label display options (grid line, range, scale, and axis step) of the scatter plot's y-axis.

", + "WaterfallChartConfiguration$CategoryAxisDisplayOptions": "

The options that determine the presentation of the category axis.

", + "WaterfallChartConfiguration$PrimaryYAxisDisplayOptions": "

The options that determine the presentation of the y-axis.

" } }, - "CancelIngestionResponse": { - "base": null, + "AxisDisplayRange": { + "base": "

The range setup of a numeric axis display range.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", "refs": { + "NumericAxisOptions$Range": "

The range setup of a numeric axis.

" } }, - "CastColumnTypeOperation": { - "base": "

A transform operation that casts a column to a different type.

", + "AxisLabelOptions": { + "base": "

The label options for a chart axis. You must specify the field that the label is targeted to.

", "refs": { - "TransformOperation$CastColumnTypeOperation": "

A transform operation that casts a column to a different type.

" + "AxisLabelOptionsList$member": null } }, - "Catalog": { + "AxisLabelOptionsList": { "base": null, "refs": { - "PrestoParameters$Catalog": "

Catalog.

" + "ChartAxisLabelOptions$AxisLabelOptions": "

The label options for a chart axis.

" } }, - "ClusterId": { - "base": null, + "AxisLabelReferenceOptions": { + "base": "

The reference that specifies where the axis label is applied to.

", "refs": { - "RedshiftParameters$ClusterId": "

Cluster ID. This field can be blank if the Host and Port are provided.

" + "AxisLabelOptions$ApplyTo": "

The options that indicate which field the label belongs to.

" } }, - "ColorList": { - "base": null, + "AxisLinearScale": { + "base": "

The liner axis scale setup.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", "refs": { - "DataColorPalette$Colors": "

The hexadecimal codes for the colors.

", - "DataColorPalette$MinMaxGradient": "

The minimum and maximum hexadecimal codes that describe a color gradient.

" + "AxisScale$Linear": "

The linear axis scale setup.

" } }, - "ColumnDataType": { - "base": null, + "AxisLogarithmicScale": { + "base": "

The logarithmic axis scale setup.

", "refs": { - "CastColumnTypeOperation$NewColumnType": "

New column data type.

", - "OutputColumn$Type": "

Type.

" + "AxisScale$Logarithmic": "

The logarithmic axis scale setup.

" } }, - "ColumnDescription": { - "base": "

Metadata that contains a description for a column.

", + "AxisScale": { + "base": "

The scale setup options for a numeric axis display.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", "refs": { - "ColumnTag$ColumnDescription": "

A description for a column.

" + "NumericAxisOptions$Scale": "

The scale setup of a numeric axis.

" } }, - "ColumnDescriptiveText": { - "base": null, + "AxisTickLabelOptions": { + "base": "

The tick label options of an axis.

", "refs": { - "ColumnDescription$Text": "

The text of a description for a column.

", - "OutputColumn$Description": "

A description for a column.

" + "AxisDisplayOptions$TickLabelOptions": "

The tick label options of an axis.

" } }, - "ColumnGroup": { - "base": "

Groupings of columns that work together in certain Amazon QuickSight features. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.

", + "BarChartAggregatedFieldWells": { + "base": "

The aggregated field wells of a bar chart.

", "refs": { - "ColumnGroupList$member": null + "BarChartFieldWells$BarChartAggregatedFieldWells": "

The aggregated field wells of a bar chart.

" } }, - "ColumnGroupColumnSchema": { - "base": "

A structure describing the name, data type, and geographic role of the columns.

", + "BarChartConfiguration": { + "base": "

The configuration of a BarChartVisual.

", "refs": { - "ColumnGroupColumnSchemaList$member": null + "BarChartVisual$ChartConfiguration": "

The configuration settings of the visual.

" } }, - "ColumnGroupColumnSchemaList": { - "base": null, + "BarChartFieldWells": { + "base": "

The field wells of a BarChartVisual.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", "refs": { - "ColumnGroupSchema$ColumnGroupColumnSchemaList": "

A structure containing the list of schemas for column group columns.

" + "BarChartConfiguration$FieldWells": "

The field wells of the visual.

" } }, - "ColumnGroupList": { + "BarChartOrientation": { "base": null, "refs": { - "CreateDataSetRequest$ColumnGroups": "

Groupings of columns that work together in certain Amazon QuickSight features. Currently, only geospatial hierarchy is supported.

", - "DataSet$ColumnGroups": "

Groupings of columns that work together in certain Amazon QuickSight features. Currently, only geospatial hierarchy is supported.

", - "UpdateDataSetRequest$ColumnGroups": "

Groupings of columns that work together in certain Amazon QuickSight features. Currently, only geospatial hierarchy is supported.

" + "BarChartConfiguration$Orientation": "

The orientation of the bars in a bar chart visual. There are two valid values in this structure:

" } }, - "ColumnGroupName": { - "base": null, + "BarChartSortConfiguration": { + "base": "

sort-configuration-description

", "refs": { - "GeoSpatialColumnGroup$Name": "

A display name for the hierarchy.

" + "BarChartConfiguration$SortConfiguration": "

The sort configuration of a BarChartVisual.

" } }, - "ColumnGroupSchema": { - "base": "

The column group schema.

", + "BarChartVisual": { + "base": "

A bar chart.

The BarChartVisual structure describes a visual that is a member of the bar chart family. The following charts can be described using this structure:

For more information, see Using bar charts in the Amazon QuickSight User Guide.

", "refs": { - "ColumnGroupSchemaList$member": null + "Visual$BarChartVisual": "

A bar chart.

For more information, see Using bar charts in the Amazon QuickSight User Guide.

" } }, - "ColumnGroupSchemaList": { + "BarsArrangement": { "base": null, "refs": { - "DataSetConfiguration$ColumnGroupSchemaList": "

A structure containing the list of column group schemas.

" + "BarChartConfiguration$BarsArrangement": "

Determines the arrangement of the bars. The orientation and arrangement of bars determine the type of bar that is used in the visual.

", + "ComboChartConfiguration$BarsArrangement": "

Determines the bar arrangement in a combo chart. The following are valid values in this structure:

" } }, - "ColumnId": { + "BaseMapStyleType": { "base": null, "refs": { - "CalculatedColumn$ColumnId": "

A unique ID to identify a calculated column. During a dataset update, if the column ID of a calculated column matches that of an existing calculated column, Amazon QuickSight preserves the existing calculated column.

" + "GeospatialMapStyleOptions$BaseMapStyle": "

The base map style of the geospatial map.

" } }, - "ColumnLevelPermissionRule": { - "base": "

A rule defined to grant access on one or more restricted columns. Each dataset can have multiple rules. To create a restricted column, you add it to one or more rules. Each rule must contain at least one column and at least one user or group. To be able to see a restricted column, a user or group needs to be added to a rule for that column.

", + "BinCountLimit": { + "base": null, "refs": { - "ColumnLevelPermissionRuleList$member": null + "BinWidthOptions$BinCountLimit": "

The options that determine the bin count limit.

" } }, - "ColumnLevelPermissionRuleList": { - "base": null, + "BinCountOptions": { + "base": "

The options that determine the bin count of a histogram.

", "refs": { - "CreateDataSetRequest$ColumnLevelPermissionRules": "

A set of one or more definitions of a ColumnLevelPermissionRule .

", - "DataSet$ColumnLevelPermissionRules": "

A set of one or more definitions of a ColumnLevelPermissionRule .

", - "UpdateDataSetRequest$ColumnLevelPermissionRules": "

A set of one or more definitions of a ColumnLevelPermissionRule .

" + "HistogramBinOptions$BinCount": "

The options that determine the bin count of a histogram.

" } }, - "ColumnList": { + "BinCountValue": { "base": null, "refs": { - "GeoSpatialColumnGroup$Columns": "

Columns in this hierarchy.

" + "BinCountOptions$Value": "

The options that determine the bin count value.

" } }, - "ColumnName": { - "base": null, + "BinWidthOptions": { + "base": "

The options that determine the bin width of a histogram.

", "refs": { - "CalculatedColumn$ColumnName": "

Column name.

", - "CastColumnTypeOperation$ColumnName": "

Column name.

", - "ColumnList$member": null, - "InputColumn$Name": "

The name of this column in the underlying data source.

", - "OutputColumn$Name": "

A display name for the dataset.

", - "RenameColumnOperation$ColumnName": "

The name of the column to be renamed.

", - "RenameColumnOperation$NewColumnName": "

The new name for the column.

", - "TagColumnOperation$ColumnName": "

The column that this operation acts on.

", - "UntagColumnOperation$ColumnName": "

The column that this operation acts on.

" + "HistogramBinOptions$BinWidth": "

The options that determine the bin width of a histogram.

" } }, - "ColumnNameList": { + "BinWidthValue": { "base": null, "refs": { - "ColumnLevelPermissionRule$ColumnNames": "

An array of column names.

" + "BinWidthOptions$Value": "

The options that determine the bin width value.

" } }, - "ColumnSchema": { - "base": "

The column schema.

", + "BodySectionConfiguration": { + "base": "

The configuration of a body section.

", "refs": { - "ColumnSchemaList$member": null + "BodySectionConfigurationList$member": null } }, - "ColumnSchemaList": { + "BodySectionConfigurationList": { "base": null, "refs": { - "DataSetSchema$ColumnSchemaList": "

A structure containing the list of column schemas.

" + "SectionBasedLayoutConfiguration$BodySections": "

A list of body section configurations.

" } }, - "ColumnTag": { - "base": "

A tag for a column in a TagColumnOperation structure. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.

", + "BodySectionContent": { + "base": "

The configuration of content in a body section.

", "refs": { - "ColumnTagList$member": null + "BodySectionConfiguration$Content": "

The configuration of content in a body section.

" } }, - "ColumnTagList": { + "Boolean": { "base": null, "refs": { - "TagColumnOperation$Tags": "

The dataset column tag, currently only used for geospatial type tagging.

This is not tags for the Amazon Web Services tagging feature.

" + "AccountSettings$PublicSharingEnabled": "

A Boolean value that indicates whether public sharing is turned on for an Amazon QuickSight account. For more information about turning on public sharing, see UpdatePublicSharingSettings.

", + "AccountSettings$TerminationProtectionEnabled": "

A boolean value that determines whether or not an Amazon QuickSight account can be deleted. A True value doesn't allow the account to be deleted and results in an error message if a user tries to make a DeleteAccountSubsctiption request. A False value will allow the ccount to be deleted.

", + "BorderStyle$Show": "

The option to enable display of borders for visuals.

", + "DataSetSummary$RowLevelPermissionTagConfigurationApplied": "

Whether or not the row level permission tags are applied.

", + "DataSetSummary$ColumnLevelPermissionRulesApplied": "

A value that indicates if the dataset has column level permission configured.

", + "DataSetUsageConfiguration$DisableUseAsDirectQuerySource": "

An option that controls whether a child dataset of a direct query can use this dataset as a source.

", + "DataSetUsageConfiguration$DisableUseAsImportedSource": "

An option that controls whether a child dataset that's stored in QuickSight can use this dataset as a source.

", + "DeleteAnalysisRequest$ForceDeleteWithoutRecovery": "

This option defaults to the value NoForceDeleteWithoutRecovery. To immediately delete the analysis, add the ForceDeleteWithoutRecovery option. You can't restore an analysis after it's deleted.

", + "GetDashboardEmbedUrlRequest$UndoRedoDisabled": "

Remove the undo/redo button on the embedded dashboard. The default is FALSE, which enables the undo/redo button.

", + "GetDashboardEmbedUrlRequest$ResetDisabled": "

Remove the reset button on the embedded dashboard. The default is FALSE, which enables the reset button.

", + "GetDashboardEmbedUrlRequest$StatePersistenceEnabled": "

Adds persistence of state for the user session in an embedded dashboard. Persistence applies to the sheet and the parameter settings. These are control settings that the dashboard subscriber (Amazon QuickSight reader) chooses while viewing the dashboard. If this is set to TRUE, the settings are the same when the subscriber reopens the same dashboard URL. The state is stored in Amazon QuickSight, not in a browser cookie. If this is set to FALSE, the state of the user session is not persisted. The default is FALSE.

", + "GutterStyle$Show": "

This Boolean value controls whether to display a gutter space between sheet tiles.

", + "JoinKeyProperties$UniqueKey": "

A value that indicates that a row in a table is uniquely identified by the columns in a join key. This is used by Amazon QuickSight to optimize query performance.

", + "MarginStyle$Show": "

This Boolean value controls whether to display sheet margins.

", + "NumericRangeFilter$IncludeMinimum": "

Determines whether the minimum value in the filter value range should be included in the filtered results.

", + "NumericRangeFilter$IncludeMaximum": "

Determines whether the maximum value in the filter value range should be included in the filtered results.

", + "SignupResponse$IAMUser": "

A Boolean that is TRUE if the Amazon QuickSight uses IAM as an authentication method.

", + "SslProperties$DisableSsl": "

A Boolean option to control whether SSL should be disabled.

", + "TimeRangeFilter$IncludeMinimum": "

Determines whether the minimum value in the filter value range should be included in the filtered results.

", + "TimeRangeFilter$IncludeMaximum": "

Determines whether the maximum value in the filter value range should be included in the filtered results.

", + "UpdateAccountSettingsRequest$TerminationProtectionEnabled": "

A boolean value that determines whether or not an Amazon QuickSight account can be deleted. A True value doesn't allow the account to be deleted and results in an error message if a user tries to make a DeleteAccountSubscription request. A False value will allow the account to be deleted.

", + "UpdatePublicSharingSettingsRequest$PublicSharingEnabled": "

A Boolean value that indicates whether public sharing is turned on for an Amazon QuickSight account.

", + "UpdateUserRequest$UnapplyCustomPermissions": "

A flag that you use to indicate that you want to remove all custom permissions from this user. Using this parameter resets the user to the state it was in before a custom permissions profile was applied. This parameter defaults to NULL and it doesn't accept any other value.

", + "UploadSettings$ContainsHeader": "

Whether the file has a header row, or the files each have a header row.

", + "User$Active": "

The active status of user. When you create an Amazon QuickSight user that’s not an IAM user or an Active Directory user, that user is inactive until they sign in and provide a password.

" } }, - "ColumnTagName": { + "BooleanObject": { "base": null, "refs": { - "ColumnTagNames$member": null + "CustomValuesConfiguration$IncludeNullValue": "

Includes the null value in custom action parameter values.

" } }, - "ColumnTagNames": { - "base": null, + "BorderStyle": { + "base": "

The display options for tile borders for visuals.

", "refs": { - "UntagColumnOperation$TagNames": "

The column tags to remove from this column.

" + "TileStyle$Border": "

The border around a tile.

" } }, - "ConcurrentUpdatingException": { - "base": "

A resource is already in a state that indicates an operation is happening that must complete before a new update can be applied.

", + "BoxPlotAggregatedFieldWells": { + "base": "

The aggregated field well for a box plot.

", "refs": { + "BoxPlotFieldWells$BoxPlotAggregatedFieldWells": "

The aggregated field wells of a box plot.

" } }, - "ConflictException": { - "base": "

Updating or deleting a resource can cause an inconsistent state.

", + "BoxPlotChartConfiguration": { + "base": "

The configuration of a BoxPlotVisual.

", "refs": { + "BoxPlotVisual$ChartConfiguration": "

The configuration settings of the visual.

" } }, - "CopySourceArn": { + "BoxPlotDimensionFieldList": { "base": null, "refs": { - "DataSourceCredentials$CopySourceArn": "

The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use. When CopySourceArn is not null, the credential pair from the data source in the ARN is used as the credentials for the DataSourceCredentials structure.

" + "BoxPlotAggregatedFieldWells$GroupBy": "

The group by field well of a box plot chart. Values are grouped based on group by fields.

" } }, - "CreateAccountCustomizationRequest": { - "base": null, + "BoxPlotFieldWells": { + "base": "

The field wells of a BoxPlotVisual.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", "refs": { + "BoxPlotChartConfiguration$FieldWells": "

The field wells of the visual.

" } }, - "CreateAccountCustomizationResponse": { + "BoxPlotFillStyle": { "base": null, "refs": { + "BoxPlotStyleOptions$FillStyle": "

The fill styles (solid, transparent) of the box plot.

" } }, - "CreateAccountSubscriptionRequest": { + "BoxPlotMeasureFieldList": { "base": null, "refs": { + "BoxPlotAggregatedFieldWells$Values": "

The value field well of a box plot chart. Values are aggregated based on group by fields.

" } }, - "CreateAccountSubscriptionResponse": { - "base": null, + "BoxPlotOptions": { + "base": "

The options of a box plot visual.

", "refs": { + "BoxPlotChartConfiguration$BoxPlotOptions": "

The box plot chart options for a box plot visual

" } }, - "CreateAnalysisRequest": { - "base": null, + "BoxPlotSortConfiguration": { + "base": "

The sort configuration of a BoxPlotVisual.

", "refs": { + "BoxPlotChartConfiguration$SortConfiguration": "

The sort configuration of a BoxPlotVisual.

" } }, - "CreateAnalysisResponse": { - "base": null, + "BoxPlotStyleOptions": { + "base": "

The style options of the box plot.

", "refs": { + "BoxPlotOptions$StyleOptions": "

The style options of the box plot.

" } }, - "CreateColumnsOperation": { - "base": "

A transform operation that creates calculated columns. Columns created in one such operation form a lexical closure.

", + "BoxPlotVisual": { + "base": "

A box plot.

For more information, see Using box plots in the Amazon QuickSight User Guide.

", "refs": { - "TransformOperation$CreateColumnsOperation": "

An operation that creates calculated columns. Columns created in one such operation form a lexical closure.

" + "Visual$BoxPlotVisual": "

A box plot.

For more information, see Using box plots in the Amazon QuickSight User Guide.

" } }, - "CreateDashboardRequest": { + "CIDR": { "base": null, "refs": { + "IpRestrictionRuleMap$key": null } }, - "CreateDashboardResponse": { - "base": null, + "CalculatedColumn": { + "base": "

A calculated column for a dataset.

", "refs": { + "CalculatedColumnList$member": null } }, - "CreateDataSetRequest": { + "CalculatedColumnList": { "base": null, "refs": { + "CreateColumnsOperation$Columns": "

Calculated columns to create.

" } }, - "CreateDataSetResponse": { - "base": null, + "CalculatedField": { + "base": "

The calculated field of an analysis.

", "refs": { + "CalculatedFields$member": null } }, - "CreateDataSourceRequest": { + "CalculatedFields": { "base": null, "refs": { + "AnalysisDefinition$CalculatedFields": "

An array of calculated field definitions for the analysis.

", + "DashboardVersionDefinition$CalculatedFields": "

An array of calculated field definitions for the dashboard.

", + "TemplateVersionDefinition$CalculatedFields": "

An array of calculated field definitions for the template.

" } }, - "CreateDataSourceResponse": { - "base": null, + "CalculatedMeasureField": { + "base": "

The table calculation measure field for pivot tables.

", "refs": { + "MeasureField$CalculatedMeasureField": "

The calculated measure field only used in pivot tables.

" } }, - "CreateFolderMembershipRequest": { + "CancelIngestionRequest": { "base": null, "refs": { } }, - "CreateFolderMembershipResponse": { + "CancelIngestionResponse": { "base": null, "refs": { } }, - "CreateFolderRequest": { - "base": null, + "CascadingControlConfiguration": { + "base": "

The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls.

", "refs": { + "FilterDropDownControl$CascadingControlConfiguration": "

The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls.

", + "FilterListControl$CascadingControlConfiguration": "

The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls.

", + "ParameterDropDownControl$CascadingControlConfiguration": "

The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls.

", + "ParameterListControl$CascadingControlConfiguration": "

The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls.

" } }, - "CreateFolderResponse": { + "CascadingControlSource": { + "base": "

The source controls that are used in a CascadingControlConfiguration.

", + "refs": { + "CascadingControlSourceList$member": null + } + }, + "CascadingControlSourceList": { "base": null, "refs": { + "CascadingControlConfiguration$SourceControls": "

A list of source controls that determine the values that are used in the current control.

" } }, - "CreateGroupMembershipRequest": { + "CastColumnTypeOperation": { + "base": "

A transform operation that casts a column to a different type.

", + "refs": { + "TransformOperation$CastColumnTypeOperation": "

A transform operation that casts a column to a different type.

" + } + }, + "Catalog": { "base": null, "refs": { + "PrestoParameters$Catalog": "

Catalog.

" } }, - "CreateGroupMembershipResponse": { + "CategoricalAggregationFunction": { "base": null, "refs": { + "AggregationFunction$CategoricalAggregationFunction": "

Aggregation for categorical values.

", + "CategoricalMeasureField$AggregationFunction": "

The aggregation function of the measure field.

" } }, - "CreateGroupRequest": { - "base": "

The request object for this operation.

", + "CategoricalDimensionField": { + "base": "

The dimension type field with categorical type columns..

", "refs": { + "DimensionField$CategoricalDimensionField": "

The dimension type field with categorical type columns.

" } }, - "CreateGroupResponse": { - "base": "

The response object for this operation.

", + "CategoricalMeasureField": { + "base": "

The measure type field with categorical type columns.

", "refs": { + "MeasureField$CategoricalMeasureField": "

The measure type field with categorical type columns.

" } }, - "CreateIAMPolicyAssignmentRequest": { - "base": null, + "CategoryDrillDownFilter": { + "base": "

The numeric equality type drill down filter.

", "refs": { + "DrillDownFilter$CategoryFilter": "

The category type drill down filter. This filter is used for string type columns.

" } }, - "CreateIAMPolicyAssignmentResponse": { - "base": null, + "CategoryFilter": { + "base": "

A CategoryFilter filters text values.

For more information, see Adding text filters in the Amazon QuickSight User Guide.

", "refs": { + "Filter$CategoryFilter": "

A CategoryFilter filters text values.

For more information, see Adding text filters in the Amazon QuickSight User Guide.

" } }, - "CreateIngestionRequest": { - "base": null, + "CategoryFilterConfiguration": { + "base": "

The configuration for a CategoryFilter.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", "refs": { + "CategoryFilter$Configuration": "

The configuration for a CategoryFilter.

" } }, - "CreateIngestionResponse": { + "CategoryFilterMatchOperator": { "base": null, "refs": { + "CustomFilterConfiguration$MatchOperator": "

The match operator that is used to determine if a filter should be applied.

", + "CustomFilterListConfiguration$MatchOperator": "

The match operator that is used to determine if a filter should be applied.

", + "FilterListConfiguration$MatchOperator": "

The match operator that is used to determine if a filter should be applied.

" } }, - "CreateNamespaceRequest": { + "CategoryFilterSelectAllOptions": { "base": null, "refs": { + "CustomFilterConfiguration$SelectAllOptions": "

Select all of the values. Null is not the assigned value of select all.

", + "CustomFilterListConfiguration$SelectAllOptions": "

Select all of the values. Null is not the assigned value of select all.

", + "FilterListConfiguration$SelectAllOptions": "

Select all of the values. Null is not the assigned value of select all.

" } }, - "CreateNamespaceResponse": { + "CategoryValue": { "base": null, "refs": { + "CategoryValueList$member": null, + "CustomFilterConfiguration$CategoryValue": "

The category value for the filter.

This field is mutually exclusive to ParameterName.

" } }, - "CreateTemplateAliasRequest": { + "CategoryValueList": { "base": null, "refs": { + "CategoryDrillDownFilter$CategoryValues": "

A list of the string inputs that are the values of the category drill down filter.

", + "CustomFilterListConfiguration$CategoryValues": "

The list of category values for the filter.

", + "FilterListConfiguration$CategoryValues": "

The list of category values for the filter.

" } }, - "CreateTemplateAliasResponse": { - "base": null, + "ChartAxisLabelOptions": { + "base": "

The label options for an axis on a chart.

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

The label options (label text, label visibility and sort icon visibility) for a bar chart.

", + "BarChartConfiguration$ValueLabelOptions": "

The label options (label text, label visibility and sort icon visibility) for a bar chart value.

", + "BarChartConfiguration$ColorLabelOptions": "

The label options (label text, label visibility and sort icon visibility) for a color that is used in a bar chart.

", + "BoxPlotChartConfiguration$CategoryLabelOptions": "

The label options (label text, label visibility and sort Icon visibility) of a box plot category.

", + "BoxPlotChartConfiguration$PrimaryYAxisLabelOptions": "

The label options (label text, label visibility and sort icon visibility) of a box plot value.

", + "ComboChartConfiguration$CategoryLabelOptions": "

The label options (label text, label visibility, and sort icon visibility) of a combo chart category (group/color) field well.

", + "ComboChartConfiguration$PrimaryYAxisLabelOptions": "

The label options (label text, label visibility, and sort icon visibility) of a combo chart's primary y-axis (bar) field well.

", + "ComboChartConfiguration$SecondaryYAxisLabelOptions": "

The label options (label text, label visibility, and sort icon visibility) of a combo chart's secondary y-axis(line) field well.

", + "ComboChartConfiguration$ColorLabelOptions": "

The label options (label text, label visibility, and sort icon visibility) of a combo chart's color field well.

", + "FunnelChartConfiguration$CategoryLabelOptions": "

The label options of the categories that are displayed in a FunnelChartVisual.

", + "FunnelChartConfiguration$ValueLabelOptions": "

The label options for the values that are displayed in a FunnelChartVisual.

", + "HeatMapConfiguration$RowLabelOptions": "

The label options of the row that is displayed in a heat map.

", + "HeatMapConfiguration$ColumnLabelOptions": "

The label options of the column that is displayed in a heat map.

", + "HistogramConfiguration$XAxisLabelOptions": "

The options that determine the presentation of the x-axis label.

", + "LineChartConfiguration$XAxisLabelOptions": "

The options that determine the presentation of the x-axis label.

", + "LineChartConfiguration$PrimaryYAxisLabelOptions": "

The options that determine the presentation of the y-axis label.

", + "LineChartConfiguration$SecondaryYAxisLabelOptions": "

The options that determine the presentation of the secondary y-axis label.

", + "PieChartConfiguration$CategoryLabelOptions": "

The label options of the group/color that is displayed in a pie chart.

", + "PieChartConfiguration$ValueLabelOptions": "

The label options for the value that is displayed in a pie chart.

", + "ScatterPlotConfiguration$XAxisLabelOptions": "

The label options (label text, label visibility, and sort icon visibility) of the scatter plot's x-axis.

", + "ScatterPlotConfiguration$YAxisLabelOptions": "

The label options (label text, label visibility, and sort icon visibility) of the scatter plot's y-axis.

", + "TreeMapConfiguration$GroupLabelOptions": "

The label options (label text, label visibility) of the groups that are displayed in a tree map.

", + "TreeMapConfiguration$SizeLabelOptions": "

The label options (label text, label visibility) of the sizes that are displayed in a tree map.

", + "TreeMapConfiguration$ColorLabelOptions": "

The label options (label text, label visibility) for the colors displayed in a tree map.

", + "WaterfallChartConfiguration$CategoryAxisLabelOptions": "

The options that determine the presentation of the category axis label.

", + "WaterfallChartConfiguration$PrimaryYAxisLabelOptions": "

The options that determine the presentation of the y-axis label.

", + "WordCloudChartConfiguration$CategoryLabelOptions": "

The label options (label text, label visibility, and sort icon visibility) for the word cloud category.

" } }, - "CreateTemplateRequest": { + "ClusterId": { "base": null, "refs": { + "RedshiftParameters$ClusterId": "

Cluster ID. This field can be blank if the Host and Port are provided.

" } }, - "CreateTemplateResponse": { - "base": null, + "ClusterMarker": { + "base": "

The cluster marker that is a part of the cluster marker configuration.

", "refs": { + "ClusterMarkerConfiguration$ClusterMarker": "

The cluster marker that is a part of the cluster marker configuration

" } }, - "CreateThemeAliasRequest": { - "base": null, + "ClusterMarkerConfiguration": { + "base": "

The cluster marker configuration of the geospatial map selected point style.

", "refs": { + "GeospatialPointStyleOptions$ClusterMarkerConfiguration": "

The cluster marker configuration of the geospatial point style.

" } }, - "CreateThemeAliasResponse": { + "ColorFillType": { "base": null, "refs": { + "ColorScale$ColorFillType": "

Determines the color fill type.

" } }, - "CreateThemeRequest": { + "ColorList": { "base": null, "refs": { + "DataColorPalette$Colors": "

The hexadecimal codes for the colors.

", + "DataColorPalette$MinMaxGradient": "

The minimum and maximum hexadecimal codes that describe a color gradient.

" + } + }, + "ColorScale": { + "base": "

Determines the color scale that is applied to the visual.

", + "refs": { + "HeatMapConfiguration$ColorScale": "

The color options (gradient color, point of divergence) in a heat map.

", + "TreeMapConfiguration$ColorScale": "

The color options (gradient color, point of divergence) of a tree map.

" } }, - "CreateThemeResponse": { + "ColorScaleColorList": { "base": null, "refs": { + "ColorScale$Colors": "

Determines the list of colors that are applied to the visual.

" } }, - "CredentialPair": { - "base": "

The combination of user name and password that are used as credentials.

", + "ColumnConfiguration": { + "base": "

The general configuration of a column.

", "refs": { - "DataSourceCredentials$CredentialPair": "

Credential pair. For more information, see CredentialPair .

" + "ColumnConfigurationList$member": null } }, - "CustomSql": { - "base": "

A physical table type built from the results of the custom SQL query.

", + "ColumnConfigurationList": { + "base": null, "refs": { - "PhysicalTable$CustomSql": "

A physical table type built from the results of the custom SQL query.

" + "AnalysisDefinition$ColumnConfigurations": "

An array of analysis-level column configurations. Column configurations can be used to set default formatting for a column to be used throughout an analysis.

", + "DashboardVersionDefinition$ColumnConfigurations": "

An array of dashboard-level column configurations. Column configurations are used to set the default formatting for a column that is used throughout a dashboard.

", + "TemplateVersionDefinition$ColumnConfigurations": "

An array of template-level column configurations. Column configurations are used to set default formatting for a column that's used throughout a template.

" } }, - "CustomSqlName": { + "ColumnDataType": { "base": null, "refs": { - "CustomSql$Name": "

A display name for the SQL query result.

" + "CastColumnTypeOperation$NewColumnType": "

New column data type.

", + "OutputColumn$Type": "

Type.

" } }, - "Dashboard": { - "base": "

Dashboard.

", + "ColumnDescription": { + "base": "

Metadata that contains a description for a column.

", "refs": { - "DescribeDashboardResponse$Dashboard": "

Information about the dashboard.

" + "ColumnTag$ColumnDescription": "

A description for a column.

" } }, - "DashboardBehavior": { + "ColumnDescriptiveText": { "base": null, "refs": { - "AdHocFilteringOption$AvailabilityStatus": "

Availability status.

", - "ExportToCSVOption$AvailabilityStatus": "

Availability status.

" + "ColumnDescription$Text": "

The text of a description for a column.

", + "OutputColumn$Description": "

A description for a column.

" } }, - "DashboardError": { - "base": "

Dashboard error.

", + "ColumnGroup": { + "base": "

Groupings of columns that work together in certain Amazon QuickSight features. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.

", "refs": { - "DashboardErrorList$member": null + "ColumnGroupList$member": null } }, - "DashboardErrorList": { - "base": null, + "ColumnGroupColumnSchema": { + "base": "

A structure describing the name, data type, and geographic role of the columns.

", "refs": { - "DashboardVersion$Errors": "

Errors associated with this dashboard version.

" + "ColumnGroupColumnSchemaList$member": null } }, - "DashboardErrorType": { + "ColumnGroupColumnSchemaList": { "base": null, "refs": { - "DashboardError$Type": "

Type.

" + "ColumnGroupSchema$ColumnGroupColumnSchemaList": "

A structure containing the list of schemas for column group columns.

" } }, - "DashboardFilterAttribute": { + "ColumnGroupList": { "base": null, "refs": { - "DashboardSearchFilter$Name": "

The name of the value that you want to use as a filter, for example, \"Name\": \"QUICKSIGHT_OWNER\".

Valid values are defined as follows:

" + "CreateDataSetRequest$ColumnGroups": "

Groupings of columns that work together in certain Amazon QuickSight features. Currently, only geospatial hierarchy is supported.

", + "DataSet$ColumnGroups": "

Groupings of columns that work together in certain Amazon QuickSight features. Currently, only geospatial hierarchy is supported.

", + "UpdateDataSetRequest$ColumnGroups": "

Groupings of columns that work together in certain Amazon QuickSight features. Currently, only geospatial hierarchy is supported.

" } }, - "DashboardName": { + "ColumnGroupName": { "base": null, "refs": { - "CreateDashboardRequest$Name": "

The display name of the dashboard.

", - "Dashboard$Name": "

A display name for the dashboard.

", - "DashboardSummary$Name": "

A display name for the dashboard.

", - "UpdateDashboardRequest$Name": "

The display name of the dashboard.

" + "GeoSpatialColumnGroup$Name": "

A display name for the hierarchy.

" } }, - "DashboardPublishOptions": { - "base": "

Dashboard publish options.

", + "ColumnGroupSchema": { + "base": "

The column group schema.

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

Options for publishing the dashboard when you create it:

", - "UpdateDashboardRequest$DashboardPublishOptions": "

Options for publishing the dashboard when you create it:

" + "ColumnGroupSchemaList$member": null } }, - "DashboardSearchFilter": { - "base": "

A filter that you apply when searching for dashboards.

", + "ColumnGroupSchemaList": { + "base": null, "refs": { - "DashboardSearchFilterList$member": null + "DataSetConfiguration$ColumnGroupSchemaList": "

A structure containing the list of column group schemas.

" } }, - "DashboardSearchFilterList": { - "base": null, + "ColumnHierarchy": { + "base": "

The option that determines the hierarchy of the fields for a visual element.

", "refs": { - "SearchDashboardsRequest$Filters": "

The filters to apply to the search. Currently, you can search only by user name, for example, \"Filters\": [ { \"Name\": \"QUICKSIGHT_USER\", \"Operator\": \"StringEquals\", \"Value\": \"arn:aws:quicksight:us-east-1:1:user/default/UserName1\" } ]

" + "ColumnHierarchyList$member": null } }, - "DashboardSourceEntity": { - "base": "

Dashboard source entity.

", + "ColumnHierarchyList": { + "base": null, "refs": { - "CreateDashboardRequest$SourceEntity": "

The entity that you are using as a source when you create the dashboard. In SourceEntity, you specify the type of object you're using as source. You can only create a dashboard from a template, so you use a SourceTemplate entity. If you need to create a dashboard from an analysis, first convert the analysis to a template by using the CreateTemplate API operation. For SourceTemplate, specify the Amazon Resource Name (ARN) of the source template. The SourceTemplateARN can contain any Amazon Web Services account and any Amazon QuickSight-supported Amazon Web Services Region.

Use the DataSetReferences entity within SourceTemplate to list the replacement datasets for the placeholders listed in the original. The schema in each dataset must match its placeholder.

", - "UpdateDashboardRequest$SourceEntity": "

The entity that you are using as a source when you update the dashboard. In SourceEntity, you specify the type of object you're using as source. You can only update a dashboard from a template, so you use a SourceTemplate entity. If you need to update a dashboard from an analysis, first convert the analysis to a template by using the CreateTemplate API operation. For SourceTemplate, specify the Amazon Resource Name (ARN) of the source template. The SourceTemplate ARN can contain any Amazon Web Services account and any Amazon QuickSight-supported Amazon Web Services Region.

Use the DataSetReferences entity within SourceTemplate to list the replacement datasets for the placeholders listed in the original. The schema in each dataset must match its placeholder.

" + "BarChartVisual$ColumnHierarchies": "

The column hierarchy that is used during drill-downs and drill-ups.

", + "BoxPlotVisual$ColumnHierarchies": "

The column hierarchy that is used during drill-downs and drill-ups.

", + "ComboChartVisual$ColumnHierarchies": "

The column hierarchy that is used during drill-downs and drill-ups.

", + "FilledMapVisual$ColumnHierarchies": "

The column hierarchy that is used during drill-downs and drill-ups.

", + "FunnelChartVisual$ColumnHierarchies": "

The column hierarchy that is used during drill-downs and drill-ups.

", + "GeospatialMapVisual$ColumnHierarchies": "

The column hierarchy that is used during drill-downs and drill-ups.

", + "HeatMapVisual$ColumnHierarchies": "

The column hierarchy that is used during drill-downs and drill-ups.

", + "KPIVisual$ColumnHierarchies": "

The column hierarchy that is used during drill-downs and drill-ups.

", + "LineChartVisual$ColumnHierarchies": "

The column hierarchy that is used during drill-downs and drill-ups.

", + "PieChartVisual$ColumnHierarchies": "

The column hierarchy that is used during drill-downs and drill-ups.

", + "ScatterPlotVisual$ColumnHierarchies": "

The column hierarchy that is used during drill-downs and drill-ups.

", + "TreeMapVisual$ColumnHierarchies": "

The column hierarchy that is used during drill-downs and drill-ups.

", + "WaterfallVisual$ColumnHierarchies": "

The column hierarchy that is used during drill-downs and drill-ups.

", + "WordCloudVisual$ColumnHierarchies": "

The column hierarchy that is used during drill-downs and drill-ups.

" } }, - "DashboardSourceTemplate": { - "base": "

Dashboard source template.

", + "ColumnId": { + "base": null, "refs": { - "DashboardSourceEntity$SourceTemplate": "

Source template.

" + "CalculatedColumn$ColumnId": "

A unique ID to identify a calculated column. During a dataset update, if the column ID of a calculated column matches that of an existing calculated column, Amazon QuickSight preserves the existing calculated column.

" } }, - "DashboardSummary": { - "base": "

Dashboard summary.

", + "ColumnIdentifier": { + "base": "

A column of a data set.

", + "refs": { + "AggregationSortConfiguration$Column": "

The column that determines the sort order of aggregated values.

", + "AxisLabelReferenceOptions$Column": "

The column that the axis label is targeted to.

", + "CascadingControlSource$ColumnToMatch": "

The column identifier that determines which column to look up for the source sheet control.

", + "CategoricalDimensionField$Column": "

The column that is used in the CategoricalDimensionField.

", + "CategoricalMeasureField$Column": "

The column that is used in the CategoricalMeasureField.

", + "CategoryDrillDownFilter$Column": "

The column that the filter is applied to.

", + "CategoryFilter$Column": "

The column that the filter is applied to.

", + "ColumnConfiguration$Column": "

The column.

", + "ColumnSort$SortBy": null, + "ColumnTooltipItem$Column": "

The target column of the tooltip item.

", + "ContributorDimensionList$member": null, + "DateDimensionField$Column": "

The column that is used in the DateDimensionField.

", + "DateMeasureField$Column": "

The column that is used in the DateMeasureField.

", + "DynamicDefaultValue$UserNameColumn": "

The column that contains the username.

", + "DynamicDefaultValue$GroupNameColumn": "

The column that contains the group name.

", + "DynamicDefaultValue$DefaultValueColumn": "

The column that contains the default value of each user or group.

", + "ExplicitHierarchyColumnList$member": null, + "NumericEqualityDrillDownFilter$Column": "

The column that the filter is applied to.

", + "NumericEqualityFilter$Column": "

The column that the filter is applied to.

", + "NumericRangeFilter$Column": "

The column that the filter is applied to.

", + "NumericalDimensionField$Column": "

The column that is used in the NumericalDimensionField.

", + "NumericalMeasureField$Column": "

The column that is used in the NumericalMeasureField.

", + "ParameterSelectableValues$LinkToDataSetColumn": "

The column identifier that fetches values from the data set.

", + "PredefinedHierarchyColumnList$member": null, + "ReferenceLineDynamicDataConfiguration$Column": "

The column that the dynamic data targets.

", + "RelativeDatesFilter$Column": "

The column that the filter is applied to.

", + "TimeEqualityFilter$Column": "

The column that the filter is applied to.

", + "TimeRangeDrillDownFilter$Column": "

The column that the filter is applied to.

", + "TimeRangeFilter$Column": "

The column that the filter is applied to.

", + "TopBottomFilter$Column": "

The column that the filter is applied to.

", + "UnaggregatedField$Column": "

The column that is used in the UnaggregatedField.

" + } + }, + "ColumnLevelPermissionRule": { + "base": "

A rule defined to grant access on one or more restricted columns. Each dataset can have multiple rules. To create a restricted column, you add it to one or more rules. Each rule must contain at least one column and at least one user or group. To be able to see a restricted column, a user or group needs to be added to a rule for that column.

", "refs": { - "DashboardSummaryList$member": null + "ColumnLevelPermissionRuleList$member": null } }, - "DashboardSummaryList": { + "ColumnLevelPermissionRuleList": { "base": null, "refs": { - "ListDashboardsResponse$DashboardSummaryList": "

A structure that contains all of the dashboards in your Amazon Web Services account. This structure provides basic information about the dashboards.

", - "SearchDashboardsResponse$DashboardSummaryList": "

The list of dashboards owned by the user specified in Filters in your request.

" + "CreateDataSetRequest$ColumnLevelPermissionRules": "

A set of one or more definitions of a ColumnLevelPermissionRule .

", + "DataSet$ColumnLevelPermissionRules": "

A set of one or more definitions of a ColumnLevelPermissionRule .

", + "UpdateDataSetRequest$ColumnLevelPermissionRules": "

A set of one or more definitions of a ColumnLevelPermissionRule .

" } }, - "DashboardUIState": { + "ColumnList": { "base": null, "refs": { - "SheetControlsOption$VisibilityState": "

Visibility state.

" + "GeoSpatialColumnGroup$Columns": "

Columns in this hierarchy.

" } }, - "DashboardVersion": { - "base": "

Dashboard version.

", + "ColumnName": { + "base": null, "refs": { - "Dashboard$Version": "

Version.

" + "CalculatedColumn$ColumnName": "

Column name.

", + "CalculatedField$Name": "

The name of the calculated field.

", + "CastColumnTypeOperation$ColumnName": "

Column name.

", + "ColumnIdentifier$ColumnName": "

The name of the column.

", + "ColumnList$member": null, + "InputColumn$Name": "

The name of this column in the underlying data source.

", + "OutputColumn$Name": "

A display name for the dataset.

", + "RenameColumnOperation$ColumnName": "

The name of the column to be renamed.

", + "RenameColumnOperation$NewColumnName": "

The new name for the column.

", + "TagColumnOperation$ColumnName": "

The column that this operation acts on.

", + "UntagColumnOperation$ColumnName": "

The column that this operation acts on.

" } }, - "DashboardVersionSummary": { - "base": "

Dashboard version summary.

", + "ColumnNameList": { + "base": null, "refs": { - "DashboardVersionSummaryList$member": null + "ColumnLevelPermissionRule$ColumnNames": "

An array of column names.

" } }, - "DashboardVersionSummaryList": { + "ColumnRole": { "base": null, "refs": { - "ListDashboardVersionsResponse$DashboardVersionSummaryList": "

A structure that contains information about each version of the dashboard.

" + "ColumnConfiguration$Role": "

The role of the column.

" } }, - "DashboardVisualId": { - "base": "

A structure that contains the following elements:

The DashboardId, SheetId, and VisualId can be found in the IDs for developers section of the Embed visual pane of the visual's on-visual menu of the Amazon QuickSight console. You can also get the DashboardId with a ListDashboards API operation.

", + "ColumnSchema": { + "base": "

The column schema.

", "refs": { - "AnonymousUserDashboardVisualEmbeddingConfiguration$InitialDashboardVisualId": "

The visual ID for the visual that you want the user to see. This ID is included in the output URL. When the URL in response is accessed, Amazon QuickSight renders this visual.

The Amazon Resource Name (ARN) of the dashboard that the visual belongs to must be included in the AuthorizedResourceArns parameter. Otherwise, the request will fail with InvalidParameterValueException.

", - "RegisteredUserDashboardVisualEmbeddingConfiguration$InitialDashboardVisualId": "

The visual ID for the visual that you want the user to embed. This ID is included in the output URL. When the URL in response is accessed, Amazon QuickSight renders this visual.

The Amazon Resource Name (ARN) of the dashboard that the visual belongs to must be included in the AuthorizedResourceArns parameter. Otherwise, the request will fail with InvalidParameterValueException.

" + "ColumnSchemaList$member": null } }, - "DataColorPalette": { - "base": "

The theme colors that are used for data colors in charts. The colors description is a hexadecimal color code that consists of six alphanumerical characters, prefixed with #, for example #37BFF5.

", + "ColumnSchemaList": { + "base": null, "refs": { - "ThemeConfiguration$DataColorPalette": "

Color properties that apply to chart data colors.

" + "DataSetSchema$ColumnSchemaList": "

A structure containing the list of column schemas.

" } }, - "DataSet": { - "base": "

Dataset.

", + "ColumnSort": { + "base": "

The sort configuration for a column that is not used in a field well.

", "refs": { - "DescribeDataSetResponse$DataSet": "

Information on the dataset.

" + "FieldSortOptions$ColumnSort": "

The sort configuration for a column that is not used in a field well.

", + "PivotTableSortBy$Column": "

The column sort (field id, direction) for the pivot table sort by options.

" } }, - "DataSetArnsList": { - "base": null, + "ColumnTag": { + "base": "

A tag for a column in a TagColumnOperation structure. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.

", "refs": { - "Analysis$DataSetArns": "

The ARNs of the datasets of the analysis.

", - "DashboardVersion$DataSetArns": "

The Amazon Resource Numbers (ARNs) for the datasets that are associated with this version of the dashboard.

" + "ColumnTagList$member": null } }, - "DataSetConfiguration": { - "base": "

Dataset configuration.

", + "ColumnTagList": { + "base": null, "refs": { - "DataSetConfigurationList$member": null + "TagColumnOperation$Tags": "

The dataset column tag, currently only used for geospatial type tagging.

This is not tags for the Amazon Web Services tagging feature.

" } }, - "DataSetConfigurationList": { + "ColumnTagName": { "base": null, "refs": { - "TemplateVersion$DataSetConfigurations": "

Schema of the dataset identified by the placeholder. Any dashboard created from this template should be bound to new datasets matching the same schema described through this API operation.

" + "ColumnTagNames$member": null } }, - "DataSetFilterAttribute": { + "ColumnTagNames": { "base": null, "refs": { - "DataSetSearchFilter$Name": "

The name of the value that you want to use as a filter, for example, \"Name\": \"QUICKSIGHT_OWNER\".

Valid values are defined as follows:

" + "UntagColumnOperation$TagNames": "

The column tags to remove from this column.

" } }, - "DataSetImportMode": { - "base": null, + "ColumnTooltipItem": { + "base": "

The tooltip item for the columns that are not part of a field well.

", "refs": { - "CreateDataSetRequest$ImportMode": "

Indicates whether you want to import the data into SPICE.

", - "DataSet$ImportMode": "

A value that indicates whether you want to import the data into SPICE.

", - "DataSetSummary$ImportMode": "

A value that indicates whether you want to import the data into SPICE.

", - "UpdateDataSetRequest$ImportMode": "

Indicates whether you want to import the data into SPICE.

" + "TooltipItem$ColumnTooltipItem": "

The tooltip item for the columns that are not part of a field well.

" } }, - "DataSetName": { - "base": null, + "ComboChartAggregatedFieldWells": { + "base": "

The aggregated field wells of a combo chart.

", "refs": { - "AwsIotAnalyticsParameters$DataSetName": "

Dataset name.

" + "ComboChartFieldWells$ComboChartAggregatedFieldWells": "

The aggregated field wells of a combo chart. Combo charts only have aggregated field wells. Columns in a combo chart are aggregated by category.

" } }, - "DataSetReference": { - "base": "

Dataset reference.

", + "ComboChartConfiguration": { + "base": "

The configuration of a ComboChartVisual.

", "refs": { - "DataSetReferenceList$member": null + "ComboChartVisual$ChartConfiguration": "

The configuration settings of the visual.

" } }, - "DataSetReferenceList": { - "base": null, + "ComboChartFieldWells": { + "base": "

The field wells of the visual.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", "refs": { - "AnalysisSourceTemplate$DataSetReferences": "

The dataset references of the source template of an analysis.

", - "DashboardSourceTemplate$DataSetReferences": "

Dataset references.

", - "TemplateSourceAnalysis$DataSetReferences": "

A structure containing information about the dataset references used as placeholders in the template.

" + "ComboChartConfiguration$FieldWells": "

The field wells of the visual.

" } }, - "DataSetSchema": { - "base": "

Dataset schema.

", + "ComboChartSortConfiguration": { + "base": "

The sort configuration of a ComboChartVisual.

", "refs": { - "DataSetConfiguration$DataSetSchema": "

Dataset schema.

" + "ComboChartConfiguration$SortConfiguration": "

The sort configuration of a ComboChartVisual.

" } }, - "DataSetSearchFilter": { - "base": "

A filter that you apply when searching for datasets.

", + "ComboChartVisual": { + "base": "

A combo chart.

The ComboChartVisual includes stacked bar combo charts and clustered bar combo charts

For more information, see Using combo charts in the Amazon QuickSight User Guide.

", "refs": { - "DataSetSearchFilterList$member": null + "Visual$ComboChartVisual": "

A combo chart.

For more information, see Using combo charts in the Amazon QuickSight User Guide.

" } }, - "DataSetSearchFilterList": { - "base": null, + "ComparisonConfiguration": { + "base": "

The comparison display configuration of a KPI or gauge chart.

", "refs": { - "SearchDataSetsRequest$Filters": "

The filters to apply to the search.

" + "GaugeChartOptions$Comparison": "

The comparison configuration of a GaugeChartVisual.

", + "KPIOptions$Comparison": "

The comparison configuration of a KPI visual.

" } }, - "DataSetSummary": { - "base": "

Dataset summary.

", + "ComparisonFormatConfiguration": { + "base": "

The format of the comparison.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", "refs": { - "DataSetSummaryList$member": null + "ComparisonConfiguration$ComparisonFormat": "

The format of the comparison.

" } }, - "DataSetSummaryList": { + "ComparisonMethod": { "base": null, "refs": { - "ListDataSetsResponse$DataSetSummaries": "

The list of dataset summaries.

", - "SearchDataSetsResponse$DataSetSummaries": "

A DataSetSummaries object that returns a summary of a dataset.

" + "ComparisonConfiguration$ComparisonMethod": "

The method of the comparison. Choose from the following options:

" } }, - "DataSetUsageConfiguration": { - "base": "

The usage configuration to apply to child datasets that reference this dataset as a source.

", + "Computation": { + "base": "

The computation union that is used in an insight visual.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", "refs": { - "CreateDataSetRequest$DataSetUsageConfiguration": null, - "DataSet$DataSetUsageConfiguration": "

The usage configuration to apply to child datasets that reference this dataset as a source.

", - "UpdateDataSetRequest$DataSetUsageConfiguration": null + "ComputationList$member": null } }, - "DataSource": { - "base": "

The structure of a data source.

", + "ComputationList": { + "base": null, "refs": { - "DataSourceList$member": null, - "DescribeDataSourceResponse$DataSource": "

The information on the data source.

" + "InsightConfiguration$Computations": "

The computations configurations of the insight visual

" } }, - "DataSourceCredentials": { - "base": "

Data source credentials. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.

", + "ConcurrentUpdatingException": { + "base": "

A resource is already in a state that indicates an operation is happening that must complete before a new update can be applied.

", "refs": { - "CreateDataSourceRequest$Credentials": "

The credentials Amazon QuickSight that uses to connect to your underlying source. Currently, only credentials based on user name and password are supported.

", - "UpdateDataSourceRequest$Credentials": "

The credentials that Amazon QuickSight that uses to connect to your underlying source. Currently, only credentials based on user name and password are supported.

" } }, - "DataSourceErrorInfo": { - "base": "

Error information for the data source creation or update.

", + "ConditionalFormattingColor": { + "base": "

The formatting configuration for the color.

", "refs": { - "DataSource$ErrorInfo": "

Error information from the last update or the creation of the data source.

" + "GaugeChartArcConditionalFormatting$ForegroundColor": "

The conditional formatting of the arc foreground color.

", + "GaugeChartPrimaryValueConditionalFormatting$TextColor": "

The conditional formatting of the primary value text color.

", + "KPIPrimaryValueConditionalFormatting$TextColor": "

The conditional formatting of the primary value's text color.

", + "KPIProgressBarConditionalFormatting$ForegroundColor": "

The conditional formatting of the progress bar's foreground color.

", + "ShapeConditionalFormat$BackgroundColor": "

The conditional formatting for the shape background color of a filled map visual.

", + "TableRowConditionalFormatting$BackgroundColor": "

The conditional formatting color (solid, gradient) of the background for a table row.

", + "TableRowConditionalFormatting$TextColor": "

The conditional formatting color (solid, gradient) of the text for a table row.

", + "TextConditionalFormat$BackgroundColor": "

The conditional formatting for the text background color.

", + "TextConditionalFormat$TextColor": "

The conditional formatting for the text color.

" } }, - "DataSourceErrorInfoType": { - "base": null, + "ConditionalFormattingCustomIconCondition": { + "base": "

Determines the custom condition for an icon set.

", "refs": { - "DataSourceErrorInfo$Type": "

Error type.

" + "ConditionalFormattingIcon$CustomCondition": "

Determines the custom condition for an icon set.

" } }, - "DataSourceFilterAttribute": { - "base": null, + "ConditionalFormattingCustomIconOptions": { + "base": "

Custom icon options for an icon set.

", "refs": { - "DataSourceSearchFilter$Name": "

The name of the value that you want to use as a filter, for example, \"Name\": \"DIRECT_QUICKSIGHT_OWNER\".

Valid values are defined as follows:

" + "ConditionalFormattingCustomIconCondition$IconOptions": "

Custom icon options for an icon set.

" } }, - "DataSourceList": { - "base": null, + "ConditionalFormattingGradientColor": { + "base": "

Formatting configuration for gradient color.

", "refs": { - "ListDataSourcesResponse$DataSources": "

A list of data sources.

" + "ConditionalFormattingColor$Gradient": "

Formatting configuration for gradient color.

" } }, - "DataSourceParameters": { - "base": "

The parameters that Amazon QuickSight uses to connect to your underlying data source. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.

", + "ConditionalFormattingIcon": { + "base": "

The formatting configuration for the icon.

", "refs": { - "CreateDataSourceRequest$DataSourceParameters": "

The parameters that Amazon QuickSight uses to connect to your underlying source.

", - "DataSource$DataSourceParameters": "

The parameters that Amazon QuickSight uses to connect to your underlying source. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.

", - "DataSourceParametersList$member": null, - "UpdateDataSourceRequest$DataSourceParameters": "

The parameters that Amazon QuickSight uses to connect to your underlying source.

" + "GaugeChartPrimaryValueConditionalFormatting$Icon": "

The conditional formatting of the primary value icon.

", + "KPIPrimaryValueConditionalFormatting$Icon": "

The conditional formatting of the primary value's icon.

", + "TextConditionalFormat$Icon": "

The conditional formatting for the icon.

" } }, - "DataSourceParametersList": { + "ConditionalFormattingIconDisplayConfiguration": { + "base": "

Determines the icon display configuration.

", + "refs": { + "ConditionalFormattingCustomIconCondition$DisplayConfiguration": "

Determines the icon display configuration.

" + } + }, + "ConditionalFormattingIconDisplayOption": { "base": null, "refs": { - "CredentialPair$AlternateDataSourceParameters": "

A set of alternate data source parameters that you want to share for these credentials. The credentials are applied in tandem with the data source parameters when you copy a data source by using a create or update request. The API operation compares the DataSourceParameters structure that's in the request with the structures in the AlternateDataSourceParameters allow list. If the structures are an exact match, the request is allowed to use the new data source with the existing credentials. If the AlternateDataSourceParameters list is null, the DataSourceParameters originally used with these Credentials is automatically allowed.

", - "DataSource$AlternateDataSourceParameters": "

A set of alternate data source parameters that you want to share for the credentials stored with this data source. The credentials are applied in tandem with the data source parameters when you copy a data source by using a create or update request. The API operation compares the DataSourceParameters structure that's in the request with the structures in the AlternateDataSourceParameters allow list. If the structures are an exact match, the request is allowed to use the credentials from this existing data source. If the AlternateDataSourceParameters list is null, the Credentials originally used with this DataSourceParameters are automatically allowed.

" + "ConditionalFormattingIconDisplayConfiguration$IconDisplayOption": "

Determines the icon display configuration.

" } }, - "DataSourceSearchFilter": { - "base": "

A filter that you apply when searching for data sources.

", + "ConditionalFormattingIconSet": { + "base": "

Formatting configuration for icon set.

", "refs": { - "DataSourceSearchFilterList$member": null + "ConditionalFormattingIcon$IconSet": "

Formatting configuration for icon set.

" } }, - "DataSourceSearchFilterList": { + "ConditionalFormattingIconSetType": { "base": null, "refs": { - "SearchDataSourcesRequest$Filters": "

The filters to apply to the search.

" + "ConditionalFormattingIconSet$IconSetType": "

Determines the icon set type.

" } }, - "DataSourceSummary": { - "base": "

A DataSourceSummary object that returns a summary of a data source.

", + "ConditionalFormattingSolidColor": { + "base": "

Formatting configuration for solid color.

", "refs": { - "DataSourceSummaryList$member": null + "ConditionalFormattingColor$Solid": "

Formatting configuration for solid color.

" } }, - "DataSourceSummaryList": { - "base": null, + "ConflictException": { + "base": "

Updating or deleting a resource can cause an inconsistent state.

", "refs": { - "SearchDataSourcesResponse$DataSourceSummaries": "

A DataSourceSummaries object that returns a summary of a data source.

" } }, - "DataSourceType": { - "base": null, + "ContributionAnalysisDefault": { + "base": "

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

", "refs": { - "CreateDataSourceRequest$Type": "

The type of the data source. To return a list of all data sources, use ListDataSources.

Use AMAZON_ELASTICSEARCH for Amazon OpenSearch Service.

", - "DataSource$Type": "

The type of the data source. This type indicates which database engine the data source connects to.

", - "DataSourceSummary$Type": "

The type of the data source.

" + "ContributionAnalysisDefaultList$member": null } }, - "Database": { + "ContributionAnalysisDefaultList": { "base": null, "refs": { - "AuroraParameters$Database": "

Database.

", - "AuroraPostgreSqlParameters$Database": "

The Amazon Aurora PostgreSQL database to connect to.

", - "MariaDbParameters$Database": "

Database.

", - "MySqlParameters$Database": "

Database.

", - "OracleParameters$Database": "

Database.

", - "PostgreSqlParameters$Database": "

Database.

", - "RdsParameters$Database": "

Database.

", - "RedshiftParameters$Database": "

Database.

", - "SnowflakeParameters$Database": "

Database.

", - "SqlServerParameters$Database": "

Database.

", - "TeradataParameters$Database": "

Database.

" + "BarChartConfiguration$ContributionAnalysisDefaults": "

The contribution analysis (anomaly configuration) setup of the visual.

", + "LineChartConfiguration$ContributionAnalysisDefaults": "

The default configuration of a line chart's contribution analysis.

", + "PieChartConfiguration$ContributionAnalysisDefaults": "

The contribution analysis (anomaly configuration) setup of the visual.

" } }, - "DatabricksParameters": { - "base": "

The required parameters that are needed to connect to a Databricks data source.

", + "ContributorDimensionList": { + "base": null, "refs": { - "DataSourceParameters$DatabricksParameters": "

The required parameters that are needed to connect to a Databricks data source.

" + "ContributionAnalysisDefault$ContributorDimensions": "

The dimensions columns that are used in the contribution analysis, usually a list of ColumnIdentifiers.

" } }, - "DateTimeParameter": { - "base": "

A date-time parameter.

", + "CopySourceArn": { + "base": null, "refs": { - "DateTimeParameterList$member": null + "DataSourceCredentials$CopySourceArn": "

The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use. When CopySourceArn is not null, the credential pair from the data source in the ARN is used as the credentials for the DataSourceCredentials structure.

" } }, - "DateTimeParameterList": { + "CreateAccountCustomizationRequest": { "base": null, "refs": { - "Parameters$DateTimeParameters": "

The parameters that have a data type of date-time.

" } }, - "DecimalParameter": { - "base": "

A decimal parameter.

", + "CreateAccountCustomizationResponse": { + "base": null, "refs": { - "DecimalParameterList$member": null } }, - "DecimalParameterList": { + "CreateAccountSubscriptionRequest": { "base": null, "refs": { - "Parameters$DecimalParameters": "

The parameters that have a data type of decimal.

" } }, - "DeleteAccountCustomizationRequest": { + "CreateAccountSubscriptionResponse": { "base": null, "refs": { } }, - "DeleteAccountCustomizationResponse": { + "CreateAnalysisRequest": { "base": null, "refs": { } }, - "DeleteAccountSubscriptionRequest": { + "CreateAnalysisResponse": { "base": null, "refs": { } }, - "DeleteAccountSubscriptionResponse": { - "base": null, + "CreateColumnsOperation": { + "base": "

A transform operation that creates calculated columns. Columns created in one such operation form a lexical closure.

", "refs": { + "TransformOperation$CreateColumnsOperation": "

An operation that creates calculated columns. Columns created in one such operation form a lexical closure.

" } }, - "DeleteAnalysisRequest": { + "CreateDashboardRequest": { "base": null, "refs": { } }, - "DeleteAnalysisResponse": { + "CreateDashboardResponse": { "base": null, "refs": { } }, - "DeleteDashboardRequest": { + "CreateDataSetRequest": { "base": null, "refs": { } }, - "DeleteDashboardResponse": { + "CreateDataSetResponse": { "base": null, "refs": { } }, - "DeleteDataSetRequest": { + "CreateDataSourceRequest": { "base": null, "refs": { } }, - "DeleteDataSetResponse": { + "CreateDataSourceResponse": { "base": null, "refs": { } }, - "DeleteDataSourceRequest": { + "CreateFolderMembershipRequest": { "base": null, "refs": { } }, - "DeleteDataSourceResponse": { + "CreateFolderMembershipResponse": { "base": null, "refs": { } }, - "DeleteFolderMembershipRequest": { + "CreateFolderRequest": { "base": null, "refs": { } }, - "DeleteFolderMembershipResponse": { + "CreateFolderResponse": { "base": null, "refs": { } }, - "DeleteFolderRequest": { + "CreateGroupMembershipRequest": { "base": null, "refs": { } }, - "DeleteFolderResponse": { + "CreateGroupMembershipResponse": { "base": null, "refs": { } }, - "DeleteGroupMembershipRequest": { - "base": null, + "CreateGroupRequest": { + "base": "

The request object for this operation.

", "refs": { } }, - "DeleteGroupMembershipResponse": { - "base": null, + "CreateGroupResponse": { + "base": "

The response object for this operation.

", "refs": { } }, - "DeleteGroupRequest": { + "CreateIAMPolicyAssignmentRequest": { "base": null, "refs": { } }, - "DeleteGroupResponse": { + "CreateIAMPolicyAssignmentResponse": { "base": null, "refs": { } }, - "DeleteIAMPolicyAssignmentRequest": { + "CreateIngestionRequest": { "base": null, "refs": { } }, - "DeleteIAMPolicyAssignmentResponse": { + "CreateIngestionResponse": { "base": null, "refs": { } }, - "DeleteNamespaceRequest": { + "CreateNamespaceRequest": { "base": null, "refs": { } }, - "DeleteNamespaceResponse": { + "CreateNamespaceResponse": { "base": null, "refs": { } }, - "DeleteTemplateAliasRequest": { + "CreateTemplateAliasRequest": { "base": null, "refs": { } }, - "DeleteTemplateAliasResponse": { + "CreateTemplateAliasResponse": { "base": null, "refs": { } }, - "DeleteTemplateRequest": { + "CreateTemplateRequest": { "base": null, "refs": { } }, - "DeleteTemplateResponse": { + "CreateTemplateResponse": { "base": null, "refs": { } }, - "DeleteThemeAliasRequest": { + "CreateThemeAliasRequest": { "base": null, "refs": { } }, - "DeleteThemeAliasResponse": { + "CreateThemeAliasResponse": { "base": null, "refs": { } }, - "DeleteThemeRequest": { + "CreateThemeRequest": { "base": null, "refs": { } }, - "DeleteThemeResponse": { + "CreateThemeResponse": { "base": null, "refs": { } }, - "DeleteUserByPrincipalIdRequest": { - "base": "

", + "CredentialPair": { + "base": "

The combination of user name and password that are used as credentials.

", "refs": { + "DataSourceCredentials$CredentialPair": "

Credential pair. For more information, see CredentialPair .

" } }, - "DeleteUserByPrincipalIdResponse": { + "CrossDatasetTypes": { "base": null, "refs": { + "FilterGroup$CrossDataset": "

The filter new feature which can apply filter group to all data sets. Choose one of the following options:

" } }, - "DeleteUserRequest": { + "CurrencyCode": { "base": null, "refs": { + "CurrencyDisplayFormatConfiguration$Symbol": "

Determines the symbol for the currency format.

" } }, - "DeleteUserResponse": { - "base": null, + "CurrencyDisplayFormatConfiguration": { + "base": "

The options that determine the currency display format configuration.

", "refs": { + "NumericFormatConfiguration$CurrencyDisplayFormatConfiguration": "

The options that determine the currency display format configuration.

" } }, - "Delimiter": { - "base": null, + "CustomActionFilterOperation": { + "base": "

The filter operation that filters data included in a visual or in an entire sheet.

", "refs": { - "UploadSettings$Delimiter": "

The delimiter between values in the file.

" + "VisualCustomActionOperation$FilterOperation": "

The filter operation that filters data included in a visual or in an entire sheet.

" } }, - "DescribeAccountCustomizationRequest": { - "base": null, + "CustomActionNavigationOperation": { + "base": "

The navigation operation that navigates between different sheets in the same analysis.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", "refs": { + "VisualCustomActionOperation$NavigationOperation": "

The navigation operation that navigates between different sheets in the same analysis.

" } }, - "DescribeAccountCustomizationResponse": { - "base": null, + "CustomActionSetParametersOperation": { + "base": "

The set parameter operation that sets parameters in custom action.

", "refs": { + "VisualCustomActionOperation$SetParametersOperation": "

The set parameter operation that sets parameters in custom action.

" } }, - "DescribeAccountSettingsRequest": { - "base": null, + "CustomActionURLOperation": { + "base": "

The URL operation that opens a link to another webpage.

", "refs": { + "VisualCustomActionOperation$URLOperation": "

The URL operation that opens a link to another webpage.

" } }, - "DescribeAccountSettingsResponse": { - "base": null, + "CustomContentConfiguration": { + "base": "

The configuration of a CustomContentVisual.

", "refs": { + "CustomContentVisual$ChartConfiguration": "

The configuration of a CustomContentVisual.

" } }, - "DescribeAccountSubscriptionRequest": { + "CustomContentImageScalingConfiguration": { "base": null, "refs": { + "CustomContentConfiguration$ImageScaling": "

The sizing options for the size of the custom content visual. This structure is required when the ContentType of the visual is 'IMAGE'.

" } }, - "DescribeAccountSubscriptionResponse": { + "CustomContentType": { "base": null, "refs": { + "CustomContentConfiguration$ContentType": "

The content type of the custom content visual. You can use this to have the visual render as an image.

" } }, - "DescribeAnalysisPermissionsRequest": { - "base": null, + "CustomContentVisual": { + "base": "

A visual that contains custom content.

For more information, see Using custom visual content in the Amazon QuickSight User Guide.

", "refs": { + "Visual$CustomContentVisual": "

A visual that contains custom content.

For more information, see Using custom visual content in the Amazon QuickSight User Guide.

" } }, - "DescribeAnalysisPermissionsResponse": { - "base": null, + "CustomFilterConfiguration": { + "base": "

A custom filter that filters based on a single value. This filter can be partially matched.

", "refs": { + "CategoryFilterConfiguration$CustomFilterConfiguration": "

A custom filter that filters based on a single value. This filter can be partially matched.

" } }, - "DescribeAnalysisRequest": { - "base": null, + "CustomFilterListConfiguration": { + "base": "

A list of custom filter values.

", "refs": { + "CategoryFilterConfiguration$CustomFilterListConfiguration": "

A list of custom filter values. In the Amazon QuickSight console, this filter type is called a custom filter list.

" } }, - "DescribeAnalysisResponse": { + "CustomLabel": { "base": null, "refs": { + "PivotTableFieldOption$CustomLabel": "

The custom label of the pivot table field.

", + "TableFieldOption$CustomLabel": "

The custom label for a table field.

" } }, - "DescribeDashboardPermissionsRequest": { - "base": null, + "CustomNarrativeOptions": { + "base": "

The custom narrative options.

", "refs": { + "InsightConfiguration$CustomNarrative": "

The custom narrative of the insight visual.

" } }, - "DescribeDashboardPermissionsResponse": { - "base": null, + "CustomParameterValues": { + "base": "

The customized parameter values.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", "refs": { + "CustomValuesConfiguration$CustomValues": null } }, - "DescribeDashboardRequest": { - "base": null, + "CustomSql": { + "base": "

A physical table type built from the results of the custom SQL query.

", "refs": { + "PhysicalTable$CustomSql": "

A physical table type built from the results of the custom SQL query.

" } }, - "DescribeDashboardResponse": { + "CustomSqlName": { "base": null, "refs": { + "CustomSql$Name": "

A display name for the SQL query result.

" } }, - "DescribeDataSetPermissionsRequest": { - "base": null, + "CustomValuesConfiguration": { + "base": "

The configuration of custom values for the destination parameter in DestinationParameterValueConfiguration.

", "refs": { + "DestinationParameterValueConfiguration$CustomValuesConfiguration": "

The configuration of custom values for destination parameter in DestinationParameterValueConfiguration.

" } }, - "DescribeDataSetPermissionsResponse": { - "base": null, + "Dashboard": { + "base": "

Dashboard.

", "refs": { + "DescribeDashboardResponse$Dashboard": "

Information about the dashboard.

" } }, - "DescribeDataSetRequest": { + "DashboardBehavior": { "base": null, "refs": { + "AdHocFilteringOption$AvailabilityStatus": "

Availability status.

", + "ExportHiddenFieldsOption$AvailabilityStatus": "

", + "ExportToCSVOption$AvailabilityStatus": "

Availability status.

" } }, - "DescribeDataSetResponse": { - "base": null, + "DashboardError": { + "base": "

Dashboard error.

", "refs": { + "DashboardErrorList$member": null } }, - "DescribeDataSourcePermissionsRequest": { + "DashboardErrorList": { "base": null, "refs": { + "DashboardVersion$Errors": "

Errors associated with this dashboard version.

", + "DescribeDashboardDefinitionResponse$Errors": "

Errors associated with this dashboard version.

" } }, - "DescribeDataSourcePermissionsResponse": { + "DashboardErrorType": { "base": null, "refs": { + "DashboardError$Type": "

Type.

" } }, - "DescribeDataSourceRequest": { + "DashboardFilterAttribute": { "base": null, "refs": { + "DashboardSearchFilter$Name": "

The name of the value that you want to use as a filter, for example, \"Name\": \"QUICKSIGHT_OWNER\".

Valid values are defined as follows:

" } }, - "DescribeDataSourceResponse": { + "DashboardName": { "base": null, "refs": { + "CreateDashboardRequest$Name": "

The display name of the dashboard.

", + "Dashboard$Name": "

A display name for the dashboard.

", + "DashboardSummary$Name": "

A display name for the dashboard.

", + "DescribeDashboardDefinitionResponse$Name": "

The display name of the dashboard.

", + "UpdateDashboardRequest$Name": "

The display name of the dashboard.

" } }, - "DescribeFolderPermissionsRequest": { - "base": null, + "DashboardPublishOptions": { + "base": "

Dashboard publish options.

", "refs": { + "CreateDashboardRequest$DashboardPublishOptions": "

Options for publishing the dashboard when you create it:

", + "UpdateDashboardRequest$DashboardPublishOptions": "

Options for publishing the dashboard when you create it:

" } }, - "DescribeFolderPermissionsResponse": { - "base": null, + "DashboardSearchFilter": { + "base": "

A filter that you apply when searching for dashboards.

", "refs": { + "DashboardSearchFilterList$member": null } }, - "DescribeFolderRequest": { + "DashboardSearchFilterList": { "base": null, "refs": { + "SearchDashboardsRequest$Filters": "

The filters to apply to the search. Currently, you can search only by user name, for example, \"Filters\": [ { \"Name\": \"QUICKSIGHT_USER\", \"Operator\": \"StringEquals\", \"Value\": \"arn:aws:quicksight:us-east-1:1:user/default/UserName1\" } ]

" } }, - "DescribeFolderResolvedPermissionsRequest": { - "base": null, + "DashboardSourceEntity": { + "base": "

Dashboard source entity.

", "refs": { + "CreateDashboardRequest$SourceEntity": "

The entity that you are using as a source when you create the dashboard. In SourceEntity, you specify the type of object you're using as source. You can only create a dashboard from a template, so you use a SourceTemplate entity. If you need to create a dashboard from an analysis, first convert the analysis to a template by using the CreateTemplate API operation. For SourceTemplate, specify the Amazon Resource Name (ARN) of the source template. The SourceTemplateARN can contain any Amazon Web Services account and any Amazon QuickSight-supported Amazon Web Services Region.

Use the DataSetReferences entity within SourceTemplate to list the replacement datasets for the placeholders listed in the original. The schema in each dataset must match its placeholder.

", + "UpdateDashboardRequest$SourceEntity": "

The entity that you are using as a source when you update the dashboard. In SourceEntity, you specify the type of object you're using as source. You can only update a dashboard from a template, so you use a SourceTemplate entity. If you need to update a dashboard from an analysis, first convert the analysis to a template by using the CreateTemplate API operation. For SourceTemplate, specify the Amazon Resource Name (ARN) of the source template. The SourceTemplate ARN can contain any Amazon Web Services account and any Amazon QuickSight-supported Amazon Web Services Region.

Use the DataSetReferences entity within SourceTemplate to list the replacement datasets for the placeholders listed in the original. The schema in each dataset must match its placeholder.

" } }, - "DescribeFolderResolvedPermissionsResponse": { - "base": null, + "DashboardSourceTemplate": { + "base": "

Dashboard source template.

", "refs": { + "DashboardSourceEntity$SourceTemplate": "

Source template.

" } }, - "DescribeFolderResponse": { - "base": null, + "DashboardSummary": { + "base": "

Dashboard summary.

", "refs": { + "DashboardSummaryList$member": null } }, - "DescribeGroupMembershipRequest": { + "DashboardSummaryList": { "base": null, "refs": { + "ListDashboardsResponse$DashboardSummaryList": "

A structure that contains all of the dashboards in your Amazon Web Services account. This structure provides basic information about the dashboards.

", + "SearchDashboardsResponse$DashboardSummaryList": "

The list of dashboards owned by the user specified in Filters in your request.

" } }, - "DescribeGroupMembershipResponse": { + "DashboardUIState": { "base": null, "refs": { + "SheetControlsOption$VisibilityState": "

Visibility state.

" } }, - "DescribeGroupRequest": { - "base": null, + "DashboardVersion": { + "base": "

Dashboard version.

", "refs": { + "Dashboard$Version": "

Version.

" } }, - "DescribeGroupResponse": { - "base": null, + "DashboardVersionDefinition": { + "base": "

The contents of a dashboard.

", "refs": { + "CreateDashboardRequest$Definition": "

The definition of a dashboard.

A definition is the data model of all features in a Dashboard, Template, or Analysis.

", + "DescribeDashboardDefinitionResponse$Definition": "

The definition of a dashboard.

A definition is the data model of all features in a Dashboard, Template, or Analysis.

", + "UpdateDashboardRequest$Definition": "

The definition of a dashboard.

A definition is the data model of all features in a Dashboard, Template, or Analysis.

" } }, - "DescribeIAMPolicyAssignmentRequest": { - "base": null, + "DashboardVersionSummary": { + "base": "

Dashboard version summary.

", "refs": { + "DashboardVersionSummaryList$member": null } }, - "DescribeIAMPolicyAssignmentResponse": { + "DashboardVersionSummaryList": { "base": null, "refs": { + "ListDashboardVersionsResponse$DashboardVersionSummaryList": "

A structure that contains information about each version of the dashboard.

" } }, - "DescribeIngestionRequest": { - "base": null, + "DashboardVisualId": { + "base": "

A structure that contains the following elements:

The DashboardId, SheetId, and VisualId can be found in the IDs for developers section of the Embed visual pane of the visual's on-visual menu of the Amazon QuickSight console. You can also get the DashboardId with a ListDashboards API operation.

", "refs": { + "AnonymousUserDashboardVisualEmbeddingConfiguration$InitialDashboardVisualId": "

The visual ID for the visual that you want the user to see. This ID is included in the output URL. When the URL in response is accessed, Amazon QuickSight renders this visual.

The Amazon Resource Name (ARN) of the dashboard that the visual belongs to must be included in the AuthorizedResourceArns parameter. Otherwise, the request will fail with InvalidParameterValueException.

", + "RegisteredUserDashboardVisualEmbeddingConfiguration$InitialDashboardVisualId": "

The visual ID for the visual that you want the user to embed. This ID is included in the output URL. When the URL in response is accessed, Amazon QuickSight renders this visual.

The Amazon Resource Name (ARN) of the dashboard that the visual belongs to must be included in the AuthorizedResourceArns parameter. Otherwise, the request will fail with InvalidParameterValueException.

" } }, - "DescribeIngestionResponse": { - "base": null, + "DashboardVisualPublishOptions": { + "base": "

", "refs": { + "DashboardPublishOptions$VisualPublishOptions": "

" } }, - "DescribeIpRestrictionRequest": { - "base": null, + "DataColor": { + "base": "

Determines the color that is applied to a particular data value.

", "refs": { + "ColorScale$NullValueColor": "

Determines the color that is applied to null values.

", + "ColorScaleColorList$member": null } }, - "DescribeIpRestrictionResponse": { - "base": null, + "DataColorPalette": { + "base": "

The theme colors that are used for data colors in charts. The colors description is a hexadecimal color code that consists of six alphanumerical characters, prefixed with #, for example #37BFF5.

", "refs": { + "ThemeConfiguration$DataColorPalette": "

Color properties that apply to chart data colors.

" } }, - "DescribeNamespaceRequest": { - "base": null, + "DataFieldSeriesItem": { + "base": "

The data field series item configuration of a line chart.

", "refs": { + "SeriesItem$DataFieldSeriesItem": "

The data field series item configuration of a line chart.

" } }, - "DescribeNamespaceResponse": { + "DataLabelContent": { "base": null, "refs": { + "DataLabelOptions$LabelContent": "

Determines the content of the data labels.

" } }, - "DescribeTemplateAliasRequest": { - "base": null, + "DataLabelOptions": { + "base": "

The options that determine the presentation of the data labels.

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

The options that determine if visual data labels are displayed.

", + "ComboChartConfiguration$BarDataLabels": "

The options that determine if visual data labels are displayed.

The data label options for a bar in a combo chart.

", + "ComboChartConfiguration$LineDataLabels": "

The options that determine if visual data labels are displayed.

The data label options for a line in a combo chart.

", + "GaugeChartConfiguration$DataLabels": "

The data label configuration of a GaugeChartVisual.

", + "HeatMapConfiguration$DataLabels": "

The options that determine if visual data labels are displayed.

", + "HistogramConfiguration$DataLabels": "

The data label configuration of a histogram.

", + "LineChartConfiguration$DataLabels": "

The data label configuration of a line chart.

", + "PieChartConfiguration$DataLabels": "

The options that determine if visual data labels are displayed.

", + "SankeyDiagramChartConfiguration$DataLabels": "

The data label configuration of a sankey diagram.

", + "ScatterPlotConfiguration$DataLabels": "

The options that determine if visual data labels are displayed.

", + "TreeMapConfiguration$DataLabels": "

The options that determine if visual data labels are displayed.

", + "WaterfallChartConfiguration$DataLabels": "

The data label configuration of a waterfall visual.

" } }, - "DescribeTemplateAliasResponse": { + "DataLabelOverlap": { "base": null, "refs": { + "DataLabelOptions$Overlap": "

Determines whether overlap is enabled or disabled for the data labels.

" } }, - "DescribeTemplatePermissionsRequest": { + "DataLabelPosition": { "base": null, "refs": { + "DataLabelOptions$Position": "

Determines the position of the data labels.

", + "FunnelChartDataLabelOptions$Position": "

Determines the positioning of the data label relative to a section of the funnel.

" } }, - "DescribeTemplatePermissionsResponse": { - "base": null, + "DataLabelType": { + "base": "

The option that determines the data label type.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", "refs": { + "DataLabelTypes$member": null } }, - "DescribeTemplateRequest": { + "DataLabelTypes": { "base": null, "refs": { + "DataLabelOptions$DataLabelTypes": "

The option that determines the data label type.

" } }, - "DescribeTemplateResponse": { - "base": null, + "DataPathColor": { + "base": "

The color map that determines the color options for a particular element.

", "refs": { + "DataPathColorList$member": null } }, - "DescribeThemeAliasRequest": { + "DataPathColorList": { "base": null, "refs": { + "VisualPalette$ColorMap": "

The color map options for the visual palette.

" } }, - "DescribeThemeAliasResponse": { - "base": null, + "DataPathLabelType": { + "base": "

The option that specifies individual data values for labels.

", "refs": { + "DataLabelType$DataPathLabelType": "

The option that specifies individual data values for labels.

" } }, - "DescribeThemePermissionsRequest": { - "base": null, + "DataPathSort": { + "base": "

Allows data paths to be sorted by a specific data value.

", "refs": { + "PivotTableSortBy$DataPath": "

The data path sort (data path value, direction) for the pivot table sort by options.

" } }, - "DescribeThemePermissionsResponse": { - "base": null, + "DataPathValue": { + "base": "

The data path that needs to be sorted.

", "refs": { + "DataPathColor$Element": "

The element that the color needs to be applied to.

", + "DataPathValueList$member": null } }, - "DescribeThemeRequest": { + "DataPathValueList": { "base": null, "refs": { + "DataPathSort$SortPaths": "

The list of data paths that need to be sorted.

", + "PivotTableDataPathOption$DataPathList": "

The list of data path values for the data path options.

" } }, - "DescribeThemeResponse": { - "base": null, + "DataSet": { + "base": "

Dataset.

", "refs": { + "DescribeDataSetResponse$DataSet": "

Information on the dataset.

" } }, - "DescribeUserRequest": { + "DataSetArnsList": { "base": null, "refs": { + "Analysis$DataSetArns": "

The ARNs of the datasets of the analysis.

", + "DashboardVersion$DataSetArns": "

The Amazon Resource Numbers (ARNs) for the datasets that are associated with this version of the dashboard.

" } }, - "DescribeUserResponse": { - "base": null, + "DataSetConfiguration": { + "base": "

Dataset configuration.

", "refs": { + "DataSetConfigurationList$member": null } }, - "Domain": { + "DataSetConfigurationList": { "base": null, "refs": { - "AmazonElasticsearchParameters$Domain": "

The OpenSearch domain.

", - "AmazonOpenSearchParameters$Domain": "

The OpenSearch domain.

" + "TemplateVersion$DataSetConfigurations": "

Schema of the dataset identified by the placeholder. Any dashboard created from this template should be bound to new datasets matching the same schema described through this API operation.

", + "TemplateVersionDefinition$DataSetConfigurations": "

An array of dataset configurations. These configurations define the required columns for each dataset used within a template.

" } }, - "DomainNotWhitelistedException": { - "base": "

The domain specified isn't on the allow list. All domains for embedded dashboards must be added to the approved list by an Amazon QuickSight admin.

", + "DataSetFilterAttribute": { + "base": null, "refs": { + "DataSetSearchFilter$Name": "

The name of the value that you want to use as a filter, for example, \"Name\": \"QUICKSIGHT_OWNER\".

Valid values are defined as follows:

" } }, - "Double": { + "DataSetIdentifier": { "base": null, "refs": { - "DoubleList$member": null + "CalculatedField$DataSetIdentifier": "

The data set that is used in this calculated field.

", + "ColumnIdentifier$DataSetIdentifier": "

The data set that the column belongs to.

", + "CustomContentVisual$DataSetIdentifier": "

The dataset that is used to create the custom content visual. You can't create a visual without a dataset.

", + "DataSetIdentifierDeclaration$Identifier": "

The identifier of the data set, typically the data set's name.

", + "EmptyVisual$DataSetIdentifier": "

The data set that is used in the empty visual. Every visual requires a dataset to render.

", + "InsightVisual$DataSetIdentifier": "

The dataset that is used in the insight visual.

", + "RollingDateConfiguration$DataSetIdentifier": "

The data set that is used in the rolling date configuration.

" } }, - "DoubleList": { - "base": null, + "DataSetIdentifierDeclaration": { + "base": "

A data set.

", "refs": { - "DecimalParameter$Values": "

The values for the decimal parameter.

" + "DataSetIdentifierDeclarationList$member": null } }, - "Edition": { + "DataSetIdentifierDeclarationList": { "base": null, "refs": { - "AccountInfo$Edition": "

The edition of your Amazon QuickSight account.

", - "AccountSettings$Edition": "

The edition of Amazon QuickSight that you're currently subscribed to: Enterprise edition or Standard edition.

", - "CreateAccountSubscriptionRequest$Edition": "

The edition of Amazon QuickSight that you want your account to have. Currently, you can choose from ENTERPRISE or ENTERPRISE_AND_Q.

If you choose ENTERPRISE_AND_Q, the following parameters are required:

" + "AnalysisDefinition$DataSetIdentifierDeclarations": "

An array of dataset identifier declarations. This mapping allows the usage of dataset identifiers instead of dataset ARNs throughout analysis sub-structures.

", + "DashboardVersionDefinition$DataSetIdentifierDeclarations": "

An array of dataset identifier declarations. With this mapping,you can use dataset identifiers instead of dataset Amazon Resource Names (ARNs) throughout the dashboard's sub-structures.

" } }, - "EmbeddingIdentityType": { + "DataSetImportMode": { "base": null, "refs": { - "GetDashboardEmbedUrlRequest$IdentityType": "

The authentication method that the user uses to sign in.

" + "CreateDataSetRequest$ImportMode": "

Indicates whether you want to import the data into SPICE.

", + "DataSet$ImportMode": "

A value that indicates whether you want to import the data into SPICE.

", + "DataSetSummary$ImportMode": "

A value that indicates whether you want to import the data into SPICE.

", + "UpdateDataSetRequest$ImportMode": "

Indicates whether you want to import the data into SPICE.

" } }, - "EmbeddingUrl": { + "DataSetName": { "base": null, "refs": { - "GenerateEmbedUrlForAnonymousUserResponse$EmbedUrl": "

The embed URL for the dashboard.

", - "GenerateEmbedUrlForRegisteredUserResponse$EmbedUrl": "

The embed URL for the Amazon QuickSight dashboard, visual, Q search bar, or console.

", - "GetDashboardEmbedUrlResponse$EmbedUrl": "

A single-use URL that you can put into your server-side webpage to embed your dashboard. This URL is valid for 5 minutes. The API operation provides the URL with an auth_code value that enables one (and only one) sign-on to a user session that is valid for 10 hours.

", - "GetSessionEmbedUrlResponse$EmbedUrl": "

A single-use URL that you can put into your server-side web page to embed your Amazon QuickSight session. This URL is valid for 5 minutes. The API operation provides the URL with an auth_code value that enables one (and only one) sign-on to a user session that is valid for 10 hours.

" + "AwsIotAnalyticsParameters$DataSetName": "

Dataset name.

" } }, - "EntryPath": { - "base": null, + "DataSetReference": { + "base": "

Dataset reference.

", "refs": { - "RegisteredUserQuickSightConsoleEmbeddingConfiguration$InitialPath": "

The initial URL path for the Amazon QuickSight console. InitialPath is required.

The entry point URL is constrained to the following paths:

" + "DataSetReferenceList$member": null } }, - "EntryPoint": { + "DataSetReferenceList": { "base": null, "refs": { - "GetSessionEmbedUrlRequest$EntryPoint": "

The URL you use to access the embedded session. The entry point URL is constrained to the following paths:

" + "AnalysisSourceTemplate$DataSetReferences": "

The dataset references of the source template of an analysis.

", + "DashboardSourceTemplate$DataSetReferences": "

Dataset references.

", + "TemplateSourceAnalysis$DataSetReferences": "

A structure containing information about the dataset references used as placeholders in the template.

" } }, - "ErrorInfo": { - "base": "

Error information for the SPICE ingestion of a dataset.

", + "DataSetSchema": { + "base": "

Dataset schema.

", "refs": { - "Ingestion$ErrorInfo": "

Error information for this ingestion.

" + "DataSetConfiguration$DataSetSchema": "

Dataset schema.

" } }, - "ExasolParameters": { - "base": "

The required parameters for connecting to an Exasol data source.

", + "DataSetSearchFilter": { + "base": "

A filter that you apply when searching for datasets.

", "refs": { - "DataSourceParameters$ExasolParameters": "

The parameters for Exasol.

" + "DataSetSearchFilterList$member": null } }, - "ExceptionResourceType": { + "DataSetSearchFilterList": { "base": null, "refs": { - "LimitExceededException$ResourceType": "

Limit exceeded.

", - "ResourceExistsException$ResourceType": "

The resource type for this request.

", - "ResourceNotFoundException$ResourceType": "

The resource type for this request.

", - "ResourceUnavailableException$ResourceType": "

The resource type for this request.

" + "SearchDataSetsRequest$Filters": "

The filters to apply to the search.

" } }, - "ExportToCSVOption": { - "base": "

Export to .csv option.

", + "DataSetSummary": { + "base": "

Dataset summary.

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

Export to .csv option.

" + "DataSetSummaryList$member": null } }, - "Expression": { + "DataSetSummaryList": { "base": null, "refs": { - "CalculatedColumn$Expression": "

An expression that defines the calculated column.

", - "FilterOperation$ConditionExpression": "

An expression that must evaluate to a Boolean value. Rows for which the expression evaluates to true are kept in the dataset.

" + "ListDataSetsResponse$DataSetSummaries": "

The list of dataset summaries.

", + "SearchDataSetsResponse$DataSetSummaries": "

A DataSetSummaries object that returns a summary of a dataset.

" } }, - "FieldFolder": { - "base": "

A FieldFolder element is a folder that contains fields and nested subfolders.

", + "DataSetUsageConfiguration": { + "base": "

The usage configuration to apply to child datasets that reference this dataset as a source.

", "refs": { - "FieldFolderMap$value": null + "CreateDataSetRequest$DataSetUsageConfiguration": null, + "DataSet$DataSetUsageConfiguration": "

The usage configuration to apply to child datasets that reference this dataset as a source.

", + "UpdateDataSetRequest$DataSetUsageConfiguration": null } }, - "FieldFolderDescription": { - "base": null, + "DataSource": { + "base": "

The structure of a data source.

", "refs": { - "FieldFolder$description": "

The description for a field folder.

" + "DataSourceList$member": null, + "DescribeDataSourceResponse$DataSource": "

The information on the data source.

" } }, - "FieldFolderMap": { + "DataSourceCredentials": { + "base": "

Data source credentials. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.

", + "refs": { + "CreateDataSourceRequest$Credentials": "

The credentials Amazon QuickSight that uses to connect to your underlying source. Currently, only credentials based on user name and password are supported.

", + "UpdateDataSourceRequest$Credentials": "

The credentials that Amazon QuickSight that uses to connect to your underlying source. Currently, only credentials based on user name and password are supported.

" + } + }, + "DataSourceErrorInfo": { + "base": "

Error information for the data source creation or update.

", + "refs": { + "DataSource$ErrorInfo": "

Error information from the last update or the creation of the data source.

" + } + }, + "DataSourceErrorInfoType": { "base": null, "refs": { - "CreateDataSetRequest$FieldFolders": "

The folder that contains fields and nested subfolders for your dataset.

", - "DataSet$FieldFolders": "

The folder that contains fields and nested subfolders for your dataset.

", - "UpdateDataSetRequest$FieldFolders": "

The folder that contains fields and nested subfolders for your dataset.

" + "DataSourceErrorInfo$Type": "

Error type.

" } }, - "FieldFolderPath": { + "DataSourceFilterAttribute": { "base": null, "refs": { - "FieldFolderMap$key": null + "DataSourceSearchFilter$Name": "

The name of the value that you want to use as a filter, for example, \"Name\": \"DIRECT_QUICKSIGHT_OWNER\".

Valid values are defined as follows:

" } }, - "FileFormat": { + "DataSourceList": { "base": null, "refs": { - "UploadSettings$Format": "

File format.

" + "ListDataSourcesResponse$DataSources": "

A list of data sources.

" } }, - "FilterOperation": { - "base": "

A transform operation that filters rows based on a condition.

", + "DataSourceParameters": { + "base": "

The parameters that Amazon QuickSight uses to connect to your underlying data source. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.

", "refs": { - "TransformOperation$FilterOperation": "

An operation that filters rows based on some condition.

" + "CreateDataSourceRequest$DataSourceParameters": "

The parameters that Amazon QuickSight uses to connect to your underlying source.

", + "DataSource$DataSourceParameters": "

The parameters that Amazon QuickSight uses to connect to your underlying source. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.

", + "DataSourceParametersList$member": null, + "UpdateDataSourceRequest$DataSourceParameters": "

The parameters that Amazon QuickSight uses to connect to your underlying source.

" } }, - "FilterOperator": { + "DataSourceParametersList": { "base": null, "refs": { - "AnalysisSearchFilter$Operator": "

The comparison operator that you want to use as a filter, for example \"Operator\": \"StringEquals\". Valid values are \"StringEquals\" and \"StringLike\".

If you set the operator value to \"StringEquals\", you need to provide an ownership related filter in the \"NAME\" field and the arn of the user or group whose folders you want to search in the \"Value\" field. For example, \"Name\":\"DIRECT_QUICKSIGHT_OWNER\", \"Operator\": \"StringEquals\", \"Value\": \"arn:aws:quicksight:us-east-1:1:user/default/UserName1\".

If you set the value to \"StringLike\", you need to provide the name of the folders you are searching for. For example, \"Name\":\"ANALYSIS_NAME\", \"Operator\": \"StringLike\", \"Value\": \"Test\". The \"StringLike\" operator only supports the NAME value ANALYSIS_NAME.

", - "DashboardSearchFilter$Operator": "

The comparison operator that you want to use as a filter, for example \"Operator\": \"StringEquals\". Valid values are \"StringEquals\" and \"StringLike\".

If you set the operator value to \"StringEquals\", you need to provide an ownership related filter in the \"NAME\" field and the arn of the user or group whose folders you want to search in the \"Value\" field. For example, \"Name\":\"DIRECT_QUICKSIGHT_OWNER\", \"Operator\": \"StringEquals\", \"Value\": \"arn:aws:quicksight:us-east-1:1:user/default/UserName1\".

If you set the value to \"StringLike\", you need to provide the name of the folders you are searching for. For example, \"Name\":\"DASHBOARD_NAME\", \"Operator\": \"StringLike\", \"Value\": \"Test\". The \"StringLike\" operator only supports the NAME value DASHBOARD_NAME.

", - "DataSetSearchFilter$Operator": "

The comparison operator that you want to use as a filter, for example \"Operator\": \"StringEquals\". Valid values are \"StringEquals\" and \"StringLike\".

If you set the operator value to \"StringEquals\", you need to provide an ownership related filter in the \"NAME\" field and the arn of the user or group whose datasets you want to search in the \"Value\" field. For example, \"Name\":\"QUICKSIGHT_OWNER\", \"Operator\": \"StringEquals\", \"Value\": \"arn:aws:quicksight:us-east- 1:1:user/default/UserName1\".

If you set the value to \"StringLike\", you need to provide the name of the datasets you are searching for. For example, \"Name\":\"DATASET_NAME\", \"Operator\": \"StringLike\", \"Value\": \"Test\". The \"StringLike\" operator only supports the NAME value DATASET_NAME.

", - "DataSourceSearchFilter$Operator": "

The comparison operator that you want to use as a filter, for example \"Operator\": \"StringEquals\". Valid values are \"StringEquals\" and \"StringLike\".

If you set the operator value to \"StringEquals\", you need to provide an ownership related filter in the \"NAME\" field and the arn of the user or group whose data sources you want to search in the \"Value\" field. For example, \"Name\":\"DIRECT_QUICKSIGHT_OWNER\", \"Operator\": \"StringEquals\", \"Value\": \"arn:aws:quicksight:us-east-1:1:user/default/UserName1\".

If you set the value to \"StringLike\", you need to provide the name of the data sources you are searching for. For example, \"Name\":\"DATASOURCE_NAME\", \"Operator\": \"StringLike\", \"Value\": \"Test\". The \"StringLike\" operator only supports the NAME value DATASOURCE_NAME.

", - "FolderSearchFilter$Operator": "

The comparison operator that you want to use as a filter, for example \"Operator\": \"StringEquals\". Valid values are \"StringEquals\" and \"StringLike\".

If you set the operator value to \"StringEquals\", you need to provide an ownership related filter in the \"NAME\" field and the arn of the user or group whose folders you want to search in the \"Value\" field. For example, \"Name\":\"DIRECT_QUICKSIGHT_OWNER\", \"Operator\": \"StringEquals\", \"Value\": \"arn:aws:quicksight:us-east-1:1:user/default/UserName1\".

If you set the value to \"StringLike\", you need to provide the name of the folders you are searching for. For example, \"Name\":\"FOLDER_NAME\", \"Operator\": \"StringLike\", \"Value\": \"Test\". The \"StringLike\" operator only supports the NAME value FOLDER_NAME.

" + "CredentialPair$AlternateDataSourceParameters": "

A set of alternate data source parameters that you want to share for these credentials. The credentials are applied in tandem with the data source parameters when you copy a data source by using a create or update request. The API operation compares the DataSourceParameters structure that's in the request with the structures in the AlternateDataSourceParameters allow list. If the structures are an exact match, the request is allowed to use the new data source with the existing credentials. If the AlternateDataSourceParameters list is null, the DataSourceParameters originally used with these Credentials is automatically allowed.

", + "DataSource$AlternateDataSourceParameters": "

A set of alternate data source parameters that you want to share for the credentials stored with this data source. The credentials are applied in tandem with the data source parameters when you copy a data source by using a create or update request. The API operation compares the DataSourceParameters structure that's in the request with the structures in the AlternateDataSourceParameters allow list. If the structures are an exact match, the request is allowed to use the credentials from this existing data source. If the AlternateDataSourceParameters list is null, the Credentials originally used with this DataSourceParameters are automatically allowed.

" } }, - "Folder": { - "base": "

A folder in Amazon QuickSight.

", + "DataSourceSearchFilter": { + "base": "

A filter that you apply when searching for data sources.

", "refs": { - "DescribeFolderResponse$Folder": "

Information about the folder.

" + "DataSourceSearchFilterList$member": null } }, - "FolderColumnList": { + "DataSourceSearchFilterList": { "base": null, "refs": { - "FieldFolder$columns": "

A folder has a list of columns. A column can only be in one folder.

" + "SearchDataSourcesRequest$Filters": "

The filters to apply to the search.

" } }, - "FolderFilterAttribute": { - "base": null, + "DataSourceSummary": { + "base": "

A DataSourceSummary object that returns a summary of a data source.

", "refs": { - "FolderSearchFilter$Name": "

The name of a value that you want to use in the filter. For example, \"Name\": \"QUICKSIGHT_OWNER\".

Valid values are defined as follows:

" + "DataSourceSummaryList$member": null } }, - "FolderMember": { - "base": "

An asset in a Amazon QuickSight folder, such as a dashboard, analysis, or dataset.

", + "DataSourceSummaryList": { + "base": null, "refs": { - "CreateFolderMembershipResponse$FolderMember": "

Information about the member in the folder.

" + "SearchDataSourcesResponse$DataSourceSummaries": "

A DataSourceSummaries object that returns a summary of a data source.

" } }, - "FolderMemberList": { + "DataSourceType": { "base": null, "refs": { - "ListFolderMembersResponse$FolderMemberList": "

A structure that contains all of the folder members (dashboards, analyses, and datasets) in the folder.

" + "CreateDataSourceRequest$Type": "

The type of the data source. To return a list of all data sources, use ListDataSources.

Use AMAZON_ELASTICSEARCH for Amazon OpenSearch Service.

", + "DataSource$Type": "

The type of the data source. This type indicates which database engine the data source connects to.

", + "DataSourceSummary$Type": "

The type of the data source.

" } }, - "FolderName": { + "Database": { "base": null, "refs": { - "CreateFolderRequest$Name": "

The name of the folder.

", - "Folder$Name": "

A display name for the folder.

", - "FolderSummary$Name": "

The display name of the folder.

", - "UpdateFolderRequest$Name": "

The name of the folder.

" + "AuroraParameters$Database": "

Database.

", + "AuroraPostgreSqlParameters$Database": "

The Amazon Aurora PostgreSQL database to connect to.

", + "MariaDbParameters$Database": "

Database.

", + "MySqlParameters$Database": "

Database.

", + "OracleParameters$Database": "

Database.

", + "PostgreSqlParameters$Database": "

Database.

", + "RdsParameters$Database": "

Database.

", + "RedshiftParameters$Database": "

Database.

", + "SnowflakeParameters$Database": "

Database.

", + "SqlServerParameters$Database": "

Database.

", + "TeradataParameters$Database": "

Database.

" } }, - "FolderSearchFilter": { - "base": "

A filter to use to search an Amazon QuickSight folder.

", + "DatabricksParameters": { + "base": "

The required parameters that are needed to connect to a Databricks data source.

", "refs": { - "FolderSearchFilterList$member": null + "DataSourceParameters$DatabricksParameters": "

The required parameters that are needed to connect to a Databricks data source.

" } }, - "FolderSearchFilterList": { + "DateAggregationFunction": { "base": null, "refs": { - "SearchFoldersRequest$Filters": "

The filters to apply to the search. Currently, you can search only by the parent folder ARN. For example, \"Filters\": [ { \"Name\": \"PARENT_FOLDER_ARN\", \"Operator\": \"StringEquals\", \"Value\": \"arn:aws:quicksight:us-east-1:1:folder/folderId\" } ].

" + "AggregationFunction$DateAggregationFunction": "

Aggregation for date values.

", + "DateMeasureField$AggregationFunction": "

The aggregation function of the measure field.

" } }, - "FolderSummary": { - "base": "

A summary of information about an existing Amazon QuickSight folder.

", + "DateAxisOptions": { + "base": "

The options that determine how a date axis is displayed.

", "refs": { - "FolderSummaryList$member": null + "AxisDataOptions$DateAxisOptions": "

The options for an axis with a date field.

" } }, - "FolderSummaryList": { - "base": null, + "DateDimensionField": { + "base": "

The dimension type field with date type columns.

", "refs": { - "ListFoldersResponse$FolderSummaryList": "

A structure that contains all of the folders in the Amazon Web Services account. This structure provides basic information about the folders.

", - "SearchFoldersResponse$FolderSummaryList": "

A structure that contains all of the folders in the Amazon Web Services account. This structure provides basic information about the folders.

" + "DimensionField$DateDimensionField": "

The dimension type field with date type columns.

" } }, - "FolderType": { - "base": null, + "DateMeasureField": { + "base": "

The measure type field with date type columns.

", "refs": { - "CreateFolderRequest$FolderType": "

The type of folder. By default, folderType is SHARED.

", - "Folder$FolderType": "

The type of folder it is.

", - "FolderSummary$FolderType": "

The type of folder.

" + "MeasureField$DateMeasureField": "

The measure type field with date type columns.

" } }, - "GenerateEmbedUrlForAnonymousUserRequest": { + "DateTimeDefaultValueList": { "base": null, "refs": { + "CustomParameterValues$DateTimeValues": "

A list of datetime-type parameter values.

", + "DateTimeDefaultValues$StaticValues": "

The static values of the DataTimeDefaultValues.

" } }, - "GenerateEmbedUrlForAnonymousUserResponse": { - "base": null, + "DateTimeDefaultValues": { + "base": "

The default values of the DateTimeParameterDeclaration.

", "refs": { + "DateTimeParameterDeclaration$DefaultValues": "

The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided.

" } }, - "GenerateEmbedUrlForRegisteredUserRequest": { + "DateTimeFormat": { "base": null, "refs": { + "DateTimeFormatConfiguration$DateTimeFormat": "

Determines the DateTime format.

", + "DateTimePickerControlDisplayOptions$DateTimeFormat": "

Customize how dates are formatted in controls.

", + "RelativeDateTimeControlDisplayOptions$DateTimeFormat": "

Customize how dates are formatted in controls.

" } }, - "GenerateEmbedUrlForRegisteredUserResponse": { - "base": null, + "DateTimeFormatConfiguration": { + "base": "

Formatting configuration for DateTime fields.

", "refs": { + "DateDimensionField$FormatConfiguration": "

The format configuration of the field.

", + "DateMeasureField$FormatConfiguration": "

The format configuration of the field.

", + "FormatConfiguration$DateTimeFormatConfiguration": "

Formatting configuration for DateTime fields.

" } }, - "GeoSpatialColumnGroup": { - "base": "

Geospatial column group that denotes a hierarchy.

", + "DateTimeHierarchy": { + "base": "

The option that determines the hierarchy of any DateTime fields.

", "refs": { - "ColumnGroup$GeoSpatialColumnGroup": "

Geospatial column group that denotes a hierarchy.

" + "ColumnHierarchy$DateTimeHierarchy": "

The option that determines the hierarchy of any DateTime fields.

" } }, - "GeoSpatialCountryCode": { - "base": null, + "DateTimeParameter": { + "base": "

A date-time parameter.

", "refs": { - "GeoSpatialColumnGroup$CountryCode": "

Country code.

" + "DateTimeParameterList$member": null } }, - "GeoSpatialDataRole": { - "base": null, + "DateTimeParameterDeclaration": { + "base": "

A parameter declaration for the DateTime data type.

", "refs": { - "ColumnTag$ColumnGeographicRole": "

A geospatial role for a column.

" + "ParameterDeclaration$DateTimeParameterDeclaration": "

A parameter declaration for the DateTime data type.

" } }, - "GetDashboardEmbedUrlRequest": { + "DateTimeParameterList": { "base": null, "refs": { + "Parameters$DateTimeParameters": "

The parameters that have a data type of date-time.

" } }, - "GetDashboardEmbedUrlResponse": { - "base": "

Output returned from the GetDashboardEmbedUrl operation.

", + "DateTimePickerControlDisplayOptions": { + "base": "

The display options of a control.

", "refs": { + "FilterDateTimePickerControl$DisplayOptions": "

The display options of a control.

", + "ParameterDateTimePickerControl$DisplayOptions": "

The display options of a control.

" } }, - "GetSessionEmbedUrlRequest": { - "base": null, + "DateTimeValueWhenUnsetConfiguration": { + "base": "

The configuration that defines the default value of a DateTime parameter when a value has not been set.

", "refs": { + "DateTimeParameterDeclaration$ValueWhenUnset": "

The configuration that defines the default value of a DateTime parameter when a value has not been set.

" } }, - "GetSessionEmbedUrlResponse": { + "DecimalDefaultValueList": { "base": null, "refs": { + "CustomParameterValues$DecimalValues": "

A list of decimal-type parameter values.

", + "DecimalDefaultValues$StaticValues": "

The static values of the DecimalDefaultValues.

" } }, - "Group": { - "base": "

A group in Amazon QuickSight consists of a set of users. You can use groups to make it easier to manage access and security.

", + "DecimalDefaultValues": { + "base": "

The default values of the DecimalParameterDeclaration.

", "refs": { - "CreateGroupResponse$Group": "

The name of the group.

", - "DescribeGroupResponse$Group": "

The name of the group.

", - "GroupList$member": null, - "UpdateGroupResponse$Group": "

The name of the group.

" + "DecimalParameterDeclaration$DefaultValues": "

The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided.

" } }, - "GroupDescription": { - "base": null, + "DecimalParameter": { + "base": "

A decimal parameter.

", "refs": { - "CreateGroupRequest$Description": "

A description for the group that you want to create.

", - "Group$Description": "

The group description.

", - "UpdateGroupRequest$Description": "

The description for the group that you want to update.

" + "DecimalParameterList$member": null } }, - "GroupFilterAttribute": { - "base": null, + "DecimalParameterDeclaration": { + "base": "

A parameter declaration for the Decimal data type.

", "refs": { - "GroupSearchFilter$Name": "

The name of the value that you want to use as a filter, for example \"Name\": \"GROUP_NAME\". Currently, the only supported name is GROUP_NAME.

" + "ParameterDeclaration$DecimalParameterDeclaration": "

A parameter declaration for the Decimal data type.

" } }, - "GroupFilterOperator": { + "DecimalParameterList": { "base": null, "refs": { - "GroupSearchFilter$Operator": "

The comparison operator that you want to use as a filter, for example \"Operator\": \"StartsWith\". Currently, the only supported operator is StartsWith.

" + "Parameters$DecimalParameters": "

The parameters that have a data type of decimal.

" } }, - "GroupList": { + "DecimalPlaces": { "base": null, "refs": { - "ListGroupsResponse$GroupList": "

The list of the groups.

", - "ListUserGroupsResponse$GroupList": "

The list of groups the user is a member of.

", - "SearchGroupsResponse$GroupList": "

A list of groups in a specified namespace that match the filters you set in your SearchGroups request.

" + "DecimalPlacesConfiguration$DecimalPlaces": "

The values of the decimal places.

" } }, - "GroupMember": { - "base": "

A member of an Amazon QuickSight group. Currently, group members must be users. Groups can't be members of another group. .

", + "DecimalPlacesConfiguration": { + "base": "

The option that determines the decimal places configuration.

", "refs": { - "CreateGroupMembershipResponse$GroupMember": "

The group member.

", - "DescribeGroupMembershipResponse$GroupMember": null, - "GroupMemberList$member": null + "CurrencyDisplayFormatConfiguration$DecimalPlacesConfiguration": "

The option that determines the decimal places configuration.

", + "NumberDisplayFormatConfiguration$DecimalPlacesConfiguration": "

The option that determines the decimal places configuration.

", + "PercentageDisplayFormatConfiguration$DecimalPlacesConfiguration": "

The option that determines the decimal places configuration.

" } }, - "GroupMemberList": { - "base": null, + "DecimalValueWhenUnsetConfiguration": { + "base": "

The configuration that defines the default value of a Decimal parameter when a value has not been set.

", "refs": { - "ListGroupMembershipsResponse$GroupMemberList": "

The list of the members of the group.

" + "DecimalParameterDeclaration$ValueWhenUnset": "

The configuration that defines the default value of a Decimal parameter when a value has not been set.

" } }, - "GroupMemberName": { - "base": null, + "DefaultFreeFormLayoutConfiguration": { + "base": "

The options that determine the default settings of a free-form layout configuration.

", "refs": { - "CreateGroupMembershipRequest$MemberName": "

The name of the user that you want to add to the group membership.

", - "DeleteGroupMembershipRequest$MemberName": "

The name of the user that you want to delete from the group membership.

", - "DescribeGroupMembershipRequest$MemberName": "

The user name of the user that you want to search for.

", - "GroupMember$MemberName": "

The name of the group member (user).

" + "DefaultInteractiveLayoutConfiguration$FreeForm": "

The options that determine the default settings of a free-form layout configuration.

" } }, - "GroupName": { - "base": null, + "DefaultGridLayoutConfiguration": { + "base": "

The options that determine the default settings for a grid layout configuration.

", "refs": { - "CreateGroupMembershipRequest$GroupName": "

The name of the group that you want to add the user to.

", - "CreateGroupRequest$GroupName": "

A name for the group that you want to create.

", - "DeleteGroupMembershipRequest$GroupName": "

The name of the group that you want to delete the user from.

", - "DeleteGroupRequest$GroupName": "

The name of the group that you want to delete.

", - "DescribeGroupMembershipRequest$GroupName": "

The name of the group that you want to search.

", - "DescribeGroupRequest$GroupName": "

The name of the group that you want to describe.

", - "Group$GroupName": "

The name of the group.

", - "ListGroupMembershipsRequest$GroupName": "

The name of the group that you want to see a membership list of.

", - "UpdateGroupRequest$GroupName": "

The name of the group that you want to update.

" + "DefaultInteractiveLayoutConfiguration$Grid": "

The options that determine the default settings for a grid layout configuration.

" } }, - "GroupSearchFilter": { - "base": "

A GroupSearchFilter object that you want to apply to your search.

", + "DefaultInteractiveLayoutConfiguration": { + "base": "

The options that determine the default settings for interactive layout configuration.

", "refs": { - "GroupSearchFilterList$member": null + "DefaultNewSheetConfiguration$InteractiveLayoutConfiguration": "

The options that determine the default settings for interactive layout configuration.

" } }, - "GroupSearchFilterList": { - "base": null, + "DefaultNewSheetConfiguration": { + "base": "

The configuration for default new sheet settings.

", "refs": { - "SearchGroupsRequest$Filters": "

The structure for the search filters that you want to apply to your search.

" + "AnalysisDefaults$DefaultNewSheetConfiguration": "

The configuration for default new sheet settings.

" } }, - "GroupsList": { - "base": null, + "DefaultPaginatedLayoutConfiguration": { + "base": "

The options that determine the default settings for a paginated layout configuration.

", "refs": { - "CreateAccountSubscriptionRequest$AdminGroup": "

The admin group associated with your Active Directory. This field is required if ACTIVE_DIRECTORY is the selected authentication method of the new Amazon QuickSight account. For more information about using Active Directory in Amazon QuickSight, see Using Active Directory with Amazon QuickSight Enterprise Edition in the Amazon QuickSight User Guide.

", - "CreateAccountSubscriptionRequest$AuthorGroup": "

The author group associated with your Active Directory. For more information about using Active Directory in Amazon QuickSight, see Using Active Directory with Amazon QuickSight Enterprise Edition in the Amazon QuickSight User Guide.

", - "CreateAccountSubscriptionRequest$ReaderGroup": "

The reader group associated with your Active Direcrtory. For more information about using Active Directory in Amazon QuickSight, see Using Active Directory with Amazon QuickSight Enterprise Edition in the Amazon QuickSight User Guide.

" + "DefaultNewSheetConfiguration$PaginatedLayoutConfiguration": "

The options that determine the default settings for a paginated layout configuration.

" } }, - "GutterStyle": { - "base": "

The display options for gutter spacing between tiles on a sheet.

", + "DefaultSectionBasedLayoutConfiguration": { + "base": "

The options that determine the default settings for a section-based layout configuration.

", "refs": { - "TileLayoutStyle$Gutter": "

The gutter settings that apply between tiles.

" + "DefaultPaginatedLayoutConfiguration$SectionBased": "

The options that determine the default settings for a section-based layout configuration.

" } }, - "HexColor": { + "DeleteAccountCustomizationRequest": { "base": null, "refs": { - "ColorList$member": null, - "DataColorPalette$EmptyFillColor": "

The hexadecimal code of a color that applies to charts where a lack of data is highlighted.

", - "UIColorPalette$PrimaryForeground": "

The color of text and other foreground elements that appear over the primary background regions, such as grid lines, borders, table banding, icons, and so on.

", - "UIColorPalette$PrimaryBackground": "

The background color that applies to visuals and other high emphasis UI.

", - "UIColorPalette$SecondaryForeground": "

The foreground color that applies to any sheet title, sheet control text, or UI that appears over the secondary background.

", - "UIColorPalette$SecondaryBackground": "

The background color that applies to the sheet background and sheet controls.

", - "UIColorPalette$Accent": "

This color is that applies to selected states and buttons.

", - "UIColorPalette$AccentForeground": "

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

", - "UIColorPalette$Danger": "

The color that applies to error messages.

", - "UIColorPalette$DangerForeground": "

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

", - "UIColorPalette$Warning": "

This color that applies to warning and informational messages.

", - "UIColorPalette$WarningForeground": "

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

", - "UIColorPalette$Success": "

The color that applies to success messages, for example the check mark for a successful download.

", - "UIColorPalette$SuccessForeground": "

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

", - "UIColorPalette$Dimension": "

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

", - "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.

" } }, - "Host": { + "DeleteAccountCustomizationResponse": { "base": null, "refs": { - "AuroraParameters$Host": "

Host.

", - "AuroraPostgreSqlParameters$Host": "

The Amazon Aurora PostgreSQL-Compatible host to connect to.

", - "DatabricksParameters$Host": "

The host name of the Databricks data source.

", - "ExasolParameters$Host": "

The hostname or IP address of the Exasol data source.

", - "MariaDbParameters$Host": "

Host.

", - "MySqlParameters$Host": "

Host.

", - "OracleParameters$Host": "

An Oracle host.

", - "PostgreSqlParameters$Host": "

Host.

", - "PrestoParameters$Host": "

Host.

", - "RedshiftParameters$Host": "

Host. This field can be blank if ClusterId is provided.

", - "SnowflakeParameters$Host": "

Host.

", - "SparkParameters$Host": "

Host.

", - "SqlServerParameters$Host": "

Host.

", - "TeradataParameters$Host": "

Host.

" - } - }, - "IAMPolicyAssignment": { - "base": "

An Identity and Access Management (IAM) policy assignment.

", - "refs": { - "DescribeIAMPolicyAssignmentResponse$IAMPolicyAssignment": "

Information describing the IAM policy assignment.

" } }, - "IAMPolicyAssignmentName": { + "DeleteAccountSubscriptionRequest": { "base": null, "refs": { - "ActiveIAMPolicyAssignment$AssignmentName": "

A name for the IAM policy assignment.

", - "CreateIAMPolicyAssignmentRequest$AssignmentName": "

The name of the assignment, also called a rule. It must be unique within an Amazon Web Services account.

", - "CreateIAMPolicyAssignmentResponse$AssignmentName": "

The name of the assignment. This name must be unique within the Amazon Web Services account.

", - "DeleteIAMPolicyAssignmentRequest$AssignmentName": "

The name of the assignment.

", - "DeleteIAMPolicyAssignmentResponse$AssignmentName": "

The name of the assignment.

", - "DescribeIAMPolicyAssignmentRequest$AssignmentName": "

The name of the assignment, also called a rule.

", - "IAMPolicyAssignment$AssignmentName": "

Assignment name.

", - "IAMPolicyAssignmentSummary$AssignmentName": "

Assignment name.

", - "UpdateIAMPolicyAssignmentRequest$AssignmentName": "

The name of the assignment, also called a rule. This name must be unique within an Amazon Web Services account.

", - "UpdateIAMPolicyAssignmentResponse$AssignmentName": "

The name of the assignment or rule.

" } }, - "IAMPolicyAssignmentSummary": { - "base": "

IAM policy assignment summary.

", + "DeleteAccountSubscriptionResponse": { + "base": null, "refs": { - "IAMPolicyAssignmentSummaryList$member": null } }, - "IAMPolicyAssignmentSummaryList": { + "DeleteAnalysisRequest": { "base": null, "refs": { - "ListIAMPolicyAssignmentsResponse$IAMPolicyAssignments": "

Information describing the IAM policy assignments.

" } }, - "IdentityMap": { + "DeleteAnalysisResponse": { "base": null, "refs": { - "CreateIAMPolicyAssignmentRequest$Identities": "

The Amazon QuickSight users, groups, or both that you want to assign the policy to.

", - "CreateIAMPolicyAssignmentResponse$Identities": "

The Amazon QuickSight users, groups, or both that the IAM policy is assigned to.

", - "IAMPolicyAssignment$Identities": "

Identities.

", - "UpdateIAMPolicyAssignmentRequest$Identities": "

The Amazon QuickSight users, groups, or both that you want to assign the policy to.

", - "UpdateIAMPolicyAssignmentResponse$Identities": "

The Amazon QuickSight users, groups, or both that the IAM policy is assigned to.

" } }, - "IdentityName": { + "DeleteDashboardRequest": { "base": null, "refs": { - "IdentityNameList$member": null } }, - "IdentityNameList": { + "DeleteDashboardResponse": { "base": null, "refs": { - "IdentityMap$value": null } }, - "IdentityStore": { + "DeleteDataSetRequest": { "base": null, "refs": { - "CreateNamespaceRequest$IdentityStore": "

Specifies the type of your user identity directory. Currently, this supports users with an identity type of QUICKSIGHT.

", - "CreateNamespaceResponse$IdentityStore": "

Specifies the type of your user identity directory. Currently, this supports users with an identity type of QUICKSIGHT.

", - "NamespaceInfoV2$IdentityStore": "

The identity store used for the namespace.

" } }, - "IdentityType": { + "DeleteDataSetResponse": { "base": null, "refs": { - "RegisterUserRequest$IdentityType": "

Amazon QuickSight supports several ways of managing the identity of users. This parameter accepts two values:

", - "User$IdentityType": "

The type of identity authentication used by the user.

" } }, - "IdentityTypeNotSupportedException": { - "base": "

The identity type specified isn't supported. Supported identity types include IAM and QUICKSIGHT.

", + "DeleteDataSourceRequest": { + "base": null, "refs": { } }, - "Ingestion": { - "base": "

Information about the SPICE ingestion for a dataset.

", + "DeleteDataSourceResponse": { + "base": null, "refs": { - "DescribeIngestionResponse$Ingestion": "

Information about the ingestion.

", - "Ingestions$member": null } }, - "IngestionErrorType": { + "DeleteFolderMembershipRequest": { "base": null, "refs": { - "ErrorInfo$Type": "

Error type.

" } }, - "IngestionId": { + "DeleteFolderMembershipResponse": { "base": null, "refs": { - "CancelIngestionRequest$IngestionId": "

An ID for the ingestion.

", - "CancelIngestionResponse$IngestionId": "

An ID for the ingestion.

", - "CreateIngestionRequest$IngestionId": "

An ID for the ingestion.

", - "CreateIngestionResponse$IngestionId": "

An ID for the ingestion.

", - "DescribeIngestionRequest$IngestionId": "

An ID for the ingestion.

", - "Ingestion$IngestionId": "

Ingestion ID.

" } }, - "IngestionMaxResults": { + "DeleteFolderRequest": { "base": null, "refs": { - "ListIngestionsRequest$MaxResults": "

The maximum number of results to be returned per request.

" } }, - "IngestionRequestSource": { + "DeleteFolderResponse": { "base": null, "refs": { - "Ingestion$RequestSource": "

Event source for this ingestion.

" } }, - "IngestionRequestType": { - "base": "This defines the type of ingestion request. This is returned as part of create ingestion response.", + "DeleteGroupMembershipRequest": { + "base": null, "refs": { - "Ingestion$RequestType": "

Type of this ingestion.

" } }, - "IngestionStatus": { + "DeleteGroupMembershipResponse": { "base": null, "refs": { - "CreateIngestionResponse$IngestionStatus": "

The ingestion status.

", - "Ingestion$IngestionStatus": "

Ingestion status.

" } }, - "IngestionType": { - "base": "This defines the type of ingestion user wants to trigger. This is part of create ingestion request.", + "DeleteGroupRequest": { + "base": null, "refs": { - "CreateIngestionRequest$IngestionType": "

The type of ingestion that you want to create.

" } }, - "Ingestions": { + "DeleteGroupResponse": { "base": null, "refs": { - "ListIngestionsResponse$Ingestions": "

A list of the ingestions.

" } }, - "InputColumn": { - "base": "

Metadata for a column that is used as the input of a transform operation.

", + "DeleteIAMPolicyAssignmentRequest": { + "base": null, "refs": { - "InputColumnList$member": null } }, - "InputColumnDataType": { + "DeleteIAMPolicyAssignmentResponse": { "base": null, "refs": { - "InputColumn$Type": "

The data type of the column.

" } }, - "InputColumnList": { + "DeleteNamespaceRequest": { "base": null, "refs": { - "CustomSql$Columns": "

The column schema from the SQL query result set.

", - "RelationalTable$InputColumns": "

The column schema of the table.

", - "S3Source$InputColumns": "

A physical table type for an S3 data source.

For files that aren't JSON, only STRING data types are supported in input columns.

" } }, - "InstanceId": { + "DeleteNamespaceResponse": { "base": null, "refs": { - "RdsParameters$InstanceId": "

Instance ID.

" } }, - "IntegerParameter": { - "base": "

An integer parameter.

", + "DeleteTemplateAliasRequest": { + "base": null, "refs": { - "IntegerParameterList$member": null } }, - "IntegerParameterList": { + "DeleteTemplateAliasResponse": { "base": null, "refs": { - "Parameters$IntegerParameters": "

The parameters that have a data type of integer.

" } }, - "InternalFailureException": { - "base": "

An internal failure occurred.

", + "DeleteTemplateRequest": { + "base": null, "refs": { } }, - "InvalidNextTokenException": { - "base": "

The NextToken value isn't valid.

", + "DeleteTemplateResponse": { + "base": null, "refs": { } }, - "InvalidParameterValueException": { - "base": "

One or more parameters has a value that isn't valid.

", + "DeleteThemeAliasRequest": { + "base": null, "refs": { } }, - "InvalidRequestException": { - "base": "

You don't have this feature activated for your account. To fix this issue, contact Amazon Web Services support.

", + "DeleteThemeAliasResponse": { + "base": null, "refs": { } }, - "IpRestrictionRuleDescription": { + "DeleteThemeRequest": { "base": null, "refs": { - "IpRestrictionRuleMap$value": null } }, - "IpRestrictionRuleMap": { + "DeleteThemeResponse": { "base": null, "refs": { - "DescribeIpRestrictionResponse$IpRestrictionRuleMap": "

A map that describes the IP rules with CIDR range and description.

", - "UpdateIpRestrictionRequest$IpRestrictionRuleMap": "

A map that describes the updated IP rules with CIDR ranges and descriptions.

" } }, - "JiraParameters": { - "base": "

The parameters for Jira.

", + "DeleteUserByPrincipalIdRequest": { + "base": "

", "refs": { - "DataSourceParameters$JiraParameters": "

The parameters for Jira.

" } }, - "JoinInstruction": { - "base": "

The instructions associated with a join.

", + "DeleteUserByPrincipalIdResponse": { + "base": null, "refs": { - "LogicalTableSource$JoinInstruction": "

Specifies the result of a join of two logical tables.

" } }, - "JoinKeyProperties": { - "base": "

Properties associated with the columns participating in a join.

", + "DeleteUserRequest": { + "base": null, "refs": { - "JoinInstruction$LeftJoinKeyProperties": "

Join key properties of the left operand.

", - "JoinInstruction$RightJoinKeyProperties": "

Join key properties of the right operand.

" } }, - "JoinType": { + "DeleteUserResponse": { "base": null, "refs": { - "JoinInstruction$Type": "

The type of join that it is.

" } }, - "LimitExceededException": { - "base": "

A limit is exceeded.

", + "Delimiter": { + "base": null, "refs": { + "UploadSettings$Delimiter": "

The delimiter between values in the file.

" } }, - "LinkSharingConfiguration": { - "base": "

A structure that contains the configuration of a shareable link to the dashboard.

", + "DescribeAccountCustomizationRequest": { + "base": null, "refs": { - "DescribeDashboardPermissionsResponse$LinkSharingConfiguration": "

A structure that contains the configuration of a shareable link that grants access to the dashboard. Your users can use the link to view and interact with the dashboard, if the dashboard has been shared with them. For more information about sharing dashboards, see Sharing Dashboards.

", - "UpdateDashboardPermissionsResponse$LinkSharingConfiguration": "

Updates the permissions of a shared link to an Amazon QuickSight dashboard.

" } }, - "ListAnalysesRequest": { + "DescribeAccountCustomizationResponse": { "base": null, "refs": { } }, - "ListAnalysesResponse": { + "DescribeAccountSettingsRequest": { "base": null, "refs": { } }, - "ListDashboardVersionsRequest": { + "DescribeAccountSettingsResponse": { "base": null, "refs": { } }, - "ListDashboardVersionsResponse": { + "DescribeAccountSubscriptionRequest": { "base": null, "refs": { } }, - "ListDashboardsRequest": { + "DescribeAccountSubscriptionResponse": { "base": null, "refs": { } }, - "ListDashboardsResponse": { + "DescribeAnalysisDefinitionRequest": { "base": null, "refs": { } }, - "ListDataSetsRequest": { + "DescribeAnalysisDefinitionResponse": { "base": null, "refs": { } }, - "ListDataSetsResponse": { + "DescribeAnalysisPermissionsRequest": { "base": null, "refs": { } }, - "ListDataSourcesRequest": { + "DescribeAnalysisPermissionsResponse": { "base": null, "refs": { } }, - "ListDataSourcesResponse": { + "DescribeAnalysisRequest": { "base": null, "refs": { } }, - "ListFolderMembersRequest": { + "DescribeAnalysisResponse": { "base": null, "refs": { } }, - "ListFolderMembersResponse": { + "DescribeDashboardDefinitionRequest": { "base": null, "refs": { } }, - "ListFoldersRequest": { + "DescribeDashboardDefinitionResponse": { "base": null, "refs": { } }, - "ListFoldersResponse": { + "DescribeDashboardPermissionsRequest": { "base": null, "refs": { } }, - "ListGroupMembershipsRequest": { + "DescribeDashboardPermissionsResponse": { "base": null, "refs": { } }, - "ListGroupMembershipsResponse": { + "DescribeDashboardRequest": { "base": null, "refs": { } }, - "ListGroupsRequest": { + "DescribeDashboardResponse": { "base": null, "refs": { } }, - "ListGroupsResponse": { + "DescribeDataSetPermissionsRequest": { "base": null, "refs": { } }, - "ListIAMPolicyAssignmentsForUserRequest": { + "DescribeDataSetPermissionsResponse": { "base": null, "refs": { } }, - "ListIAMPolicyAssignmentsForUserResponse": { + "DescribeDataSetRequest": { "base": null, "refs": { } }, - "ListIAMPolicyAssignmentsRequest": { + "DescribeDataSetResponse": { "base": null, "refs": { } }, - "ListIAMPolicyAssignmentsResponse": { + "DescribeDataSourcePermissionsRequest": { "base": null, "refs": { } }, - "ListIngestionsRequest": { + "DescribeDataSourcePermissionsResponse": { "base": null, "refs": { } }, - "ListIngestionsResponse": { + "DescribeDataSourceRequest": { "base": null, "refs": { } }, - "ListNamespacesRequest": { + "DescribeDataSourceResponse": { "base": null, "refs": { } }, - "ListNamespacesResponse": { + "DescribeFolderPermissionsRequest": { "base": null, "refs": { } }, - "ListTagsForResourceRequest": { + "DescribeFolderPermissionsResponse": { "base": null, "refs": { } }, - "ListTagsForResourceResponse": { + "DescribeFolderRequest": { "base": null, "refs": { } }, - "ListTemplateAliasesRequest": { + "DescribeFolderResolvedPermissionsRequest": { "base": null, "refs": { } }, - "ListTemplateAliasesResponse": { + "DescribeFolderResolvedPermissionsResponse": { "base": null, "refs": { } }, - "ListTemplateVersionsRequest": { + "DescribeFolderResponse": { "base": null, "refs": { } }, - "ListTemplateVersionsResponse": { + "DescribeGroupMembershipRequest": { "base": null, "refs": { } }, - "ListTemplatesRequest": { + "DescribeGroupMembershipResponse": { "base": null, "refs": { } }, - "ListTemplatesResponse": { + "DescribeGroupRequest": { "base": null, "refs": { } }, - "ListThemeAliasesRequest": { + "DescribeGroupResponse": { "base": null, "refs": { } }, - "ListThemeAliasesResponse": { + "DescribeIAMPolicyAssignmentRequest": { "base": null, "refs": { } }, - "ListThemeVersionsRequest": { + "DescribeIAMPolicyAssignmentResponse": { "base": null, "refs": { } }, - "ListThemeVersionsResponse": { + "DescribeIngestionRequest": { "base": null, "refs": { } }, - "ListThemesRequest": { + "DescribeIngestionResponse": { "base": null, "refs": { } }, - "ListThemesResponse": { + "DescribeIpRestrictionRequest": { "base": null, "refs": { } }, - "ListUserGroupsRequest": { + "DescribeIpRestrictionResponse": { "base": null, "refs": { } }, - "ListUserGroupsResponse": { + "DescribeNamespaceRequest": { "base": null, "refs": { } }, - "ListUsersRequest": { + "DescribeNamespaceResponse": { "base": null, "refs": { } }, - "ListUsersResponse": { + "DescribeTemplateAliasRequest": { "base": null, "refs": { } }, - "LogicalTable": { - "base": "

A logical table is a unit that joins and that data transformations operate on. A logical table has a source, which can be either a physical table or result of a join. When a logical table points to a physical table, the logical table acts as a mutable copy of that physical table through transform operations.

", + "DescribeTemplateAliasResponse": { + "base": null, "refs": { - "LogicalTableMap$value": null } }, - "LogicalTableAlias": { + "DescribeTemplateDefinitionRequest": { "base": null, "refs": { - "LogicalTable$Alias": "

A display name for the logical table.

" } }, - "LogicalTableId": { + "DescribeTemplateDefinitionResponse": { "base": null, "refs": { - "JoinInstruction$LeftOperand": "

The operand on the left side of a join.

", - "JoinInstruction$RightOperand": "

The operand on the right side of a join.

", - "LogicalTableMap$key": null } }, - "LogicalTableMap": { + "DescribeTemplatePermissionsRequest": { "base": null, "refs": { - "CreateDataSetRequest$LogicalTableMap": "

Configures the combination and transformation of the data from the physical tables.

", - "DataSet$LogicalTableMap": "

Configures the combination and transformation of the data from the physical tables.

", - "UpdateDataSetRequest$LogicalTableMap": "

Configures the combination and transformation of the data from the physical tables.

" } }, - "LogicalTableSource": { - "base": "

Information about the source of a logical table. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.

", + "DescribeTemplatePermissionsResponse": { + "base": null, "refs": { - "LogicalTable$Source": "

Source of this logical table.

" } }, - "Long": { + "DescribeTemplateRequest": { "base": null, "refs": { - "DataSet$ConsumedSpiceCapacityInBytes": "

The amount of SPICE capacity used by this dataset. This is 0 if the dataset isn't imported into SPICE.

", - "Ingestion$IngestionTimeInSeconds": "

The time that this ingestion took, measured in seconds.

", - "Ingestion$IngestionSizeInBytes": "

The size of the data ingested, in bytes.

", - "LongList$member": null, - "RowInfo$RowsIngested": "

The number of rows that were ingested.

", - "RowInfo$RowsDropped": "

The number of rows that were not ingested.

", - "RowInfo$TotalRowsInDataset": "

The total number of rows in the dataset.

" } }, - "LongList": { + "DescribeTemplateResponse": { "base": null, "refs": { - "IntegerParameter$Values": "

The values for the integer parameter.

" } }, - "ManifestFileLocation": { - "base": "

Amazon S3 manifest file location.

", + "DescribeThemeAliasRequest": { + "base": null, "refs": { - "S3Parameters$ManifestFileLocation": "

Location of the Amazon S3 manifest file. This is NULL if the manifest file was uploaded into Amazon QuickSight.

" } }, - "MarginStyle": { - "base": "

The display options for margins around the outside edge of sheets.

", + "DescribeThemeAliasResponse": { + "base": null, "refs": { - "TileLayoutStyle$Margin": "

The margin settings that apply around the outside edge of sheets.

" } }, - "MariaDbParameters": { - "base": "

The parameters for MariaDB.

", + "DescribeThemePermissionsRequest": { + "base": null, "refs": { - "DataSourceParameters$MariaDbParameters": "

The parameters for MariaDB.

" } }, - "MaxResults": { + "DescribeThemePermissionsResponse": { "base": null, "refs": { - "ListAnalysesRequest$MaxResults": "

The maximum number of results to return.

", - "ListDashboardVersionsRequest$MaxResults": "

The maximum number of results to be returned per request.

", - "ListDashboardsRequest$MaxResults": "

The maximum number of results to be returned per request.

", - "ListDataSetsRequest$MaxResults": "

The maximum number of results to be returned per request.

", - "ListDataSourcesRequest$MaxResults": "

The maximum number of results to be returned per request.

", - "ListFolderMembersRequest$MaxResults": "

The maximum number of results to be returned per request.

", - "ListFoldersRequest$MaxResults": "

The maximum number of results to be returned per request.

", - "ListGroupMembershipsRequest$MaxResults": "

The maximum number of results to return from this request.

", - "ListGroupsRequest$MaxResults": "

The maximum number of results to return.

", - "ListIAMPolicyAssignmentsForUserRequest$MaxResults": "

The maximum number of results to be returned per request.

", - "ListIAMPolicyAssignmentsRequest$MaxResults": "

The maximum number of results to be returned per request.

", - "ListNamespacesRequest$MaxResults": "

The maximum number of results to return.

", - "ListTemplateAliasesRequest$MaxResults": "

The maximum number of results to be returned per request.

", - "ListTemplateVersionsRequest$MaxResults": "

The maximum number of results to be returned per request.

", - "ListTemplatesRequest$MaxResults": "

The maximum number of results to be returned per request.

", - "ListThemeAliasesRequest$MaxResults": "

The maximum number of results to be returned per request.

", - "ListThemeVersionsRequest$MaxResults": "

The maximum number of results to be returned per request.

", - "ListThemesRequest$MaxResults": "

The maximum number of results to be returned per request.

", - "ListUserGroupsRequest$MaxResults": "

The maximum number of results to return from this request.

", - "ListUsersRequest$MaxResults": "

The maximum number of results to return from this request.

", - "SearchAnalysesRequest$MaxResults": "

The maximum number of results to return.

", - "SearchDashboardsRequest$MaxResults": "

The maximum number of results to be returned per request.

", - "SearchDataSetsRequest$MaxResults": "

The maximum number of results to be returned per request.

", - "SearchDataSourcesRequest$MaxResults": "

The maximum number of results to be returned per request.

", - "SearchFoldersRequest$MaxResults": "

The maximum number of results to be returned per request.

", - "SearchGroupsRequest$MaxResults": "

The maximum number of results to return from this request.

" } }, - "MemberIdArnPair": { - "base": "

An object that consists of a member Amazon Resource Name (ARN) and a member ID.

", + "DescribeThemeRequest": { + "base": null, "refs": { - "FolderMemberList$member": null } }, - "MemberType": { + "DescribeThemeResponse": { "base": null, "refs": { - "CreateFolderMembershipRequest$MemberType": "

The type of the member, including DASHBOARD, ANALYSIS, and DATASET.

", - "DeleteFolderMembershipRequest$MemberType": "

The type of the member, including DASHBOARD, ANALYSIS, and DATASET

", - "FolderMember$MemberType": "

The type of asset that it is.

" } }, - "MySqlParameters": { - "base": "

The parameters for MySQL.

", + "DescribeUserRequest": { + "base": null, "refs": { - "DataSourceParameters$MySqlParameters": "

The parameters for MySQL.

" } }, - "Namespace": { + "DescribeUserResponse": { "base": null, "refs": { - "AccountSettings$DefaultNamespace": "

The default Amazon QuickSight namespace for your Amazon Web Services account.

", - "CreateAccountCustomizationRequest$Namespace": "

The Amazon QuickSight namespace that you want to add customizations to.

", - "CreateAccountCustomizationResponse$Namespace": "

The namespace associated with the customization you're creating.

", - "CreateGroupMembershipRequest$Namespace": "

The namespace that you want the user to be a part of.

", - "CreateGroupRequest$Namespace": "

The namespace that you want the group to be a part of.

", - "CreateIAMPolicyAssignmentRequest$Namespace": "

The namespace that contains the assignment.

", - "CreateNamespaceRequest$Namespace": "

The name that you want to use to describe the new namespace.

", - "CreateNamespaceResponse$Name": "

The name of the new namespace that you created.

", - "DeleteAccountCustomizationRequest$Namespace": "

The Amazon QuickSight namespace that you're deleting the customizations from.

", - "DeleteGroupMembershipRequest$Namespace": "

The namespace of the group that you want to remove a user from.

", - "DeleteGroupRequest$Namespace": "

The namespace of the group that you want to delete.

", - "DeleteIAMPolicyAssignmentRequest$Namespace": "

The namespace that contains the assignment.

", - "DeleteNamespaceRequest$Namespace": "

The namespace that you want to delete.

", - "DeleteUserByPrincipalIdRequest$Namespace": "

The namespace. Currently, you should set this to default.

", - "DeleteUserRequest$Namespace": "

The namespace. Currently, you should set this to default.

", - "DescribeAccountCustomizationRequest$Namespace": "

The Amazon QuickSight namespace that you want to describe Amazon QuickSight customizations for.

", - "DescribeAccountCustomizationResponse$Namespace": "

The Amazon QuickSight namespace that you're describing.

", - "DescribeGroupMembershipRequest$Namespace": "

The namespace that includes the group you are searching within.

", - "DescribeGroupRequest$Namespace": "

The namespace of the group that you want described.

", - "DescribeIAMPolicyAssignmentRequest$Namespace": "

The namespace that contains the assignment.

", - "DescribeNamespaceRequest$Namespace": "

The namespace that you want to describe.

", - "DescribeUserRequest$Namespace": "

The namespace. Currently, you should set this to default.

", - "GenerateEmbedUrlForAnonymousUserRequest$Namespace": "

The Amazon QuickSight namespace that the anonymous user virtually belongs to. If you are not using an Amazon QuickSight custom namespace, set this to default.

", - "GetDashboardEmbedUrlRequest$Namespace": "

The Amazon QuickSight namespace that contains the dashboard IDs in this request. If you're not using a custom namespace, set Namespace = default.

", - "ListGroupMembershipsRequest$Namespace": "

The namespace of the group that you want a list of users from.

", - "ListGroupsRequest$Namespace": "

The namespace that you want a list of groups from.

", - "ListIAMPolicyAssignmentsForUserRequest$Namespace": "

The namespace of the assignment.

", - "ListIAMPolicyAssignmentsRequest$Namespace": "

The namespace for the assignments.

", - "ListUserGroupsRequest$Namespace": "

The namespace. Currently, you should set this to default.

", - "ListUsersRequest$Namespace": "

The namespace. Currently, you should set this to default.

", - "NamespaceInfoV2$Name": "

The name of the error.

", - "RegisterUserRequest$Namespace": "

The namespace. Currently, you should set this to default.

", - "RowLevelPermissionDataSet$Namespace": "

The namespace associated with the dataset that contains permissions for RLS.

", - "SearchGroupsRequest$Namespace": "

The namespace that you want to search.

", - "UpdateAccountCustomizationRequest$Namespace": "

The namespace that you want to update Amazon QuickSight customizations for.

", - "UpdateAccountCustomizationResponse$Namespace": "

The namespace associated with the customization that you're updating.

", - "UpdateAccountSettingsRequest$DefaultNamespace": "

The default namespace for this Amazon Web Services account. Currently, the default is default. Identity and Access Management (IAM) users that register for the first time with Amazon QuickSight provide an email address that becomes associated with the default namespace.

", - "UpdateGroupRequest$Namespace": "

The namespace of the group that you want to update.

", - "UpdateIAMPolicyAssignmentRequest$Namespace": "

The namespace of the assignment.

", - "UpdateUserRequest$Namespace": "

The namespace. Currently, you should set this to default.

" } }, - "NamespaceError": { - "base": "

Errors that occur during namespace creation.

", + "DestinationParameterValueConfiguration": { + "base": "

The configuration of destination parameter values.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", "refs": { - "NamespaceInfoV2$NamespaceError": "

An error that occurred when the namespace was created.

" + "SetParameterValueConfiguration$Value": null } }, - "NamespaceErrorType": { - "base": null, + "DimensionField": { + "base": "

The dimension type field.

", "refs": { - "NamespaceError$Type": "

The error type.

" + "BoxPlotDimensionFieldList$member": null, + "DimensionFieldList$member": null, + "FilledMapDimensionFieldList$member": null, + "ForecastComputation$Time": "

The time field that is used in a computation.

", + "FunnelChartDimensionFieldList$member": null, + "GrowthRateComputation$Time": "

The time field that is used in a computation.

", + "HeatMapDimensionFieldList$member": null, + "MaximumMinimumComputation$Time": "

The time field that is used in a computation.

", + "MetricComparisonComputation$Time": "

The time field that is used in a computation.

", + "PeriodOverPeriodComputation$Time": "

The time field that is used in a computation.

", + "PeriodToDateComputation$Time": "

The time field that is used in a computation.

", + "PivotTableDimensionList$member": null, + "SmallMultiplesDimensionFieldList$member": null, + "TopBottomMoversComputation$Time": "

The time field that is used in a computation.

", + "TopBottomMoversComputation$Category": "

The category field that is used in a computation.

", + "TopBottomRankedComputation$Category": "

The category field that is used in a computation.

", + "TreeMapDimensionFieldList$member": null, + "UniqueValuesComputation$Category": "

The category field that is used in a computation.

", + "WordCloudDimensionFieldList$member": null } }, - "NamespaceInfoV2": { - "base": "

The error type.

", + "DimensionFieldList": { + "base": null, "refs": { - "DescribeNamespaceResponse$Namespace": "

The information about the namespace that you're describing. The response includes the namespace ARN, name, Amazon Web Services Region, creation status, and identity store. DescribeNamespace also works for namespaces that are in the process of being created. For incomplete namespaces, this API operation lists the namespace error types and messages associated with the creation process.

", - "Namespaces$member": null + "BarChartAggregatedFieldWells$Category": "

The category (y-axis) field well of a bar chart.

", + "BarChartAggregatedFieldWells$Colors": "

The color (group/color) field well of a bar chart.

", + "ComboChartAggregatedFieldWells$Category": "

The aggregated category field wells of a combo chart.

", + "ComboChartAggregatedFieldWells$Colors": "

The aggregated colors field well of a combo chart.

", + "GeospatialMapAggregatedFieldWells$Geospatial": "

The geospatial field wells of a geospatial map. Values are grouped by geospatial fields.

", + "GeospatialMapAggregatedFieldWells$Colors": "

The color field wells of a geospatial map.

", + "KPIFieldWells$TrendGroups": "

The trend group field wells of a KPI visual.

", + "LineChartAggregatedFieldWells$Category": "

The category field wells of a line chart. Values are grouped by category fields.

", + "LineChartAggregatedFieldWells$Colors": "

The color field wells of a line chart. Values are grouped by category fields.

", + "PieChartAggregatedFieldWells$Category": "

The category (group/color) field wells of a pie chart.

", + "SankeyDiagramAggregatedFieldWells$Source": "

The source field wells of a sankey diagram.

", + "SankeyDiagramAggregatedFieldWells$Destination": "

The destination field wells of a sankey diagram.

", + "ScatterPlotCategoricallyAggregatedFieldWells$Category": "

The category field well of a scatter plot.

", + "ScatterPlotUnaggregatedFieldWells$XAxis": "

The x-axis field well of a scatter plot.

The x-axis is a dimension field and cannot be aggregated.

", + "ScatterPlotUnaggregatedFieldWells$YAxis": "

The y-axis field well of a scatter plot.

The y-axis is a dimension field and cannot be aggregated.

", + "TableAggregatedFieldWells$GroupBy": "

The group by field well for a pivot table. Values are grouped by group by fields.

", + "WaterfallChartAggregatedFieldWells$Categories": "

The category field wells of a waterfall visual.

", + "WaterfallChartAggregatedFieldWells$Breakdowns": "

The breakdown field wells of a waterfall visual.

" } }, - "NamespaceStatus": { + "Domain": { "base": null, "refs": { - "CreateNamespaceResponse$CreationStatus": "

The status of the creation of the namespace. This is an asynchronous process. A status of CREATED means that your namespace is ready to use. If an error occurs, it indicates if the process is retryable or non-retryable. In the case of a non-retryable error, refer to the error message for follow-up tasks.

", - "NamespaceInfoV2$CreationStatus": "

The creation status of a namespace that is not yet completely created.

" + "AmazonElasticsearchParameters$Domain": "

The OpenSearch domain.

", + "AmazonOpenSearchParameters$Domain": "

The OpenSearch domain.

" } }, - "Namespaces": { - "base": null, + "DomainNotWhitelistedException": { + "base": "

The domain specified isn't on the allow list. All domains for embedded dashboards must be added to the approved list by an Amazon QuickSight admin.

", "refs": { - "ListNamespacesResponse$Namespaces": "

The information about the namespaces in this Amazon Web Services account. The response includes the namespace ARN, name, Amazon Web Services Region, notification email address, creation status, and identity store.

" } }, - "NonEmptyString": { + "DonutCenterOptions": { + "base": "

The label options of the label that is displayed in the center of a donut chart. This option isn't available for pie charts.

", + "refs": { + "DonutOptions$DonutCenterOptions": "

The label options of the label that is displayed in the center of a donut chart. This option isn't available for pie charts.

" + } + }, + "DonutOptions": { + "base": "

The options for configuring a donut chart or pie chart.

", + "refs": { + "PieChartConfiguration$DonutOptions": "

The options that determine the shape of the chart. This option determines whether the chart is a pie chart or a donut chart.

" + } + }, + "Double": { "base": null, "refs": { - "AnalysisError$Message": "

The message associated with the analysis error.

", - "DashboardError$Message": "

Message.

", - "DataSetReference$DataSetPlaceholder": "

Dataset placeholder.

", - "DateTimeParameter$Name": "

A display name for the date-time parameter.

", - "DecimalParameter$Name": "

A display name for the decimal parameter.

", - "IntegerParameter$Name": "

The name of the integer parameter.

", - "Sheet$Name": "

The name of a sheet. This name is displayed on the sheet's tab in the Amazon QuickSight console.

", - "StringParameter$Name": "

A display name for a string parameter.

", - "TemplateError$Message": "

Description of the error type.

", - "ThemeError$Message": "

The error message.

" + "ArcAxisDisplayRange$Min": "

The minimum value of the arc axis range.

", + "ArcAxisDisplayRange$Max": "

The maximum value of the arc axis range.

", + "ArcConfiguration$ArcAngle": "

The option that determines the arc angle of a GaugeChartVisual.

", + "AxisDisplayMinMaxRange$Minimum": "

The minimum setup for an axis display range.

", + "AxisDisplayMinMaxRange$Maximum": "

The maximum setup for an axis display range.

", + "AxisLinearScale$StepSize": "

The step size setup of a linear axis.

", + "AxisLogarithmicScale$Base": "

The base setup of a logarithmic axis scale.

", + "AxisTickLabelOptions$RotationAngle": "

The rotation angle of the axis tick labels.

", + "DataColor$DataValue": "

The data value that the color is applied to.

", + "FilterSliderControl$MaximumValue": "

The smaller value that is displayed at the left of the slider.

", + "FilterSliderControl$MinimumValue": "

The larger value that is displayed at the right of the slider.

", + "FilterSliderControl$StepSize": "

The number of increments that the slider bar is divided into.

", + "ForecastComputation$UpperBoundary": "

The upper boundary setup of a forecast computation.

", + "ForecastComputation$LowerBoundary": "

The lower boundary setup of a forecast computation.

", + "GradientStop$GradientOffset": "

Determines gradient offset value.

", + "GradientStop$DataValue": "

Determines the data value.

", + "HistogramBinOptions$StartValue": "

The options that determine the bin start value.

", + "NumericEqualityDrillDownFilter$Value": "

The value of the double input numeric drill down filter.

", + "NumericEqualityFilter$Value": "

The input value.

", + "NumericRangeFilterValue$StaticValue": "

The static value of the numeric range filter.

", + "ParameterSliderControl$MaximumValue": "

The smaller value that is displayed at the left of the slider.

", + "ParameterSliderControl$MinimumValue": "

The larger value that is displayed at the right of the slider.

", + "ParameterSliderControl$StepSize": "

The number of increments that the slider bar is divided into.

", + "TimeBasedForecastProperties$UpperBoundary": "

The upper boundary setup of a forecast computation.

", + "TimeBasedForecastProperties$LowerBoundary": "

The lower boundary setup of a forecast computation.

", + "WhatIfPointScenario$Value": "

The target value that you want to meet for the provided date.

", + "WhatIfRangeScenario$Value": "

The target value that you want to meet for the provided date range.

" } }, - "NullableBoolean": { + "DrillDownFilter": { + "base": "

The drill down filter for the column hierarchies.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", + "refs": { + "DrillDownFilterList$member": null + } + }, + "DrillDownFilterList": { "base": null, "refs": { - "DescribeIpRestrictionResponse$Enabled": "

A value that specifies whether IP rules are turned on.

", - "UpdateIpRestrictionRequest$Enabled": "

A value that specifies whether IP rules are turned on.

" + "DateTimeHierarchy$DrillDownFilters": "

The option that determines the drill down filters for the DateTime hierarchy.

", + "ExplicitHierarchy$DrillDownFilters": "

The option that determines the drill down filters for the explicit hierarchy.

", + "PredefinedHierarchy$DrillDownFilters": "

The option that determines the drill down filters for the predefined hierarchy.

" } }, - "OnClause": { + "DropDownControlDisplayOptions": { + "base": "

The display options of a control.

", + "refs": { + "FilterDropDownControl$DisplayOptions": "

The display options of the FilterDropDownControl.

", + "ParameterDropDownControl$DisplayOptions": "

The display options of a control.

" + } + }, + "DynamicDefaultValue": { + "base": "

Defines different defaults to the users or groups based on mapping.

", + "refs": { + "DateTimeDefaultValues$DynamicValue": "

The dynamic value of the DataTimeDefaultValues. Different defaults are displayed according to users, groups, and values mapping.

", + "DecimalDefaultValues$DynamicValue": "

The dynamic value of the DecimalDefaultValues. Different defaults are displayed according to users, groups, and values mapping.

", + "IntegerDefaultValues$DynamicValue": "

The dynamic value of the IntegerDefaultValues. Different defaults are displayed according to users, groups, and values mapping.

", + "StringDefaultValues$DynamicValue": "

The dynamic value of the StringDefaultValues. Different defaults displayed according to users, groups, and values mapping.

" + } + }, + "Edition": { "base": null, "refs": { - "JoinInstruction$OnClause": "

The join instructions provided in the ON clause of a join.

" + "AccountInfo$Edition": "

The edition of your Amazon QuickSight account.

", + "AccountSettings$Edition": "

The edition of Amazon QuickSight that you're currently subscribed to: Enterprise edition or Standard edition.

", + "CreateAccountSubscriptionRequest$Edition": "

The edition of Amazon QuickSight that you want your account to have. Currently, you can choose from ENTERPRISE or ENTERPRISE_AND_Q.

If you choose ENTERPRISE_AND_Q, the following parameters are required:

" } }, - "OptionalPort": { + "EmbeddingIdentityType": { "base": null, "refs": { - "RedshiftParameters$Port": "

Port. This field can be blank if the ClusterId is provided.

" + "GetDashboardEmbedUrlRequest$IdentityType": "

The authentication method that the user uses to sign in.

" } }, - "OracleParameters": { - "base": "

The parameters for Oracle.

", + "EmbeddingUrl": { + "base": null, "refs": { - "DataSourceParameters$OracleParameters": "

The parameters for Oracle.

" + "GenerateEmbedUrlForAnonymousUserResponse$EmbedUrl": "

The embed URL for the dashboard.

", + "GenerateEmbedUrlForRegisteredUserResponse$EmbedUrl": "

The embed URL for the Amazon QuickSight dashboard, visual, Q search bar, or console.

", + "GetDashboardEmbedUrlResponse$EmbedUrl": "

A single-use URL that you can put into your server-side webpage to embed your dashboard. This URL is valid for 5 minutes. The API operation provides the URL with an auth_code value that enables one (and only one) sign-on to a user session that is valid for 10 hours.

", + "GetSessionEmbedUrlResponse$EmbedUrl": "

A single-use URL that you can put into your server-side web page to embed your Amazon QuickSight session. This URL is valid for 5 minutes. The API operation provides the URL with an auth_code value that enables one (and only one) sign-on to a user session that is valid for 10 hours.

" } }, - "OutputColumn": { - "base": "

Output column.

", + "EmptyVisual": { + "base": "

An empty visual.

Empty visuals are used in layouts but have not been configured to show any data. A new visual created in the Amazon QuickSight console is considered an EmptyVisual until a visual type is selected.

", "refs": { - "OutputColumnList$member": null + "Visual$EmptyVisual": "

An empty visual.

" } }, - "OutputColumnList": { - "base": null, + "Entity": { + "base": "

An object, structure, or sub-structure of an analysis, template, or dashboard.

", "refs": { - "DataSet$OutputColumns": "

The list of columns after all transforms. These columns are available in templates, analyses, and dashboards.

" + "EntityList$member": null } }, - "Parameters": { - "base": "

A list of Amazon QuickSight parameters and the list's override values.

", + "EntityList": { + "base": null, "refs": { - "CreateAnalysisRequest$Parameters": "

The parameter names and override values that you want to use. An analysis can have any parameter type, and some parameters might accept multiple values.

", - "CreateDashboardRequest$Parameters": "

The parameters for the creation of the dashboard, which you want to use to override the default settings. A dashboard can have any type of parameters, and some parameters might accept multiple values.

", - "UpdateAnalysisRequest$Parameters": "

The parameter names and override values that you want to use. An analysis can have any parameter type, and some parameters might accept multiple values.

", - "UpdateDashboardRequest$Parameters": "

A structure that contains the parameters of the dashboard. These are parameter overrides for a dashboard. A dashboard can have any type of parameters, and some parameters might accept multiple values.

" + "AnalysisError$ViolatedEntities": "

", + "DashboardError$ViolatedEntities": "

", + "TemplateError$ViolatedEntities": "

" } }, - "Password": { + "EntryPath": { "base": null, "refs": { - "CredentialPair$Password": "

Password.

" + "RegisteredUserQuickSightConsoleEmbeddingConfiguration$InitialPath": "

The initial URL path for the Amazon QuickSight console. InitialPath is required.

The entry point URL is constrained to the following paths:

" } }, - "Path": { + "EntryPoint": { "base": null, "refs": { - "Folder$FolderPath": "

An array of ancestor ARN strings for the folder.

" + "GetSessionEmbedUrlRequest$EntryPoint": "

The URL you use to access the embedded session. The entry point URL is constrained to the following paths:

" } }, - "PhysicalTable": { - "base": "

A view of a data source that contains information about the shape of the data in the underlying source. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.

", + "ErrorInfo": { + "base": "

Error information for the SPICE ingestion of a dataset.

", "refs": { - "PhysicalTableMap$value": null + "Ingestion$ErrorInfo": "

Error information for this ingestion.

" } }, - "PhysicalTableId": { - "base": null, + "ExasolParameters": { + "base": "

The required parameters for connecting to an Exasol data source.

", "refs": { - "LogicalTableSource$PhysicalTableId": "

Physical table ID.

", - "PhysicalTableMap$key": null + "DataSourceParameters$ExasolParameters": "

The parameters for Exasol.

" } }, - "PhysicalTableMap": { + "ExceptionResourceType": { "base": null, "refs": { - "CreateDataSetRequest$PhysicalTableMap": "

Declares the physical tables that are available in the underlying data sources.

", - "DataSet$PhysicalTableMap": "

Declares the physical tables that are available in the underlying data sources.

", - "UpdateDataSetRequest$PhysicalTableMap": "

Declares the physical tables that are available in the underlying data sources.

" + "LimitExceededException$ResourceType": "

Limit exceeded.

", + "ResourceExistsException$ResourceType": "

The resource type for this request.

", + "ResourceNotFoundException$ResourceType": "

The resource type for this request.

", + "ResourceUnavailableException$ResourceType": "

The resource type for this request.

" } }, - "Port": { - "base": null, + "ExcludePeriodConfiguration": { + "base": "

The exclude period of TimeRangeFilter or RelativeDatesFilter.

", "refs": { - "AuroraParameters$Port": "

Port.

", - "AuroraPostgreSqlParameters$Port": "

The port that Amazon Aurora PostgreSQL is listening on.

", - "DatabricksParameters$Port": "

The port for the Databricks data source.

", - "ExasolParameters$Port": "

The port for the Exasol data source.

", - "MariaDbParameters$Port": "

Port.

", - "MySqlParameters$Port": "

Port.

", - "OracleParameters$Port": "

Port.

", - "PostgreSqlParameters$Port": "

Port.

", - "PrestoParameters$Port": "

Port.

", - "SparkParameters$Port": "

Port.

", - "SqlServerParameters$Port": "

Port.

", - "TeradataParameters$Port": "

Port.

" + "RelativeDatesFilter$ExcludePeriodConfiguration": "

The configuration for the exclude period of the filter.

", + "TimeRangeFilter$ExcludePeriodConfiguration": "

The exclude period of the time range filter.

" } }, - "PositiveInteger": { + "ExplicitHierarchy": { + "base": "

The option that determines the hierarchy of the fields that are built within a visual's field wells. These fields can't be duplicated to other visuals.

", + "refs": { + "ColumnHierarchy$ExplicitHierarchy": "

The option that determines the hierarchy of the fields that are built within a visual's field wells. These fields can't be duplicated to other visuals.

" + } + }, + "ExplicitHierarchyColumnList": { "base": null, "refs": { - "TwitterParameters$MaxRows": "

Maximum number of rows to query Twitter.

", - "UploadSettings$StartFromRow": "

A row number to start reading data from.

" + "ExplicitHierarchy$Columns": "

The list of columns that define the explicit hierarchy.

" } }, - "PostgreSqlParameters": { - "base": "

The parameters for PostgreSQL.

", + "ExportHiddenFieldsOption": { + "base": "

", "refs": { - "DataSourceParameters$PostgreSqlParameters": "

The parameters for PostgreSQL.

" + "DashboardVisualPublishOptions$ExportHiddenFieldsOption": "

" } }, - "PreconditionNotMetException": { - "base": "

One or more preconditions aren't met.

", + "ExportToCSVOption": { + "base": "

Export to .csv option.

", + "refs": { + "DashboardPublishOptions$ExportToCSVOption": "

Export to .csv option.

" + } + }, + "Expression": { + "base": null, "refs": { + "CalculatedColumn$Expression": "

An expression that defines the calculated column.

", + "CalculatedField$Expression": "

The expression of the calculated field.

", + "CalculatedMeasureField$Expression": "

The expression in the table calculation.

", + "ConditionalFormattingCustomIconCondition$Expression": "

The expression that determines the condition of the icon set.

", + "ConditionalFormattingGradientColor$Expression": "

The expression that determines the formatting configuration for gradient color.

", + "ConditionalFormattingIconSet$Expression": "

The expression that determines the formatting configuration for the icon set.

", + "ConditionalFormattingSolidColor$Expression": "

The expression that determines the formatting configuration for solid color.

", + "FilterOperation$ConditionExpression": "

An expression that must evaluate to a Boolean value. Rows for which the expression evaluates to true are kept in the dataset.

", + "RollingDateConfiguration$Expression": "

The expression of the rolling date configuration.

", + "SheetElementRenderingRule$Expression": "

The expression of the rendering rules of a sheet.

" } }, - "PrestoParameters": { - "base": "

The parameters for Presto.

", + "FieldBasedTooltip": { + "base": "

The setup for the detailed tooltip.

", "refs": { - "DataSourceParameters$PrestoParameters": "

The parameters for Presto.

" + "TooltipOptions$FieldBasedTooltip": "

The setup for the detailed tooltip. The tooltip setup is always saved. The display type is decided based on the tooltip type.

" } }, - "Principal": { + "FieldFolder": { + "base": "

A FieldFolder element is a folder that contains fields and nested subfolders.

", + "refs": { + "FieldFolderMap$value": null + } + }, + "FieldFolderDescription": { "base": null, "refs": { - "ResourcePermission$Principal": "

The Amazon Resource Name (ARN) of the principal. This can be one of the following:

" + "FieldFolder$description": "

The description for a field folder.

" } }, - "PrincipalList": { + "FieldFolderMap": { "base": null, "refs": { - "ColumnLevelPermissionRule$Principals": "

An array of Amazon Resource Names (ARNs) for Amazon QuickSight users or groups.

" + "CreateDataSetRequest$FieldFolders": "

The folder that contains fields and nested subfolders for your dataset.

", + "DataSet$FieldFolders": "

The folder that contains fields and nested subfolders for your dataset.

", + "UpdateDataSetRequest$FieldFolders": "

The folder that contains fields and nested subfolders for your dataset.

" } }, - "ProjectOperation": { - "base": "

A transform operation that projects columns. Operations that come after a projection can only refer to projected columns.

", + "FieldFolderPath": { + "base": null, "refs": { - "TransformOperation$ProjectOperation": "

An operation that projects columns. Operations that come after a projection can only refer to projected columns.

" + "FieldFolderMap$key": null } }, - "ProjectedColumnList": { + "FieldId": { "base": null, "refs": { - "ProjectOperation$ProjectedColumns": "

Projected columns.

" + "AxisLabelReferenceOptions$FieldId": "

The field that the axis label is targeted to.

", + "CalculatedMeasureField$FieldId": "

The custom field ID.

", + "CategoricalDimensionField$FieldId": "

The custom field ID.

", + "CategoricalMeasureField$FieldId": "

The custom field ID.

", + "ContributionAnalysisDefault$MeasureFieldId": "

The measure field that is used in the contribution analysis.

", + "DataFieldSeriesItem$FieldId": "

The field ID of the field that you are setting the axis binding to.

", + "DataPathLabelType$FieldId": "

The field ID of the field that the data label needs to be applied to.

", + "DataPathValue$FieldId": "

The field ID of the field that needs to be sorted.

", + "DateDimensionField$FieldId": "

The custom field ID.

", + "DateMeasureField$FieldId": "

The custom field ID.

", + "DestinationParameterValueConfiguration$SourceField": "

The source field ID of the destination parameter.

", + "FieldLabelType$FieldId": "

Indicates the field that is targeted by the field label.

", + "FieldOrderList$member": null, + "FieldSeriesItem$FieldId": "

The field ID of the field for which you are setting the axis binding.

", + "FieldSort$FieldId": "

The sort configuration target field.

", + "FieldTooltipItem$FieldId": "

The unique ID of the field that is targeted by the tooltip.

", + "FilledMapShapeConditionalFormatting$FieldId": "

The field ID of the filled map shape.

", + "NumericalDimensionField$FieldId": "

The custom field ID.

", + "NumericalMeasureField$FieldId": "

The custom field ID.

", + "PivotFieldSortOptions$FieldId": "

The field ID for the field sort options.

", + "PivotTableCellConditionalFormatting$FieldId": "

The field ID of the cell for conditional formatting.

", + "PivotTableFieldOption$FieldId": "

The field ID of the pivot table field.

", + "PivotTableFieldSubtotalOptions$FieldId": "

The field ID of the subtotal options.

", + "SelectedFieldList$member": null, + "TableCellConditionalFormatting$FieldId": "

The field ID of the cell for conditional formatting.

", + "TableFieldOption$FieldId": "

The field ID for a table field.

", + "UnaggregatedField$FieldId": "

The custom field ID.

" } }, - "Query": { + "FieldLabelType": { + "base": "

The field label type.

", + "refs": { + "DataLabelType$FieldLabelType": "

Determines the label configuration for the entire field.

" + } + }, + "FieldOrderList": { "base": null, "refs": { - "TwitterParameters$Query": "

Twitter query string.

" + "TableFieldOptions$Order": "

The order of field IDs of the field options for a table visual.

" } }, - "QueueInfo": { - "base": "

Information about a queued dataset SPICE ingestion.

", + "FieldSeriesItem": { + "base": "

The field series item configuration of a line chart.

", "refs": { - "Ingestion$QueueInfo": null + "SeriesItem$FieldSeriesItem": "

The field series item configuration of a line chart.

" } }, - "QuickSightUserNotFoundException": { - "base": "

The user with the provided name isn't found. This error can happen in any operation that requires finding a user based on a provided user name, such as DeleteUser, DescribeUser, and so on.

", + "FieldSort": { + "base": "

The sort configuration for a field in a field well.

", "refs": { + "FieldSortOptions$FieldSort": "

The sort configuration for a field in a field well.

", + "PivotTableSortBy$Field": "

The field sort (field id, direction) for the pivot table sort by options.

" } }, - "RdsParameters": { - "base": "

The parameters for Amazon RDS.

", + "FieldSortOptions": { + "base": "

The field sort options in a chart configuration.

", "refs": { - "DataSourceParameters$RdsParameters": "

The parameters for Amazon RDS.

" + "FieldSortOptionsList$member": null, + "RowSortList$member": null } }, - "RecoveryWindowInDays": { + "FieldSortOptionsList": { "base": null, "refs": { - "DeleteAnalysisRequest$RecoveryWindowInDays": "

A value that specifies the number of days that Amazon QuickSight waits before it deletes the analysis. You can't use this parameter with the ForceDeleteWithoutRecovery option in the same API call. The default value is 30.

" + "BarChartSortConfiguration$CategorySort": "

The sort configuration of category fields.

", + "BarChartSortConfiguration$ColorSort": "

The sort configuration of color fields in a bar chart.

", + "BarChartSortConfiguration$SmallMultiplesSort": "

The sort configuration of the small multiples field.

", + "BoxPlotSortConfiguration$CategorySort": "

The sort configuration of a group by fields.

", + "ComboChartSortConfiguration$CategorySort": "

The sort configuration of the category field well in a combo chart.

", + "ComboChartSortConfiguration$ColorSort": "

The sort configuration of the color field well in a combo chart.

", + "FilledMapSortConfiguration$CategorySort": "

The sort configuration of the location fields.

", + "FunnelChartSortConfiguration$CategorySort": "

The sort configuration of the category fields.

", + "HeatMapSortConfiguration$HeatMapRowSort": "

The field sort configuration of the rows fields.

", + "HeatMapSortConfiguration$HeatMapColumnSort": "

The column sort configuration for heat map for columns that aren't a part of a field well.

", + "KPISortConfiguration$TrendGroupSort": "

The sort configuration of the trend group fields.

", + "LineChartSortConfiguration$CategorySort": "

The sort configuration of the category fields.

", + "LineChartSortConfiguration$SmallMultiplesSort": "

The sort configuration of the small multiples field.

", + "PieChartSortConfiguration$CategorySort": "

The sort configuration of the category fields.

", + "PieChartSortConfiguration$SmallMultiplesSort": "

The sort configuration of the small multiples field.

", + "SankeyDiagramSortConfiguration$WeightSort": "

The sort configuration of the weight fields.

", + "TreeMapSortConfiguration$TreeMapSort": "

The sort configuration of group by fields.

", + "WaterfallChartSortConfiguration$CategorySort": "

The sort configuration of the category fields.

", + "WordCloudSortConfiguration$CategorySort": "

The sort configuration of group by fields.

" } }, - "RedshiftParameters": { - "base": "

The parameters for Amazon Redshift. The ClusterId field can be blank if Host and Port are both set. The Host and Port fields can be blank if the ClusterId field is set.

", + "FieldTooltipItem": { + "base": "

The tooltip item for the fields.

", "refs": { - "DataSourceParameters$RedshiftParameters": "

The parameters for Amazon Redshift.

" + "TooltipItem$FieldTooltipItem": "

The tooltip item for the fields.

" } }, - "RegisterUserRequest": { + "FieldValue": { "base": null, "refs": { + "DataPathLabelType$FieldValue": "

The actual value of the field that is labeled.

", + "DataPathValue$FieldValue": "

The actual value of the field that needs to be sorted.

" } }, - "RegisterUserResponse": { + "FileFormat": { "base": null, "refs": { + "UploadSettings$Format": "

File format.

" } }, - "RegisteredUserDashboardEmbeddingConfiguration": { - "base": "

Information about the dashboard you want to embed.

", + "FilledMapAggregatedFieldWells": { + "base": "

The aggregated field well of the filled map.

", "refs": { - "RegisteredUserEmbeddingExperienceConfiguration$Dashboard": "

The configuration details for providing a dashboard embedding experience.

" + "FilledMapFieldWells$FilledMapAggregatedFieldWells": "

The aggregated field well of the filled map.

" } }, - "RegisteredUserDashboardVisualEmbeddingConfiguration": { - "base": "

The experience that you are embedding. You can use this object to generate a url that embeds a visual into your application.

", + "FilledMapConditionalFormatting": { + "base": "

The conditional formatting of a FilledMapVisual.

", "refs": { - "RegisteredUserEmbeddingExperienceConfiguration$DashboardVisual": "

The type of embedding experience. In this case, Amazon QuickSight visuals.

" + "FilledMapVisual$ConditionalFormatting": "

The conditional formatting of a FilledMapVisual.

" } }, - "RegisteredUserEmbeddingExperienceConfiguration": { - "base": "

The type of experience you want to embed. For registered users, you can embed Amazon QuickSight dashboards or the Amazon QuickSight console.

Exactly one of the experience configurations is required. You can choose Dashboard or QuickSightConsole. You cannot choose more than one experience configuration.

", + "FilledMapConditionalFormattingOption": { + "base": "

Conditional formatting options of a FilledMapVisual.

", "refs": { - "GenerateEmbedUrlForRegisteredUserRequest$ExperienceConfiguration": "

The experience you are embedding. For registered users, you can embed Amazon QuickSight dashboards, Amazon QuickSight visuals, the Amazon QuickSight Q search bar, or the entire Amazon QuickSight console.

" + "FilledMapConditionalFormattingOptionList$member": null } }, - "RegisteredUserQSearchBarEmbeddingConfiguration": { - "base": "

Information about the Q search bar embedding experience.

", + "FilledMapConditionalFormattingOptionList": { + "base": null, "refs": { - "RegisteredUserEmbeddingExperienceConfiguration$QSearchBar": "

The configuration details for embedding the Q search bar.

For more information about embedding the Q search bar, see Embedding Overview in the Amazon QuickSight User Guide.

" + "FilledMapConditionalFormatting$ConditionalFormattingOptions": "

Conditional formatting options of a FilledMapVisual.

" } }, - "RegisteredUserQuickSightConsoleEmbeddingConfiguration": { - "base": "

Information about the Amazon QuickSight console that you want to embed.

", + "FilledMapConfiguration": { + "base": "

The configuration for a FilledMapVisual.

", "refs": { - "RegisteredUserEmbeddingExperienceConfiguration$QuickSightConsole": "

The configuration details for providing each Amazon QuickSight console embedding experience. This can be used along with custom permissions to restrict access to certain features. For more information, see Customizing Access to the Amazon QuickSight Console in the Amazon QuickSight User Guide.

Use GenerateEmbedUrlForRegisteredUser where you want to provide an authoring portal that allows users to create data sources, datasets, analyses, and dashboards. The users who accesses an embedded Amazon QuickSight console needs to belong to the author or admin security cohort. If you want to restrict permissions to some of these features, add a custom permissions profile to the user with the UpdateUser API operation. Use the RegisterUser API operation to add a new user with a custom permission profile attached. For more information, see the following sections in the Amazon QuickSight User Guide:

For more information about the high-level steps for embedding and for an interactive demo of the ways you can customize embedding, visit the Amazon QuickSight Developer Portal.

" + "FilledMapVisual$ChartConfiguration": "

The configuration settings of the visual.

" } }, - "RelationalTable": { - "base": "

A physical table type for relational data sources.

", + "FilledMapDimensionFieldList": { + "base": null, "refs": { - "PhysicalTable$RelationalTable": "

A physical table type for relational data sources.

" + "FilledMapAggregatedFieldWells$Geospatial": "

The aggregated location field well of the filled map. Values are grouped by location fields.

" } }, - "RelationalTableCatalog": { - "base": null, + "FilledMapFieldWells": { + "base": "

The field wells of a FilledMapVisual.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", "refs": { - "RelationalTable$Catalog": "

The catalog associated with a table.

" + "FilledMapConfiguration$FieldWells": "

The field wells of the visual.

" } }, - "RelationalTableName": { + "FilledMapMeasureFieldList": { "base": null, "refs": { - "RelationalTable$Name": "

The name of the relational table.

" + "FilledMapAggregatedFieldWells$Values": "

The aggregated color field well of a filled map. Values are aggregated based on location fields.

" } }, - "RelationalTableSchema": { - "base": null, + "FilledMapShapeConditionalFormatting": { + "base": "

The conditional formatting that determines the shape of the filled map.

", "refs": { - "RelationalTable$Schema": "

The schema name. This name applies to certain relational database engines.

" + "FilledMapConditionalFormattingOption$Shape": "

The conditional formatting that determines the shape of the filled map.

" } }, - "RenameColumnOperation": { - "base": "

A transform operation that renames a column.

", + "FilledMapSortConfiguration": { + "base": "

The sort configuration of a FilledMapVisual.

", "refs": { - "TransformOperation$RenameColumnOperation": "

An operation that renames a column.

" + "FilledMapConfiguration$SortConfiguration": "

The sort configuration of a FilledMapVisual.

" } }, - "ResourceExistsException": { - "base": "

The resource specified already exists.

", + "FilledMapVisual": { + "base": "

A filled map.

For more information, see Creating filled maps in the Amazon QuickSight User Guide.

", "refs": { + "Visual$FilledMapVisual": "

A filled map.

For more information, see Creating filled maps in the Amazon QuickSight User Guide.

" } }, - "ResourceId": { - "base": null, + "Filter": { + "base": "

With a Filter, you can remove portions of data from a particular visual or view.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", "refs": { - "CreateDataSetRequest$DataSetId": "

An ID for the dataset that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", - "CreateDataSetResponse$DataSetId": "

The ID for the dataset that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", - "CreateDataSetResponse$IngestionId": "

The ID of the ingestion, which is triggered as a result of dataset creation if the import mode is SPICE.

", - "CreateDataSourceRequest$DataSourceId": "

An ID for the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", - "CreateDataSourceResponse$DataSourceId": "

The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", - "DataSet$DataSetId": "

The ID of the dataset.

", - "DataSetSummary$DataSetId": "

The ID of the dataset.

", - "DataSource$DataSourceId": "

The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", - "DataSourceSummary$DataSourceId": "

The unique ID of the data source.

", - "DeleteDataSetRequest$DataSetId": "

The ID for the dataset that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", - "DeleteDataSetResponse$DataSetId": "

The ID for the dataset that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", - "DeleteDataSourceRequest$DataSourceId": "

The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", - "DeleteDataSourceResponse$DataSourceId": "

The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", - "DescribeDataSetPermissionsRequest$DataSetId": "

The ID for the dataset that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", - "DescribeDataSetPermissionsResponse$DataSetId": "

The ID for the dataset that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", - "DescribeDataSetRequest$DataSetId": "

The ID for the dataset that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", - "DescribeDataSourcePermissionsRequest$DataSourceId": "

The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", - "DescribeDataSourcePermissionsResponse$DataSourceId": "

The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", - "DescribeDataSourceRequest$DataSourceId": "

The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", - "UpdateDataSetPermissionsRequest$DataSetId": "

The ID for the dataset whose permissions you want to update. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", - "UpdateDataSetPermissionsResponse$DataSetId": "

The ID for the dataset whose permissions you want to update. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", - "UpdateDataSetRequest$DataSetId": "

The ID for the dataset that you want to update. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", - "UpdateDataSetResponse$DataSetId": "

The ID for the dataset that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", - "UpdateDataSetResponse$IngestionId": "

The ID of the ingestion, which is triggered as a result of dataset creation if the import mode is SPICE.

", - "UpdateDataSourcePermissionsRequest$DataSourceId": "

The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", - "UpdateDataSourcePermissionsResponse$DataSourceId": "

The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", - "UpdateDataSourceRequest$DataSourceId": "

The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", - "UpdateDataSourceResponse$DataSourceId": "

The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

" + "FilterList$member": null } }, - "ResourceName": { + "FilterControl": { + "base": "

The control of a filter that is used to interact with a dashboard or an analysis.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", + "refs": { + "FilterControlList$member": null + } + }, + "FilterControlList": { "base": null, "refs": { - "CreateDataSetRequest$Name": "

The display name for the dataset.

", - "CreateDataSourceRequest$Name": "

A display name for the data source.

", - "DataSet$Name": "

A display name for the dataset.

", - "DataSetSummary$Name": "

A display name for the dataset.

", - "DataSource$Name": "

A display name for the data source.

", - "DataSourceSummary$Name": "

The name of the data source.

", - "UpdateDataSetRequest$Name": "

The display name for the dataset.

", - "UpdateDataSourceRequest$Name": "

A display name for the data source.

" + "SheetDefinition$FilterControls": "

The list of filter controls that are on a sheet.

For more information, see Adding filter controls to analysis sheets in the Amazon QuickSight User Guide.

" } }, - "ResourceNotFoundException": { - "base": "

One or more resources can't be found.

", + "FilterDateTimePickerControl": { + "base": "

A control from a date filter that is used to specify date and time.

", "refs": { + "FilterControl$DateTimePicker": "

A control from a date filter that is used to specify date and time.

" } }, - "ResourcePermission": { - "base": "

Permission for the resource.

", + "FilterDropDownControl": { + "base": "

A control to display a dropdown list with buttons that are used to select a single value.

", "refs": { - "ResourcePermissionList$member": null, - "UpdateLinkPermissionList$member": null, - "UpdateResourcePermissionList$member": null + "FilterControl$Dropdown": "

A control to display a dropdown list with buttons that are used to select a single value.

" } }, - "ResourcePermissionList": { + "FilterGroup": { + "base": "

A grouping of individual filters. Filter groups are applied to the same group of visuals.

For more information, see Adding filter conditions (group filters) with AND and OR operators in the Amazon QuickSight User Guide.

", + "refs": { + "FilterGroupList$member": null + } + }, + "FilterGroupList": { "base": null, "refs": { - "CreateAnalysisRequest$Permissions": "

A structure that describes the principals and the resource-level permissions on an analysis. You can use the Permissions structure to grant permissions by providing a list of Identity and Access Management (IAM) action information for each principal listed by Amazon Resource Name (ARN).

To specify no permissions, omit Permissions.

", - "CreateDashboardRequest$Permissions": "

A structure that contains the permissions of the dashboard. You can use this structure for granting permissions by providing a list of IAM action information for each principal ARN.

To specify no permissions, omit the permissions list.

", - "CreateDataSetRequest$Permissions": "

A list of resource permissions on the dataset.

", + "AnalysisDefinition$FilterGroups": "

Filter definitions for an analysis.

For more information, see Filtering Data in Amazon QuickSight in the Amazon QuickSight User Guide.

", + "DashboardVersionDefinition$FilterGroups": "

The filter definitions for a dashboard.

For more information, see Filtering Data in Amazon QuickSight in the Amazon QuickSight User Guide.

", + "TemplateVersionDefinition$FilterGroups": "

Filter definitions for a template.

For more information, see Filtering Data in the Amazon QuickSight User Guide.

" + } + }, + "FilterList": { + "base": null, + "refs": { + "FilterGroup$Filters": "

The list of filters that are present in a FilterGroup.

" + } + }, + "FilterListConfiguration": { + "base": "

A list of filter configurations.

", + "refs": { + "CategoryFilterConfiguration$FilterListConfiguration": "

A list of filter configurations. In the Amazon QuickSight console, this filter type is called a filter list.

" + } + }, + "FilterListControl": { + "base": "

A control to display a list of buttons or boxes. This is used to select either a single value or multiple values.

", + "refs": { + "FilterControl$List": "

A control to display a list of buttons or boxes. This is used to select either a single value or multiple values.

" + } + }, + "FilterNullOption": { + "base": null, + "refs": { + "CustomFilterConfiguration$NullOption": "

This option determines how null values should be treated when filtering data.

", + "CustomFilterListConfiguration$NullOption": "

This option determines how null values should be treated when filtering data.

", + "NumericEqualityFilter$NullOption": "

This option determines how null values should be treated when filtering data.

", + "NumericRangeFilter$NullOption": "

This option determines how null values should be treated when filtering data.

", + "RelativeDatesFilter$NullOption": "

This option determines how null values should be treated when filtering data.

", + "TimeRangeFilter$NullOption": "

This option determines how null values should be treated when filtering data.

" + } + }, + "FilterOperation": { + "base": "

A transform operation that filters rows based on a condition.

", + "refs": { + "TransformOperation$FilterOperation": "

An operation that filters rows based on some condition.

" + } + }, + "FilterOperationSelectedFieldsConfiguration": { + "base": "

The configuration of selected fields in theCustomActionFilterOperation.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", + "refs": { + "CustomActionFilterOperation$SelectedFieldsConfiguration": "

The configuration that chooses the fields to be filtered.

" + } + }, + "FilterOperationTargetVisualsConfiguration": { + "base": "

The configuration of target visuals that you want to be filtered.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", + "refs": { + "CustomActionFilterOperation$TargetVisualsConfiguration": "

The configuration that chooses the target visuals to be filtered.

" + } + }, + "FilterOperator": { + "base": null, + "refs": { + "AnalysisSearchFilter$Operator": "

The comparison operator that you want to use as a filter, for example \"Operator\": \"StringEquals\". Valid values are \"StringEquals\" and \"StringLike\".

If you set the operator value to \"StringEquals\", you need to provide an ownership related filter in the \"NAME\" field and the arn of the user or group whose folders you want to search in the \"Value\" field. For example, \"Name\":\"DIRECT_QUICKSIGHT_OWNER\", \"Operator\": \"StringEquals\", \"Value\": \"arn:aws:quicksight:us-east-1:1:user/default/UserName1\".

If you set the value to \"StringLike\", you need to provide the name of the folders you are searching for. For example, \"Name\":\"ANALYSIS_NAME\", \"Operator\": \"StringLike\", \"Value\": \"Test\". The \"StringLike\" operator only supports the NAME value ANALYSIS_NAME.

", + "DashboardSearchFilter$Operator": "

The comparison operator that you want to use as a filter, for example \"Operator\": \"StringEquals\". Valid values are \"StringEquals\" and \"StringLike\".

If you set the operator value to \"StringEquals\", you need to provide an ownership related filter in the \"NAME\" field and the arn of the user or group whose folders you want to search in the \"Value\" field. For example, \"Name\":\"DIRECT_QUICKSIGHT_OWNER\", \"Operator\": \"StringEquals\", \"Value\": \"arn:aws:quicksight:us-east-1:1:user/default/UserName1\".

If you set the value to \"StringLike\", you need to provide the name of the folders you are searching for. For example, \"Name\":\"DASHBOARD_NAME\", \"Operator\": \"StringLike\", \"Value\": \"Test\". The \"StringLike\" operator only supports the NAME value DASHBOARD_NAME.

", + "DataSetSearchFilter$Operator": "

The comparison operator that you want to use as a filter, for example \"Operator\": \"StringEquals\". Valid values are \"StringEquals\" and \"StringLike\".

If you set the operator value to \"StringEquals\", you need to provide an ownership related filter in the \"NAME\" field and the arn of the user or group whose datasets you want to search in the \"Value\" field. For example, \"Name\":\"QUICKSIGHT_OWNER\", \"Operator\": \"StringEquals\", \"Value\": \"arn:aws:quicksight:us-east- 1:1:user/default/UserName1\".

If you set the value to \"StringLike\", you need to provide the name of the datasets you are searching for. For example, \"Name\":\"DATASET_NAME\", \"Operator\": \"StringLike\", \"Value\": \"Test\". The \"StringLike\" operator only supports the NAME value DATASET_NAME.

", + "DataSourceSearchFilter$Operator": "

The comparison operator that you want to use as a filter, for example \"Operator\": \"StringEquals\". Valid values are \"StringEquals\" and \"StringLike\".

If you set the operator value to \"StringEquals\", you need to provide an ownership related filter in the \"NAME\" field and the arn of the user or group whose data sources you want to search in the \"Value\" field. For example, \"Name\":\"DIRECT_QUICKSIGHT_OWNER\", \"Operator\": \"StringEquals\", \"Value\": \"arn:aws:quicksight:us-east-1:1:user/default/UserName1\".

If you set the value to \"StringLike\", you need to provide the name of the data sources you are searching for. For example, \"Name\":\"DATASOURCE_NAME\", \"Operator\": \"StringLike\", \"Value\": \"Test\". The \"StringLike\" operator only supports the NAME value DATASOURCE_NAME.

", + "FolderSearchFilter$Operator": "

The comparison operator that you want to use as a filter, for example \"Operator\": \"StringEquals\". Valid values are \"StringEquals\" and \"StringLike\".

If you set the operator value to \"StringEquals\", you need to provide an ownership related filter in the \"NAME\" field and the arn of the user or group whose folders you want to search in the \"Value\" field. For example, \"Name\":\"DIRECT_QUICKSIGHT_OWNER\", \"Operator\": \"StringEquals\", \"Value\": \"arn:aws:quicksight:us-east-1:1:user/default/UserName1\".

If you set the value to \"StringLike\", you need to provide the name of the folders you are searching for. For example, \"Name\":\"FOLDER_NAME\", \"Operator\": \"StringLike\", \"Value\": \"Test\". The \"StringLike\" operator only supports the NAME value FOLDER_NAME.

" + } + }, + "FilterRelativeDateTimeControl": { + "base": "

A control from a date filter that is used to specify the relative date.

", + "refs": { + "FilterControl$RelativeDateTime": "

A control from a date filter that is used to specify the relative date.

" + } + }, + "FilterScopeConfiguration": { + "base": "

The scope configuration for a FilterGroup.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", + "refs": { + "FilterGroup$ScopeConfiguration": "

The configuration that specifies what scope to apply to a FilterGroup.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

" + } + }, + "FilterSelectableValues": { + "base": "

A list of selectable values that are used in a control.

", + "refs": { + "FilterDropDownControl$SelectableValues": "

A list of selectable values that are used in a control.

", + "FilterListControl$SelectableValues": "

A list of selectable values that are used in a control.

" + } + }, + "FilterSliderControl": { + "base": "

A control to display a horizontal toggle bar. This is used to change a value by sliding the toggle.

", + "refs": { + "FilterControl$Slider": "

A control to display a horizontal toggle bar. This is used to change a value by sliding the toggle.

" + } + }, + "FilterTextAreaControl": { + "base": "

A control to display a text box that is used to enter multiple entries.

", + "refs": { + "FilterControl$TextArea": "

A control to display a text box that is used to enter multiple entries.

" + } + }, + "FilterTextFieldControl": { + "base": "

A control to display a text box that is used to enter a single entry.

", + "refs": { + "FilterControl$TextField": "

A control to display a text box that is used to enter a single entry.

" + } + }, + "FilterVisualScope": { + "base": null, + "refs": { + "SheetVisualScopingConfiguration$Scope": "

The scope of the applied entities. Choose one of the following options:

" + } + }, + "FilteredVisualsList": { + "base": null, + "refs": { + "SheetVisualScopingConfiguration$VisualIds": "

The selected visuals that the filter is applied to.

" + } + }, + "Folder": { + "base": "

A folder in Amazon QuickSight.

", + "refs": { + "DescribeFolderResponse$Folder": "

Information about the folder.

" + } + }, + "FolderColumnList": { + "base": null, + "refs": { + "FieldFolder$columns": "

A folder has a list of columns. A column can only be in one folder.

" + } + }, + "FolderFilterAttribute": { + "base": null, + "refs": { + "FolderSearchFilter$Name": "

The name of a value that you want to use in the filter. For example, \"Name\": \"QUICKSIGHT_OWNER\".

Valid values are defined as follows:

" + } + }, + "FolderMember": { + "base": "

An asset in a Amazon QuickSight folder, such as a dashboard, analysis, or dataset.

", + "refs": { + "CreateFolderMembershipResponse$FolderMember": "

Information about the member in the folder.

" + } + }, + "FolderMemberList": { + "base": null, + "refs": { + "ListFolderMembersResponse$FolderMemberList": "

A structure that contains all of the folder members (dashboards, analyses, and datasets) in the folder.

" + } + }, + "FolderName": { + "base": null, + "refs": { + "CreateFolderRequest$Name": "

The name of the folder.

", + "Folder$Name": "

A display name for the folder.

", + "FolderSummary$Name": "

The display name of the folder.

", + "UpdateFolderRequest$Name": "

The name of the folder.

" + } + }, + "FolderSearchFilter": { + "base": "

A filter to use to search an Amazon QuickSight folder.

", + "refs": { + "FolderSearchFilterList$member": null + } + }, + "FolderSearchFilterList": { + "base": null, + "refs": { + "SearchFoldersRequest$Filters": "

The filters to apply to the search. Currently, you can search only by the parent folder ARN. For example, \"Filters\": [ { \"Name\": \"PARENT_FOLDER_ARN\", \"Operator\": \"StringEquals\", \"Value\": \"arn:aws:quicksight:us-east-1:1:folder/folderId\" } ].

" + } + }, + "FolderSummary": { + "base": "

A summary of information about an existing Amazon QuickSight folder.

", + "refs": { + "FolderSummaryList$member": null + } + }, + "FolderSummaryList": { + "base": null, + "refs": { + "ListFoldersResponse$FolderSummaryList": "

A structure that contains all of the folders in the Amazon Web Services account. This structure provides basic information about the folders.

", + "SearchFoldersResponse$FolderSummaryList": "

A structure that contains all of the folders in the Amazon Web Services account. This structure provides basic information about the folders.

" + } + }, + "FolderType": { + "base": null, + "refs": { + "CreateFolderRequest$FolderType": "

The type of folder. By default, folderType is SHARED.

", + "Folder$FolderType": "

The type of folder it is.

", + "FolderSummary$FolderType": "

The type of folder.

" + } + }, + "Font": { + "base": "

Determines the font settings.

", + "refs": { + "FontList$member": null + } + }, + "FontConfiguration": { + "base": "

Configures the display properties of the given text.

", + "refs": { + "AxisLabelOptions$FontConfiguration": "

The font configuration of the axis label.

", + "DataLabelOptions$LabelFontConfiguration": "

Determines the font configuration of the data labels.

", + "FunnelChartDataLabelOptions$LabelFontConfiguration": "

The font configuration for the data labels.

Only the FontSize attribute of the font configuration is used for data labels.

", + "GaugeChartOptions$PrimaryValueFontConfiguration": "

The options that determine the primary value font configuration.

", + "KPIOptions$PrimaryValueFontConfiguration": "

The options that determine the primary value font configuration.

", + "KPIOptions$SecondaryValueFontConfiguration": "

The options that determine the secondary value font configuration.

", + "LabelOptions$FontConfiguration": "

The font configuration of the label.

", + "PanelTitleOptions$FontConfiguration": null, + "ReferenceLineLabelConfiguration$FontConfiguration": "

The font configuration of the label in a reference line.

", + "TableCellStyle$FontConfiguration": "

The font configuration of the table cells.

", + "TableFieldCustomTextContent$FontConfiguration": "

The font configuration of the custom text content for the table URL link content.

" + } + }, + "FontDecoration": { + "base": null, + "refs": { + "FontConfiguration$FontDecoration": "

Determines the appearance of decorative lines on the text.

" + } + }, + "FontList": { + "base": null, + "refs": { + "Typography$FontFamilies": "

Determines the list of font families.

" + } + }, + "FontSize": { + "base": "

The option that determines the text display size.

", + "refs": { + "FontConfiguration$FontSize": "

The option that determines the text display size.

" + } + }, + "FontStyle": { + "base": null, + "refs": { + "FontConfiguration$FontStyle": "

Determines the text display face that is inherited by the given font family.

" + } + }, + "FontWeight": { + "base": "

The option that determines the text display weight, or boldness.

", + "refs": { + "FontConfiguration$FontWeight": "

The option that determines the text display weight, or boldness.

" + } + }, + "FontWeightName": { + "base": null, + "refs": { + "FontWeight$Name": "

The lexical name for the level of boldness of the text display.

" + } + }, + "ForecastComputation": { + "base": "

The forecast computation configuration.

", + "refs": { + "Computation$Forecast": "

The forecast computation configuration.

" + } + }, + "ForecastComputationCustomSeasonalityValue": { + "base": null, + "refs": { + "ForecastComputation$CustomSeasonalityValue": "

The custom seasonality value setup of a forecast computation.

" + } + }, + "ForecastComputationSeasonality": { + "base": null, + "refs": { + "ForecastComputation$Seasonality": "

The seasonality setup of a forecast computation. Choose one of the following options:

" + } + }, + "ForecastConfiguration": { + "base": "

The forecast configuration that is used in a line chart's display properties.

", + "refs": { + "ForecastConfigurationList$member": null + } + }, + "ForecastConfigurationList": { + "base": null, + "refs": { + "LineChartConfiguration$ForecastConfigurations": "

The forecast configuration of a line chart.

" + } + }, + "ForecastScenario": { + "base": "

The forecast scenario of a forecast in the line chart.

", + "refs": { + "ForecastConfiguration$Scenario": "

The forecast scenario of a forecast in the line chart.

" + } + }, + "FormatConfiguration": { + "base": "

The formatting configuration for all types of field.

", + "refs": { + "ColumnConfiguration$FormatConfiguration": "

The format configuration of a column.

", + "UnaggregatedField$FormatConfiguration": "

The format configuration of the field.

" + } + }, + "FreeFormLayoutCanvasSizeOptions": { + "base": "

Configuration options for the canvas of a free-form layout.

", + "refs": { + "DefaultFreeFormLayoutConfiguration$CanvasSizeOptions": "

Determines the screen canvas size options for a free-form layout.

", + "FreeFormLayoutConfiguration$CanvasSizeOptions": null + } + }, + "FreeFormLayoutConfiguration": { + "base": "

The configuration of a free-form layout.

", + "refs": { + "LayoutConfiguration$FreeFormLayout": "

A free-form is optimized for a fixed width and has more control over the exact placement of layout elements.

" + } + }, + "FreeFormLayoutElement": { + "base": "

An element within a free-form layout.

", + "refs": { + "FreeFromLayoutElementList$member": null + } + }, + "FreeFormLayoutElementBackgroundStyle": { + "base": "

The background style configuration of a free-form layout element.

", + "refs": { + "FreeFormLayoutElement$BackgroundStyle": "

The background style configuration of a free-form layout element.

" + } + }, + "FreeFormLayoutElementBorderStyle": { + "base": "

The background style configuration of a free-form layout element.

", + "refs": { + "FreeFormLayoutElement$BorderStyle": "

The border style configuration of a free-form layout element.

", + "FreeFormLayoutElement$SelectedBorderStyle": "

The border style configuration of a free-form layout element. This border style is used when the element is selected.

" + } + }, + "FreeFormLayoutScreenCanvasSizeOptions": { + "base": "

The options that determine the sizing of the canvas used in a free-form layout.

", + "refs": { + "FreeFormLayoutCanvasSizeOptions$ScreenCanvasSizeOptions": "

The options that determine the sizing of the canvas used in a free-form layout.

" + } + }, + "FreeFormSectionLayoutConfiguration": { + "base": "

The free-form layout configuration of a section.

", + "refs": { + "SectionLayoutConfiguration$FreeFormLayout": "

The free-form layout configuration of a section.

" + } + }, + "FreeFromLayoutElementList": { + "base": null, + "refs": { + "FreeFormLayoutConfiguration$Elements": "

The elements that are included in a free-form layout.

", + "FreeFormSectionLayoutConfiguration$Elements": "

The elements that are included in the free-form layout.

" + } + }, + "FunnelChartAggregatedFieldWells": { + "base": "

The field well configuration of a FunnelChartVisual.

", + "refs": { + "FunnelChartFieldWells$FunnelChartAggregatedFieldWells": "

The field well configuration of a FunnelChartVisual.

" + } + }, + "FunnelChartConfiguration": { + "base": "

The configuration of a FunnelChartVisual.

", + "refs": { + "FunnelChartVisual$ChartConfiguration": "

The configuration of a FunnelChartVisual.

" + } + }, + "FunnelChartDataLabelOptions": { + "base": "

The options that determine the presentation of the data labels.

", + "refs": { + "FunnelChartConfiguration$DataLabelOptions": "

The options that determine the presentation of the data labels.

" + } + }, + "FunnelChartDimensionFieldList": { + "base": null, + "refs": { + "FunnelChartAggregatedFieldWells$Category": "

The category field wells of a funnel chart. Values are grouped by category fields.

" + } + }, + "FunnelChartFieldWells": { + "base": "

The field well configuration of a FunnelChartVisual.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", + "refs": { + "FunnelChartConfiguration$FieldWells": "

The field well configuration of a FunnelChartVisual.

" + } + }, + "FunnelChartMeasureDataLabelStyle": { + "base": null, + "refs": { + "FunnelChartDataLabelOptions$MeasureDataLabelStyle": "

Determines the style of the metric labels.

" + } + }, + "FunnelChartMeasureFieldList": { + "base": null, + "refs": { + "FunnelChartAggregatedFieldWells$Values": "

The value field wells of a funnel chart. Values are aggregated based on categories.

" + } + }, + "FunnelChartSortConfiguration": { + "base": "

The sort configuration of a FunnelChartVisual.

", + "refs": { + "FunnelChartConfiguration$SortConfiguration": "

The sort configuration of a FunnelChartVisual.

" + } + }, + "FunnelChartVisual": { + "base": "

A funnel chart.

For more information, see Using funnel charts in the Amazon QuickSight User Guide.

", + "refs": { + "Visual$FunnelChartVisual": "

A funnel chart.

For more information, see Using funnel charts in the Amazon QuickSight User Guide.

" + } + }, + "GaugeChartArcConditionalFormatting": { + "base": "

The options that determine the presentation of the arc of a GaugeChartVisual.

", + "refs": { + "GaugeChartConditionalFormattingOption$Arc": "

The options that determine the presentation of the arc of a GaugeChartVisual.

" + } + }, + "GaugeChartConditionalFormatting": { + "base": "

The conditional formatting of a GaugeChartVisual.

", + "refs": { + "GaugeChartVisual$ConditionalFormatting": "

The conditional formatting of a GaugeChartVisual.

" + } + }, + "GaugeChartConditionalFormattingOption": { + "base": "

Conditional formatting options of a GaugeChartVisual.

", + "refs": { + "GaugeChartConditionalFormattingOptionList$member": null + } + }, + "GaugeChartConditionalFormattingOptionList": { + "base": null, + "refs": { + "GaugeChartConditionalFormatting$ConditionalFormattingOptions": "

Conditional formatting options of a GaugeChartVisual.

" + } + }, + "GaugeChartConfiguration": { + "base": "

The configuration of a GaugeChartVisual.

", + "refs": { + "GaugeChartVisual$ChartConfiguration": "

The configuration of a GaugeChartVisual.

" + } + }, + "GaugeChartFieldWells": { + "base": "

The field well configuration of a GaugeChartVisual.

", + "refs": { + "GaugeChartConfiguration$FieldWells": "

The field well configuration of a GaugeChartVisual.

" + } + }, + "GaugeChartOptions": { + "base": "

The options that determine the presentation of the GaugeChartVisual.

", + "refs": { + "GaugeChartConfiguration$GaugeChartOptions": "

The options that determine the presentation of the GaugeChartVisual.

" + } + }, + "GaugeChartPrimaryValueConditionalFormatting": { + "base": "

The conditional formatting for the primary value of a GaugeChartVisual.

", + "refs": { + "GaugeChartConditionalFormattingOption$PrimaryValue": "

The conditional formatting for the primary value of a GaugeChartVisual.

" + } + }, + "GaugeChartVisual": { + "base": "

A gauge chart.

For more information, see Using gauge charts in the Amazon QuickSight User Guide.

", + "refs": { + "Visual$GaugeChartVisual": "

A gauge chart.

For more information, see Using gauge charts in the Amazon QuickSight User Guide.

" + } + }, + "GenerateEmbedUrlForAnonymousUserRequest": { + "base": null, + "refs": { + } + }, + "GenerateEmbedUrlForAnonymousUserResponse": { + "base": null, + "refs": { + } + }, + "GenerateEmbedUrlForRegisteredUserRequest": { + "base": null, + "refs": { + } + }, + "GenerateEmbedUrlForRegisteredUserResponse": { + "base": null, + "refs": { + } + }, + "GeoSpatialColumnGroup": { + "base": "

Geospatial column group that denotes a hierarchy.

", + "refs": { + "ColumnGroup$GeoSpatialColumnGroup": "

Geospatial column group that denotes a hierarchy.

" + } + }, + "GeoSpatialCountryCode": { + "base": null, + "refs": { + "GeoSpatialColumnGroup$CountryCode": "

Country code.

" + } + }, + "GeoSpatialDataRole": { + "base": null, + "refs": { + "ColumnTag$ColumnGeographicRole": "

A geospatial role for a column.

" + } + }, + "GeospatialCoordinateBounds": { + "base": "

The bound options (north, south, west, east) of the geospatial window options.

", + "refs": { + "GeospatialWindowOptions$Bounds": "

The bounds options (north, south, west, east) of the geospatial window options.

" + } + }, + "GeospatialMapAggregatedFieldWells": { + "base": "

The aggregated field wells for a geospatial map.

", + "refs": { + "GeospatialMapFieldWells$GeospatialMapAggregatedFieldWells": "

The aggregated field well for a geospatial map.

" + } + }, + "GeospatialMapConfiguration": { + "base": "

The configuration of a GeospatialMapVisual.

", + "refs": { + "GeospatialMapVisual$ChartConfiguration": "

The configuration settings of the visual.

" + } + }, + "GeospatialMapFieldWells": { + "base": "

The field wells of a GeospatialMapVisual.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", + "refs": { + "GeospatialMapConfiguration$FieldWells": "

The field wells of the visual.

" + } + }, + "GeospatialMapStyleOptions": { + "base": "

The map style options of the geospatial map.

", + "refs": { + "FilledMapConfiguration$MapStyleOptions": "

The map style options of the filled map visual.

", + "GeospatialMapConfiguration$MapStyleOptions": "

The map style options of the geospatial map.

" + } + }, + "GeospatialMapVisual": { + "base": "

A geospatial map or a points on map visual.

For more information, see Creating point maps in the Amazon QuickSight User Guide.

", + "refs": { + "Visual$GeospatialMapVisual": "

A geospatial map or a points on map visual.

For more information, see Creating point maps in the Amazon QuickSight User Guide.

" + } + }, + "GeospatialPointStyleOptions": { + "base": "

The point style of the geospatial map.

", + "refs": { + "GeospatialMapConfiguration$PointStyleOptions": "

The point style options of the geospatial map.

" + } + }, + "GeospatialSelectedPointStyle": { + "base": null, + "refs": { + "GeospatialPointStyleOptions$SelectedPointStyle": "

The selected point styles (point, cluster) of the geospatial map.

" + } + }, + "GeospatialWindowOptions": { + "base": "

The window options of the geospatial map visual.

", + "refs": { + "FilledMapConfiguration$WindowOptions": "

The window options of the filled map visual.

", + "GeospatialMapConfiguration$WindowOptions": "

The window options of the geospatial map.

" + } + }, + "GetDashboardEmbedUrlRequest": { + "base": null, + "refs": { + } + }, + "GetDashboardEmbedUrlResponse": { + "base": "

Output returned from the GetDashboardEmbedUrl operation.

", + "refs": { + } + }, + "GetSessionEmbedUrlRequest": { + "base": null, + "refs": { + } + }, + "GetSessionEmbedUrlResponse": { + "base": null, + "refs": { + } + }, + "GlobalTableBorderOptions": { + "base": "

Determines the border options for a table visual.

", + "refs": { + "TableCellStyle$Border": "

The borders for the table cells.

" + } + }, + "GradientColor": { + "base": "

Determines the gradient color settings.

", + "refs": { + "ConditionalFormattingGradientColor$Color": "

Determines the color.

" + } + }, + "GradientStop": { + "base": "

Determines the gradient stop configuration.

", + "refs": { + "GradientStopList$member": null + } + }, + "GradientStopList": { + "base": null, + "refs": { + "GradientColor$Stops": "

The list of gradient color stops.

" + } + }, + "GridLayoutCanvasSizeOptions": { + "base": "

Configuration options for the canvas of a grid layout.

", + "refs": { + "DefaultGridLayoutConfiguration$CanvasSizeOptions": "

Determines the screen canvas size options for a grid layout.

", + "GridLayoutConfiguration$CanvasSizeOptions": null + } + }, + "GridLayoutConfiguration": { + "base": "

The configuration for a grid layout. Also called a tiled layout.

Visuals snap to a grid with standard spacing and alignment. Dashboards are displayed as designed, with options to fit to screen or view at actual size.

", + "refs": { + "LayoutConfiguration$GridLayout": "

A type of layout that can be used on a sheet. In a grid layout, visuals snap to a grid with standard spacing and alignment. Dashboards are displayed as designed, with options to fit to screen or view at actual size. A grid layout can be configured to behave in one of two ways when the viewport is resized: FIXED or RESPONSIVE.

", + "SheetControlLayoutConfiguration$GridLayout": "

The configuration that determines the elements and canvas size options of sheet control.

" + } + }, + "GridLayoutElement": { + "base": "

An element within a grid layout.

", + "refs": { + "GridLayoutElementList$member": null + } + }, + "GridLayoutElementColumnIndex": { + "base": null, + "refs": { + "GridLayoutElement$ColumnIndex": "

The column index for the upper left corner of an element.

" + } + }, + "GridLayoutElementColumnSpan": { + "base": null, + "refs": { + "GridLayoutElement$ColumnSpan": "

The width of a grid element expressed as a number of grid columns.

" + } + }, + "GridLayoutElementList": { + "base": null, + "refs": { + "GridLayoutConfiguration$Elements": "

The elements that are included in a grid layout.

" + } + }, + "GridLayoutElementRowIndex": { + "base": null, + "refs": { + "GridLayoutElement$RowIndex": "

The row index for the upper left corner of an element.

" + } + }, + "GridLayoutElementRowSpan": { + "base": null, + "refs": { + "GridLayoutElement$RowSpan": "

The height of a grid element expressed as a number of grid rows.

" + } + }, + "GridLayoutScreenCanvasSizeOptions": { + "base": "

The options that determine the sizing of the canvas used in a grid layout.

", + "refs": { + "GridLayoutCanvasSizeOptions$ScreenCanvasSizeOptions": "

The options that determine the sizing of the canvas used in a grid layout.

" + } + }, + "Group": { + "base": "

A group in Amazon QuickSight consists of a set of users. You can use groups to make it easier to manage access and security.

", + "refs": { + "CreateGroupResponse$Group": "

The name of the group.

", + "DescribeGroupResponse$Group": "

The name of the group.

", + "GroupList$member": null, + "UpdateGroupResponse$Group": "

The name of the group.

" + } + }, + "GroupDescription": { + "base": null, + "refs": { + "CreateGroupRequest$Description": "

A description for the group that you want to create.

", + "Group$Description": "

The group description.

", + "UpdateGroupRequest$Description": "

The description for the group that you want to update.

" + } + }, + "GroupFilterAttribute": { + "base": null, + "refs": { + "GroupSearchFilter$Name": "

The name of the value that you want to use as a filter, for example \"Name\": \"GROUP_NAME\". Currently, the only supported name is GROUP_NAME.

" + } + }, + "GroupFilterOperator": { + "base": null, + "refs": { + "GroupSearchFilter$Operator": "

The comparison operator that you want to use as a filter, for example \"Operator\": \"StartsWith\". Currently, the only supported operator is StartsWith.

" + } + }, + "GroupList": { + "base": null, + "refs": { + "ListGroupsResponse$GroupList": "

The list of the groups.

", + "ListUserGroupsResponse$GroupList": "

The list of groups the user is a member of.

", + "SearchGroupsResponse$GroupList": "

A list of groups in a specified namespace that match the filters you set in your SearchGroups request.

" + } + }, + "GroupMember": { + "base": "

A member of an Amazon QuickSight group. Currently, group members must be users. Groups can't be members of another group. .

", + "refs": { + "CreateGroupMembershipResponse$GroupMember": "

The group member.

", + "DescribeGroupMembershipResponse$GroupMember": null, + "GroupMemberList$member": null + } + }, + "GroupMemberList": { + "base": null, + "refs": { + "ListGroupMembershipsResponse$GroupMemberList": "

The list of the members of the group.

" + } + }, + "GroupMemberName": { + "base": null, + "refs": { + "CreateGroupMembershipRequest$MemberName": "

The name of the user that you want to add to the group membership.

", + "DeleteGroupMembershipRequest$MemberName": "

The name of the user that you want to delete from the group membership.

", + "DescribeGroupMembershipRequest$MemberName": "

The user name of the user that you want to search for.

", + "GroupMember$MemberName": "

The name of the group member (user).

" + } + }, + "GroupName": { + "base": null, + "refs": { + "CreateGroupMembershipRequest$GroupName": "

The name of the group that you want to add the user to.

", + "CreateGroupRequest$GroupName": "

A name for the group that you want to create.

", + "DeleteGroupMembershipRequest$GroupName": "

The name of the group that you want to delete the user from.

", + "DeleteGroupRequest$GroupName": "

The name of the group that you want to delete.

", + "DescribeGroupMembershipRequest$GroupName": "

The name of the group that you want to search.

", + "DescribeGroupRequest$GroupName": "

The name of the group that you want to describe.

", + "Group$GroupName": "

The name of the group.

", + "ListGroupMembershipsRequest$GroupName": "

The name of the group that you want to see a membership list of.

", + "UpdateGroupRequest$GroupName": "

The name of the group that you want to update.

" + } + }, + "GroupSearchFilter": { + "base": "

A GroupSearchFilter object that you want to apply to your search.

", + "refs": { + "GroupSearchFilterList$member": null + } + }, + "GroupSearchFilterList": { + "base": null, + "refs": { + "SearchGroupsRequest$Filters": "

The structure for the search filters that you want to apply to your search.

" + } + }, + "GroupsList": { + "base": null, + "refs": { + "CreateAccountSubscriptionRequest$AdminGroup": "

The admin group associated with your Active Directory. This field is required if ACTIVE_DIRECTORY is the selected authentication method of the new Amazon QuickSight account. For more information about using Active Directory in Amazon QuickSight, see Using Active Directory with Amazon QuickSight Enterprise Edition in the Amazon QuickSight User Guide.

", + "CreateAccountSubscriptionRequest$AuthorGroup": "

The author group associated with your Active Directory. For more information about using Active Directory in Amazon QuickSight, see Using Active Directory with Amazon QuickSight Enterprise Edition in the Amazon QuickSight User Guide.

", + "CreateAccountSubscriptionRequest$ReaderGroup": "

The reader group associated with your Active Direcrtory. For more information about using Active Directory in Amazon QuickSight, see Using Active Directory with Amazon QuickSight Enterprise Edition in the Amazon QuickSight User Guide.

" + } + }, + "GrowthRateComputation": { + "base": "

The growth rate computation configuration.

", + "refs": { + "Computation$GrowthRate": "

The growth rate computation configuration.

" + } + }, + "GrowthRatePeriodSize": { + "base": null, + "refs": { + "GrowthRateComputation$PeriodSize": "

The period size setup of a growth rate computation.

" + } + }, + "GutterStyle": { + "base": "

The display options for gutter spacing between tiles on a sheet.

", + "refs": { + "TileLayoutStyle$Gutter": "

The gutter settings that apply between tiles.

" + } + }, + "HeaderFooterSectionConfiguration": { + "base": "

The configuration of a header or footer section.

", + "refs": { + "HeaderFooterSectionConfigurationList$member": null + } + }, + "HeaderFooterSectionConfigurationList": { + "base": null, + "refs": { + "SectionBasedLayoutConfiguration$HeaderSections": "

A list of header section configurations.

", + "SectionBasedLayoutConfiguration$FooterSections": "

A list of footer section configurations.

" + } + }, + "HeatMapAggregatedFieldWells": { + "base": "

The aggregated field wells of a heat map.

", + "refs": { + "HeatMapFieldWells$HeatMapAggregatedFieldWells": "

The aggregated field wells of a heat map.

" + } + }, + "HeatMapConfiguration": { + "base": "

The configuration of a heat map.

", + "refs": { + "HeatMapVisual$ChartConfiguration": "

The configuration of a heat map.

" + } + }, + "HeatMapDimensionFieldList": { + "base": null, + "refs": { + "HeatMapAggregatedFieldWells$Rows": "

The rows field well of a heat map.

", + "HeatMapAggregatedFieldWells$Columns": "

The columns field well of a heat map.

" + } + }, + "HeatMapFieldWells": { + "base": "

The field well configuration of a heat map.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", + "refs": { + "HeatMapConfiguration$FieldWells": "

The field wells of the visual.

" + } + }, + "HeatMapMeasureFieldList": { + "base": null, + "refs": { + "HeatMapAggregatedFieldWells$Values": "

The values field well of a heat map.

" + } + }, + "HeatMapSortConfiguration": { + "base": "

The sort configuration of a heat map.

", + "refs": { + "HeatMapConfiguration$SortConfiguration": "

The sort configuration of a heat map.

" + } + }, + "HeatMapVisual": { + "base": "

A heat map.

For more information, see Using heat maps in the Amazon QuickSight User Guide.

", + "refs": { + "Visual$HeatMapVisual": "

A heat map.

For more information, see Using heat maps in the Amazon QuickSight User Guide.

" + } + }, + "HexColor": { + "base": null, + "refs": { + "ColorList$member": null, + "ConditionalFormattingCustomIconCondition$Color": "

Determines the color of the icon.

", + "ConditionalFormattingSolidColor$Color": "

Determines the color.

", + "DataColor$Color": "

The color that is applied to the data value.

", + "DataColorPalette$EmptyFillColor": "

The hexadecimal code of a color that applies to charts where a lack of data is highlighted.

", + "DataLabelOptions$LabelColor": "

Determines the color of the data labels.

", + "DataPathColor$Color": "

The color that needs to be applied to the element.

", + "FontConfiguration$FontColor": "

Determines the color of the text.

", + "FunnelChartDataLabelOptions$LabelColor": "

The color of the data label text.

", + "GradientStop$Color": "

Determines the color.

", + "LineChartMarkerStyleSettings$MarkerColor": "

Color of marker in the series.

", + "ReferenceLineLabelConfiguration$FontColor": "

The font color configuration of the label in a reference line.

", + "ReferenceLineStyleConfiguration$Color": "

The hex color of the reference line.

", + "RowAlternateColorList$member": null, + "SimpleClusterMarker$Color": "

The color of the simple cluster marker.

", + "TableBorderOptions$Color": "

The color of a table border.

", + "TableCellStyle$BackgroundColor": "

The background color for the table cells.

", + "UIColorPalette$PrimaryForeground": "

The color of text and other foreground elements that appear over the primary background regions, such as grid lines, borders, table banding, icons, and so on.

", + "UIColorPalette$PrimaryBackground": "

The background color that applies to visuals and other high emphasis UI.

", + "UIColorPalette$SecondaryForeground": "

The foreground color that applies to any sheet title, sheet control text, or UI that appears over the secondary background.

", + "UIColorPalette$SecondaryBackground": "

The background color that applies to the sheet background and sheet controls.

", + "UIColorPalette$Accent": "

This color is that applies to selected states and buttons.

", + "UIColorPalette$AccentForeground": "

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

", + "UIColorPalette$Danger": "

The color that applies to error messages.

", + "UIColorPalette$DangerForeground": "

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

", + "UIColorPalette$Warning": "

This color that applies to warning and informational messages.

", + "UIColorPalette$WarningForeground": "

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

", + "UIColorPalette$Success": "

The color that applies to success messages, for example the check mark for a successful download.

", + "UIColorPalette$SuccessForeground": "

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

", + "UIColorPalette$Dimension": "

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

", + "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.

" + } + }, + "HexColorWithTransparency": { + "base": null, + "refs": { + "FreeFormLayoutElementBackgroundStyle$Color": "

The background color of a free-form layout element.

", + "FreeFormLayoutElementBorderStyle$Color": "

The border color of a free-form layout element.

", + "PanelConfiguration$BorderColor": "

Sets the line color of panel borders.

", + "PanelConfiguration$BackgroundColor": "

Sets the background color for each panel.

" + } + }, + "HierarchyId": { + "base": null, + "refs": { + "CategoricalDimensionField$HierarchyId": "

The custom hierarchy ID.

", + "DateDimensionField$HierarchyId": "

The custom hierarchy ID.

", + "DateTimeHierarchy$HierarchyId": "

The hierarchy ID of the DateTime hierarchy.

", + "ExplicitHierarchy$HierarchyId": "

The hierarchy ID of the explicit hierarchy.

", + "NumericalDimensionField$HierarchyId": "

The custom hierarchy ID.

", + "PredefinedHierarchy$HierarchyId": "

The hierarchy ID of the predefined hierarchy.

" + } + }, + "HistogramAggregatedFieldWells": { + "base": "

The field well configuration of a histogram.

", + "refs": { + "HistogramFieldWells$HistogramAggregatedFieldWells": "

The field well configuration of a histogram.

" + } + }, + "HistogramBinOptions": { + "base": "

The options that determine the presentation of histogram bins.

", + "refs": { + "HistogramConfiguration$BinOptions": "

The options that determine the presentation of histogram bins.

" + } + }, + "HistogramBinType": { + "base": null, + "refs": { + "HistogramBinOptions$SelectedBinType": "

The options that determine the selected bin type.

" + } + }, + "HistogramConfiguration": { + "base": "

The configuration for a HistogramVisual.

", + "refs": { + "HistogramVisual$ChartConfiguration": "

The configuration for a HistogramVisual.

" + } + }, + "HistogramFieldWells": { + "base": "

The field well configuration of a histogram.

", + "refs": { + "HistogramConfiguration$FieldWells": "

The field well configuration of a histogram.

" + } + }, + "HistogramMeasureFieldList": { + "base": null, + "refs": { + "HistogramAggregatedFieldWells$Values": "

The value field wells of a histogram. Values are aggregated by COUNT or DISTINCT_COUNT.

" + } + }, + "HistogramVisual": { + "base": "

A histogram.

For more information, see Using histograms in the Amazon QuickSight User Guide.

", + "refs": { + "Visual$HistogramVisual": "

A histogram.

For more information, see Using histograms in the Amazon QuickSight User Guide.

" + } + }, + "HorizontalTextAlignment": { + "base": null, + "refs": { + "PanelTitleOptions$HorizontalTextAlignment": "

Sets the horizontal text alignment of the title within each panel.

", + "TableCellStyle$HorizontalTextAlignment": "

The horizontal text alignment (left, center, right, auto) for the table cells.

" + } + }, + "Host": { + "base": null, + "refs": { + "AuroraParameters$Host": "

Host.

", + "AuroraPostgreSqlParameters$Host": "

The Amazon Aurora PostgreSQL-Compatible host to connect to.

", + "DatabricksParameters$Host": "

The host name of the Databricks data source.

", + "ExasolParameters$Host": "

The hostname or IP address of the Exasol data source.

", + "MariaDbParameters$Host": "

Host.

", + "MySqlParameters$Host": "

Host.

", + "OracleParameters$Host": "

An Oracle host.

", + "PostgreSqlParameters$Host": "

Host.

", + "PrestoParameters$Host": "

Host.

", + "RedshiftParameters$Host": "

Host. This field can be blank if ClusterId is provided.

", + "SnowflakeParameters$Host": "

Host.

", + "SparkParameters$Host": "

Host.

", + "SqlServerParameters$Host": "

Host.

", + "TeradataParameters$Host": "

Host.

" + } + }, + "IAMPolicyAssignment": { + "base": "

An Identity and Access Management (IAM) policy assignment.

", + "refs": { + "DescribeIAMPolicyAssignmentResponse$IAMPolicyAssignment": "

Information describing the IAM policy assignment.

" + } + }, + "IAMPolicyAssignmentName": { + "base": null, + "refs": { + "ActiveIAMPolicyAssignment$AssignmentName": "

A name for the IAM policy assignment.

", + "CreateIAMPolicyAssignmentRequest$AssignmentName": "

The name of the assignment, also called a rule. It must be unique within an Amazon Web Services account.

", + "CreateIAMPolicyAssignmentResponse$AssignmentName": "

The name of the assignment. This name must be unique within the Amazon Web Services account.

", + "DeleteIAMPolicyAssignmentRequest$AssignmentName": "

The name of the assignment.

", + "DeleteIAMPolicyAssignmentResponse$AssignmentName": "

The name of the assignment.

", + "DescribeIAMPolicyAssignmentRequest$AssignmentName": "

The name of the assignment, also called a rule.

", + "IAMPolicyAssignment$AssignmentName": "

Assignment name.

", + "IAMPolicyAssignmentSummary$AssignmentName": "

Assignment name.

", + "UpdateIAMPolicyAssignmentRequest$AssignmentName": "

The name of the assignment, also called a rule. This name must be unique within an Amazon Web Services account.

", + "UpdateIAMPolicyAssignmentResponse$AssignmentName": "

The name of the assignment or rule.

" + } + }, + "IAMPolicyAssignmentSummary": { + "base": "

IAM policy assignment summary.

", + "refs": { + "IAMPolicyAssignmentSummaryList$member": null + } + }, + "IAMPolicyAssignmentSummaryList": { + "base": null, + "refs": { + "ListIAMPolicyAssignmentsResponse$IAMPolicyAssignments": "

Information describing the IAM policy assignments.

" + } + }, + "Icon": { + "base": null, + "refs": { + "ConditionalFormattingCustomIconOptions$Icon": "

Determines the type of icon.

" + } + }, + "IdentityMap": { + "base": null, + "refs": { + "CreateIAMPolicyAssignmentRequest$Identities": "

The Amazon QuickSight users, groups, or both that you want to assign the policy to.

", + "CreateIAMPolicyAssignmentResponse$Identities": "

The Amazon QuickSight users, groups, or both that the IAM policy is assigned to.

", + "IAMPolicyAssignment$Identities": "

Identities.

", + "UpdateIAMPolicyAssignmentRequest$Identities": "

The Amazon QuickSight users, groups, or both that you want to assign the policy to.

", + "UpdateIAMPolicyAssignmentResponse$Identities": "

The Amazon QuickSight users, groups, or both that the IAM policy is assigned to.

" + } + }, + "IdentityName": { + "base": null, + "refs": { + "IdentityNameList$member": null + } + }, + "IdentityNameList": { + "base": null, + "refs": { + "IdentityMap$value": null + } + }, + "IdentityStore": { + "base": null, + "refs": { + "CreateNamespaceRequest$IdentityStore": "

Specifies the type of your user identity directory. Currently, this supports users with an identity type of QUICKSIGHT.

", + "CreateNamespaceResponse$IdentityStore": "

Specifies the type of your user identity directory. Currently, this supports users with an identity type of QUICKSIGHT.

", + "NamespaceInfoV2$IdentityStore": "

The identity store used for the namespace.

" + } + }, + "IdentityType": { + "base": null, + "refs": { + "RegisterUserRequest$IdentityType": "

Amazon QuickSight supports several ways of managing the identity of users. This parameter accepts two values:

", + "User$IdentityType": "

The type of identity authentication used by the user.

" + } + }, + "IdentityTypeNotSupportedException": { + "base": "

The identity type specified isn't supported. Supported identity types include IAM and QUICKSIGHT.

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

Information about the SPICE ingestion for a dataset.

", + "refs": { + "DescribeIngestionResponse$Ingestion": "

Information about the ingestion.

", + "Ingestions$member": null + } + }, + "IngestionErrorType": { + "base": null, + "refs": { + "ErrorInfo$Type": "

Error type.

" + } + }, + "IngestionId": { + "base": null, + "refs": { + "CancelIngestionRequest$IngestionId": "

An ID for the ingestion.

", + "CancelIngestionResponse$IngestionId": "

An ID for the ingestion.

", + "CreateIngestionRequest$IngestionId": "

An ID for the ingestion.

", + "CreateIngestionResponse$IngestionId": "

An ID for the ingestion.

", + "DescribeIngestionRequest$IngestionId": "

An ID for the ingestion.

", + "Ingestion$IngestionId": "

Ingestion ID.

" + } + }, + "IngestionMaxResults": { + "base": null, + "refs": { + "ListIngestionsRequest$MaxResults": "

The maximum number of results to be returned per request.

" + } + }, + "IngestionRequestSource": { + "base": null, + "refs": { + "Ingestion$RequestSource": "

Event source for this ingestion.

" + } + }, + "IngestionRequestType": { + "base": "This defines the type of ingestion request. This is returned as part of create ingestion response.", + "refs": { + "Ingestion$RequestType": "

Type of this ingestion.

" + } + }, + "IngestionStatus": { + "base": null, + "refs": { + "CreateIngestionResponse$IngestionStatus": "

The ingestion status.

", + "Ingestion$IngestionStatus": "

Ingestion status.

" + } + }, + "IngestionType": { + "base": "This defines the type of ingestion user wants to trigger. This is part of create ingestion request.", + "refs": { + "CreateIngestionRequest$IngestionType": "

The type of ingestion that you want to create.

" + } + }, + "Ingestions": { + "base": null, + "refs": { + "ListIngestionsResponse$Ingestions": "

A list of the ingestions.

" + } + }, + "InputColumn": { + "base": "

Metadata for a column that is used as the input of a transform operation.

", + "refs": { + "InputColumnList$member": null + } + }, + "InputColumnDataType": { + "base": null, + "refs": { + "InputColumn$Type": "

The data type of the column.

" + } + }, + "InputColumnList": { + "base": null, + "refs": { + "CustomSql$Columns": "

The column schema from the SQL query result set.

", + "RelationalTable$InputColumns": "

The column schema of the table.

", + "S3Source$InputColumns": "

A physical table type for an S3 data source.

For files that aren't JSON, only STRING data types are supported in input columns.

" + } + }, + "InsightConfiguration": { + "base": "

The configuration of an insight visual.

", + "refs": { + "InsightVisual$InsightConfiguration": "

The configuration of an insight visual.

" + } + }, + "InsightVisual": { + "base": "

An insight visual.

For more information, see Working with insights in the Amazon QuickSight User Guide.

", + "refs": { + "Visual$InsightVisual": "

An insight visual.

For more information, see Working with insights in the Amazon QuickSight User Guide.

" + } + }, + "InstanceId": { + "base": null, + "refs": { + "RdsParameters$InstanceId": "

Instance ID.

" + } + }, + "Integer": { + "base": null, + "refs": { + "ArcAxisConfiguration$ReserveRange": "

The reserved range of the arc axis.

", + "AxisLinearScale$StepCount": "

The step count setup of a linear axis.

", + "ExcludePeriodConfiguration$Amount": "

The amount or number of the exclude period.

", + "RelativeDatesFilter$RelativeDateValue": "

The date value of the filter.

", + "TopBottomFilter$Limit": "

The number of items to include in the top bottom filter results.

" + } + }, + "IntegerDefaultValueList": { + "base": null, + "refs": { + "CustomParameterValues$IntegerValues": "

A list of integer-type parameter values.

", + "IntegerDefaultValues$StaticValues": "

The static values of the IntegerDefaultValues.

" + } + }, + "IntegerDefaultValues": { + "base": "

The default values of the IntegerParameterDeclaration.

", + "refs": { + "IntegerParameterDeclaration$DefaultValues": "

The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided.

" + } + }, + "IntegerParameter": { + "base": "

An integer parameter.

", + "refs": { + "IntegerParameterList$member": null + } + }, + "IntegerParameterDeclaration": { + "base": "

A parameter declaration for the Integer data type.

", + "refs": { + "ParameterDeclaration$IntegerParameterDeclaration": "

A parameter declaration for the Integer data type.

" + } + }, + "IntegerParameterList": { + "base": null, + "refs": { + "Parameters$IntegerParameters": "

The parameters that have a data type of integer.

" + } + }, + "IntegerValueWhenUnsetConfiguration": { + "base": "

A parameter declaration for the Integer data type.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", + "refs": { + "IntegerParameterDeclaration$ValueWhenUnset": "

A parameter declaration for the Integer data type.

" + } + }, + "InternalFailureException": { + "base": "

An internal failure occurred.

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

The NextToken value isn't valid.

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

One or more parameters has a value that isn't valid.

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

You don't have this feature activated for your account. To fix this issue, contact Amazon Web Services support.

", + "refs": { + } + }, + "IpRestrictionRuleDescription": { + "base": null, + "refs": { + "IpRestrictionRuleMap$value": null + } + }, + "IpRestrictionRuleMap": { + "base": null, + "refs": { + "DescribeIpRestrictionResponse$IpRestrictionRuleMap": "

A map that describes the IP rules with CIDR range and description.

", + "UpdateIpRestrictionRequest$IpRestrictionRuleMap": "

A map that describes the updated IP rules with CIDR ranges and descriptions.

" + } + }, + "ItemsLimitConfiguration": { + "base": "

The limit configuration of the visual display for an axis.

", + "refs": { + "BarChartSortConfiguration$CategoryItemsLimit": "

The limit on the number of categories displayed in a bar chart.

", + "BarChartSortConfiguration$ColorItemsLimit": "

The limit on the number of values displayed in a bar chart.

", + "BarChartSortConfiguration$SmallMultiplesLimitConfiguration": "

The limit on the number of small multiples panels that are displayed.

", + "ComboChartSortConfiguration$CategoryItemsLimit": "

The item limit configuration for the category field well of a combo chart.

", + "ComboChartSortConfiguration$ColorItemsLimit": "

The item limit configuration of the color field well in a combo chart.

", + "FunnelChartSortConfiguration$CategoryItemsLimit": "

The limit on the number of categories displayed.

", + "HeatMapSortConfiguration$HeatMapRowItemsLimitConfiguration": "

The limit on the number of rows that are displayed in a heat map.

", + "HeatMapSortConfiguration$HeatMapColumnItemsLimitConfiguration": "

The limit on the number of columns that are displayed in a heat map.

", + "LineChartSortConfiguration$CategoryItemsLimitConfiguration": "

The limit on the number of categories that are displayed in a line chart.

", + "LineChartSortConfiguration$ColorItemsLimitConfiguration": "

The limit on the number of lines that are displayed in a line chart.

", + "LineChartSortConfiguration$SmallMultiplesLimitConfiguration": "

The limit on the number of small multiples panels that are displayed.

", + "PieChartSortConfiguration$CategoryItemsLimit": "

The limit on the number of categories that are displayed in a pie chart.

", + "PieChartSortConfiguration$SmallMultiplesLimitConfiguration": "

The limit on the number of small multiples panels that are displayed.

", + "SankeyDiagramSortConfiguration$SourceItemsLimit": "

The limit on the number of source nodes that are displayed in a sankey diagram.

", + "SankeyDiagramSortConfiguration$DestinationItemsLimit": "

The limit on the number of destination nodes that are displayed in a sankey diagram.

", + "TreeMapSortConfiguration$TreeMapGroupItemsLimitConfiguration": "

The limit on the number of groups that are displayed.

", + "WaterfallChartSortConfiguration$BreakdownItemsLimit": "

The limit on the number of bar groups that are displayed.

", + "WordCloudSortConfiguration$CategoryItemsLimit": "

The limit on the number of groups that are displayed in a word cloud.

" + } + }, + "JiraParameters": { + "base": "

The parameters for Jira.

", + "refs": { + "DataSourceParameters$JiraParameters": "

The parameters for Jira.

" + } + }, + "JoinInstruction": { + "base": "

The instructions associated with a join.

", + "refs": { + "LogicalTableSource$JoinInstruction": "

Specifies the result of a join of two logical tables.

" + } + }, + "JoinKeyProperties": { + "base": "

Properties associated with the columns participating in a join.

", + "refs": { + "JoinInstruction$LeftJoinKeyProperties": "

Join key properties of the left operand.

", + "JoinInstruction$RightJoinKeyProperties": "

Join key properties of the right operand.

" + } + }, + "JoinType": { + "base": null, + "refs": { + "JoinInstruction$Type": "

The type of join that it is.

" + } + }, + "KPIConditionalFormatting": { + "base": "

The conditional formatting of a KPI visual.

", + "refs": { + "KPIVisual$ConditionalFormatting": "

The conditional formatting of a KPI visual.

" + } + }, + "KPIConditionalFormattingOption": { + "base": "

The conditional formatting options of a KPI visual.

", + "refs": { + "KPIConditionalFormattingOptionList$member": null + } + }, + "KPIConditionalFormattingOptionList": { + "base": null, + "refs": { + "KPIConditionalFormatting$ConditionalFormattingOptions": "

The conditional formatting options of a KPI visual.

" + } + }, + "KPIConfiguration": { + "base": "

The configuration of a KPI visual.

", + "refs": { + "KPIVisual$ChartConfiguration": "

The configuration of a KPI visual.

" + } + }, + "KPIFieldWells": { + "base": "

The field well configuration of a KPI visual.

", + "refs": { + "KPIConfiguration$FieldWells": "

The field well configuration of a KPI visual.

" + } + }, + "KPIOptions": { + "base": "

The options that determine the presentation of a KPI visual.

", + "refs": { + "KPIConfiguration$KPIOptions": "

The options that determine the presentation of a KPI visual.

" + } + }, + "KPIPrimaryValueConditionalFormatting": { + "base": "

The conditional formatting for the primary value of a KPI visual.

", + "refs": { + "KPIConditionalFormattingOption$PrimaryValue": "

The conditional formatting for the primary value of a KPI visual.

" + } + }, + "KPIProgressBarConditionalFormatting": { + "base": "

The conditional formatting for the progress bar of a KPI visual.

", + "refs": { + "KPIConditionalFormattingOption$ProgressBar": "

The conditional formatting for the progress bar of a KPI visual.

" + } + }, + "KPISortConfiguration": { + "base": "

The sort configuration of a KPI visual.

", + "refs": { + "KPIConfiguration$SortConfiguration": "

The sort configuration of a KPI visual.

" + } + }, + "KPIVisual": { + "base": "

A key performance indicator (KPI).

For more information, see Using KPIs in the Amazon QuickSight User Guide.

", + "refs": { + "Visual$KPIVisual": "

A key performance indicator (KPI).

For more information, see Using KPIs in the Amazon QuickSight User Guide.

" + } + }, + "LabelOptions": { + "base": "

The share label options for the labels.

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

Determines whether or not the axis ticks are visible.

", + "DateTimePickerControlDisplayOptions$TitleOptions": "

The options to configure the title visibility, name, and font size.

", + "DropDownControlDisplayOptions$TitleOptions": "

The options to configure the title visibility, name, and font size.

", + "LegendOptions$Title": "

The custom title for the legend.

", + "ListControlDisplayOptions$TitleOptions": "

The options to configure the title visibility, name, and font size.

", + "RelativeDateTimeControlDisplayOptions$TitleOptions": "

The options to configure the title visibility, name, and font size.

", + "SliderControlDisplayOptions$TitleOptions": "

The options to configure the title visibility, name, and font size.

", + "TextAreaControlDisplayOptions$TitleOptions": "

The options to configure the title visibility, name, and font size.

", + "TextFieldControlDisplayOptions$TitleOptions": "

The options to configure the title visibility, name, and font size.

" + } + }, + "Latitude": { + "base": null, + "refs": { + "GeospatialCoordinateBounds$North": "

The latitude of the north bound of the geospatial coordinate bounds.

", + "GeospatialCoordinateBounds$South": "

The latitude of the south bound of the geospatial coordinate bounds.

" + } + }, + "Layout": { + "base": "

A Layout defines the placement of elements within a sheet.

For more information, see Types of layout in the Amazon QuickSight User Guide.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", + "refs": { + "LayoutList$member": null + } + }, + "LayoutConfiguration": { + "base": "

The configuration that determines what the type of layout will be used on a sheet.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", + "refs": { + "Layout$Configuration": "

The configuration that determines what the type of layout for a sheet.

" + } + }, + "LayoutElementType": { + "base": null, + "refs": { + "FreeFormLayoutElement$ElementType": "

The type of element.

", + "GridLayoutElement$ElementType": "

The type of element.

" + } + }, + "LayoutList": { + "base": null, + "refs": { + "SheetDefinition$Layouts": "

Layouts define how the components of a sheet are arranged.

For more information, see Types of layout in the Amazon QuickSight User Guide.

" + } + }, + "LegendOptions": { + "base": "

The options for the legend setup of a visual.

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

The legend display setup of the visual.

", + "BoxPlotChartConfiguration$Legend": null, + "ComboChartConfiguration$Legend": "

The legend display setup of the visual.

", + "FilledMapConfiguration$Legend": "

The legend display setup of the visual.

", + "GeospatialMapConfiguration$Legend": "

The legend display setup of the visual.

", + "HeatMapConfiguration$Legend": "

The legend display setup of the visual.

", + "LineChartConfiguration$Legend": "

The legend configuration of a line chart.

", + "PieChartConfiguration$Legend": "

The legend display setup of the visual.

", + "ScatterPlotConfiguration$Legend": "

The legend display setup of the visual.

", + "TreeMapConfiguration$Legend": "

The legend display setup of the visual.

", + "WaterfallChartConfiguration$Legend": "

The legend configuration of a waterfall visual.

" + } + }, + "LegendPosition": { + "base": null, + "refs": { + "LegendOptions$Position": "

The positions for the legend. Choose one of the following options:

" + } + }, + "Length": { + "base": "String based length that is composed of value and unit", + "refs": { + "Spacing$Top": "

Define the top spacing.

", + "Spacing$Bottom": "

Define the bottom spacing.

", + "Spacing$Left": "

Define the left spacing.

", + "Spacing$Right": "

Define the right spacing.

" + } + }, + "LimitExceededException": { + "base": "

A limit is exceeded.

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

The field well configuration of a line chart.

", + "refs": { + "LineChartFieldWells$LineChartAggregatedFieldWells": "

The field well configuration of a line chart.

" + } + }, + "LineChartConfiguration": { + "base": "

The configuration of a line chart.

", + "refs": { + "LineChartVisual$ChartConfiguration": "

The configuration of a line chart.

" + } + }, + "LineChartDefaultSeriesSettings": { + "base": "

The options that determine the default presentation of all line series in LineChartVisual.

", + "refs": { + "LineChartConfiguration$DefaultSeriesSettings": "

The options that determine the default presentation of all line series in LineChartVisual.

" + } + }, + "LineChartFieldWells": { + "base": "

The field well configuration of a line chart.

", + "refs": { + "LineChartConfiguration$FieldWells": "

The field well configuration of a line chart.

" + } + }, + "LineChartLineStyle": { + "base": null, + "refs": { + "LineChartLineStyleSettings$LineStyle": "

Line style for line series.

" + } + }, + "LineChartLineStyleSettings": { + "base": "

Line styles options for a line series in LineChartVisual.

", + "refs": { + "LineChartDefaultSeriesSettings$LineStyleSettings": "

Line styles options for all line series in the visual.

", + "LineChartSeriesSettings$LineStyleSettings": "

Line styles options for a line series in LineChartVisual.

" + } + }, + "LineChartMarkerShape": { + "base": null, + "refs": { + "LineChartMarkerStyleSettings$MarkerShape": "

Shape option for markers in the series.

" + } + }, + "LineChartMarkerStyleSettings": { + "base": "

Marker styles options for a line series in LineChartVisual.

", + "refs": { + "LineChartDefaultSeriesSettings$MarkerStyleSettings": "

Marker styles options for all line series in the visual.

", + "LineChartSeriesSettings$MarkerStyleSettings": "

Marker styles options for a line series in LineChartVisual.

" + } + }, + "LineChartSeriesSettings": { + "base": "

The options that determine the presentation of a line series in the visual

", + "refs": { + "DataFieldSeriesItem$Settings": "

The options that determine the presentation of line series associated to the field.

", + "FieldSeriesItem$Settings": "

The options that determine the presentation of line series associated to the field.

" + } + }, + "LineChartSortConfiguration": { + "base": "

The sort configuration of a line chart.

", + "refs": { + "LineChartConfiguration$SortConfiguration": "

The sort configuration of a line chart.

" + } + }, + "LineChartType": { + "base": null, + "refs": { + "LineChartConfiguration$Type": "

Determines the type of the line chart.

" + } + }, + "LineChartVisual": { + "base": "

A line chart.

For more information, see Using line charts in the Amazon QuickSight User Guide.

", + "refs": { + "Visual$LineChartVisual": "

A line chart.

For more information, see Using line charts in the Amazon QuickSight User Guide.

" + } + }, + "LineInterpolation": { + "base": null, + "refs": { + "LineChartLineStyleSettings$LineInterpolation": "

Interpolation style for line series.

" + } + }, + "LineSeriesAxisDisplayOptions": { + "base": "

The series axis configuration of a line chart.

", + "refs": { + "LineChartConfiguration$PrimaryYAxisDisplayOptions": "

The series axis configuration of a line chart.

", + "LineChartConfiguration$SecondaryYAxisDisplayOptions": "

The series axis configuration of a line chart.

" + } + }, + "LinkSharingConfiguration": { + "base": "

A structure that contains the configuration of a shareable link to the dashboard.

", + "refs": { + "DescribeDashboardPermissionsResponse$LinkSharingConfiguration": "

A structure that contains the configuration of a shareable link that grants access to the dashboard. Your users can use the link to view and interact with the dashboard, if the dashboard has been shared with them. For more information about sharing dashboards, see Sharing Dashboards.

", + "UpdateDashboardPermissionsResponse$LinkSharingConfiguration": "

Updates the permissions of a shared link to an Amazon QuickSight dashboard.

" + } + }, + "ListAnalysesRequest": { + "base": null, + "refs": { + } + }, + "ListAnalysesResponse": { + "base": null, + "refs": { + } + }, + "ListControlDisplayOptions": { + "base": "

The display options of a control.

", + "refs": { + "FilterListControl$DisplayOptions": "

The display options of a control.

", + "ParameterListControl$DisplayOptions": "

The display options of a control.

" + } + }, + "ListControlSearchOptions": { + "base": "

The configuration of the search options in a list control.

", + "refs": { + "ListControlDisplayOptions$SearchOptions": "

The configuration of the search options in a list control.

" + } + }, + "ListControlSelectAllOptions": { + "base": "

The configuration of the Select all options in a list control.

", + "refs": { + "DropDownControlDisplayOptions$SelectAllOptions": "

The configuration of the Select all options in a dropdown control.

", + "ListControlDisplayOptions$SelectAllOptions": "

The configuration of the Select all options in a list control.

" + } + }, + "ListDashboardVersionsRequest": { + "base": null, + "refs": { + } + }, + "ListDashboardVersionsResponse": { + "base": null, + "refs": { + } + }, + "ListDashboardsRequest": { + "base": null, + "refs": { + } + }, + "ListDashboardsResponse": { + "base": null, + "refs": { + } + }, + "ListDataSetsRequest": { + "base": null, + "refs": { + } + }, + "ListDataSetsResponse": { + "base": null, + "refs": { + } + }, + "ListDataSourcesRequest": { + "base": null, + "refs": { + } + }, + "ListDataSourcesResponse": { + "base": null, + "refs": { + } + }, + "ListFolderMembersRequest": { + "base": null, + "refs": { + } + }, + "ListFolderMembersResponse": { + "base": null, + "refs": { + } + }, + "ListFoldersRequest": { + "base": null, + "refs": { + } + }, + "ListFoldersResponse": { + "base": null, + "refs": { + } + }, + "ListGroupMembershipsRequest": { + "base": null, + "refs": { + } + }, + "ListGroupMembershipsResponse": { + "base": null, + "refs": { + } + }, + "ListGroupsRequest": { + "base": null, + "refs": { + } + }, + "ListGroupsResponse": { + "base": null, + "refs": { + } + }, + "ListIAMPolicyAssignmentsForUserRequest": { + "base": null, + "refs": { + } + }, + "ListIAMPolicyAssignmentsForUserResponse": { + "base": null, + "refs": { + } + }, + "ListIAMPolicyAssignmentsRequest": { + "base": null, + "refs": { + } + }, + "ListIAMPolicyAssignmentsResponse": { + "base": null, + "refs": { + } + }, + "ListIngestionsRequest": { + "base": null, + "refs": { + } + }, + "ListIngestionsResponse": { + "base": null, + "refs": { + } + }, + "ListNamespacesRequest": { + "base": null, + "refs": { + } + }, + "ListNamespacesResponse": { + "base": null, + "refs": { + } + }, + "ListTagsForResourceRequest": { + "base": null, + "refs": { + } + }, + "ListTagsForResourceResponse": { + "base": null, + "refs": { + } + }, + "ListTemplateAliasesRequest": { + "base": null, + "refs": { + } + }, + "ListTemplateAliasesResponse": { + "base": null, + "refs": { + } + }, + "ListTemplateVersionsRequest": { + "base": null, + "refs": { + } + }, + "ListTemplateVersionsResponse": { + "base": null, + "refs": { + } + }, + "ListTemplatesRequest": { + "base": null, + "refs": { + } + }, + "ListTemplatesResponse": { + "base": null, + "refs": { + } + }, + "ListThemeAliasesRequest": { + "base": null, + "refs": { + } + }, + "ListThemeAliasesResponse": { + "base": null, + "refs": { + } + }, + "ListThemeVersionsRequest": { + "base": null, + "refs": { + } + }, + "ListThemeVersionsResponse": { + "base": null, + "refs": { + } + }, + "ListThemesRequest": { + "base": null, + "refs": { + } + }, + "ListThemesResponse": { + "base": null, + "refs": { + } + }, + "ListUserGroupsRequest": { + "base": null, + "refs": { + } + }, + "ListUserGroupsResponse": { + "base": null, + "refs": { + } + }, + "ListUsersRequest": { + "base": null, + "refs": { + } + }, + "ListUsersResponse": { + "base": null, + "refs": { + } + }, + "LoadingAnimation": { + "base": "

The configuration of loading animation in free-form layout.

", + "refs": { + "FreeFormLayoutElement$LoadingAnimation": "

The loading animation configuration of a free-form layout element.

" + } + }, + "LocalNavigationConfiguration": { + "base": "

The navigation configuration for CustomActionNavigationOperation.

", + "refs": { + "CustomActionNavigationOperation$LocalNavigationConfiguration": "

The configuration that chooses the navigation target.

" + } + }, + "LogicalTable": { + "base": "

A logical table is a unit that joins and that data transformations operate on. A logical table has a source, which can be either a physical table or result of a join. When a logical table points to a physical table, the logical table acts as a mutable copy of that physical table through transform operations.

", + "refs": { + "LogicalTableMap$value": null + } + }, + "LogicalTableAlias": { + "base": null, + "refs": { + "LogicalTable$Alias": "

A display name for the logical table.

" + } + }, + "LogicalTableId": { + "base": null, + "refs": { + "JoinInstruction$LeftOperand": "

The operand on the left side of a join.

", + "JoinInstruction$RightOperand": "

The operand on the right side of a join.

", + "LogicalTableMap$key": null + } + }, + "LogicalTableMap": { + "base": null, + "refs": { + "CreateDataSetRequest$LogicalTableMap": "

Configures the combination and transformation of the data from the physical tables.

", + "DataSet$LogicalTableMap": "

Configures the combination and transformation of the data from the physical tables.

", + "UpdateDataSetRequest$LogicalTableMap": "

Configures the combination and transformation of the data from the physical tables.

" + } + }, + "LogicalTableSource": { + "base": "

Information about the source of a logical table. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.

", + "refs": { + "LogicalTable$Source": "

Source of this logical table.

" + } + }, + "Long": { + "base": null, + "refs": { + "DataSet$ConsumedSpiceCapacityInBytes": "

The amount of SPICE capacity used by this dataset. This is 0 if the dataset isn't imported into SPICE.

", + "Ingestion$IngestionTimeInSeconds": "

The time that this ingestion took, measured in seconds.

", + "Ingestion$IngestionSizeInBytes": "

The size of the data ingested, in bytes.

", + "ItemsLimitConfiguration$ItemsLimit": "

The limit on how many items of a field are showed in the chart. For example, the number of slices that are displayed in a pie chart.

", + "PaginationConfiguration$PageSize": "

Indicates how many items render in one page.

", + "RowInfo$RowsIngested": "

The number of rows that were ingested.

", + "RowInfo$RowsDropped": "

The number of rows that were not ingested.

", + "RowInfo$TotalRowsInDataset": "

The total number of rows in the dataset.

" + } + }, + "LongFormatText": { + "base": "

The text format for a subtitle.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", + "refs": { + "VisualSubtitleLabelOptions$FormatText": "

The long text format of the subtitle label, such as plain text or rich text.

" + } + }, + "LongPlainText": { + "base": null, + "refs": { + "LongFormatText$PlainText": "

Plain text format.

" + } + }, + "LongRichText": { + "base": null, + "refs": { + "LongFormatText$RichText": "

Rich text. Examples of rich text include bold, underline, and italics.

" + } + }, + "Longitude": { + "base": null, + "refs": { + "GeospatialCoordinateBounds$West": "

The longitude of the west bound of the geospatial coordinate bounds.

", + "GeospatialCoordinateBounds$East": "

The longitude of the east bound of the geospatial coordinate bounds.

" + } + }, + "ManifestFileLocation": { + "base": "

Amazon S3 manifest file location.

", + "refs": { + "S3Parameters$ManifestFileLocation": "

Location of the Amazon S3 manifest file. This is NULL if the manifest file was uploaded into Amazon QuickSight.

" + } + }, + "MapZoomMode": { + "base": null, + "refs": { + "GeospatialWindowOptions$MapZoomMode": "

The map zoom modes (manual, auto) of the geospatial window options.

" + } + }, + "MarginStyle": { + "base": "

The display options for margins around the outside edge of sheets.

", + "refs": { + "TileLayoutStyle$Margin": "

The margin settings that apply around the outside edge of sheets.

" + } + }, + "MariaDbParameters": { + "base": "

The parameters for MariaDB.

", + "refs": { + "DataSourceParameters$MariaDbParameters": "

The parameters for MariaDB.

" + } + }, + "MaxResults": { + "base": null, + "refs": { + "ListAnalysesRequest$MaxResults": "

The maximum number of results to return.

", + "ListDashboardVersionsRequest$MaxResults": "

The maximum number of results to be returned per request.

", + "ListDashboardsRequest$MaxResults": "

The maximum number of results to be returned per request.

", + "ListDataSetsRequest$MaxResults": "

The maximum number of results to be returned per request.

", + "ListDataSourcesRequest$MaxResults": "

The maximum number of results to be returned per request.

", + "ListFolderMembersRequest$MaxResults": "

The maximum number of results to be returned per request.

", + "ListFoldersRequest$MaxResults": "

The maximum number of results to be returned per request.

", + "ListGroupMembershipsRequest$MaxResults": "

The maximum number of results to return from this request.

", + "ListGroupsRequest$MaxResults": "

The maximum number of results to return.

", + "ListIAMPolicyAssignmentsForUserRequest$MaxResults": "

The maximum number of results to be returned per request.

", + "ListIAMPolicyAssignmentsRequest$MaxResults": "

The maximum number of results to be returned per request.

", + "ListNamespacesRequest$MaxResults": "

The maximum number of results to return.

", + "ListTemplateAliasesRequest$MaxResults": "

The maximum number of results to be returned per request.

", + "ListTemplateVersionsRequest$MaxResults": "

The maximum number of results to be returned per request.

", + "ListTemplatesRequest$MaxResults": "

The maximum number of results to be returned per request.

", + "ListThemeAliasesRequest$MaxResults": "

The maximum number of results to be returned per request.

", + "ListThemeVersionsRequest$MaxResults": "

The maximum number of results to be returned per request.

", + "ListThemesRequest$MaxResults": "

The maximum number of results to be returned per request.

", + "ListUserGroupsRequest$MaxResults": "

The maximum number of results to return from this request.

", + "ListUsersRequest$MaxResults": "

The maximum number of results to return from this request.

", + "SearchAnalysesRequest$MaxResults": "

The maximum number of results to return.

", + "SearchDashboardsRequest$MaxResults": "

The maximum number of results to be returned per request.

", + "SearchDataSetsRequest$MaxResults": "

The maximum number of results to be returned per request.

", + "SearchDataSourcesRequest$MaxResults": "

The maximum number of results to be returned per request.

", + "SearchFoldersRequest$MaxResults": "

The maximum number of results to be returned per request.

", + "SearchGroupsRequest$MaxResults": "

The maximum number of results to return from this request.

" + } + }, + "MaximumLabelType": { + "base": "

The maximum label of a data path label.

", + "refs": { + "DataLabelType$MaximumLabelType": "

Determines the label configuration for the maximum value in a visual.

" + } + }, + "MaximumMinimumComputation": { + "base": "

The maximum and minimum computation configuration.

", + "refs": { + "Computation$MaximumMinimum": "

The maximum and minimum computation configuration.

" + } + }, + "MaximumMinimumComputationType": { + "base": null, + "refs": { + "MaximumMinimumComputation$Type": "

The type of computation. Choose one of the following options:

" + } + }, + "MeasureField": { + "base": "

The measure (metric) type field.

", + "refs": { + "BoxPlotMeasureFieldList$member": null, + "FilledMapMeasureFieldList$member": null, + "ForecastComputation$Value": "

The value field that is used in a computation.

", + "FunnelChartMeasureFieldList$member": null, + "GrowthRateComputation$Value": "

The value field that is used in a computation.

", + "HeatMapMeasureFieldList$member": null, + "HistogramMeasureFieldList$member": null, + "MaximumMinimumComputation$Value": "

The value field that is used in a computation.

", + "MeasureFieldList$member": null, + "MetricComparisonComputation$FromValue": "

The field that is used in a metric comparison from value setup.

", + "MetricComparisonComputation$TargetValue": "

The field that is used in a metric comparison to value setup.

", + "PeriodOverPeriodComputation$Value": "

The value field that is used in a computation.

", + "PeriodToDateComputation$Value": "

The value field that is used in a computation.

", + "PivotMeasureFieldList$member": null, + "TopBottomMoversComputation$Value": "

The value field that is used in a computation.

", + "TopBottomRankedComputation$Value": "

The value field that is used in a computation.

", + "TotalAggregationComputation$Value": "

The value field that is used in a computation.

", + "TreeMapMeasureFieldList$member": null, + "WordCloudMeasureFieldList$member": null + } + }, + "MeasureFieldList": { + "base": null, + "refs": { + "BarChartAggregatedFieldWells$Values": "

The value field wells of a bar chart. Values are aggregated by category.

", + "ComboChartAggregatedFieldWells$BarValues": "

The aggregated BarValues field well of a combo chart.

", + "ComboChartAggregatedFieldWells$LineValues": "

The aggregated LineValues field well of a combo chart.

", + "GaugeChartFieldWells$Values": "

The value field wells of a GaugeChartVisual.

", + "GaugeChartFieldWells$TargetValues": "

The target value field wells of a GaugeChartVisual.

", + "GeospatialMapAggregatedFieldWells$Values": "

The size field wells of a geospatial map. Values are aggregated based on geospatial fields.

", + "KPIFieldWells$Values": "

The value field wells of a KPI visual.

", + "KPIFieldWells$TargetValues": "

The target value field wells of a KPI visual.

", + "LineChartAggregatedFieldWells$Values": "

The value field wells of a line chart. Values are aggregated based on categories.

", + "PieChartAggregatedFieldWells$Values": "

The value field wells of a pie chart. Values are aggregated based on categories.

", + "SankeyDiagramAggregatedFieldWells$Weight": "

The weight field wells of a sankey diagram.

", + "ScatterPlotCategoricallyAggregatedFieldWells$XAxis": "

The x-axis field well of a scatter plot.

The x-axis is aggregated by category.

", + "ScatterPlotCategoricallyAggregatedFieldWells$YAxis": "

The y-axis field well of a scatter plot.

The y-axis is aggregated by category.

", + "ScatterPlotCategoricallyAggregatedFieldWells$Size": "

The size field well of a scatter plot.

", + "ScatterPlotUnaggregatedFieldWells$Size": "

The size field well of a scatter plot.

", + "TableAggregatedFieldWells$Values": "

The values field well for a pivot table. Values are aggregated based on group by fields.

", + "WaterfallChartAggregatedFieldWells$Values": "

The value field wells of a waterfall visual.

" + } + }, + "MemberIdArnPair": { + "base": "

An object that consists of a member Amazon Resource Name (ARN) and a member ID.

", + "refs": { + "FolderMemberList$member": null + } + }, + "MemberType": { + "base": null, + "refs": { + "CreateFolderMembershipRequest$MemberType": "

The type of the member, including DASHBOARD, ANALYSIS, and DATASET.

", + "DeleteFolderMembershipRequest$MemberType": "

The type of the member, including DASHBOARD, ANALYSIS, and DATASET

", + "FolderMember$MemberType": "

The type of asset that it is.

" + } + }, + "MetricComparisonComputation": { + "base": "

The metric comparison computation configuration.

", + "refs": { + "Computation$MetricComparison": "

The metric comparison computation configuration.

" + } + }, + "MinimumLabelType": { + "base": "

The minimum label of a data path label.

", + "refs": { + "DataLabelType$MinimumLabelType": "

Determines the label configuration for the minimum value in a visual.

" + } + }, + "MissingDataConfiguration": { + "base": "

The configuration options that determine how missing data is treated during the rendering of a line chart.

", + "refs": { + "MissingDataConfigurationList$member": null + } + }, + "MissingDataConfigurationList": { + "base": null, + "refs": { + "LineSeriesAxisDisplayOptions$MissingDataConfigurations": "

The configuration options that determine how missing data is treated during the rendering of a line chart.

" + } + }, + "MissingDataTreatmentOption": { + "base": null, + "refs": { + "MissingDataConfiguration$TreatmentOption": "

The treatment option that determines how missing data should be rendered. Choose from the following options:

" + } + }, + "MySqlParameters": { + "base": "

The parameters for MySQL.

", + "refs": { + "DataSourceParameters$MySqlParameters": "

The parameters for MySQL.

" + } + }, + "Namespace": { + "base": null, + "refs": { + "AccountSettings$DefaultNamespace": "

The default Amazon QuickSight namespace for your Amazon Web Services account.

", + "CreateAccountCustomizationRequest$Namespace": "

The Amazon QuickSight namespace that you want to add customizations to.

", + "CreateAccountCustomizationResponse$Namespace": "

The namespace associated with the customization you're creating.

", + "CreateGroupMembershipRequest$Namespace": "

The namespace that you want the user to be a part of.

", + "CreateGroupRequest$Namespace": "

The namespace that you want the group to be a part of.

", + "CreateIAMPolicyAssignmentRequest$Namespace": "

The namespace that contains the assignment.

", + "CreateNamespaceRequest$Namespace": "

The name that you want to use to describe the new namespace.

", + "CreateNamespaceResponse$Name": "

The name of the new namespace that you created.

", + "DeleteAccountCustomizationRequest$Namespace": "

The Amazon QuickSight namespace that you're deleting the customizations from.

", + "DeleteGroupMembershipRequest$Namespace": "

The namespace of the group that you want to remove a user from.

", + "DeleteGroupRequest$Namespace": "

The namespace of the group that you want to delete.

", + "DeleteIAMPolicyAssignmentRequest$Namespace": "

The namespace that contains the assignment.

", + "DeleteNamespaceRequest$Namespace": "

The namespace that you want to delete.

", + "DeleteUserByPrincipalIdRequest$Namespace": "

The namespace. Currently, you should set this to default.

", + "DeleteUserRequest$Namespace": "

The namespace. Currently, you should set this to default.

", + "DescribeAccountCustomizationRequest$Namespace": "

The Amazon QuickSight namespace that you want to describe Amazon QuickSight customizations for.

", + "DescribeAccountCustomizationResponse$Namespace": "

The Amazon QuickSight namespace that you're describing.

", + "DescribeGroupMembershipRequest$Namespace": "

The namespace that includes the group you are searching within.

", + "DescribeGroupRequest$Namespace": "

The namespace of the group that you want described.

", + "DescribeIAMPolicyAssignmentRequest$Namespace": "

The namespace that contains the assignment.

", + "DescribeNamespaceRequest$Namespace": "

The namespace that you want to describe.

", + "DescribeUserRequest$Namespace": "

The namespace. Currently, you should set this to default.

", + "GenerateEmbedUrlForAnonymousUserRequest$Namespace": "

The Amazon QuickSight namespace that the anonymous user virtually belongs to. If you are not using an Amazon QuickSight custom namespace, set this to default.

", + "GetDashboardEmbedUrlRequest$Namespace": "

The Amazon QuickSight namespace that contains the dashboard IDs in this request. If you're not using a custom namespace, set Namespace = default.

", + "ListGroupMembershipsRequest$Namespace": "

The namespace of the group that you want a list of users from.

", + "ListGroupsRequest$Namespace": "

The namespace that you want a list of groups from.

", + "ListIAMPolicyAssignmentsForUserRequest$Namespace": "

The namespace of the assignment.

", + "ListIAMPolicyAssignmentsRequest$Namespace": "

The namespace for the assignments.

", + "ListUserGroupsRequest$Namespace": "

The namespace. Currently, you should set this to default.

", + "ListUsersRequest$Namespace": "

The namespace. Currently, you should set this to default.

", + "NamespaceInfoV2$Name": "

The name of the error.

", + "RegisterUserRequest$Namespace": "

The namespace. Currently, you should set this to default.

", + "RowLevelPermissionDataSet$Namespace": "

The namespace associated with the dataset that contains permissions for RLS.

", + "SearchGroupsRequest$Namespace": "

The namespace that you want to search.

", + "UpdateAccountCustomizationRequest$Namespace": "

The namespace that you want to update Amazon QuickSight customizations for.

", + "UpdateAccountCustomizationResponse$Namespace": "

The namespace associated with the customization that you're updating.

", + "UpdateAccountSettingsRequest$DefaultNamespace": "

The default namespace for this Amazon Web Services account. Currently, the default is default. Identity and Access Management (IAM) users that register for the first time with Amazon QuickSight provide an email address that becomes associated with the default namespace.

", + "UpdateGroupRequest$Namespace": "

The namespace of the group that you want to update.

", + "UpdateIAMPolicyAssignmentRequest$Namespace": "

The namespace of the assignment.

", + "UpdateUserRequest$Namespace": "

The namespace. Currently, you should set this to default.

" + } + }, + "NamespaceError": { + "base": "

Errors that occur during namespace creation.

", + "refs": { + "NamespaceInfoV2$NamespaceError": "

An error that occurred when the namespace was created.

" + } + }, + "NamespaceErrorType": { + "base": null, + "refs": { + "NamespaceError$Type": "

The error type.

" + } + }, + "NamespaceInfoV2": { + "base": "

The error type.

", + "refs": { + "DescribeNamespaceResponse$Namespace": "

The information about the namespace that you're describing. The response includes the namespace ARN, name, Amazon Web Services Region, creation status, and identity store. DescribeNamespace also works for namespaces that are in the process of being created. For incomplete namespaces, this API operation lists the namespace error types and messages associated with the creation process.

", + "Namespaces$member": null + } + }, + "NamespaceStatus": { + "base": null, + "refs": { + "CreateNamespaceResponse$CreationStatus": "

The status of the creation of the namespace. This is an asynchronous process. A status of CREATED means that your namespace is ready to use. If an error occurs, it indicates if the process is retryable or non-retryable. In the case of a non-retryable error, refer to the error message for follow-up tasks.

", + "NamespaceInfoV2$CreationStatus": "

The creation status of a namespace that is not yet completely created.

" + } + }, + "Namespaces": { + "base": null, + "refs": { + "ListNamespacesResponse$Namespaces": "

The information about the namespaces in this Amazon Web Services account. The response includes the namespace ARN, name, Amazon Web Services Region, notification email address, creation status, and identity store.

" + } + }, + "NarrativeString": { + "base": null, + "refs": { + "CustomNarrativeOptions$Narrative": "

The string input of custom narrative.

" + } + }, + "NegativeValueConfiguration": { + "base": "

The options that determine the negative value configuration.

", + "refs": { + "CurrencyDisplayFormatConfiguration$NegativeValueConfiguration": "

The options that determine the negative value configuration.

", + "NumberDisplayFormatConfiguration$NegativeValueConfiguration": "

The options that determine the negative value configuration.

", + "PercentageDisplayFormatConfiguration$NegativeValueConfiguration": "

The options that determine the negative value configuration.

" + } + }, + "NegativeValueDisplayMode": { + "base": null, + "refs": { + "NegativeValueConfiguration$DisplayMode": "

Determines the display mode of the negative value configuration.

" + } + }, + "NonEmptyString": { + "base": null, + "refs": { + "AnalysisError$Message": "

The message associated with the analysis error.

", + "DashboardError$Message": "

Message.

", + "DataSetReference$DataSetPlaceholder": "

Dataset placeholder.

", + "DateTimeParameter$Name": "

A display name for the date-time parameter.

", + "DecimalParameter$Name": "

A display name for the decimal parameter.

", + "Entity$Path": "

The hierarchical path of the entity within the analysis, template, or dashboard definition tree.

", + "IntegerParameter$Name": "

The name of the integer parameter.

", + "ReferenceLineCustomLabelConfiguration$CustomLabel": "

The string text of the custom label.

", + "StringParameter$Name": "

A display name for a string parameter.

", + "TemplateError$Message": "

Description of the error type.

", + "ThemeError$Message": "

The error message.

" + } + }, + "NullString": { + "base": null, + "refs": { + "NullValueFormatConfiguration$NullString": "

Determines the null string of null values.

" + } + }, + "NullValueFormatConfiguration": { + "base": "

The options that determine the null value format configuration.

", + "refs": { + "CurrencyDisplayFormatConfiguration$NullValueFormatConfiguration": "

The options that determine the null value format configuration.

", + "DateTimeFormatConfiguration$NullValueFormatConfiguration": "

The options that determine the null value format configuration.

", + "NumberDisplayFormatConfiguration$NullValueFormatConfiguration": "

The options that determine the null value format configuration.

", + "PercentageDisplayFormatConfiguration$NullValueFormatConfiguration": "

The options that determine the null value format configuration.

", + "StringFormatConfiguration$NullValueFormatConfiguration": "

The options that determine the null value format configuration.

" + } + }, + "NullableBoolean": { + "base": null, + "refs": { + "DescribeIpRestrictionResponse$Enabled": "

A value that specifies whether IP rules are turned on.

", + "UpdateIpRestrictionRequest$Enabled": "

A value that specifies whether IP rules are turned on.

" + } + }, + "NumberDisplayFormatConfiguration": { + "base": "

The options that determine the number display format configuration.

", + "refs": { + "ComparisonFormatConfiguration$NumberDisplayFormatConfiguration": "

The number display format.

", + "NumericFormatConfiguration$NumberDisplayFormatConfiguration": "

The options that determine the number display format configuration.

" + } + }, + "NumberFormatConfiguration": { + "base": "

Formatting configuration for number fields.

", + "refs": { + "FormatConfiguration$NumberFormatConfiguration": "

Formatting configuration for number fields.

", + "NumericalDimensionField$FormatConfiguration": "

The format configuration of the field.

", + "NumericalMeasureField$FormatConfiguration": "

The format configuration of the field.

" + } + }, + "NumberScale": { + "base": null, + "refs": { + "CurrencyDisplayFormatConfiguration$NumberScale": "

Determines the number scale value for the currency format.

", + "NumberDisplayFormatConfiguration$NumberScale": "

Determines the number scale value of the number format.

" + } + }, + "NumericAxisOptions": { + "base": "

The options for an axis with a numeric field.

", + "refs": { + "AxisDataOptions$NumericAxisOptions": "

The options for an axis with a numeric field.

" + } + }, + "NumericEqualityDrillDownFilter": { + "base": "

The category drill down filter.

", + "refs": { + "DrillDownFilter$NumericEqualityFilter": "

The numeric equality type drill down filter. This filter is used for number type columns.

" + } + }, + "NumericEqualityFilter": { + "base": "

A NumericEqualityFilter filters values that are equal to the specified value.

", + "refs": { + "Filter$NumericEqualityFilter": "

A NumericEqualityFilter filters numeric values that equal or do not equal a given numeric value.

" + } + }, + "NumericEqualityMatchOperator": { + "base": null, + "refs": { + "NumericEqualityFilter$MatchOperator": "

The match operator that is used to determine if a filter should be applied.

" + } + }, + "NumericFilterSelectAllOptions": { + "base": null, + "refs": { + "NumericEqualityFilter$SelectAllOptions": "

Select all of the values. Null is not the assigned value of select all.

", + "NumericRangeFilter$SelectAllOptions": "

Select all of the values. Null is not the assigned value of select all.

" + } + }, + "NumericFormatConfiguration": { + "base": "

The options that determine the numeric format configuration.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", + "refs": { + "DateTimeFormatConfiguration$NumericFormatConfiguration": "

The formatting configuration for numeric DateTime fields.

", + "NumberFormatConfiguration$FormatConfiguration": "

The options that determine the numeric format configuration.

", + "ReferenceLineValueLabelConfiguration$FormatConfiguration": "

The format configuration of the value label.

", + "StringFormatConfiguration$NumericFormatConfiguration": "

The formatting configuration for numeric strings.

" + } + }, + "NumericRangeFilter": { + "base": "

A NumericRangeFilter filters values that are within the value range.

", + "refs": { + "Filter$NumericRangeFilter": "

A NumericRangeFilter filters numeric values that are either inside or outside a given numeric range.

" + } + }, + "NumericRangeFilterValue": { + "base": "

The value input pf the numeric range filter.

", + "refs": { + "NumericRangeFilter$RangeMinimum": "

The minimum value for the filter value range.

", + "NumericRangeFilter$RangeMaximum": "

The maximum value for the filter value range.

" + } + }, + "NumericSeparatorConfiguration": { + "base": "

The options that determine the numeric separator configuration.

", + "refs": { + "CurrencyDisplayFormatConfiguration$SeparatorConfiguration": "

The options that determine the numeric separator configuration.

", + "NumberDisplayFormatConfiguration$SeparatorConfiguration": "

The options that determine the numeric separator configuration.

", + "PercentageDisplayFormatConfiguration$SeparatorConfiguration": "

The options that determine the numeric separator configuration.

" + } + }, + "NumericSeparatorSymbol": { + "base": null, + "refs": { + "NumericSeparatorConfiguration$DecimalSeparator": "

Determines the decimal separator.

", + "ThousandSeparatorOptions$Symbol": "

Determines the thousands separator symbol.

" + } + }, + "NumericalAggregationFunction": { + "base": "

Aggregation for numerical values.

", + "refs": { + "AggregationFunction$NumericalAggregationFunction": "

Aggregation for numerical values.

", + "NumericalMeasureField$AggregationFunction": "

The aggregation function of the measure field.

", + "ReferenceLineDynamicDataConfiguration$Calculation": "

The calculation that is used in the dynamic data.

" + } + }, + "NumericalDimensionField": { + "base": "

The dimension type field with numerical type columns.

", + "refs": { + "DimensionField$NumericalDimensionField": "

The dimension type field with numerical type columns.

" + } + }, + "NumericalMeasureField": { + "base": "

The measure type field with numerical type columns.

", + "refs": { + "MeasureField$NumericalMeasureField": "

The measure type field with numerical type columns.

" + } + }, + "OnClause": { + "base": null, + "refs": { + "JoinInstruction$OnClause": "

The join instructions provided in the ON clause of a join.

" + } + }, + "OptionalPort": { + "base": null, + "refs": { + "RedshiftParameters$Port": "

Port. This field can be blank if the ClusterId is provided.

" + } + }, + "OracleParameters": { + "base": "

The parameters for Oracle.

", + "refs": { + "DataSourceParameters$OracleParameters": "

The parameters for Oracle.

" + } + }, + "OtherCategories": { + "base": null, + "refs": { + "ItemsLimitConfiguration$OtherCategories": "

The Show other of an axis in the chart. Choose one of the following options:

" + } + }, + "OutputColumn": { + "base": "

Output column.

", + "refs": { + "OutputColumnList$member": null + } + }, + "OutputColumnList": { + "base": null, + "refs": { + "DataSet$OutputColumns": "

The list of columns after all transforms. These columns are available in templates, analyses, and dashboards.

" + } + }, + "PageNumber": { + "base": null, + "refs": { + "PaginationConfiguration$PageNumber": "

Indicates the page number.

" + } + }, + "PaginationConfiguration": { + "base": "

The pagination configuration for a table visual or boxplot.

", + "refs": { + "BoxPlotSortConfiguration$PaginationConfiguration": "

The pagination configuration of a table visual or box plot.

", + "TableSortConfiguration$PaginationConfiguration": "

The pagination configuration (page size, page number) for the table.

" + } + }, + "PanelBorderStyle": { + "base": null, + "refs": { + "PanelConfiguration$BorderStyle": "

Sets the line style of panel borders.

" + } + }, + "PanelConfiguration": { + "base": "

A collection of options that configure how each panel displays in a small multiples chart.

", + "refs": { + "SmallMultiplesOptions$PanelConfiguration": "

Configures the display options for each small multiples panel.

" + } + }, + "PanelTitleOptions": { + "base": "

The options that determine the title styles for each small multiples panel.

", + "refs": { + "PanelConfiguration$Title": "

Configures the title display within each small multiples panel.

" + } + }, + "PaperOrientation": { + "base": null, + "refs": { + "SectionBasedLayoutPaperCanvasSizeOptions$PaperOrientation": "

The paper orientation that is used to define canvas dimensions. Choose one of the following options:

" + } + }, + "PaperSize": { + "base": null, + "refs": { + "SectionBasedLayoutPaperCanvasSizeOptions$PaperSize": "

The paper size that is used to define canvas dimensions.

" + } + }, + "ParameterControl": { + "base": "

The control of a parameter that users can interact with in a dashboard or an analysis.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", + "refs": { + "ParameterControlList$member": null + } + }, + "ParameterControlList": { + "base": null, + "refs": { + "SheetDefinition$ParameterControls": "

The list of parameter controls that are on a sheet.

For more information, see Using a Control with a Parameter in Amazon QuickSight in the Amazon QuickSight User Guide.

" + } + }, + "ParameterDateTimePickerControl": { + "base": "

A control from a date parameter that specifies date and time.

", + "refs": { + "ParameterControl$DateTimePicker": "

A control from a date parameter that specifies date and time.

" + } + }, + "ParameterDeclaration": { + "base": "

The declaration definition of a parameter.

For more information, see Parameters in Amazon QuickSight in the Amazon QuickSight User Guide.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", + "refs": { + "ParameterDeclarationList$member": null + } + }, + "ParameterDeclarationList": { + "base": null, + "refs": { + "AnalysisDefinition$ParameterDeclarations": "

An array of parameter declarations for an analysis.

Parameters are named variables that can transfer a value for use by an action or an object.

For more information, see Parameters in Amazon QuickSight in the Amazon QuickSight User Guide.

", + "DashboardVersionDefinition$ParameterDeclarations": "

The parameter declarations for a dashboard. Parameters are named variables that can transfer a value for use by an action or an object.

For more information, see Parameters in Amazon QuickSight in the Amazon QuickSight User Guide.

", + "TemplateVersionDefinition$ParameterDeclarations": "

An array of parameter declarations for a template.

Parameters are named variables that can transfer a value for use by an action or an object.

For more information, see Parameters in Amazon QuickSight in the Amazon QuickSight User Guide.

" + } + }, + "ParameterDropDownControl": { + "base": "

A control to display a dropdown list with buttons that are used to select a single value.

", + "refs": { + "ParameterControl$Dropdown": "

A control to display a dropdown list with buttons that are used to select a single value.

" + } + }, + "ParameterListControl": { + "base": "

A control to display a list with buttons or boxes that are used to select either a single value or multiple values.

", + "refs": { + "ParameterControl$List": "

A control to display a list with buttons or boxes that are used to select either a single value or multiple values.

" + } + }, + "ParameterName": { + "base": null, + "refs": { + "AnchorDateConfiguration$ParameterName": "

The name of the parameter that is used for the anchor date configuration.

", + "CustomFilterConfiguration$ParameterName": "

The parameter whose value should be used for the filter value.

This field is mutually exclusive to CategoryValue.

", + "DateTimeParameterDeclaration$Name": "

The name of the parameter that is being declared.

", + "DecimalParameterDeclaration$Name": "

The name of the parameter that is being declared.

", + "IntegerParameterDeclaration$Name": "

The name of the parameter that is being declared.

", + "NumericEqualityFilter$ParameterName": "

The parameter whose value should be used for the filter value.

", + "NumericRangeFilterValue$Parameter": "

The parameter that is used in the numeric range.

", + "ParameterDateTimePickerControl$SourceParameterName": "

The name of the ParameterDateTimePickerControl.

", + "ParameterDropDownControl$SourceParameterName": "

The source parameter name of the ParameterDropDownControl.

", + "ParameterListControl$SourceParameterName": "

The source parameter name of the ParameterListControl.

", + "ParameterSliderControl$SourceParameterName": "

The source parameter name of the ParameterSliderControl.

", + "ParameterTextAreaControl$SourceParameterName": "

The source parameter name of the ParameterTextAreaControl.

", + "ParameterTextFieldControl$SourceParameterName": "

The source parameter name of the ParameterTextFieldControl.

", + "RelativeDatesFilter$ParameterName": "

The parameter whose value should be used for the filter value.

", + "SetParameterValueConfiguration$DestinationParameterName": "

The destination parameter name of the SetParameterValueConfiguration.

", + "StringParameterDeclaration$Name": "

The name of the parameter that is being declared.

", + "TimeEqualityFilter$ParameterName": "

The parameter whose value should be used for the filter value.

This field is mutually exclusive to Value.

", + "TimeRangeFilterValue$Parameter": "

The parameter type input value.

", + "TopBottomFilter$ParameterName": "

The parameter whose value should be used for the filter value.

" + } + }, + "ParameterSelectableValueList": { + "base": null, + "refs": { + "FilterSelectableValues$Values": "

The values that are used in the FilterSelectableValues.

", + "ParameterSelectableValues$Values": "

The values that are used in ParameterSelectableValues.

" + } + }, + "ParameterSelectableValues": { + "base": "

A list of selectable values that are used in a control.

", + "refs": { + "ParameterDropDownControl$SelectableValues": "

A list of selectable values that are used in a control.

", + "ParameterListControl$SelectableValues": "

A list of selectable values that are used in a control.

" + } + }, + "ParameterSliderControl": { + "base": "

A control to display a horizontal toggle bar. This is used to change a value by sliding the toggle.

", + "refs": { + "ParameterControl$Slider": "

A control to display a horizontal toggle bar. This is used to change a value by sliding the toggle.

" + } + }, + "ParameterTextAreaControl": { + "base": "

A control to display a text box that is used to enter multiple entries.

", + "refs": { + "ParameterControl$TextArea": "

A control to display a text box that is used to enter multiple entries.

" + } + }, + "ParameterTextFieldControl": { + "base": "

A control to display a text box that is used to enter a single entry.

", + "refs": { + "ParameterControl$TextField": "

A control to display a text box that is used to enter a single entry.

" + } + }, + "ParameterValueType": { + "base": null, + "refs": { + "DecimalParameterDeclaration$ParameterValueType": "

The value type determines whether the parameter is a single-value or multi-value parameter.

", + "IntegerParameterDeclaration$ParameterValueType": "

The value type determines whether the parameter is a single-value or multi-value parameter.

", + "StringParameterDeclaration$ParameterValueType": "

The value type determines whether the parameter is a single-value or multi-value parameter.

" + } + }, + "Parameters": { + "base": "

A list of Amazon QuickSight parameters and the list's override values.

", + "refs": { + "CreateAnalysisRequest$Parameters": "

The parameter names and override values that you want to use. An analysis can have any parameter type, and some parameters might accept multiple values.

", + "CreateDashboardRequest$Parameters": "

The parameters for the creation of the dashboard, which you want to use to override the default settings. A dashboard can have any type of parameters, and some parameters might accept multiple values.

", + "UpdateAnalysisRequest$Parameters": "

The parameter names and override values that you want to use. An analysis can have any parameter type, and some parameters might accept multiple values.

", + "UpdateDashboardRequest$Parameters": "

A structure that contains the parameters of the dashboard. These are parameter overrides for a dashboard. A dashboard can have any type of parameters, and some parameters might accept multiple values.

" + } + }, + "Password": { + "base": null, + "refs": { + "CredentialPair$Password": "

Password.

" + } + }, + "Path": { + "base": null, + "refs": { + "Folder$FolderPath": "

An array of ancestor ARN strings for the folder.

" + } + }, + "PercentNumber": { + "base": null, + "refs": { + "PercentVisibleRange$From": "

The lower bound of the range.

", + "PercentVisibleRange$To": "

The top bound of the range.

" + } + }, + "PercentVisibleRange": { + "base": "

The percent range in the visible range.

", + "refs": { + "VisibleRangeOptions$PercentRange": "

The percent range in the visible range.

" + } + }, + "PercentageDisplayFormatConfiguration": { + "base": "

The options that determine the percentage display format configuration.

", + "refs": { + "ComparisonFormatConfiguration$PercentageDisplayFormatConfiguration": "

The percentage display format.

", + "NumericFormatConfiguration$PercentageDisplayFormatConfiguration": "

The options that determine the percentage display format configuration.

" + } + }, + "PercentileAggregation": { + "base": "

An aggregation based on the percentile of values in a dimension or measure.

", + "refs": { + "NumericalAggregationFunction$PercentileAggregation": "

An aggregation based on the percentile of values in a dimension or measure.

" + } + }, + "PercentileValue": { + "base": null, + "refs": { + "PercentileAggregation$PercentileValue": "

The percentile value. This value can be any numeric constant 0–100. A percentile value of 50 computes the median value of the measure.

" + } + }, + "PeriodOverPeriodComputation": { + "base": "

The period over period computation configuration.

", + "refs": { + "Computation$PeriodOverPeriod": "

The period over period computation configuration.

" + } + }, + "PeriodToDateComputation": { + "base": "

The period to date computation configuration.

", + "refs": { + "Computation$PeriodToDate": "

The period to DataSetIdentifier computation configuration.

" + } + }, + "PeriodsBackward": { + "base": null, + "refs": { + "ForecastComputation$PeriodsBackward": "

The periods backward setup of a forecast computation.

", + "TimeBasedForecastProperties$PeriodsBackward": "

The periods backward setup of a forecast computation.

" + } + }, + "PeriodsForward": { + "base": null, + "refs": { + "ForecastComputation$PeriodsForward": "

The periods forward setup of a forecast computation.

", + "TimeBasedForecastProperties$PeriodsForward": "

The periods forward setup of a forecast computation.

" + } + }, + "PhysicalTable": { + "base": "

A view of a data source that contains information about the shape of the data in the underlying source. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.

", + "refs": { + "PhysicalTableMap$value": null + } + }, + "PhysicalTableId": { + "base": null, + "refs": { + "LogicalTableSource$PhysicalTableId": "

Physical table ID.

", + "PhysicalTableMap$key": null + } + }, + "PhysicalTableMap": { + "base": null, + "refs": { + "CreateDataSetRequest$PhysicalTableMap": "

Declares the physical tables that are available in the underlying data sources.

", + "DataSet$PhysicalTableMap": "

Declares the physical tables that are available in the underlying data sources.

", + "UpdateDataSetRequest$PhysicalTableMap": "

Declares the physical tables that are available in the underlying data sources.

" + } + }, + "PieChartAggregatedFieldWells": { + "base": "

The field well configuration of a pie chart.

", + "refs": { + "PieChartFieldWells$PieChartAggregatedFieldWells": "

The field well configuration of a pie chart.

" + } + }, + "PieChartConfiguration": { + "base": "

The configuration of a pie chart.

", + "refs": { + "PieChartVisual$ChartConfiguration": "

The configuration of a pie chart.

" + } + }, + "PieChartFieldWells": { + "base": "

The field well configuration of a pie chart.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", + "refs": { + "PieChartConfiguration$FieldWells": "

The field wells of the visual.

" + } + }, + "PieChartSortConfiguration": { + "base": "

The sort configuration of a pie chart.

", + "refs": { + "PieChartConfiguration$SortConfiguration": "

The sort configuration of a pie chart.

" + } + }, + "PieChartVisual": { + "base": "

A pie or donut chart.

The PieChartVisual structure describes a visual that is a member of the pie chart family.

The following charts can be described by using this structure:

For more information, see Using pie charts in the Amazon QuickSight User Guide.

For more information, see Using donut charts in the Amazon QuickSight User Guide.

", + "refs": { + "Visual$PieChartVisual": "

A pie or donut chart.

For more information, see Using pie charts in the Amazon QuickSight User Guide.

" + } + }, + "PivotFieldSortOptions": { + "base": "

The field sort options for a pivot table sort configuration.

", + "refs": { + "PivotFieldSortOptionsList$member": null + } + }, + "PivotFieldSortOptionsList": { + "base": null, + "refs": { + "PivotTableSortConfiguration$FieldSortOptions": "

The field sort options for a pivot table sort configuration.

" + } + }, + "PivotMeasureFieldList": { + "base": null, + "refs": { + "PivotTableAggregatedFieldWells$Values": "

The values field well for a pivot table. Values are aggregated based on rows and columns fields.

" + } + }, + "PivotTableAggregatedFieldWells": { + "base": "

The aggregated field well for the pivot table.

", + "refs": { + "PivotTableFieldWells$PivotTableAggregatedFieldWells": "

The aggregated field well for the pivot table.

" + } + }, + "PivotTableCellConditionalFormatting": { + "base": "

The cell conditional formatting option for a pivot table.

", + "refs": { + "PivotTableConditionalFormattingOption$Cell": "

The cell conditional formatting option for a pivot table.

" + } + }, + "PivotTableConditionalFormatting": { + "base": "

The conditional formatting for a PivotTableVisual.

", + "refs": { + "PivotTableVisual$ConditionalFormatting": "

The conditional formatting for a PivotTableVisual.

" + } + }, + "PivotTableConditionalFormattingOption": { + "base": "

Conditional formatting options for a PivotTableVisual.

", + "refs": { + "PivotTableConditionalFormattingOptionList$member": null + } + }, + "PivotTableConditionalFormattingOptionList": { + "base": null, + "refs": { + "PivotTableConditionalFormatting$ConditionalFormattingOptions": "

Conditional formatting options for a PivotTableVisual.

" + } + }, + "PivotTableConditionalFormattingScope": { + "base": "

The scope of the cell for conditional formatting.

", + "refs": { + "PivotTableCellConditionalFormatting$Scope": "

The scope of the cell for conditional formatting.

" + } + }, + "PivotTableConditionalFormattingScopeRole": { + "base": null, + "refs": { + "PivotTableConditionalFormattingScope$Role": "

The role (field, field total, grand total) of the cell for conditional formatting.

" + } + }, + "PivotTableConfiguration": { + "base": "

The configuration for a PivotTableVisual.

", + "refs": { + "PivotTableVisual$ChartConfiguration": "

The configuration settings of the visual.

" + } + }, + "PivotTableDataPathOption": { + "base": "

The data path options for the pivot table field options.

", + "refs": { + "PivotTableDataPathOptionList$member": null + } + }, + "PivotTableDataPathOptionList": { + "base": null, + "refs": { + "PivotTableFieldOptions$DataPathOptions": "

The data path options for the pivot table field options.

" + } + }, + "PivotTableDimensionList": { + "base": null, + "refs": { + "PivotTableAggregatedFieldWells$Rows": "

The rows field well for a pivot table. Values are grouped by rows fields.

", + "PivotTableAggregatedFieldWells$Columns": "

The columns field well for a pivot table. Values are grouped by columns fields.

" + } + }, + "PivotTableFieldOption": { + "base": "

The selected field options for the pivot table field options.

", + "refs": { + "PivotTableFieldOptionList$member": null + } + }, + "PivotTableFieldOptionList": { + "base": null, + "refs": { + "PivotTableFieldOptions$SelectedFieldOptions": "

The selected field options for the pivot table field options.

" + } + }, + "PivotTableFieldOptions": { + "base": "

The field options for a pivot table visual.

", + "refs": { + "PivotTableConfiguration$FieldOptions": "

The field options for a pivot table visual.

" + } + }, + "PivotTableFieldSubtotalOptions": { + "base": "

The optional configuration of subtotals cells.

", + "refs": { + "PivotTableFieldSubtotalOptionsList$member": null + } + }, + "PivotTableFieldSubtotalOptionsList": { + "base": null, + "refs": { + "SubtotalOptions$FieldLevelOptions": "

The optional configuration of subtotal cells.

" + } + }, + "PivotTableFieldWells": { + "base": "

The field wells for a pivot table visual.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", + "refs": { + "PivotTableConfiguration$FieldWells": "

The field wells of the visual.

" + } + }, + "PivotTableMetricPlacement": { + "base": null, + "refs": { + "PivotTableOptions$MetricPlacement": "

The metric placement (row, column) options.

" + } + }, + "PivotTableOptions": { + "base": "

The table options for a pivot table visual.

", + "refs": { + "PivotTableConfiguration$TableOptions": "

The table options for a pivot table visual.

" + } + }, + "PivotTablePaginatedReportOptions": { + "base": "

The paginated report options for a pivot table visual.

", + "refs": { + "PivotTableConfiguration$PaginatedReportOptions": "

The paginated report options for a pivot table visual.

" + } + }, + "PivotTableSortBy": { + "base": "

The sort by field for the field sort options.

", + "refs": { + "PivotFieldSortOptions$SortBy": "

The sort by field for the field sort options.

" + } + }, + "PivotTableSortConfiguration": { + "base": "

The sort configuration for a PivotTableVisual.

", + "refs": { + "PivotTableConfiguration$SortConfiguration": "

The sort configuration for a PivotTableVisual.

" + } + }, + "PivotTableSubtotalLevel": { + "base": null, + "refs": { + "SubtotalOptions$FieldLevel": "

The field level (all, custom, last) for the subtotal cells.

" + } + }, + "PivotTableTotalOptions": { + "base": "

The total options for a pivot table visual.

", + "refs": { + "PivotTableConfiguration$TotalOptions": "

The total options for a pivot table visual.

" + } + }, + "PivotTableVisual": { + "base": "

A pivot table.

For more information, see Using pivot tables in the Amazon QuickSight User Guide.

", + "refs": { + "Visual$PivotTableVisual": "

A pivot table.

For more information, see Using pivot tables in the Amazon QuickSight User Guide.

" + } + }, + "PivotTotalOptions": { + "base": "

The optional configuration of totals cells in a PivotTableVisual.

", + "refs": { + "PivotTableTotalOptions$RowTotalOptions": "

The row total options.

", + "PivotTableTotalOptions$ColumnTotalOptions": "

The column total options.

" + } + }, + "PixelLength": { + "base": "String based length that is composed of value and unit in px", + "refs": { + "AxisDisplayOptions$AxisOffset": "

The offset value that determines the starting placement of the axis within a visual's bounds.

", + "FreeFormLayoutElement$XAxisLocation": "

The x-axis coordinate of the element.

", + "FreeFormLayoutElement$Width": "

The width of an element within a free-form layout.

", + "FreeFormLayoutElement$Height": "

The height of an element within a free-form layout.

", + "FreeFormLayoutScreenCanvasSizeOptions$OptimizedViewPortWidth": "

The width that the view port will be optimized for when the layout renders.

", + "GridLayoutScreenCanvasSizeOptions$OptimizedViewPortWidth": "

The width that the view port will be optimized for when the layout renders.

", + "LegendOptions$Width": "

The width of the legend. If this value is omitted, a default width is used when rendering.

", + "LegendOptions$Height": "

The height of the legend. If this value is omitted, a default height is used when rendering.

", + "LineChartLineStyleSettings$LineWidth": "

Width that determines the line thickness.

", + "LineChartMarkerStyleSettings$MarkerSize": "

Size of marker in the series.

", + "PanelConfiguration$BorderThickness": "

Sets the line thickness of panel borders.

", + "PanelConfiguration$GutterSpacing": "

Sets the total amount of negative space to display between sibling panels.

", + "PivotTableDataPathOption$Width": "

The width of the data path option.

", + "SectionStyle$Height": "

The height of a section.

Heights can only be defined for header and footer sections. The default height margin is 0.5 inches.

", + "TableFieldOption$Width": "

The width for a table field.

" + } + }, + "Port": { + "base": null, + "refs": { + "AuroraParameters$Port": "

Port.

", + "AuroraPostgreSqlParameters$Port": "

The port that Amazon Aurora PostgreSQL is listening on.

", + "DatabricksParameters$Port": "

The port for the Databricks data source.

", + "ExasolParameters$Port": "

The port for the Exasol data source.

", + "MariaDbParameters$Port": "

Port.

", + "MySqlParameters$Port": "

Port.

", + "OracleParameters$Port": "

Port.

", + "PostgreSqlParameters$Port": "

Port.

", + "PrestoParameters$Port": "

Port.

", + "SparkParameters$Port": "

Port.

", + "SqlServerParameters$Port": "

Port.

", + "TeradataParameters$Port": "

Port.

" + } + }, + "PositiveInteger": { + "base": null, + "refs": { + "TwitterParameters$MaxRows": "

Maximum number of rows to query Twitter.

", + "UploadSettings$StartFromRow": "

A row number to start reading data from.

" + } + }, + "PostgreSqlParameters": { + "base": "

The parameters for PostgreSQL.

", + "refs": { + "DataSourceParameters$PostgreSqlParameters": "

The parameters for PostgreSQL.

" + } + }, + "PreconditionNotMetException": { + "base": "

One or more preconditions aren't met.

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

The option that determines the hierarchy of the fields that are defined during data preparation. These fields are available to use in any analysis that uses the data source.

", + "refs": { + "ColumnHierarchy$PredefinedHierarchy": "

The option that determines the hierarchy of the fields that are defined during data preparation. These fields are available to use in any analysis that uses the data source.

" + } + }, + "PredefinedHierarchyColumnList": { + "base": null, + "refs": { + "PredefinedHierarchy$Columns": "

The list of columns that define the predefined hierarchy.

" + } + }, + "PredictionInterval": { + "base": null, + "refs": { + "ForecastComputation$PredictionInterval": "

The prediction interval setup of a forecast computation.

", + "TimeBasedForecastProperties$PredictionInterval": "

The prediction interval setup of a forecast computation.

" + } + }, + "Prefix": { + "base": null, + "refs": { + "CurrencyDisplayFormatConfiguration$Prefix": "

Determines the prefix value of the currency format.

", + "NumberDisplayFormatConfiguration$Prefix": "

Determines the prefix value of the number format.

", + "PercentageDisplayFormatConfiguration$Prefix": "

Determines the prefix value of the percentage format.

" + } + }, + "PrestoParameters": { + "base": "

The parameters for Presto.

", + "refs": { + "DataSourceParameters$PrestoParameters": "

The parameters for Presto.

" + } + }, + "PrimaryValueDisplayType": { + "base": null, + "refs": { + "GaugeChartOptions$PrimaryValueDisplayType": "

The options that determine the primary value display type.

", + "KPIOptions$PrimaryValueDisplayType": "

The options that determine the primary value display type.

" + } + }, + "Principal": { + "base": null, + "refs": { + "ResourcePermission$Principal": "

The Amazon Resource Name (ARN) of the principal. This can be one of the following:

" + } + }, + "PrincipalList": { + "base": null, + "refs": { + "ColumnLevelPermissionRule$Principals": "

An array of Amazon Resource Names (ARNs) for Amazon QuickSight users or groups.

" + } + }, + "ProgressBarOptions": { + "base": "

The options that determine the presentation of the progress bar of a KPI visual.

", + "refs": { + "KPIOptions$ProgressBar": "

The options that determine the presentation of the progress bar of a KPI visual.

" + } + }, + "ProjectOperation": { + "base": "

A transform operation that projects columns. Operations that come after a projection can only refer to projected columns.

", + "refs": { + "TransformOperation$ProjectOperation": "

An operation that projects columns. Operations that come after a projection can only refer to projected columns.

" + } + }, + "ProjectedColumnList": { + "base": null, + "refs": { + "ProjectOperation$ProjectedColumns": "

Projected columns.

" + } + }, + "Query": { + "base": null, + "refs": { + "TwitterParameters$Query": "

Twitter query string.

" + } + }, + "QueueInfo": { + "base": "

Information about a queued dataset SPICE ingestion.

", + "refs": { + "Ingestion$QueueInfo": null + } + }, + "QuickSightUserNotFoundException": { + "base": "

The user with the provided name isn't found. This error can happen in any operation that requires finding a user based on a provided user name, such as DeleteUser, DescribeUser, and so on.

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

The range ends label type of a data path label.

", + "refs": { + "DataLabelType$RangeEndsLabelType": "

Determines the label configuration for range end value in a visual.

" + } + }, + "RdsParameters": { + "base": "

The parameters for Amazon RDS.

", + "refs": { + "DataSourceParameters$RdsParameters": "

The parameters for Amazon RDS.

" + } + }, + "RecoveryWindowInDays": { + "base": null, + "refs": { + "DeleteAnalysisRequest$RecoveryWindowInDays": "

A value that specifies the number of days that Amazon QuickSight waits before it deletes the analysis. You can't use this parameter with the ForceDeleteWithoutRecovery option in the same API call. The default value is 30.

" + } + }, + "RedshiftParameters": { + "base": "

The parameters for Amazon Redshift. The ClusterId field can be blank if Host and Port are both set. The Host and Port fields can be blank if the ClusterId field is set.

", + "refs": { + "DataSourceParameters$RedshiftParameters": "

The parameters for Amazon Redshift.

" + } + }, + "ReferenceLine": { + "base": "

The reference line visual display options.

", + "refs": { + "ReferenceLineList$member": null + } + }, + "ReferenceLineCustomLabelConfiguration": { + "base": "

The configuration for a custom label on a ReferenceLine.

", + "refs": { + "ReferenceLineLabelConfiguration$CustomLabelConfiguration": "

The custom label configuration of the label in a reference line.

" + } + }, + "ReferenceLineDataConfiguration": { + "base": "

The data configuration of the reference line.

", + "refs": { + "ReferenceLine$DataConfiguration": "

The data configuration of the reference line.

" + } + }, + "ReferenceLineDynamicDataConfiguration": { + "base": "

The dynamic configuration of the reference line data configuration.

", + "refs": { + "ReferenceLineDataConfiguration$DynamicConfiguration": "

The dynamic configuration of the reference line data configuration.

" + } + }, + "ReferenceLineLabelConfiguration": { + "base": "

The label configuration of a reference line.

", + "refs": { + "ReferenceLine$LabelConfiguration": "

The label configuration of the reference line.

" + } + }, + "ReferenceLineLabelHorizontalPosition": { + "base": null, + "refs": { + "ReferenceLineLabelConfiguration$HorizontalPosition": "

The horizontal position configuration of the label in a reference line. Choose one of the following options:

" + } + }, + "ReferenceLineLabelVerticalPosition": { + "base": null, + "refs": { + "ReferenceLineLabelConfiguration$VerticalPosition": "

The vertical position configuration of the label in a reference line. Choose one of the following options:

" + } + }, + "ReferenceLineList": { + "base": null, + "refs": { + "BarChartConfiguration$ReferenceLines": "

The reference line setup of the visual.

", + "BoxPlotChartConfiguration$ReferenceLines": "

The reference line setup of the visual.

", + "ComboChartConfiguration$ReferenceLines": "

The reference line setup of the visual.

", + "LineChartConfiguration$ReferenceLines": "

The reference lines configuration of a line chart.

" + } + }, + "ReferenceLinePatternType": { + "base": null, + "refs": { + "ReferenceLineStyleConfiguration$Pattern": "

The pattern type of the line style. Choose one of the following options:

" + } + }, + "ReferenceLineStaticDataConfiguration": { + "base": "

The static data configuration of the reference line data configuration.

", + "refs": { + "ReferenceLineDataConfiguration$StaticConfiguration": "

The static data configuration of the reference line data configuration.

" + } + }, + "ReferenceLineStyleConfiguration": { + "base": "

The style configuration of the reference line.

", + "refs": { + "ReferenceLine$StyleConfiguration": "

The style configuration of the reference line.

" + } + }, + "ReferenceLineValueLabelConfiguration": { + "base": "

The value label configuration of the label in a reference line.

", + "refs": { + "ReferenceLineLabelConfiguration$ValueLabelConfiguration": "

The value label configuration of the label in a reference line.

" + } + }, + "ReferenceLineValueLabelRelativePosition": { + "base": null, + "refs": { + "ReferenceLineValueLabelConfiguration$RelativePosition": "

The relative position of the value label. Choose one of the following options:

" + } + }, + "RegisterUserRequest": { + "base": null, + "refs": { + } + }, + "RegisterUserResponse": { + "base": null, + "refs": { + } + }, + "RegisteredUserDashboardEmbeddingConfiguration": { + "base": "

Information about the dashboard you want to embed.

", + "refs": { + "RegisteredUserEmbeddingExperienceConfiguration$Dashboard": "

The configuration details for providing a dashboard embedding experience.

" + } + }, + "RegisteredUserDashboardVisualEmbeddingConfiguration": { + "base": "

The experience that you are embedding. You can use this object to generate a url that embeds a visual into your application.

", + "refs": { + "RegisteredUserEmbeddingExperienceConfiguration$DashboardVisual": "

The type of embedding experience. In this case, Amazon QuickSight visuals.

" + } + }, + "RegisteredUserEmbeddingExperienceConfiguration": { + "base": "

The type of experience you want to embed. For registered users, you can embed Amazon QuickSight dashboards or the Amazon QuickSight console.

Exactly one of the experience configurations is required. You can choose Dashboard or QuickSightConsole. You cannot choose more than one experience configuration.

", + "refs": { + "GenerateEmbedUrlForRegisteredUserRequest$ExperienceConfiguration": "

The experience you are embedding. For registered users, you can embed Amazon QuickSight dashboards, Amazon QuickSight visuals, the Amazon QuickSight Q search bar, or the entire Amazon QuickSight console.

" + } + }, + "RegisteredUserQSearchBarEmbeddingConfiguration": { + "base": "

Information about the Q search bar embedding experience.

", + "refs": { + "RegisteredUserEmbeddingExperienceConfiguration$QSearchBar": "

The configuration details for embedding the Q search bar.

For more information about embedding the Q search bar, see Embedding Overview in the Amazon QuickSight User Guide.

" + } + }, + "RegisteredUserQuickSightConsoleEmbeddingConfiguration": { + "base": "

Information about the Amazon QuickSight console that you want to embed.

", + "refs": { + "RegisteredUserEmbeddingExperienceConfiguration$QuickSightConsole": "

The configuration details for providing each Amazon QuickSight console embedding experience. This can be used along with custom permissions to restrict access to certain features. For more information, see Customizing Access to the Amazon QuickSight Console in the Amazon QuickSight User Guide.

Use GenerateEmbedUrlForRegisteredUser where you want to provide an authoring portal that allows users to create data sources, datasets, analyses, and dashboards. The users who accesses an embedded Amazon QuickSight console needs to belong to the author or admin security cohort. If you want to restrict permissions to some of these features, add a custom permissions profile to the user with the UpdateUser API operation. Use the RegisterUser API operation to add a new user with a custom permission profile attached. For more information, see the following sections in the Amazon QuickSight User Guide:

For more information about the high-level steps for embedding and for an interactive demo of the ways you can customize embedding, visit the Amazon QuickSight Developer Portal.

" + } + }, + "RelationalTable": { + "base": "

A physical table type for relational data sources.

", + "refs": { + "PhysicalTable$RelationalTable": "

A physical table type for relational data sources.

" + } + }, + "RelationalTableCatalog": { + "base": null, + "refs": { + "RelationalTable$Catalog": "

The catalog associated with a table.

" + } + }, + "RelationalTableName": { + "base": null, + "refs": { + "RelationalTable$Name": "

The name of the relational table.

" + } + }, + "RelationalTableSchema": { + "base": null, + "refs": { + "RelationalTable$Schema": "

The schema name. This name applies to certain relational database engines.

" + } + }, + "RelativeDateTimeControlDisplayOptions": { + "base": "

The display options of a control.

", + "refs": { + "FilterRelativeDateTimeControl$DisplayOptions": "

The display options of a control.

" + } + }, + "RelativeDateType": { + "base": null, + "refs": { + "RelativeDatesFilter$RelativeDateType": "

The range date type of the filter. Choose one of the options below:

" + } + }, + "RelativeDatesFilter": { + "base": "

A RelativeDatesFilter filters relative dates values.

", + "refs": { + "Filter$RelativeDatesFilter": "

A RelativeDatesFilter filters date values that are relative to a given date.

" + } + }, + "RelativeFontSize": { + "base": null, + "refs": { + "FontSize$Relative": "

The lexical name for the text size, proportional to its surrounding context.

" + } + }, + "RenameColumnOperation": { + "base": "

A transform operation that renames a column.

", + "refs": { + "TransformOperation$RenameColumnOperation": "

An operation that renames a column.

" + } + }, + "ResizeOption": { + "base": null, + "refs": { + "GridLayoutScreenCanvasSizeOptions$ResizeOption": "

This value determines the layout behavior when the viewport is resized.

" + } + }, + "ResourceExistsException": { + "base": "

The resource specified already exists.

", + "refs": { + } + }, + "ResourceId": { + "base": null, + "refs": { + "CreateDataSetRequest$DataSetId": "

An ID for the dataset that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", + "CreateDataSetResponse$DataSetId": "

The ID for the dataset that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", + "CreateDataSetResponse$IngestionId": "

The ID of the ingestion, which is triggered as a result of dataset creation if the import mode is SPICE.

", + "CreateDataSourceRequest$DataSourceId": "

An ID for the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", + "CreateDataSourceResponse$DataSourceId": "

The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", + "DataSet$DataSetId": "

The ID of the dataset.

", + "DataSetSummary$DataSetId": "

The ID of the dataset.

", + "DataSource$DataSourceId": "

The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", + "DataSourceSummary$DataSourceId": "

The unique ID of the data source.

", + "DeleteDataSetRequest$DataSetId": "

The ID for the dataset that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", + "DeleteDataSetResponse$DataSetId": "

The ID for the dataset that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", + "DeleteDataSourceRequest$DataSourceId": "

The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", + "DeleteDataSourceResponse$DataSourceId": "

The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", + "DescribeDataSetPermissionsRequest$DataSetId": "

The ID for the dataset that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", + "DescribeDataSetPermissionsResponse$DataSetId": "

The ID for the dataset that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", + "DescribeDataSetRequest$DataSetId": "

The ID for the dataset that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", + "DescribeDataSourcePermissionsRequest$DataSourceId": "

The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", + "DescribeDataSourcePermissionsResponse$DataSourceId": "

The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", + "DescribeDataSourceRequest$DataSourceId": "

The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", + "UpdateDataSetPermissionsRequest$DataSetId": "

The ID for the dataset whose permissions you want to update. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", + "UpdateDataSetPermissionsResponse$DataSetId": "

The ID for the dataset whose permissions you want to update. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", + "UpdateDataSetRequest$DataSetId": "

The ID for the dataset that you want to update. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", + "UpdateDataSetResponse$DataSetId": "

The ID for the dataset that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", + "UpdateDataSetResponse$IngestionId": "

The ID of the ingestion, which is triggered as a result of dataset creation if the import mode is SPICE.

", + "UpdateDataSourcePermissionsRequest$DataSourceId": "

The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", + "UpdateDataSourcePermissionsResponse$DataSourceId": "

The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", + "UpdateDataSourceRequest$DataSourceId": "

The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", + "UpdateDataSourceResponse$DataSourceId": "

The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

" + } + }, + "ResourceName": { + "base": null, + "refs": { + "CreateDataSetRequest$Name": "

The display name for the dataset.

", + "CreateDataSourceRequest$Name": "

A display name for the data source.

", + "DataSet$Name": "

A display name for the dataset.

", + "DataSetSummary$Name": "

A display name for the dataset.

", + "DataSource$Name": "

A display name for the data source.

", + "DataSourceSummary$Name": "

The name of the data source.

", + "UpdateDataSetRequest$Name": "

The display name for the dataset.

", + "UpdateDataSourceRequest$Name": "

A display name for the data source.

" + } + }, + "ResourceNotFoundException": { + "base": "

One or more resources can't be found.

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

Permission for the resource.

", + "refs": { + "ResourcePermissionList$member": null, + "UpdateLinkPermissionList$member": null, + "UpdateResourcePermissionList$member": null + } + }, + "ResourcePermissionList": { + "base": null, + "refs": { + "CreateAnalysisRequest$Permissions": "

A structure that describes the principals and the resource-level permissions on an analysis. You can use the Permissions structure to grant permissions by providing a list of Identity and Access Management (IAM) action information for each principal listed by Amazon Resource Name (ARN).

To specify no permissions, omit Permissions.

", + "CreateDashboardRequest$Permissions": "

A structure that contains the permissions of the dashboard. You can use this structure for granting permissions by providing a list of IAM action information for each principal ARN.

To specify no permissions, omit the permissions list.

", + "CreateDataSetRequest$Permissions": "

A list of resource permissions on the dataset.

", "CreateDataSourceRequest$Permissions": "

A list of resource permissions on the data source.

", "CreateFolderRequest$Permissions": "

A structure that describes the principals and the resource-level permissions of a folder.

To specify no permissions, omit Permissions.

", "CreateTemplateRequest$Permissions": "

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

", @@ -3314,409 +6751,1002 @@ "UpdateThemePermissionsResponse$Permissions": "

The resulting list of resource permissions for the theme.

" } }, - "ResourceStatus": { + "ResourceStatus": { + "base": null, + "refs": { + "Analysis$Status": "

Status associated with the analysis.

", + "AnalysisSummary$Status": "

The last known status for the analysis.

", + "CreateAnalysisResponse$CreationStatus": "

The status of the creation of the analysis.

", + "CreateDashboardResponse$CreationStatus": "

The status of the dashboard creation request.

", + "CreateDataSourceResponse$CreationStatus": "

The status of creating the data source.

", + "CreateTemplateResponse$CreationStatus": "

The template creation status.

", + "CreateThemeResponse$CreationStatus": "

The theme creation status.

", + "DashboardVersion$Status": "

The HTTP status of the request.

", + "DashboardVersionSummary$Status": "

The HTTP status of the request.

", + "DataSource$Status": "

The HTTP status of the request.

", + "DescribeAnalysisDefinitionResponse$ResourceStatus": "

Status associated with the analysis.

", + "DescribeDashboardDefinitionResponse$ResourceStatus": "

Status associated with the dashboard version.

", + "DescribeTemplateDefinitionResponse$ResourceStatus": "

Status associated with the template.

", + "TemplateVersion$Status": "

The HTTP status of the request.

", + "TemplateVersionSummary$Status": "

The status of the template version.

", + "ThemeVersion$Status": "

The status of the theme version.

", + "ThemeVersionSummary$Status": "

The status of the theme version.

", + "UpdateAnalysisResponse$UpdateStatus": "

The update status of the last update that was made to the analysis.

", + "UpdateDashboardResponse$CreationStatus": "

The creation status of the request.

", + "UpdateDataSourceResponse$UpdateStatus": "

The update status of the data source's last update.

", + "UpdateTemplateResponse$CreationStatus": "

The creation status of the template.

", + "UpdateThemeResponse$CreationStatus": "

The creation status of the theme.

" + } + }, + "ResourceUnavailableException": { + "base": "

This resource is currently unavailable.

", + "refs": { + } + }, + "RestoreAnalysisRequest": { + "base": null, + "refs": { + } + }, + "RestoreAnalysisResponse": { + "base": null, + "refs": { + } + }, + "RestrictiveResourceId": { + "base": null, + "refs": { + "AnonymousUserQSearchBarEmbeddingConfiguration$InitialTopicId": "

The QuickSight Q topic ID of the topic that you want the anonymous user to see first. This ID is included in the output URL. When the URL in response is accessed, Amazon QuickSight renders the Q search bar with this topic pre-selected.

The Amazon Resource Name (ARN) of this Q topic must be included in the AuthorizedResourceArns parameter. Otherwise, the request will fail with InvalidParameterValueException.

", + "CreateFolderMembershipRequest$FolderId": "

The ID of the folder.

", + "CreateFolderMembershipRequest$MemberId": "

The ID of the asset (the dashboard, analysis, or dataset).

", + "CreateFolderRequest$FolderId": "

The ID of the folder.

", + "CreateFolderResponse$FolderId": "

The folder ID for the newly created folder.

", + "DeleteFolderMembershipRequest$FolderId": "

The Folder ID.

", + "DeleteFolderMembershipRequest$MemberId": "

The ID of the asset (the dashboard, analysis, or dataset) that you want to delete.

", + "DeleteFolderRequest$FolderId": "

The ID of the folder.

", + "DeleteFolderResponse$FolderId": "

The ID of the folder.

", + "DescribeFolderPermissionsRequest$FolderId": "

The ID of the folder.

", + "DescribeFolderPermissionsResponse$FolderId": "

The ID of the folder.

", + "DescribeFolderRequest$FolderId": "

The ID of the folder.

", + "DescribeFolderResolvedPermissionsRequest$FolderId": "

The ID of the folder.

", + "DescribeFolderResolvedPermissionsResponse$FolderId": "

The ID of the folder.

", + "Folder$FolderId": "

The ID of the folder.

", + "FolderMember$MemberId": "

The ID of an asset in the folder.

", + "FolderSummary$FolderId": "

The ID of the folder.

", + "ListFolderMembersRequest$FolderId": "

The ID of the folder.

", + "MemberIdArnPair$MemberId": "

The ID of the member.

", + "RegisteredUserQSearchBarEmbeddingConfiguration$InitialTopicId": "

The ID of the Q topic that you want to make the starting topic in the Q search bar. You can find a topic ID by navigating to the Topics pane in the Amazon QuickSight application and opening a topic. The ID is in the URL for the topic that you open.

If you don't specify an initial topic, a list of all shared topics is shown in the Q bar for your readers. When you select an initial topic, you can specify whether or not readers are allowed to select other topics from the available ones in the list.

", + "UpdateFolderPermissionsRequest$FolderId": "

The ID of the folder.

", + "UpdateFolderPermissionsResponse$FolderId": "

The ID of the folder.

", + "UpdateFolderRequest$FolderId": "

The ID of the folder.

", + "UpdateFolderResponse$FolderId": "

The ID of the folder.

" + } + }, + "RoleArn": { + "base": null, + "refs": { + "AthenaParameters$RoleArn": "

Use the RoleArn structure to override an account-wide role for a specific Athena data source. For example, say an account administrator has turned off all Athena access with an account-wide role. The administrator can then use RoleArn to bypass the account-wide role and allow Athena access for the single Athena data source that is specified in the structure, even if the account-wide role forbidding Athena access is still active.

" + } + }, + "RoleName": { + "base": null, + "refs": { + "RegisterUserRequest$CustomPermissionsName": "

(Enterprise edition only) The name of the custom permissions profile that you want to assign to this user. Customized permissions allows you to control a user's access by restricting access the following operations:

To add custom permissions to an existing user, use UpdateUser instead.

A set of custom permissions includes any combination of these restrictions. Currently, you need to create the profile names for custom permission sets by using the Amazon QuickSight console. Then, you use the RegisterUser API operation to assign the named set of permissions to a Amazon QuickSight user.

Amazon QuickSight custom permissions are applied through IAM policies. Therefore, they override the permissions typically granted by assigning Amazon QuickSight users to one of the default security cohorts in Amazon QuickSight (admin, author, reader).

This feature is available only to Amazon QuickSight Enterprise edition subscriptions.

", + "UpdateUserRequest$CustomPermissionsName": "

(Enterprise edition only) The name of the custom permissions profile that you want to assign to this user. Customized permissions allows you to control a user's access by restricting access the following operations:

A set of custom permissions includes any combination of these restrictions. Currently, you need to create the profile names for custom permission sets by using the Amazon QuickSight console. Then, you use the RegisterUser API operation to assign the named set of permissions to a Amazon QuickSight user.

Amazon QuickSight custom permissions are applied through IAM policies. Therefore, they override the permissions typically granted by assigning Amazon QuickSight users to one of the default security cohorts in Amazon QuickSight (admin, author, reader).

This feature is available only to Amazon QuickSight Enterprise edition subscriptions.

", + "User$CustomPermissionsName": "

The custom permissions profile associated with this user.

" + } + }, + "RoleSessionName": { + "base": null, + "refs": { + "RegisterUserRequest$SessionName": "

You need to use this parameter only when you register one or more users using an assumed IAM role. You don't need to provide the session name for other scenarios, for example when you are registering an IAM user or an Amazon QuickSight user. You can register multiple users using the same IAM role if each user has a different session name. For more information on assuming IAM roles, see assume-role in the CLI Reference.

" + } + }, + "RollingDateConfiguration": { + "base": "

The rolling date configuration of a date time filter.

", + "refs": { + "DateTimeDefaultValues$RollingDate": "

The rolling date of the DataTimeDefaultValues. The date is determined from the dataset based on input expression.

", + "TimeRangeFilterValue$RollingDate": "

The rolling date input value.

" + } + }, + "RowAlternateColorList": { + "base": null, + "refs": { + "RowAlternateColorOptions$RowAlternateColors": "

Determines the list of row alternate colors.

" + } + }, + "RowAlternateColorOptions": { + "base": "

Determines the row alternate color options.

", + "refs": { + "PivotTableOptions$RowAlternateColorOptions": "

The row alternate color options (widget status, row alternate colors).

", + "TableOptions$RowAlternateColorOptions": "

The row alternate color options (widget status, row alternate colors) for a table.

" + } + }, + "RowInfo": { + "base": "

Information about rows for a data set SPICE ingestion.

", + "refs": { + "Ingestion$RowInfo": null + } + }, + "RowLevelPermissionDataSet": { + "base": "

Information about a dataset that contains permissions for row-level security (RLS). The permissions dataset maps fields to users or groups. For more information, see Using Row-Level Security (RLS) to Restrict Access to a Dataset in the Amazon QuickSight User Guide.

The option to deny permissions by setting PermissionPolicy to DENY_ACCESS is not supported for new RLS datasets.

", + "refs": { + "CreateDataSetRequest$RowLevelPermissionDataSet": "

The row-level security configuration for the data that you want to create.

", + "DataSet$RowLevelPermissionDataSet": "

The row-level security configuration for the dataset.

", + "DataSetSummary$RowLevelPermissionDataSet": "

The row-level security configuration for the dataset.

", + "UpdateDataSetRequest$RowLevelPermissionDataSet": "

The row-level security configuration for the data you want to create.

" + } + }, + "RowLevelPermissionFormatVersion": { + "base": null, + "refs": { + "RowLevelPermissionDataSet$FormatVersion": "

The user or group rules associated with the dataset that contains permissions for RLS.

By default, FormatVersion is VERSION_1. When FormatVersion is VERSION_1, UserName and GroupName are required. When FormatVersion is VERSION_2, UserARN and GroupARN are required, and Namespace must not exist.

" + } + }, + "RowLevelPermissionPolicy": { + "base": null, + "refs": { + "RowLevelPermissionDataSet$PermissionPolicy": "

The type of permissions to use when interpreting the permissions for RLS. DENY_ACCESS is included for backward compatibility only.

" + } + }, + "RowLevelPermissionTagConfiguration": { + "base": "

The configuration of tags on a dataset to set row-level security.

", + "refs": { + "CreateDataSetRequest$RowLevelPermissionTagConfiguration": "

The configuration of tags on a dataset to set row-level security. Row-level security tags are currently supported for anonymous embedding only.

", + "DataSet$RowLevelPermissionTagConfiguration": "

The element you can use to define tags for row-level security.

", + "UpdateDataSetRequest$RowLevelPermissionTagConfiguration": "

The configuration of tags on a dataset to set row-level security. Row-level security tags are currently supported for anonymous embedding only.

" + } + }, + "RowLevelPermissionTagDelimiter": { + "base": null, + "refs": { + "RowLevelPermissionTagRule$TagMultiValueDelimiter": "

A string that you want to use to delimit the values when you pass the values at run time. For example, you can delimit the values with a comma.

" + } + }, + "RowLevelPermissionTagRule": { + "base": "

A set of rules associated with a tag.

", + "refs": { + "RowLevelPermissionTagRuleList$member": null + } + }, + "RowLevelPermissionTagRuleList": { + "base": null, + "refs": { + "RowLevelPermissionTagConfiguration$TagRules": "

A set of rules associated with row-level security, such as the tag names and columns that they are assigned to.

" + } + }, + "RowSortList": { + "base": null, + "refs": { + "TableSortConfiguration$RowSort": "

The field sort options for rows in the table.

" + } + }, + "S3Bucket": { + "base": null, + "refs": { + "ManifestFileLocation$Bucket": "

Amazon S3 bucket.

" + } + }, + "S3Key": { + "base": null, + "refs": { + "ManifestFileLocation$Key": "

Amazon S3 key that identifies an object.

" + } + }, + "S3Parameters": { + "base": "

The parameters for S3.

", + "refs": { + "DataSourceParameters$S3Parameters": "

The parameters for S3.

" + } + }, + "S3Source": { + "base": "

A physical table type for an S3 data source.

", + "refs": { + "PhysicalTable$S3Source": "

A physical table type for as S3 data source.

" + } + }, + "SameSheetTargetVisualConfiguration": { + "base": "

The configuration of the same-sheet target visuals that you want to be filtered.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", + "refs": { + "FilterOperationTargetVisualsConfiguration$SameSheetTargetVisualConfiguration": "

The configuration of the same-sheet target visuals that you want to be filtered.

" + } + }, + "SankeyDiagramAggregatedFieldWells": { + "base": "

The field well configuration of a sankey diagram.

", + "refs": { + "SankeyDiagramFieldWells$SankeyDiagramAggregatedFieldWells": "

The field well configuration of a sankey diagram.

" + } + }, + "SankeyDiagramChartConfiguration": { + "base": "

The configuration of a sankey diagram.

", + "refs": { + "SankeyDiagramVisual$ChartConfiguration": "

The configuration of a sankey diagram.

" + } + }, + "SankeyDiagramFieldWells": { + "base": "

The field well configuration of a sankey diagram.

", + "refs": { + "SankeyDiagramChartConfiguration$FieldWells": "

The field well configuration of a sankey diagram.

" + } + }, + "SankeyDiagramSortConfiguration": { + "base": "

The sort configuration of a sankey diagram.

", + "refs": { + "SankeyDiagramChartConfiguration$SortConfiguration": "

The sort configuration of a sankey diagram.

" + } + }, + "SankeyDiagramVisual": { + "base": "

A sankey diagram.

For more information, see Using Sankey diagrams in the Amazon QuickSight User Guide.

", + "refs": { + "Visual$SankeyDiagramVisual": "

A sankey diagram.

For more information, see Using Sankey diagrams in the Amazon QuickSight User Guide.

" + } + }, + "ScatterPlotCategoricallyAggregatedFieldWells": { + "base": "

The aggregated field well of a scatter plot.

", + "refs": { + "ScatterPlotFieldWells$ScatterPlotCategoricallyAggregatedFieldWells": "

The aggregated field wells of a scatter plot. Scatter plots that have a field in the category (group/color) field will have aggregated field wells. The x and y-axes of these scatter plots are aggregated by category.

" + } + }, + "ScatterPlotConfiguration": { + "base": "

The configuration of a scatter plot.

", + "refs": { + "ScatterPlotVisual$ChartConfiguration": "

The configuration settings of the visual.

" + } + }, + "ScatterPlotFieldWells": { + "base": "

The field well configuration of a scatter plot.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", + "refs": { + "ScatterPlotConfiguration$FieldWells": "

The field wells of the visual.

" + } + }, + "ScatterPlotUnaggregatedFieldWells": { + "base": "

The unaggregated field wells of a scatter plot.

", + "refs": { + "ScatterPlotFieldWells$ScatterPlotUnaggregatedFieldWells": "

The unaggregated field wells of a scatter plot. Scatter plots without a category field well have unaggregated field wells. The x and y-axes of these scatter plots are unaggregated.

" + } + }, + "ScatterPlotVisual": { + "base": "

A scatter plot.

For more information, see Using scatter plots in the Amazon QuickSight User Guide.

", + "refs": { + "Visual$ScatterPlotVisual": "

A scatter plot.

For more information, see Using scatter plots in the Amazon QuickSight User Guide.

" + } + }, + "ScrollBarOptions": { + "base": "

The visual display options for a data zoom scroll bar.

", + "refs": { + "AxisDisplayOptions$ScrollbarOptions": "

The scroll bar options for an axis.

" + } + }, + "SearchAnalysesRequest": { "base": null, "refs": { - "Analysis$Status": "

Status associated with the analysis.

", - "AnalysisSummary$Status": "

The last known status for the analysis.

", - "CreateAnalysisResponse$CreationStatus": "

The status of the creation of the analysis.

", - "CreateDashboardResponse$CreationStatus": "

The status of the dashboard creation request.

", - "CreateDataSourceResponse$CreationStatus": "

The status of creating the data source.

", - "CreateTemplateResponse$CreationStatus": "

The template creation status.

", - "CreateThemeResponse$CreationStatus": "

The theme creation status.

", - "DashboardVersion$Status": "

The HTTP status of the request.

", - "DashboardVersionSummary$Status": "

The HTTP status of the request.

", - "DataSource$Status": "

The HTTP status of the request.

", - "TemplateVersion$Status": "

The HTTP status of the request.

", - "TemplateVersionSummary$Status": "

The status of the template version.

", - "ThemeVersion$Status": "

The status of the theme version.

", - "ThemeVersionSummary$Status": "

The status of the theme version.

", - "UpdateAnalysisResponse$UpdateStatus": "

The update status of the last update that was made to the analysis.

", - "UpdateDashboardResponse$CreationStatus": "

The creation status of the request.

", - "UpdateDataSourceResponse$UpdateStatus": "

The update status of the data source's last update.

", - "UpdateTemplateResponse$CreationStatus": "

The creation status of the template.

", - "UpdateThemeResponse$CreationStatus": "

The creation status of the theme.

" } }, - "ResourceUnavailableException": { - "base": "

This resource is currently unavailable.

", + "SearchAnalysesResponse": { + "base": null, "refs": { } }, - "RestoreAnalysisRequest": { + "SearchDashboardsRequest": { "base": null, "refs": { } }, - "RestoreAnalysisResponse": { + "SearchDashboardsResponse": { "base": null, "refs": { } }, - "RestrictiveResourceId": { + "SearchDataSetsRequest": { "base": null, "refs": { - "AdditionalDashboardIdList$member": null, - "Analysis$AnalysisId": "

The ID of the analysis.

", - "AnalysisSummary$AnalysisId": "

The ID of the analysis. This ID displays in the URL.

", - "AnonymousUserDashboardEmbeddingConfiguration$InitialDashboardId": "

The dashboard ID for the dashboard that you want the user to see first. This ID is included in the output URL. When the URL in response is accessed, Amazon QuickSight renders this dashboard.

The Amazon Resource Name (ARN) of this dashboard must be included in the AuthorizedResourceArns parameter. Otherwise, the request will fail with InvalidParameterValueException.

", - "AnonymousUserQSearchBarEmbeddingConfiguration$InitialTopicId": "

The QuickSight Q topic ID of the topic that you want the anonymous user to see first. This ID is included in the output URL. When the URL in response is accessed, Amazon QuickSight renders the Q search bar with this topic pre-selected.

The Amazon Resource Name (ARN) of this Q topic must be included in the AuthorizedResourceArns parameter. Otherwise, the request will fail with InvalidParameterValueException.

", - "CreateAnalysisRequest$AnalysisId": "

The ID for the analysis that you're creating. This ID displays in the URL of the analysis.

", - "CreateAnalysisResponse$AnalysisId": "

The ID of the analysis.

", - "CreateDashboardRequest$DashboardId": "

The ID for the dashboard, also added to the IAM policy.

", - "CreateDashboardResponse$DashboardId": "

The ID for the dashboard.

", - "CreateFolderMembershipRequest$FolderId": "

The ID of the folder.

", - "CreateFolderMembershipRequest$MemberId": "

The ID of the asset (the dashboard, analysis, or dataset).

", - "CreateFolderRequest$FolderId": "

The ID of the folder.

", - "CreateFolderResponse$FolderId": "

The folder ID for the newly created folder.

", - "CreateTemplateAliasRequest$TemplateId": "

An ID for the template.

", - "CreateTemplateRequest$TemplateId": "

An ID for the template that you want to create. This template is unique per Amazon Web Services Region; in each Amazon Web Services account.

", - "CreateTemplateResponse$TemplateId": "

The ID of the template.

", - "CreateThemeAliasRequest$ThemeId": "

An ID for the theme alias.

", - "CreateThemeRequest$ThemeId": "

An ID for the theme that you want to create. The theme ID is unique per Amazon Web Services Region in each Amazon Web Services account.

", - "CreateThemeRequest$BaseThemeId": "

The ID of the theme that a custom theme will inherit from. All themes inherit from one of the starting themes defined by Amazon QuickSight. For a list of the starting themes, use ListThemes or choose Themes from within an analysis.

", - "CreateThemeResponse$ThemeId": "

The ID of the theme.

", - "Dashboard$DashboardId": "

Dashboard ID.

", - "DashboardSummary$DashboardId": "

Dashboard ID.

", - "DashboardVisualId$DashboardId": "

The ID of the dashboard that has the visual that you want to embed. The DashboardId can be found in the IDs for developers section of the Embed visual pane of the visual's on-visual menu of the Amazon QuickSight console. You can also get the DashboardId with a ListDashboards API operation.

", - "DashboardVisualId$SheetId": "

The ID of the sheet that the has visual that you want to embed. The SheetId can be found in the IDs for developers section of the Embed visual pane of the visual's on-visual menu of the Amazon QuickSight console.

", - "DashboardVisualId$VisualId": "

The ID of the visual that you want to embed. The VisualID can be found in the IDs for developers section of the Embed visual pane of the visual's on-visual menu of the Amazon QuickSight console.

", - "DeleteAnalysisRequest$AnalysisId": "

The ID of the analysis that you're deleting.

", - "DeleteAnalysisResponse$AnalysisId": "

The ID of the deleted analysis.

", - "DeleteDashboardRequest$DashboardId": "

The ID for the dashboard.

", - "DeleteDashboardResponse$DashboardId": "

The ID of the dashboard.

", - "DeleteFolderMembershipRequest$FolderId": "

The Folder ID.

", - "DeleteFolderMembershipRequest$MemberId": "

The ID of the asset (the dashboard, analysis, or dataset) that you want to delete.

", - "DeleteFolderRequest$FolderId": "

The ID of the folder.

", - "DeleteFolderResponse$FolderId": "

The ID of the folder.

", - "DeleteTemplateAliasRequest$TemplateId": "

The ID for the template that the specified alias is for.

", - "DeleteTemplateAliasResponse$TemplateId": "

An ID for the template associated with the deletion.

", - "DeleteTemplateRequest$TemplateId": "

An ID for the template you want to delete.

", - "DeleteTemplateResponse$TemplateId": "

An ID for the template.

", - "DeleteThemeAliasRequest$ThemeId": "

The ID for the theme that the specified alias is for.

", - "DeleteThemeAliasResponse$ThemeId": "

An ID for the theme associated with the deletion.

", - "DeleteThemeRequest$ThemeId": "

An ID for the theme that you want to delete.

", - "DeleteThemeResponse$ThemeId": "

An ID for the theme.

", - "DescribeAnalysisPermissionsRequest$AnalysisId": "

The ID of the analysis whose permissions you're describing. The ID is part of the analysis URL.

", - "DescribeAnalysisPermissionsResponse$AnalysisId": "

The ID of the analysis whose permissions you're describing.

", - "DescribeAnalysisRequest$AnalysisId": "

The ID of the analysis that you're describing. The ID is part of the URL of the analysis.

", - "DescribeDashboardPermissionsRequest$DashboardId": "

The ID for the dashboard, also added to the IAM policy.

", - "DescribeDashboardPermissionsResponse$DashboardId": "

The ID for the dashboard.

", - "DescribeDashboardRequest$DashboardId": "

The ID for the dashboard.

", - "DescribeFolderPermissionsRequest$FolderId": "

The ID of the folder.

", - "DescribeFolderPermissionsResponse$FolderId": "

The ID of the folder.

", - "DescribeFolderRequest$FolderId": "

The ID of the folder.

", - "DescribeFolderResolvedPermissionsRequest$FolderId": "

The ID of the folder.

", - "DescribeFolderResolvedPermissionsResponse$FolderId": "

The ID of the folder.

", - "DescribeTemplateAliasRequest$TemplateId": "

The ID for the template.

", - "DescribeTemplatePermissionsRequest$TemplateId": "

The ID for the template.

", - "DescribeTemplatePermissionsResponse$TemplateId": "

The ID for the template.

", - "DescribeTemplateRequest$TemplateId": "

The ID for the template.

", - "DescribeThemeAliasRequest$ThemeId": "

The ID for the theme.

", - "DescribeThemePermissionsRequest$ThemeId": "

The ID for the theme that you want to describe permissions for.

", - "DescribeThemePermissionsResponse$ThemeId": "

The ID for the theme.

", - "DescribeThemeRequest$ThemeId": "

The ID for the theme.

", - "Folder$FolderId": "

The ID of the folder.

", - "FolderMember$MemberId": "

The ID of an asset in the folder.

", - "FolderSummary$FolderId": "

The ID of the folder.

", - "GetDashboardEmbedUrlRequest$DashboardId": "

The ID for the dashboard, also added to the Identity and Access Management (IAM) policy.

", - "ListDashboardVersionsRequest$DashboardId": "

The ID for the dashboard.

", - "ListFolderMembersRequest$FolderId": "

The ID of the folder.

", - "ListTemplateAliasesRequest$TemplateId": "

The ID for the template.

", - "ListTemplateVersionsRequest$TemplateId": "

The ID for the template.

", - "ListThemeAliasesRequest$ThemeId": "

The ID for the theme.

", - "ListThemeVersionsRequest$ThemeId": "

The ID for the theme.

", - "MemberIdArnPair$MemberId": "

The ID of the member.

", - "RegisteredUserDashboardEmbeddingConfiguration$InitialDashboardId": "

The dashboard ID for the dashboard that you want the user to see first. This ID is included in the output URL. When the URL in response is accessed, Amazon QuickSight renders this dashboard if the user has permissions to view it.

If the user does not have permission to view this dashboard, they see a permissions error message.

", - "RegisteredUserQSearchBarEmbeddingConfiguration$InitialTopicId": "

The ID of the Q topic that you want to make the starting topic in the Q search bar. You can find a topic ID by navigating to the Topics pane in the Amazon QuickSight application and opening a topic. The ID is in the URL for the topic that you open.

If you don't specify an initial topic, a list of all shared topics is shown in the Q bar for your readers. When you select an initial topic, you can specify whether or not readers are allowed to select other topics from the available ones in the list.

", - "RestoreAnalysisRequest$AnalysisId": "

The ID of the analysis that you're restoring.

", - "RestoreAnalysisResponse$AnalysisId": "

The ID of the analysis that you're restoring.

", - "Sheet$SheetId": "

The unique identifier associated with a sheet.

", - "Template$TemplateId": "

The ID for the template. This is unique per Amazon Web Services Region for each Amazon Web Services account.

", - "TemplateSummary$TemplateId": "

The ID of the template. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", - "Theme$ThemeId": "

The identifier that the user gives to the theme.

", - "ThemeSummary$ThemeId": "

The ID of the theme. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", - "ThemeVersion$BaseThemeId": "

The Amazon QuickSight-defined ID of the theme that a custom theme inherits from. All themes initially inherit from a default Amazon QuickSight theme.

", - "UpdateAnalysisPermissionsRequest$AnalysisId": "

The ID of the analysis whose permissions you're updating. The ID is part of the analysis URL.

", - "UpdateAnalysisPermissionsResponse$AnalysisId": "

The ID of the analysis that you updated permissions for.

", - "UpdateAnalysisRequest$AnalysisId": "

The ID for the analysis that you're updating. This ID displays in the URL of the analysis.

", - "UpdateAnalysisResponse$AnalysisId": "

The ID of the analysis.

", - "UpdateDashboardPermissionsRequest$DashboardId": "

The ID for the dashboard.

", - "UpdateDashboardPermissionsResponse$DashboardId": "

The ID for the dashboard.

", - "UpdateDashboardPublishedVersionRequest$DashboardId": "

The ID for the dashboard.

", - "UpdateDashboardPublishedVersionResponse$DashboardId": "

The ID for the dashboard.

", - "UpdateDashboardRequest$DashboardId": "

The ID for the dashboard.

", - "UpdateDashboardResponse$DashboardId": "

The ID for the dashboard.

", - "UpdateFolderPermissionsRequest$FolderId": "

The ID of the folder.

", - "UpdateFolderPermissionsResponse$FolderId": "

The ID of the folder.

", - "UpdateFolderRequest$FolderId": "

The ID of the folder.

", - "UpdateFolderResponse$FolderId": "

The ID of the folder.

", - "UpdateTemplateAliasRequest$TemplateId": "

The ID for the template.

", - "UpdateTemplatePermissionsRequest$TemplateId": "

The ID for the template.

", - "UpdateTemplatePermissionsResponse$TemplateId": "

The ID for the template.

", - "UpdateTemplateRequest$TemplateId": "

The ID for the template.

", - "UpdateTemplateResponse$TemplateId": "

The ID for the template.

", - "UpdateThemeAliasRequest$ThemeId": "

The ID for the theme.

", - "UpdateThemePermissionsRequest$ThemeId": "

The ID for the theme.

", - "UpdateThemePermissionsResponse$ThemeId": "

The ID for the theme.

", - "UpdateThemeRequest$ThemeId": "

The ID for the theme.

", - "UpdateThemeRequest$BaseThemeId": "

The theme ID, defined by Amazon QuickSight, that a custom theme inherits from. All themes initially inherit from a default Amazon QuickSight theme.

", - "UpdateThemeResponse$ThemeId": "

The ID for the theme.

" } }, - "RoleArn": { + "SearchDataSetsResponse": { + "base": null, + "refs": { + } + }, + "SearchDataSourcesRequest": { + "base": null, + "refs": { + } + }, + "SearchDataSourcesResponse": { + "base": null, + "refs": { + } + }, + "SearchFoldersRequest": { + "base": null, + "refs": { + } + }, + "SearchFoldersResponse": { + "base": null, + "refs": { + } + }, + "SearchGroupsRequest": { + "base": null, + "refs": { + } + }, + "SearchGroupsResponse": { + "base": null, + "refs": { + } + }, + "Seasonality": { + "base": null, + "refs": { + "TimeBasedForecastProperties$Seasonality": "

The seasonality setup of a forecast computation. Choose one of the following options:

" + } + }, + "SecondaryValueOptions": { + "base": "

The options that determine the presentation of the secondary value of a KPI visual.

", + "refs": { + "KPIOptions$SecondaryValue": "

The options that determine the presentation of the secondary value of a KPI visual.

" + } + }, + "SecretArn": { + "base": null, + "refs": { + "DataSource$SecretArn": "

The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.

", + "DataSourceCredentials$SecretArn": "

The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.

" + } + }, + "SectionAfterPageBreak": { + "base": "

The configuration of a page break after a section.

", + "refs": { + "SectionPageBreakConfiguration$After": "

The configuration of a page break after a section.

" + } + }, + "SectionBasedLayoutCanvasSizeOptions": { + "base": "

The options for the canvas of a section-based layout.

", + "refs": { + "DefaultSectionBasedLayoutConfiguration$CanvasSizeOptions": "

Determines the screen canvas size options for a section-based layout.

", + "SectionBasedLayoutConfiguration$CanvasSizeOptions": "

The options for the canvas of a section-based layout.

" + } + }, + "SectionBasedLayoutConfiguration": { + "base": "

The configuration for a section-based layout.

", + "refs": { + "LayoutConfiguration$SectionBasedLayout": "

A section based layout organizes visuals into multiple sections and has customized header, footer and page break.

" + } + }, + "SectionBasedLayoutPaperCanvasSizeOptions": { + "base": "

The options for a paper canvas of a section-based layout.

", + "refs": { + "SectionBasedLayoutCanvasSizeOptions$PaperCanvasSizeOptions": "

The options for a paper canvas of a section-based layout.

" + } + }, + "SectionLayoutConfiguration": { + "base": "

The layout configuration of a section.

", + "refs": { + "BodySectionContent$Layout": "

The layout configuration of a body section.

", + "HeaderFooterSectionConfiguration$Layout": "

The layout configuration of the header or footer section.

" + } + }, + "SectionPageBreakConfiguration": { + "base": "

The configuration of a page break for a section.

", + "refs": { + "BodySectionConfiguration$PageBreakConfiguration": "

The configuration of a page break for a section.

" + } + }, + "SectionPageBreakStatus": { + "base": null, + "refs": { + "SectionAfterPageBreak$Status": "

The option that enables or disables a page break at the end of a section.

" + } + }, + "SectionStyle": { + "base": "

The options that style a section.

", + "refs": { + "BodySectionConfiguration$Style": "

The style options of a body section.

", + "HeaderFooterSectionConfiguration$Style": "

The style options of a header or footer section.

" + } + }, + "SelectAllValueOptions": { + "base": null, + "refs": { + "DestinationParameterValueConfiguration$SelectAllValueOptions": "

The configuration that selects all options.

" + } + }, + "SelectedFieldList": { + "base": null, + "refs": { + "FilterOperationSelectedFieldsConfiguration$SelectedFields": "

Chooses the fields that are filtered in CustomActionFilterOperation.

" + } + }, + "SelectedFieldOptions": { + "base": null, + "refs": { + "FilterOperationSelectedFieldsConfiguration$SelectedFieldOptions": "

A structure that contains the options that choose which fields are filtered in the CustomActionFilterOperation.

Valid values are defined as follows:

" + } + }, + "SelectedSheetsFilterScopeConfiguration": { + "base": "

The configuration for applying a filter to specific sheets or visuals. You can apply this filter to multiple visuals that are on one sheet or to all visuals on a sheet.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", + "refs": { + "FilterScopeConfiguration$SelectedSheets": "

The configuration for applying a filter to specific sheets.

" + } + }, + "SelectedTooltipType": { + "base": null, + "refs": { + "TooltipOptions$SelectedTooltipType": "

The selected type for the tooltip. Choose one of the following options:

" + } + }, + "SensitiveDouble": { "base": null, "refs": { - "AthenaParameters$RoleArn": "

Use the RoleArn structure to override an account-wide role for a specific Athena data source. For example, say an account administrator has turned off all Athena access with an account-wide role. The administrator can then use RoleArn to bypass the account-wide role and allow Athena access for the single Athena data source that is specified in the structure, even if the account-wide role forbidding Athena access is still active.

" + "DecimalValueWhenUnsetConfiguration$CustomValue": "

A custom value that's used when the value of a parameter isn't set.

", + "ReferenceLineStaticDataConfiguration$Value": "

The double input of the static data.

", + "SensitiveDoubleList$member": null } }, - "RoleName": { + "SensitiveDoubleList": { "base": null, "refs": { - "RegisterUserRequest$CustomPermissionsName": "

(Enterprise edition only) The name of the custom permissions profile that you want to assign to this user. Customized permissions allows you to control a user's access by restricting access the following operations:

To add custom permissions to an existing user, use UpdateUser instead.

A set of custom permissions includes any combination of these restrictions. Currently, you need to create the profile names for custom permission sets by using the Amazon QuickSight console. Then, you use the RegisterUser API operation to assign the named set of permissions to a Amazon QuickSight user.

Amazon QuickSight custom permissions are applied through IAM policies. Therefore, they override the permissions typically granted by assigning Amazon QuickSight users to one of the default security cohorts in Amazon QuickSight (admin, author, reader).

This feature is available only to Amazon QuickSight Enterprise edition subscriptions.

", - "UpdateUserRequest$CustomPermissionsName": "

(Enterprise edition only) The name of the custom permissions profile that you want to assign to this user. Customized permissions allows you to control a user's access by restricting access the following operations:

A set of custom permissions includes any combination of these restrictions. Currently, you need to create the profile names for custom permission sets by using the Amazon QuickSight console. Then, you use the RegisterUser API operation to assign the named set of permissions to a Amazon QuickSight user.

Amazon QuickSight custom permissions are applied through IAM policies. Therefore, they override the permissions typically granted by assigning Amazon QuickSight users to one of the default security cohorts in Amazon QuickSight (admin, author, reader).

This feature is available only to Amazon QuickSight Enterprise edition subscriptions.

", - "User$CustomPermissionsName": "

The custom permissions profile associated with this user.

" + "DecimalParameter$Values": "

The values for the decimal parameter.

" } }, - "RoleSessionName": { + "SensitiveDoubleObject": { "base": null, "refs": { - "RegisterUserRequest$SessionName": "

You need to use this parameter only when you register one or more users using an assumed IAM role. You don't need to provide the session name for other scenarios, for example when you are registering an IAM user or an Amazon QuickSight user. You can register multiple users using the same IAM role if each user has a different session name. For more information on assuming IAM roles, see assume-role in the CLI Reference.

" + "DecimalDefaultValueList$member": null } }, - "RowInfo": { - "base": "

Information about rows for a data set SPICE ingestion.

", + "SensitiveLong": { + "base": null, "refs": { - "Ingestion$RowInfo": null + "IntegerValueWhenUnsetConfiguration$CustomValue": "

A custom value that's used when the value of a parameter isn't set.

", + "SensitiveLongList$member": null } }, - "RowLevelPermissionDataSet": { - "base": "

Information about a dataset that contains permissions for row-level security (RLS). The permissions dataset maps fields to users or groups. For more information, see Using Row-Level Security (RLS) to Restrict Access to a Dataset in the Amazon QuickSight User Guide.

The option to deny permissions by setting PermissionPolicy to DENY_ACCESS is not supported for new RLS datasets.

", + "SensitiveLongList": { + "base": null, "refs": { - "CreateDataSetRequest$RowLevelPermissionDataSet": "

The row-level security configuration for the data that you want to create.

", - "DataSet$RowLevelPermissionDataSet": "

The row-level security configuration for the dataset.

", - "DataSetSummary$RowLevelPermissionDataSet": "

The row-level security configuration for the dataset.

", - "UpdateDataSetRequest$RowLevelPermissionDataSet": "

The row-level security configuration for the data you want to create.

" + "IntegerParameter$Values": "

The values for the integer parameter.

" } }, - "RowLevelPermissionFormatVersion": { + "SensitiveLongObject": { "base": null, "refs": { - "RowLevelPermissionDataSet$FormatVersion": "

The user or group rules associated with the dataset that contains permissions for RLS.

By default, FormatVersion is VERSION_1. When FormatVersion is VERSION_1, UserName and GroupName are required. When FormatVersion is VERSION_2, UserARN and GroupARN are required, and Namespace must not exist.

" + "IntegerDefaultValueList$member": null } }, - "RowLevelPermissionPolicy": { + "SensitiveString": { "base": null, "refs": { - "RowLevelPermissionDataSet$PermissionPolicy": "

The type of permissions to use when interpreting the permissions for RLS. DENY_ACCESS is included for backward compatibility only.

" + "DataFieldSeriesItem$FieldValue": "

The field value of the field that you are setting the axis binding to.

", + "SensitiveStringList$member": null, + "StringValueWhenUnsetConfiguration$CustomValue": "

A custom value that's used when the value of a parameter isn't set.

" } }, - "RowLevelPermissionTagConfiguration": { - "base": "

The configuration of tags on a dataset to set row-level security.

", + "SensitiveStringList": { + "base": null, "refs": { - "CreateDataSetRequest$RowLevelPermissionTagConfiguration": "

The configuration of tags on a dataset to set row-level security. Row-level security tags are currently supported for anonymous embedding only.

", - "DataSet$RowLevelPermissionTagConfiguration": "

The element you can use to define tags for row-level security.

", - "UpdateDataSetRequest$RowLevelPermissionTagConfiguration": "

The configuration of tags on a dataset to set row-level security. Row-level security tags are currently supported for anonymous embedding only.

" + "StringParameter$Values": "

The values of a string parameter.

" } }, - "RowLevelPermissionTagDelimiter": { + "SensitiveStringObject": { "base": null, "refs": { - "RowLevelPermissionTagRule$TagMultiValueDelimiter": "

A string that you want to use to delimit the values when you pass the values at run time. For example, you can delimit the values with a comma.

" + "StringDefaultValueList$member": null } }, - "RowLevelPermissionTagRule": { - "base": "

A set of rules associated with a tag.

", + "SensitiveTimestamp": { + "base": null, "refs": { - "RowLevelPermissionTagRuleList$member": null + "DateTimeDefaultValueList$member": null, + "DateTimeValueWhenUnsetConfiguration$CustomValue": "

A custom value that's used when the value of a parameter isn't set.

", + "SensitiveTimestampList$member": null } }, - "RowLevelPermissionTagRuleList": { + "SensitiveTimestampList": { "base": null, "refs": { - "RowLevelPermissionTagConfiguration$TagRules": "

A set of rules associated with row-level security, such as the tag names and columns that they are assigned to.

" + "DateTimeParameter$Values": "

The values for the date-time parameter.

" } }, - "S3Bucket": { + "SeriesItem": { + "base": "

The series item configuration of a line chart.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", + "refs": { + "SeriesItemList$member": null + } + }, + "SeriesItemList": { "base": null, "refs": { - "ManifestFileLocation$Bucket": "

Amazon S3 bucket.

" + "LineChartConfiguration$Series": "

The series item configuration of a line chart.

" } }, - "S3Key": { + "ServiceNowParameters": { + "base": "

The parameters for ServiceNow.

", + "refs": { + "DataSourceParameters$ServiceNowParameters": "

The parameters for ServiceNow.

" + } + }, + "SessionLifetimeInMinutes": { "base": null, "refs": { - "ManifestFileLocation$Key": "

Amazon S3 key that identifies an object.

" + "GenerateEmbedUrlForAnonymousUserRequest$SessionLifetimeInMinutes": "

How many minutes the session is valid. The session lifetime must be in [15-600] minutes range.

", + "GenerateEmbedUrlForRegisteredUserRequest$SessionLifetimeInMinutes": "

How many minutes the session is valid. The session lifetime must be in [15-600] minutes range.

", + "GetDashboardEmbedUrlRequest$SessionLifetimeInMinutes": "

How many minutes the session is valid. The session lifetime must be 15-600 minutes.

", + "GetSessionEmbedUrlRequest$SessionLifetimeInMinutes": "

How many minutes the session is valid. The session lifetime must be 15-600 minutes.

" } }, - "S3Parameters": { - "base": "

The parameters for S3.

", + "SessionLifetimeInMinutesInvalidException": { + "base": "

The number of minutes specified for the lifetime of a session isn't valid. The session lifetime must be 15-600 minutes.

", "refs": { - "DataSourceParameters$S3Parameters": "

The parameters for S3.

" } }, - "S3Source": { - "base": "

A physical table type for an S3 data source.

", + "SessionTag": { + "base": "

The key-value pair used for the row-level security tags feature.

", "refs": { - "PhysicalTable$S3Source": "

A physical table type for as S3 data source.

" + "SessionTagList$member": null } }, - "SearchAnalysesRequest": { + "SessionTagKey": { "base": null, "refs": { + "RowLevelPermissionTagRule$TagKey": "

The unique key for a tag.

", + "SessionTag$Key": "

The key for the tag.

" } }, - "SearchAnalysesResponse": { + "SessionTagList": { "base": null, "refs": { + "GenerateEmbedUrlForAnonymousUserRequest$SessionTags": "

The session tags used for row-level security. Before you use this parameter, make sure that you have configured the relevant datasets using the DataSet$RowLevelPermissionTagConfiguration parameter so that session tags can be used to provide row-level security.

These are not the tags used for the Amazon Web Services resource tagging feature. For more information, see Using Row-Level Security (RLS) with Tagsin the Amazon QuickSight User Guide.

" } }, - "SearchDashboardsRequest": { + "SessionTagValue": { "base": null, "refs": { + "RowLevelPermissionTagRule$MatchAllValue": "

A string that you want to use to filter by all the values in a column in the dataset and don’t want to list the values one by one. For example, you can use an asterisk as your match all value.

", + "SessionTag$Value": "

The value that you want to assign the tag.

" + } + }, + "SetParameterValueConfiguration": { + "base": "

The configuration of adding parameters in action.

", + "refs": { + "SetParameterValueConfigurationList$member": null } }, - "SearchDashboardsResponse": { + "SetParameterValueConfigurationList": { "base": null, "refs": { + "CustomActionSetParametersOperation$ParameterValueConfigurations": "

The parameter that determines the value configuration.

" } }, - "SearchDataSetsRequest": { + "ShapeConditionalFormat": { + "base": "

The shape conditional formatting of a filled map visual.

", + "refs": { + "FilledMapShapeConditionalFormatting$Format": "

The conditional formatting that determines the background color of a filled map's shape.

" + } + }, + "Sheet": { + "base": "

A sheet, which is an object that contains a set of visuals that are viewed together on one page in Amazon QuickSight. Every analysis and dashboard contains at least one sheet. Each sheet contains at least one visualization widget, for example a chart, pivot table, or narrative insight. Sheets can be associated with other components, such as controls, filters, and so on.

", + "refs": { + "SheetList$member": null + } + }, + "SheetContentType": { "base": null, "refs": { + "DefaultNewSheetConfiguration$SheetContentType": "

The option that determines the sheet content type.

", + "SheetDefinition$ContentType": "

The layout content type of the sheet. Choose one of the following options:

" } }, - "SearchDataSetsResponse": { + "SheetControlDateTimePickerType": { "base": null, "refs": { + "FilterDateTimePickerControl$Type": "

The date time picker type of a FilterDateTimePickerControl. Choose one of the following options:

" } }, - "SearchDataSourcesRequest": { + "SheetControlLayout": { + "base": "

A grid layout to define the placement of sheet control.

", + "refs": { + "SheetControlLayoutList$member": null + } + }, + "SheetControlLayoutConfiguration": { + "base": "

The configuration that determines the elements and canvas size options of sheet control.

", + "refs": { + "SheetControlLayout$Configuration": "

The configuration that determines the elements and canvas size options of sheet control.

" + } + }, + "SheetControlLayoutList": { "base": null, "refs": { + "SheetDefinition$SheetControlLayouts": "

The control layouts of the sheet.

" } }, - "SearchDataSourcesResponse": { + "SheetControlListType": { "base": null, "refs": { + "FilterDropDownControl$Type": "

The type of the FilterDropDownControl. Choose one of the following options:

", + "FilterListControl$Type": "

The type of FilterListControl. Choose one of the following options:

", + "ParameterDropDownControl$Type": "

The type parameter name of the ParameterDropDownControl.

", + "ParameterListControl$Type": "

The type of ParameterListControl.

" } }, - "SearchFoldersRequest": { + "SheetControlSliderType": { "base": null, "refs": { + "FilterSliderControl$Type": "

The type of FilterSliderControl. Choose one of the following options:

" } }, - "SearchFoldersResponse": { + "SheetControlTitle": { "base": null, "refs": { + "FilterDateTimePickerControl$Title": "

The title of the FilterDateTimePickerControl.

", + "FilterDropDownControl$Title": "

The title of the FilterDropDownControl.

", + "FilterListControl$Title": "

The title of the FilterListControl.

", + "FilterRelativeDateTimeControl$Title": "

The title of the FilterTextAreaControl.

", + "FilterSliderControl$Title": "

The title of the FilterSliderControl.

", + "FilterTextAreaControl$Title": "

The title of the FilterTextAreaControl.

", + "FilterTextFieldControl$Title": "

The title of the FilterTextFieldControl.

", + "ParameterDateTimePickerControl$Title": "

The title of the ParameterDateTimePickerControl.

", + "ParameterDropDownControl$Title": "

The title of the ParameterDropDownControl.

", + "ParameterListControl$Title": "

The title of the ParameterListControl.

", + "ParameterSliderControl$Title": "

The title of the ParameterSliderControl.

", + "ParameterTextAreaControl$Title": "

The title of the ParameterTextAreaControl.

", + "ParameterTextFieldControl$Title": "

The title of the ParameterTextFieldControl.

" } }, - "SearchGroupsRequest": { + "SheetControlsOption": { + "base": "

Sheet controls option.

", + "refs": { + "DashboardPublishOptions$SheetControlsOption": "

Sheet controls option.

" + } + }, + "SheetDefinition": { + "base": "

A sheet is an object that contains a set of visuals that are viewed together on one page in a paginated report. Every analysis and dashboard must contain at least one sheet.

", + "refs": { + "SheetDefinitionList$member": null + } + }, + "SheetDefinitionList": { "base": null, "refs": { + "AnalysisDefinition$Sheets": "

An array of sheet definitions for an analysis. Each SheetDefinition provides detailed information about a sheet within this analysis.

", + "DashboardVersionDefinition$Sheets": "

An array of sheet definitions for a dashboard.

", + "TemplateVersionDefinition$Sheets": "

An array of sheet definitions for a template.

" } }, - "SearchGroupsResponse": { + "SheetDescription": { "base": null, "refs": { + "SheetDefinition$Description": "

A description of the sheet.

" } }, - "SecretArn": { + "SheetElementConfigurationOverrides": { + "base": "

The override configuration of the rendering rules of a sheet.

", + "refs": { + "SheetElementRenderingRule$ConfigurationOverrides": "

The override configuration of the rendering rules of a sheet.

" + } + }, + "SheetElementRenderingRule": { + "base": "

The rendering rules of a sheet that uses a free-form layout.

", + "refs": { + "SheetElementRenderingRuleList$member": null + } + }, + "SheetElementRenderingRuleList": { "base": null, "refs": { - "DataSource$SecretArn": "

The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.

", - "DataSourceCredentials$SecretArn": "

The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.

" + "FreeFormLayoutElement$RenderingRules": "

The rendering rules that determine when an element should be displayed within a free-form layout.

" } }, - "ServiceNowParameters": { - "base": "

The parameters for ServiceNow.

", + "SheetList": { + "base": null, "refs": { - "DataSourceParameters$ServiceNowParameters": "

The parameters for ServiceNow.

" + "Analysis$Sheets": "

A list of the associated sheets with the unique identifier and name of each sheet.

", + "DashboardVersion$Sheets": "

A list of the associated sheets with the unique identifier and name of each sheet.

", + "TemplateVersion$Sheets": "

A list of the associated sheets with the unique identifier and name of each sheet.

" } }, - "SessionLifetimeInMinutes": { + "SheetName": { "base": null, "refs": { - "GenerateEmbedUrlForAnonymousUserRequest$SessionLifetimeInMinutes": "

How many minutes the session is valid. The session lifetime must be in [15-600] minutes range.

", - "GenerateEmbedUrlForRegisteredUserRequest$SessionLifetimeInMinutes": "

How many minutes the session is valid. The session lifetime must be in [15-600] minutes range.

", - "GetDashboardEmbedUrlRequest$SessionLifetimeInMinutes": "

How many minutes the session is valid. The session lifetime must be 15-600 minutes.

", - "GetSessionEmbedUrlRequest$SessionLifetimeInMinutes": "

How many minutes the session is valid. The session lifetime must be 15-600 minutes.

" + "Sheet$Name": "

The name of a sheet. This name is displayed on the sheet's tab in the Amazon QuickSight console.

", + "SheetDefinition$Name": "

The name of the sheet. This name is displayed on the sheet's tab in the Amazon QuickSight console.

" + } + }, + "SheetStyle": { + "base": "

The theme display options for sheets.

", + "refs": { + "ThemeConfiguration$Sheet": "

Display options related to sheets.

" + } + }, + "SheetTextBox": { + "base": "

A text box.

", + "refs": { + "SheetTextBoxList$member": null + } + }, + "SheetTextBoxContent": { + "base": null, + "refs": { + "SheetTextBox$Content": "

The content that is displayed in the text box.

" + } + }, + "SheetTextBoxList": { + "base": null, + "refs": { + "SheetDefinition$TextBoxes": "

The text boxes that are on a sheet.

" + } + }, + "SheetTitle": { + "base": null, + "refs": { + "SheetDefinition$Title": "

The title of the sheet.

" + } + }, + "SheetVisualScopingConfiguration": { + "base": "

The filter that is applied to the options.

", + "refs": { + "SheetVisualScopingConfigurations$member": null + } + }, + "SheetVisualScopingConfigurations": { + "base": null, + "refs": { + "SelectedSheetsFilterScopeConfiguration$SheetVisualScopingConfigurations": "

The sheet ID and visual IDs of the sheet and visuals that the filter is applied to.

" + } + }, + "ShortFormatText": { + "base": "

The text format for the title.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", + "refs": { + "VisualTitleLabelOptions$FormatText": "

The short text format of the title label, such as plain text or rich text.

" + } + }, + "ShortPlainText": { + "base": null, + "refs": { + "ShortFormatText$PlainText": "

Plain text format.

" + } + }, + "ShortRestrictiveResourceId": { + "base": null, + "refs": { + "AdditionalDashboardIdList$member": null, + "Analysis$AnalysisId": "

The ID of the analysis.

", + "AnalysisSummary$AnalysisId": "

The ID of the analysis. This ID displays in the URL.

", + "AnonymousUserDashboardEmbeddingConfiguration$InitialDashboardId": "

The dashboard ID for the dashboard that you want the user to see first. This ID is included in the output URL. When the URL in response is accessed, Amazon QuickSight renders this dashboard.

The Amazon Resource Name (ARN) of this dashboard must be included in the AuthorizedResourceArns parameter. Otherwise, the request will fail with InvalidParameterValueException.

", + "BarChartVisual$VisualId": "

The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.

", + "BodySectionConfiguration$SectionId": "

The unique identifier of a body section.

", + "BoxPlotVisual$VisualId": "

The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers..

", + "CategoryFilter$FilterId": "

An identifier that uniquely identifies a filter within a dashboard, analysis, or template.

", + "ComboChartVisual$VisualId": "

The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.

", + "CreateAnalysisRequest$AnalysisId": "

The ID for the analysis that you're creating. This ID displays in the URL of the analysis.

", + "CreateAnalysisResponse$AnalysisId": "

The ID of the analysis.

", + "CreateDashboardRequest$DashboardId": "

The ID for the dashboard, also added to the IAM policy.

", + "CreateDashboardResponse$DashboardId": "

The ID for the dashboard.

", + "CreateTemplateAliasRequest$TemplateId": "

An ID for the template.

", + "CreateTemplateRequest$TemplateId": "

An ID for the template that you want to create. This template is unique per Amazon Web Services Region; in each Amazon Web Services account.

", + "CreateTemplateResponse$TemplateId": "

The ID of the template.

", + "CreateThemeAliasRequest$ThemeId": "

An ID for the theme alias.

", + "CreateThemeRequest$ThemeId": "

An ID for the theme that you want to create. The theme ID is unique per Amazon Web Services Region in each Amazon Web Services account.

", + "CreateThemeRequest$BaseThemeId": "

The ID of the theme that a custom theme will inherit from. All themes inherit from one of the starting themes defined by Amazon QuickSight. For a list of the starting themes, use ListThemes or choose Themes from within an analysis.

", + "CreateThemeResponse$ThemeId": "

The ID of the theme.

", + "CustomContentVisual$VisualId": "

The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.

", + "Dashboard$DashboardId": "

Dashboard ID.

", + "DashboardSummary$DashboardId": "

Dashboard ID.

", + "DashboardVisualId$DashboardId": "

The ID of the dashboard that has the visual that you want to embed. The DashboardId can be found in the IDs for developers section of the Embed visual pane of the visual's on-visual menu of the Amazon QuickSight console. You can also get the DashboardId with a ListDashboards API operation.

", + "DashboardVisualId$SheetId": "

The ID of the sheet that the has visual that you want to embed. The SheetId can be found in the IDs for developers section of the Embed visual pane of the visual's on-visual menu of the Amazon QuickSight console.

", + "DashboardVisualId$VisualId": "

The ID of the visual that you want to embed. The VisualID can be found in the IDs for developers section of the Embed visual pane of the visual's on-visual menu of the Amazon QuickSight console.

", + "DeleteAnalysisRequest$AnalysisId": "

The ID of the analysis that you're deleting.

", + "DeleteAnalysisResponse$AnalysisId": "

The ID of the deleted analysis.

", + "DeleteDashboardRequest$DashboardId": "

The ID for the dashboard.

", + "DeleteDashboardResponse$DashboardId": "

The ID of the dashboard.

", + "DeleteTemplateAliasRequest$TemplateId": "

The ID for the template that the specified alias is for.

", + "DeleteTemplateAliasResponse$TemplateId": "

An ID for the template associated with the deletion.

", + "DeleteTemplateRequest$TemplateId": "

An ID for the template you want to delete.

", + "DeleteTemplateResponse$TemplateId": "

An ID for the template.

", + "DeleteThemeAliasRequest$ThemeId": "

The ID for the theme that the specified alias is for.

", + "DeleteThemeAliasResponse$ThemeId": "

An ID for the theme associated with the deletion.

", + "DeleteThemeRequest$ThemeId": "

An ID for the theme that you want to delete.

", + "DeleteThemeResponse$ThemeId": "

An ID for the theme.

", + "DescribeAnalysisDefinitionRequest$AnalysisId": "

The ID of the analysis that you're describing. The ID is part of the URL of the analysis.

", + "DescribeAnalysisDefinitionResponse$AnalysisId": "

The ID of the analysis described.

", + "DescribeAnalysisPermissionsRequest$AnalysisId": "

The ID of the analysis whose permissions you're describing. The ID is part of the analysis URL.

", + "DescribeAnalysisPermissionsResponse$AnalysisId": "

The ID of the analysis whose permissions you're describing.

", + "DescribeAnalysisRequest$AnalysisId": "

The ID of the analysis that you're describing. The ID is part of the URL of the analysis.

", + "DescribeDashboardDefinitionRequest$DashboardId": "

The ID for the dashboard.

", + "DescribeDashboardDefinitionResponse$DashboardId": "

The ID of the dashboard described.

", + "DescribeDashboardPermissionsRequest$DashboardId": "

The ID for the dashboard, also added to the IAM policy.

", + "DescribeDashboardPermissionsResponse$DashboardId": "

The ID for the dashboard.

", + "DescribeDashboardRequest$DashboardId": "

The ID for the dashboard.

", + "DescribeTemplateAliasRequest$TemplateId": "

The ID for the template.

", + "DescribeTemplateDefinitionRequest$TemplateId": "

The ID of the template that you're describing.

", + "DescribeTemplateDefinitionResponse$TemplateId": "

The ID of the template described.

", + "DescribeTemplatePermissionsRequest$TemplateId": "

The ID for the template.

", + "DescribeTemplatePermissionsResponse$TemplateId": "

The ID for the template.

", + "DescribeTemplateRequest$TemplateId": "

The ID for the template.

", + "DescribeThemeAliasRequest$ThemeId": "

The ID for the theme.

", + "DescribeThemePermissionsRequest$ThemeId": "

The ID for the theme that you want to describe permissions for.

", + "DescribeThemePermissionsResponse$ThemeId": "

The ID for the theme.

", + "DescribeThemeRequest$ThemeId": "

The ID for the theme.

", + "EmptyVisual$VisualId": "

The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.

", + "FilledMapVisual$VisualId": "

The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers..

", + "FilterDateTimePickerControl$FilterControlId": "

The ID of the FilterDateTimePickerControl.

", + "FilterDateTimePickerControl$SourceFilterId": "

The source filter ID of the FilterDateTimePickerControl.

", + "FilterDropDownControl$FilterControlId": "

The ID of the FilterDropDownControl.

", + "FilterDropDownControl$SourceFilterId": "

The source filter ID of the FilterDropDownControl.

", + "FilterGroup$FilterGroupId": "

The value that uniquely identifies a FilterGroup within a dashboard, template, or analysis.

", + "FilterListControl$FilterControlId": "

The ID of the FilterListControl.

", + "FilterListControl$SourceFilterId": "

The source filter ID of the FilterListControl.

", + "FilterRelativeDateTimeControl$FilterControlId": "

The ID of the FilterTextAreaControl.

", + "FilterRelativeDateTimeControl$SourceFilterId": "

The source filter ID of the FilterTextAreaControl.

", + "FilterSliderControl$FilterControlId": "

The ID of the FilterSliderControl.

", + "FilterSliderControl$SourceFilterId": "

The source filter ID of the FilterSliderControl.

", + "FilterTextAreaControl$FilterControlId": "

The ID of the FilterTextAreaControl.

", + "FilterTextAreaControl$SourceFilterId": "

The source filter ID of the FilterTextAreaControl.

", + "FilterTextFieldControl$FilterControlId": "

The ID of the FilterTextFieldControl.

", + "FilterTextFieldControl$SourceFilterId": "

The source filter ID of the FilterTextFieldControl.

", + "FilteredVisualsList$member": null, + "ForecastComputation$ComputationId": "

The ID for a computation.

", + "FreeFormLayoutElement$ElementId": "

A unique identifier for an element within a free-form layout.

", + "FunnelChartVisual$VisualId": "

The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers..

", + "GaugeChartVisual$VisualId": "

The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.

", + "GeospatialMapVisual$VisualId": "

The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers..

", + "GetDashboardEmbedUrlRequest$DashboardId": "

The ID for the dashboard, also added to the Identity and Access Management (IAM) policy.

", + "GridLayoutElement$ElementId": "

A unique identifier for an element within a grid layout.

", + "GrowthRateComputation$ComputationId": "

The ID for a computation.

", + "HeaderFooterSectionConfiguration$SectionId": "

The unique identifier of the header or footer section.

", + "HeatMapVisual$VisualId": "

The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.

", + "HistogramVisual$VisualId": "

The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.

", + "InsightVisual$VisualId": "

The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.

", + "KPIVisual$VisualId": "

The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.

", + "LineChartVisual$VisualId": "

The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.

", + "ListDashboardVersionsRequest$DashboardId": "

The ID for the dashboard.

", + "ListTemplateAliasesRequest$TemplateId": "

The ID for the template.

", + "ListTemplateVersionsRequest$TemplateId": "

The ID for the template.

", + "ListThemeAliasesRequest$ThemeId": "

The ID for the theme.

", + "ListThemeVersionsRequest$ThemeId": "

The ID for the theme.

", + "LocalNavigationConfiguration$TargetSheetId": "

The sheet that is targeted for navigation in the same analysis.

", + "MaximumMinimumComputation$ComputationId": "

The ID for a computation.

", + "MetricComparisonComputation$ComputationId": "

The ID for a computation.

", + "NumericEqualityFilter$FilterId": "

An identifier that uniquely identifies a filter within a dashboard, analysis, or template.

", + "NumericRangeFilter$FilterId": "

An identifier that uniquely identifies a filter within a dashboard, analysis, or template.

", + "ParameterDateTimePickerControl$ParameterControlId": "

The ID of the ParameterDateTimePickerControl.

", + "ParameterDropDownControl$ParameterControlId": "

The ID of the ParameterDropDownControl.

", + "ParameterListControl$ParameterControlId": "

The ID of the ParameterListControl.

", + "ParameterSliderControl$ParameterControlId": "

The ID of the ParameterSliderControl.

", + "ParameterTextAreaControl$ParameterControlId": "

The ID of the ParameterTextAreaControl.

", + "ParameterTextFieldControl$ParameterControlId": "

The ID of the ParameterTextFieldControl.

", + "PeriodOverPeriodComputation$ComputationId": "

The ID for a computation.

", + "PeriodToDateComputation$ComputationId": "

The ID for a computation.

", + "PieChartVisual$VisualId": "

The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.

", + "PivotTableVisual$VisualId": "

The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers..

", + "RegisteredUserDashboardEmbeddingConfiguration$InitialDashboardId": "

The dashboard ID for the dashboard that you want the user to see first. This ID is included in the output URL. When the URL in response is accessed, Amazon QuickSight renders this dashboard if the user has permissions to view it.

If the user does not have permission to view this dashboard, they see a permissions error message.

", + "RelativeDatesFilter$FilterId": "

An identifier that uniquely identifies a filter within a dashboard, analysis, or template.

", + "RestoreAnalysisRequest$AnalysisId": "

The ID of the analysis that you're restoring.

", + "RestoreAnalysisResponse$AnalysisId": "

The ID of the analysis that you're restoring.

", + "SankeyDiagramVisual$VisualId": "

The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.

", + "ScatterPlotVisual$VisualId": "

The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.

", + "Sheet$SheetId": "

The unique identifier associated with a sheet.

", + "SheetDefinition$SheetId": "

The unique identifier of a sheet.

", + "SheetTextBox$SheetTextBoxId": "

The unique identifier for a text box. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have text boxes that share identifiers.

", + "SheetVisualScopingConfiguration$SheetId": "

The selected sheet that the filter is applied to.

", + "TableVisual$VisualId": "

The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers..

", + "TargetVisualList$member": null, + "Template$TemplateId": "

The ID for the template. This is unique per Amazon Web Services Region for each Amazon Web Services account.

", + "TemplateSummary$TemplateId": "

The ID of the template. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", + "Theme$ThemeId": "

The identifier that the user gives to the theme.

", + "ThemeSummary$ThemeId": "

The ID of the theme. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", + "ThemeVersion$BaseThemeId": "

The Amazon QuickSight-defined ID of the theme that a custom theme inherits from. All themes initially inherit from a default Amazon QuickSight theme.

", + "TimeEqualityFilter$FilterId": "

An identifier that uniquely identifies a filter within a dashboard, analysis, or template.

", + "TimeRangeFilter$FilterId": "

An identifier that uniquely identifies a filter within a dashboard, analysis, or template.

", + "TopBottomFilter$FilterId": "

An identifier that uniquely identifies a filter within a dashboard, analysis, or template.

", + "TopBottomMoversComputation$ComputationId": "

The ID for a computation.

", + "TopBottomRankedComputation$ComputationId": "

The ID for a computation.

", + "TotalAggregationComputation$ComputationId": "

The ID for a computation.

", + "TreeMapVisual$VisualId": "

The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers..

", + "UniqueValuesComputation$ComputationId": "

The ID for a computation.

", + "UpdateAnalysisPermissionsRequest$AnalysisId": "

The ID of the analysis whose permissions you're updating. The ID is part of the analysis URL.

", + "UpdateAnalysisPermissionsResponse$AnalysisId": "

The ID of the analysis that you updated permissions for.

", + "UpdateAnalysisRequest$AnalysisId": "

The ID for the analysis that you're updating. This ID displays in the URL of the analysis.

", + "UpdateAnalysisResponse$AnalysisId": "

The ID of the analysis.

", + "UpdateDashboardPermissionsRequest$DashboardId": "

The ID for the dashboard.

", + "UpdateDashboardPermissionsResponse$DashboardId": "

The ID for the dashboard.

", + "UpdateDashboardPublishedVersionRequest$DashboardId": "

The ID for the dashboard.

", + "UpdateDashboardPublishedVersionResponse$DashboardId": "

The ID for the dashboard.

", + "UpdateDashboardRequest$DashboardId": "

The ID for the dashboard.

", + "UpdateDashboardResponse$DashboardId": "

The ID for the dashboard.

", + "UpdateTemplateAliasRequest$TemplateId": "

The ID for the template.

", + "UpdateTemplatePermissionsRequest$TemplateId": "

The ID for the template.

", + "UpdateTemplatePermissionsResponse$TemplateId": "

The ID for the template.

", + "UpdateTemplateRequest$TemplateId": "

The ID for the template.

", + "UpdateTemplateResponse$TemplateId": "

The ID for the template.

", + "UpdateThemeAliasRequest$ThemeId": "

The ID for the theme.

", + "UpdateThemePermissionsRequest$ThemeId": "

The ID for the theme.

", + "UpdateThemePermissionsResponse$ThemeId": "

The ID for the theme.

", + "UpdateThemeRequest$ThemeId": "

The ID for the theme.

", + "UpdateThemeRequest$BaseThemeId": "

The theme ID, defined by Amazon QuickSight, that a custom theme inherits from. All themes initially inherit from a default Amazon QuickSight theme.

", + "UpdateThemeResponse$ThemeId": "

The ID for the theme.

", + "VisualCustomAction$CustomActionId": "

The ID of the VisualCustomAction.

", + "WaterfallVisual$VisualId": "

The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.

", + "WordCloudVisual$VisualId": "

The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers..

" } }, - "SessionLifetimeInMinutesInvalidException": { - "base": "

The number of minutes specified for the lifetime of a session isn't valid. The session lifetime must be 15-600 minutes.

", + "ShortRichText": { + "base": null, "refs": { + "ShortFormatText$RichText": "

Rich text. Examples of rich text include bold, underline, and italics.

" } }, - "SessionTag": { - "base": "

The key-value pair used for the row-level security tags feature.

", + "SignupResponse": { + "base": "

A SignupResponse object that contains a summary of a newly created account.

", "refs": { - "SessionTagList$member": null + "CreateAccountSubscriptionResponse$SignupResponse": "

A SignupResponse object that returns information about a newly created Amazon QuickSight account.

" } }, - "SessionTagKey": { - "base": null, + "SimpleClusterMarker": { + "base": "

The simple cluster marker of the cluster marker.

", "refs": { - "RowLevelPermissionTagRule$TagKey": "

The unique key for a tag.

", - "SessionTag$Key": "

The key for the tag.

" + "ClusterMarker$SimpleClusterMarker": "

The simple cluster marker of the cluster marker.

" } }, - "SessionTagList": { + "SimpleNumericalAggregationFunction": { "base": null, "refs": { - "GenerateEmbedUrlForAnonymousUserRequest$SessionTags": "

The session tags used for row-level security. Before you use this parameter, make sure that you have configured the relevant datasets using the DataSet$RowLevelPermissionTagConfiguration parameter so that session tags can be used to provide row-level security.

These are not the tags used for the Amazon Web Services resource tagging feature. For more information, see Using Row-Level Security (RLS) with Tagsin the Amazon QuickSight User Guide.

" + "NumericalAggregationFunction$SimpleNumericalAggregation": "

Built-in aggregation functions for numerical values.

" } }, - "SessionTagValue": { + "SiteBaseUrl": { "base": null, "refs": { - "RowLevelPermissionTagRule$MatchAllValue": "

A string that you want to use to filter by all the values in a column in the dataset and don’t want to list the values one by one. For example, you can use an asterisk as your match all value.

", - "SessionTag$Value": "

The value that you want to assign the tag.

" - } - }, - "Sheet": { - "base": "

A sheet, which is an object that contains a set of visuals that are viewed together on one page in Amazon QuickSight. Every analysis and dashboard contains at least one sheet. Each sheet contains at least one visualization widget, for example a chart, pivot table, or narrative insight. Sheets can be associated with other components, such as controls, filters, and so on.

", - "refs": { - "SheetList$member": null + "JiraParameters$SiteBaseUrl": "

The base URL of the Jira site.

", + "ServiceNowParameters$SiteBaseUrl": "

URL of the base site.

" } }, - "SheetControlsOption": { - "base": "

Sheet controls option.

", + "SliderControlDisplayOptions": { + "base": "

The display options of a control.

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

Sheet controls option.

" + "FilterSliderControl$DisplayOptions": "

The display options of a control.

", + "ParameterSliderControl$DisplayOptions": "

The display options of a control.

" } }, - "SheetList": { + "SmallMultiplesDimensionFieldList": { "base": null, "refs": { - "Analysis$Sheets": "

A list of the associated sheets with the unique identifier and name of each sheet.

", - "DashboardVersion$Sheets": "

A list of the associated sheets with the unique identifier and name of each sheet.

", - "TemplateVersion$Sheets": "

A list of the associated sheets with the unique identifier and name of each sheet.

" + "BarChartAggregatedFieldWells$SmallMultiples": "

The small multiples field well of a bar chart.

", + "LineChartAggregatedFieldWells$SmallMultiples": "

The small multiples field well of a line chart.

", + "PieChartAggregatedFieldWells$SmallMultiples": "

The small multiples field well of a pie chart.

" } }, - "SheetStyle": { - "base": "

The theme display options for sheets.

", + "SmallMultiplesOptions": { + "base": "

Options that determine the layout and display options of a chart's small multiples.

", "refs": { - "ThemeConfiguration$Sheet": "

Display options related to sheets.

" + "BarChartConfiguration$SmallMultiplesOptions": "

The small multiples setup for the visual.

", + "LineChartConfiguration$SmallMultiplesOptions": "

The small multiples setup for the visual.

", + "PieChartConfiguration$SmallMultiplesOptions": "

The small multiples setup for the visual.

" } }, - "SignupResponse": { - "base": "

A SignupResponse object that contains a summary of a newly created account.

", + "SnowflakeParameters": { + "base": "

The parameters for Snowflake.

", "refs": { - "CreateAccountSubscriptionResponse$SignupResponse": "

A SignupResponse object that returns information about a newly created Amazon QuickSight account.

" + "DataSourceParameters$SnowflakeParameters": "

The parameters for Snowflake.

" } }, - "SiteBaseUrl": { + "SortDirection": { "base": null, "refs": { - "JiraParameters$SiteBaseUrl": "

The base URL of the Jira site.

", - "ServiceNowParameters$SiteBaseUrl": "

URL of the base site.

" + "AggregationSortConfiguration$SortDirection": "

The sort direction of values.

", + "ColumnSort$Direction": "

The sort direction.

", + "DataPathSort$Direction": "

Determines the sort direction.

", + "FieldSort$Direction": "

The sort direction. Choose one of the following options:

" } }, - "SnowflakeParameters": { - "base": "

The parameters for Snowflake.

", + "Spacing": { + "base": "

The configuration of spacing (often a margin or padding).

", "refs": { - "DataSourceParameters$SnowflakeParameters": "

The parameters for Snowflake.

" + "SectionBasedLayoutPaperCanvasSizeOptions$PaperMargin": "

Defines the spacing between the canvas content and the top, bottom, left, and right edges.

", + "SectionStyle$Padding": "

The spacing between section content and its top, bottom, left, and right edges.

There is no padding by default.

" } }, "SparkParameters": { @@ -3800,8 +7830,10 @@ "DescribeAccountCustomizationResponse$Status": "

The HTTP status of the request.

", "DescribeAccountSettingsResponse$Status": "

The HTTP status of the request.

", "DescribeAccountSubscriptionResponse$Status": "

The HTTP status of the request.

", + "DescribeAnalysisDefinitionResponse$Status": "

The HTTP status of the request.

", "DescribeAnalysisPermissionsResponse$Status": "

The HTTP status of the request.

", "DescribeAnalysisResponse$Status": "

The HTTP status of the request.

", + "DescribeDashboardDefinitionResponse$Status": "

The HTTP status of the request.

", "DescribeDashboardPermissionsResponse$Status": "

The HTTP status of the request.

", "DescribeDashboardResponse$Status": "

The HTTP status of this request.

", "DescribeDataSetPermissionsResponse$Status": "

The HTTP status of the request.

", @@ -3818,6 +7850,7 @@ "DescribeIpRestrictionResponse$Status": "

The HTTP status of the request.

", "DescribeNamespaceResponse$Status": "

The HTTP status of the request.

", "DescribeTemplateAliasResponse$Status": "

The HTTP status of the request.

", + "DescribeTemplateDefinitionResponse$Status": "

The HTTP status of the request.

", "DescribeTemplatePermissionsResponse$Status": "

The HTTP status of the request.

", "DescribeTemplateResponse$Status": "

The HTTP status of the request.

", "DescribeThemeAliasResponse$Status": "

The HTTP status of the request.

", @@ -3899,14 +7932,17 @@ "AccountSettings$NotificationEmail": "

The main notification email for your Amazon QuickSight subscription.

", "ActionList$member": null, "AnalysisSearchFilter$Value": "

The value of the named item, in this case QUICKSIGHT_USER, that you want to use as a filter, for example \"Value\". An example is \"arn:aws:quicksight:us-east-1:1:user/default/UserName1\".

", + "AxisLabelOptions$CustomLabel": "

The text for the axis label.

", "CancelIngestionRequest$DataSetId": "

The ID of the dataset used in the ingestion.

", "CancelIngestionResponse$RequestId": "

The Amazon Web Services request ID for this operation.

", + "CascadingControlSource$SourceSheetControlId": "

The source sheet control ID of a CascadingControlSource.

", "ColumnGroupColumnSchema$Name": "

The name of the column group's column schema.

", "ColumnGroupSchema$Name": "

The name of the column group schema.

", "ColumnNameList$member": null, "ColumnSchema$Name": "

The name of the column schema.

", "ColumnSchema$DataType": "

The data type of the column schema.

", "ColumnSchema$GeographicRole": "

The geographic role of the column schema.

", + "ColumnTooltipItem$Label": "

The label of the tooltip item.

", "ConcurrentUpdatingException$Message": null, "ConcurrentUpdatingException$RequestId": null, "ConflictException$Message": null, @@ -3967,8 +8003,10 @@ "DescribeAccountCustomizationResponse$RequestId": "

The Amazon Web Services request ID for this operation.

", "DescribeAccountSettingsResponse$RequestId": "

The Amazon Web Services request ID for this operation.

", "DescribeAccountSubscriptionResponse$RequestId": "

The Amazon Web Services request ID for this operation.

", + "DescribeAnalysisDefinitionResponse$RequestId": "

The Amazon Web Services request ID for this operation.

", "DescribeAnalysisPermissionsResponse$RequestId": "

The Amazon Web Services request ID for this operation.

", "DescribeAnalysisResponse$RequestId": "

The Amazon Web Services request ID for this operation.

", + "DescribeDashboardDefinitionResponse$RequestId": "

The Amazon Web Services request ID for this operation.

", "DescribeDashboardPermissionsResponse$RequestId": "

The Amazon Web Services request ID for this operation.

", "DescribeDashboardResponse$RequestId": "

The Amazon Web Services request ID for this operation.

", "DescribeDataSetPermissionsResponse$RequestId": "

The Amazon Web Services request ID for this operation.

", @@ -3986,17 +8024,22 @@ "DescribeIpRestrictionResponse$RequestId": "

The Amazon Web Services request ID for this operation.

", "DescribeNamespaceResponse$RequestId": "

The Amazon Web Services request ID for this operation.

", "DescribeTemplateAliasResponse$RequestId": "

The Amazon Web Services request ID for this operation.

", + "DescribeTemplateDefinitionResponse$RequestId": "

The Amazon Web Services request ID for this operation.

", "DescribeTemplatePermissionsResponse$RequestId": "

The Amazon Web Services request ID for this operation.

", "DescribeTemplateResponse$RequestId": "

The Amazon Web Services request ID for this operation.

", "DescribeThemeAliasResponse$RequestId": "

The Amazon Web Services request ID for this operation.

", "DescribeThemePermissionsResponse$RequestId": "

The Amazon Web Services request ID for this operation.

", "DescribeThemeResponse$RequestId": "

The Amazon Web Services request ID for this operation.

", "DescribeUserResponse$RequestId": "

The Amazon Web Services request ID for this operation.

", + "DestinationParameterValueConfiguration$SourceParameterName": "

The source parameter name of the destination parameter.

", "DomainNotWhitelistedException$Message": null, "DomainNotWhitelistedException$RequestId": "

The Amazon Web Services request ID for this request.

", "ErrorInfo$Message": "

Error message.

", + "FieldTooltipItem$Label": "

The label of the tooltip item.

", "FolderColumnList$member": null, "FolderSearchFilter$Value": "

The value of the named item (in this example, PARENT_FOLDER_ARN), that you want to use as a filter. For example, \"Value\": \"arn:aws:quicksight:us-east-1:1:folder/folderId\".

", + "Font$FontFamily": "

Determines the font family settings.

", + "ForecastComputation$Name": "

The name of a computation.

", "GenerateEmbedUrlForAnonymousUserResponse$RequestId": "

The Amazon Web Services request ID for this operation.

", "GenerateEmbedUrlForRegisteredUserResponse$RequestId": "

The Amazon Web Services request ID for this operation.

", "GetDashboardEmbedUrlResponse$RequestId": "

The Amazon Web Services request ID for this operation.

", @@ -4004,6 +8047,7 @@ "Group$PrincipalId": "

The principal ID of the group.

", "GroupSearchFilter$Value": "

The value of the named item, in this case GROUP_NAME, that you want to use as a filter.

", "GroupsList$member": null, + "GrowthRateComputation$Name": "

The name of a computation.

", "IAMPolicyAssignment$AssignmentId": "

Assignment ID.

", "IdentityMap$key": null, "IdentityTypeNotSupportedException$Message": null, @@ -4016,6 +8060,7 @@ "InvalidParameterValueException$RequestId": "

The Amazon Web Services request ID for this request.

", "InvalidRequestException$Message": null, "InvalidRequestException$RequestId": "

The Amazon Web Services request ID for this request.

", + "LabelOptions$CustomLabel": "

The text for the label.

", "LimitExceededException$Message": null, "LimitExceededException$RequestId": "

The Amazon Web Services request ID for this request.

", "ListAnalysesRequest$NextToken": "

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

", @@ -4083,8 +8128,14 @@ "ListUsersRequest$NextToken": "

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

", "ListUsersResponse$NextToken": "

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

", "ListUsersResponse$RequestId": "

The Amazon Web Services request ID for this operation.

", + "MaximumMinimumComputation$Name": "

The name of a computation.

", + "MetricComparisonComputation$Name": "

The name of a computation.

", "NamespaceError$Message": "

The message for the error.

", "NamespaceInfoV2$CapacityRegion": "

The namespace Amazon Web Services Region.

", + "ParameterSelectableValueList$member": null, + "PeriodOverPeriodComputation$Name": "

The name of a computation.

", + "PeriodToDateComputation$Name": "

The name of a computation.

", + "PivotTotalOptions$CustomLabel": "

The custom label string for the total cells.

", "PreconditionNotMetException$Message": null, "PreconditionNotMetException$RequestId": "

The Amazon Web Services request ID for this request.

", "PrincipalList$member": null, @@ -4132,9 +8183,16 @@ "SignupResponse$accountName": "

The name of your Amazon QuickSight account.

", "SignupResponse$directoryType": "

The type of Active Directory that is being used to authenticate the Amazon QuickSight account. Valid values are SIMPLE_AD, AD_CONNECTOR, and MICROSOFT_AD.

", "StringList$member": null, + "SubtotalOptions$CustomLabel": "

The custom label string for the subtotal cells.

", + "TableFieldCustomTextContent$Value": "

The string value of the custom text content for the table URL link content.

", "TagResourceResponse$RequestId": "

The Amazon Web Services request ID for this operation.

", "ThrottlingException$Message": null, "ThrottlingException$RequestId": "

The Amazon Web Services request ID for this request.

", + "TopBottomMoversComputation$Name": "

The name of a computation.

", + "TopBottomRankedComputation$Name": "

The name of a computation.

", + "TotalAggregationComputation$Name": "

The name of a computation.

", + "TotalOptions$CustomLabel": "

The custom label string for the total cells.

", + "UniqueValuesComputation$Name": "

The name of a computation.

", "UnsupportedPricingPlanException$Message": null, "UnsupportedPricingPlanException$RequestId": "

The Amazon Web Services request ID for this request.

", "UnsupportedUserEditionException$Message": null, @@ -4174,15 +8232,36 @@ "User$PrincipalId": "

The principal ID of the user.

", "User$ExternalLoginFederationProviderType": "

The type of supported external login provider that provides identity to let the user federate into Amazon QuickSight with an associated IAM role. The type can be one of the following.

", "User$ExternalLoginFederationProviderUrl": "

The URL of the external login provider.

", - "User$ExternalLoginId": "

The identity ID for the user in the external login provider.

" + "User$ExternalLoginId": "

The identity ID for the user in the external login provider.

", + "WaterfallChartOptions$TotalBarLabel": "

This option determines the total bar label of a waterfall visual.

" + } + }, + "StringDefaultValueList": { + "base": null, + "refs": { + "CustomParameterValues$StringValues": "

A list of string-type parameter values.

", + "StringDefaultValues$StaticValues": "

The static values of the DecimalDefaultValues.

" + } + }, + "StringDefaultValues": { + "base": "

The default values of the StringParameterDeclaration.

", + "refs": { + "StringParameterDeclaration$DefaultValues": "

The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided.

" + } + }, + "StringFormatConfiguration": { + "base": "

Formatting configuration for string fields.

", + "refs": { + "CategoricalDimensionField$FormatConfiguration": "

The format configuration of the field.

", + "CategoricalMeasureField$FormatConfiguration": "

The format configuration of the field.

", + "FormatConfiguration$StringFormatConfiguration": "

Formatting configuration for string fields.

" } }, "StringList": { "base": null, "refs": { "GenerateEmbedUrlForAnonymousUserRequest$AllowedDomains": "

The domains that you want to add to the allow list for access to the generated URL that is then embedded. This optional parameter overrides the static domains that are configured in the Manage QuickSight menu in the Amazon QuickSight console. Instead, it allows only the domains that you include in this parameter. You can list up to three domains or subdomains in each API call.

To include all subdomains under a specific domain to the allow list, use *. For example, https://*.sapp.amazon.com includes all subdomains under https://sapp.amazon.com.

", - "GenerateEmbedUrlForRegisteredUserRequest$AllowedDomains": "

The domains that you want to add to the allow list for access to the generated URL that is then embedded. This optional parameter overrides the static domains that are configured in the Manage QuickSight menu in the Amazon QuickSight console. Instead, it allows only the domains that you include in this parameter. You can list up to three domains or subdomains in each API call.

To include all subdomains under a specific domain to the allow list, use *. For example, https://*.sapp.amazon.com includes all subdomains under https://sapp.amazon.com.

", - "StringParameter$Values": "

The values of a string parameter.

" + "GenerateEmbedUrlForRegisteredUserRequest$AllowedDomains": "

The domains that you want to add to the allow list for access to the generated URL that is then embedded. This optional parameter overrides the static domains that are configured in the Manage QuickSight menu in the Amazon QuickSight console. Instead, it allows only the domains that you include in this parameter. You can list up to three domains or subdomains in each API call.

To include all subdomains under a specific domain to the allow list, use *. For example, https://*.sapp.amazon.com includes all subdomains under https://sapp.amazon.com.

" } }, "StringParameter": { @@ -4191,12 +8270,263 @@ "StringParameterList$member": null } }, + "StringParameterDeclaration": { + "base": "

A parameter declaration for the String data type.

", + "refs": { + "ParameterDeclaration$StringParameterDeclaration": "

A parameter declaration for the String data type.

" + } + }, "StringParameterList": { "base": null, "refs": { "Parameters$StringParameters": "

The parameters that have a data type of string.

" } }, + "StringValueWhenUnsetConfiguration": { + "base": "

The configuration that defines the default value of a String parameter when a value has not been set.

", + "refs": { + "StringParameterDeclaration$ValueWhenUnset": "

The configuration that defines the default value of a String parameter when a value has not been set.

" + } + }, + "SubtotalOptions": { + "base": "

The subtotal options.

", + "refs": { + "PivotTableTotalOptions$RowSubtotalOptions": "

The row subtotal options.

", + "PivotTableTotalOptions$ColumnSubtotalOptions": "

The column subtotal options.

" + } + }, + "Suffix": { + "base": null, + "refs": { + "CurrencyDisplayFormatConfiguration$Suffix": "

Determines the suffix value of the currency format.

", + "NumberDisplayFormatConfiguration$Suffix": "

Determines the suffix value of the number format.

", + "PercentageDisplayFormatConfiguration$Suffix": "

Determines the suffix value of the percentage format.

" + } + }, + "TableAggregatedFieldWells": { + "base": "

The aggregated field well for the table.

", + "refs": { + "TableFieldWells$TableAggregatedFieldWells": "

The aggregated field well for the table.

" + } + }, + "TableBorderOptions": { + "base": "

The border options for a table border.

", + "refs": { + "GlobalTableBorderOptions$UniformBorder": "

Determines the options for uniform border.

", + "TableSideBorderOptions$InnerVertical": "

The table border options of the inner vertical border.

", + "TableSideBorderOptions$InnerHorizontal": "

The table border options of the inner horizontal border.

", + "TableSideBorderOptions$Left": "

The table border options of the left border.

", + "TableSideBorderOptions$Right": "

The table border options of the right border.

", + "TableSideBorderOptions$Top": "

The table border options of the top border.

", + "TableSideBorderOptions$Bottom": "

The table border options of the bottom border.

" + } + }, + "TableBorderStyle": { + "base": null, + "refs": { + "TableBorderOptions$Style": "

The style (none, solid) of a table border.

" + } + }, + "TableBorderThickness": { + "base": null, + "refs": { + "TableBorderOptions$Thickness": "

The thickness of a table border.

" + } + }, + "TableCellConditionalFormatting": { + "base": "

The cell conditional formatting option for a table.

", + "refs": { + "TableConditionalFormattingOption$Cell": "

The cell conditional formatting option for a table.

" + } + }, + "TableCellImageScalingConfiguration": { + "base": null, + "refs": { + "TableCellImageSizingConfiguration$TableCellImageScalingConfiguration": "

The cell scaling configuration of the sizing options for the table image configuration.

" + } + }, + "TableCellImageSizingConfiguration": { + "base": "

The sizing options for the table image configuration.

", + "refs": { + "TableFieldImageConfiguration$SizingOptions": "

The sizing options for the table image configuration.

" + } + }, + "TableCellStyle": { + "base": "

The table cell style for a cell in pivot table or table visual.

", + "refs": { + "PivotTableOptions$ColumnHeaderStyle": "

The table cell style of the column header.

", + "PivotTableOptions$RowHeaderStyle": "

The table cell style of the row headers.

", + "PivotTableOptions$CellStyle": "

The table cell style of cells.

", + "PivotTableOptions$RowFieldNamesStyle": "

The table cell style of row field names.

", + "PivotTotalOptions$TotalCellStyle": "

The cell styling options for the total cells.

", + "PivotTotalOptions$ValueCellStyle": "

The cell styling options for the totals of value cells.

", + "PivotTotalOptions$MetricHeaderCellStyle": "

The cell styling options for the total of header cells.

", + "SubtotalOptions$TotalCellStyle": "

The cell styling options for the subtotal cells.

", + "SubtotalOptions$ValueCellStyle": "

The cell styling options for the subtotals of value cells.

", + "SubtotalOptions$MetricHeaderCellStyle": "

The cell styling options for the subtotals of header cells.

", + "TableOptions$HeaderStyle": "

The table cell style of a table header.

", + "TableOptions$CellStyle": "

The table cell style of table cells.

", + "TotalOptions$TotalCellStyle": "

Cell styling options for the total cells.

" + } + }, + "TableConditionalFormatting": { + "base": "

The conditional formatting for a PivotTableVisual.

", + "refs": { + "TableVisual$ConditionalFormatting": "

The conditional formatting for a PivotTableVisual.

" + } + }, + "TableConditionalFormattingOption": { + "base": "

Conditional formatting options for a PivotTableVisual.

", + "refs": { + "TableConditionalFormattingOptionList$member": null + } + }, + "TableConditionalFormattingOptionList": { + "base": null, + "refs": { + "TableConditionalFormatting$ConditionalFormattingOptions": "

Conditional formatting options for a PivotTableVisual.

" + } + }, + "TableConfiguration": { + "base": "

The configuration for a TableVisual.

", + "refs": { + "TableVisual$ChartConfiguration": "

The configuration settings of the visual.

" + } + }, + "TableFieldCustomIconContent": { + "base": "

The custom icon content for the table link content configuration.

", + "refs": { + "TableFieldLinkContentConfiguration$CustomIconContent": "

The custom icon content for the table link content configuration.

" + } + }, + "TableFieldCustomTextContent": { + "base": "

The custom text content (value, font configuration) for the table link content configuration.

", + "refs": { + "TableFieldLinkContentConfiguration$CustomTextContent": "

The custom text content (value, font configuration) for the table link content configuration.

" + } + }, + "TableFieldHeight": { + "base": null, + "refs": { + "TableCellStyle$Height": "

The height color for the table cells.

" + } + }, + "TableFieldIconSetType": { + "base": null, + "refs": { + "TableFieldCustomIconContent$Icon": "

The icon set type (link) of the custom icon content for table URL link content.

" + } + }, + "TableFieldImageConfiguration": { + "base": "

The image configuration of a table field URL.

", + "refs": { + "TableFieldURLConfiguration$ImageConfiguration": "

The image configuration of a table field URL.

" + } + }, + "TableFieldLinkConfiguration": { + "base": "

The link configuration of a table field URL.

", + "refs": { + "TableFieldURLConfiguration$LinkConfiguration": "

The link configuration of a table field URL.

" + } + }, + "TableFieldLinkContentConfiguration": { + "base": "

The URL content (text, icon) for the table link configuration.

", + "refs": { + "TableFieldLinkConfiguration$Content": "

The URL content (text, icon) for the table link configuration.

" + } + }, + "TableFieldOption": { + "base": "

The options for a table field.

", + "refs": { + "TableFieldOptionList$member": null + } + }, + "TableFieldOptionList": { + "base": null, + "refs": { + "TableFieldOptions$SelectedFieldOptions": "

The selected field options for the table field options.

" + } + }, + "TableFieldOptions": { + "base": "

The field options for a table visual.

", + "refs": { + "TableConfiguration$FieldOptions": "

The field options for a table visual.

" + } + }, + "TableFieldURLConfiguration": { + "base": "

The URL configuration for a table field.

", + "refs": { + "TableFieldOption$URLStyling": "

The URL configuration for a table field.

" + } + }, + "TableFieldWells": { + "base": "

The field wells for a table visual.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", + "refs": { + "TableConfiguration$FieldWells": "

The field wells of the visual.

" + } + }, + "TableOptions": { + "base": "

The table options for a table visual.

", + "refs": { + "TableConfiguration$TableOptions": "

The table options for a table visual.

" + } + }, + "TableOrientation": { + "base": null, + "refs": { + "TableOptions$Orientation": "

The orientation (vertical, horizontal) for a table.

" + } + }, + "TablePaginatedReportOptions": { + "base": "

The paginated report options for a table visual.

", + "refs": { + "TableConfiguration$PaginatedReportOptions": "

The paginated report options for a table visual.

" + } + }, + "TableRowConditionalFormatting": { + "base": "

The conditional formatting of a table row.

", + "refs": { + "TableConditionalFormattingOption$Row": "

The row conditional formatting option for a table.

" + } + }, + "TableSideBorderOptions": { + "base": "

The side border options for a table.

", + "refs": { + "GlobalTableBorderOptions$SideSpecificBorder": "

Determines the options for side specific border.

" + } + }, + "TableSortConfiguration": { + "base": "

The sort configuration for a TableVisual.

", + "refs": { + "TableConfiguration$SortConfiguration": "

The sort configuration for a TableVisual.

" + } + }, + "TableTotalsPlacement": { + "base": null, + "refs": { + "PivotTotalOptions$Placement": "

The placement (start, end) for the total cells.

", + "TotalOptions$Placement": "

The placement (start, end) for the total cells.

" + } + }, + "TableTotalsScrollStatus": { + "base": null, + "refs": { + "PivotTotalOptions$ScrollStatus": "

The scroll status (pinned, scrolled) for the total cells.

", + "TotalOptions$ScrollStatus": "

The scroll status (pinned, scrolled) for the total cells.

" + } + }, + "TableUnaggregatedFieldWells": { + "base": "

The unaggregated field well for the table.

", + "refs": { + "TableFieldWells$TableUnaggregatedFieldWells": "

The unaggregated field well for the table.

" + } + }, + "TableVisual": { + "base": "

A table visual.

For more information, see Using tables as visuals in the Amazon QuickSight User Guide.

", + "refs": { + "Visual$TableVisual": "

A table visual.

For more information, see Using tables as visuals in the Amazon QuickSight User Guide.

" + } + }, "Tag": { "base": "

The key or keys of the key-value pairs for the resource tag or tags assigned to the resource.

", "refs": { @@ -4254,6 +8584,18 @@ "Tag$Value": "

Tag value.

" } }, + "TargetVisualList": { + "base": null, + "refs": { + "SameSheetTargetVisualConfiguration$TargetVisuals": "

A list of the target visual IDs that are located in the same sheet of the analysis.

" + } + }, + "TargetVisualOptions": { + "base": null, + "refs": { + "SameSheetTargetVisualConfiguration$TargetVisualOptions": "

The options that choose the target visual in the same sheet.

Valid values are defined as follows:

" + } + }, "Template": { "base": "

A template object. A template is an entity in Amazon QuickSight that encapsulates the metadata required to create an analysis and that you can use to create a dashboard. A template adds a layer of abstraction by using placeholders to replace the dataset associated with an analysis. You can use templates to create dashboards by replacing dataset placeholders with datasets that follow the same schema that was used to create the source analysis and template.

You can share templates across Amazon Web Services accounts by allowing users in other Amazon Web Services accounts to create a template or a dashboard from an existing template.

", "refs": { @@ -4284,6 +8626,7 @@ "TemplateErrorList": { "base": null, "refs": { + "DescribeTemplateDefinitionResponse$Errors": "

Errors associated with the template version.

", "TemplateVersion$Errors": "

Errors associated with this template version.

" } }, @@ -4297,6 +8640,7 @@ "base": null, "refs": { "CreateTemplateRequest$Name": "

A display name for the template.

", + "DescribeTemplateDefinitionResponse$Name": "

The descriptive name of the template.

", "Template$Name": "

The display name of the template.

", "TemplateSummary$Name": "

A display name for the template.

", "UpdateTemplateRequest$Name": "

The name for the template.

" @@ -4339,6 +8683,14 @@ "Template$Version": "

A structure describing the versions of the template.

" } }, + "TemplateVersionDefinition": { + "base": "

The detailed definition of a template.

", + "refs": { + "CreateTemplateRequest$Definition": "

The definition of a template.

A definition is the data model of all features in a Dashboard, Template, or Analysis.

", + "DescribeTemplateDefinitionResponse$Definition": "

The definition of the template.

A definition is the data model of all features in a Dashboard, Template, or Analysis.

", + "UpdateTemplateRequest$Definition": "

The definition of a template.

A definition is the data model of all features in a Dashboard, Template, or Analysis.

" + } + }, "TemplateVersionSummary": { "base": "

The template version.

", "refs": { @@ -4357,12 +8709,53 @@ "DataSourceParameters$TeradataParameters": "

The parameters for Teradata.

" } }, + "TextAreaControlDelimiter": { + "base": null, + "refs": { + "FilterTextAreaControl$Delimiter": "

The delimiter that is used to separate the lines in text.

", + "ParameterTextAreaControl$Delimiter": "

The delimiter that is used to separate the lines in text.

" + } + }, + "TextAreaControlDisplayOptions": { + "base": "

The display options of a control.

", + "refs": { + "FilterTextAreaControl$DisplayOptions": "

The display options of a control.

", + "ParameterTextAreaControl$DisplayOptions": "

The display options of a control.

" + } + }, + "TextConditionalFormat": { + "base": "

The conditional formatting for the text.

", + "refs": { + "PivotTableCellConditionalFormatting$TextFormat": "

The text format of the cell for conditional formatting.

", + "TableCellConditionalFormatting$TextFormat": "

The text format of the cell for conditional formatting.

" + } + }, + "TextControlPlaceholderOptions": { + "base": "

The configuration of the placeholder options in a text control.

", + "refs": { + "TextAreaControlDisplayOptions$PlaceholderOptions": "

The configuration of the placeholder options in a text area control.

", + "TextFieldControlDisplayOptions$PlaceholderOptions": "

The configuration of the placeholder options in a text field control.

" + } + }, + "TextFieldControlDisplayOptions": { + "base": "

The display options of a control.

", + "refs": { + "FilterTextFieldControl$DisplayOptions": "

The display options of a control.

", + "ParameterTextFieldControl$DisplayOptions": "

The display options of a control.

" + } + }, "TextQualifier": { "base": null, "refs": { "UploadSettings$TextQualifier": "

Text qualifier.

" } }, + "TextWrap": { + "base": null, + "refs": { + "TableCellStyle$TextWrap": "

The text wrap (none, wrap) for the table cells.

" + } + }, "Theme": { "base": "

Summary information about a theme.

", "refs": { @@ -4438,39 +8831,92 @@ "Theme$Type": "

The type of theme, based on how it was created. Valid values include: QUICKSIGHT and CUSTOM.

" } }, - "ThemeVersion": { - "base": "

A version of a theme.

", + "ThemeVersion": { + "base": "

A version of a theme.

", + "refs": { + "Theme$Version": null + } + }, + "ThemeVersionSummary": { + "base": "

The theme version.

", + "refs": { + "ThemeVersionSummaryList$member": null + } + }, + "ThemeVersionSummaryList": { + "base": null, + "refs": { + "ListThemeVersionsResponse$ThemeVersionSummaryList": "

A structure containing a list of all the versions of the specified theme.

" + } + }, + "ThousandSeparatorOptions": { + "base": "

The options that determine the thousands separator configuration.

", + "refs": { + "NumericSeparatorConfiguration$ThousandsSeparator": "

The options that determine the thousands separator configuration.

" + } + }, + "ThrottlingException": { + "base": "

Access is throttled.

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

The display options for the layout of tiles on a sheet.

", + "refs": { + "SheetStyle$TileLayout": "

The layout options for tiles.

" + } + }, + "TileStyle": { + "base": "

Display options related to tiles on a sheet.

", + "refs": { + "SheetStyle$Tile": "

The display options for tiles.

" + } + }, + "TimeBasedForecastProperties": { + "base": "

The forecast properties setup of a forecast in the line chart.

", "refs": { - "Theme$Version": null + "ForecastConfiguration$ForecastProperties": "

The forecast properties setup of a forecast in the line chart.

" } }, - "ThemeVersionSummary": { - "base": "

The theme version.

", + "TimeEqualityFilter": { + "base": "

A TimeEqualityFilter filters values that are equal to a given value.

", "refs": { - "ThemeVersionSummaryList$member": null + "Filter$TimeEqualityFilter": "

A TimeEqualityFilter filters date-time values that equal or do not equal a given date/time value.

" } }, - "ThemeVersionSummaryList": { + "TimeGranularity": { "base": null, "refs": { - "ListThemeVersionsResponse$ThemeVersionSummaryList": "

A structure containing a list of all the versions of the specified theme.

" + "DataPathColor$TimeGranularity": "

The time granularity of the field that the color needs to be applied to.

", + "DateDimensionField$DateGranularity": "

The date granularity of the DateDimensionField. Choose one of the following options:

", + "DateTimeParameterDeclaration$TimeGranularity": "

The level of time precision that is used to aggregate DateTime values.

", + "ExcludePeriodConfiguration$Granularity": "

The granularity or unit (day, month, year) of the exclude period.

", + "PeriodToDateComputation$PeriodTimeGranularity": "

The time granularity setup of period to date computation. Choose from the following options:

", + "RelativeDatesFilter$MinimumGranularity": "

The minimum granularity (period granularity) of the relative dates filter.

", + "RelativeDatesFilter$TimeGranularity": "

The level of time precision that is used to aggregate DateTime values.

", + "TimeEqualityFilter$TimeGranularity": "

The level of time precision that is used to aggregate DateTime values.

", + "TimeRangeDrillDownFilter$TimeGranularity": "

The level of time precision that is used to aggregate DateTime values.

", + "TimeRangeFilter$TimeGranularity": "

The level of time precision that is used to aggregate DateTime values.

", + "TopBottomFilter$TimeGranularity": "

The level of time precision that is used to aggregate DateTime values.

" } }, - "ThrottlingException": { - "base": "

Access is throttled.

", + "TimeRangeDrillDownFilter": { + "base": "

The time range drill down filter.

", "refs": { + "DrillDownFilter$TimeRangeFilter": "

The time range drill down filter. This filter is used for date time columns.

" } }, - "TileLayoutStyle": { - "base": "

The display options for the layout of tiles on a sheet.

", + "TimeRangeFilter": { + "base": "

A TimeRangeFilter filters values that are between two specified values.

", "refs": { - "SheetStyle$TileLayout": "

The layout options for tiles.

" + "Filter$TimeRangeFilter": "

A TimeRangeFilter filters date-time values that are either inside or outside a given date/time range.

" } }, - "TileStyle": { - "base": "

Display options related to tiles on a sheet.

", + "TimeRangeFilterValue": { + "base": "

The value of a time range filter.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", "refs": { - "SheetStyle$Tile": "

The display options for tiles.

" + "TimeRangeFilter$RangeMinimumValue": "

The minimum value for the filter value range.

", + "TimeRangeFilter$RangeMaximumValue": "

The maximum value for the filter value range.

" } }, "Timestamp": { @@ -4480,9 +8926,9 @@ "Analysis$LastUpdatedTime": "

The time that the analysis was last updated.

", "AnalysisSummary$CreatedTime": "

The time that the analysis was created.

", "AnalysisSummary$LastUpdatedTime": "

The time that the analysis was last updated.

", - "Dashboard$CreatedTime": "

The time that this dataset was created.

", - "Dashboard$LastPublishedTime": "

The last time that this dataset was published.

", - "Dashboard$LastUpdatedTime": "

The last time that this dataset was updated.

", + "Dashboard$CreatedTime": "

The time that this dashboard was created.

", + "Dashboard$LastPublishedTime": "

The last time that this dashboard was published.

", + "Dashboard$LastUpdatedTime": "

The last time that this dashboard was updated.

", "DashboardSummary$CreatedTime": "

The time that this dashboard was created.

", "DashboardSummary$LastUpdatedTime": "

The last time that this dashboard was updated.

", "DashboardSummary$LastPublishedTime": "

The last time that this dashboard was published.

", @@ -4514,13 +8960,104 @@ "ThemeSummary$LastUpdatedTime": "

The last date and time that this theme was updated.

", "ThemeVersion$CreatedTime": "

The date and time that this theme version was created.

", "ThemeVersionSummary$CreatedTime": "

The date and time that this theme version was created.

", - "TimestampList$member": null + "TimeEqualityFilter$Value": "

The value of a TimeEquality filter.

This field is mutually exclusive to ParameterName.

", + "TimeRangeDrillDownFilter$RangeMinimum": "

The minimum value for the filter value range.

", + "TimeRangeDrillDownFilter$RangeMaximum": "

The maximum value for the filter value range.

", + "TimeRangeFilterValue$StaticValue": "

The static input value.

", + "WhatIfPointScenario$Date": "

The date that you need the forecast results for.

", + "WhatIfRangeScenario$StartDate": "

The start date in the date range that you need the forecast results for.

", + "WhatIfRangeScenario$EndDate": "

The end date in the date range that you need the forecast results for.

" + } + }, + "TooltipItem": { + "base": "

The tooltip.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", + "refs": { + "TooltipItemList$member": null } }, - "TimestampList": { + "TooltipItemList": { "base": null, "refs": { - "DateTimeParameter$Values": "

The values for the date-time parameter.

" + "FieldBasedTooltip$TooltipFields": "

The fields configuration in the tooltip.

" + } + }, + "TooltipOptions": { + "base": "

The display options for the visual tooltip.

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

The tooltip display setup of the visual.

", + "BoxPlotChartConfiguration$Tooltip": "

The tooltip display setup of the visual.

", + "ComboChartConfiguration$Tooltip": "

The legend display setup of the visual.

", + "FilledMapConfiguration$Tooltip": "

The tooltip display setup of the visual.

", + "FunnelChartConfiguration$Tooltip": "

The tooltip configuration of a FunnelChartVisual.

", + "GaugeChartConfiguration$TooltipOptions": "

The tooltip configuration of a GaugeChartVisual.

", + "GeospatialMapConfiguration$Tooltip": "

The tooltip display setup of the visual.

", + "HeatMapConfiguration$Tooltip": "

The tooltip display setup of the visual.

", + "HistogramConfiguration$Tooltip": "

The tooltip configuration of a histogram.

", + "LineChartConfiguration$Tooltip": "

The tooltip configuration of a line chart.

", + "PieChartConfiguration$Tooltip": "

The tooltip display setup of the visual.

", + "ScatterPlotConfiguration$Tooltip": "

The legend display setup of the visual.

", + "TreeMapConfiguration$Tooltip": "

The tooltip display setup of the visual.

" + } + }, + "TooltipTitleType": { + "base": null, + "refs": { + "FieldBasedTooltip$TooltipTitleType": "

The type for the >tooltip title. Choose one of the following options:

" + } + }, + "TopBottomComputationType": { + "base": null, + "refs": { + "TopBottomMoversComputation$Type": "

The computation type. Choose from the following options:

", + "TopBottomRankedComputation$Type": "

The computation type. Choose one of the following options:

" + } + }, + "TopBottomFilter": { + "base": "

A TopBottomFilter filters values that are at the top or the bottom.

", + "refs": { + "Filter$TopBottomFilter": "

A TopBottomFilter filters data to the top or bottom values for a given column.

" + } + }, + "TopBottomMoversComputation": { + "base": "

The top movers and bottom movers computation setup.

", + "refs": { + "Computation$TopBottomMovers": "

The top movers and bottom movers computation configuration.

" + } + }, + "TopBottomMoversComputationMoverSize": { + "base": null, + "refs": { + "TopBottomMoversComputation$MoverSize": "

The mover size setup of the top and bottom movers computation.

" + } + }, + "TopBottomRankedComputation": { + "base": "

The top ranked and bottom ranked computation configuration.

", + "refs": { + "Computation$TopBottomRanked": "

The top ranked and bottom ranked computation configuration.

" + } + }, + "TopBottomRankedComputationResultSize": { + "base": null, + "refs": { + "TopBottomRankedComputation$ResultSize": "

The result size of a top and bottom ranked computation.

" + } + }, + "TopBottomSortOrder": { + "base": null, + "refs": { + "TopBottomMoversComputation$SortOrder": "

The sort order setup of the top and bottom movers computation.

" + } + }, + "TotalAggregationComputation": { + "base": "

The total aggregation computation configuration.

", + "refs": { + "Computation$TotalAggregation": "

The total aggregation computation configuration.

" + } + }, + "TotalOptions": { + "base": "

The total options for a table visual.

", + "refs": { + "TableConfiguration$TotalOptions": "

The total options for a table visual.

" } }, "TransformOperation": { @@ -4535,6 +9072,55 @@ "LogicalTable$DataTransforms": "

Transform operations that act on this logical table.

" } }, + "TreeMapAggregatedFieldWells": { + "base": "

Aggregated field wells of a tree map.

", + "refs": { + "TreeMapFieldWells$TreeMapAggregatedFieldWells": "

The aggregated field wells of a tree map.

" + } + }, + "TreeMapConfiguration": { + "base": "

The configuration of a tree map.

", + "refs": { + "TreeMapVisual$ChartConfiguration": "

The configuration settings of the visual.

" + } + }, + "TreeMapDimensionFieldList": { + "base": null, + "refs": { + "TreeMapAggregatedFieldWells$Groups": "

The group by field well of a tree map. Values are grouped based on group by fields.

" + } + }, + "TreeMapFieldWells": { + "base": "

The field wells of a tree map.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", + "refs": { + "TreeMapConfiguration$FieldWells": "

The field wells of the visual.

" + } + }, + "TreeMapMeasureFieldList": { + "base": null, + "refs": { + "TreeMapAggregatedFieldWells$Sizes": "

The size field well of a tree map. Values are aggregated based on group by fields.

", + "TreeMapAggregatedFieldWells$Colors": "

The color field well of a tree map. Values are grouped by aggregations based on group by fields.

" + } + }, + "TreeMapSortConfiguration": { + "base": "

The sort configuration of a tree map.

", + "refs": { + "TreeMapConfiguration$SortConfiguration": "

The sort configuration of a tree map.

" + } + }, + "TreeMapVisual": { + "base": "

A tree map.

For more information, see Using tree maps in the Amazon QuickSight User Guide.

", + "refs": { + "Visual$TreeMapVisual": "

A tree map.

For more information, see Using tree maps in the Amazon QuickSight User Guide.

" + } + }, + "TrendArrowOptions": { + "base": "

The options that determine the presentation of trend arrows in a KPI visual.

", + "refs": { + "KPIOptions$TrendArrows": "

The options that determine the presentation of trend arrows in a KPI visual.

" + } + }, "TwitterParameters": { "base": "

The parameters for Twitter.

", "refs": { @@ -4547,12 +9133,62 @@ "CastColumnTypeOperation$Format": "

When casting a column from string to datetime type, you can supply a string in a format supported by Amazon QuickSight to denote the source data format.

" } }, + "Typography": { + "base": "

Determines the typography options.

", + "refs": { + "ThemeConfiguration$Typography": null + } + }, "UIColorPalette": { "base": "

The theme colors that apply to UI and to charts, excluding data colors. The colors description is a hexadecimal color code that consists of six alphanumerical characters, prefixed with #, for example #37BFF5. For more information, see Using Themes in Amazon QuickSight in the Amazon QuickSight User Guide.

", "refs": { "ThemeConfiguration$UIColorPalette": "

Color properties that apply to the UI and to charts, excluding the colors that apply to data.

" } }, + "URLOperationTemplate": { + "base": null, + "refs": { + "CustomActionURLOperation$URLTemplate": "

THe URL link of the CustomActionURLOperation.

", + "CustomContentConfiguration$ContentUrl": "

The input URL that links to the custom content that you want in the custom visual.

" + } + }, + "URLTargetConfiguration": { + "base": null, + "refs": { + "CustomActionURLOperation$URLTarget": "

The target of the CustomActionURLOperation.

Valid values are defined as follows:

", + "TableFieldLinkConfiguration$Target": "

The URL target (new tab, new window, same tab) for the table link configuration.

" + } + }, + "UnaggregatedField": { + "base": "

The unaggregated field for a table.

", + "refs": { + "UnaggregatedFieldList$member": null + } + }, + "UnaggregatedFieldList": { + "base": null, + "refs": { + "TableUnaggregatedFieldWells$Values": "

The values field well for a pivot table. Values are unaggregated for an unaggregated table.

" + } + }, + "UnicodeIcon": { + "base": null, + "refs": { + "ConditionalFormattingCustomIconOptions$UnicodeIcon": "

Determines the Unicode icon type.

" + } + }, + "UniqueValuesComputation": { + "base": "

The unique values computation configuration.

", + "refs": { + "Computation$UniqueValues": "

The unique values computation configuration.

" + } + }, + "UnlimitedPixelLength": { + "base": "String based length that is composed of value and unit in px with Integer.MAX_VALUE as maximum value", + "refs": { + "FreeFormLayoutElement$YAxisLocation": "

The y-axis coordinate of the element.

" + } + }, "UnsupportedPricingPlanException": { "base": "

This error indicates that you are calling an embedding operation in Amazon QuickSight without the required pricing plan on your Amazon Web Services account. Before you can use embedding for anonymous users, a QuickSight administrator needs to add capacity pricing to Amazon QuickSight. You can do this on the Manage Amazon QuickSight page.

After capacity pricing is added, you can use the GetDashboardEmbedUrl API operation with the --identity-type ANONYMOUS option.

", "refs": { @@ -4886,6 +9522,15 @@ "CredentialPair$Username": "

User name.

" } }, + "ValueWhenUnsetOption": { + "base": null, + "refs": { + "DateTimeValueWhenUnsetConfiguration$ValueWhenUnsetOption": "

The built-in options for default values. The value can be one of the following:

", + "DecimalValueWhenUnsetConfiguration$ValueWhenUnsetOption": "

The built-in options for default values. The value can be one of the following:

", + "IntegerValueWhenUnsetConfiguration$ValueWhenUnsetOption": "

The built-in options for default values. The value can be one of the following:

", + "StringValueWhenUnsetConfiguration$ValueWhenUnsetOption": "

The built-in options for default values. The value can be one of the following:

" + } + }, "VersionDescription": { "base": null, "refs": { @@ -4914,7 +9559,9 @@ "DeleteDashboardRequest$VersionNumber": "

The version number of the dashboard. If the version number property is provided, only the specified version of the dashboard is deleted.

", "DeleteTemplateRequest$VersionNumber": "

Specifies the version of the template that you want to delete. If you don't provide a version number, DeleteTemplate deletes all versions of the template.

", "DeleteThemeRequest$VersionNumber": "

The version of the theme that you want to delete.

Note: If you don't provide a version number, you're using this call to DeleteTheme to delete all versions of the theme.

", + "DescribeDashboardDefinitionRequest$VersionNumber": "

The version number for the dashboard. If a version number isn't passed, the latest published dashboard version is described.

", "DescribeDashboardRequest$VersionNumber": "

The version number for the dashboard. If a version number isn't passed, the latest published dashboard version is described.

", + "DescribeTemplateDefinitionRequest$VersionNumber": "

The version number of the template.

", "DescribeTemplateRequest$VersionNumber": "

(Optional) The number for the version to describe. If a VersionNumber parameter value isn't provided, the latest version of the template is described.

", "DescribeThemeRequest$VersionNumber": "

The version number for the version to describe. If a VersionNumber parameter value isn't provided, the latest version of the theme is described.

", "TemplateAlias$TemplateVersionNumber": "

The version number of the template alias.

", @@ -4930,6 +9577,231 @@ "UpdateThemeAliasRequest$ThemeVersionNumber": "

The version number of the theme that the alias should reference.

" } }, + "VerticalTextAlignment": { + "base": null, + "refs": { + "TableCellStyle$VerticalTextAlignment": "

The vertical text alignment (top, middle, bottom) for the table cells.

" + } + }, + "Visibility": { + "base": null, + "refs": { + "AxisDisplayOptions$AxisLineVisibility": "

Determines whether or not the axis line is visible.

", + "AxisDisplayOptions$GridLineVisibility": "

Determines whether or not the grid line is visible.

", + "BoxPlotOptions$OutlierVisibility": "

Determines the visibility of the outlier in a box plot.

", + "BoxPlotOptions$AllDataPointsVisibility": "

Determines the visibility of all data points of the box plot.

", + "ChartAxisLabelOptions$Visibility": "

The visibility of an axis label on a chart. Choose one of the following options:

", + "ChartAxisLabelOptions$SortIconVisibility": "

The visibility configuration of the sort icon on a chart's axis label.

", + "ColumnTooltipItem$Visibility": "

The visibility of the tooltip item.

", + "DataLabelOptions$Visibility": "

Determines the visibility of the data labels.

", + "DataLabelOptions$CategoryLabelVisibility": "

Determines the visibility of the category field labels.

", + "DataLabelOptions$MeasureLabelVisibility": "

Determines the visibility of the measure field labels.

", + "DataPathLabelType$Visibility": "

The visibility of the data label.

", + "DateAxisOptions$MissingDateVisibility": "

Determines whether or not missing dates are displayed.

", + "DonutCenterOptions$LabelVisibility": "

Determines the visibility of the label in a donut chart. In the Amazon QuickSight console, this option is called 'Show total'.

", + "FieldBasedTooltip$AggregationVisibility": "

The visibility of Show aggregations.

", + "FieldLabelType$Visibility": "

The visibility of the field label.

", + "FieldTooltipItem$Visibility": "

The visibility of the tooltip item.

", + "FreeFormLayoutElement$Visibility": "

The visibility of an element within a free-form layout.

", + "FreeFormLayoutElementBackgroundStyle$Visibility": "

The background visibility of a free-form layout element.

", + "FreeFormLayoutElementBorderStyle$Visibility": "

The border visibility of a free-form layout element.

", + "FunnelChartDataLabelOptions$Visibility": "

The visibility option that determines if data labels are displayed.

", + "FunnelChartDataLabelOptions$CategoryLabelVisibility": "

The visibility of the category labels within the data labels.

", + "FunnelChartDataLabelOptions$MeasureLabelVisibility": "

The visibility of the measure labels within the data labels.

", + "LabelOptions$Visibility": "

Determines whether or not the label is visible.

", + "LegendOptions$Visibility": "

Determines whether or not the legend is visible.

", + "LineChartLineStyleSettings$LineVisibility": "

Configuration option that determines whether to show the line for the series.

", + "LineChartMarkerStyleSettings$MarkerVisibility": "

Configuration option that determines whether to show the markers in the series.

", + "ListControlSearchOptions$Visibility": "

The visibility configuration of the search options in a list control.

", + "ListControlSelectAllOptions$Visibility": "

The visibility configuration of the Select all options in a list control.

", + "LoadingAnimation$Visibility": "

The visibility configuration of LoadingAnimation.

", + "MaximumLabelType$Visibility": "

The visibility of the maximum label.

", + "MinimumLabelType$Visibility": "

The visibility of the minimum label.

", + "PanelConfiguration$BorderVisibility": "

Determines whether or not each panel displays a border.

", + "PanelConfiguration$GutterVisibility": "

Determines whether or not negative space between sibling panels is rendered.

", + "PanelConfiguration$BackgroundVisibility": "

Determines whether or not a background for each small multiples panel is rendered.

", + "PanelTitleOptions$Visibility": "

Determines whether or not panel titles are displayed.

", + "PivotTableFieldOption$Visibility": "

The visibility of the pivot table field.

", + "PivotTableOptions$SingleMetricVisibility": "

The visibility of the single metric options.

", + "PivotTableOptions$ColumnNamesVisibility": "

The visibility of the column names.

", + "PivotTableOptions$ToggleButtonsVisibility": "

Determines the visibility of the pivot table.

", + "PivotTablePaginatedReportOptions$VerticalOverflowVisibility": "

The visibility of the printing table overflow across pages.

", + "PivotTablePaginatedReportOptions$OverflowColumnHeaderVisibility": "

The visibility of the repeating header rows on each page.

", + "PivotTotalOptions$TotalsVisibility": "

The visibility configuration for the total cells.

", + "ProgressBarOptions$Visibility": "

The visibility of the progress bar.

", + "RangeEndsLabelType$Visibility": "

The visibility of the range ends label.

", + "ScrollBarOptions$Visibility": "

The visibility of the data zoom scroll bar.

", + "SecondaryValueOptions$Visibility": "

Determines the visibility of the secondary value.

", + "SheetElementConfigurationOverrides$Visibility": "

Determines whether or not the overrides are visible. Choose one of the following options:

", + "SubtotalOptions$TotalsVisibility": "

The visibility configuration for the subtotal cells.

", + "TableCellStyle$Visibility": "

The visibility of the table cells.

", + "TableFieldOption$Visibility": "

The visibility of a table field.

", + "TablePaginatedReportOptions$VerticalOverflowVisibility": "

The visibility of printing table overflow across pages.

", + "TablePaginatedReportOptions$OverflowColumnHeaderVisibility": "

The visibility of repeating header rows on each page.

", + "TextControlPlaceholderOptions$Visibility": "

The visibility configuration of the placeholder options in a text control.

", + "ThousandSeparatorOptions$Visibility": "

Determines the visibility of the thousands separator.

", + "TooltipOptions$TooltipVisibility": "

Determines whether or not the tooltip is visible.

", + "TotalOptions$TotalsVisibility": "

The visibility configuration for the total cells.

", + "TrendArrowOptions$Visibility": "

The visibility of the trend arrows.

", + "VisualSubtitleLabelOptions$Visibility": "

The visibility of the subtitle label.

", + "VisualTitleLabelOptions$Visibility": "

The visibility of the title label.

" + } + }, + "VisiblePanelColumns": { + "base": null, + "refs": { + "SmallMultiplesOptions$MaxVisibleColumns": "

Sets the maximum number of visible columns to display in the grid of small multiples panels.

The default is Auto, which automatically adjusts the columns in the grid to fit the overall layout and size of the given chart.

" + } + }, + "VisiblePanelRows": { + "base": null, + "refs": { + "SmallMultiplesOptions$MaxVisibleRows": "

Sets the maximum number of visible rows to display in the grid of small multiples panels.

The default value is Auto, which automatically adjusts the rows in the grid to fit the overall layout and size of the given chart.

" + } + }, + "VisibleRangeOptions": { + "base": "

The range options for the data zoom scroll bar.

", + "refs": { + "ScrollBarOptions$VisibleRange": "

The visibility range for the data zoom scroll bar.

" + } + }, + "Visual": { + "base": "

A visual displayed on a sheet in an analysis, dashboard, or template.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", + "refs": { + "VisualList$member": null + } + }, + "VisualCustomAction": { + "base": "

A custom action defined on a visual.

", + "refs": { + "VisualCustomActionList$member": null + } + }, + "VisualCustomActionList": { + "base": null, + "refs": { + "BarChartVisual$Actions": "

The list of custom actions that are configured for a visual.

", + "BoxPlotVisual$Actions": "

The list of custom actions that are configured for a visual.

", + "ComboChartVisual$Actions": "

The list of custom actions that are configured for a visual.

", + "CustomContentVisual$Actions": "

The list of custom actions that are configured for a visual.

", + "EmptyVisual$Actions": "

The list of custom actions that are configured for a visual.

", + "FilledMapVisual$Actions": "

The list of custom actions that are configured for a visual.

", + "FunnelChartVisual$Actions": "

The list of custom actions that are configured for a visual.

", + "GaugeChartVisual$Actions": "

The list of custom actions that are configured for a visual.

", + "GeospatialMapVisual$Actions": "

The list of custom actions that are configured for a visual.

", + "HeatMapVisual$Actions": "

The list of custom actions that are configured for a visual.

", + "HistogramVisual$Actions": "

The list of custom actions that are configured for a visual.

", + "InsightVisual$Actions": "

The list of custom actions that are configured for a visual.

", + "KPIVisual$Actions": "

The list of custom actions that are configured for a visual.

", + "LineChartVisual$Actions": "

The list of custom actions that are configured for a visual.

", + "PieChartVisual$Actions": "

The list of custom actions that are configured for a visual.

", + "PivotTableVisual$Actions": "

The list of custom actions that are configured for a visual.

", + "SankeyDiagramVisual$Actions": "

The list of custom actions that are configured for a visual.

", + "ScatterPlotVisual$Actions": "

The list of custom actions that are configured for a visual.

", + "TableVisual$Actions": "

The list of custom actions that are configured for a visual.

", + "TreeMapVisual$Actions": "

The list of custom actions that are configured for a visual.

", + "WaterfallVisual$Actions": "

The list of custom actions that are configured for a visual.

", + "WordCloudVisual$Actions": "

The list of custom actions that are configured for a visual.

" + } + }, + "VisualCustomActionName": { + "base": null, + "refs": { + "VisualCustomAction$Name": "

The name of the VisualCustomAction.

" + } + }, + "VisualCustomActionOperation": { + "base": "

The operation that is defined by the custom action.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", + "refs": { + "VisualCustomActionOperationList$member": null + } + }, + "VisualCustomActionOperationList": { + "base": null, + "refs": { + "VisualCustomAction$ActionOperations": "

A list of VisualCustomActionOperations.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

" + } + }, + "VisualCustomActionTrigger": { + "base": null, + "refs": { + "VisualCustomAction$Trigger": "

The trigger of the VisualCustomAction.

Valid values are defined as follows:

" + } + }, + "VisualList": { + "base": null, + "refs": { + "SheetDefinition$Visuals": "

A list of the visuals that are on a sheet. Visual placement is determined by the layout of the sheet.

" + } + }, + "VisualPalette": { + "base": "

The visual display options for the visual palette.

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

The palette (chart color) display setup of the visual.

", + "BoxPlotChartConfiguration$VisualPalette": "

The palette (chart color) display setup of the visual.

", + "ComboChartConfiguration$VisualPalette": "

The palette (chart color) display setup of the visual.

", + "FunnelChartConfiguration$VisualPalette": "

The visual palette configuration of a FunnelChartVisual.

", + "GaugeChartConfiguration$VisualPalette": "

The visual palette configuration of a GaugeChartVisual.

", + "GeospatialMapConfiguration$VisualPalette": null, + "HistogramConfiguration$VisualPalette": "

The visual palette configuration of a histogram.

", + "LineChartConfiguration$VisualPalette": "

The visual palette configuration of a line chart.

", + "PieChartConfiguration$VisualPalette": "

The palette (chart color) display setup of the visual.

", + "ScatterPlotConfiguration$VisualPalette": "

The palette (chart color) display setup of the visual.

", + "WaterfallChartConfiguration$VisualPalette": "

The visual palette configuration of a waterfall visual.

" + } + }, + "VisualSubtitleLabelOptions": { + "base": "

The subtitle label options for a visual.

", + "refs": { + "BarChartVisual$Subtitle": "

The subtitle that is displayed on the visual.

", + "BoxPlotVisual$Subtitle": "

The subtitle that is displayed on the visual.

", + "ComboChartVisual$Subtitle": "

The subtitle that is displayed on the visual.

", + "CustomContentVisual$Subtitle": "

The subtitle that is displayed on the visual.

", + "FilledMapVisual$Subtitle": "

The subtitle that is displayed on the visual.

", + "FunnelChartVisual$Subtitle": "

The subtitle that is displayed on the visual.

", + "GaugeChartVisual$Subtitle": "

The subtitle that is displayed on the visual.

", + "GeospatialMapVisual$Subtitle": "

The subtitle that is displayed on the visual.

", + "HeatMapVisual$Subtitle": "

The subtitle that is displayed on the visual.

", + "HistogramVisual$Subtitle": "

The subtitle that is displayed on the visual.

", + "InsightVisual$Subtitle": "

The subtitle that is displayed on the visual.

", + "KPIVisual$Subtitle": "

The subtitle that is displayed on the visual.

", + "LineChartVisual$Subtitle": "

The subtitle that is displayed on the visual.

", + "PieChartVisual$Subtitle": "

The subtitle that is displayed on the visual.

", + "PivotTableVisual$Subtitle": "

The subtitle that is displayed on the visual.

", + "SankeyDiagramVisual$Subtitle": "

The subtitle that is displayed on the visual.

", + "ScatterPlotVisual$Subtitle": "

The subtitle that is displayed on the visual.

", + "TableVisual$Subtitle": "

The subtitle that is displayed on the visual.

", + "TreeMapVisual$Subtitle": "

The subtitle that is displayed on the visual.

", + "WaterfallVisual$Subtitle": "

The subtitle that is displayed on the visual.

", + "WordCloudVisual$Subtitle": "

The subtitle that is displayed on the visual.

" + } + }, + "VisualTitleLabelOptions": { + "base": "

The title label options for a visual.

", + "refs": { + "BarChartVisual$Title": "

The title that is displayed on the visual.

", + "BoxPlotVisual$Title": "

The title that is displayed on the visual.

", + "ComboChartVisual$Title": "

The title that is displayed on the visual.

", + "CustomContentVisual$Title": "

The title that is displayed on the visual.

", + "FilledMapVisual$Title": "

The title that is displayed on the visual.

", + "FunnelChartVisual$Title": "

The title that is displayed on the visual.

", + "GaugeChartVisual$Title": "

The title that is displayed on the visual.

", + "GeospatialMapVisual$Title": "

The title that is displayed on the visual.

", + "HeatMapVisual$Title": "

The title that is displayed on the visual.

", + "HistogramVisual$Title": "

The title that is displayed on the visual.

", + "InsightVisual$Title": "

The title that is displayed on the visual.

", + "KPIVisual$Title": "

The title that is displayed on the visual.

", + "LineChartVisual$Title": "

The title that is displayed on the visual.

", + "PieChartVisual$Title": "

The title that is displayed on the visual.

", + "PivotTableVisual$Title": "

The title that is displayed on the visual.

", + "SankeyDiagramVisual$Title": "

The title that is displayed on the visual.

", + "ScatterPlotVisual$Title": "

The title that is displayed on the visual.

", + "TableVisual$Title": "

The title that is displayed on the visual.

", + "TreeMapVisual$Title": "

The title that is displayed on the visual.

", + "WaterfallVisual$Title": "

The title that is displayed on the visual.

", + "WordCloudVisual$Title": "

The title that is displayed on the visual.

" + } + }, "VpcConnectionProperties": { "base": "

VPC connection properties.

", "refs": { @@ -4944,6 +9816,148 @@ "SnowflakeParameters$Warehouse": "

Warehouse.

" } }, + "WaterfallChartAggregatedFieldWells": { + "base": "

The field well configuration of a waterfall visual.

", + "refs": { + "WaterfallChartFieldWells$WaterfallChartAggregatedFieldWells": "

The field well configuration of a waterfall visual.

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

The configuration for a waterfall visual.

", + "refs": { + "WaterfallVisual$ChartConfiguration": "

The configuration for a waterfall visual.

" + } + }, + "WaterfallChartFieldWells": { + "base": "

The field well configuration of a waterfall visual.

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

The field well configuration of a waterfall visual.

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

The options that determine the presentation of a waterfall visual.

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

The options that determine the presentation of a waterfall visual.

" + } + }, + "WaterfallChartSortConfiguration": { + "base": "

The sort configuration of a waterfall visual.

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

The sort configuration of a waterfall visual.

" + } + }, + "WaterfallVisual": { + "base": "

A waterfall chart.

For more information, see Using waterfall charts in the Amazon QuickSight User Guide.

", + "refs": { + "Visual$WaterfallVisual": "

A waterfall chart.

For more information, see Using waterfall charts in the Amazon QuickSight User Guide.

" + } + }, + "WhatIfPointScenario": { + "base": "

Provides the forecast to meet the target for a particular date.

", + "refs": { + "ForecastScenario$WhatIfPointScenario": "

The what-if analysis forecast setup with the target date.

" + } + }, + "WhatIfRangeScenario": { + "base": "

Provides the forecast to meet the target for a particular date range.

", + "refs": { + "ForecastScenario$WhatIfRangeScenario": "

The what-if analysis forecast setup with the date range.

" + } + }, + "WidgetStatus": { + "base": null, + "refs": { + "ExcludePeriodConfiguration$Status": "

The status of the exclude period. Choose from the following options:

", + "FilterGroup$Status": "

The status of the FilterGroup.

", + "ReferenceLine$Status": "

The status of the reference line. Choose one of the following options:

", + "RowAlternateColorOptions$Status": "

Determines the widget status.

", + "VisualCustomAction$Status": "

The status of the VisualCustomAction.

" + } + }, + "WordCloudAggregatedFieldWells": { + "base": "

The aggregated field wells of a word cloud.

", + "refs": { + "WordCloudFieldWells$WordCloudAggregatedFieldWells": "

The aggregated field wells of a word cloud.

" + } + }, + "WordCloudChartConfiguration": { + "base": "

The configuration of a word cloud visual.

", + "refs": { + "WordCloudVisual$ChartConfiguration": "

The configuration settings of the visual.

" + } + }, + "WordCloudCloudLayout": { + "base": null, + "refs": { + "WordCloudOptions$CloudLayout": "

The cloud layout options (fluid, normal) of a word cloud.

" + } + }, + "WordCloudDimensionFieldList": { + "base": null, + "refs": { + "WordCloudAggregatedFieldWells$GroupBy": "

The group by field well of a word cloud. Values are grouped by group by fields.

" + } + }, + "WordCloudFieldWells": { + "base": "

The field wells of a word cloud visual.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

", + "refs": { + "WordCloudChartConfiguration$FieldWells": "

The field wells of the visual.

" + } + }, + "WordCloudMaximumStringLength": { + "base": null, + "refs": { + "WordCloudOptions$MaximumStringLength": "

The length limit of each word from 1-100.

" + } + }, + "WordCloudMeasureFieldList": { + "base": null, + "refs": { + "WordCloudAggregatedFieldWells$Size": "

The size field well of a word cloud. Values are aggregated based on group by fields.

" + } + }, + "WordCloudOptions": { + "base": "

The word cloud options for a word cloud visual.

", + "refs": { + "WordCloudChartConfiguration$WordCloudOptions": "

The options for a word cloud visual.

" + } + }, + "WordCloudSortConfiguration": { + "base": "

The sort configuration of a word cloud visual.

", + "refs": { + "WordCloudChartConfiguration$SortConfiguration": "

The sort configuration of a word cloud visual.

" + } + }, + "WordCloudVisual": { + "base": "

A word cloud.

For more information, see Using word clouds in the Amazon QuickSight User Guide.

", + "refs": { + "Visual$WordCloudVisual": "

A word cloud.

For more information, see Using word clouds in the Amazon QuickSight User Guide.

" + } + }, + "WordCloudWordCasing": { + "base": null, + "refs": { + "WordCloudOptions$WordCasing": "

The word casing options (lower_case, existing_case) for the words in a word cloud.

" + } + }, + "WordCloudWordOrientation": { + "base": null, + "refs": { + "WordCloudOptions$WordOrientation": "

The word orientation options (horizontal, horizontal_and_vertical) for the words in a word cloud.

" + } + }, + "WordCloudWordPadding": { + "base": null, + "refs": { + "WordCloudOptions$WordPadding": "

The word padding options (none, small, medium, large) for the words in a word cloud.

" + } + }, + "WordCloudWordScaling": { + "base": null, + "refs": { + "WordCloudOptions$WordScaling": "

The word scaling options (emphasize, normal) for the words in a word cloud.

" + } + }, "WorkGroup": { "base": null, "refs": { @@ -4953,11 +9967,7 @@ "boolean": { "base": null, "refs": { - "BorderStyle$Show": "

The option to enable display of borders for visuals.

", - "DeleteAnalysisRequest$ForceDeleteWithoutRecovery": "

This option defaults to the value NoForceDeleteWithoutRecovery. To immediately delete the analysis, add the ForceDeleteWithoutRecovery option. You can't restore an analysis after it's deleted.

", - "DescribeAccountCustomizationRequest$Resolved": "

The Resolved flag works with the other parameters to determine which view of Amazon QuickSight customizations is returned. You can add this flag to your command to use the same view that Amazon QuickSight uses to identify which customizations to apply to the console. Omit this flag, or set it to no-resolved, to reveal customizations that are configured at different levels.

", - "GutterStyle$Show": "

This Boolean value controls whether to display a gutter space between sheet tiles.

", - "MarginStyle$Show": "

This Boolean value controls whether to display sheet margins.

" + "DescribeAccountCustomizationRequest$Resolved": "

The Resolved flag works with the other parameters to determine which view of Amazon QuickSight customizations is returned. You can add this flag to your command to use the same view that Amazon QuickSight uses to identify which customizations to apply to the console. Omit this flag, or set it to no-resolved, to reveal customizations that are configured at different levels.

" } } } diff --git a/models/apis/quicksight/2018-04-01/endpoint-tests-1.json b/models/apis/quicksight/2018-04-01/endpoint-tests-1.json index 5240f5a9db2..1052d559e14 100644 --- a/models/apis/quicksight/2018-04-01/endpoint-tests-1.json +++ b/models/apis/quicksight/2018-04-01/endpoint-tests-1.json @@ -8,9 +8,9 @@ } }, "params": { - "UseDualStack": true, "Region": "ap-south-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -21,9 +21,9 @@ } }, "params": { - "UseDualStack": false, "Region": "ap-south-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -34,9 +34,9 @@ } }, "params": { - "UseDualStack": true, "Region": "ap-south-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -47,9 +47,9 @@ } }, "params": { - "UseDualStack": false, "Region": "ap-south-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -60,9 +60,9 @@ } }, "params": { - "UseDualStack": true, "Region": "us-gov-east-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -73,9 +73,9 @@ } }, "params": { - "UseDualStack": false, "Region": "us-gov-east-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -86,9 +86,9 @@ } }, "params": { - "UseDualStack": true, "Region": "us-gov-east-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -99,9 +99,9 @@ } }, "params": { - "UseDualStack": false, "Region": "us-gov-east-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -112,9 +112,9 @@ } }, "params": { - "UseDualStack": true, "Region": "ca-central-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -125,9 +125,9 @@ } }, "params": { - "UseDualStack": false, "Region": "ca-central-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -138,9 +138,9 @@ } }, "params": { - "UseDualStack": true, "Region": "ca-central-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -151,9 +151,9 @@ } }, "params": { - "UseDualStack": false, "Region": "ca-central-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -164,9 +164,9 @@ } }, "params": { - "UseDualStack": true, "Region": "eu-central-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -177,9 +177,9 @@ } }, "params": { - "UseDualStack": false, "Region": "eu-central-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -190,9 +190,9 @@ } }, "params": { - "UseDualStack": true, "Region": "eu-central-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -203,9 +203,9 @@ } }, "params": { - "UseDualStack": false, "Region": "eu-central-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -216,9 +216,9 @@ } }, "params": { - "UseDualStack": true, "Region": "us-west-2", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -229,9 +229,9 @@ } }, "params": { - "UseDualStack": false, "Region": "us-west-2", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -242,9 +242,9 @@ } }, "params": { - "UseDualStack": true, "Region": "us-west-2", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -255,9 +255,9 @@ } }, "params": { - "UseDualStack": false, "Region": "us-west-2", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -268,9 +268,9 @@ } }, "params": { - "UseDualStack": true, "Region": "eu-north-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -281,9 +281,9 @@ } }, "params": { - "UseDualStack": false, "Region": "eu-north-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -294,9 +294,9 @@ } }, "params": { - "UseDualStack": true, "Region": "eu-north-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -307,9 +307,9 @@ } }, "params": { - "UseDualStack": false, "Region": "eu-north-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -320,9 +320,9 @@ } }, "params": { - "UseDualStack": true, "Region": "eu-west-3", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -333,9 +333,9 @@ } }, "params": { - "UseDualStack": false, "Region": "eu-west-3", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -346,9 +346,9 @@ } }, "params": { - "UseDualStack": true, "Region": "eu-west-3", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -359,9 +359,9 @@ } }, "params": { - "UseDualStack": false, "Region": "eu-west-3", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -372,9 +372,9 @@ } }, "params": { - "UseDualStack": true, "Region": "eu-west-2", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -385,9 +385,9 @@ } }, "params": { - "UseDualStack": false, "Region": "eu-west-2", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -398,9 +398,9 @@ } }, "params": { - "UseDualStack": true, "Region": "eu-west-2", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -411,9 +411,9 @@ } }, "params": { - "UseDualStack": false, "Region": "eu-west-2", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -424,9 +424,9 @@ } }, "params": { - "UseDualStack": true, "Region": "eu-west-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -437,9 +437,9 @@ } }, "params": { - "UseDualStack": false, "Region": "eu-west-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -450,9 +450,9 @@ } }, "params": { - "UseDualStack": true, "Region": "eu-west-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -463,9 +463,9 @@ } }, "params": { - "UseDualStack": false, "Region": "eu-west-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -476,9 +476,9 @@ } }, "params": { - "UseDualStack": true, "Region": "ap-northeast-2", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -489,9 +489,9 @@ } }, "params": { - "UseDualStack": false, "Region": "ap-northeast-2", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -502,9 +502,9 @@ } }, "params": { - "UseDualStack": true, "Region": "ap-northeast-2", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -515,9 +515,9 @@ } }, "params": { - "UseDualStack": false, "Region": "ap-northeast-2", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -528,9 +528,9 @@ } }, "params": { - "UseDualStack": true, "Region": "ap-northeast-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -541,9 +541,9 @@ } }, "params": { - "UseDualStack": false, "Region": "ap-northeast-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -554,9 +554,9 @@ } }, "params": { - "UseDualStack": true, "Region": "ap-northeast-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -567,9 +567,9 @@ } }, "params": { - "UseDualStack": false, "Region": "ap-northeast-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -580,9 +580,9 @@ } }, "params": { - "UseDualStack": true, "Region": "sa-east-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -593,9 +593,9 @@ } }, "params": { - "UseDualStack": false, "Region": "sa-east-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -606,9 +606,9 @@ } }, "params": { - "UseDualStack": true, "Region": "sa-east-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -619,9 +619,9 @@ } }, "params": { - "UseDualStack": false, "Region": "sa-east-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -632,9 +632,9 @@ } }, "params": { - "UseDualStack": true, "Region": "cn-north-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -645,9 +645,9 @@ } }, "params": { - "UseDualStack": false, "Region": "cn-north-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -658,9 +658,9 @@ } }, "params": { - "UseDualStack": true, "Region": "cn-north-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -671,9 +671,9 @@ } }, "params": { - "UseDualStack": false, "Region": "cn-north-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -684,9 +684,9 @@ } }, "params": { - "UseDualStack": true, "Region": "us-gov-west-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -697,9 +697,9 @@ } }, "params": { - "UseDualStack": false, "Region": "us-gov-west-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -710,9 +710,9 @@ } }, "params": { - "UseDualStack": true, "Region": "us-gov-west-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -723,9 +723,9 @@ } }, "params": { - "UseDualStack": false, "Region": "us-gov-west-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -736,9 +736,9 @@ } }, "params": { - "UseDualStack": true, "Region": "ap-southeast-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -749,9 +749,9 @@ } }, "params": { - "UseDualStack": false, "Region": "ap-southeast-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -762,9 +762,9 @@ } }, "params": { - "UseDualStack": true, "Region": "ap-southeast-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -775,9 +775,9 @@ } }, "params": { - "UseDualStack": false, "Region": "ap-southeast-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -788,9 +788,9 @@ } }, "params": { - "UseDualStack": true, "Region": "ap-southeast-2", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -801,9 +801,9 @@ } }, "params": { - "UseDualStack": false, "Region": "ap-southeast-2", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -814,9 +814,9 @@ } }, "params": { - "UseDualStack": true, "Region": "ap-southeast-2", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -827,9 +827,9 @@ } }, "params": { - "UseDualStack": false, "Region": "ap-southeast-2", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -840,9 +840,9 @@ } }, "params": { - "UseDualStack": true, "Region": "us-east-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -853,9 +853,9 @@ } }, "params": { - "UseDualStack": false, "Region": "us-east-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -866,9 +866,9 @@ } }, "params": { - "UseDualStack": true, "Region": "us-east-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -879,9 +879,9 @@ } }, "params": { - "UseDualStack": false, "Region": "us-east-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -892,9 +892,9 @@ } }, "params": { - "UseDualStack": true, "Region": "us-east-2", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -905,9 +905,9 @@ } }, "params": { - "UseDualStack": false, "Region": "us-east-2", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -918,9 +918,9 @@ } }, "params": { - "UseDualStack": true, "Region": "us-east-2", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -931,9 +931,9 @@ } }, "params": { - "UseDualStack": false, "Region": "us-east-2", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -944,9 +944,9 @@ } }, "params": { - "UseDualStack": true, "Region": "cn-northwest-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -957,9 +957,9 @@ } }, "params": { - "UseDualStack": false, "Region": "cn-northwest-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -970,9 +970,9 @@ } }, "params": { - "UseDualStack": true, "Region": "cn-northwest-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -983,9 +983,9 @@ } }, "params": { - "UseDualStack": false, "Region": "cn-northwest-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -996,9 +996,9 @@ } }, "params": { - "UseDualStack": false, "Region": "us-east-1", "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1008,9 +1008,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseDualStack": false, "Region": "us-east-1", "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1020,9 +1020,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseDualStack": true, "Region": "us-east-1", "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } } diff --git a/models/apis/s3control/2018-08-20/api-2.json b/models/apis/s3control/2018-08-20/api-2.json index aa97c1e0286..4d208c66bbd 100644 --- a/models/apis/s3control/2018-08-20/api-2.json +++ b/models/apis/s3control/2018-08-20/api-2.json @@ -542,7 +542,7 @@ "name":"GetMultiRegionAccessPoint", "http":{ "method":"GET", - "requestUri":"/v20180820/mrap/instances/{name}" + "requestUri":"/v20180820/mrap/instances/{name+}" }, "input":{"shape":"GetMultiRegionAccessPointRequest"}, "output":{"shape":"GetMultiRegionAccessPointResult"}, @@ -558,7 +558,7 @@ "name":"GetMultiRegionAccessPointPolicy", "http":{ "method":"GET", - "requestUri":"/v20180820/mrap/instances/{name}/policy" + "requestUri":"/v20180820/mrap/instances/{name+}/policy" }, "input":{"shape":"GetMultiRegionAccessPointPolicyRequest"}, "output":{"shape":"GetMultiRegionAccessPointPolicyResult"}, @@ -574,7 +574,7 @@ "name":"GetMultiRegionAccessPointPolicyStatus", "http":{ "method":"GET", - "requestUri":"/v20180820/mrap/instances/{name}/policystatus" + "requestUri":"/v20180820/mrap/instances/{name+}/policystatus" }, "input":{"shape":"GetMultiRegionAccessPointPolicyStatusRequest"}, "output":{"shape":"GetMultiRegionAccessPointPolicyStatusResult"}, @@ -586,6 +586,22 @@ "RequiresAccountId":{"value":true} } }, + "GetMultiRegionAccessPointRoutes":{ + "name":"GetMultiRegionAccessPointRoutes", + "http":{ + "method":"GET", + "requestUri":"/v20180820/mrap/instances/{mrap+}/routes" + }, + "input":{"shape":"GetMultiRegionAccessPointRoutesRequest"}, + "output":{"shape":"GetMultiRegionAccessPointRoutesResult"}, + "endpoint":{ + "hostPrefix":"{AccountId}." + }, + "httpChecksumRequired":true, + "staticContextParams":{ + "RequiresAccountId":{"value":true} + } + }, "GetPublicAccessBlock":{ "name":"GetPublicAccessBlock", "http":{ @@ -941,6 +957,26 @@ "RequiresAccountId":{"value":true} } }, + "SubmitMultiRegionAccessPointRoutes":{ + "name":"SubmitMultiRegionAccessPointRoutes", + "http":{ + "method":"PATCH", + "requestUri":"/v20180820/mrap/instances/{mrap+}/routes" + }, + "input":{ + "shape":"SubmitMultiRegionAccessPointRoutesRequest", + "locationName":"SubmitMultiRegionAccessPointRoutesRequest", + "xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"} + }, + "output":{"shape":"SubmitMultiRegionAccessPointRoutesResult"}, + "endpoint":{ + "hostPrefix":"{AccountId}." + }, + "httpChecksumRequired":true, + "staticContextParams":{ + "RequiresAccountId":{"value":true} + } + }, "UpdateJobPriority":{ "name":"UpdateJobPriority", "http":{ @@ -2316,6 +2352,34 @@ "AccessPoint":{"shape":"MultiRegionAccessPointReport"} } }, + "GetMultiRegionAccessPointRoutesRequest":{ + "type":"structure", + "required":[ + "AccountId", + "Mrap" + ], + "members":{ + "AccountId":{ + "shape":"AccountId", + "contextParam":{"name":"AccountId"}, + "hostLabel":true, + "location":"header", + "locationName":"x-amz-account-id" + }, + "Mrap":{ + "shape":"MultiRegionAccessPointId", + "location":"uri", + "locationName":"mrap" + } + } + }, + "GetMultiRegionAccessPointRoutesResult":{ + "type":"structure", + "members":{ + "Mrap":{"shape":"MultiRegionAccessPointId"}, + "Routes":{"shape":"RouteList"} + } + }, "GetPublicAccessBlockOutput":{ "type":"structure", "members":{ @@ -3118,6 +3182,11 @@ "max":64, "pattern":"\\S+" }, + "MultiRegionAccessPointId":{ + "type":"string", + "max":200, + "pattern":"^[a-zA-Z0-9\\:.-]{3,200}$" + }, "MultiRegionAccessPointName":{ "type":"string", "max":50, @@ -3162,6 +3231,15 @@ "locationName":"AccessPoint" } }, + "MultiRegionAccessPointRoute":{ + "type":"structure", + "required":["TrafficDialPercentage"], + "members":{ + "Bucket":{"shape":"BucketName"}, + "Region":{"shape":"RegionName"}, + "TrafficDialPercentage":{"shape":"TrafficDialPercentage"} + } + }, "MultiRegionAccessPointStatus":{ "type":"string", "enum":[ @@ -3842,6 +3920,13 @@ "Ready" ] }, + "RouteList":{ + "type":"list", + "member":{ + "shape":"MultiRegionAccessPointRoute", + "locationName":"Route" + } + }, "S3AWSRegion":{ "type":"string", "max":30, @@ -4341,6 +4426,34 @@ "min":1, "pattern":"^[A-Za-z0-9\\+\\:\\/\\=\\?\\#-_]+$" }, + "SubmitMultiRegionAccessPointRoutesRequest":{ + "type":"structure", + "required":[ + "AccountId", + "Mrap", + "RouteUpdates" + ], + "members":{ + "AccountId":{ + "shape":"AccountId", + "contextParam":{"name":"AccountId"}, + "hostLabel":true, + "location":"header", + "locationName":"x-amz-account-id" + }, + "Mrap":{ + "shape":"MultiRegionAccessPointId", + "location":"uri", + "locationName":"mrap" + }, + "RouteUpdates":{"shape":"RouteList"} + } + }, + "SubmitMultiRegionAccessPointRoutesResult":{ + "type":"structure", + "members":{ + } + }, "SuspendedCause":{ "type":"string", "max":1024, @@ -4380,6 +4493,11 @@ }, "exception":true }, + "TrafficDialPercentage":{ + "type":"integer", + "max":100, + "min":0 + }, "Transition":{ "type":"structure", "members":{ diff --git a/models/apis/s3control/2018-08-20/docs-2.json b/models/apis/s3control/2018-08-20/docs-2.json index 68beca21b6c..fe4fe9ee4a3 100644 --- a/models/apis/s3control/2018-08-20/docs-2.json +++ b/models/apis/s3control/2018-08-20/docs-2.json @@ -38,6 +38,7 @@ "GetMultiRegionAccessPoint": "

Returns configuration information about the specified Multi-Region Access Point.

This action will always be routed to the US West (Oregon) Region. For more information about the restrictions around managing Multi-Region Access Points, see Managing Multi-Region Access Points in the Amazon S3 User Guide.

The following actions are related to GetMultiRegionAccessPoint:

", "GetMultiRegionAccessPointPolicy": "

Returns the access control policy of the specified Multi-Region Access Point.

This action will always be routed to the US West (Oregon) Region. For more information about the restrictions around managing Multi-Region Access Points, see Managing Multi-Region Access Points in the Amazon S3 User Guide.

The following actions are related to GetMultiRegionAccessPointPolicy:

", "GetMultiRegionAccessPointPolicyStatus": "

Indicates whether the specified Multi-Region Access Point has an access control policy that allows public access.

This action will always be routed to the US West (Oregon) Region. For more information about the restrictions around managing Multi-Region Access Points, see Managing Multi-Region Access Points in the Amazon S3 User Guide.

The following actions are related to GetMultiRegionAccessPointPolicyStatus:

", + "GetMultiRegionAccessPointRoutes": "

Returns the routing configuration for a Multi-Region Access Point, indicating which Regions are active or passive.

To obtain routing control changes and failover requests, use the Amazon S3 failover control infrastructure endpoints in these five Amazon Web Services Regions:

Your Amazon S3 bucket does not need to be in these five Regions.

", "GetPublicAccessBlock": "

Retrieves the PublicAccessBlock configuration for an Amazon Web Services account. For more information, see Using Amazon S3 block public access.

Related actions include:

", "GetStorageLensConfiguration": "

Gets the Amazon S3 Storage Lens configuration. For more information, see Assessing your storage activity and usage with Amazon S3 Storage Lens in the Amazon S3 User Guide. For a complete list of S3 Storage Lens metrics, see S3 Storage Lens metrics glossary in the Amazon S3 User Guide.

To use this action, you must have permission to perform the s3:GetStorageLensConfiguration action. For more information, see Setting permissions to use Amazon S3 Storage Lens in the Amazon S3 User Guide.

", "GetStorageLensConfigurationTagging": "

Gets the tags of Amazon S3 Storage Lens configuration. For more information about S3 Storage Lens, see Assessing your storage activity and usage with Amazon S3 Storage Lens in the Amazon S3 User Guide.

To use this action, you must have permission to perform the s3:GetStorageLensConfigurationTagging action. For more information, see Setting permissions to use Amazon S3 Storage Lens in the Amazon S3 User Guide.

", @@ -59,6 +60,7 @@ "PutPublicAccessBlock": "

Creates or modifies the PublicAccessBlock configuration for an Amazon Web Services account. For this operation, users must have the s3:PutAccountPublicAccessBlock permission. For more information, see Using Amazon S3 block public access.

Related actions include:

", "PutStorageLensConfiguration": "

Puts an Amazon S3 Storage Lens configuration. For more information about S3 Storage Lens, see Working with Amazon S3 Storage Lens in the Amazon S3 User Guide. For a complete list of S3 Storage Lens metrics, see S3 Storage Lens metrics glossary in the Amazon S3 User Guide.

To use this action, you must have permission to perform the s3:PutStorageLensConfiguration action. For more information, see Setting permissions to use Amazon S3 Storage Lens in the Amazon S3 User Guide.

", "PutStorageLensConfigurationTagging": "

Put or replace tags on an existing Amazon S3 Storage Lens configuration. For more information about S3 Storage Lens, see Assessing your storage activity and usage with Amazon S3 Storage Lens in the Amazon S3 User Guide.

To use this action, you must have permission to perform the s3:PutStorageLensConfigurationTagging action. For more information, see Setting permissions to use Amazon S3 Storage Lens in the Amazon S3 User Guide.

", + "SubmitMultiRegionAccessPointRoutes": "

Submits an updated route configuration for a Multi-Region Access Point. This API operation updates the routing status for the specified Regions from active to passive, or from passive to active. A value of 0 indicates a passive status, which means that traffic won't be routed to the specified Region. A value of 100 indicates an active status, which means that traffic will be routed to the specified Region. At least one Region must be active at all times.

When the routing configuration is changed, any in-progress operations (uploads, copies, deletes, and so on) to formerly active Regions will continue to run to their final completion state (success or failure). The routing configurations of any Regions that aren’t specified remain unchanged.

Updated routing configurations might not be immediately applied. It can take up to 2 minutes for your changes to take effect.

To submit routing control changes and failover requests, use the Amazon S3 failover control infrastructure endpoints in these five Amazon Web Services Regions:

Your Amazon S3 bucket does not need to be in these five Regions.

", "UpdateJobPriority": "

Updates an existing S3 Batch Operations job's priority. For more information, see S3 Batch Operations in the Amazon S3 User Guide.

Related actions include:

", "UpdateJobStatus": "

Updates the status for the specified job. Use this action to confirm that you want to run a job or to cancel an existing job. For more information, see S3 Batch Operations in the Amazon S3 User Guide.

Related actions include:

" }, @@ -133,6 +135,7 @@ "GetMultiRegionAccessPointPolicyRequest$AccountId": "

The Amazon Web Services account ID for the owner of the Multi-Region Access Point.

", "GetMultiRegionAccessPointPolicyStatusRequest$AccountId": "

The Amazon Web Services account ID for the owner of the Multi-Region Access Point.

", "GetMultiRegionAccessPointRequest$AccountId": "

The Amazon Web Services account ID for the owner of the Multi-Region Access Point.

", + "GetMultiRegionAccessPointRoutesRequest$AccountId": "

The Amazon Web Services account ID for the owner of the Multi-Region Access Point.

", "GetPublicAccessBlockRequest$AccountId": "

The account ID for the Amazon Web Services account whose PublicAccessBlock configuration you want to retrieve.

", "GetStorageLensConfigurationRequest$AccountId": "

The account ID of the requester.

", "GetStorageLensConfigurationTaggingRequest$AccountId": "

The account ID of the requester.

", @@ -157,6 +160,7 @@ "S3BucketDestination$AccountId": "

The account ID of the owner of the S3 Storage Lens metrics export bucket.

", "S3JobManifestGenerator$ExpectedBucketOwner": "

The Amazon Web Services account ID that owns the bucket the generated manifest is written to. If provided the generated manifest bucket's owner Amazon Web Services account ID must match this value, else the job fails.

", "S3ManifestOutputLocation$ExpectedManifestBucketOwner": "

The Account ID that owns the bucket the generated manifest is written to.

", + "SubmitMultiRegionAccessPointRoutesRequest$AccountId": "

The Amazon Web Services account ID for the owner of the Multi-Region Access Point.

", "UpdateJobPriorityRequest$AccountId": "

The Amazon Web Services account ID associated with the S3 Batch Operations job.

", "UpdateJobStatusRequest$AccountId": "

The Amazon Web Services account ID associated with the S3 Batch Operations job.

" } @@ -331,6 +335,7 @@ "GetBucketTaggingRequest$Bucket": "

Specifies the bucket.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

", "GetBucketVersioningRequest$Bucket": "

The S3 on Outposts bucket to return the versioning state for.

", "ListAccessPointsRequest$Bucket": "

The name of the bucket whose associated access points you want to list.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

", + "MultiRegionAccessPointRoute$Bucket": "

The name of the Amazon S3 bucket for which you'll submit a routing configuration change. Either the Bucket or the Region value must be provided. If both are provided, the bucket must be in the specified Region.

", "PutBucketLifecycleConfigurationRequest$Bucket": "

The name of the bucket for which to set the configuration.

", "PutBucketPolicyRequest$Bucket": "

Specifies the bucket.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

", "PutBucketTaggingRequest$Bucket": "

The Amazon Resource Name (ARN) of the bucket.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

", @@ -837,6 +842,16 @@ "refs": { } }, + "GetMultiRegionAccessPointRoutesRequest": { + "base": null, + "refs": { + } + }, + "GetMultiRegionAccessPointRoutesResult": { + "base": null, + "refs": { + } + }, "GetPublicAccessBlockOutput": { "base": null, "refs": { @@ -1371,6 +1386,14 @@ "PutMultiRegionAccessPointPolicyRequest$ClientToken": "

An idempotency token used to identify the request and guarantee that requests are unique.

" } }, + "MultiRegionAccessPointId": { + "base": null, + "refs": { + "GetMultiRegionAccessPointRoutesRequest$Mrap": "

The Multi-Region Access Point ARN.

", + "GetMultiRegionAccessPointRoutesResult$Mrap": "

The Multi-Region Access Point ARN.

", + "SubmitMultiRegionAccessPointRoutesRequest$Mrap": "

The Multi-Region Access Point ARN.

" + } + }, "MultiRegionAccessPointName": { "base": null, "refs": { @@ -1414,6 +1437,12 @@ "ListMultiRegionAccessPointsResult$AccessPoints": "

The list of Multi-Region Access Points associated with the user.

" } }, + "MultiRegionAccessPointRoute": { + "base": "

A structure for a Multi-Region Access Point that indicates where Amazon S3 traffic can be routed. Routes can be either active or passive. Active routes can process Amazon S3 requests through the Multi-Region Access Point, but passive routes are not eligible to process Amazon S3 requests.

Each route contains the Amazon S3 bucket name and the Amazon Web Services Region that the bucket is located in. The route also includes the TrafficDialPercentage value, which shows whether the bucket and Region are active (indicated by a value of 100) or passive (indicated by a value of 0).

", + "refs": { + "RouteList$member": null + } + }, "MultiRegionAccessPointStatus": { "base": null, "refs": { @@ -1824,6 +1853,7 @@ "base": null, "refs": { "MultiRegionAccessPointRegionalResponse$Name": "

The name of the Region in the Multi-Region Access Point.

", + "MultiRegionAccessPointRoute$Region": "

The Amazon Web Services Region to which you'll be submitting a routing configuration change. Either the Bucket or the Region value must be provided. If both are provided, the bucket must be in the specified Region.

", "RegionReport$Region": "

The name of the Region.

" } }, @@ -1882,6 +1912,13 @@ "UpdateJobStatusRequest$RequestedJobStatus": "

The status that you want to move the specified job to.

" } }, + "RouteList": { + "base": null, + "refs": { + "GetMultiRegionAccessPointRoutesResult$Routes": "

The different routes that make up the route configuration. Active routes return a value of 100, and passive routes return a value of 0.

", + "SubmitMultiRegionAccessPointRoutesRequest$RouteUpdates": "

The different routes that make up the new route configuration. Active routes return a value of 100, and passive routes return a value of 0.

" + } + }, "S3AWSRegion": { "base": null, "refs": { @@ -2276,6 +2313,16 @@ "ListJobsResult$NextToken": "

If the List Jobs request produced more than the maximum number of results, you can pass this value into a subsequent List Jobs request in order to retrieve the next page of results.

" } }, + "SubmitMultiRegionAccessPointRoutesRequest": { + "base": null, + "refs": { + } + }, + "SubmitMultiRegionAccessPointRoutesResult": { + "base": null, + "refs": { + } + }, "SuspendedCause": { "base": null, "refs": { @@ -2328,6 +2375,12 @@ "refs": { } }, + "TrafficDialPercentage": { + "base": null, + "refs": { + "MultiRegionAccessPointRoute$TrafficDialPercentage": "

The traffic state for the specified bucket or Amazon Web Services Region.

A value of 0 indicates a passive state, which means that no new traffic will be routed to the Region.

A value of 100 indicates an active state, which means that traffic will be routed to the specified Region.

When the routing configuration for a Region is changed from active to passive, any in-progress operations (uploads, copies, deletes, and so on) to the formerly active Region will continue to run to until a final success or failure status is reached.

If all Regions in the routing configuration are designated as passive, you'll receive an InvalidRequest error.

" + } + }, "Transition": { "base": "

Specifies when an object transitions to a specified storage class. For more information about Amazon S3 Lifecycle configuration rules, see Transitioning objects using Amazon S3 Lifecycle in the Amazon S3 User Guide.

", "refs": { diff --git a/models/apis/s3control/2018-08-20/endpoint-rule-set-1.json b/models/apis/s3control/2018-08-20/endpoint-rule-set-1.json index 204d68a7d9a..e889cf6e133 100644 --- a/models/apis/s3control/2018-08-20/endpoint-rule-set-1.json +++ b/models/apis/s3control/2018-08-20/endpoint-rule-set-1.json @@ -305,8 +305,8 @@ "authSchemes": [ { "name": "sigv4", - "disableDoubleEncoding": true, "signingName": "s3-outposts", + "disableDoubleEncoding": true, "signingRegion": "{Region}" } ] @@ -333,8 +333,8 @@ "authSchemes": [ { "name": "sigv4", - "disableDoubleEncoding": true, "signingName": "s3-outposts", + "disableDoubleEncoding": true, "signingRegion": "{Region}" } ] @@ -351,8 +351,8 @@ "authSchemes": [ { "name": "sigv4", - "disableDoubleEncoding": true, "signingName": "s3-outposts", + "disableDoubleEncoding": true, "signingRegion": "{Region}" } ] @@ -822,8 +822,8 @@ "authSchemes": [ { "name": "sigv4", - "disableDoubleEncoding": true, "signingName": "s3-outposts", + "disableDoubleEncoding": true, "signingRegion": "{accessPointArn#region}" } ] @@ -865,8 +865,8 @@ "authSchemes": [ { "name": "sigv4", - "disableDoubleEncoding": true, "signingName": "s3-outposts", + "disableDoubleEncoding": true, "signingRegion": "{accessPointArn#region}" } ] @@ -890,8 +890,8 @@ "authSchemes": [ { "name": "sigv4", - "disableDoubleEncoding": true, "signingName": "s3-outposts", + "disableDoubleEncoding": true, "signingRegion": "{accessPointArn#region}" } ] @@ -1454,8 +1454,8 @@ "authSchemes": [ { "name": "sigv4", - "disableDoubleEncoding": true, "signingName": "s3-outposts", + "disableDoubleEncoding": true, "signingRegion": "{bucketArn#region}" } ] @@ -1497,8 +1497,8 @@ "authSchemes": [ { "name": "sigv4", - "disableDoubleEncoding": true, "signingName": "s3-outposts", + "disableDoubleEncoding": true, "signingRegion": "{bucketArn#region}" } ] @@ -1522,8 +1522,8 @@ "authSchemes": [ { "name": "sigv4", - "disableDoubleEncoding": true, "signingName": "s3-outposts", + "disableDoubleEncoding": true, "signingRegion": "{bucketArn#region}" } ] @@ -1876,8 +1876,8 @@ "authSchemes": [ { "name": "sigv4", - "disableDoubleEncoding": true, "signingName": "s3", + "disableDoubleEncoding": true, "signingRegion": "{Region}" } ] @@ -1894,8 +1894,8 @@ "authSchemes": [ { "name": "sigv4", - "disableDoubleEncoding": true, "signingName": "s3", + "disableDoubleEncoding": true, "signingRegion": "{Region}" } ] @@ -1964,8 +1964,8 @@ "authSchemes": [ { "name": "sigv4", - "disableDoubleEncoding": true, "signingName": "s3", + "disableDoubleEncoding": true, "signingRegion": "{Region}" } ] @@ -2001,8 +2001,8 @@ "authSchemes": [ { "name": "sigv4", - "disableDoubleEncoding": true, "signingName": "s3", + "disableDoubleEncoding": true, "signingRegion": "{Region}" } ] @@ -2063,8 +2063,8 @@ "authSchemes": [ { "name": "sigv4", - "disableDoubleEncoding": true, "signingName": "s3", + "disableDoubleEncoding": true, "signingRegion": "{Region}" } ] @@ -2100,8 +2100,8 @@ "authSchemes": [ { "name": "sigv4", - "disableDoubleEncoding": true, "signingName": "s3", + "disableDoubleEncoding": true, "signingRegion": "{Region}" } ] @@ -2162,8 +2162,8 @@ "authSchemes": [ { "name": "sigv4", - "disableDoubleEncoding": true, "signingName": "s3", + "disableDoubleEncoding": true, "signingRegion": "{Region}" } ] @@ -2199,8 +2199,8 @@ "authSchemes": [ { "name": "sigv4", - "disableDoubleEncoding": true, "signingName": "s3", + "disableDoubleEncoding": true, "signingRegion": "{Region}" } ] @@ -2261,8 +2261,8 @@ "authSchemes": [ { "name": "sigv4", - "disableDoubleEncoding": true, "signingName": "s3", + "disableDoubleEncoding": true, "signingRegion": "{Region}" } ] @@ -2298,8 +2298,8 @@ "authSchemes": [ { "name": "sigv4", - "disableDoubleEncoding": true, "signingName": "s3", + "disableDoubleEncoding": true, "signingRegion": "{Region}" } ] diff --git a/models/apis/securityhub/2018-10-26/api-2.json b/models/apis/securityhub/2018-10-26/api-2.json index d2e2bf91976..2a4bf66f57c 100644 --- a/models/apis/securityhub/2018-10-26/api-2.json +++ b/models/apis/securityhub/2018-10-26/api-2.json @@ -7401,7 +7401,8 @@ "StandardsArn":{"shape":"NonEmptyString"}, "Name":{"shape":"NonEmptyString"}, "Description":{"shape":"NonEmptyString"}, - "EnabledByDefault":{"shape":"Boolean"} + "EnabledByDefault":{"shape":"Boolean"}, + "StandardsManagedBy":{"shape":"StandardsManagedBy"} } }, "Standards":{ @@ -7432,6 +7433,13 @@ "key":{"shape":"NonEmptyString"}, "value":{"shape":"NonEmptyString"} }, + "StandardsManagedBy":{ + "type":"structure", + "members":{ + "Company":{"shape":"NonEmptyString"}, + "Product":{"shape":"NonEmptyString"} + } + }, "StandardsStatus":{ "type":"string", "enum":[ diff --git a/models/apis/securityhub/2018-10-26/docs-2.json b/models/apis/securityhub/2018-10-26/docs-2.json index bcc5ac0cd6e..9fa733756f8 100644 --- a/models/apis/securityhub/2018-10-26/docs-2.json +++ b/models/apis/securityhub/2018-10-26/docs-2.json @@ -5960,6 +5960,8 @@ "StandardsControl$RemediationUrl": "

A link to remediation information for the control in the Security Hub user documentation.

", "StandardsInputParameterMap$key": null, "StandardsInputParameterMap$value": null, + "StandardsManagedBy$Company": "

An identifier for the company that manages a specific security standard. For existing standards, the value is equal to Amazon Web Services.

", + "StandardsManagedBy$Product": "

An identifier for the product that manages a specific security standard. For existing standards, the value is equal to the Amazon Web Services service that manages the standard.

", "StandardsSubscription$StandardsSubscriptionArn": "

The ARN of a resource that represents your subscription to a supported standard.

", "StandardsSubscription$StandardsArn": "

The ARN of a standard.

", "StandardsSubscriptionArns$member": null, @@ -6606,7 +6608,7 @@ } }, "Standard": { - "base": "

Provides information about a specific standard.

", + "base": "

Provides information about a specific security standard.

", "refs": { "Standards$member": null } @@ -6636,6 +6638,12 @@ "StandardsSubscriptionRequest$StandardsInput": "

A key-value pair of input for the standard.

" } }, + "StandardsManagedBy": { + "base": "

Provides details about the management of a security standard.

", + "refs": { + "Standard$StandardsManagedBy": "

Provides details about the management of a standard.

" + } + }, "StandardsStatus": { "base": null, "refs": { diff --git a/models/apis/securityhub/2018-10-26/endpoint-rule-set-1.json b/models/apis/securityhub/2018-10-26/endpoint-rule-set-1.json index 017631868c2..5f1adabcef7 100644 --- a/models/apis/securityhub/2018-10-26/endpoint-rule-set-1.json +++ b/models/apis/securityhub/2018-10-26/endpoint-rule-set-1.json @@ -3,7 +3,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": false, + "required": true, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, diff --git a/models/apis/securityhub/2018-10-26/endpoint-tests-1.json b/models/apis/securityhub/2018-10-26/endpoint-tests-1.json index 9426063f069..2cdf326a04e 100644 --- a/models/apis/securityhub/2018-10-26/endpoint-tests-1.json +++ b/models/apis/securityhub/2018-10-26/endpoint-tests-1.json @@ -156,6 +156,58 @@ "Region": "us-gov-east-1" } }, + { + "documentation": "For region me-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://securityhub-fips.me-central-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "me-central-1" + } + }, + { + "documentation": "For region me-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://securityhub-fips.me-central-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "me-central-1" + } + }, + { + "documentation": "For region me-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://securityhub.me-central-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "me-central-1" + } + }, + { + "documentation": "For region me-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://securityhub.me-central-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "me-central-1" + } + }, { "documentation": "For region ca-central-1 with FIPS enabled and DualStack enabled", "expect": { diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 40fd5450e16..87f8600e32a 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -1756,6 +1756,19 @@ "us-west-2" : { } } }, + "arc-zonal-shift" : { + "endpoints" : { + "ap-northeast-1" : { }, + "ap-southeast-2" : { }, + "ap-southeast-3" : { }, + "eu-central-1" : { }, + "eu-north-1" : { }, + "eu-west-1" : { }, + "us-east-1" : { }, + "us-east-2" : { }, + "us-west-2" : { } + } + }, "athena" : { "endpoints" : { "af-south-1" : { diff --git a/service/arczonalshift/api.go b/service/arczonalshift/api.go new file mode 100644 index 00000000000..8c9b774acdd --- /dev/null +++ b/service/arczonalshift/api.go @@ -0,0 +1,2492 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package arczonalshift + +import ( + "fmt" + "time" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/awsutil" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/private/protocol" +) + +const opCancelZonalShift = "CancelZonalShift" + +// CancelZonalShiftRequest generates a "aws/request.Request" representing the +// client's request for the CancelZonalShift operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CancelZonalShift for more information on using the CancelZonalShift +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the CancelZonalShiftRequest method. +// req, resp := client.CancelZonalShiftRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/CancelZonalShift +func (c *ARCZonalShift) CancelZonalShiftRequest(input *CancelZonalShiftInput) (req *request.Request, output *CancelZonalShiftOutput) { + op := &request.Operation{ + Name: opCancelZonalShift, + HTTPMethod: "DELETE", + HTTPPath: "/zonalshifts/{zonalShiftId}", + } + + if input == nil { + input = &CancelZonalShiftInput{} + } + + output = &CancelZonalShiftOutput{} + req = c.newRequest(op, input, output) + return +} + +// CancelZonalShift API operation for AWS ARC - Zonal Shift. +// +// Cancel a zonal shift in Amazon Route 53 Application Recovery Controller that +// you've started for a resource in your AWS account in an AWS Region. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS ARC - Zonal Shift's +// API operation CancelZonalShift for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// There was an internal server error. +// +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. +// +// - ResourceNotFoundException +// The input requested a resource that was not found. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/CancelZonalShift +func (c *ARCZonalShift) CancelZonalShift(input *CancelZonalShiftInput) (*CancelZonalShiftOutput, error) { + req, out := c.CancelZonalShiftRequest(input) + return out, req.Send() +} + +// CancelZonalShiftWithContext is the same as CancelZonalShift with the addition of +// the ability to pass a context and additional request options. +// +// See CancelZonalShift for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ARCZonalShift) CancelZonalShiftWithContext(ctx aws.Context, input *CancelZonalShiftInput, opts ...request.Option) (*CancelZonalShiftOutput, error) { + req, out := c.CancelZonalShiftRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetManagedResource = "GetManagedResource" + +// GetManagedResourceRequest generates a "aws/request.Request" representing the +// client's request for the GetManagedResource operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetManagedResource for more information on using the GetManagedResource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetManagedResourceRequest method. +// req, resp := client.GetManagedResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/GetManagedResource +func (c *ARCZonalShift) GetManagedResourceRequest(input *GetManagedResourceInput) (req *request.Request, output *GetManagedResourceOutput) { + op := &request.Operation{ + Name: opGetManagedResource, + HTTPMethod: "GET", + HTTPPath: "/managedresources/{resourceIdentifier}", + } + + if input == nil { + input = &GetManagedResourceInput{} + } + + output = &GetManagedResourceOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetManagedResource API operation for AWS ARC - Zonal Shift. +// +// Get information about a resource that's been registered for zonal shifts +// with Amazon Route 53 Application Recovery Controller in this AWS Region. +// Resources that are registered for zonal shifts are managed resources in Route +// 53 ARC. +// +// At this time, you can only start a zonal shift for Network Load Balancers +// and Application Load Balancers with cross-zone load balancing turned off. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS ARC - Zonal Shift's +// API operation GetManagedResource for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// There was an internal server error. +// +// - ResourceNotFoundException +// The input requested a resource that was not found. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/GetManagedResource +func (c *ARCZonalShift) GetManagedResource(input *GetManagedResourceInput) (*GetManagedResourceOutput, error) { + req, out := c.GetManagedResourceRequest(input) + return out, req.Send() +} + +// GetManagedResourceWithContext is the same as GetManagedResource with the addition of +// the ability to pass a context and additional request options. +// +// See GetManagedResource for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ARCZonalShift) GetManagedResourceWithContext(ctx aws.Context, input *GetManagedResourceInput, opts ...request.Option) (*GetManagedResourceOutput, error) { + req, out := c.GetManagedResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListManagedResources = "ListManagedResources" + +// ListManagedResourcesRequest generates a "aws/request.Request" representing the +// client's request for the ListManagedResources operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListManagedResources for more information on using the ListManagedResources +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListManagedResourcesRequest method. +// req, resp := client.ListManagedResourcesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/ListManagedResources +func (c *ARCZonalShift) ListManagedResourcesRequest(input *ListManagedResourcesInput) (req *request.Request, output *ListManagedResourcesOutput) { + op := &request.Operation{ + Name: opListManagedResources, + HTTPMethod: "GET", + HTTPPath: "/managedresources", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListManagedResourcesInput{} + } + + output = &ListManagedResourcesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListManagedResources API operation for AWS ARC - Zonal Shift. +// +// Lists all the resources in your AWS account in this AWS Region that are managed +// for zonal shifts in Amazon Route 53 Application Recovery Controller, and +// information about them. The information includes their Amazon Resource Names +// (ARNs), the Availability Zones the resources are deployed in, and the resource +// name. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS ARC - Zonal Shift's +// API operation ListManagedResources for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// There was an internal server error. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/ListManagedResources +func (c *ARCZonalShift) ListManagedResources(input *ListManagedResourcesInput) (*ListManagedResourcesOutput, error) { + req, out := c.ListManagedResourcesRequest(input) + return out, req.Send() +} + +// ListManagedResourcesWithContext is the same as ListManagedResources with the addition of +// the ability to pass a context and additional request options. +// +// See ListManagedResources for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ARCZonalShift) ListManagedResourcesWithContext(ctx aws.Context, input *ListManagedResourcesInput, opts ...request.Option) (*ListManagedResourcesOutput, error) { + req, out := c.ListManagedResourcesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListManagedResourcesPages iterates over the pages of a ListManagedResources operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListManagedResources method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListManagedResources operation. +// pageNum := 0 +// err := client.ListManagedResourcesPages(params, +// func(page *arczonalshift.ListManagedResourcesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *ARCZonalShift) ListManagedResourcesPages(input *ListManagedResourcesInput, fn func(*ListManagedResourcesOutput, bool) bool) error { + return c.ListManagedResourcesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListManagedResourcesPagesWithContext same as ListManagedResourcesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ARCZonalShift) ListManagedResourcesPagesWithContext(ctx aws.Context, input *ListManagedResourcesInput, fn func(*ListManagedResourcesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListManagedResourcesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListManagedResourcesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListManagedResourcesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListZonalShifts = "ListZonalShifts" + +// ListZonalShiftsRequest generates a "aws/request.Request" representing the +// client's request for the ListZonalShifts operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListZonalShifts for more information on using the ListZonalShifts +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListZonalShiftsRequest method. +// req, resp := client.ListZonalShiftsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/ListZonalShifts +func (c *ARCZonalShift) ListZonalShiftsRequest(input *ListZonalShiftsInput) (req *request.Request, output *ListZonalShiftsOutput) { + op := &request.Operation{ + Name: opListZonalShifts, + HTTPMethod: "GET", + HTTPPath: "/zonalshifts", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListZonalShiftsInput{} + } + + output = &ListZonalShiftsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListZonalShifts API operation for AWS ARC - Zonal Shift. +// +// Lists all the active zonal shifts in Amazon Route 53 Application Recovery +// Controller in your AWS account in this AWS Region. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS ARC - Zonal Shift's +// API operation ListZonalShifts for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// There was an internal server error. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/ListZonalShifts +func (c *ARCZonalShift) ListZonalShifts(input *ListZonalShiftsInput) (*ListZonalShiftsOutput, error) { + req, out := c.ListZonalShiftsRequest(input) + return out, req.Send() +} + +// ListZonalShiftsWithContext is the same as ListZonalShifts with the addition of +// the ability to pass a context and additional request options. +// +// See ListZonalShifts for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ARCZonalShift) ListZonalShiftsWithContext(ctx aws.Context, input *ListZonalShiftsInput, opts ...request.Option) (*ListZonalShiftsOutput, error) { + req, out := c.ListZonalShiftsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListZonalShiftsPages iterates over the pages of a ListZonalShifts operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListZonalShifts method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListZonalShifts operation. +// pageNum := 0 +// err := client.ListZonalShiftsPages(params, +// func(page *arczonalshift.ListZonalShiftsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *ARCZonalShift) ListZonalShiftsPages(input *ListZonalShiftsInput, fn func(*ListZonalShiftsOutput, bool) bool) error { + return c.ListZonalShiftsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListZonalShiftsPagesWithContext same as ListZonalShiftsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ARCZonalShift) ListZonalShiftsPagesWithContext(ctx aws.Context, input *ListZonalShiftsInput, fn func(*ListZonalShiftsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListZonalShiftsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListZonalShiftsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListZonalShiftsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opStartZonalShift = "StartZonalShift" + +// StartZonalShiftRequest generates a "aws/request.Request" representing the +// client's request for the StartZonalShift operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See StartZonalShift for more information on using the StartZonalShift +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the StartZonalShiftRequest method. +// req, resp := client.StartZonalShiftRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/StartZonalShift +func (c *ARCZonalShift) StartZonalShiftRequest(input *StartZonalShiftInput) (req *request.Request, output *StartZonalShiftOutput) { + op := &request.Operation{ + Name: opStartZonalShift, + HTTPMethod: "POST", + HTTPPath: "/zonalshifts", + } + + if input == nil { + input = &StartZonalShiftInput{} + } + + output = &StartZonalShiftOutput{} + req = c.newRequest(op, input, output) + return +} + +// StartZonalShift API operation for AWS ARC - Zonal Shift. +// +// You start a zonal shift to temporarily move load balancer traffic away from +// an Availability Zone in a AWS Region, to help your application recover immediately, +// for example, from a developer's bad code deployment or from an AWS infrastructure +// failure in a single Availability Zone. You can start a zonal shift in Route +// 53 ARC only for managed resources in your account in an AWS Region. Resources +// are automatically registered with Route 53 ARC by AWS services. +// +// At this time, you can only start a zonal shift for Network Load Balancers +// and Application Load Balancers with cross-zone load balancing turned off. +// +// When you start a zonal shift, traffic for the resource is no longer routed +// to the Availability Zone. The zonal shift is created immediately in Route +// 53 ARC. However, it can take a short time, typically up to a few minutes, +// for existing, in-progress connections in the Availability Zone to complete. +// +// For more information, see Zonal shift (https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-shift.html) +// in the Amazon Route 53 Application Recovery Controller Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS ARC - Zonal Shift's +// API operation StartZonalShift for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// There was an internal server error. +// +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. +// +// - ResourceNotFoundException +// The input requested a resource that was not found. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/StartZonalShift +func (c *ARCZonalShift) StartZonalShift(input *StartZonalShiftInput) (*StartZonalShiftOutput, error) { + req, out := c.StartZonalShiftRequest(input) + return out, req.Send() +} + +// StartZonalShiftWithContext is the same as StartZonalShift with the addition of +// the ability to pass a context and additional request options. +// +// See StartZonalShift for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ARCZonalShift) StartZonalShiftWithContext(ctx aws.Context, input *StartZonalShiftInput, opts ...request.Option) (*StartZonalShiftOutput, error) { + req, out := c.StartZonalShiftRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateZonalShift = "UpdateZonalShift" + +// UpdateZonalShiftRequest generates a "aws/request.Request" representing the +// client's request for the UpdateZonalShift operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateZonalShift for more information on using the UpdateZonalShift +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateZonalShiftRequest method. +// req, resp := client.UpdateZonalShiftRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/UpdateZonalShift +func (c *ARCZonalShift) UpdateZonalShiftRequest(input *UpdateZonalShiftInput) (req *request.Request, output *UpdateZonalShiftOutput) { + op := &request.Operation{ + Name: opUpdateZonalShift, + HTTPMethod: "PATCH", + HTTPPath: "/zonalshifts/{zonalShiftId}", + } + + if input == nil { + input = &UpdateZonalShiftInput{} + } + + output = &UpdateZonalShiftOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateZonalShift API operation for AWS ARC - Zonal Shift. +// +// Update an active zonal shift in Amazon Route 53 Application Recovery Controller +// in your AWS account. You can update a zonal shift to set a new expiration, +// or edit or replace the comment for the zonal shift. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS ARC - Zonal Shift's +// API operation UpdateZonalShift for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// There was an internal server error. +// +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. +// +// - ResourceNotFoundException +// The input requested a resource that was not found. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/UpdateZonalShift +func (c *ARCZonalShift) UpdateZonalShift(input *UpdateZonalShiftInput) (*UpdateZonalShiftOutput, error) { + req, out := c.UpdateZonalShiftRequest(input) + return out, req.Send() +} + +// UpdateZonalShiftWithContext is the same as UpdateZonalShift with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateZonalShift for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ARCZonalShift) UpdateZonalShiftWithContext(ctx aws.Context, input *UpdateZonalShiftInput, opts ...request.Option) (*UpdateZonalShiftOutput, error) { + req, out := c.UpdateZonalShiftRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// You do not have sufficient access to perform this action. +type AccessDeniedException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" 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 AccessDeniedException) 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 AccessDeniedException) GoString() string { + return s.String() +} + +func newErrorAccessDeniedException(v protocol.ResponseMetadata) error { + return &AccessDeniedException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *AccessDeniedException) Code() string { + return "AccessDeniedException" +} + +// Message returns the exception's message. +func (s *AccessDeniedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *AccessDeniedException) OrigErr() error { + return nil +} + +func (s *AccessDeniedException) 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 *AccessDeniedException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *AccessDeniedException) RequestID() string { + return s.RespMetadata.RequestID +} + +type CancelZonalShiftInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The internally-generated identifier of a zonal shift. + // + // ZonalShiftId is a required field + ZonalShiftId *string `location:"uri" locationName:"zonalShiftId" min:"6" type:"string" required:"true"` +} + +// 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 CancelZonalShiftInput) 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 CancelZonalShiftInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CancelZonalShiftInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CancelZonalShiftInput"} + if s.ZonalShiftId == nil { + invalidParams.Add(request.NewErrParamRequired("ZonalShiftId")) + } + if s.ZonalShiftId != nil && len(*s.ZonalShiftId) < 6 { + invalidParams.Add(request.NewErrParamMinLen("ZonalShiftId", 6)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetZonalShiftId sets the ZonalShiftId field's value. +func (s *CancelZonalShiftInput) SetZonalShiftId(v string) *CancelZonalShiftInput { + s.ZonalShiftId = &v + return s +} + +type CancelZonalShiftOutput struct { + _ struct{} `type:"structure"` + + // The Availability Zone that traffic is moved away from for a resource when + // you start a zonal shift. Until the zonal shift expires or you cancel it, + // traffic for the resource is instead moved to other Availability Zones in + // the AWS Region. + // + // AwayFrom is a required field + AwayFrom *string `locationName:"awayFrom" type:"string" required:"true"` + + // A comment that you enter about the zonal shift. Only the latest comment is + // retained; no comment history is maintained. A new comment overwrites any + // existing comment string. + // + // Comment is a required field + Comment *string `locationName:"comment" type:"string" required:"true"` + + // The expiry time (expiration time) for the zonal shift. A zonal shift is temporary + // and must be set to expire when you start the zonal shift. You can initially + // set a zonal shift to expire in a maximum of three days (72 hours). However, + // you can update a zonal shift to set a new expiration at any time. + // + // When you start a zonal shift, you specify how long you want it to be active, + // which Route 53 ARC converts to an expiry time (expiration time). You can + // cancel a zonal shift, for example, if you're ready to restore traffic to + // the Availability Zone. Or you can update the zonal shift to specify another + // length of time to expire in. + // + // ExpiryTime is a required field + ExpiryTime *time.Time `locationName:"expiryTime" type:"timestamp" required:"true"` + + // The identifier for the resource to include in a zonal shift. The identifier + // is the Amazon Resource Name (ARN) for the resource. + // + // At this time, you can only start a zonal shift for Network Load Balancers + // and Application Load Balancers with cross-zone load balancing turned off. + // + // ResourceIdentifier is a required field + ResourceIdentifier *string `locationName:"resourceIdentifier" min:"8" type:"string" required:"true"` + + // The time (UTC) when the zonal shift is started. + // + // StartTime is a required field + StartTime *time.Time `locationName:"startTime" type:"timestamp" required:"true"` + + // A status for a zonal shift. + // + // The Status for a zonal shift can have one of the following values: + // + // * ACTIVE: The zonal shift is started and active. + // + // * EXPIRED: The zonal shift has expired (the expiry time was exceeded). + // + // * CANCELED: The zonal shift was canceled. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"ZonalShiftStatus"` + + // The identifier of a zonal shift. + // + // ZonalShiftId is a required field + ZonalShiftId *string `locationName:"zonalShiftId" min:"6" type:"string" required:"true"` +} + +// 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 CancelZonalShiftOutput) 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 CancelZonalShiftOutput) GoString() string { + return s.String() +} + +// SetAwayFrom sets the AwayFrom field's value. +func (s *CancelZonalShiftOutput) SetAwayFrom(v string) *CancelZonalShiftOutput { + s.AwayFrom = &v + return s +} + +// SetComment sets the Comment field's value. +func (s *CancelZonalShiftOutput) SetComment(v string) *CancelZonalShiftOutput { + s.Comment = &v + return s +} + +// SetExpiryTime sets the ExpiryTime field's value. +func (s *CancelZonalShiftOutput) SetExpiryTime(v time.Time) *CancelZonalShiftOutput { + s.ExpiryTime = &v + return s +} + +// SetResourceIdentifier sets the ResourceIdentifier field's value. +func (s *CancelZonalShiftOutput) SetResourceIdentifier(v string) *CancelZonalShiftOutput { + s.ResourceIdentifier = &v + return s +} + +// SetStartTime sets the StartTime field's value. +func (s *CancelZonalShiftOutput) SetStartTime(v time.Time) *CancelZonalShiftOutput { + s.StartTime = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *CancelZonalShiftOutput) SetStatus(v string) *CancelZonalShiftOutput { + s.Status = &v + return s +} + +// SetZonalShiftId sets the ZonalShiftId field's value. +func (s *CancelZonalShiftOutput) SetZonalShiftId(v string) *CancelZonalShiftOutput { + s.ZonalShiftId = &v + return s +} + +// The request could not be processed because of conflict in the current state +// of the resource. +type ConflictException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` + + // The reason for the conflict exception. + // + // Reason is a required field + Reason *string `locationName:"reason" type:"string" required:"true" enum:"ConflictExceptionReason"` + + // The zonal shift ID associated with the conflict exception. + ZonalShiftId *string `locationName:"zonalShiftId" 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 ConflictException) 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 ConflictException) GoString() string { + return s.String() +} + +func newErrorConflictException(v protocol.ResponseMetadata) error { + return &ConflictException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ConflictException) Code() string { + return "ConflictException" +} + +// Message returns the exception's message. +func (s *ConflictException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ConflictException) OrigErr() error { + return nil +} + +func (s *ConflictException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ConflictException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ConflictException) RequestID() string { + return s.RespMetadata.RequestID +} + +type GetManagedResourceInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The identifier for the resource to include in a zonal shift. The identifier + // is the Amazon Resource Name (ARN) for the resource. + // + // At this time, you can only start a zonal shift for Network Load Balancers + // and Application Load Balancers with cross-zone load balancing turned off. + // + // ResourceIdentifier is a required field + ResourceIdentifier *string `location:"uri" locationName:"resourceIdentifier" min:"8" type:"string" required:"true"` +} + +// 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 GetManagedResourceInput) 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 GetManagedResourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetManagedResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetManagedResourceInput"} + if s.ResourceIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceIdentifier")) + } + if s.ResourceIdentifier != nil && len(*s.ResourceIdentifier) < 8 { + invalidParams.Add(request.NewErrParamMinLen("ResourceIdentifier", 8)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceIdentifier sets the ResourceIdentifier field's value. +func (s *GetManagedResourceInput) SetResourceIdentifier(v string) *GetManagedResourceInput { + s.ResourceIdentifier = &v + return s +} + +type GetManagedResourceOutput struct { + _ struct{} `type:"structure"` + + // A collection of key-value pairs that indicate whether resources are active + // in Availability Zones or not. The key name is the Availability Zone where + // the resource is deployed. The value is 1 or 0. + // + // AppliedWeights is a required field + AppliedWeights map[string]*float64 `locationName:"appliedWeights" type:"map" required:"true"` + + // The Amazon Resource Name (ARN) for the resource. + Arn *string `locationName:"arn" min:"8" type:"string"` + + // The name of the resource. + Name *string `locationName:"name" min:"1" type:"string"` + + // The zonal shifts that are currently active for a resource. + // + // ZonalShifts is a required field + ZonalShifts []*ZonalShiftInResource `locationName:"zonalShifts" type:"list" required:"true"` +} + +// 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 GetManagedResourceOutput) 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 GetManagedResourceOutput) GoString() string { + return s.String() +} + +// SetAppliedWeights sets the AppliedWeights field's value. +func (s *GetManagedResourceOutput) SetAppliedWeights(v map[string]*float64) *GetManagedResourceOutput { + s.AppliedWeights = v + return s +} + +// SetArn sets the Arn field's value. +func (s *GetManagedResourceOutput) SetArn(v string) *GetManagedResourceOutput { + s.Arn = &v + return s +} + +// SetName sets the Name field's value. +func (s *GetManagedResourceOutput) SetName(v string) *GetManagedResourceOutput { + s.Name = &v + return s +} + +// SetZonalShifts sets the ZonalShifts field's value. +func (s *GetManagedResourceOutput) SetZonalShifts(v []*ZonalShiftInResource) *GetManagedResourceOutput { + s.ZonalShifts = v + return s +} + +// There was an internal server error. +type InternalServerException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" 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 InternalServerException) 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 InternalServerException) GoString() string { + return s.String() +} + +func newErrorInternalServerException(v protocol.ResponseMetadata) error { + return &InternalServerException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *InternalServerException) Code() string { + return "InternalServerException" +} + +// Message returns the exception's message. +func (s *InternalServerException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *InternalServerException) OrigErr() error { + return nil +} + +func (s *InternalServerException) 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 *InternalServerException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *InternalServerException) RequestID() string { + return s.RespMetadata.RequestID +} + +type ListManagedResourcesInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The number of objects that you want to return with this call. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // Specifies that you want to receive the next page of results. Valid only if + // you received a NextToken response in the previous request. If you did, it + // indicates that more output is available. Set this parameter to the value + // provided by the previous call's NextToken response to request the next page + // of results. + NextToken *string `location:"querystring" locationName:"nextToken" 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 ListManagedResourcesInput) 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 ListManagedResourcesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListManagedResourcesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListManagedResourcesInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListManagedResourcesInput) SetMaxResults(v int64) *ListManagedResourcesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListManagedResourcesInput) SetNextToken(v string) *ListManagedResourcesInput { + s.NextToken = &v + return s +} + +type ListManagedResourcesOutput struct { + _ struct{} `type:"structure"` + + // The items in the response list. + // + // Items is a required field + Items []*ManagedResourceSummary `locationName:"items" type:"list" required:"true"` + + // Specifies that you want to receive the next page of results. Valid only if + // you received a NextToken response in the previous request. If you did, it + // indicates that more output is available. Set this parameter to the value + // provided by the previous call's NextToken response to request the next page + // of results. + NextToken *string `locationName:"nextToken" 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 ListManagedResourcesOutput) 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 ListManagedResourcesOutput) GoString() string { + return s.String() +} + +// SetItems sets the Items field's value. +func (s *ListManagedResourcesOutput) SetItems(v []*ManagedResourceSummary) *ListManagedResourcesOutput { + s.Items = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListManagedResourcesOutput) SetNextToken(v string) *ListManagedResourcesOutput { + s.NextToken = &v + return s +} + +type ListZonalShiftsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The number of objects that you want to return with this call. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // Specifies that you want to receive the next page of results. Valid only if + // you received a NextToken response in the previous request. If you did, it + // indicates that more output is available. Set this parameter to the value + // provided by the previous call's NextToken response to request the next page + // of results. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // A status for a zonal shift. + // + // The Status for a zonal shift can have one of the following values: + // + // * ACTIVE: The zonal shift is started and active. + // + // * EXPIRED: The zonal shift has expired (the expiry time was exceeded). + // + // * CANCELED: The zonal shift was canceled. + Status *string `location:"querystring" locationName:"status" type:"string" enum:"ZonalShiftStatus"` +} + +// 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 ListZonalShiftsInput) 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 ListZonalShiftsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListZonalShiftsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListZonalShiftsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListZonalShiftsInput) SetMaxResults(v int64) *ListZonalShiftsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListZonalShiftsInput) SetNextToken(v string) *ListZonalShiftsInput { + s.NextToken = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ListZonalShiftsInput) SetStatus(v string) *ListZonalShiftsInput { + s.Status = &v + return s +} + +type ListZonalShiftsOutput struct { + _ struct{} `type:"structure"` + + // The items in the response list. + Items []*ZonalShiftSummary `locationName:"items" type:"list"` + + // Specifies that you want to receive the next page of results. Valid only if + // you received a NextToken response in the previous request. If you did, it + // indicates that more output is available. Set this parameter to the value + // provided by the previous call's NextToken response to request the next page + // of results. + NextToken *string `locationName:"nextToken" 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 ListZonalShiftsOutput) 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 ListZonalShiftsOutput) GoString() string { + return s.String() +} + +// SetItems sets the Items field's value. +func (s *ListZonalShiftsOutput) SetItems(v []*ZonalShiftSummary) *ListZonalShiftsOutput { + s.Items = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListZonalShiftsOutput) SetNextToken(v string) *ListZonalShiftsOutput { + s.NextToken = &v + return s +} + +// A complex structure for a managed resource in an account. +// +// A managed resource is a Network Load Balancer or Application Load Balancer +// that has been registered with Route 53 ARC by Elastic Load Balancing. You +// can start a zonal shift in Route 53 ARC for a managed resource to temporarily +// move traffic for the resource away from an Availability Zone in an AWS Region. +// +// At this time, you can only start a zonal shift for Network Load Balancers +// and Application Load Balancers with cross-zone load balancing turned off. +type ManagedResourceSummary struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) for the managed resource. + Arn *string `locationName:"arn" min:"8" type:"string"` + + // The Availability Zones that a resource is deployed in. + // + // AvailabilityZones is a required field + AvailabilityZones []*string `locationName:"availabilityZones" type:"list" required:"true"` + + // The name of the managed resource. + Name *string `locationName:"name" 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 ManagedResourceSummary) 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 ManagedResourceSummary) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *ManagedResourceSummary) SetArn(v string) *ManagedResourceSummary { + s.Arn = &v + return s +} + +// SetAvailabilityZones sets the AvailabilityZones field's value. +func (s *ManagedResourceSummary) SetAvailabilityZones(v []*string) *ManagedResourceSummary { + s.AvailabilityZones = v + return s +} + +// SetName sets the Name field's value. +func (s *ManagedResourceSummary) SetName(v string) *ManagedResourceSummary { + s.Name = &v + return s +} + +// The input requested a resource that was not found. +type ResourceNotFoundException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" 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 ResourceNotFoundException) 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 ResourceNotFoundException) GoString() string { + return s.String() +} + +func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error { + return &ResourceNotFoundException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ResourceNotFoundException) Code() string { + return "ResourceNotFoundException" +} + +// Message returns the exception's message. +func (s *ResourceNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ResourceNotFoundException) OrigErr() error { + return nil +} + +func (s *ResourceNotFoundException) 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 *ResourceNotFoundException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ResourceNotFoundException) RequestID() string { + return s.RespMetadata.RequestID +} + +type StartZonalShiftInput struct { + _ struct{} `type:"structure"` + + // The Availability Zone that traffic is moved away from for a resource when + // you start a zonal shift. Until the zonal shift expires or you cancel it, + // traffic for the resource is instead moved to other Availability Zones in + // the AWS Region. + // + // AwayFrom is a required field + AwayFrom *string `locationName:"awayFrom" type:"string" required:"true"` + + // A comment that you enter about the zonal shift. Only the latest comment is + // retained; no comment history is maintained. A new comment overwrites any + // existing comment string. + // + // Comment is a required field + Comment *string `locationName:"comment" type:"string" required:"true"` + + // The length of time that you want a zonal shift to be active, which Route + // 53 ARC converts to an expiry time (expiration time). Zonal shifts are temporary. + // You can set a zonal shift to be active initially for up to three days (72 + // hours). + // + // If you want to still keep traffic away from an Availability Zone, you can + // update the zonal shift and set a new expiration. You can also cancel a zonal + // shift, before it expires, for example, if you're ready to restore traffic + // to the Availability Zone. + // + // To set a length of time for a zonal shift to be active, specify a whole number, + // and then one of the following, with no space: + // + //

For example: 20h + // means the zonal shift expires in 20 hours. 120m means the + // zonal shift expires in 120 minutes (2 hours).

+ // + // ExpiresIn is a required field + ExpiresIn *string `locationName:"expiresIn" min:"2" type:"string" required:"true"` + + // The identifier for the resource to include in a zonal shift. The identifier + // is the Amazon Resource Name (ARN) for the resource. + // + // At this time, you can only start a zonal shift for Network Load Balancers + // and Application Load Balancers with cross-zone load balancing turned off. + // + // ResourceIdentifier is a required field + ResourceIdentifier *string `locationName:"resourceIdentifier" min:"8" type:"string" required:"true"` +} + +// 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 StartZonalShiftInput) 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 StartZonalShiftInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StartZonalShiftInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartZonalShiftInput"} + if s.AwayFrom == nil { + invalidParams.Add(request.NewErrParamRequired("AwayFrom")) + } + if s.Comment == nil { + invalidParams.Add(request.NewErrParamRequired("Comment")) + } + if s.ExpiresIn == nil { + invalidParams.Add(request.NewErrParamRequired("ExpiresIn")) + } + if s.ExpiresIn != nil && len(*s.ExpiresIn) < 2 { + invalidParams.Add(request.NewErrParamMinLen("ExpiresIn", 2)) + } + if s.ResourceIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceIdentifier")) + } + if s.ResourceIdentifier != nil && len(*s.ResourceIdentifier) < 8 { + invalidParams.Add(request.NewErrParamMinLen("ResourceIdentifier", 8)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwayFrom sets the AwayFrom field's value. +func (s *StartZonalShiftInput) SetAwayFrom(v string) *StartZonalShiftInput { + s.AwayFrom = &v + return s +} + +// SetComment sets the Comment field's value. +func (s *StartZonalShiftInput) SetComment(v string) *StartZonalShiftInput { + s.Comment = &v + return s +} + +// SetExpiresIn sets the ExpiresIn field's value. +func (s *StartZonalShiftInput) SetExpiresIn(v string) *StartZonalShiftInput { + s.ExpiresIn = &v + return s +} + +// SetResourceIdentifier sets the ResourceIdentifier field's value. +func (s *StartZonalShiftInput) SetResourceIdentifier(v string) *StartZonalShiftInput { + s.ResourceIdentifier = &v + return s +} + +type StartZonalShiftOutput struct { + _ struct{} `type:"structure"` + + // The Availability Zone that traffic is moved away from for a resource when + // you start a zonal shift. Until the zonal shift expires or you cancel it, + // traffic for the resource is instead moved to other Availability Zones in + // the AWS Region. + // + // AwayFrom is a required field + AwayFrom *string `locationName:"awayFrom" type:"string" required:"true"` + + // A comment that you enter about the zonal shift. Only the latest comment is + // retained; no comment history is maintained. A new comment overwrites any + // existing comment string. + // + // Comment is a required field + Comment *string `locationName:"comment" type:"string" required:"true"` + + // The expiry time (expiration time) for the zonal shift. A zonal shift is temporary + // and must be set to expire when you start the zonal shift. You can initially + // set a zonal shift to expire in a maximum of three days (72 hours). However, + // you can update a zonal shift to set a new expiration at any time. + // + // When you start a zonal shift, you specify how long you want it to be active, + // which Route 53 ARC converts to an expiry time (expiration time). You can + // cancel a zonal shift, for example, if you're ready to restore traffic to + // the Availability Zone. Or you can update the zonal shift to specify another + // length of time to expire in. + // + // ExpiryTime is a required field + ExpiryTime *time.Time `locationName:"expiryTime" type:"timestamp" required:"true"` + + // The identifier for the resource to include in a zonal shift. The identifier + // is the Amazon Resource Name (ARN) for the resource. + // + // At this time, you can only start a zonal shift for Network Load Balancers + // and Application Load Balancers with cross-zone load balancing turned off. + // + // ResourceIdentifier is a required field + ResourceIdentifier *string `locationName:"resourceIdentifier" min:"8" type:"string" required:"true"` + + // The time (UTC) when the zonal shift is started. + // + // StartTime is a required field + StartTime *time.Time `locationName:"startTime" type:"timestamp" required:"true"` + + // A status for a zonal shift. + // + // The Status for a zonal shift can have one of the following values: + // + // * ACTIVE: The zonal shift is started and active. + // + // * EXPIRED: The zonal shift has expired (the expiry time was exceeded). + // + // * CANCELED: The zonal shift was canceled. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"ZonalShiftStatus"` + + // The identifier of a zonal shift. + // + // ZonalShiftId is a required field + ZonalShiftId *string `locationName:"zonalShiftId" min:"6" type:"string" required:"true"` +} + +// 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 StartZonalShiftOutput) 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 StartZonalShiftOutput) GoString() string { + return s.String() +} + +// SetAwayFrom sets the AwayFrom field's value. +func (s *StartZonalShiftOutput) SetAwayFrom(v string) *StartZonalShiftOutput { + s.AwayFrom = &v + return s +} + +// SetComment sets the Comment field's value. +func (s *StartZonalShiftOutput) SetComment(v string) *StartZonalShiftOutput { + s.Comment = &v + return s +} + +// SetExpiryTime sets the ExpiryTime field's value. +func (s *StartZonalShiftOutput) SetExpiryTime(v time.Time) *StartZonalShiftOutput { + s.ExpiryTime = &v + return s +} + +// SetResourceIdentifier sets the ResourceIdentifier field's value. +func (s *StartZonalShiftOutput) SetResourceIdentifier(v string) *StartZonalShiftOutput { + s.ResourceIdentifier = &v + return s +} + +// SetStartTime sets the StartTime field's value. +func (s *StartZonalShiftOutput) SetStartTime(v time.Time) *StartZonalShiftOutput { + s.StartTime = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *StartZonalShiftOutput) SetStatus(v string) *StartZonalShiftOutput { + s.Status = &v + return s +} + +// SetZonalShiftId sets the ZonalShiftId field's value. +func (s *StartZonalShiftOutput) SetZonalShiftId(v string) *StartZonalShiftOutput { + s.ZonalShiftId = &v + return s +} + +// The request was denied due to request throttling. +type ThrottlingException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" 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 ThrottlingException) 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 ThrottlingException) GoString() string { + return s.String() +} + +func newErrorThrottlingException(v protocol.ResponseMetadata) error { + return &ThrottlingException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ThrottlingException) Code() string { + return "ThrottlingException" +} + +// Message returns the exception's message. +func (s *ThrottlingException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ThrottlingException) OrigErr() error { + return nil +} + +func (s *ThrottlingException) 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 *ThrottlingException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ThrottlingException) RequestID() string { + return s.RespMetadata.RequestID +} + +type UpdateZonalShiftInput struct { + _ struct{} `type:"structure"` + + // A comment that you enter about the zonal shift. Only the latest comment is + // retained; no comment history is maintained. A new comment overwrites any + // existing comment string. + Comment *string `locationName:"comment" type:"string"` + + // The length of time that you want a zonal shift to be active, which Route + // 53 ARC converts to an expiry time (expiration time). Zonal shifts are temporary. + // You can set a zonal shift to be active initially for up to three days (72 + // hours). + // + // If you want to still keep traffic away from an Availability Zone, you can + // update the zonal shift and set a new expiration. You can also cancel a zonal + // shift, before it expires, for example, if you're ready to restore traffic + // to the Availability Zone. + // + // To set a length of time for a zonal shift to be active, specify a whole number, + // and then one of the following, with no space: + // + // * A lowercase letter m: To specify that the value is in minutes. + // + // * A lowercase letter h: To specify that the value is in hours. + // + // For example: 20h means the zonal shift expires in 20 hours. 120m means the + // zonal shift expires in 120 minutes (2 hours). + ExpiresIn *string `locationName:"expiresIn" min:"2" type:"string"` + + // The identifier of a zonal shift. + // + // ZonalShiftId is a required field + ZonalShiftId *string `location:"uri" locationName:"zonalShiftId" min:"6" type:"string" required:"true"` +} + +// 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 UpdateZonalShiftInput) 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 UpdateZonalShiftInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateZonalShiftInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateZonalShiftInput"} + if s.ExpiresIn != nil && len(*s.ExpiresIn) < 2 { + invalidParams.Add(request.NewErrParamMinLen("ExpiresIn", 2)) + } + if s.ZonalShiftId == nil { + invalidParams.Add(request.NewErrParamRequired("ZonalShiftId")) + } + if s.ZonalShiftId != nil && len(*s.ZonalShiftId) < 6 { + invalidParams.Add(request.NewErrParamMinLen("ZonalShiftId", 6)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetComment sets the Comment field's value. +func (s *UpdateZonalShiftInput) SetComment(v string) *UpdateZonalShiftInput { + s.Comment = &v + return s +} + +// SetExpiresIn sets the ExpiresIn field's value. +func (s *UpdateZonalShiftInput) SetExpiresIn(v string) *UpdateZonalShiftInput { + s.ExpiresIn = &v + return s +} + +// SetZonalShiftId sets the ZonalShiftId field's value. +func (s *UpdateZonalShiftInput) SetZonalShiftId(v string) *UpdateZonalShiftInput { + s.ZonalShiftId = &v + return s +} + +type UpdateZonalShiftOutput struct { + _ struct{} `type:"structure"` + + // The Availability Zone that traffic is moved away from for a resource when + // you start a zonal shift. Until the zonal shift expires or you cancel it, + // traffic for the resource is instead moved to other Availability Zones in + // the AWS Region. + // + // AwayFrom is a required field + AwayFrom *string `locationName:"awayFrom" type:"string" required:"true"` + + // A comment that you enter about the zonal shift. Only the latest comment is + // retained; no comment history is maintained. A new comment overwrites any + // existing comment string. + // + // Comment is a required field + Comment *string `locationName:"comment" type:"string" required:"true"` + + // The expiry time (expiration time) for the zonal shift. A zonal shift is temporary + // and must be set to expire when you start the zonal shift. You can initially + // set a zonal shift to expire in a maximum of three days (72 hours). However, + // you can update a zonal shift to set a new expiration at any time. + // + // When you start a zonal shift, you specify how long you want it to be active, + // which Route 53 ARC converts to an expiry time (expiration time). You can + // cancel a zonal shift, for example, if you're ready to restore traffic to + // the Availability Zone. Or you can update the zonal shift to specify another + // length of time to expire in. + // + // ExpiryTime is a required field + ExpiryTime *time.Time `locationName:"expiryTime" type:"timestamp" required:"true"` + + // The identifier for the resource to include in a zonal shift. The identifier + // is the Amazon Resource Name (ARN) for the resource. + // + // At this time, you can only start a zonal shift for Network Load Balancers + // and Application Load Balancers with cross-zone load balancing turned off. + // + // ResourceIdentifier is a required field + ResourceIdentifier *string `locationName:"resourceIdentifier" min:"8" type:"string" required:"true"` + + // The time (UTC) when the zonal shift is started. + // + // StartTime is a required field + StartTime *time.Time `locationName:"startTime" type:"timestamp" required:"true"` + + // A status for a zonal shift. + // + // The Status for a zonal shift can have one of the following values: + // + // * ACTIVE: The zonal shift is started and active. + // + // * EXPIRED: The zonal shift has expired (the expiry time was exceeded). + // + // * CANCELED: The zonal shift was canceled. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"ZonalShiftStatus"` + + // The identifier of a zonal shift. + // + // ZonalShiftId is a required field + ZonalShiftId *string `locationName:"zonalShiftId" min:"6" type:"string" required:"true"` +} + +// 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 UpdateZonalShiftOutput) 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 UpdateZonalShiftOutput) GoString() string { + return s.String() +} + +// SetAwayFrom sets the AwayFrom field's value. +func (s *UpdateZonalShiftOutput) SetAwayFrom(v string) *UpdateZonalShiftOutput { + s.AwayFrom = &v + return s +} + +// SetComment sets the Comment field's value. +func (s *UpdateZonalShiftOutput) SetComment(v string) *UpdateZonalShiftOutput { + s.Comment = &v + return s +} + +// SetExpiryTime sets the ExpiryTime field's value. +func (s *UpdateZonalShiftOutput) SetExpiryTime(v time.Time) *UpdateZonalShiftOutput { + s.ExpiryTime = &v + return s +} + +// SetResourceIdentifier sets the ResourceIdentifier field's value. +func (s *UpdateZonalShiftOutput) SetResourceIdentifier(v string) *UpdateZonalShiftOutput { + s.ResourceIdentifier = &v + return s +} + +// SetStartTime sets the StartTime field's value. +func (s *UpdateZonalShiftOutput) SetStartTime(v time.Time) *UpdateZonalShiftOutput { + s.StartTime = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *UpdateZonalShiftOutput) SetStatus(v string) *UpdateZonalShiftOutput { + s.Status = &v + return s +} + +// SetZonalShiftId sets the ZonalShiftId field's value. +func (s *UpdateZonalShiftOutput) SetZonalShiftId(v string) *UpdateZonalShiftOutput { + s.ZonalShiftId = &v + return s +} + +// The input fails to satisfy the constraints specified by an AWS service. +type ValidationException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` + + // The reason for the validation exception. + // + // Reason is a required field + Reason *string `locationName:"reason" type:"string" required:"true" enum:"ValidationExceptionReason"` +} + +// 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 ValidationException) 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 ValidationException) GoString() string { + return s.String() +} + +func newErrorValidationException(v protocol.ResponseMetadata) error { + return &ValidationException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ValidationException) Code() string { + return "ValidationException" +} + +// Message returns the exception's message. +func (s *ValidationException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ValidationException) OrigErr() error { + return nil +} + +func (s *ValidationException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ValidationException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ValidationException) RequestID() string { + return s.RespMetadata.RequestID +} + +// A complex structure that lists the zonal shifts for a managed resource and +// their statuses for the resource. +type ZonalShiftInResource struct { + _ struct{} `type:"structure"` + + // An appliedStatus for a zonal shift for a resource can have one of two values: + // APPLIED or NOT_APPLIED. + // + // AppliedStatus is a required field + AppliedStatus *string `locationName:"appliedStatus" type:"string" required:"true" enum:"AppliedStatus"` + + // The Availability Zone that traffic is moved away from for a resource when + // you start a zonal shift. Until the zonal shift expires or you cancel it, + // traffic for the resource is instead moved to other Availability Zones in + // the AWS Region. + // + // AwayFrom is a required field + AwayFrom *string `locationName:"awayFrom" type:"string" required:"true"` + + // A comment that you enter about the zonal shift. Only the latest comment is + // retained; no comment history is maintained. That is, a new comment overwrites + // any existing comment string. + // + // Comment is a required field + Comment *string `locationName:"comment" type:"string" required:"true"` + + // The expiry time (expiration time) for the zonal shift. A zonal shift is temporary + // and must be set to expire when you start the zonal shift. You can initially + // set a zonal shift to expire in a maximum of three days (72 hours). However, + // you can update a zonal shift to set a new expiration at any time. + // + // When you start a zonal shift, you specify how long you want it to be active, + // which Route 53 ARC converts to an expiry time (expiration time). You can + // cancel a zonal shift, for example, if you're ready to restore traffic to + // the Availability Zone. Or you can update the zonal shift to specify another + // length of time to expire in. + // + // ExpiryTime is a required field + ExpiryTime *time.Time `locationName:"expiryTime" type:"timestamp" required:"true"` + + // The identifier for the resource to include in a zonal shift. The identifier + // is the Amazon Resource Name (ARN) for the resource. + // + // At this time, you can only start a zonal shift for Network Load Balancers + // and Application Load Balancers with cross-zone load balancing turned off. + // + // ResourceIdentifier is a required field + ResourceIdentifier *string `locationName:"resourceIdentifier" min:"8" type:"string" required:"true"` + + // The time (UTC) when the zonal shift is started. + // + // StartTime is a required field + StartTime *time.Time `locationName:"startTime" type:"timestamp" required:"true"` + + // The identifier of a zonal shift. + // + // ZonalShiftId is a required field + ZonalShiftId *string `locationName:"zonalShiftId" min:"6" type:"string" required:"true"` +} + +// 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 ZonalShiftInResource) 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 ZonalShiftInResource) GoString() string { + return s.String() +} + +// SetAppliedStatus sets the AppliedStatus field's value. +func (s *ZonalShiftInResource) SetAppliedStatus(v string) *ZonalShiftInResource { + s.AppliedStatus = &v + return s +} + +// SetAwayFrom sets the AwayFrom field's value. +func (s *ZonalShiftInResource) SetAwayFrom(v string) *ZonalShiftInResource { + s.AwayFrom = &v + return s +} + +// SetComment sets the Comment field's value. +func (s *ZonalShiftInResource) SetComment(v string) *ZonalShiftInResource { + s.Comment = &v + return s +} + +// SetExpiryTime sets the ExpiryTime field's value. +func (s *ZonalShiftInResource) SetExpiryTime(v time.Time) *ZonalShiftInResource { + s.ExpiryTime = &v + return s +} + +// SetResourceIdentifier sets the ResourceIdentifier field's value. +func (s *ZonalShiftInResource) SetResourceIdentifier(v string) *ZonalShiftInResource { + s.ResourceIdentifier = &v + return s +} + +// SetStartTime sets the StartTime field's value. +func (s *ZonalShiftInResource) SetStartTime(v time.Time) *ZonalShiftInResource { + s.StartTime = &v + return s +} + +// SetZonalShiftId sets the ZonalShiftId field's value. +func (s *ZonalShiftInResource) SetZonalShiftId(v string) *ZonalShiftInResource { + s.ZonalShiftId = &v + return s +} + +// You start a zonal shift to temporarily move load balancer traffic away from +// an Availability Zone in a AWS Region. A zonal shift helps your application +// recover immediately, for example, from a developer's bad code deployment +// or from an AWS infrastructure failure in a single Availability Zone. You +// can start a zonal shift in Route 53 ARC only for managed resources in your +// account in an AWS Region. Supported AWS resources are automatically registered +// with Route 53 ARC. +// +// Zonal shifts are temporary. A zonal shift can be active for up to three days +// (72 hours). +// +// When you start a zonal shift, you specify how long you want it to be active, +// which Amazon Route 53 Application Recovery Controller converts to an expiry +// time (expiration time). You can cancel a zonal shift, for example, if you're +// ready to restore traffic to the Availability Zone. Or you can extend the +// zonal shift by updating the expiration so the zonal shift is active longer. +type ZonalShiftSummary struct { + _ struct{} `type:"structure"` + + // The Availability Zone that traffic is moved away from for a resource when + // you start a zonal shift. Until the zonal shift expires or you cancel it, + // traffic for the resource is instead moved to other Availability Zones in + // the AWS Region. + // + // AwayFrom is a required field + AwayFrom *string `locationName:"awayFrom" type:"string" required:"true"` + + // A comment that you enter about the zonal shift. Only the latest comment is + // retained; no comment history is maintained. That is, a new comment overwrites + // any existing comment string. + // + // Comment is a required field + Comment *string `locationName:"comment" type:"string" required:"true"` + + // The expiry time (expiration time) for the zonal shift. A zonal shift is temporary + // and must be set to expire when you start the zonal shift. You can initially + // set a zonal shift to expire in a maximum of three days (72 hours). However, + // you can update a zonal shift to set a new expiration at any time. + // + // When you start a zonal shift, you specify how long you want it to be active, + // which Route 53 ARC converts to an expiry time (expiration time). You can + // cancel a zonal shift, for example, if you're ready to restore traffic to + // the Availability Zone. Or you can update the zonal shift to specify another + // length of time to expire in. + // + // ExpiryTime is a required field + ExpiryTime *time.Time `locationName:"expiryTime" type:"timestamp" required:"true"` + + // The identifier for the resource to include in a zonal shift. The identifier + // is the Amazon Resource Name (ARN) for the resource. + // + // At this time, you can only start a zonal shift for Network Load Balancers + // and Application Load Balancers with cross-zone load balancing turned off. + // + // ResourceIdentifier is a required field + ResourceIdentifier *string `locationName:"resourceIdentifier" min:"8" type:"string" required:"true"` + + // The time (UTC) when the zonal shift is started. + // + // StartTime is a required field + StartTime *time.Time `locationName:"startTime" type:"timestamp" required:"true"` + + // A status for a zonal shift. + // + // The Status for a zonal shift can have one of the following values: + // + // * ACTIVE: The zonal shift is started and active. + // + // * EXPIRED: The zonal shift has expired (the expiry time was exceeded). + // + // * CANCELED: The zonal shift was canceled. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"ZonalShiftStatus"` + + // The identifier of a zonal shift. + // + // ZonalShiftId is a required field + ZonalShiftId *string `locationName:"zonalShiftId" min:"6" type:"string" required:"true"` +} + +// 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 ZonalShiftSummary) 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 ZonalShiftSummary) GoString() string { + return s.String() +} + +// SetAwayFrom sets the AwayFrom field's value. +func (s *ZonalShiftSummary) SetAwayFrom(v string) *ZonalShiftSummary { + s.AwayFrom = &v + return s +} + +// SetComment sets the Comment field's value. +func (s *ZonalShiftSummary) SetComment(v string) *ZonalShiftSummary { + s.Comment = &v + return s +} + +// SetExpiryTime sets the ExpiryTime field's value. +func (s *ZonalShiftSummary) SetExpiryTime(v time.Time) *ZonalShiftSummary { + s.ExpiryTime = &v + return s +} + +// SetResourceIdentifier sets the ResourceIdentifier field's value. +func (s *ZonalShiftSummary) SetResourceIdentifier(v string) *ZonalShiftSummary { + s.ResourceIdentifier = &v + return s +} + +// SetStartTime sets the StartTime field's value. +func (s *ZonalShiftSummary) SetStartTime(v time.Time) *ZonalShiftSummary { + s.StartTime = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ZonalShiftSummary) SetStatus(v string) *ZonalShiftSummary { + s.Status = &v + return s +} + +// SetZonalShiftId sets the ZonalShiftId field's value. +func (s *ZonalShiftSummary) SetZonalShiftId(v string) *ZonalShiftSummary { + s.ZonalShiftId = &v + return s +} + +const ( + // AppliedStatusApplied is a AppliedStatus enum value + AppliedStatusApplied = "APPLIED" + + // AppliedStatusNotApplied is a AppliedStatus enum value + AppliedStatusNotApplied = "NOT_APPLIED" +) + +// AppliedStatus_Values returns all elements of the AppliedStatus enum +func AppliedStatus_Values() []string { + return []string{ + AppliedStatusApplied, + AppliedStatusNotApplied, + } +} + +const ( + // ConflictExceptionReasonZonalShiftAlreadyExists is a ConflictExceptionReason enum value + ConflictExceptionReasonZonalShiftAlreadyExists = "ZonalShiftAlreadyExists" + + // ConflictExceptionReasonZonalShiftStatusNotActive is a ConflictExceptionReason enum value + ConflictExceptionReasonZonalShiftStatusNotActive = "ZonalShiftStatusNotActive" + + // ConflictExceptionReasonSimultaneousZonalShiftsConflict is a ConflictExceptionReason enum value + ConflictExceptionReasonSimultaneousZonalShiftsConflict = "SimultaneousZonalShiftsConflict" +) + +// ConflictExceptionReason_Values returns all elements of the ConflictExceptionReason enum +func ConflictExceptionReason_Values() []string { + return []string{ + ConflictExceptionReasonZonalShiftAlreadyExists, + ConflictExceptionReasonZonalShiftStatusNotActive, + ConflictExceptionReasonSimultaneousZonalShiftsConflict, + } +} + +const ( + // ValidationExceptionReasonInvalidExpiresIn is a ValidationExceptionReason enum value + ValidationExceptionReasonInvalidExpiresIn = "InvalidExpiresIn" + + // ValidationExceptionReasonInvalidStatus is a ValidationExceptionReason enum value + ValidationExceptionReasonInvalidStatus = "InvalidStatus" + + // ValidationExceptionReasonMissingValue is a ValidationExceptionReason enum value + ValidationExceptionReasonMissingValue = "MissingValue" + + // ValidationExceptionReasonInvalidToken is a ValidationExceptionReason enum value + ValidationExceptionReasonInvalidToken = "InvalidToken" + + // ValidationExceptionReasonInvalidResourceIdentifier is a ValidationExceptionReason enum value + ValidationExceptionReasonInvalidResourceIdentifier = "InvalidResourceIdentifier" + + // ValidationExceptionReasonInvalidAz is a ValidationExceptionReason enum value + ValidationExceptionReasonInvalidAz = "InvalidAz" + + // ValidationExceptionReasonUnsupportedAz is a ValidationExceptionReason enum value + ValidationExceptionReasonUnsupportedAz = "UnsupportedAz" +) + +// ValidationExceptionReason_Values returns all elements of the ValidationExceptionReason enum +func ValidationExceptionReason_Values() []string { + return []string{ + ValidationExceptionReasonInvalidExpiresIn, + ValidationExceptionReasonInvalidStatus, + ValidationExceptionReasonMissingValue, + ValidationExceptionReasonInvalidToken, + ValidationExceptionReasonInvalidResourceIdentifier, + ValidationExceptionReasonInvalidAz, + ValidationExceptionReasonUnsupportedAz, + } +} + +const ( + // ZonalShiftStatusActive is a ZonalShiftStatus enum value + ZonalShiftStatusActive = "ACTIVE" + + // ZonalShiftStatusExpired is a ZonalShiftStatus enum value + ZonalShiftStatusExpired = "EXPIRED" + + // ZonalShiftStatusCanceled is a ZonalShiftStatus enum value + ZonalShiftStatusCanceled = "CANCELED" +) + +// ZonalShiftStatus_Values returns all elements of the ZonalShiftStatus enum +func ZonalShiftStatus_Values() []string { + return []string{ + ZonalShiftStatusActive, + ZonalShiftStatusExpired, + ZonalShiftStatusCanceled, + } +} diff --git a/service/arczonalshift/arczonalshiftiface/interface.go b/service/arczonalshift/arczonalshiftiface/interface.go new file mode 100644 index 00000000000..488387a5b64 --- /dev/null +++ b/service/arczonalshift/arczonalshiftiface/interface.go @@ -0,0 +1,94 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +// Package arczonalshiftiface provides an interface to enable mocking the AWS ARC - Zonal Shift service client +// for testing your code. +// +// It is important to note that this interface will have breaking changes +// when the service model is updated and adds new API operations, paginators, +// and waiters. +package arczonalshiftiface + +import ( + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/service/arczonalshift" +) + +// ARCZonalShiftAPI provides an interface to enable mocking the +// arczonalshift.ARCZonalShift service client's API operation, +// paginators, and waiters. This make unit testing your code that calls out +// to the SDK's service client's calls easier. +// +// The best way to use this interface is so the SDK's service client's calls +// can be stubbed out for unit testing your code with the SDK without needing +// to inject custom request handlers into the SDK's request pipeline. +// +// // myFunc uses an SDK service client to make a request to +// // AWS ARC - Zonal Shift. +// func myFunc(svc arczonalshiftiface.ARCZonalShiftAPI) bool { +// // Make svc.CancelZonalShift request +// } +// +// func main() { +// sess := session.New() +// svc := arczonalshift.New(sess) +// +// myFunc(svc) +// } +// +// In your _test.go file: +// +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockARCZonalShiftClient struct { +// arczonalshiftiface.ARCZonalShiftAPI +// } +// func (m *mockARCZonalShiftClient) CancelZonalShift(input *arczonalshift.CancelZonalShiftInput) (*arczonalshift.CancelZonalShiftOutput, error) { +// // mock response/functionality +// } +// +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockARCZonalShiftClient{} +// +// myfunc(mockSvc) +// +// // Verify myFunc's functionality +// } +// +// It is important to note that this interface will have breaking changes +// when the service model is updated and adds new API operations, paginators, +// and waiters. Its suggested to use the pattern above for testing, or using +// tooling to generate mocks to satisfy the interfaces. +type ARCZonalShiftAPI interface { + CancelZonalShift(*arczonalshift.CancelZonalShiftInput) (*arczonalshift.CancelZonalShiftOutput, error) + CancelZonalShiftWithContext(aws.Context, *arczonalshift.CancelZonalShiftInput, ...request.Option) (*arczonalshift.CancelZonalShiftOutput, error) + CancelZonalShiftRequest(*arczonalshift.CancelZonalShiftInput) (*request.Request, *arczonalshift.CancelZonalShiftOutput) + + GetManagedResource(*arczonalshift.GetManagedResourceInput) (*arczonalshift.GetManagedResourceOutput, error) + GetManagedResourceWithContext(aws.Context, *arczonalshift.GetManagedResourceInput, ...request.Option) (*arczonalshift.GetManagedResourceOutput, error) + GetManagedResourceRequest(*arczonalshift.GetManagedResourceInput) (*request.Request, *arczonalshift.GetManagedResourceOutput) + + ListManagedResources(*arczonalshift.ListManagedResourcesInput) (*arczonalshift.ListManagedResourcesOutput, error) + ListManagedResourcesWithContext(aws.Context, *arczonalshift.ListManagedResourcesInput, ...request.Option) (*arczonalshift.ListManagedResourcesOutput, error) + ListManagedResourcesRequest(*arczonalshift.ListManagedResourcesInput) (*request.Request, *arczonalshift.ListManagedResourcesOutput) + + ListManagedResourcesPages(*arczonalshift.ListManagedResourcesInput, func(*arczonalshift.ListManagedResourcesOutput, bool) bool) error + ListManagedResourcesPagesWithContext(aws.Context, *arczonalshift.ListManagedResourcesInput, func(*arczonalshift.ListManagedResourcesOutput, bool) bool, ...request.Option) error + + ListZonalShifts(*arczonalshift.ListZonalShiftsInput) (*arczonalshift.ListZonalShiftsOutput, error) + ListZonalShiftsWithContext(aws.Context, *arczonalshift.ListZonalShiftsInput, ...request.Option) (*arczonalshift.ListZonalShiftsOutput, error) + ListZonalShiftsRequest(*arczonalshift.ListZonalShiftsInput) (*request.Request, *arczonalshift.ListZonalShiftsOutput) + + ListZonalShiftsPages(*arczonalshift.ListZonalShiftsInput, func(*arczonalshift.ListZonalShiftsOutput, bool) bool) error + ListZonalShiftsPagesWithContext(aws.Context, *arczonalshift.ListZonalShiftsInput, func(*arczonalshift.ListZonalShiftsOutput, bool) bool, ...request.Option) error + + StartZonalShift(*arczonalshift.StartZonalShiftInput) (*arczonalshift.StartZonalShiftOutput, error) + StartZonalShiftWithContext(aws.Context, *arczonalshift.StartZonalShiftInput, ...request.Option) (*arczonalshift.StartZonalShiftOutput, error) + StartZonalShiftRequest(*arczonalshift.StartZonalShiftInput) (*request.Request, *arczonalshift.StartZonalShiftOutput) + + UpdateZonalShift(*arczonalshift.UpdateZonalShiftInput) (*arczonalshift.UpdateZonalShiftOutput, error) + UpdateZonalShiftWithContext(aws.Context, *arczonalshift.UpdateZonalShiftInput, ...request.Option) (*arczonalshift.UpdateZonalShiftOutput, error) + UpdateZonalShiftRequest(*arczonalshift.UpdateZonalShiftInput) (*request.Request, *arczonalshift.UpdateZonalShiftOutput) +} + +var _ ARCZonalShiftAPI = (*arczonalshift.ARCZonalShift)(nil) diff --git a/service/arczonalshift/doc.go b/service/arczonalshift/doc.go new file mode 100644 index 00000000000..49ecbbeaa42 --- /dev/null +++ b/service/arczonalshift/doc.go @@ -0,0 +1,55 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +// Package arczonalshift provides the client and types for making API +// requests to AWS ARC - Zonal Shift. +// +// This is the API Reference Guide for the zonal shift feature of Amazon Route +// 53 Application Recovery Controller. This guide is for developers who need +// detailed information about zonal shift API actions, data types, and errors. +// +// Zonal shift is in preview release for Amazon Route 53 Application Recovery +// Controller and is subject to change. +// +// Zonal shift in Route 53 ARC enables you to move traffic for a load balancer +// resource away from an Availability Zone. Starting a zonal shift helps your +// application recover immediately, for example, from a developer's bad code +// deployment or from an AWS infrastructure failure in a single Availability +// Zone, reducing the impact and time lost from an issue in one zone. +// +// Supported AWS resources are automatically registered with Route 53 ARC. Resources +// that are registered for zonal shifts in Route 53 ARC are managed resources +// in Route 53 ARC. You can start a zonal shift for any managed resource in +// your account in a Region. At this time, you can only start a zonal shift +// for Network Load Balancers and Application Load Balancers with cross-zone +// load balancing turned off. +// +// Zonal shifts are temporary. You must specify an expiration when you start +// a zonal shift, of up to three days initially. If you want to still keep traffic +// away from an Availability Zone, you can update the zonal shift and set a +// new expiration. You can also cancel a zonal shift, before it expires, for +// example, if you're ready to restore traffic to the Availability Zone. +// +// For more information about using zonal shift, see the Amazon Route 53 Application +// Recovery Controller Developer Guide (https://docs.aws.amazon.com/r53recovery/latest/dg/what-is-route53-recovery.html). +// +// See https://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30 for more information on this service. +// +// See arczonalshift package documentation for more information. +// https://docs.aws.amazon.com/sdk-for-go/api/service/arczonalshift/ +// +// # Using the Client +// +// To contact AWS ARC - Zonal Shift with the SDK use the New function to create +// a new service client. With that client you can make API requests to the service. +// These clients are safe to use concurrently. +// +// See the SDK's documentation for more information on how to use the SDK. +// https://docs.aws.amazon.com/sdk-for-go/api/ +// +// See aws.Config documentation for more information on configuring SDK clients. +// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config +// +// See the AWS ARC - Zonal Shift client ARCZonalShift for more +// information on creating client for this service. +// https://docs.aws.amazon.com/sdk-for-go/api/service/arczonalshift/#New +package arczonalshift diff --git a/service/arczonalshift/errors.go b/service/arczonalshift/errors.go new file mode 100644 index 00000000000..5ab77a06960 --- /dev/null +++ b/service/arczonalshift/errors.go @@ -0,0 +1,56 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package arczonalshift + +import ( + "github.com/aws/aws-sdk-go/private/protocol" +) + +const ( + + // ErrCodeAccessDeniedException for service response error code + // "AccessDeniedException". + // + // You do not have sufficient access to perform this action. + ErrCodeAccessDeniedException = "AccessDeniedException" + + // ErrCodeConflictException for service response error code + // "ConflictException". + // + // The request could not be processed because of conflict in the current state + // of the resource. + ErrCodeConflictException = "ConflictException" + + // ErrCodeInternalServerException for service response error code + // "InternalServerException". + // + // There was an internal server error. + ErrCodeInternalServerException = "InternalServerException" + + // ErrCodeResourceNotFoundException for service response error code + // "ResourceNotFoundException". + // + // The input requested a resource that was not found. + ErrCodeResourceNotFoundException = "ResourceNotFoundException" + + // ErrCodeThrottlingException for service response error code + // "ThrottlingException". + // + // The request was denied due to request throttling. + ErrCodeThrottlingException = "ThrottlingException" + + // ErrCodeValidationException for service response error code + // "ValidationException". + // + // The input fails to satisfy the constraints specified by an AWS service. + ErrCodeValidationException = "ValidationException" +) + +var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ + "AccessDeniedException": newErrorAccessDeniedException, + "ConflictException": newErrorConflictException, + "InternalServerException": newErrorInternalServerException, + "ResourceNotFoundException": newErrorResourceNotFoundException, + "ThrottlingException": newErrorThrottlingException, + "ValidationException": newErrorValidationException, +} diff --git a/service/arczonalshift/service.go b/service/arczonalshift/service.go new file mode 100644 index 00000000000..e9764aa9cf8 --- /dev/null +++ b/service/arczonalshift/service.go @@ -0,0 +1,106 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package arczonalshift + +import ( + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/client" + "github.com/aws/aws-sdk-go/aws/client/metadata" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/aws/signer/v4" + "github.com/aws/aws-sdk-go/private/protocol" + "github.com/aws/aws-sdk-go/private/protocol/restjson" +) + +// ARCZonalShift provides the API operation methods for making requests to +// AWS ARC - Zonal Shift. See this package's package overview docs +// for details on the service. +// +// ARCZonalShift methods are safe to use concurrently. It is not safe to +// modify mutate any of the struct's properties though. +type ARCZonalShift struct { + *client.Client +} + +// Used for custom client initialization logic +var initClient func(*client.Client) + +// Used for custom request initialization logic +var initRequest func(*request.Request) + +// Service information constants +const ( + ServiceName = "ARC Zonal Shift" // Name of service. + EndpointsID = "arc-zonal-shift" // ID to lookup a service endpoint with. + ServiceID = "ARC Zonal Shift" // ServiceID is a unique identifier of a specific service. +) + +// New creates a new instance of the ARCZonalShift client with a session. +// If additional configuration is needed for the client instance use the optional +// aws.Config parameter to add your extra config. +// +// Example: +// +// mySession := session.Must(session.NewSession()) +// +// // Create a ARCZonalShift client from just a session. +// svc := arczonalshift.New(mySession) +// +// // Create a ARCZonalShift client with additional configuration +// svc := arczonalshift.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +func New(p client.ConfigProvider, cfgs ...*aws.Config) *ARCZonalShift { + c := p.ClientConfig(EndpointsID, cfgs...) + if c.SigningNameDerived || len(c.SigningName) == 0 { + c.SigningName = "arc-zonal-shift" + } + return newClient(*c.Config, c.Handlers, c.PartitionID, c.Endpoint, c.SigningRegion, c.SigningName, c.ResolvedRegion) +} + +// newClient creates, initializes and returns a new service client instance. +func newClient(cfg aws.Config, handlers request.Handlers, partitionID, endpoint, signingRegion, signingName, resolvedRegion string) *ARCZonalShift { + svc := &ARCZonalShift{ + Client: client.New( + cfg, + metadata.ClientInfo{ + ServiceName: ServiceName, + ServiceID: ServiceID, + SigningName: signingName, + SigningRegion: signingRegion, + PartitionID: partitionID, + Endpoint: endpoint, + APIVersion: "2022-10-30", + ResolvedRegion: resolvedRegion, + }, + handlers, + ), + } + + // Handlers + svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler) + svc.Handlers.Build.PushBackNamed(restjson.BuildHandler) + svc.Handlers.Unmarshal.PushBackNamed(restjson.UnmarshalHandler) + svc.Handlers.UnmarshalMeta.PushBackNamed(restjson.UnmarshalMetaHandler) + svc.Handlers.UnmarshalError.PushBackNamed( + protocol.NewUnmarshalErrorHandler(restjson.NewUnmarshalTypedError(exceptionFromCode)).NamedHandler(), + ) + + // Run custom client initialization if present + if initClient != nil { + initClient(svc.Client) + } + + return svc +} + +// newRequest creates a new request for a ARCZonalShift operation and runs any +// custom request initialization. +func (c *ARCZonalShift) newRequest(op *request.Operation, params, data interface{}) *request.Request { + req := c.NewRequest(op, params, data) + + // Run custom request initialization if present + if initRequest != nil { + initRequest(req) + } + + return req +} diff --git a/service/computeoptimizer/api.go b/service/computeoptimizer/api.go index cb5f227ff29..aefd641bb59 100644 --- a/service/computeoptimizer/api.go +++ b/service/computeoptimizer/api.go @@ -2467,10 +2467,6 @@ type DeleteRecommendationPreferencesInput struct { // The name of the recommendation preference to delete. // - // Enhanced infrastructure metrics (EnhancedInfrastructureMetrics) is the only - // feature that can be activated through preferences. Therefore, it is also - // the only recommendation preference that can be deleted. - // // RecommendationPreferenceNames is a required field RecommendationPreferenceNames []*string `locationName:"recommendationPreferenceNames" type:"list" required:"true" enum:"RecommendationPreferenceName"` @@ -2845,6 +2841,14 @@ type EffectiveRecommendationPreferences struct { // in the Compute Optimizer User Guide. EnhancedInfrastructureMetrics *string `locationName:"enhancedInfrastructureMetrics" type:"string" enum:"EnhancedInfrastructureMetrics"` + // An object that describes the external metrics recommendation preference. + // + // If the preference is applied in the latest recommendation refresh, an object + // with a valid source value appears in the response. If the preference isn't + // applied to the recommendations already, then this object doesn't appear in + // the response. + ExternalMetricsPreference *ExternalMetricsPreference `locationName:"externalMetricsPreference" type:"structure"` + // Describes the activation status of the inferred workload types preference. // // A status of Active confirms that the preference is applied in the latest @@ -2883,6 +2887,12 @@ func (s *EffectiveRecommendationPreferences) SetEnhancedInfrastructureMetrics(v return s } +// SetExternalMetricsPreference sets the ExternalMetricsPreference field's value. +func (s *EffectiveRecommendationPreferences) SetExternalMetricsPreference(v *ExternalMetricsPreference) *EffectiveRecommendationPreferences { + s.ExternalMetricsPreference = v + return s +} + // SetInferredWorkloadTypes sets the InferredWorkloadTypes field's value. func (s *EffectiveRecommendationPreferences) SetInferredWorkloadTypes(v string) *EffectiveRecommendationPreferences { s.InferredWorkloadTypes = &v @@ -3756,6 +3766,38 @@ func (s *ExportLambdaFunctionRecommendationsOutput) SetS3Destination(v *S3Destin return s } +// Describes the external metrics preferences for EC2 rightsizing recommendations. +type ExternalMetricsPreference struct { + _ struct{} `type:"structure"` + + // Contains the source options for external metrics preferences. + Source *string `locationName:"source" type:"string" enum:"ExternalMetricsSource"` +} + +// 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 ExternalMetricsPreference) 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 ExternalMetricsPreference) GoString() string { + return s.String() +} + +// SetSource sets the Source field's value. +func (s *ExternalMetricsPreference) SetSource(v string) *ExternalMetricsPreference { + s.Source = &v + return s +} + // Describes a filter that returns a more specific list of recommendations. // Use this filter with the GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations // actions. @@ -4497,6 +4539,23 @@ type GetEffectiveRecommendationPreferencesOutput struct { // For more information, see Enhanced infrastructure metrics (https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html) // in the Compute Optimizer User Guide. EnhancedInfrastructureMetrics *string `locationName:"enhancedInfrastructureMetrics" type:"string" enum:"EnhancedInfrastructureMetrics"` + + // The provider of the external metrics recommendation preference. Considers + // all applicable preferences that you might have set at the account and organization + // level. + // + // If the preference is applied in the latest recommendation refresh, an object + // with a valid source value appears in the response. If the preference isn't + // applied to the recommendations already, then this object doesn't appear in + // the response. + // + // To validate whether the preference is applied to your last generated set + // of recommendations, review the effectiveRecommendationPreferences value in + // the response of the GetEC2InstanceRecommendations actions. + // + // For more information, see Enhanced infrastructure metrics (https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html) + // in the Compute Optimizer User Guide. + ExternalMetricsPreference *ExternalMetricsPreference `locationName:"externalMetricsPreference" type:"structure"` } // String returns the string representation. @@ -4523,6 +4582,12 @@ func (s *GetEffectiveRecommendationPreferencesOutput) SetEnhancedInfrastructureM return s } +// SetExternalMetricsPreference sets the ExternalMetricsPreference field's value. +func (s *GetEffectiveRecommendationPreferencesOutput) SetExternalMetricsPreference(v *ExternalMetricsPreference) *GetEffectiveRecommendationPreferencesOutput { + s.ExternalMetricsPreference = v + return s +} + type GetEnrollmentStatusInput struct { _ struct{} `type:"structure"` } @@ -6528,6 +6593,18 @@ type PutRecommendationPreferencesInput struct { // in the Compute Optimizer User Guide. EnhancedInfrastructureMetrics *string `locationName:"enhancedInfrastructureMetrics" type:"string" enum:"EnhancedInfrastructureMetrics"` + // The provider of the external metrics recommendation preference to create + // or update. + // + // Specify a valid provider in the source field to activate the preference. + // To delete this preference, see the DeleteRecommendationPreferences action. + // + // This preference can only be set for the Ec2Instance resource type. + // + // For more information, see External metrics ingestion (https://docs.aws.amazon.com/compute-optimizer/latest/ug/external-metrics-ingestion.html) + // in the Compute Optimizer User Guide. + ExternalMetricsPreference *ExternalMetricsPreference `locationName:"externalMetricsPreference" type:"structure"` + // The status of the inferred workload types recommendation preference to create // or update. // @@ -6609,6 +6686,12 @@ func (s *PutRecommendationPreferencesInput) SetEnhancedInfrastructureMetrics(v s return s } +// SetExternalMetricsPreference sets the ExternalMetricsPreference field's value. +func (s *PutRecommendationPreferencesInput) SetExternalMetricsPreference(v *ExternalMetricsPreference) *PutRecommendationPreferencesInput { + s.ExternalMetricsPreference = v + return s +} + // SetInferredWorkloadTypes sets the InferredWorkloadTypes field's value. func (s *PutRecommendationPreferencesInput) SetInferredWorkloadTypes(v string) *PutRecommendationPreferencesInput { s.InferredWorkloadTypes = &v @@ -6836,19 +6919,27 @@ type RecommendationPreferencesDetail struct { // The status of the enhanced infrastructure metrics recommendation preference. // - // A status of Active confirms that the preference is applied in the latest - // recommendation refresh, and a status of Inactive confirms that it's not yet - // applied to recommendations. + // When the recommendations page is refreshed, a status of Active confirms that + // the preference is applied to the recommendations, and a status of Inactive + // confirms that the preference isn't yet applied to recommendations. // // For more information, see Enhanced infrastructure metrics (https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html) // in the Compute Optimizer User Guide. EnhancedInfrastructureMetrics *string `locationName:"enhancedInfrastructureMetrics" type:"string" enum:"EnhancedInfrastructureMetrics"` + // An object that describes the external metrics recommendation preference. + // + // If the preference is applied in the latest recommendation refresh, an object + // with a valid source value appears in the response. If the preference isn't + // applied to the recommendations already, then this object doesn't appear in + // the response. + ExternalMetricsPreference *ExternalMetricsPreference `locationName:"externalMetricsPreference" type:"structure"` + // The status of the inferred workload types recommendation preference. // - // A status of Active confirms that the preference is applied in the latest - // recommendation refresh. A status of Inactive confirms that it's not yet applied - // to recommendations. + // When the recommendations page is refreshed, a status of Active confirms that + // the preference is applied to the recommendations, and a status of Inactive + // confirms that the preference isn't yet applied to recommendations. InferredWorkloadTypes *string `locationName:"inferredWorkloadTypes" type:"string" enum:"InferredWorkloadTypesPreference"` // The target resource type of the recommendation preference to create. @@ -6892,6 +6983,12 @@ func (s *RecommendationPreferencesDetail) SetEnhancedInfrastructureMetrics(v str return s } +// SetExternalMetricsPreference sets the ExternalMetricsPreference field's value. +func (s *RecommendationPreferencesDetail) SetExternalMetricsPreference(v *ExternalMetricsPreference) *RecommendationPreferencesDetail { + s.ExternalMetricsPreference = v + return s +} + // SetInferredWorkloadTypes sets the InferredWorkloadTypes field's value. func (s *RecommendationPreferencesDetail) SetInferredWorkloadTypes(v string) *RecommendationPreferencesDetail { s.InferredWorkloadTypes = &v @@ -8611,6 +8708,9 @@ const ( // ExportableInstanceFieldRecommendationOptionsMigrationEffort is a ExportableInstanceField enum value ExportableInstanceFieldRecommendationOptionsMigrationEffort = "RecommendationOptionsMigrationEffort" + + // ExportableInstanceFieldEffectiveRecommendationPreferencesExternalMetricsSource is a ExportableInstanceField enum value + ExportableInstanceFieldEffectiveRecommendationPreferencesExternalMetricsSource = "EffectiveRecommendationPreferencesExternalMetricsSource" ) // ExportableInstanceField_Values returns all elements of the ExportableInstanceField enum @@ -8668,6 +8768,7 @@ func ExportableInstanceField_Values() []string { ExportableInstanceFieldEffectiveRecommendationPreferencesInferredWorkloadTypes, ExportableInstanceFieldInferredWorkloadTypes, ExportableInstanceFieldRecommendationOptionsMigrationEffort, + ExportableInstanceFieldEffectiveRecommendationPreferencesExternalMetricsSource, } } @@ -8903,6 +9004,30 @@ func ExportableVolumeField_Values() []string { } } +const ( + // ExternalMetricsSourceDatadog is a ExternalMetricsSource enum value + ExternalMetricsSourceDatadog = "Datadog" + + // ExternalMetricsSourceDynatrace is a ExternalMetricsSource enum value + ExternalMetricsSourceDynatrace = "Dynatrace" + + // ExternalMetricsSourceNewRelic is a ExternalMetricsSource enum value + ExternalMetricsSourceNewRelic = "NewRelic" + + // ExternalMetricsSourceInstana is a ExternalMetricsSource enum value + ExternalMetricsSourceInstana = "Instana" +) + +// ExternalMetricsSource_Values returns all elements of the ExternalMetricsSource enum +func ExternalMetricsSource_Values() []string { + return []string{ + ExternalMetricsSourceDatadog, + ExternalMetricsSourceDynatrace, + ExternalMetricsSourceNewRelic, + ExternalMetricsSourceInstana, + } +} + const ( // FileFormatCsv is a FileFormat enum value FileFormatCsv = "Csv" @@ -9405,6 +9530,9 @@ const ( // RecommendationPreferenceNameInferredWorkloadTypes is a RecommendationPreferenceName enum value RecommendationPreferenceNameInferredWorkloadTypes = "InferredWorkloadTypes" + + // RecommendationPreferenceNameExternalMetricsPreference is a RecommendationPreferenceName enum value + RecommendationPreferenceNameExternalMetricsPreference = "ExternalMetricsPreference" ) // RecommendationPreferenceName_Values returns all elements of the RecommendationPreferenceName enum @@ -9412,6 +9540,7 @@ func RecommendationPreferenceName_Values() []string { return []string{ RecommendationPreferenceNameEnhancedInfrastructureMetrics, RecommendationPreferenceNameInferredWorkloadTypes, + RecommendationPreferenceNameExternalMetricsPreference, } } diff --git a/service/configservice/api.go b/service/configservice/api.go index c039fd926f6..49c54eeed4c 100644 --- a/service/configservice/api.go +++ b/service/configservice/api.go @@ -2815,6 +2815,10 @@ func (c *ConfigService) DescribeConfigRulesRequest(input *DescribeConfigRulesInp // The specified next token is invalid. Specify the nextToken string that was // returned in the previous response to get the next page of results. // +// - InvalidParameterValueException +// One or more of the specified parameters are invalid. Verify that your parameters +// are valid and try again. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigRules func (c *ConfigService) DescribeConfigRules(input *DescribeConfigRulesInput) (*DescribeConfigRulesOutput, error) { req, out := c.DescribeConfigRulesRequest(input) @@ -6305,7 +6309,7 @@ func (c *ConfigService) GetComplianceDetailsByResourceRequest(input *GetComplian // // Returns the evaluation results for the specified Amazon Web Services resource. // The results indicate which Config rules were used to evaluate the resource, -// when each rule was last used, and whether the resource complies with each +// when each rule was last invoked, and whether the resource complies with each // rule. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -7734,6 +7738,88 @@ func (c *ConfigService) GetResourceConfigHistoryPagesWithContext(ctx aws.Context return p.Err() } +const opGetResourceEvaluationSummary = "GetResourceEvaluationSummary" + +// GetResourceEvaluationSummaryRequest generates a "aws/request.Request" representing the +// client's request for the GetResourceEvaluationSummary operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetResourceEvaluationSummary for more information on using the GetResourceEvaluationSummary +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetResourceEvaluationSummaryRequest method. +// req, resp := client.GetResourceEvaluationSummaryRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetResourceEvaluationSummary +func (c *ConfigService) GetResourceEvaluationSummaryRequest(input *GetResourceEvaluationSummaryInput) (req *request.Request, output *GetResourceEvaluationSummaryOutput) { + op := &request.Operation{ + Name: opGetResourceEvaluationSummary, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetResourceEvaluationSummaryInput{} + } + + output = &GetResourceEvaluationSummaryOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetResourceEvaluationSummary API operation for AWS Config. +// +// Returns a summary of resource evaluation for the specified resource evaluation +// ID from the proactive rules that were run. The results indicate which evaluation +// context was used to evaluate the rules, which resource details were evaluated, +// the evaluation mode that was run, and whether the resource details comply +// with the configuration of the proactive rules. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Config's +// API operation GetResourceEvaluationSummary for usage and error information. +// +// Returned Error Types: +// - ResourceNotFoundException +// You have specified a resource that does not exist. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetResourceEvaluationSummary +func (c *ConfigService) GetResourceEvaluationSummary(input *GetResourceEvaluationSummaryInput) (*GetResourceEvaluationSummaryOutput, error) { + req, out := c.GetResourceEvaluationSummaryRequest(input) + return out, req.Send() +} + +// GetResourceEvaluationSummaryWithContext is the same as GetResourceEvaluationSummary with the addition of +// the ability to pass a context and additional request options. +// +// See GetResourceEvaluationSummary for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ConfigService) GetResourceEvaluationSummaryWithContext(ctx aws.Context, input *GetResourceEvaluationSummaryInput, opts ...request.Option) (*GetResourceEvaluationSummaryOutput, error) { + req, out := c.GetResourceEvaluationSummaryRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetStoredQuery = "GetStoredQuery" // GetStoredQueryRequest generates a "aws/request.Request" representing the @@ -8308,6 +8394,151 @@ func (c *ConfigService) ListDiscoveredResourcesPagesWithContext(ctx aws.Context, return p.Err() } +const opListResourceEvaluations = "ListResourceEvaluations" + +// ListResourceEvaluationsRequest generates a "aws/request.Request" representing the +// client's request for the ListResourceEvaluations operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListResourceEvaluations for more information on using the ListResourceEvaluations +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListResourceEvaluationsRequest method. +// req, resp := client.ListResourceEvaluationsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ListResourceEvaluations +func (c *ConfigService) ListResourceEvaluationsRequest(input *ListResourceEvaluationsInput) (req *request.Request, output *ListResourceEvaluationsOutput) { + op := &request.Operation{ + Name: opListResourceEvaluations, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "Limit", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListResourceEvaluationsInput{} + } + + output = &ListResourceEvaluationsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListResourceEvaluations API operation for AWS Config. +// +// Returns a list of proactive resource evaluations. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Config's +// API operation ListResourceEvaluations for usage and error information. +// +// Returned Error Types: +// +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. +// +// - InvalidParameterValueException +// One or more of the specified parameters are invalid. Verify that your parameters +// are valid and try again. +// +// - InvalidTimeRangeException +// The specified time range is invalid. The earlier time is not chronologically +// before the later time. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ListResourceEvaluations +func (c *ConfigService) ListResourceEvaluations(input *ListResourceEvaluationsInput) (*ListResourceEvaluationsOutput, error) { + req, out := c.ListResourceEvaluationsRequest(input) + return out, req.Send() +} + +// ListResourceEvaluationsWithContext is the same as ListResourceEvaluations with the addition of +// the ability to pass a context and additional request options. +// +// See ListResourceEvaluations for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ConfigService) ListResourceEvaluationsWithContext(ctx aws.Context, input *ListResourceEvaluationsInput, opts ...request.Option) (*ListResourceEvaluationsOutput, error) { + req, out := c.ListResourceEvaluationsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListResourceEvaluationsPages iterates over the pages of a ListResourceEvaluations operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListResourceEvaluations method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListResourceEvaluations operation. +// pageNum := 0 +// err := client.ListResourceEvaluationsPages(params, +// func(page *configservice.ListResourceEvaluationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *ConfigService) ListResourceEvaluationsPages(input *ListResourceEvaluationsInput, fn func(*ListResourceEvaluationsOutput, bool) bool) error { + return c.ListResourceEvaluationsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListResourceEvaluationsPagesWithContext same as ListResourceEvaluationsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ConfigService) ListResourceEvaluationsPagesWithContext(ctx aws.Context, input *ListResourceEvaluationsInput, fn func(*ListResourceEvaluationsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListResourceEvaluationsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListResourceEvaluationsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListResourceEvaluationsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListStoredQueries = "ListStoredQueries" // ListStoredQueriesRequest generates a "aws/request.Request" representing the @@ -10123,6 +10354,9 @@ func (c *ConfigService) PutRemediationExceptionsRequest(input *PutRemediationExc // a remediation action to a specific resource. Remediation exceptions blocks // auto-remediation until the exception is cleared. // +// To place an exception on an Amazon Web Services resource, ensure remediation +// is set as manual remediation. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -11146,6 +11380,98 @@ func (c *ConfigService) StartRemediationExecutionWithContext(ctx aws.Context, in return out, req.Send() } +const opStartResourceEvaluation = "StartResourceEvaluation" + +// StartResourceEvaluationRequest generates a "aws/request.Request" representing the +// client's request for the StartResourceEvaluation operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See StartResourceEvaluation for more information on using the StartResourceEvaluation +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the StartResourceEvaluationRequest method. +// req, resp := client.StartResourceEvaluationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StartResourceEvaluation +func (c *ConfigService) StartResourceEvaluationRequest(input *StartResourceEvaluationInput) (req *request.Request, output *StartResourceEvaluationOutput) { + op := &request.Operation{ + Name: opStartResourceEvaluation, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &StartResourceEvaluationInput{} + } + + output = &StartResourceEvaluationOutput{} + req = c.newRequest(op, input, output) + return +} + +// StartResourceEvaluation API operation for AWS Config. +// +// Runs an on-demand evaluation for the specified resource to determine whether +// the resource details will comply with configured Config rules. You can also +// use it for evaluation purposes. Config recommends using an evaluation context. +// It runs an execution against the resource details with all of the Config +// rules in your account that match with the specified proactive mode and resource +// type. +// +// Ensure you have the cloudformation:DescribeType role setup to validate the +// resource type schema. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Config's +// API operation StartResourceEvaluation for usage and error information. +// +// Returned Error Types: +// +// - InvalidParameterValueException +// One or more of the specified parameters are invalid. Verify that your parameters +// are valid and try again. +// +// - IdempotentParameterMismatch +// Using the same client token with one or more different parameters. Specify +// a new client token with the parameter changes and try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StartResourceEvaluation +func (c *ConfigService) StartResourceEvaluation(input *StartResourceEvaluationInput) (*StartResourceEvaluationOutput, error) { + req, out := c.StartResourceEvaluationRequest(input) + return out, req.Send() +} + +// StartResourceEvaluationWithContext is the same as StartResourceEvaluation with the addition of +// the ability to pass a context and additional request options. +// +// See StartResourceEvaluation for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ConfigService) StartResourceEvaluationWithContext(ctx aws.Context, input *StartResourceEvaluationInput, opts ...request.Option) (*StartResourceEvaluationOutput, error) { + req, out := c.StartResourceEvaluationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opStopConfigurationRecorder = "StopConfigurationRecorder" // StopConfigurationRecorderRequest generates a "aws/request.Request" representing the @@ -13120,6 +13446,10 @@ type ConfigRule struct { // The description that you provide for the Config rule. Description *string `type:"string"` + // The modes the Config rule can be evaluated in. The valid values are distinct + // objects. By default, the value is Detective evaluation mode only. + EvaluationModes []*EvaluationModeConfiguration `type:"list"` + // A string, in JSON format, that is passed to the Config rule Lambda function. InputParameters *string `min:"1" type:"string"` @@ -13247,6 +13577,12 @@ func (s *ConfigRule) SetDescription(v string) *ConfigRule { return s } +// SetEvaluationModes sets the EvaluationModes field's value. +func (s *ConfigRule) SetEvaluationModes(v []*EvaluationModeConfiguration) *ConfigRule { + s.EvaluationModes = v + return s +} + // SetInputParameters sets the InputParameters field's value. func (s *ConfigRule) SetInputParameters(v string) *ConfigRule { s.InputParameters = &v @@ -17120,16 +17456,13 @@ func (s *DescribeConfigRuleEvaluationStatusOutput) SetNextToken(v string) *Descr return s } -type DescribeConfigRulesInput struct { +// Returns a filtered list of Detective or Proactive Config rules. By default, +// if the filter is not defined, this API returns an unfiltered list. +type DescribeConfigRulesFilters struct { _ struct{} `type:"structure"` - // The names of the Config rules for which you want details. If you do not specify - // any names, Config returns details for all your rules. - ConfigRuleNames []*string `type:"list"` - - // The nextToken string returned on a previous page that you use to get the - // next page of results in a paginated response. - NextToken *string `type:"string"` + // The mode of an evaluation. The valid values are Detective or Proactive. + EvaluationMode *string `type:"string" enum:"EvaluationMode"` } // String returns the string representation. @@ -17137,7 +17470,7 @@ type DescribeConfigRulesInput struct { // 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 DescribeConfigRulesInput) String() string { +func (s DescribeConfigRulesFilters) String() string { return awsutil.Prettify(s) } @@ -17146,20 +17479,66 @@ func (s DescribeConfigRulesInput) String() string { // 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 DescribeConfigRulesInput) GoString() string { +func (s DescribeConfigRulesFilters) GoString() string { return s.String() } -// SetConfigRuleNames sets the ConfigRuleNames field's value. -func (s *DescribeConfigRulesInput) SetConfigRuleNames(v []*string) *DescribeConfigRulesInput { - s.ConfigRuleNames = v +// SetEvaluationMode sets the EvaluationMode field's value. +func (s *DescribeConfigRulesFilters) SetEvaluationMode(v string) *DescribeConfigRulesFilters { + s.EvaluationMode = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *DescribeConfigRulesInput) SetNextToken(v string) *DescribeConfigRulesInput { - s.NextToken = &v - return s +type DescribeConfigRulesInput struct { + _ struct{} `type:"structure"` + + // The names of the Config rules for which you want details. If you do not specify + // any names, Config returns details for all your rules. + ConfigRuleNames []*string `type:"list"` + + // Returns a list of Detecive or Proactive Config rules. By default, this API + // returns an unfiltered list. + Filters *DescribeConfigRulesFilters `type:"structure"` + + // The nextToken string returned on a previous page that you use to get the + // next page of results in a paginated response. + NextToken *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 DescribeConfigRulesInput) 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 DescribeConfigRulesInput) GoString() string { + return s.String() +} + +// SetConfigRuleNames sets the ConfigRuleNames field's value. +func (s *DescribeConfigRulesInput) SetConfigRuleNames(v []*string) *DescribeConfigRulesInput { + s.ConfigRuleNames = v + return s +} + +// SetFilters sets the Filters field's value. +func (s *DescribeConfigRulesInput) SetFilters(v *DescribeConfigRulesFilters) *DescribeConfigRulesInput { + s.Filters = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeConfigRulesInput) SetNextToken(v string) *DescribeConfigRulesInput { + s.NextToken = &v + return s } type DescribeConfigRulesOutput struct { @@ -19008,6 +19387,86 @@ func (s *Evaluation) SetOrderingTimestamp(v time.Time) *Evaluation { return s } +// Use EvaluationContext to group independently initiated proactive resource +// evaluations. For example, CFN Stack. If you want to check just a resource +// definition, you do not need to provide evaluation context. +type EvaluationContext struct { + _ struct{} `type:"structure"` + + // A unique EvaluationContextIdentifier ID for an EvaluationContext. + EvaluationContextIdentifier *string `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 EvaluationContext) 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 EvaluationContext) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *EvaluationContext) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "EvaluationContext"} + if s.EvaluationContextIdentifier != nil && len(*s.EvaluationContextIdentifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EvaluationContextIdentifier", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEvaluationContextIdentifier sets the EvaluationContextIdentifier field's value. +func (s *EvaluationContext) SetEvaluationContextIdentifier(v string) *EvaluationContext { + s.EvaluationContextIdentifier = &v + return s +} + +// The configuration object for Config rule evaluation mode. The Supported valid +// values are Detective or Proactive. +type EvaluationModeConfiguration struct { + _ struct{} `type:"structure"` + + // The mode of an evaluation. The valid values are Detective or Proactive. + Mode *string `type:"string" enum:"EvaluationMode"` +} + +// 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 EvaluationModeConfiguration) 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 EvaluationModeConfiguration) GoString() string { + return s.String() +} + +// SetMode sets the Mode field's value. +func (s *EvaluationModeConfiguration) SetMode(v string) *EvaluationModeConfiguration { + s.Mode = &v + return s +} + // The details of an Config evaluation. Provides the Amazon Web Services resource // that was evaluated, the compliance of the resource, related time stamps, // and supplementary information. @@ -19107,6 +19566,9 @@ type EvaluationResultIdentifier struct { // change notification, or it can indicate when Config delivered the configuration // snapshot, depending on which event triggered the evaluation. OrderingTimestamp *time.Time `type:"timestamp"` + + // A Unique ID for an evaluation result. + ResourceEvaluationId *string `min:"1" type:"string"` } // String returns the string representation. @@ -19139,6 +19601,12 @@ func (s *EvaluationResultIdentifier) SetOrderingTimestamp(v time.Time) *Evaluati return s } +// SetResourceEvaluationId sets the ResourceEvaluationId field's value. +func (s *EvaluationResultIdentifier) SetResourceEvaluationId(v string) *EvaluationResultIdentifier { + s.ResourceEvaluationId = &v + return s +} + // Identifies an Config rule that evaluated an Amazon Web Services resource, // and provides the type and ID of the resource that the rule evaluated. type EvaluationResultQualifier struct { @@ -19147,6 +19615,9 @@ type EvaluationResultQualifier struct { // The name of the Config rule that was used in the evaluation. ConfigRuleName *string `min:"1" type:"string"` + // The mode of an evaluation. The valid values are Detective or Proactive. + EvaluationMode *string `type:"string" enum:"EvaluationMode"` + // The ID of the evaluated Amazon Web Services resource. ResourceId *string `min:"1" type:"string"` @@ -19178,6 +19649,12 @@ func (s *EvaluationResultQualifier) SetConfigRuleName(v string) *EvaluationResul return s } +// SetEvaluationMode sets the EvaluationMode field's value. +func (s *EvaluationResultQualifier) SetEvaluationMode(v string) *EvaluationResultQualifier { + s.EvaluationMode = &v + return s +} + // SetResourceId sets the ResourceId field's value. func (s *EvaluationResultQualifier) SetResourceId(v string) *EvaluationResultQualifier { s.ResourceId = &v @@ -19190,6 +19667,50 @@ func (s *EvaluationResultQualifier) SetResourceType(v string) *EvaluationResultQ return s } +// Returns status details of an evaluation. +type EvaluationStatus struct { + _ struct{} `type:"structure"` + + // An explanation for failed execution status. + FailureReason *string `min:"1" type:"string"` + + // The status of an execution. The valid values are In_Progress, Succeeded or + // Failed. + // + // Status is a required field + Status *string `type:"string" required:"true" enum:"ResourceEvaluationStatus"` +} + +// 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 EvaluationStatus) 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 EvaluationStatus) GoString() string { + return s.String() +} + +// SetFailureReason sets the FailureReason field's value. +func (s *EvaluationStatus) SetFailureReason(v string) *EvaluationStatus { + s.FailureReason = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *EvaluationStatus) SetStatus(v string) *EvaluationStatus { + s.Status = &v + return s +} + // The controls that Config uses for executing remediations. type ExecutionControls struct { _ struct{} `type:"structure"` @@ -20355,17 +20876,20 @@ type GetComplianceDetailsByResourceInput struct { // next page of results in a paginated response. NextToken *string `type:"string"` + // The unique ID of Amazon Web Services resource execution for which you want + // to retrieve evaluation results. + // + // You need to only provide either a ResourceEvaluationID or a ResourceID and + // ResourceType. + ResourceEvaluationId *string `min:"1" type:"string"` + // The ID of the Amazon Web Services resource for which you want compliance // information. - // - // ResourceId is a required field - ResourceId *string `min:"1" type:"string" required:"true"` + ResourceId *string `min:"1" type:"string"` // The type of the Amazon Web Services resource for which you want compliance // information. - // - // ResourceType is a required field - ResourceType *string `min:"1" type:"string" required:"true"` + ResourceType *string `min:"1" type:"string"` } // String returns the string representation. @@ -20389,15 +20913,12 @@ func (s GetComplianceDetailsByResourceInput) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *GetComplianceDetailsByResourceInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "GetComplianceDetailsByResourceInput"} - if s.ResourceId == nil { - invalidParams.Add(request.NewErrParamRequired("ResourceId")) + if s.ResourceEvaluationId != nil && len(*s.ResourceEvaluationId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceEvaluationId", 1)) } if s.ResourceId != nil && len(*s.ResourceId) < 1 { invalidParams.Add(request.NewErrParamMinLen("ResourceId", 1)) } - if s.ResourceType == nil { - invalidParams.Add(request.NewErrParamRequired("ResourceType")) - } if s.ResourceType != nil && len(*s.ResourceType) < 1 { invalidParams.Add(request.NewErrParamMinLen("ResourceType", 1)) } @@ -20420,6 +20941,12 @@ func (s *GetComplianceDetailsByResourceInput) SetNextToken(v string) *GetComplia return s } +// SetResourceEvaluationId sets the ResourceEvaluationId field's value. +func (s *GetComplianceDetailsByResourceInput) SetResourceEvaluationId(v string) *GetComplianceDetailsByResourceInput { + s.ResourceEvaluationId = &v + return s +} + // SetResourceId sets the ResourceId field's value. func (s *GetComplianceDetailsByResourceInput) SetResourceId(v string) *GetComplianceDetailsByResourceInput { s.ResourceId = &v @@ -21523,6 +22050,144 @@ func (s *GetResourceConfigHistoryOutput) SetNextToken(v string) *GetResourceConf return s } +type GetResourceEvaluationSummaryInput struct { + _ struct{} `type:"structure"` + + // The unique ResourceEvaluationId of Amazon Web Services resource execution + // for which you want to retrieve the evaluation summary. + // + // ResourceEvaluationId is a required field + ResourceEvaluationId *string `min:"1" type:"string" required:"true"` +} + +// 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 GetResourceEvaluationSummaryInput) 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 GetResourceEvaluationSummaryInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetResourceEvaluationSummaryInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetResourceEvaluationSummaryInput"} + if s.ResourceEvaluationId == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceEvaluationId")) + } + if s.ResourceEvaluationId != nil && len(*s.ResourceEvaluationId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceEvaluationId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceEvaluationId sets the ResourceEvaluationId field's value. +func (s *GetResourceEvaluationSummaryInput) SetResourceEvaluationId(v string) *GetResourceEvaluationSummaryInput { + s.ResourceEvaluationId = &v + return s +} + +type GetResourceEvaluationSummaryOutput struct { + _ struct{} `type:"structure"` + + // The compliance status of the resource evaluation summary. + Compliance *string `type:"string" enum:"ComplianceType"` + + // Returns an EvaluationContext object. + EvaluationContext *EvaluationContext `type:"structure"` + + // Lists results of the mode that you requested to retrieve the resource evaluation + // summary. The valid values are Detective or Proactive. + EvaluationMode *string `type:"string" enum:"EvaluationMode"` + + // The start timestamp when Config rule starts evaluating compliance for the + // provided resource details. + EvaluationStartTimestamp *time.Time `type:"timestamp"` + + // Returns an EvaluationStatus object. + EvaluationStatus *EvaluationStatus `type:"structure"` + + // Returns a ResourceDetails object. + ResourceDetails *ResourceDetails `type:"structure"` + + // The unique ResourceEvaluationId of Amazon Web Services resource execution + // for which you want to retrieve the evaluation summary. + ResourceEvaluationId *string `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 GetResourceEvaluationSummaryOutput) 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 GetResourceEvaluationSummaryOutput) GoString() string { + return s.String() +} + +// SetCompliance sets the Compliance field's value. +func (s *GetResourceEvaluationSummaryOutput) SetCompliance(v string) *GetResourceEvaluationSummaryOutput { + s.Compliance = &v + return s +} + +// SetEvaluationContext sets the EvaluationContext field's value. +func (s *GetResourceEvaluationSummaryOutput) SetEvaluationContext(v *EvaluationContext) *GetResourceEvaluationSummaryOutput { + s.EvaluationContext = v + return s +} + +// SetEvaluationMode sets the EvaluationMode field's value. +func (s *GetResourceEvaluationSummaryOutput) SetEvaluationMode(v string) *GetResourceEvaluationSummaryOutput { + s.EvaluationMode = &v + return s +} + +// SetEvaluationStartTimestamp sets the EvaluationStartTimestamp field's value. +func (s *GetResourceEvaluationSummaryOutput) SetEvaluationStartTimestamp(v time.Time) *GetResourceEvaluationSummaryOutput { + s.EvaluationStartTimestamp = &v + return s +} + +// SetEvaluationStatus sets the EvaluationStatus field's value. +func (s *GetResourceEvaluationSummaryOutput) SetEvaluationStatus(v *EvaluationStatus) *GetResourceEvaluationSummaryOutput { + s.EvaluationStatus = v + return s +} + +// SetResourceDetails sets the ResourceDetails field's value. +func (s *GetResourceEvaluationSummaryOutput) SetResourceDetails(v *ResourceDetails) *GetResourceEvaluationSummaryOutput { + s.ResourceDetails = v + return s +} + +// SetResourceEvaluationId sets the ResourceEvaluationId field's value. +func (s *GetResourceEvaluationSummaryOutput) SetResourceEvaluationId(v string) *GetResourceEvaluationSummaryOutput { + s.ResourceEvaluationId = &v + return s +} + type GetStoredQueryInput struct { _ struct{} `type:"structure"` @@ -21649,8 +22314,9 @@ func (s *GroupedResourceCount) SetResourceCount(v int64) *GroupedResourceCount { return s } -// Your Amazon S3 bucket policy does not permit Config to write to it. -type InsufficientDeliveryPolicyException struct { +// Using the same client token with one or more different parameters. Specify +// a new client token with the parameter changes and try again. +type IdempotentParameterMismatch struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -21662,7 +22328,7 @@ type InsufficientDeliveryPolicyException struct { // 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 InsufficientDeliveryPolicyException) String() string { +func (s IdempotentParameterMismatch) String() string { return awsutil.Prettify(s) } @@ -21671,23 +22337,23 @@ func (s InsufficientDeliveryPolicyException) String() string { // 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 InsufficientDeliveryPolicyException) GoString() string { +func (s IdempotentParameterMismatch) GoString() string { return s.String() } -func newErrorInsufficientDeliveryPolicyException(v protocol.ResponseMetadata) error { - return &InsufficientDeliveryPolicyException{ +func newErrorIdempotentParameterMismatch(v protocol.ResponseMetadata) error { + return &IdempotentParameterMismatch{ RespMetadata: v, } } // Code returns the exception type name. -func (s *InsufficientDeliveryPolicyException) Code() string { - return "InsufficientDeliveryPolicyException" +func (s *IdempotentParameterMismatch) Code() string { + return "IdempotentParameterMismatch" } // Message returns the exception's message. -func (s *InsufficientDeliveryPolicyException) Message() string { +func (s *IdempotentParameterMismatch) Message() string { if s.Message_ != nil { return *s.Message_ } @@ -21695,27 +22361,91 @@ func (s *InsufficientDeliveryPolicyException) Message() string { } // OrigErr always returns nil, satisfies awserr.Error interface. -func (s *InsufficientDeliveryPolicyException) OrigErr() error { +func (s *IdempotentParameterMismatch) OrigErr() error { return nil } -func (s *InsufficientDeliveryPolicyException) Error() string { +func (s *IdempotentParameterMismatch) 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 *InsufficientDeliveryPolicyException) StatusCode() int { +func (s *IdempotentParameterMismatch) StatusCode() int { return s.RespMetadata.StatusCode } // RequestID returns the service's response RequestID for request. -func (s *InsufficientDeliveryPolicyException) RequestID() string { +func (s *IdempotentParameterMismatch) RequestID() string { return s.RespMetadata.RequestID } -// Indicates one of the following errors: -// -// - For PutConfigRule, the rule cannot be created because the IAM role assigned +// Your Amazon S3 bucket policy does not permit Config to write to it. +type InsufficientDeliveryPolicyException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" 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 InsufficientDeliveryPolicyException) 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 InsufficientDeliveryPolicyException) GoString() string { + return s.String() +} + +func newErrorInsufficientDeliveryPolicyException(v protocol.ResponseMetadata) error { + return &InsufficientDeliveryPolicyException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *InsufficientDeliveryPolicyException) Code() string { + return "InsufficientDeliveryPolicyException" +} + +// Message returns the exception's message. +func (s *InsufficientDeliveryPolicyException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *InsufficientDeliveryPolicyException) OrigErr() error { + return nil +} + +func (s *InsufficientDeliveryPolicyException) 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 *InsufficientDeliveryPolicyException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *InsufficientDeliveryPolicyException) RequestID() string { + return s.RespMetadata.RequestID +} + +// Indicates one of the following errors: +// +// - For PutConfigRule, the rule cannot be created because the IAM role assigned // to Config lacks permissions to perform the config:Put* action. // // - For PutConfigRule, the Lambda function cannot be invoked. Check the @@ -23184,6 +23914,114 @@ func (s *ListDiscoveredResourcesOutput) SetResourceIdentifiers(v []*ResourceIden return s } +type ListResourceEvaluationsInput struct { + _ struct{} `type:"structure"` + + // Returns a ResourceEvaluationFilters object. + Filters *ResourceEvaluationFilters `type:"structure"` + + // The maximum number of evaluations returned on each page. The default is 10. + // You cannot specify a number greater than 100. If you specify 0, Config uses + // the default. + Limit *int64 `type:"integer"` + + // The nextToken string returned on a previous page that you use to get the + // next page of results in a paginated response. + NextToken *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 ListResourceEvaluationsInput) 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 ListResourceEvaluationsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListResourceEvaluationsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListResourceEvaluationsInput"} + if s.Filters != nil { + if err := s.Filters.Validate(); err != nil { + invalidParams.AddNested("Filters", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFilters sets the Filters field's value. +func (s *ListResourceEvaluationsInput) SetFilters(v *ResourceEvaluationFilters) *ListResourceEvaluationsInput { + s.Filters = v + return s +} + +// SetLimit sets the Limit field's value. +func (s *ListResourceEvaluationsInput) SetLimit(v int64) *ListResourceEvaluationsInput { + s.Limit = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListResourceEvaluationsInput) SetNextToken(v string) *ListResourceEvaluationsInput { + s.NextToken = &v + return s +} + +type ListResourceEvaluationsOutput struct { + _ struct{} `type:"structure"` + + // The nextToken string returned on a previous page that you use to get the + // next page of results in a paginated response. + NextToken *string `type:"string"` + + // Returns a ResourceEvaluations object. + ResourceEvaluations []*ResourceEvaluation `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 ListResourceEvaluationsOutput) 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 ListResourceEvaluationsOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListResourceEvaluationsOutput) SetNextToken(v string) *ListResourceEvaluationsOutput { + s.NextToken = &v + return s +} + +// SetResourceEvaluations sets the ResourceEvaluations field's value. +func (s *ListResourceEvaluationsOutput) SetResourceEvaluations(v []*ResourceEvaluation) *ListResourceEvaluationsOutput { + s.ResourceEvaluations = v + return s +} + type ListStoredQueriesInput struct { _ struct{} `type:"structure"` @@ -28430,35 +29268,44 @@ func (s *QueryInfo) SetSelectFields(v []*FieldInfo) *QueryInfo { return s } -// Specifies the types of Amazon Web Services resource for which Config records -// configuration changes. -// -// In the recording group, you specify whether all supported types or specific -// types of resources are recorded. +// Specifies which Amazon Web Services resource types Config records for configuration +// changes. In the recording group, you specify whether you want to record all +// supported resource types or only specific types of resources. // -// By default, Config records configuration changes for all supported types +// By default, Config records the configuration changes for all supported types // of regional resources that Config discovers in the region in which it is // running. Regional resources are tied to a region and can be used only in // that region. Examples of regional resources are EC2 instances and EBS volumes. // -// You can also have Config record configuration changes for supported types -// of global resources (for example, IAM resources). Global resources are not -// tied to an individual region and can be used in all regions. +// You can also have Config record supported types of global resources. Global +// resources are not tied to a specific region and can be used in all regions. +// The global resource types that Config supports include IAM users, groups, +// roles, and customer managed policies. +// +// Global resource types onboarded to Config recording after February 2022 will +// only be recorded in the service's home region for the commercial partition +// and Amazon Web Services GovCloud (US) West for the GovCloud partition. You +// can view the Configuration Items for these new global resource types only +// in their home region and Amazon Web Services GovCloud (US) West. // -// The configuration details for any global resource are the same in all regions. -// If you customize Config in multiple regions to record global resources, it -// will create multiple configuration items each time a global resource changes: -// one configuration item for each region. These configuration items will contain -// identical data. To prevent duplicate configuration items, you should consider -// customizing Config in only one region to record global resources, unless -// you want the configuration items to be available in multiple regions. +// Supported global resource types onboarded before February 2022 such as AWS::IAM::Group, +// AWS::IAM::Policy, AWS::IAM::Role, AWS::IAM::User remain unchanged, and they +// will continue to deliver Configuration Items in all supported regions in +// Config. The change will only affect new global resource types onboarded after +// February 2022. +// +// To record global resource types onboarded after February 2022, enable All +// Supported Resource Types in the home region of the global resource type you +// want to record. // // If you don't want Config to record all resources, you can specify which types // of resources it will record with the resourceTypes parameter. // // For a list of supported resource types, see Supported Resource Types (https://docs.aws.amazon.com/config/latest/developerguide/resource-config-reference.html#supported-resources). // -// For more information, see Selecting Which Resources Config Records (https://docs.aws.amazon.com/config/latest/developerguide/select-resources.html). +// For more information and a table of the Home Regions for Global Resource +// Types Onboarded after February 2022, see Selecting Which Resources Config +// Records (https://docs.aws.amazon.com/config/latest/developerguide/select-resources.html). type RecordingGroup struct { _ struct{} `type:"structure"` @@ -29368,6 +30215,215 @@ func (s *ResourceCountFilters) SetResourceType(v string) *ResourceCountFilters { return s } +// Returns information about the resource being evaluated. +type ResourceDetails struct { + _ struct{} `type:"structure"` + + // The resource definition to be evaluated as per the resource configuration + // schema type. + // + // ResourceConfiguration is a required field + ResourceConfiguration *string `min:"1" type:"string" required:"true"` + + // The schema type of the resource configuration. + ResourceConfigurationSchemaType *string `type:"string" enum:"ResourceConfigurationSchemaType"` + + // A unique resource ID for an evaluation. + // + // ResourceId is a required field + ResourceId *string `min:"1" type:"string" required:"true"` + + // The type of resource being evaluated. + // + // ResourceType is a required field + ResourceType *string `min:"1" type:"string" required:"true"` +} + +// 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 ResourceDetails) 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 ResourceDetails) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ResourceDetails) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ResourceDetails"} + if s.ResourceConfiguration == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceConfiguration")) + } + if s.ResourceConfiguration != nil && len(*s.ResourceConfiguration) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceConfiguration", 1)) + } + if s.ResourceId == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceId")) + } + if s.ResourceId != nil && len(*s.ResourceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceId", 1)) + } + if s.ResourceType == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceType")) + } + if s.ResourceType != nil && len(*s.ResourceType) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceType", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceConfiguration sets the ResourceConfiguration field's value. +func (s *ResourceDetails) SetResourceConfiguration(v string) *ResourceDetails { + s.ResourceConfiguration = &v + return s +} + +// SetResourceConfigurationSchemaType sets the ResourceConfigurationSchemaType field's value. +func (s *ResourceDetails) SetResourceConfigurationSchemaType(v string) *ResourceDetails { + s.ResourceConfigurationSchemaType = &v + return s +} + +// SetResourceId sets the ResourceId field's value. +func (s *ResourceDetails) SetResourceId(v string) *ResourceDetails { + s.ResourceId = &v + return s +} + +// SetResourceType sets the ResourceType field's value. +func (s *ResourceDetails) SetResourceType(v string) *ResourceDetails { + s.ResourceType = &v + return s +} + +// Returns details of a resource evaluation. +type ResourceEvaluation struct { + _ struct{} `type:"structure"` + + // The mode of an evaluation. The valid values are Detective or Proactive. + EvaluationMode *string `type:"string" enum:"EvaluationMode"` + + // The starting time of an execution. + EvaluationStartTimestamp *time.Time `type:"timestamp"` + + // The ResourceEvaluationId of a evaluation. + ResourceEvaluationId *string `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 ResourceEvaluation) 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 ResourceEvaluation) GoString() string { + return s.String() +} + +// SetEvaluationMode sets the EvaluationMode field's value. +func (s *ResourceEvaluation) SetEvaluationMode(v string) *ResourceEvaluation { + s.EvaluationMode = &v + return s +} + +// SetEvaluationStartTimestamp sets the EvaluationStartTimestamp field's value. +func (s *ResourceEvaluation) SetEvaluationStartTimestamp(v time.Time) *ResourceEvaluation { + s.EvaluationStartTimestamp = &v + return s +} + +// SetResourceEvaluationId sets the ResourceEvaluationId field's value. +func (s *ResourceEvaluation) SetResourceEvaluationId(v string) *ResourceEvaluation { + s.ResourceEvaluationId = &v + return s +} + +// Returns details of a resource evaluation based on the selected filter. +type ResourceEvaluationFilters struct { + _ struct{} `type:"structure"` + + // Filters evaluations for a given infrastructure deployment. For example: CFN + // Stack. + EvaluationContextIdentifier *string `min:"1" type:"string"` + + // Filters all resource evaluations results based on an evaluation mode. the + // valid value for this API is Proactive. + EvaluationMode *string `type:"string" enum:"EvaluationMode"` + + // Returns a TimeWindow object. + TimeWindow *TimeWindow `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 ResourceEvaluationFilters) 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 ResourceEvaluationFilters) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ResourceEvaluationFilters) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ResourceEvaluationFilters"} + if s.EvaluationContextIdentifier != nil && len(*s.EvaluationContextIdentifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EvaluationContextIdentifier", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEvaluationContextIdentifier sets the EvaluationContextIdentifier field's value. +func (s *ResourceEvaluationFilters) SetEvaluationContextIdentifier(v string) *ResourceEvaluationFilters { + s.EvaluationContextIdentifier = &v + return s +} + +// SetEvaluationMode sets the EvaluationMode field's value. +func (s *ResourceEvaluationFilters) SetEvaluationMode(v string) *ResourceEvaluationFilters { + s.EvaluationMode = &v + return s +} + +// SetTimeWindow sets the TimeWindow field's value. +func (s *ResourceEvaluationFilters) SetTimeWindow(v *TimeWindow) *ResourceEvaluationFilters { + s.TimeWindow = v + return s +} + // Filters the results by resource account ID, region, resource ID, and resource // name. type ResourceFilters struct { @@ -30751,6 +31807,147 @@ func (s *StartRemediationExecutionOutput) SetFailureMessage(v string) *StartReme return s } +type StartResourceEvaluationInput struct { + _ struct{} `type:"structure"` + + // A client token is a unique, case-sensitive string of up to 64 ASCII characters. + // To make an idempotent API request using one of these actions, specify a client + // token in the request. + // + // Avoid reusing the same client token for other API requests. If you retry + // a request that completed successfully using the same client token and the + // same parameters, the retry succeeds without performing any further actions. + // If you retry a successful request using the same client token, but one or + // more of the parameters are different, other than the Region or Availability + // Zone, the retry fails with an IdempotentParameterMismatch error. + ClientToken *string `min:"64" type:"string"` + + // Returns an EvaluationContext object. + EvaluationContext *EvaluationContext `type:"structure"` + + // The mode of an evaluation. The valid value for this API is Proactive. + // + // EvaluationMode is a required field + EvaluationMode *string `type:"string" required:"true" enum:"EvaluationMode"` + + // The timeout for an evaluation. The default is 900 seconds. You cannot specify + // a number greater than 3600. If you specify 0, Config uses the default. + EvaluationTimeout *int64 `type:"integer"` + + // Returns a ResourceDetails object. + // + // ResourceDetails is a required field + ResourceDetails *ResourceDetails `type:"structure" required:"true"` +} + +// 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 StartResourceEvaluationInput) 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 StartResourceEvaluationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StartResourceEvaluationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartResourceEvaluationInput"} + if s.ClientToken != nil && len(*s.ClientToken) < 64 { + invalidParams.Add(request.NewErrParamMinLen("ClientToken", 64)) + } + if s.EvaluationMode == nil { + invalidParams.Add(request.NewErrParamRequired("EvaluationMode")) + } + if s.ResourceDetails == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceDetails")) + } + if s.EvaluationContext != nil { + if err := s.EvaluationContext.Validate(); err != nil { + invalidParams.AddNested("EvaluationContext", err.(request.ErrInvalidParams)) + } + } + if s.ResourceDetails != nil { + if err := s.ResourceDetails.Validate(); err != nil { + invalidParams.AddNested("ResourceDetails", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *StartResourceEvaluationInput) SetClientToken(v string) *StartResourceEvaluationInput { + s.ClientToken = &v + return s +} + +// SetEvaluationContext sets the EvaluationContext field's value. +func (s *StartResourceEvaluationInput) SetEvaluationContext(v *EvaluationContext) *StartResourceEvaluationInput { + s.EvaluationContext = v + return s +} + +// SetEvaluationMode sets the EvaluationMode field's value. +func (s *StartResourceEvaluationInput) SetEvaluationMode(v string) *StartResourceEvaluationInput { + s.EvaluationMode = &v + return s +} + +// SetEvaluationTimeout sets the EvaluationTimeout field's value. +func (s *StartResourceEvaluationInput) SetEvaluationTimeout(v int64) *StartResourceEvaluationInput { + s.EvaluationTimeout = &v + return s +} + +// SetResourceDetails sets the ResourceDetails field's value. +func (s *StartResourceEvaluationInput) SetResourceDetails(v *ResourceDetails) *StartResourceEvaluationInput { + s.ResourceDetails = v + return s +} + +type StartResourceEvaluationOutput struct { + _ struct{} `type:"structure"` + + // A unique ResourceEvaluationId that is associated with a single execution. + ResourceEvaluationId *string `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 StartResourceEvaluationOutput) 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 StartResourceEvaluationOutput) GoString() string { + return s.String() +} + +// SetResourceEvaluationId sets the ResourceEvaluationId field's value. +func (s *StartResourceEvaluationOutput) SetResourceEvaluationId(v string) *StartResourceEvaluationOutput { + s.ResourceEvaluationId = &v + return s +} + // The static value of the resource. type StaticValue struct { _ struct{} `type:"structure"` @@ -31332,6 +32529,47 @@ func (s *TemplateSSMDocumentDetails) SetDocumentVersion(v string) *TemplateSSMDo return s } +// Filters evaluation results based on start and end times. +type TimeWindow struct { + _ struct{} `type:"structure"` + + // The end time of an execution. The end time must be after the start date. + EndTime *time.Time `type:"timestamp"` + + // The start time of an execution. + StartTime *time.Time `type:"timestamp"` +} + +// 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 TimeWindow) 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 TimeWindow) GoString() string { + return s.String() +} + +// SetEndTime sets the EndTime field's value. +func (s *TimeWindow) SetEndTime(v time.Time) *TimeWindow { + s.EndTime = &v + return s +} + +// SetStartTime sets the StartTime field's value. +func (s *TimeWindow) SetStartTime(v time.Time) *TimeWindow { + s.StartTime = &v + return s +} + // You have reached the limit of the number of tags you can use. For more information, // see Service Limits (https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html) // in the Config Developer Guide. @@ -31788,6 +33026,22 @@ func DeliveryStatus_Values() []string { } } +const ( + // EvaluationModeDetective is a EvaluationMode enum value + EvaluationModeDetective = "DETECTIVE" + + // EvaluationModeProactive is a EvaluationMode enum value + EvaluationModeProactive = "PROACTIVE" +) + +// EvaluationMode_Values returns all elements of the EvaluationMode enum +func EvaluationMode_Values() []string { + return []string{ + EvaluationModeDetective, + EvaluationModeProactive, + } +} + const ( // EventSourceAwsConfig is a EventSource enum value EventSourceAwsConfig = "aws.config" @@ -32160,6 +33414,18 @@ func RemediationTargetType_Values() []string { } } +const ( + // ResourceConfigurationSchemaTypeCfnResourceSchema is a ResourceConfigurationSchemaType enum value + ResourceConfigurationSchemaTypeCfnResourceSchema = "CFN_RESOURCE_SCHEMA" +) + +// ResourceConfigurationSchemaType_Values returns all elements of the ResourceConfigurationSchemaType enum +func ResourceConfigurationSchemaType_Values() []string { + return []string{ + ResourceConfigurationSchemaTypeCfnResourceSchema, + } +} + const ( // ResourceCountGroupKeyResourceType is a ResourceCountGroupKey enum value ResourceCountGroupKeyResourceType = "RESOURCE_TYPE" @@ -32180,6 +33446,26 @@ func ResourceCountGroupKey_Values() []string { } } +const ( + // ResourceEvaluationStatusInProgress is a ResourceEvaluationStatus enum value + ResourceEvaluationStatusInProgress = "IN_PROGRESS" + + // ResourceEvaluationStatusFailed is a ResourceEvaluationStatus enum value + ResourceEvaluationStatusFailed = "FAILED" + + // ResourceEvaluationStatusSucceeded is a ResourceEvaluationStatus enum value + ResourceEvaluationStatusSucceeded = "SUCCEEDED" +) + +// ResourceEvaluationStatus_Values returns all elements of the ResourceEvaluationStatus enum +func ResourceEvaluationStatus_Values() []string { + return []string{ + ResourceEvaluationStatusInProgress, + ResourceEvaluationStatusFailed, + ResourceEvaluationStatusSucceeded, + } +} + const ( // ResourceTypeAwsEc2CustomerGateway is a ResourceType enum value ResourceTypeAwsEc2CustomerGateway = "AWS::EC2::CustomerGateway" diff --git a/service/configservice/configserviceiface/interface.go b/service/configservice/configserviceiface/interface.go index c15642d676b..44b6bfa5cee 100644 --- a/service/configservice/configserviceiface/interface.go +++ b/service/configservice/configserviceiface/interface.go @@ -396,6 +396,10 @@ type ConfigServiceAPI interface { GetResourceConfigHistoryPages(*configservice.GetResourceConfigHistoryInput, func(*configservice.GetResourceConfigHistoryOutput, bool) bool) error GetResourceConfigHistoryPagesWithContext(aws.Context, *configservice.GetResourceConfigHistoryInput, func(*configservice.GetResourceConfigHistoryOutput, bool) bool, ...request.Option) error + GetResourceEvaluationSummary(*configservice.GetResourceEvaluationSummaryInput) (*configservice.GetResourceEvaluationSummaryOutput, error) + GetResourceEvaluationSummaryWithContext(aws.Context, *configservice.GetResourceEvaluationSummaryInput, ...request.Option) (*configservice.GetResourceEvaluationSummaryOutput, error) + GetResourceEvaluationSummaryRequest(*configservice.GetResourceEvaluationSummaryInput) (*request.Request, *configservice.GetResourceEvaluationSummaryOutput) + GetStoredQuery(*configservice.GetStoredQueryInput) (*configservice.GetStoredQueryOutput, error) GetStoredQueryWithContext(aws.Context, *configservice.GetStoredQueryInput, ...request.Option) (*configservice.GetStoredQueryOutput, error) GetStoredQueryRequest(*configservice.GetStoredQueryInput) (*request.Request, *configservice.GetStoredQueryOutput) @@ -421,6 +425,13 @@ type ConfigServiceAPI interface { ListDiscoveredResourcesPages(*configservice.ListDiscoveredResourcesInput, func(*configservice.ListDiscoveredResourcesOutput, bool) bool) error ListDiscoveredResourcesPagesWithContext(aws.Context, *configservice.ListDiscoveredResourcesInput, func(*configservice.ListDiscoveredResourcesOutput, bool) bool, ...request.Option) error + ListResourceEvaluations(*configservice.ListResourceEvaluationsInput) (*configservice.ListResourceEvaluationsOutput, error) + ListResourceEvaluationsWithContext(aws.Context, *configservice.ListResourceEvaluationsInput, ...request.Option) (*configservice.ListResourceEvaluationsOutput, error) + ListResourceEvaluationsRequest(*configservice.ListResourceEvaluationsInput) (*request.Request, *configservice.ListResourceEvaluationsOutput) + + ListResourceEvaluationsPages(*configservice.ListResourceEvaluationsInput, func(*configservice.ListResourceEvaluationsOutput, bool) bool) error + ListResourceEvaluationsPagesWithContext(aws.Context, *configservice.ListResourceEvaluationsInput, func(*configservice.ListResourceEvaluationsOutput, bool) bool, ...request.Option) error + ListStoredQueries(*configservice.ListStoredQueriesInput) (*configservice.ListStoredQueriesOutput, error) ListStoredQueriesWithContext(aws.Context, *configservice.ListStoredQueriesInput, ...request.Option) (*configservice.ListStoredQueriesOutput, error) ListStoredQueriesRequest(*configservice.ListStoredQueriesInput) (*request.Request, *configservice.ListStoredQueriesOutput) @@ -521,6 +532,10 @@ type ConfigServiceAPI interface { StartRemediationExecutionWithContext(aws.Context, *configservice.StartRemediationExecutionInput, ...request.Option) (*configservice.StartRemediationExecutionOutput, error) StartRemediationExecutionRequest(*configservice.StartRemediationExecutionInput) (*request.Request, *configservice.StartRemediationExecutionOutput) + StartResourceEvaluation(*configservice.StartResourceEvaluationInput) (*configservice.StartResourceEvaluationOutput, error) + StartResourceEvaluationWithContext(aws.Context, *configservice.StartResourceEvaluationInput, ...request.Option) (*configservice.StartResourceEvaluationOutput, error) + StartResourceEvaluationRequest(*configservice.StartResourceEvaluationInput) (*request.Request, *configservice.StartResourceEvaluationOutput) + StopConfigurationRecorder(*configservice.StopConfigurationRecorderInput) (*configservice.StopConfigurationRecorderOutput, error) StopConfigurationRecorderWithContext(aws.Context, *configservice.StopConfigurationRecorderInput, ...request.Option) (*configservice.StopConfigurationRecorderOutput, error) StopConfigurationRecorderRequest(*configservice.StopConfigurationRecorderInput) (*request.Request, *configservice.StopConfigurationRecorderOutput) diff --git a/service/configservice/errors.go b/service/configservice/errors.go index 234ff45960a..7eb2495a6ed 100644 --- a/service/configservice/errors.go +++ b/service/configservice/errors.go @@ -14,6 +14,13 @@ const ( // You have specified a template that is invalid or supported. ErrCodeConformancePackTemplateValidationException = "ConformancePackTemplateValidationException" + // ErrCodeIdempotentParameterMismatch for service response error code + // "IdempotentParameterMismatch". + // + // Using the same client token with one or more different parameters. Specify + // a new client token with the parameter changes and try again. + ErrCodeIdempotentParameterMismatch = "IdempotentParameterMismatch" + // ErrCodeInsufficientDeliveryPolicyException for service response error code // "InsufficientDeliveryPolicyException". // @@ -432,6 +439,7 @@ const ( var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ "ConformancePackTemplateValidationException": newErrorConformancePackTemplateValidationException, + "IdempotentParameterMismatch": newErrorIdempotentParameterMismatch, "InsufficientDeliveryPolicyException": newErrorInsufficientDeliveryPolicyException, "InsufficientPermissionsException": newErrorInsufficientPermissionsException, "InvalidConfigurationRecorderNameException": newErrorInvalidConfigurationRecorderNameException, diff --git a/service/ec2/api.go b/service/ec2/api.go index 026aa70cc71..23be76a83ff 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -7304,7 +7304,7 @@ func (c *EC2) CreateReplaceRootVolumeTaskRequest(input *CreateReplaceRootVolumeT // to a specific snapshot taken from the original root volume, or that is restored // from an AMI that has the same key characteristics as that of the instance. // -// For more information, see Replace a root volume (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-restoring-volume.html#replace-root) +// For more information, see Replace a root volume (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/replace-root.html) // in the Amazon Elastic Compute Cloud User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -16628,6 +16628,136 @@ func (c *EC2) DescribeAvailabilityZonesWithContext(ctx aws.Context, input *Descr return out, req.Send() } +const opDescribeAwsNetworkPerformanceMetricSubscriptions = "DescribeAwsNetworkPerformanceMetricSubscriptions" + +// DescribeAwsNetworkPerformanceMetricSubscriptionsRequest generates a "aws/request.Request" representing the +// client's request for the DescribeAwsNetworkPerformanceMetricSubscriptions operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeAwsNetworkPerformanceMetricSubscriptions for more information on using the DescribeAwsNetworkPerformanceMetricSubscriptions +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DescribeAwsNetworkPerformanceMetricSubscriptionsRequest method. +// req, resp := client.DescribeAwsNetworkPerformanceMetricSubscriptionsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAwsNetworkPerformanceMetricSubscriptions +func (c *EC2) DescribeAwsNetworkPerformanceMetricSubscriptionsRequest(input *DescribeAwsNetworkPerformanceMetricSubscriptionsInput) (req *request.Request, output *DescribeAwsNetworkPerformanceMetricSubscriptionsOutput) { + op := &request.Operation{ + Name: opDescribeAwsNetworkPerformanceMetricSubscriptions, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &DescribeAwsNetworkPerformanceMetricSubscriptionsInput{} + } + + output = &DescribeAwsNetworkPerformanceMetricSubscriptionsOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeAwsNetworkPerformanceMetricSubscriptions API operation for Amazon Elastic Compute Cloud. +// +// Describes the curent Infrastructure Performance metric subscriptions. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation DescribeAwsNetworkPerformanceMetricSubscriptions for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAwsNetworkPerformanceMetricSubscriptions +func (c *EC2) DescribeAwsNetworkPerformanceMetricSubscriptions(input *DescribeAwsNetworkPerformanceMetricSubscriptionsInput) (*DescribeAwsNetworkPerformanceMetricSubscriptionsOutput, error) { + req, out := c.DescribeAwsNetworkPerformanceMetricSubscriptionsRequest(input) + return out, req.Send() +} + +// DescribeAwsNetworkPerformanceMetricSubscriptionsWithContext is the same as DescribeAwsNetworkPerformanceMetricSubscriptions with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeAwsNetworkPerformanceMetricSubscriptions for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DescribeAwsNetworkPerformanceMetricSubscriptionsWithContext(ctx aws.Context, input *DescribeAwsNetworkPerformanceMetricSubscriptionsInput, opts ...request.Option) (*DescribeAwsNetworkPerformanceMetricSubscriptionsOutput, error) { + req, out := c.DescribeAwsNetworkPerformanceMetricSubscriptionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// DescribeAwsNetworkPerformanceMetricSubscriptionsPages iterates over the pages of a DescribeAwsNetworkPerformanceMetricSubscriptions operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeAwsNetworkPerformanceMetricSubscriptions method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a DescribeAwsNetworkPerformanceMetricSubscriptions operation. +// pageNum := 0 +// err := client.DescribeAwsNetworkPerformanceMetricSubscriptionsPages(params, +// func(page *ec2.DescribeAwsNetworkPerformanceMetricSubscriptionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *EC2) DescribeAwsNetworkPerformanceMetricSubscriptionsPages(input *DescribeAwsNetworkPerformanceMetricSubscriptionsInput, fn func(*DescribeAwsNetworkPerformanceMetricSubscriptionsOutput, bool) bool) error { + return c.DescribeAwsNetworkPerformanceMetricSubscriptionsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeAwsNetworkPerformanceMetricSubscriptionsPagesWithContext same as DescribeAwsNetworkPerformanceMetricSubscriptionsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DescribeAwsNetworkPerformanceMetricSubscriptionsPagesWithContext(ctx aws.Context, input *DescribeAwsNetworkPerformanceMetricSubscriptionsInput, fn func(*DescribeAwsNetworkPerformanceMetricSubscriptionsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeAwsNetworkPerformanceMetricSubscriptionsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeAwsNetworkPerformanceMetricSubscriptionsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*DescribeAwsNetworkPerformanceMetricSubscriptionsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opDescribeBundleTasks = "DescribeBundleTasks" // DescribeBundleTasksRequest generates a "aws/request.Request" representing the @@ -25642,7 +25772,7 @@ func (c *EC2) DescribeReplaceRootVolumeTasksRequest(input *DescribeReplaceRootVo // DescribeReplaceRootVolumeTasks API operation for Amazon Elastic Compute Cloud. // // Describes a root volume replacement task. For more information, see Replace -// a root volume (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-restoring-volume.html#replace-root) +// a root volume (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/replace-root.html) // in the Amazon Elastic Compute Cloud User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -32759,6 +32889,79 @@ func (c *EC2) DisableAddressTransferWithContext(ctx aws.Context, input *DisableA return out, req.Send() } +const opDisableAwsNetworkPerformanceMetricSubscription = "DisableAwsNetworkPerformanceMetricSubscription" + +// DisableAwsNetworkPerformanceMetricSubscriptionRequest generates a "aws/request.Request" representing the +// client's request for the DisableAwsNetworkPerformanceMetricSubscription operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DisableAwsNetworkPerformanceMetricSubscription for more information on using the DisableAwsNetworkPerformanceMetricSubscription +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DisableAwsNetworkPerformanceMetricSubscriptionRequest method. +// req, resp := client.DisableAwsNetworkPerformanceMetricSubscriptionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableAwsNetworkPerformanceMetricSubscription +func (c *EC2) DisableAwsNetworkPerformanceMetricSubscriptionRequest(input *DisableAwsNetworkPerformanceMetricSubscriptionInput) (req *request.Request, output *DisableAwsNetworkPerformanceMetricSubscriptionOutput) { + op := &request.Operation{ + Name: opDisableAwsNetworkPerformanceMetricSubscription, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DisableAwsNetworkPerformanceMetricSubscriptionInput{} + } + + output = &DisableAwsNetworkPerformanceMetricSubscriptionOutput{} + req = c.newRequest(op, input, output) + return +} + +// DisableAwsNetworkPerformanceMetricSubscription API operation for Amazon Elastic Compute Cloud. +// +// Disables Infrastructure Performance metric subscriptions. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation DisableAwsNetworkPerformanceMetricSubscription for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableAwsNetworkPerformanceMetricSubscription +func (c *EC2) DisableAwsNetworkPerformanceMetricSubscription(input *DisableAwsNetworkPerformanceMetricSubscriptionInput) (*DisableAwsNetworkPerformanceMetricSubscriptionOutput, error) { + req, out := c.DisableAwsNetworkPerformanceMetricSubscriptionRequest(input) + return out, req.Send() +} + +// DisableAwsNetworkPerformanceMetricSubscriptionWithContext is the same as DisableAwsNetworkPerformanceMetricSubscription with the addition of +// the ability to pass a context and additional request options. +// +// See DisableAwsNetworkPerformanceMetricSubscription for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DisableAwsNetworkPerformanceMetricSubscriptionWithContext(ctx aws.Context, input *DisableAwsNetworkPerformanceMetricSubscriptionInput, opts ...request.Option) (*DisableAwsNetworkPerformanceMetricSubscriptionOutput, error) { + req, out := c.DisableAwsNetworkPerformanceMetricSubscriptionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDisableEbsEncryptionByDefault = "DisableEbsEncryptionByDefault" // DisableEbsEncryptionByDefaultRequest generates a "aws/request.Request" representing the @@ -34533,6 +34736,79 @@ func (c *EC2) EnableAddressTransferWithContext(ctx aws.Context, input *EnableAdd return out, req.Send() } +const opEnableAwsNetworkPerformanceMetricSubscription = "EnableAwsNetworkPerformanceMetricSubscription" + +// EnableAwsNetworkPerformanceMetricSubscriptionRequest generates a "aws/request.Request" representing the +// client's request for the EnableAwsNetworkPerformanceMetricSubscription operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See EnableAwsNetworkPerformanceMetricSubscription for more information on using the EnableAwsNetworkPerformanceMetricSubscription +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the EnableAwsNetworkPerformanceMetricSubscriptionRequest method. +// req, resp := client.EnableAwsNetworkPerformanceMetricSubscriptionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableAwsNetworkPerformanceMetricSubscription +func (c *EC2) EnableAwsNetworkPerformanceMetricSubscriptionRequest(input *EnableAwsNetworkPerformanceMetricSubscriptionInput) (req *request.Request, output *EnableAwsNetworkPerformanceMetricSubscriptionOutput) { + op := &request.Operation{ + Name: opEnableAwsNetworkPerformanceMetricSubscription, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &EnableAwsNetworkPerformanceMetricSubscriptionInput{} + } + + output = &EnableAwsNetworkPerformanceMetricSubscriptionOutput{} + req = c.newRequest(op, input, output) + return +} + +// EnableAwsNetworkPerformanceMetricSubscription API operation for Amazon Elastic Compute Cloud. +// +// Enables Infrastructure Performance subscriptions. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation EnableAwsNetworkPerformanceMetricSubscription for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableAwsNetworkPerformanceMetricSubscription +func (c *EC2) EnableAwsNetworkPerformanceMetricSubscription(input *EnableAwsNetworkPerformanceMetricSubscriptionInput) (*EnableAwsNetworkPerformanceMetricSubscriptionOutput, error) { + req, out := c.EnableAwsNetworkPerformanceMetricSubscriptionRequest(input) + return out, req.Send() +} + +// EnableAwsNetworkPerformanceMetricSubscriptionWithContext is the same as EnableAwsNetworkPerformanceMetricSubscription with the addition of +// the ability to pass a context and additional request options. +// +// See EnableAwsNetworkPerformanceMetricSubscription for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) EnableAwsNetworkPerformanceMetricSubscriptionWithContext(ctx aws.Context, input *EnableAwsNetworkPerformanceMetricSubscriptionInput, opts ...request.Option) (*EnableAwsNetworkPerformanceMetricSubscriptionOutput, error) { + req, out := c.EnableAwsNetworkPerformanceMetricSubscriptionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opEnableEbsEncryptionByDefault = "EnableEbsEncryptionByDefault" // EnableEbsEncryptionByDefaultRequest generates a "aws/request.Request" representing the @@ -34935,6 +35211,77 @@ func (c *EC2) EnableIpamOrganizationAdminAccountWithContext(ctx aws.Context, inp return out, req.Send() } +const opEnableReachabilityAnalyzerOrganizationSharing = "EnableReachabilityAnalyzerOrganizationSharing" + +// EnableReachabilityAnalyzerOrganizationSharingRequest generates a "aws/request.Request" representing the +// client's request for the EnableReachabilityAnalyzerOrganizationSharing operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See EnableReachabilityAnalyzerOrganizationSharing for more information on using the EnableReachabilityAnalyzerOrganizationSharing +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the EnableReachabilityAnalyzerOrganizationSharingRequest method. +// req, resp := client.EnableReachabilityAnalyzerOrganizationSharingRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableReachabilityAnalyzerOrganizationSharing +func (c *EC2) EnableReachabilityAnalyzerOrganizationSharingRequest(input *EnableReachabilityAnalyzerOrganizationSharingInput) (req *request.Request, output *EnableReachabilityAnalyzerOrganizationSharingOutput) { + op := &request.Operation{ + Name: opEnableReachabilityAnalyzerOrganizationSharing, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &EnableReachabilityAnalyzerOrganizationSharingInput{} + } + + output = &EnableReachabilityAnalyzerOrganizationSharingOutput{} + req = c.newRequest(op, input, output) + return +} + +// EnableReachabilityAnalyzerOrganizationSharing API operation for Amazon Elastic Compute Cloud. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation EnableReachabilityAnalyzerOrganizationSharing for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableReachabilityAnalyzerOrganizationSharing +func (c *EC2) EnableReachabilityAnalyzerOrganizationSharing(input *EnableReachabilityAnalyzerOrganizationSharingInput) (*EnableReachabilityAnalyzerOrganizationSharingOutput, error) { + req, out := c.EnableReachabilityAnalyzerOrganizationSharingRequest(input) + return out, req.Send() +} + +// EnableReachabilityAnalyzerOrganizationSharingWithContext is the same as EnableReachabilityAnalyzerOrganizationSharing with the addition of +// the ability to pass a context and additional request options. +// +// See EnableReachabilityAnalyzerOrganizationSharing for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) EnableReachabilityAnalyzerOrganizationSharingWithContext(ctx aws.Context, input *EnableReachabilityAnalyzerOrganizationSharingInput, opts ...request.Option) (*EnableReachabilityAnalyzerOrganizationSharingOutput, error) { + req, out := c.EnableReachabilityAnalyzerOrganizationSharingRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opEnableSerialConsoleAccess = "EnableSerialConsoleAccess" // EnableSerialConsoleAccessRequest generates a "aws/request.Request" representing the @@ -35916,6 +36263,136 @@ func (c *EC2) GetAssociatedIpv6PoolCidrsPagesWithContext(ctx aws.Context, input return p.Err() } +const opGetAwsNetworkPerformanceData = "GetAwsNetworkPerformanceData" + +// GetAwsNetworkPerformanceDataRequest generates a "aws/request.Request" representing the +// client's request for the GetAwsNetworkPerformanceData operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetAwsNetworkPerformanceData for more information on using the GetAwsNetworkPerformanceData +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetAwsNetworkPerformanceDataRequest method. +// req, resp := client.GetAwsNetworkPerformanceDataRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetAwsNetworkPerformanceData +func (c *EC2) GetAwsNetworkPerformanceDataRequest(input *GetAwsNetworkPerformanceDataInput) (req *request.Request, output *GetAwsNetworkPerformanceDataOutput) { + op := &request.Operation{ + Name: opGetAwsNetworkPerformanceData, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &GetAwsNetworkPerformanceDataInput{} + } + + output = &GetAwsNetworkPerformanceDataOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetAwsNetworkPerformanceData API operation for Amazon Elastic Compute Cloud. +// +// Gets network performance data. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation GetAwsNetworkPerformanceData for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetAwsNetworkPerformanceData +func (c *EC2) GetAwsNetworkPerformanceData(input *GetAwsNetworkPerformanceDataInput) (*GetAwsNetworkPerformanceDataOutput, error) { + req, out := c.GetAwsNetworkPerformanceDataRequest(input) + return out, req.Send() +} + +// GetAwsNetworkPerformanceDataWithContext is the same as GetAwsNetworkPerformanceData with the addition of +// the ability to pass a context and additional request options. +// +// See GetAwsNetworkPerformanceData for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) GetAwsNetworkPerformanceDataWithContext(ctx aws.Context, input *GetAwsNetworkPerformanceDataInput, opts ...request.Option) (*GetAwsNetworkPerformanceDataOutput, error) { + req, out := c.GetAwsNetworkPerformanceDataRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// GetAwsNetworkPerformanceDataPages iterates over the pages of a GetAwsNetworkPerformanceData operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See GetAwsNetworkPerformanceData method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a GetAwsNetworkPerformanceData operation. +// pageNum := 0 +// err := client.GetAwsNetworkPerformanceDataPages(params, +// func(page *ec2.GetAwsNetworkPerformanceDataOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *EC2) GetAwsNetworkPerformanceDataPages(input *GetAwsNetworkPerformanceDataInput, fn func(*GetAwsNetworkPerformanceDataOutput, bool) bool) error { + return c.GetAwsNetworkPerformanceDataPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// GetAwsNetworkPerformanceDataPagesWithContext same as GetAwsNetworkPerformanceDataPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) GetAwsNetworkPerformanceDataPagesWithContext(ctx aws.Context, input *GetAwsNetworkPerformanceDataInput, fn func(*GetAwsNetworkPerformanceDataOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *GetAwsNetworkPerformanceDataInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetAwsNetworkPerformanceDataRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*GetAwsNetworkPerformanceDataOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opGetCapacityReservationUsage = "GetCapacityReservationUsage" // GetCapacityReservationUsageRequest generates a "aws/request.Request" representing the @@ -50721,7 +51198,7 @@ func (s *AcceptTransitGatewayMulticastDomainAssociationsInput) SetTransitGateway type AcceptTransitGatewayMulticastDomainAssociationsOutput struct { _ struct{} `type:"structure"` - // Describes the multicast domain associations. + // Information about the multicast domain associations. Associations *TransitGatewayMulticastDomainAssociations `locationName:"associations" type:"structure"` } @@ -55561,6 +56038,10 @@ type AttachNetworkInterfaceInput struct { // it is UnauthorizedOperation. DryRun *bool `locationName:"dryRun" type:"boolean"` + // Configures ENA Express for the network interface that this action attaches + // to the instance. + EnaSrdSpecification *EnaSrdSpecification `type:"structure"` + // The ID of the instance. // // InstanceId is a required field @@ -55626,6 +56107,12 @@ func (s *AttachNetworkInterfaceInput) SetDryRun(v bool) *AttachNetworkInterfaceI return s } +// SetEnaSrdSpecification sets the EnaSrdSpecification field's value. +func (s *AttachNetworkInterfaceInput) SetEnaSrdSpecification(v *EnaSrdSpecification) *AttachNetworkInterfaceInput { + s.EnaSrdSpecification = v + return s +} + // SetInstanceId sets the InstanceId field's value. func (s *AttachNetworkInterfaceInput) SetInstanceId(v string) *AttachNetworkInterfaceInput { s.InstanceId = &v @@ -55877,6 +56364,83 @@ func (s *AttachVpnGatewayOutput) SetVpcAttachment(v *VpcAttachment) *AttachVpnGa return s } +// Describes the ENA Express configuration for the network interface that's +// attached to the instance. +type AttachmentEnaSrdSpecification struct { + _ struct{} `type:"structure"` + + // Indicates whether ENA Express is enabled for the network interface that's + // attached to the instance. + EnaSrdEnabled *bool `locationName:"enaSrdEnabled" type:"boolean"` + + // ENA Express configuration for UDP network traffic. + EnaSrdUdpSpecification *AttachmentEnaSrdUdpSpecification `locationName:"enaSrdUdpSpecification" 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 AttachmentEnaSrdSpecification) 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 AttachmentEnaSrdSpecification) GoString() string { + return s.String() +} + +// SetEnaSrdEnabled sets the EnaSrdEnabled field's value. +func (s *AttachmentEnaSrdSpecification) SetEnaSrdEnabled(v bool) *AttachmentEnaSrdSpecification { + s.EnaSrdEnabled = &v + return s +} + +// SetEnaSrdUdpSpecification sets the EnaSrdUdpSpecification field's value. +func (s *AttachmentEnaSrdSpecification) SetEnaSrdUdpSpecification(v *AttachmentEnaSrdUdpSpecification) *AttachmentEnaSrdSpecification { + s.EnaSrdUdpSpecification = v + return s +} + +// Describes the ENA Express configuration for UDP traffic on the network interface +// that's attached to the instance. +type AttachmentEnaSrdUdpSpecification struct { + _ struct{} `type:"structure"` + + // Indicates whether UDP traffic to and from the instance uses ENA Express. + // To specify this setting, you must first enable ENA Express. + EnaSrdUdpEnabled *bool `locationName:"enaSrdUdpEnabled" type:"boolean"` +} + +// 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 AttachmentEnaSrdUdpSpecification) 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 AttachmentEnaSrdUdpSpecification) GoString() string { + return s.String() +} + +// SetEnaSrdUdpEnabled sets the EnaSrdUdpEnabled field's value. +func (s *AttachmentEnaSrdUdpSpecification) SetEnaSrdUdpEnabled(v bool) *AttachmentEnaSrdUdpSpecification { + s.EnaSrdUdpEnabled = &v + return s +} + // Describes a value for a resource attribute that is a Boolean value. type AttributeBooleanValue struct { _ struct{} `type:"structure"` @@ -63469,7 +64033,7 @@ func (s *CreateCoipPoolInput) SetTagSpecifications(v []*TagSpecification) *Creat type CreateCoipPoolOutput struct { _ struct{} `type:"structure"` - // Describes a customer-owned address pool. + // Information about the CoIP address pool. CoipPool *CoipPool `locationName:"coipPool" type:"structure"` } @@ -66525,7 +67089,7 @@ func (s *CreateLocalGatewayRouteTableInput) SetTagSpecifications(v []*TagSpecifi type CreateLocalGatewayRouteTableOutput struct { _ struct{} `type:"structure"` - // Describes a local gateway route table. + // Information about the local gateway route table. LocalGatewayRouteTable *LocalGatewayRouteTable `locationName:"localGatewayRouteTable" type:"structure"` } @@ -66638,8 +67202,7 @@ func (s *CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput) SetT type CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput struct { _ struct{} `type:"structure"` - // Describes an association between a local gateway route table and a virtual - // interface group. + // Information about the local gateway route table virtual interface group association. LocalGatewayRouteTableVirtualInterfaceGroupAssociation *LocalGatewayRouteTableVirtualInterfaceGroupAssociation `locationName:"localGatewayRouteTableVirtualInterfaceGroupAssociation" type:"structure"` } @@ -73811,6 +74374,182 @@ func (s *CustomerGateway) SetType(v string) *CustomerGateway { return s } +// A query used for retrieving network health data. +type DataQuery struct { + _ struct{} `type:"structure"` + + // The Region or Availability Zone that's the target for the data query. For + // example, eu-north-1. + Destination *string `type:"string"` + + // A user-defined ID associated with a data query that's returned in the dataResponse + // identifying the query. For example, if you set the Id to MyQuery01in the + // query, the dataResponse identifies the query as MyQuery01. + Id *string `type:"string"` + + // The aggregation metric used for the data query. Currently only aggregation-latency + // is supported, indicating network latency. + Metric *string `type:"string" enum:"MetricType"` + + // The aggregation period used for the data query. + Period *string `type:"string" enum:"PeriodType"` + + // The Region or Availability Zone that's the source for the data query. For + // example, us-east-1. + Source *string `type:"string"` + + // Metric data aggregations over specified periods of time. The following are + // the supported Infrastructure Performance statistics: + // + // * p50 - The median value of the metric aggregated over a specified start + // and end time. For example, a metric of five_minutes is the median of all + // the data points gathered within those five minutes. + Statistic *string `type:"string" enum:"StatisticType"` +} + +// 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 DataQuery) 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 DataQuery) GoString() string { + return s.String() +} + +// SetDestination sets the Destination field's value. +func (s *DataQuery) SetDestination(v string) *DataQuery { + s.Destination = &v + return s +} + +// SetId sets the Id field's value. +func (s *DataQuery) SetId(v string) *DataQuery { + s.Id = &v + return s +} + +// SetMetric sets the Metric field's value. +func (s *DataQuery) SetMetric(v string) *DataQuery { + s.Metric = &v + return s +} + +// SetPeriod sets the Period field's value. +func (s *DataQuery) SetPeriod(v string) *DataQuery { + s.Period = &v + return s +} + +// SetSource sets the Source field's value. +func (s *DataQuery) SetSource(v string) *DataQuery { + s.Source = &v + return s +} + +// SetStatistic sets the Statistic field's value. +func (s *DataQuery) SetStatistic(v string) *DataQuery { + s.Statistic = &v + return s +} + +// The response to a DataQuery. +type DataResponse struct { + _ struct{} `type:"structure"` + + // The Region or Availability Zone that's the destination for the data query. + // For example, eu-west-1. + Destination *string `locationName:"destination" type:"string"` + + // The ID passed in the DataQuery. + Id *string `locationName:"id" type:"string"` + + // The metric used for the network performance request. Currently only aggregate-latency + // is supported, showing network latency during a specified period. + Metric *string `locationName:"metric" type:"string" enum:"MetricType"` + + // A list of MetricPoint objects. + MetricPoints []*MetricPoint `locationName:"metricPointSet" locationNameList:"item" type:"list"` + + // The period used for the network performance request. + Period *string `locationName:"period" type:"string" enum:"PeriodType"` + + // The Region or Availability Zone that's the source for the data query. For + // example, us-east-1. + Source *string `locationName:"source" type:"string"` + + // The statistic used for the network performance request. + Statistic *string `locationName:"statistic" type:"string" enum:"StatisticType"` +} + +// 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 DataResponse) 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 DataResponse) GoString() string { + return s.String() +} + +// SetDestination sets the Destination field's value. +func (s *DataResponse) SetDestination(v string) *DataResponse { + s.Destination = &v + return s +} + +// SetId sets the Id field's value. +func (s *DataResponse) SetId(v string) *DataResponse { + s.Id = &v + return s +} + +// SetMetric sets the Metric field's value. +func (s *DataResponse) SetMetric(v string) *DataResponse { + s.Metric = &v + return s +} + +// SetMetricPoints sets the MetricPoints field's value. +func (s *DataResponse) SetMetricPoints(v []*MetricPoint) *DataResponse { + s.MetricPoints = v + return s +} + +// SetPeriod sets the Period field's value. +func (s *DataResponse) SetPeriod(v string) *DataResponse { + s.Period = &v + return s +} + +// SetSource sets the Source field's value. +func (s *DataResponse) SetSource(v string) *DataResponse { + s.Source = &v + return s +} + +// SetStatistic sets the Statistic field's value. +func (s *DataResponse) SetStatistic(v string) *DataResponse { + s.Statistic = &v + return s +} + type DeleteCarrierGatewayInput struct { _ struct{} `type:"structure"` @@ -74265,7 +75004,7 @@ func (s *DeleteCoipPoolInput) SetDryRun(v bool) *DeleteCoipPoolInput { type DeleteCoipPoolOutput struct { _ struct{} `type:"structure"` - // Describes a customer-owned address pool. + // Information about the CoIP address pool. CoipPool *CoipPool `locationName:"coipPool" type:"structure"` } @@ -76019,7 +76758,7 @@ func (s *DeleteLocalGatewayRouteTableInput) SetLocalGatewayRouteTableId(v string type DeleteLocalGatewayRouteTableOutput struct { _ struct{} `type:"structure"` - // Describes a local gateway route table. + // Information about the local gateway route table. LocalGatewayRouteTable *LocalGatewayRouteTable `locationName:"localGatewayRouteTable" type:"structure"` } @@ -76108,8 +76847,7 @@ func (s *DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput) SetL type DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput struct { _ struct{} `type:"structure"` - // Describes an association between a local gateway route table and a virtual - // interface group. + // Information about the association. LocalGatewayRouteTableVirtualInterfaceGroupAssociation *LocalGatewayRouteTableVirtualInterfaceGroupAssociation `locationName:"localGatewayRouteTableVirtualInterfaceGroupAssociation" type:"structure"` } @@ -81581,6 +82319,109 @@ func (s *DescribeAvailabilityZonesOutput) SetAvailabilityZones(v []*Availability return s } +type DescribeAwsNetworkPerformanceMetricSubscriptionsInput struct { + _ struct{} `type:"structure"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // One or more filters. + Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` + + // The maximum number of results to return with a single call. To retrieve the + // remaining results, make another call with the returned nextToken value. + MaxResults *int64 `type:"integer"` + + // The token for the next page of results. + NextToken *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 DescribeAwsNetworkPerformanceMetricSubscriptionsInput) 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 DescribeAwsNetworkPerformanceMetricSubscriptionsInput) GoString() string { + return s.String() +} + +// SetDryRun sets the DryRun field's value. +func (s *DescribeAwsNetworkPerformanceMetricSubscriptionsInput) SetDryRun(v bool) *DescribeAwsNetworkPerformanceMetricSubscriptionsInput { + s.DryRun = &v + return s +} + +// SetFilters sets the Filters field's value. +func (s *DescribeAwsNetworkPerformanceMetricSubscriptionsInput) SetFilters(v []*Filter) *DescribeAwsNetworkPerformanceMetricSubscriptionsInput { + s.Filters = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *DescribeAwsNetworkPerformanceMetricSubscriptionsInput) SetMaxResults(v int64) *DescribeAwsNetworkPerformanceMetricSubscriptionsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeAwsNetworkPerformanceMetricSubscriptionsInput) SetNextToken(v string) *DescribeAwsNetworkPerformanceMetricSubscriptionsInput { + s.NextToken = &v + return s +} + +type DescribeAwsNetworkPerformanceMetricSubscriptionsOutput struct { + _ struct{} `type:"structure"` + + // The token to use to retrieve the next page of results. This value is null + // when there are no more results to return. + NextToken *string `locationName:"nextToken" type:"string"` + + // Describes the current Infrastructure Performance subscriptions. + Subscriptions []*Subscription `locationName:"subscriptionSet" locationNameList:"item" 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 DescribeAwsNetworkPerformanceMetricSubscriptionsOutput) 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 DescribeAwsNetworkPerformanceMetricSubscriptionsOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeAwsNetworkPerformanceMetricSubscriptionsOutput) SetNextToken(v string) *DescribeAwsNetworkPerformanceMetricSubscriptionsOutput { + s.NextToken = &v + return s +} + +// SetSubscriptions sets the Subscriptions field's value. +func (s *DescribeAwsNetworkPerformanceMetricSubscriptionsOutput) SetSubscriptions(v []*Subscription) *DescribeAwsNetworkPerformanceMetricSubscriptionsOutput { + s.Subscriptions = v + return s +} + type DescribeBundleTasksInput struct { _ struct{} `type:"structure"` @@ -99576,9 +100417,12 @@ type DescribeVpcEndpointServicesInput struct { // One or more filters. // + // * owner - The ID or alias of the Amazon Web Services account that owns + // the service. + // // * service-name - The name of the service. // - // * service-type - The type of service (Interface | Gateway). + // * service-type - The type of service (Interface | Gateway | GatewayLoadBalancer). // // * supported-ip-address-types - The IP address type (ipv4 | ipv6). // @@ -99723,16 +100567,6 @@ type DescribeVpcEndpointsInput struct { // // * service-name - The name of the service. // - // * vpc-id - The ID of the VPC in which the endpoint resides. - // - // * vpc-endpoint-id - The ID of the endpoint. - // - // * vpc-endpoint-state - The state of the endpoint (pendingAcceptance | - // pending | available | deleting | deleted | rejected | failed). - // - // * vpc-endpoint-type - The type of VPC endpoint (Interface | Gateway | - // GatewayLoadBalancer). - // // * tag: - The key/value combination of a tag assigned to the resource. // Use the tag key in the filter name and the tag value as the filter value. // For example, to find all resources that have a tag with the key Owner @@ -99742,6 +100576,16 @@ type DescribeVpcEndpointsInput struct { // * tag-key - The key of a tag assigned to the resource. Use this filter // to find all resources assigned a tag with a specific key, regardless of // the tag value. + // + // * vpc-id - The ID of the VPC in which the endpoint resides. + // + // * vpc-endpoint-id - The ID of the endpoint. + // + // * vpc-endpoint-state - The state of the endpoint (pendingAcceptance | + // pending | available | deleting | deleted | rejected | failed). + // + // * vpc-endpoint-type - The type of VPC endpoint (Interface | Gateway | + // GatewayLoadBalancer). Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of items to return for this request. The request returns @@ -101270,6 +102114,109 @@ func (s *DisableAddressTransferOutput) SetAddressTransfer(v *AddressTransfer) *D return s } +type DisableAwsNetworkPerformanceMetricSubscriptionInput struct { + _ struct{} `type:"structure"` + + // The target Region or Availability Zone that the metric subscription is disabled + // for. For example, eu-north-1. + Destination *string `type:"string"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The metric used for the disabled subscription. + Metric *string `type:"string" enum:"MetricType"` + + // The source Region or Availability Zone that the metric subscription is disabled + // for. For example, us-east-1. + Source *string `type:"string"` + + // The statistic used for the disabled subscription. + Statistic *string `type:"string" enum:"StatisticType"` +} + +// 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 DisableAwsNetworkPerformanceMetricSubscriptionInput) 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 DisableAwsNetworkPerformanceMetricSubscriptionInput) GoString() string { + return s.String() +} + +// SetDestination sets the Destination field's value. +func (s *DisableAwsNetworkPerformanceMetricSubscriptionInput) SetDestination(v string) *DisableAwsNetworkPerformanceMetricSubscriptionInput { + s.Destination = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *DisableAwsNetworkPerformanceMetricSubscriptionInput) SetDryRun(v bool) *DisableAwsNetworkPerformanceMetricSubscriptionInput { + s.DryRun = &v + return s +} + +// SetMetric sets the Metric field's value. +func (s *DisableAwsNetworkPerformanceMetricSubscriptionInput) SetMetric(v string) *DisableAwsNetworkPerformanceMetricSubscriptionInput { + s.Metric = &v + return s +} + +// SetSource sets the Source field's value. +func (s *DisableAwsNetworkPerformanceMetricSubscriptionInput) SetSource(v string) *DisableAwsNetworkPerformanceMetricSubscriptionInput { + s.Source = &v + return s +} + +// SetStatistic sets the Statistic field's value. +func (s *DisableAwsNetworkPerformanceMetricSubscriptionInput) SetStatistic(v string) *DisableAwsNetworkPerformanceMetricSubscriptionInput { + s.Statistic = &v + return s +} + +type DisableAwsNetworkPerformanceMetricSubscriptionOutput struct { + _ struct{} `type:"structure"` + + // Indicates whether the unsubscribe action was successful. + Output *bool `locationName:"output" type:"boolean"` +} + +// 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 DisableAwsNetworkPerformanceMetricSubscriptionOutput) 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 DisableAwsNetworkPerformanceMetricSubscriptionOutput) GoString() string { + return s.String() +} + +// SetOutput sets the Output field's value. +func (s *DisableAwsNetworkPerformanceMetricSubscriptionOutput) SetOutput(v bool) *DisableAwsNetworkPerformanceMetricSubscriptionOutput { + s.Output = &v + return s +} + type DisableEbsEncryptionByDefaultInput struct { _ struct{} `type:"structure"` @@ -104946,6 +105893,96 @@ func (s *ElasticInferenceAcceleratorAssociation) SetElasticInferenceAcceleratorA return s } +// ENA Express uses Amazon Web Services Scalable Reliable Datagram (SRD) technology +// to increase the maximum bandwidth used per stream and minimize tail latency +// of network traffic between EC2 instances. With ENA Express, you can communicate +// between two EC2 instances in the same subnet within the same account, or +// in different accounts. Both sending and receiving instances must have ENA +// Express enabled. +// +// To improve the reliability of network packet delivery, ENA Express reorders +// network packets on the receiving end by default. However, some UDP-based +// applications are designed to handle network packets that are out of order +// to reduce the overhead for packet delivery at the network layer. When ENA +// Express is enabled, you can specify whether UDP network traffic uses it. +type EnaSrdSpecification struct { + _ struct{} `type:"structure"` + + // Indicates whether ENA Express is enabled for the network interface. + EnaSrdEnabled *bool `type:"boolean"` + + // Configures ENA Express for UDP network traffic. + EnaSrdUdpSpecification *EnaSrdUdpSpecification `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 EnaSrdSpecification) 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 EnaSrdSpecification) GoString() string { + return s.String() +} + +// SetEnaSrdEnabled sets the EnaSrdEnabled field's value. +func (s *EnaSrdSpecification) SetEnaSrdEnabled(v bool) *EnaSrdSpecification { + s.EnaSrdEnabled = &v + return s +} + +// SetEnaSrdUdpSpecification sets the EnaSrdUdpSpecification field's value. +func (s *EnaSrdSpecification) SetEnaSrdUdpSpecification(v *EnaSrdUdpSpecification) *EnaSrdSpecification { + s.EnaSrdUdpSpecification = v + return s +} + +// ENA Express is compatible with both TCP and UDP transport protocols. When +// it’s enabled, TCP traffic automatically uses it. However, some UDP-based +// applications are designed to handle network packets that are out of order, +// without a need for retransmission, such as live video broadcasting or other +// near-real-time applications. For UDP traffic, you can specify whether to +// use ENA Express, based on your application environment needs. +type EnaSrdUdpSpecification struct { + _ struct{} `type:"structure"` + + // Indicates whether UDP traffic uses ENA Express. To specify this setting, + // you must first enable ENA Express. + EnaSrdUdpEnabled *bool `type:"boolean"` +} + +// 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 EnaSrdUdpSpecification) 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 EnaSrdUdpSpecification) GoString() string { + return s.String() +} + +// SetEnaSrdUdpEnabled sets the EnaSrdUdpEnabled field's value. +func (s *EnaSrdUdpSpecification) SetEnaSrdUdpEnabled(v bool) *EnaSrdUdpSpecification { + s.EnaSrdUdpEnabled = &v + return s +} + type EnableAddressTransferInput struct { _ struct{} `type:"structure"` @@ -105049,6 +106086,109 @@ func (s *EnableAddressTransferOutput) SetAddressTransfer(v *AddressTransfer) *En return s } +type EnableAwsNetworkPerformanceMetricSubscriptionInput struct { + _ struct{} `type:"structure"` + + // The target Region or Availability Zone that the metric subscription is enabled + // for. For example, eu-west-1. + Destination *string `type:"string"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The metric used for the enabled subscription. + Metric *string `type:"string" enum:"MetricType"` + + // The source Region or Availability Zone that the metric subscription is enabled + // for. For example, us-east-1. + Source *string `type:"string"` + + // The statistic used for the enabled subscription. + Statistic *string `type:"string" enum:"StatisticType"` +} + +// 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 EnableAwsNetworkPerformanceMetricSubscriptionInput) 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 EnableAwsNetworkPerformanceMetricSubscriptionInput) GoString() string { + return s.String() +} + +// SetDestination sets the Destination field's value. +func (s *EnableAwsNetworkPerformanceMetricSubscriptionInput) SetDestination(v string) *EnableAwsNetworkPerformanceMetricSubscriptionInput { + s.Destination = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *EnableAwsNetworkPerformanceMetricSubscriptionInput) SetDryRun(v bool) *EnableAwsNetworkPerformanceMetricSubscriptionInput { + s.DryRun = &v + return s +} + +// SetMetric sets the Metric field's value. +func (s *EnableAwsNetworkPerformanceMetricSubscriptionInput) SetMetric(v string) *EnableAwsNetworkPerformanceMetricSubscriptionInput { + s.Metric = &v + return s +} + +// SetSource sets the Source field's value. +func (s *EnableAwsNetworkPerformanceMetricSubscriptionInput) SetSource(v string) *EnableAwsNetworkPerformanceMetricSubscriptionInput { + s.Source = &v + return s +} + +// SetStatistic sets the Statistic field's value. +func (s *EnableAwsNetworkPerformanceMetricSubscriptionInput) SetStatistic(v string) *EnableAwsNetworkPerformanceMetricSubscriptionInput { + s.Statistic = &v + return s +} + +type EnableAwsNetworkPerformanceMetricSubscriptionOutput struct { + _ struct{} `type:"structure"` + + // Indicates whether the subscribe action was successful. + Output *bool `locationName:"output" type:"boolean"` +} + +// 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 EnableAwsNetworkPerformanceMetricSubscriptionOutput) 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 EnableAwsNetworkPerformanceMetricSubscriptionOutput) GoString() string { + return s.String() +} + +// SetOutput sets the Output field's value. +func (s *EnableAwsNetworkPerformanceMetricSubscriptionOutput) SetOutput(v bool) *EnableAwsNetworkPerformanceMetricSubscriptionOutput { + s.Output = &v + return s +} + type EnableEbsEncryptionByDefaultInput struct { _ struct{} `type:"structure"` @@ -105896,6 +107036,66 @@ func (s *EnableIpamOrganizationAdminAccountOutput) SetSuccess(v bool) *EnableIpa return s } +type EnableReachabilityAnalyzerOrganizationSharingInput struct { + _ struct{} `type:"structure"` + + DryRun *bool `type:"boolean"` +} + +// 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 EnableReachabilityAnalyzerOrganizationSharingInput) 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 EnableReachabilityAnalyzerOrganizationSharingInput) GoString() string { + return s.String() +} + +// SetDryRun sets the DryRun field's value. +func (s *EnableReachabilityAnalyzerOrganizationSharingInput) SetDryRun(v bool) *EnableReachabilityAnalyzerOrganizationSharingInput { + s.DryRun = &v + return s +} + +type EnableReachabilityAnalyzerOrganizationSharingOutput struct { + _ struct{} `type:"structure"` + + ReturnValue *bool `locationName:"returnValue" type:"boolean"` +} + +// 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 EnableReachabilityAnalyzerOrganizationSharingOutput) 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 EnableReachabilityAnalyzerOrganizationSharingOutput) GoString() string { + return s.String() +} + +// SetReturnValue sets the ReturnValue field's value. +func (s *EnableReachabilityAnalyzerOrganizationSharingOutput) SetReturnValue(v bool) *EnableReachabilityAnalyzerOrganizationSharingOutput { + s.ReturnValue = &v + return s +} + type EnableSerialConsoleAccessInput struct { _ struct{} `type:"structure"` @@ -110384,6 +111584,129 @@ func (s *GetAssociatedIpv6PoolCidrsOutput) SetNextToken(v string) *GetAssociated return s } +type GetAwsNetworkPerformanceDataInput struct { + _ struct{} `type:"structure"` + + // A list of network performance data queries. + DataQueries []*DataQuery `locationName:"DataQuery" type:"list"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The ending time for the performance data request. The end time must be formatted + // as yyyy-mm-ddThh:mm:ss. For example, 2022-06-12T12:00:00.000Z. + EndTime *time.Time `type:"timestamp"` + + // The maximum number of results to return with a single call. To retrieve the + // remaining results, make another call with the returned nextToken value. + MaxResults *int64 `type:"integer"` + + // The token for the next page of results. + NextToken *string `type:"string"` + + // The starting time for the performance data request. The starting time must + // be formatted as yyyy-mm-ddThh:mm:ss. For example, 2022-06-10T12:00:00.000Z. + StartTime *time.Time `type:"timestamp"` +} + +// 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 GetAwsNetworkPerformanceDataInput) 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 GetAwsNetworkPerformanceDataInput) GoString() string { + return s.String() +} + +// SetDataQueries sets the DataQueries field's value. +func (s *GetAwsNetworkPerformanceDataInput) SetDataQueries(v []*DataQuery) *GetAwsNetworkPerformanceDataInput { + s.DataQueries = v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *GetAwsNetworkPerformanceDataInput) SetDryRun(v bool) *GetAwsNetworkPerformanceDataInput { + s.DryRun = &v + return s +} + +// SetEndTime sets the EndTime field's value. +func (s *GetAwsNetworkPerformanceDataInput) SetEndTime(v time.Time) *GetAwsNetworkPerformanceDataInput { + s.EndTime = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *GetAwsNetworkPerformanceDataInput) SetMaxResults(v int64) *GetAwsNetworkPerformanceDataInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetAwsNetworkPerformanceDataInput) SetNextToken(v string) *GetAwsNetworkPerformanceDataInput { + s.NextToken = &v + return s +} + +// SetStartTime sets the StartTime field's value. +func (s *GetAwsNetworkPerformanceDataInput) SetStartTime(v time.Time) *GetAwsNetworkPerformanceDataInput { + s.StartTime = &v + return s +} + +type GetAwsNetworkPerformanceDataOutput struct { + _ struct{} `type:"structure"` + + // The list of data responses. + DataResponses []*DataResponse `locationName:"dataResponseSet" locationNameList:"item" type:"list"` + + // The token to use to retrieve the next page of results. This value is null + // when there are no more results to return. + NextToken *string `locationName:"nextToken" 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 GetAwsNetworkPerformanceDataOutput) 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 GetAwsNetworkPerformanceDataOutput) GoString() string { + return s.String() +} + +// SetDataResponses sets the DataResponses field's value. +func (s *GetAwsNetworkPerformanceDataOutput) SetDataResponses(v []*DataResponse) *GetAwsNetworkPerformanceDataOutput { + s.DataResponses = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetAwsNetworkPerformanceDataOutput) SetNextToken(v string) *GetAwsNetworkPerformanceDataOutput { + s.NextToken = &v + return s +} + type GetCapacityReservationUsageInput struct { _ struct{} `type:"structure"` @@ -128417,7 +129740,7 @@ type LocalGatewayRouteTable struct { // The state of the local gateway route table. State *string `locationName:"state" type:"string"` - // Describes a state change. + // Information about the state change. StateReason *StateReason `locationName:"stateReason" type:"structure"` // The tags assigned to the local gateway route table. @@ -129197,6 +130520,69 @@ func (s *MemoryMiBRequest) SetMin(v int64) *MemoryMiBRequest { return s } +// Indicates whether the network was healthy or unhealthy at a particular point. +// The value is aggregated from the startDate to the endDate. Currently only +// five_minutes is supported. +type MetricPoint struct { + _ struct{} `type:"structure"` + + // The end date for the metric point. The ending time must be formatted as yyyy-mm-ddThh:mm:ss. + // For example, 2022-06-12T12:00:00.000Z. + EndDate *time.Time `locationName:"endDate" type:"timestamp"` + + // The start date for the metric point. The starting date for the metric point. + // The starting time must be formatted as yyyy-mm-ddThh:mm:ss. For example, + // 2022-06-10T12:00:00.000Z. + StartDate *time.Time `locationName:"startDate" type:"timestamp"` + + // The status of the metric point. + Status *string `locationName:"status" type:"string"` + + Value *float64 `locationName:"value" type:"float"` +} + +// 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 MetricPoint) 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 MetricPoint) GoString() string { + return s.String() +} + +// SetEndDate sets the EndDate field's value. +func (s *MetricPoint) SetEndDate(v time.Time) *MetricPoint { + s.EndDate = &v + return s +} + +// SetStartDate sets the StartDate field's value. +func (s *MetricPoint) SetStartDate(v time.Time) *MetricPoint { + s.StartDate = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *MetricPoint) SetStatus(v string) *MetricPoint { + s.Status = &v + return s +} + +// SetValue sets the Value field's value. +func (s *MetricPoint) SetValue(v float64) *MetricPoint { + s.Value = &v + return s +} + type ModifyAddressAttributeInput struct { _ struct{} `type:"structure"` @@ -132877,7 +134263,7 @@ func (s *ModifyLocalGatewayRouteInput) SetNetworkInterfaceId(v string) *ModifyLo type ModifyLocalGatewayRouteOutput struct { _ struct{} `type:"structure"` - // Describes a route for a local gateway route table. + // Information about the local gateway route table. Route *LocalGatewayRoute `locationName:"route" type:"structure"` } @@ -133069,7 +134455,7 @@ func (s *ModifyManagedPrefixListOutput) SetPrefixList(v *ManagedPrefixList) *Mod type ModifyNetworkInterfaceAttributeInput struct { _ struct{} `type:"structure"` - // Information about the interface attachment. If modifying the 'delete on termination' + // Information about the interface attachment. If modifying the delete on termination // attribute, you must specify the ID of the interface attachment. Attachment *NetworkInterfaceAttachmentChanges `locationName:"attachment" type:"structure"` @@ -133082,6 +134468,10 @@ type ModifyNetworkInterfaceAttributeInput struct { // it is UnauthorizedOperation. DryRun *bool `locationName:"dryRun" type:"boolean"` + // Updates the ENA Express configuration for the network interface that’s + // attached to the instance. + EnaSrdSpecification *EnaSrdSpecification `type:"structure"` + // Changes the security groups for the network interface. The new set of groups // you specify replaces the current set. You must specify at least one group, // even if it's just the default security group in the VPC. You must specify @@ -133151,6 +134541,12 @@ func (s *ModifyNetworkInterfaceAttributeInput) SetDryRun(v bool) *ModifyNetworkI return s } +// SetEnaSrdSpecification sets the EnaSrdSpecification field's value. +func (s *ModifyNetworkInterfaceAttributeInput) SetEnaSrdSpecification(v *EnaSrdSpecification) *ModifyNetworkInterfaceAttributeInput { + s.EnaSrdSpecification = v + return s +} + // SetGroups sets the Groups field's value. func (s *ModifyNetworkInterfaceAttributeInput) SetGroups(v []*string) *ModifyNetworkInterfaceAttributeInput { s.Groups = v @@ -134716,7 +136112,7 @@ func (s *ModifyTransitGatewayOptions) SetVpnEcmpSupport(v string) *ModifyTransit type ModifyTransitGatewayOutput struct { _ struct{} `type:"structure"` - // Describes a transit gateway. + // Information about the transit gateway. TransitGateway *TransitGateway `locationName:"transitGateway" type:"structure"` } @@ -136518,7 +137914,7 @@ func (s *ModifyVpnConnectionOptionsInput) SetVpnConnectionId(v string) *ModifyVp type ModifyVpnConnectionOptionsOutput struct { _ struct{} `type:"structure"` - // Describes a VPN connection. + // Information about the VPN connection. VpnConnection *VpnConnection `locationName:"vpnConnection" type:"structure"` } @@ -136549,7 +137945,7 @@ func (s *ModifyVpnConnectionOptionsOutput) SetVpnConnection(v *VpnConnection) *M type ModifyVpnConnectionOutput struct { _ struct{} `type:"structure"` - // Describes a VPN connection. + // Information about the VPN connection. VpnConnection *VpnConnection `locationName:"vpnConnection" type:"structure"` } @@ -136652,7 +138048,7 @@ func (s *ModifyVpnTunnelCertificateInput) SetVpnTunnelOutsideIpAddress(v string) type ModifyVpnTunnelCertificateOutput struct { _ struct{} `type:"structure"` - // Describes a VPN connection. + // Information about the VPN connection. VpnConnection *VpnConnection `locationName:"vpnConnection" type:"structure"` } @@ -136769,7 +138165,7 @@ func (s *ModifyVpnTunnelOptionsInput) SetVpnTunnelOutsideIpAddress(v string) *Mo type ModifyVpnTunnelOptionsOutput struct { _ struct{} `type:"structure"` - // Describes a VPN connection. + // Information about the VPN connection. VpnConnection *VpnConnection `locationName:"vpnConnection" type:"structure"` } @@ -138092,6 +139488,12 @@ type NetworkInfo struct { // Indicates whether Elastic Fabric Adapter (EFA) is supported. EfaSupported *bool `locationName:"efaSupported" type:"boolean"` + // Indicates whether the instance type supports ENA Express. ENA Express uses + // Amazon Web Services Scalable Reliable Datagram (SRD) technology to increase + // the maximum bandwidth used per stream and minimize tail latency of network + // traffic between EC2 instances. + EnaSrdSupported *bool `locationName:"enaSrdSupported" type:"boolean"` + // Indicates whether Elastic Network Adapter (ENA) is supported. EnaSupport *string `locationName:"enaSupport" type:"string" enum:"EnaSupport"` @@ -138158,6 +139560,12 @@ func (s *NetworkInfo) SetEfaSupported(v bool) *NetworkInfo { return s } +// SetEnaSrdSupported sets the EnaSrdSupported field's value. +func (s *NetworkInfo) SetEnaSrdSupported(v bool) *NetworkInfo { + s.EnaSrdSupported = &v + return s +} + // SetEnaSupport sets the EnaSupport field's value. func (s *NetworkInfo) SetEnaSupport(v string) *NetworkInfo { s.EnaSupport = &v @@ -138456,6 +139864,8 @@ func (s *NetworkInsightsAccessScopeContent) SetNetworkInsightsAccessScopeId(v st type NetworkInsightsAnalysis struct { _ struct{} `type:"structure"` + AdditionalAccounts []*string `locationName:"additionalAccountSet" locationNameList:"item" type:"list"` + // Potential intermediate components. AlternatePathHints []*AlternatePathHint `locationName:"alternatePathHintSet" locationNameList:"item" type:"list"` @@ -138494,6 +139904,8 @@ type NetworkInsightsAnalysis struct { // The status message, if the status is failed. StatusMessage *string `locationName:"statusMessage" type:"string"` + SuggestedAccounts []*string `locationName:"suggestedAccountSet" locationNameList:"item" type:"list"` + // The tags. Tags []*Tag `locationName:"tagSet" locationNameList:"item" type:"list"` @@ -138519,6 +139931,12 @@ func (s NetworkInsightsAnalysis) GoString() string { return s.String() } +// SetAdditionalAccounts sets the AdditionalAccounts field's value. +func (s *NetworkInsightsAnalysis) SetAdditionalAccounts(v []*string) *NetworkInsightsAnalysis { + s.AdditionalAccounts = v + return s +} + // SetAlternatePathHints sets the AlternatePathHints field's value. func (s *NetworkInsightsAnalysis) SetAlternatePathHints(v []*AlternatePathHint) *NetworkInsightsAnalysis { s.AlternatePathHints = v @@ -138591,6 +140009,12 @@ func (s *NetworkInsightsAnalysis) SetStatusMessage(v string) *NetworkInsightsAna return s } +// SetSuggestedAccounts sets the SuggestedAccounts field's value. +func (s *NetworkInsightsAnalysis) SetSuggestedAccounts(v []*string) *NetworkInsightsAnalysis { + s.SuggestedAccounts = v + return s +} + // SetTags sets the Tags field's value. func (s *NetworkInsightsAnalysis) SetTags(v []*Tag) *NetworkInsightsAnalysis { s.Tags = v @@ -138613,6 +140037,8 @@ type NetworkInsightsPath struct { // The Amazon Web Services resource that is the destination of the path. Destination *string `locationName:"destination" type:"string"` + DestinationArn *string `locationName:"destinationArn" min:"1" type:"string"` + // The IP address of the Amazon Web Services resource that is the destination // of the path. DestinationIp *string `locationName:"destinationIp" type:"string"` @@ -138632,6 +140058,8 @@ type NetworkInsightsPath struct { // The Amazon Web Services resource that is the source of the path. Source *string `locationName:"source" type:"string"` + SourceArn *string `locationName:"sourceArn" min:"1" type:"string"` + // The IP address of the Amazon Web Services resource that is the source of // the path. SourceIp *string `locationName:"sourceIp" type:"string"` @@ -138670,6 +140098,12 @@ func (s *NetworkInsightsPath) SetDestination(v string) *NetworkInsightsPath { return s } +// SetDestinationArn sets the DestinationArn field's value. +func (s *NetworkInsightsPath) SetDestinationArn(v string) *NetworkInsightsPath { + s.DestinationArn = &v + return s +} + // SetDestinationIp sets the DestinationIp field's value. func (s *NetworkInsightsPath) SetDestinationIp(v string) *NetworkInsightsPath { s.DestinationIp = &v @@ -138706,6 +140140,12 @@ func (s *NetworkInsightsPath) SetSource(v string) *NetworkInsightsPath { return s } +// SetSourceArn sets the SourceArn field's value. +func (s *NetworkInsightsPath) SetSourceArn(v string) *NetworkInsightsPath { + s.SourceArn = &v + return s +} + // SetSourceIp sets the SourceIp field's value. func (s *NetworkInsightsPath) SetSourceIp(v string) *NetworkInsightsPath { s.SourceIp = &v @@ -139088,6 +140528,10 @@ type NetworkInterfaceAttachment struct { // The device index of the network interface attachment on the instance. DeviceIndex *int64 `locationName:"deviceIndex" type:"integer"` + // Configures ENA Express for the network interface that this action attaches + // to the instance. + EnaSrdSpecification *AttachmentEnaSrdSpecification `locationName:"enaSrdSpecification" type:"structure"` + // The ID of the instance. InstanceId *string `locationName:"instanceId" type:"string"` @@ -139143,6 +140587,12 @@ func (s *NetworkInterfaceAttachment) SetDeviceIndex(v int64) *NetworkInterfaceAt return s } +// SetEnaSrdSpecification sets the EnaSrdSpecification field's value. +func (s *NetworkInterfaceAttachment) SetEnaSrdSpecification(v *AttachmentEnaSrdSpecification) *NetworkInterfaceAttachment { + s.EnaSrdSpecification = v + return s +} + // SetInstanceId sets the InstanceId field's value. func (s *NetworkInterfaceAttachment) SetInstanceId(v string) *NetworkInterfaceAttachment { s.InstanceId = &v @@ -140841,11 +142291,10 @@ func (s *Phase2IntegrityAlgorithmsRequestListValue) SetValue(v string) *Phase2In type Placement struct { _ struct{} `type:"structure"` - // The affinity setting for the instance on the Dedicated Host. This parameter - // is not supported for the ImportInstance (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html) - // command. + // The affinity setting for the instance on the Dedicated Host. // - // This parameter is not supported by CreateFleet (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet). + // This parameter is not supported for CreateFleet (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet) + // or ImportInstance (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html). Affinity *string `locationName:"affinity" type:"string"` // The Availability Zone of the instance. @@ -140853,49 +142302,46 @@ type Placement struct { // If not specified, an Availability Zone will be automatically chosen for you // based on the load balancing criteria for the Region. // - // This parameter is not supported by CreateFleet (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet). + // This parameter is not supported for CreateFleet (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet). AvailabilityZone *string `locationName:"availabilityZone" type:"string"` - // The Group Id of the placement group. + // The ID of the placement group that the instance is in. If you specify GroupId, + // you can't specify GroupName. GroupId *string `locationName:"groupId" type:"string"` - // The name of the placement group the instance is in. + // The name of the placement group that the instance is in. If you specify GroupName, + // you can't specify GroupId. GroupName *string `locationName:"groupName" type:"string"` - // The ID of the Dedicated Host on which the instance resides. This parameter - // is not supported for the ImportInstance (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html) - // command. + // The ID of the Dedicated Host on which the instance resides. // - // This parameter is not supported by CreateFleet (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet). + // This parameter is not supported for CreateFleet (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet) + // or ImportInstance (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html). HostId *string `locationName:"hostId" type:"string"` - // The ARN of the host resource group in which to launch the instances. If you - // specify a host resource group ARN, omit the Tenancy parameter or set it to - // host. + // The ARN of the host resource group in which to launch the instances. // - // This parameter is not supported by CreateFleet (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet). + // If you specify this parameter, either omit the Tenancy parameter or set it + // to host. + // + // This parameter is not supported for CreateFleet (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet). HostResourceGroupArn *string `locationName:"hostResourceGroupArn" type:"string"` // The number of the partition that the instance is in. Valid only if the placement // group strategy is set to partition. // - // This parameter is not supported by CreateFleet (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet). + // This parameter is not supported for CreateFleet (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet). PartitionNumber *int64 `locationName:"partitionNumber" type:"integer"` // Reserved for future use. - // - // This parameter is not supported by CreateFleet (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet). SpreadDomain *string `locationName:"spreadDomain" type:"string"` // The tenancy of the instance (if the instance is running in a VPC). An instance - // with a tenancy of dedicated runs on single-tenant hardware. The host tenancy - // is not supported for the ImportInstance (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html) - // command. - // - // This parameter is not supported by CreateFleet (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet). + // with a tenancy of dedicated runs on single-tenant hardware. // - // T3 instances that use the unlimited CPU credit option do not support host - // tenancy. + // This parameter is not supported for CreateFleet (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet). + // The host tenancy is not supported for ImportInstance (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html) + // or for T3 instances that are configured for the unlimited CPU credit option. Tenancy *string `locationName:"tenancy" type:"string" enum:"Tenancy"` } @@ -144118,7 +145564,7 @@ func (s *RejectTransitGatewayMulticastDomainAssociationsInput) SetTransitGateway type RejectTransitGatewayMulticastDomainAssociationsOutput struct { _ struct{} `type:"structure"` - // Describes the multicast domain associations. + // Information about the multicast domain associations. Associations *TransitGatewayMulticastDomainAssociations `locationName:"associations" type:"structure"` } @@ -155445,27 +156891,44 @@ type SpotFleetRequestConfigData struct { // For more information, see Allocation strategies for Spot Instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-allocation-strategy.html) // in the Amazon EC2 User Guide. // - // lowestPrice - Spot Fleet launches instances from the lowest-price Spot Instance - // pool that has available capacity. If the cheapest pool doesn't have available - // capacity, the Spot Instances come from the next cheapest pool that has available - // capacity. If a pool runs out of capacity before fulfilling your desired capacity, - // Spot Fleet will continue to fulfill your request by drawing from the next - // cheapest pool. To ensure that your desired capacity is met, you might receive - // Spot Instances from several pools. - // - // diversified - Spot Fleet launches instances from all of the Spot Instance - // pools that you specify. - // - // capacityOptimized (recommended) - Spot Fleet launches instances from Spot - // Instance pools with optimal capacity for the number of instances that are - // launching. To give certain instance types a higher chance of launching first, - // use capacityOptimizedPrioritized. Set a priority for each instance type by - // using the Priority parameter for LaunchTemplateOverrides. You can assign - // the same priority to different LaunchTemplateOverrides. EC2 implements the - // priorities on a best-effort basis, but optimizes for capacity first. capacityOptimizedPrioritized - // is supported only if your Spot Fleet uses a launch template. Note that if - // the OnDemandAllocationStrategy is set to prioritized, the same priority is - // applied when fulfilling On-Demand capacity. + // priceCapacityOptimized (recommended) + // + // Spot Fleet identifies the pools with the highest capacity availability for + // the number of instances that are launching. This means that we will request + // Spot Instances from the pools that we believe have the lowest chance of interruption + // in the near term. Spot Fleet then requests Spot Instances from the lowest + // priced of these pools. + // + // capacityOptimized + // + // Spot Fleet identifies the pools with the highest capacity availability for + // the number of instances that are launching. This means that we will request + // Spot Instances from the pools that we believe have the lowest chance of interruption + // in the near term. To give certain instance types a higher chance of launching + // first, use capacityOptimizedPrioritized. Set a priority for each instance + // type by using the Priority parameter for LaunchTemplateOverrides. You can + // assign the same priority to different LaunchTemplateOverrides. EC2 implements + // the priorities on a best-effort basis, but optimizes for capacity first. + // capacityOptimizedPrioritized is supported only if your Spot Fleet uses a + // launch template. Note that if the OnDemandAllocationStrategy is set to prioritized, + // the same priority is applied when fulfilling On-Demand capacity. + // + // diversified + // + // Spot Fleet requests instances from all of the Spot Instance pools that you + // specify. + // + // lowestPrice + // + // Spot Fleet requests instances from the lowest priced Spot Instance pool that + // has available capacity. If the lowest priced pool doesn't have available + // capacity, the Spot Instances come from the next lowest priced pool that has + // available capacity. If a pool runs out of capacity before fulfilling your + // desired capacity, Spot Fleet will continue to fulfill your request by drawing + // from the next lowest priced pool. To ensure that your desired capacity is + // met, you might receive Spot Instances from several pools. Because this strategy + // only considers instance price and not capacity availability, it might lead + // to high interruption rates. // // Default: lowestPrice AllocationStrategy *string `locationName:"allocationStrategy" type:"string" enum:"AllocationStrategy"` @@ -156329,27 +157792,44 @@ type SpotOptions struct { // For more information, see Allocation strategies for Spot Instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html) // in the Amazon EC2 User Guide. // - // lowest-price - EC2 Fleet launches instances from the lowest-price Spot Instance - // pool that has available capacity. If the cheapest pool doesn't have available - // capacity, the Spot Instances come from the next cheapest pool that has available - // capacity. If a pool runs out of capacity before fulfilling your desired capacity, - // EC2 Fleet will continue to fulfill your request by drawing from the next - // cheapest pool. To ensure that your desired capacity is met, you might receive - // Spot Instances from several pools. - // - // diversified - EC2 Fleet launches instances from all of the Spot Instance - // pools that you specify. - // - // capacity-optimized (recommended) - EC2 Fleet launches instances from Spot - // Instance pools with optimal capacity for the number of instances that are - // launching. To give certain instance types a higher chance of launching first, - // use capacity-optimized-prioritized. Set a priority for each instance type - // by using the Priority parameter for LaunchTemplateOverrides. You can assign - // the same priority to different LaunchTemplateOverrides. EC2 implements the - // priorities on a best-effort basis, but optimizes for capacity first. capacity-optimized-prioritized - // is supported only if your fleet uses a launch template. Note that if the - // On-Demand AllocationStrategy is set to prioritized, the same priority is - // applied when fulfilling On-Demand capacity. + // price-capacity-optimized (recommended) + // + // EC2 Fleet identifies the pools with the highest capacity availability for + // the number of instances that are launching. This means that we will request + // Spot Instances from the pools that we believe have the lowest chance of interruption + // in the near term. EC2 Fleet then requests Spot Instances from the lowest + // priced of these pools. + // + // capacity-optimized + // + // EC2 Fleet identifies the pools with the highest capacity availability for + // the number of instances that are launching. This means that we will request + // Spot Instances from the pools that we believe have the lowest chance of interruption + // in the near term. To give certain instance types a higher chance of launching + // first, use capacity-optimized-prioritized. Set a priority for each instance + // type by using the Priority parameter for LaunchTemplateOverrides. You can + // assign the same priority to different LaunchTemplateOverrides. EC2 implements + // the priorities on a best-effort basis, but optimizes for capacity first. + // capacity-optimized-prioritized is supported only if your EC2 Fleet uses a + // launch template. Note that if the On-Demand AllocationStrategy is set to + // prioritized, the same priority is applied when fulfilling On-Demand capacity. + // + // diversified + // + // EC2 Fleet requests instances from all of the Spot Instance pools that you + // specify. + // + // lowest-price + // + // EC2 Fleet requests instances from the lowest priced Spot Instance pool that + // has available capacity. If the lowest priced pool doesn't have available + // capacity, the Spot Instances come from the next lowest priced pool that has + // available capacity. If a pool runs out of capacity before fulfilling your + // desired capacity, EC2 Fleet will continue to fulfill your request by drawing + // from the next lowest priced pool. To ensure that your desired capacity is + // met, you might receive Spot Instances from several pools. Because this strategy + // only considers instance price and not capacity availability, it might lead + // to high interruption rates. // // Default: lowest-price AllocationStrategy *string `locationName:"allocationStrategy" type:"string" enum:"SpotAllocationStrategy"` @@ -156484,27 +157964,44 @@ type SpotOptionsRequest struct { // For more information, see Allocation strategies for Spot Instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html) // in the Amazon EC2 User Guide. // - // lowest-price - EC2 Fleet launches instances from the lowest-price Spot Instance - // pool that has available capacity. If the cheapest pool doesn't have available - // capacity, the Spot Instances come from the next cheapest pool that has available - // capacity. If a pool runs out of capacity before fulfilling your desired capacity, - // EC2 Fleet will continue to fulfill your request by drawing from the next - // cheapest pool. To ensure that your desired capacity is met, you might receive - // Spot Instances from several pools. - // - // diversified - EC2 Fleet launches instances from all of the Spot Instance - // pools that you specify. - // - // capacity-optimized (recommended) - EC2 Fleet launches instances from Spot - // Instance pools with optimal capacity for the number of instances that are - // launching. To give certain instance types a higher chance of launching first, - // use capacity-optimized-prioritized. Set a priority for each instance type - // by using the Priority parameter for LaunchTemplateOverrides. You can assign - // the same priority to different LaunchTemplateOverrides. EC2 implements the - // priorities on a best-effort basis, but optimizes for capacity first. capacity-optimized-prioritized - // is supported only if your fleet uses a launch template. Note that if the - // On-Demand AllocationStrategy is set to prioritized, the same priority is - // applied when fulfilling On-Demand capacity. + // price-capacity-optimized (recommended) + // + // EC2 Fleet identifies the pools with the highest capacity availability for + // the number of instances that are launching. This means that we will request + // Spot Instances from the pools that we believe have the lowest chance of interruption + // in the near term. EC2 Fleet then requests Spot Instances from the lowest + // priced of these pools. + // + // capacity-optimized + // + // EC2 Fleet identifies the pools with the highest capacity availability for + // the number of instances that are launching. This means that we will request + // Spot Instances from the pools that we believe have the lowest chance of interruption + // in the near term. To give certain instance types a higher chance of launching + // first, use capacity-optimized-prioritized. Set a priority for each instance + // type by using the Priority parameter for LaunchTemplateOverrides. You can + // assign the same priority to different LaunchTemplateOverrides. EC2 implements + // the priorities on a best-effort basis, but optimizes for capacity first. + // capacity-optimized-prioritized is supported only if your EC2 Fleet uses a + // launch template. Note that if the On-Demand AllocationStrategy is set to + // prioritized, the same priority is applied when fulfilling On-Demand capacity. + // + // diversified + // + // EC2 Fleet requests instances from all of the Spot Instance pools that you + // specify. + // + // lowest-price + // + // EC2 Fleet requests instances from the lowest priced Spot Instance pool that + // has available capacity. If the lowest priced pool doesn't have available + // capacity, the Spot Instances come from the next lowest priced pool that has + // available capacity. If a pool runs out of capacity before fulfilling your + // desired capacity, EC2 Fleet will continue to fulfill your request by drawing + // from the next lowest priced pool. To ensure that your desired capacity is + // met, you might receive Spot Instances from several pools. Because this strategy + // only considers instance price and not capacity availability, it might lead + // to high interruption rates. // // Default: lowest-price AllocationStrategy *string `type:"string" enum:"SpotAllocationStrategy"` @@ -157187,6 +158684,8 @@ func (s *StartNetworkInsightsAccessScopeAnalysisOutput) SetNetworkInsightsAccess type StartNetworkInsightsAnalysisInput struct { _ struct{} `type:"structure"` + AdditionalAccounts []*string `locationName:"AdditionalAccount" locationNameList:"item" type:"list"` + // Unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `type:"string" idempotencyToken:"true"` @@ -157240,6 +158739,12 @@ func (s *StartNetworkInsightsAnalysisInput) Validate() error { return nil } +// SetAdditionalAccounts sets the AdditionalAccounts field's value. +func (s *StartNetworkInsightsAnalysisInput) SetAdditionalAccounts(v []*string) *StartNetworkInsightsAnalysisInput { + s.AdditionalAccounts = v + return s +} + // SetClientToken sets the ClientToken field's value. func (s *StartNetworkInsightsAnalysisInput) SetClientToken(v string) *StartNetworkInsightsAnalysisInput { s.ClientToken = &v @@ -158185,6 +159690,76 @@ func (s *SubnetIpv6CidrBlockAssociation) SetIpv6CidrBlockState(v *SubnetCidrBloc return s } +// Describes an Infrastructure Performance subscription. +type Subscription struct { + _ struct{} `type:"structure"` + + // The Region or Availability Zone that's the target for the subscription. For + // example, eu-west-1. + Destination *string `locationName:"destination" type:"string"` + + // The metric used for the subscription. + Metric *string `locationName:"metric" type:"string" enum:"MetricType"` + + // The data aggregation time for the subscription. + Period *string `locationName:"period" type:"string" enum:"PeriodType"` + + // The Region or Availability Zone that's the source for the subscription. For + // example, us-east-1. + Source *string `locationName:"source" type:"string"` + + // The statistic used for the subscription. + Statistic *string `locationName:"statistic" type:"string" enum:"StatisticType"` +} + +// 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 Subscription) 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 Subscription) GoString() string { + return s.String() +} + +// SetDestination sets the Destination field's value. +func (s *Subscription) SetDestination(v string) *Subscription { + s.Destination = &v + return s +} + +// SetMetric sets the Metric field's value. +func (s *Subscription) SetMetric(v string) *Subscription { + s.Metric = &v + return s +} + +// SetPeriod sets the Period field's value. +func (s *Subscription) SetPeriod(v string) *Subscription { + s.Period = &v + return s +} + +// SetSource sets the Source field's value. +func (s *Subscription) SetSource(v string) *Subscription { + s.Source = &v + return s +} + +// SetStatistic sets the Statistic field's value. +func (s *Subscription) SetStatistic(v string) *Subscription { + s.Statistic = &v + return s +} + // Describes the burstable performance instance whose credit option for CPU // usage was successfully modified. type SuccessfulInstanceCreditSpecificationItem struct { @@ -172936,6 +174511,18 @@ func MembershipType_Values() []string { } } +const ( + // MetricTypeAggregateLatency is a MetricType enum value + MetricTypeAggregateLatency = "aggregate-latency" +) + +// MetricType_Values returns all elements of the MetricType enum +func MetricType_Values() []string { + return []string{ + MetricTypeAggregateLatency, + } +} + const ( // ModifyAvailabilityZoneOptInStatusOptedIn is a ModifyAvailabilityZoneOptInStatus enum value ModifyAvailabilityZoneOptInStatusOptedIn = "opted-in" @@ -173344,6 +174931,38 @@ func PaymentOption_Values() []string { } } +const ( + // PeriodTypeFiveMinutes is a PeriodType enum value + PeriodTypeFiveMinutes = "five-minutes" + + // PeriodTypeFifteenMinutes is a PeriodType enum value + PeriodTypeFifteenMinutes = "fifteen-minutes" + + // PeriodTypeOneHour is a PeriodType enum value + PeriodTypeOneHour = "one-hour" + + // PeriodTypeThreeHours is a PeriodType enum value + PeriodTypeThreeHours = "three-hours" + + // PeriodTypeOneDay is a PeriodType enum value + PeriodTypeOneDay = "one-day" + + // PeriodTypeOneWeek is a PeriodType enum value + PeriodTypeOneWeek = "one-week" +) + +// PeriodType_Values returns all elements of the PeriodType enum +func PeriodType_Values() []string { + return []string{ + PeriodTypeFiveMinutes, + PeriodTypeFifteenMinutes, + PeriodTypeOneHour, + PeriodTypeThreeHours, + PeriodTypeOneDay, + PeriodTypeOneWeek, + } +} + const ( // PermissionGroupAll is a PermissionGroup enum value PermissionGroupAll = "all" @@ -174520,6 +176139,18 @@ func StaticSourcesSupportValue_Values() []string { } } +const ( + // StatisticTypeP50 is a StatisticType enum value + StatisticTypeP50 = "p50" +) + +// StatisticType_Values returns all elements of the StatisticType enum +func StatisticType_Values() []string { + return []string{ + StatisticTypeP50, + } +} + const ( // StatusMoveInProgress is a Status enum value StatusMoveInProgress = "MoveInProgress" diff --git a/service/ec2/ec2iface/interface.go b/service/ec2/ec2iface/interface.go index 7711b586eba..e3677e31bcd 100644 --- a/service/ec2/ec2iface/interface.go +++ b/service/ec2/ec2iface/interface.go @@ -894,6 +894,13 @@ type EC2API interface { DescribeAvailabilityZonesWithContext(aws.Context, *ec2.DescribeAvailabilityZonesInput, ...request.Option) (*ec2.DescribeAvailabilityZonesOutput, error) DescribeAvailabilityZonesRequest(*ec2.DescribeAvailabilityZonesInput) (*request.Request, *ec2.DescribeAvailabilityZonesOutput) + DescribeAwsNetworkPerformanceMetricSubscriptions(*ec2.DescribeAwsNetworkPerformanceMetricSubscriptionsInput) (*ec2.DescribeAwsNetworkPerformanceMetricSubscriptionsOutput, error) + DescribeAwsNetworkPerformanceMetricSubscriptionsWithContext(aws.Context, *ec2.DescribeAwsNetworkPerformanceMetricSubscriptionsInput, ...request.Option) (*ec2.DescribeAwsNetworkPerformanceMetricSubscriptionsOutput, error) + DescribeAwsNetworkPerformanceMetricSubscriptionsRequest(*ec2.DescribeAwsNetworkPerformanceMetricSubscriptionsInput) (*request.Request, *ec2.DescribeAwsNetworkPerformanceMetricSubscriptionsOutput) + + DescribeAwsNetworkPerformanceMetricSubscriptionsPages(*ec2.DescribeAwsNetworkPerformanceMetricSubscriptionsInput, func(*ec2.DescribeAwsNetworkPerformanceMetricSubscriptionsOutput, bool) bool) error + DescribeAwsNetworkPerformanceMetricSubscriptionsPagesWithContext(aws.Context, *ec2.DescribeAwsNetworkPerformanceMetricSubscriptionsInput, func(*ec2.DescribeAwsNetworkPerformanceMetricSubscriptionsOutput, bool) bool, ...request.Option) error + DescribeBundleTasks(*ec2.DescribeBundleTasksInput) (*ec2.DescribeBundleTasksOutput, error) DescribeBundleTasksWithContext(aws.Context, *ec2.DescribeBundleTasksInput, ...request.Option) (*ec2.DescribeBundleTasksOutput, error) DescribeBundleTasksRequest(*ec2.DescribeBundleTasksInput) (*request.Request, *ec2.DescribeBundleTasksOutput) @@ -1735,6 +1742,10 @@ type EC2API interface { DisableAddressTransferWithContext(aws.Context, *ec2.DisableAddressTransferInput, ...request.Option) (*ec2.DisableAddressTransferOutput, error) DisableAddressTransferRequest(*ec2.DisableAddressTransferInput) (*request.Request, *ec2.DisableAddressTransferOutput) + DisableAwsNetworkPerformanceMetricSubscription(*ec2.DisableAwsNetworkPerformanceMetricSubscriptionInput) (*ec2.DisableAwsNetworkPerformanceMetricSubscriptionOutput, error) + DisableAwsNetworkPerformanceMetricSubscriptionWithContext(aws.Context, *ec2.DisableAwsNetworkPerformanceMetricSubscriptionInput, ...request.Option) (*ec2.DisableAwsNetworkPerformanceMetricSubscriptionOutput, error) + DisableAwsNetworkPerformanceMetricSubscriptionRequest(*ec2.DisableAwsNetworkPerformanceMetricSubscriptionInput) (*request.Request, *ec2.DisableAwsNetworkPerformanceMetricSubscriptionOutput) + DisableEbsEncryptionByDefault(*ec2.DisableEbsEncryptionByDefaultInput) (*ec2.DisableEbsEncryptionByDefaultOutput, error) DisableEbsEncryptionByDefaultWithContext(aws.Context, *ec2.DisableEbsEncryptionByDefaultInput, ...request.Option) (*ec2.DisableEbsEncryptionByDefaultOutput, error) DisableEbsEncryptionByDefaultRequest(*ec2.DisableEbsEncryptionByDefaultInput) (*request.Request, *ec2.DisableEbsEncryptionByDefaultOutput) @@ -1827,6 +1838,10 @@ type EC2API interface { EnableAddressTransferWithContext(aws.Context, *ec2.EnableAddressTransferInput, ...request.Option) (*ec2.EnableAddressTransferOutput, error) EnableAddressTransferRequest(*ec2.EnableAddressTransferInput) (*request.Request, *ec2.EnableAddressTransferOutput) + EnableAwsNetworkPerformanceMetricSubscription(*ec2.EnableAwsNetworkPerformanceMetricSubscriptionInput) (*ec2.EnableAwsNetworkPerformanceMetricSubscriptionOutput, error) + EnableAwsNetworkPerformanceMetricSubscriptionWithContext(aws.Context, *ec2.EnableAwsNetworkPerformanceMetricSubscriptionInput, ...request.Option) (*ec2.EnableAwsNetworkPerformanceMetricSubscriptionOutput, error) + EnableAwsNetworkPerformanceMetricSubscriptionRequest(*ec2.EnableAwsNetworkPerformanceMetricSubscriptionInput) (*request.Request, *ec2.EnableAwsNetworkPerformanceMetricSubscriptionOutput) + EnableEbsEncryptionByDefault(*ec2.EnableEbsEncryptionByDefaultInput) (*ec2.EnableEbsEncryptionByDefaultOutput, error) EnableEbsEncryptionByDefaultWithContext(aws.Context, *ec2.EnableEbsEncryptionByDefaultInput, ...request.Option) (*ec2.EnableEbsEncryptionByDefaultOutput, error) EnableEbsEncryptionByDefaultRequest(*ec2.EnableEbsEncryptionByDefaultInput) (*request.Request, *ec2.EnableEbsEncryptionByDefaultOutput) @@ -1847,6 +1862,10 @@ type EC2API interface { EnableIpamOrganizationAdminAccountWithContext(aws.Context, *ec2.EnableIpamOrganizationAdminAccountInput, ...request.Option) (*ec2.EnableIpamOrganizationAdminAccountOutput, error) EnableIpamOrganizationAdminAccountRequest(*ec2.EnableIpamOrganizationAdminAccountInput) (*request.Request, *ec2.EnableIpamOrganizationAdminAccountOutput) + EnableReachabilityAnalyzerOrganizationSharing(*ec2.EnableReachabilityAnalyzerOrganizationSharingInput) (*ec2.EnableReachabilityAnalyzerOrganizationSharingOutput, error) + EnableReachabilityAnalyzerOrganizationSharingWithContext(aws.Context, *ec2.EnableReachabilityAnalyzerOrganizationSharingInput, ...request.Option) (*ec2.EnableReachabilityAnalyzerOrganizationSharingOutput, error) + EnableReachabilityAnalyzerOrganizationSharingRequest(*ec2.EnableReachabilityAnalyzerOrganizationSharingInput) (*request.Request, *ec2.EnableReachabilityAnalyzerOrganizationSharingOutput) + EnableSerialConsoleAccess(*ec2.EnableSerialConsoleAccessInput) (*ec2.EnableSerialConsoleAccessOutput, error) EnableSerialConsoleAccessWithContext(aws.Context, *ec2.EnableSerialConsoleAccessInput, ...request.Option) (*ec2.EnableSerialConsoleAccessOutput, error) EnableSerialConsoleAccessRequest(*ec2.EnableSerialConsoleAccessInput) (*request.Request, *ec2.EnableSerialConsoleAccessOutput) @@ -1898,6 +1917,13 @@ type EC2API interface { GetAssociatedIpv6PoolCidrsPages(*ec2.GetAssociatedIpv6PoolCidrsInput, func(*ec2.GetAssociatedIpv6PoolCidrsOutput, bool) bool) error GetAssociatedIpv6PoolCidrsPagesWithContext(aws.Context, *ec2.GetAssociatedIpv6PoolCidrsInput, func(*ec2.GetAssociatedIpv6PoolCidrsOutput, bool) bool, ...request.Option) error + GetAwsNetworkPerformanceData(*ec2.GetAwsNetworkPerformanceDataInput) (*ec2.GetAwsNetworkPerformanceDataOutput, error) + GetAwsNetworkPerformanceDataWithContext(aws.Context, *ec2.GetAwsNetworkPerformanceDataInput, ...request.Option) (*ec2.GetAwsNetworkPerformanceDataOutput, error) + GetAwsNetworkPerformanceDataRequest(*ec2.GetAwsNetworkPerformanceDataInput) (*request.Request, *ec2.GetAwsNetworkPerformanceDataOutput) + + GetAwsNetworkPerformanceDataPages(*ec2.GetAwsNetworkPerformanceDataInput, func(*ec2.GetAwsNetworkPerformanceDataOutput, bool) bool) error + GetAwsNetworkPerformanceDataPagesWithContext(aws.Context, *ec2.GetAwsNetworkPerformanceDataInput, func(*ec2.GetAwsNetworkPerformanceDataOutput, bool) bool, ...request.Option) error + GetCapacityReservationUsage(*ec2.GetCapacityReservationUsageInput) (*ec2.GetCapacityReservationUsageOutput, error) GetCapacityReservationUsageWithContext(aws.Context, *ec2.GetCapacityReservationUsageInput, ...request.Option) (*ec2.GetCapacityReservationUsageOutput, error) GetCapacityReservationUsageRequest(*ec2.GetCapacityReservationUsageInput) (*request.Request, *ec2.GetCapacityReservationUsageOutput) diff --git a/service/eks/api.go b/service/eks/api.go index 48a7413a5ca..85849391ac0 100644 --- a/service/eks/api.go +++ b/service/eks/api.go @@ -1358,7 +1358,9 @@ func (c *EKS) DescribeAddonVersionsRequest(input *DescribeAddonVersionsInput) (r // DescribeAddonVersions API operation for Amazon Elastic Kubernetes Service. // -// Describes the Kubernetes versions that the add-on can be used with. +// Describes the versions for an add-on. Information such as the Kubernetes +// versions that you can use the add-on with, the owner, publisher, and the +// type of the add-on are returned. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3993,9 +3995,18 @@ type Addon struct { // An object representing the health of the add-on. Health *AddonHealth `locationName:"health" type:"structure"` + // Information about an Amazon EKS add-on from the Amazon Web Services Marketplace. + MarketplaceInformation *MarketplaceInformation `locationName:"marketplaceInformation" type:"structure"` + // The date and time that the add-on was last modified. ModifiedAt *time.Time `locationName:"modifiedAt" type:"timestamp"` + // The owner of the add-on. + Owner *string `locationName:"owner" type:"string"` + + // The publisher of the add-on. + Publisher *string `locationName:"publisher" type:"string"` + // The Amazon Resource Name (ARN) of the IAM role that is bound to the Kubernetes // service account used by the add-on. ServiceAccountRoleArn *string `locationName:"serviceAccountRoleArn" type:"string"` @@ -4064,12 +4075,30 @@ func (s *Addon) SetHealth(v *AddonHealth) *Addon { return s } +// SetMarketplaceInformation sets the MarketplaceInformation field's value. +func (s *Addon) SetMarketplaceInformation(v *MarketplaceInformation) *Addon { + s.MarketplaceInformation = v + return s +} + // SetModifiedAt sets the ModifiedAt field's value. func (s *Addon) SetModifiedAt(v time.Time) *Addon { s.ModifiedAt = &v return s } +// SetOwner sets the Owner field's value. +func (s *Addon) SetOwner(v string) *Addon { + s.Owner = &v + return s +} + +// SetPublisher sets the Publisher field's value. +func (s *Addon) SetPublisher(v string) *Addon { + s.Publisher = &v + return s +} + // SetServiceAccountRoleArn sets the ServiceAccountRoleArn field's value. func (s *Addon) SetServiceAccountRoleArn(v string) *Addon { s.ServiceAccountRoleArn = &v @@ -4131,6 +4160,15 @@ type AddonInfo struct { // Kubernetes versions. AddonVersions []*AddonVersionInfo `locationName:"addonVersions" type:"list"` + // Information about the add-on from the Amazon Web Services Marketplace. + MarketplaceInformation *MarketplaceInformation `locationName:"marketplaceInformation" type:"structure"` + + // The owner of the add-on. + Owner *string `locationName:"owner" type:"string"` + + // The publisher of the add-on. + Publisher *string `locationName:"publisher" type:"string"` + // The type of the add-on. Type *string `locationName:"type" type:"string"` } @@ -4165,6 +4203,24 @@ func (s *AddonInfo) SetAddonVersions(v []*AddonVersionInfo) *AddonInfo { return s } +// SetMarketplaceInformation sets the MarketplaceInformation field's value. +func (s *AddonInfo) SetMarketplaceInformation(v *MarketplaceInformation) *AddonInfo { + s.MarketplaceInformation = v + return s +} + +// SetOwner sets the Owner field's value. +func (s *AddonInfo) SetOwner(v string) *AddonInfo { + s.Owner = &v + return s +} + +// SetPublisher sets the Publisher field's value. +func (s *AddonInfo) SetPublisher(v string) *AddonInfo { + s.Publisher = &v + return s +} + // SetType sets the Type field's value. func (s *AddonInfo) SetType(v string) *AddonInfo { s.Type = &v @@ -4233,6 +4289,9 @@ type AddonVersionInfo struct { // An object representing the compatibilities of a version. Compatibilities []*Compatibility `locationName:"compatibilities" type:"list"` + + // Whether the add-on requires configuration. + RequiresConfiguration *bool `locationName:"requiresConfiguration" type:"boolean"` } // String returns the string representation. @@ -4271,6 +4330,12 @@ func (s *AddonVersionInfo) SetCompatibilities(v []*Compatibility) *AddonVersionI return s } +// SetRequiresConfiguration sets the RequiresConfiguration field's value. +func (s *AddonVersionInfo) SetRequiresConfiguration(v bool) *AddonVersionInfo { + s.RequiresConfiguration = &v + return s +} + type AssociateEncryptionConfigInput struct { _ struct{} `type:"structure"` @@ -5203,7 +5268,7 @@ func (s *ConnectorConfigResponse) SetRoleArn(v string) *ConnectorConfigResponse return s } -// The placement configuration for all the control plane instance of your local +// The placement configuration for all the control plane instances of your local // Amazon EKS cluster on an Amazon Web Services Outpost. For more information, // see Capacity considerations (https://docs.aws.amazon.com/eks/latest/userguide/eks-outposts-capacity-considerations.html) // in the Amazon EKS User Guide @@ -5239,7 +5304,7 @@ func (s *ControlPlanePlacementRequest) SetGroupName(v string) *ControlPlanePlace return s } -// The placement configuration for all the control plane instance of your local +// The placement configuration for all the control plane instances of your local // Amazon EKS cluster on an Amazon Web Services Outpost. For more information, // see Capacity considerations (https://docs.aws.amazon.com/eks/latest/userguide/eks-outposts-capacity-considerations.html) // in the Amazon EKS User Guide. @@ -6171,7 +6236,7 @@ type DeleteAddonInput struct { // Specifying this option preserves the add-on software on your cluster but // Amazon EKS stops managing any settings for the add-on. If an IAM account - // is associated with the add-on, it is not removed. + // is associated with the add-on, it isn't removed. Preserve *bool `location:"querystring" locationName:"preserve" type:"boolean"` } @@ -6726,7 +6791,7 @@ type DescribeAddonVersionsInput struct { // ListAddons (https://docs.aws.amazon.com/eks/latest/APIReference/API_ListAddons.html). AddonName *string `location:"querystring" locationName:"addonName" type:"string"` - // The Kubernetes versions that the add-on can be used with. + // The Kubernetes versions that you can use the add-on with. KubernetesVersion *string `location:"querystring" locationName:"kubernetesVersion" type:"string"` // The maximum number of results to return. @@ -6740,6 +6805,17 @@ type DescribeAddonVersionsInput struct { // This token should be treated as an opaque identifier that is used only to // retrieve the next items in a list and not for other programmatic purposes. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // The owner of the add-on. For valid owners, don't specify a value for this + // property. + Owners []*string `location:"querystring" locationName:"owners" type:"list"` + + // The publisher of the add-on. For valid publishers, don't specify a value + // for this property. + Publishers []*string `location:"querystring" locationName:"publishers" type:"list"` + + // The type of the add-on. For valid types, don't specify a value for this property. + Types []*string `location:"querystring" locationName:"types" type:"list"` } // String returns the string representation. @@ -6797,10 +6873,29 @@ func (s *DescribeAddonVersionsInput) SetNextToken(v string) *DescribeAddonVersio return s } +// SetOwners sets the Owners field's value. +func (s *DescribeAddonVersionsInput) SetOwners(v []*string) *DescribeAddonVersionsInput { + s.Owners = v + return s +} + +// SetPublishers sets the Publishers field's value. +func (s *DescribeAddonVersionsInput) SetPublishers(v []*string) *DescribeAddonVersionsInput { + s.Publishers = v + return s +} + +// SetTypes sets the Types field's value. +func (s *DescribeAddonVersionsInput) SetTypes(v []*string) *DescribeAddonVersionsInput { + s.Types = v + return s +} + type DescribeAddonVersionsOutput struct { _ struct{} `type:"structure"` - // The list of available versions with Kubernetes version compatibility. + // The list of available versions with Kubernetes version compatibility and + // other properties. Addons []*AddonInfo `locationName:"addons" type:"list"` // The nextToken value returned from a previous paginated DescribeAddonVersionsResponse @@ -9213,6 +9308,47 @@ func (s *Logging) SetClusterLogging(v []*LogSetup) *Logging { return s } +// Information about an Amazon EKS add-on from the Amazon Web Services Marketplace. +type MarketplaceInformation struct { + _ struct{} `type:"structure"` + + // The product ID from the Amazon Web Services Marketplace. + ProductId *string `locationName:"productId" type:"string"` + + // The product URL from the Amazon Web Services Marketplace. + ProductUrl *string `locationName:"productUrl" 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 MarketplaceInformation) 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 MarketplaceInformation) GoString() string { + return s.String() +} + +// SetProductId sets the ProductId field's value. +func (s *MarketplaceInformation) SetProductId(v string) *MarketplaceInformation { + s.ProductId = &v + return s +} + +// SetProductUrl sets the ProductUrl field's value. +func (s *MarketplaceInformation) SetProductUrl(v string) *MarketplaceInformation { + s.ProductUrl = &v + return s +} + // An object representing an Amazon EKS managed node group. type Nodegroup struct { _ struct{} `type:"structure"` @@ -10101,7 +10237,7 @@ type OutpostConfigRequest struct { ControlPlaneInstanceType *string `locationName:"controlPlaneInstanceType" type:"string" required:"true"` // An object representing the placement configuration for all the control plane - // instance of your local Amazon EKS cluster on an Amazon Web Services Outpost. + // instances of your local Amazon EKS cluster on an Amazon Web Services Outpost. // For more information, see Capacity considerations (https://docs.aws.amazon.com/eks/latest/userguide/eks-outposts-capacity-considerations.html) // in the Amazon EKS User Guide. ControlPlanePlacement *ControlPlanePlacementRequest `locationName:"controlPlanePlacement" type:"structure"` @@ -10178,7 +10314,7 @@ type OutpostConfigResponse struct { ControlPlaneInstanceType *string `locationName:"controlPlaneInstanceType" type:"string" required:"true"` // An object representing the placement configuration for all the control plane - // instance of your local Amazon EKS cluster on an Amazon Web Services Outpost. + // instances of your local Amazon EKS cluster on an Amazon Web Services Outpost. // For more information, see Capacity considerations (https://docs.aws.amazon.com/eks/latest/userguide/eks-outposts-capacity-considerations.html) // in the Amazon EKS User Guide. ControlPlanePlacement *ControlPlanePlacementResponse `locationName:"controlPlanePlacement" type:"structure"` @@ -12049,7 +12185,7 @@ type UpdateTaintsPayload struct { // Kubernetes taints to be added or updated. AddOrUpdateTaints []*Taint `locationName:"addOrUpdateTaints" type:"list"` - // Kubernetes taints to be removed. + // Kubernetes taints to remove. RemoveTaints []*Taint `locationName:"removeTaints" type:"list"` } diff --git a/service/fsx/api.go b/service/fsx/api.go index fab2088738d..51e86f7d33c 100644 --- a/service/fsx/api.go +++ b/service/fsx/api.go @@ -4632,6 +4632,9 @@ func (c *FSx) UpdateFileSystemRequest(input *UpdateFileSystemInput) (req *reques // request token but different parameters settings. A client request token should // always uniquely identify a single request. // +// - InvalidNetworkSettings +// One or more network settings specified in the request are invalid. +// // - InternalServerError // A generic error indicating a server-side failure. // @@ -5105,6 +5108,10 @@ type AdministrativeAction struct { // Amazon FSx for OpenZFS volume initiated from the Amazon FSx console, API // (UpdateVolume), or CLI (update-volume). // + // * VOLUME_RESTORE - An Amazon FSx for OpenZFS volume is returned to the + // state saved by the specified snapshot, initiated from an API (RestoreVolumeFromSnapshot) + // or CLI (restore-volume-from-snapshot). + // // * SNAPSHOT_UPDATE - A snapshot update to an Amazon FSx for OpenZFS volume // initiated from the Amazon FSx console, API (UpdateSnapshot), or CLI (update-snapshot). // @@ -8356,11 +8363,12 @@ type CreateFileSystemOntapConfiguration struct { DiskIopsConfiguration *DiskIopsConfiguration `type:"structure"` // (Multi-AZ only) Specifies the IP address range in which the endpoints to - // access your file system will be created. By default, Amazon FSx selects an - // unused IP address range for you from the 198.19.* range. - // - // The Endpoint IP address range you select for your file system must exist - // outside the VPC's CIDR range and must be at least /30 or larger. + // access your file system will be created. By default in the Amazon FSx API, + // Amazon FSx selects an unused IP address range for you from the 198.19.* range. + // By default in the Amazon FSx console, Amazon FSx chooses the last 64 IP addresses + // from the VPC’s primary CIDR range to use as the endpoint IP address range + // for the file system. You can have overlapping endpoint IP addresses for file + // systems deployed in the same VPC/route tables. EndpointIpAddressRange *string `min:"9" type:"string"` // The ONTAP administrative password for the fsxadmin user with which you administer @@ -8382,7 +8390,7 @@ type CreateFileSystemOntapConfiguration struct { RouteTableIds []*string `type:"list"` // Sets the throughput capacity for the file system that you're creating. Valid - // values are 128, 256, 512, 1024, and 2048 MBps. + // values are 128, 256, 512, 1024, 2048, and 4096 MBps. // // ThroughputCapacity is a required field ThroughputCapacity *int64 `min:"8" type:"integer" required:"true"` @@ -8544,9 +8552,22 @@ type CreateFileSystemOpenZFSConfiguration struct { // 05:00 specifies 5 AM daily. DailyAutomaticBackupStartTime *string `min:"5" type:"string"` - // Specifies the file system deployment type. Amazon FSx for OpenZFS supports - // SINGLE_AZ_1. SINGLE_AZ_1 deployment type is configured for redundancy within - // a single Availability Zone. + // Specifies the file system deployment type. Single AZ deployment types are + // configured for redundancy within a single Availability Zone in an Amazon + // Web Services Region . Valid values are the following: + // + // * SINGLE_AZ_1- (Default) Creates file systems with throughput capacities + // of 64 - 4,096 MB/s. Single_AZ_1 is available in all Amazon Web Services + // Regions where Amazon FSx for OpenZFS is available, except US West (Oregon). + // + // * SINGLE_AZ_2- Creates file systems with throughput capacities of 160 + // - 10,240 MB/s using an NVMe L2ARC cache. Single_AZ_2 is available only + // in the US East (N. Virginia), US East (Ohio), US West (Oregon), and Europe + // (Ireland) Amazon Web Services Regions. + // + // For more information, see: Deployment type availability (https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/available-aws-regions.html) + // and File system performance (https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/zfs-fs-performance.html)in + // theAmazon FSx for OpenZFS User Guide. // // DeploymentType is a required field DeploymentType *string `type:"string" required:"true" enum:"OpenZFSDeploymentType"` @@ -8563,9 +8584,16 @@ type CreateFileSystemOpenZFSConfiguration struct { RootVolumeConfiguration *OpenZFSCreateRootVolumeConfiguration `type:"structure"` // Specifies the throughput of an Amazon FSx for OpenZFS file system, measured - // in megabytes per second (MB/s). Valid values are 64, 128, 256, 512, 1024, - // 2048, 3072, or 4096 MB/s. You pay for additional throughput capacity that - // you provision. + // in megabytes per second (MB/s). Valid values depend on the DeploymentType + // you choose, as follows: + // + // * For SINGLE_AZ_1, valid values are 64, 128, 256, 512, 1024, 2048, 3072, + // or 4096 MB/s. + // + // * For SINGLE_AZ_2, valid values are 160, 320, 640, 1280, 2560, 3840, 5120, + // 7680, or 10240 MB/s. + // + // You pay for additional throughput capacity that you provision. // // ThroughputCapacity is a required field ThroughputCapacity *int64 `min:"8" type:"integer" required:"true"` @@ -8951,11 +8979,29 @@ func (s *CreateFileSystemWindowsConfiguration) SetWeeklyMaintenanceStartTime(v s type CreateOntapVolumeConfiguration struct { _ struct{} `type:"structure"` + // A boolean flag indicating whether tags for the volume should be copied to + // backups. This value defaults to false. If it's set to true, all tags for + // the volume are copied to all automatic and user-initiated backups where the + // user doesn't specify tags. If this value is true, and you specify one or + // more tags, only the specified tags are copied to backups. If you specify + // one or more tags when creating a user-initiated backup, no tags are copied + // from the volume, regardless of this value. + CopyTagsToBackups *bool `type:"boolean"` + // Specifies the location in the SVM's namespace where the volume is mounted. // The JunctionPath must have a leading forward slash, such as /vol3. + JunctionPath *string `min:"1" type:"string"` + + // Specifies the type of volume you are creating. Valid values are the following: + // + // * RW specifies a read/write volume. RW is the default. + // + // * DP specifies a data-protection volume. A DP volume is read-only and + // can be used as the destination of a NetApp SnapMirror relationship. // - // JunctionPath is a required field - JunctionPath *string `min:"1" type:"string" required:"true"` + // For more information, see Volume types (https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/volume-types) + // in the Amazon FSx for NetApp ONTAP User Guide. + OntapVolumeType *string `type:"string" enum:"InputOntapVolumeType"` // Specifies the security style for the volume. If a volume's security style // is not specified, it is automatically set to the root volume's security style. @@ -8982,11 +9028,30 @@ type CreateOntapVolumeConfiguration struct { // SizeInMegabytes is a required field SizeInMegabytes *int64 `type:"integer" required:"true"` + // Specifies the snapshot policy for the volume. There are three built-in snapshot + // policies: + // + // * default: This is the default policy. A maximum of six hourly snapshots + // taken five minutes past the hour. A maximum of two daily snapshots taken + // Monday through Saturday at 10 minutes after midnight. A maximum of two + // weekly snapshots taken every Sunday at 15 minutes after midnight. + // + // * default-1weekly: This policy is the same as the default policy except + // that it only retains one snapshot from the weekly schedule. + // + // * none: This policy does not take any snapshots. This policy can be assigned + // to volumes to prevent automatic snapshots from being taken. + // + // You can also provide the name of a custom policy that you created with the + // ONTAP CLI or REST API. + // + // For more information, see Snapshot policies (https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/snapshots-ontap.html#snapshot-policies) + // in the Amazon FSx for NetApp ONTAP User Guide. + SnapshotPolicy *string `min:"1" type:"string"` + // Set to true to enable deduplication, compression, and compaction storage // efficiency features on the volume. - // - // StorageEfficiencyEnabled is a required field - StorageEfficiencyEnabled *bool `type:"boolean" required:"true"` + StorageEfficiencyEnabled *bool `type:"boolean"` // Specifies the ONTAP SVM in which to create the volume. // @@ -9035,17 +9100,14 @@ func (s CreateOntapVolumeConfiguration) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *CreateOntapVolumeConfiguration) Validate() error { invalidParams := request.ErrInvalidParams{Context: "CreateOntapVolumeConfiguration"} - if s.JunctionPath == nil { - invalidParams.Add(request.NewErrParamRequired("JunctionPath")) - } if s.JunctionPath != nil && len(*s.JunctionPath) < 1 { invalidParams.Add(request.NewErrParamMinLen("JunctionPath", 1)) } if s.SizeInMegabytes == nil { invalidParams.Add(request.NewErrParamRequired("SizeInMegabytes")) } - if s.StorageEfficiencyEnabled == nil { - invalidParams.Add(request.NewErrParamRequired("StorageEfficiencyEnabled")) + if s.SnapshotPolicy != nil && len(*s.SnapshotPolicy) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SnapshotPolicy", 1)) } if s.StorageVirtualMachineId == nil { invalidParams.Add(request.NewErrParamRequired("StorageVirtualMachineId")) @@ -9065,12 +9127,24 @@ func (s *CreateOntapVolumeConfiguration) Validate() error { return nil } +// SetCopyTagsToBackups sets the CopyTagsToBackups field's value. +func (s *CreateOntapVolumeConfiguration) SetCopyTagsToBackups(v bool) *CreateOntapVolumeConfiguration { + s.CopyTagsToBackups = &v + return s +} + // SetJunctionPath sets the JunctionPath field's value. func (s *CreateOntapVolumeConfiguration) SetJunctionPath(v string) *CreateOntapVolumeConfiguration { s.JunctionPath = &v return s } +// SetOntapVolumeType sets the OntapVolumeType field's value. +func (s *CreateOntapVolumeConfiguration) SetOntapVolumeType(v string) *CreateOntapVolumeConfiguration { + s.OntapVolumeType = &v + return s +} + // SetSecurityStyle sets the SecurityStyle field's value. func (s *CreateOntapVolumeConfiguration) SetSecurityStyle(v string) *CreateOntapVolumeConfiguration { s.SecurityStyle = &v @@ -9083,6 +9157,12 @@ func (s *CreateOntapVolumeConfiguration) SetSizeInMegabytes(v int64) *CreateOnta return s } +// SetSnapshotPolicy sets the SnapshotPolicy field's value. +func (s *CreateOntapVolumeConfiguration) SetSnapshotPolicy(v string) *CreateOntapVolumeConfiguration { + s.SnapshotPolicy = &v + return s +} + // SetStorageEfficiencyEnabled sets the StorageEfficiencyEnabled field's value. func (s *CreateOntapVolumeConfiguration) SetStorageEfficiencyEnabled(v bool) *CreateOntapVolumeConfiguration { s.StorageEfficiencyEnabled = &v @@ -10151,7 +10231,7 @@ type DataRepositoryAssociation struct { // supported for S3 data repositories. DataRepositorySubdirectories []*string `type:"list"` - // Provides detailed information about the data respository if its Lifecycle + // Provides detailed information about the data repository if its Lifecycle // is set to MISCONFIGURED or FAILED. FailureDetails *DataRepositoryFailureDetails `type:"structure"` @@ -10464,7 +10544,7 @@ type DataRepositoryConfiguration struct { // store new and changed Lustre file system files in S3. ExportPath *string `min:"3" type:"string"` - // Provides detailed information about the data respository if its Lifecycle + // Provides detailed information about the data repository if its Lifecycle // is set to MISCONFIGURED or FAILED. FailureDetails *DataRepositoryFailureDetails `type:"structure"` @@ -10560,7 +10640,7 @@ func (s *DataRepositoryConfiguration) SetLifecycle(v string) *DataRepositoryConf return s } -// Provides detailed information about the data respository if its Lifecycle +// Provides detailed information about the data repository if its Lifecycle // is set to MISCONFIGURED or FAILED. type DataRepositoryFailureDetails struct { _ struct{} `type:"structure"` @@ -16885,6 +16965,15 @@ func (s *OntapFileSystemConfiguration) SetWeeklyMaintenanceStartTime(v string) * type OntapVolumeConfiguration struct { _ struct{} `type:"structure"` + // A boolean flag indicating whether tags for the volume should be copied to + // backups. This value defaults to false. If it's set to true, all tags for + // the volume are copied to all automatic and user-initiated backups where the + // user doesn't specify tags. If this value is true, and you specify one or + // more tags, only the specified tags are copied to backups. If you specify + // one or more tags when creating a user-initiated backup, no tags are copied + // from the volume, regardless of this value. + CopyTagsToBackups *bool `type:"boolean"` + // Specifies the FlexCache endpoint type of the volume. Valid values are the // following: // @@ -16924,6 +17013,27 @@ type OntapVolumeConfiguration struct { // The configured size of the volume, in megabytes (MBs). SizeInMegabytes *int64 `type:"integer"` + // Specifies the snapshot policy for the volume. There are three built-in snapshot + // policies: + // + // * default: This is the default policy. A maximum of six hourly snapshots + // taken five minutes past the hour. A maximum of two daily snapshots taken + // Monday through Saturday at 10 minutes after midnight. A maximum of two + // weekly snapshots taken every Sunday at 15 minutes after midnight. + // + // * default-1weekly: This policy is the same as the default policy except + // that it only retains one snapshot from the weekly schedule. + // + // * none: This policy does not take any snapshots. This policy can be assigned + // to volumes to prevent automatic snapshots from being taken. + // + // You can also provide the name of a custom policy that you created with the + // ONTAP CLI or REST API. + // + // For more information, see Snapshot policies (https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/snapshots-ontap.html#snapshot-policies) + // in the Amazon FSx for NetApp ONTAP User Guide. + SnapshotPolicy *string `min:"1" type:"string"` + // The volume's storage efficiency setting. StorageEfficiencyEnabled *bool `type:"boolean"` @@ -16965,6 +17075,12 @@ func (s OntapVolumeConfiguration) GoString() string { return s.String() } +// SetCopyTagsToBackups sets the CopyTagsToBackups field's value. +func (s *OntapVolumeConfiguration) SetCopyTagsToBackups(v bool) *OntapVolumeConfiguration { + s.CopyTagsToBackups = &v + return s +} + // SetFlexCacheEndpointType sets the FlexCacheEndpointType field's value. func (s *OntapVolumeConfiguration) SetFlexCacheEndpointType(v string) *OntapVolumeConfiguration { s.FlexCacheEndpointType = &v @@ -16995,6 +17111,12 @@ func (s *OntapVolumeConfiguration) SetSizeInMegabytes(v int64) *OntapVolumeConfi return s } +// SetSnapshotPolicy sets the SnapshotPolicy field's value. +func (s *OntapVolumeConfiguration) SetSnapshotPolicy(v string) *OntapVolumeConfiguration { + s.SnapshotPolicy = &v + return s +} + // SetStorageEfficiencyEnabled sets the StorageEfficiencyEnabled field's value. func (s *OntapVolumeConfiguration) SetStorageEfficiencyEnabled(v bool) *OntapVolumeConfiguration { s.StorageEfficiencyEnabled = &v @@ -17272,8 +17394,7 @@ type OpenZFSFileSystemConfiguration struct { DailyAutomaticBackupStartTime *string `min:"5" type:"string"` // Specifies the file-system deployment type. Amazon FSx for OpenZFS supports - // SINGLE_AZ_1. SINGLE_AZ_1 is a file system configured for a single Availability - // Zone (AZ) of redundancy. + // SINGLE_AZ_1 and SINGLE_AZ_2. DeploymentType *string `type:"string" enum:"OpenZFSDeploymentType"` // The SSD IOPS (input/output operations per second) configuration for an Amazon @@ -17287,7 +17408,7 @@ type OpenZFSFileSystemConfiguration struct { RootVolumeId *string `min:"23" type:"string"` // The throughput of an Amazon FSx file system, measured in megabytes per second - // (MBps). Valid values are 64, 128, 256, 512, 1024, 2048, 3072, or 4096 MB/s. + // (MBps). ThroughputCapacity *int64 `min:"8" type:"integer"` // A recurring weekly time, in the format D:HH:MM. @@ -17588,6 +17709,14 @@ type OpenZFSVolumeConfiguration struct { // write throughput speeds. DataCompressionType *string `type:"string" enum:"OpenZFSDataCompressionType"` + // A Boolean value indicating whether dependent clone volumes created from intermediate + // snapshots should be deleted when a volume is restored from snapshot. + DeleteClonedVolumes *bool `type:"boolean"` + + // A Boolean value indicating whether snapshots between the current state and + // the specified snapshot should be deleted when a volume is restored from snapshot. + DeleteIntermediateSnaphots *bool `type:"boolean"` + // The configuration object for mounting a Network File System (NFS) file system. NfsExports []*OpenZFSNfsExport `type:"list"` @@ -17607,6 +17736,9 @@ type OpenZFSVolumeConfiguration struct { // a custom record size, see the Amazon FSx for OpenZFS User Guide. RecordSizeKiB *int64 `min:"4" type:"integer"` + // Specifies the ID of the snapshot to which the volume was restored. + RestoreToSnapshot *string `min:"11" type:"string"` + // The maximum amount of storage in gibibtyes (GiB) that the volume can use // from its parent. You can specify a quota larger than the storage on the parent // volume. @@ -17653,6 +17785,18 @@ func (s *OpenZFSVolumeConfiguration) SetDataCompressionType(v string) *OpenZFSVo return s } +// SetDeleteClonedVolumes sets the DeleteClonedVolumes field's value. +func (s *OpenZFSVolumeConfiguration) SetDeleteClonedVolumes(v bool) *OpenZFSVolumeConfiguration { + s.DeleteClonedVolumes = &v + return s +} + +// SetDeleteIntermediateSnaphots sets the DeleteIntermediateSnaphots field's value. +func (s *OpenZFSVolumeConfiguration) SetDeleteIntermediateSnaphots(v bool) *OpenZFSVolumeConfiguration { + s.DeleteIntermediateSnaphots = &v + return s +} + // SetNfsExports sets the NfsExports field's value. func (s *OpenZFSVolumeConfiguration) SetNfsExports(v []*OpenZFSNfsExport) *OpenZFSVolumeConfiguration { s.NfsExports = v @@ -17683,6 +17827,12 @@ func (s *OpenZFSVolumeConfiguration) SetRecordSizeKiB(v int64) *OpenZFSVolumeCon return s } +// SetRestoreToSnapshot sets the RestoreToSnapshot field's value. +func (s *OpenZFSVolumeConfiguration) SetRestoreToSnapshot(v string) *OpenZFSVolumeConfiguration { + s.RestoreToSnapshot = &v + return s +} + // SetStorageCapacityQuotaGiB sets the StorageCapacityQuotaGiB field's value. func (s *OpenZFSVolumeConfiguration) SetStorageCapacityQuotaGiB(v int64) *OpenZFSVolumeConfiguration { s.StorageCapacityQuotaGiB = &v @@ -18042,6 +18192,11 @@ func (s *RestoreVolumeFromSnapshotInput) SetVolumeId(v string) *RestoreVolumeFro type RestoreVolumeFromSnapshotOutput struct { _ struct{} `type:"structure"` + // A list of administrative actions for the file system that are in process + // or waiting to be processed. Administrative actions describe changes to the + // Amazon FSx system. + AdministrativeActions []*AdministrativeAction `type:"list"` + // The lifecycle state of the volume being restored. Lifecycle *string `type:"string" enum:"VolumeLifecycle"` @@ -18067,6 +18222,12 @@ func (s RestoreVolumeFromSnapshotOutput) GoString() string { return s.String() } +// SetAdministrativeActions sets the AdministrativeActions field's value. +func (s *RestoreVolumeFromSnapshotOutput) SetAdministrativeActions(v []*AdministrativeAction) *RestoreVolumeFromSnapshotOutput { + s.AdministrativeActions = v + return s +} + // SetLifecycle sets the Lifecycle field's value. func (s *RestoreVolumeFromSnapshotOutput) SetLifecycle(v string) *RestoreVolumeFromSnapshotOutput { s.Lifecycle = &v @@ -18860,9 +19021,6 @@ type StorageVirtualMachine struct { // The SVM's system generated unique ID. StorageVirtualMachineId *string `min:"21" type:"string"` - // Describes the SVM's subtype. - Subtype *string `type:"string" enum:"StorageVirtualMachineSubtype"` - // A list of Tag values, with a maximum of 50 elements. Tags []*Tag `min:"1" type:"list"` @@ -18948,12 +19106,6 @@ func (s *StorageVirtualMachine) SetStorageVirtualMachineId(v string) *StorageVir return s } -// SetSubtype sets the Subtype field's value. -func (s *StorageVirtualMachine) SetSubtype(v string) *StorageVirtualMachine { - s.Subtype = &v - return s -} - // SetTags sets the Tags field's value. func (s *StorageVirtualMachine) SetTags(v []*Tag) *StorageVirtualMachine { s.Tags = v @@ -20255,6 +20407,10 @@ func (s *UpdateFileSystemLustreConfiguration) SetWeeklyMaintenanceStartTime(v st type UpdateFileSystemOntapConfiguration struct { _ struct{} `type:"structure"` + // (Multi-AZ only) A list of IDs of new virtual private cloud (VPC) route tables + // to associate (add) with your Amazon FSx for NetApp ONTAP file system. + AddRouteTableIds []*string `type:"list"` + // The number of days to retain automatic backups. Setting this property to // 0 disables automatic backups. You can retain automatic backups for a maximum // of 90 days. The default is 0. @@ -20279,9 +20435,15 @@ type UpdateFileSystemOntapConfiguration struct { // String and GoString methods. FsxAdminPassword *string `min:"8" type:"string" sensitive:"true"` + // (Multi-AZ only) A list of IDs of existing virtual private cloud (VPC) route + // tables to disassociate (remove) from your Amazon FSx for NetApp ONTAP file + // system. You can use the API operation to retrieve the list of VPC route table + // IDs for a file system. + RemoveRouteTableIds []*string `type:"list"` + // Specifies the throughput of an FSx for NetApp ONTAP file system, measured - // in megabytes per second (MBps). Valid values are 128, 256, 512, 1024, or - // 2048 MB/s. + // in megabytes per second (MBps). Valid values are 128, 256, 512, 1024, 2048, + // and 4096 MBps. ThroughputCapacity *int64 `min:"8" type:"integer"` // A recurring weekly time, in the format D:HH:MM. @@ -20337,6 +20499,12 @@ func (s *UpdateFileSystemOntapConfiguration) Validate() error { return nil } +// SetAddRouteTableIds sets the AddRouteTableIds field's value. +func (s *UpdateFileSystemOntapConfiguration) SetAddRouteTableIds(v []*string) *UpdateFileSystemOntapConfiguration { + s.AddRouteTableIds = v + return s +} + // SetAutomaticBackupRetentionDays sets the AutomaticBackupRetentionDays field's value. func (s *UpdateFileSystemOntapConfiguration) SetAutomaticBackupRetentionDays(v int64) *UpdateFileSystemOntapConfiguration { s.AutomaticBackupRetentionDays = &v @@ -20361,6 +20529,12 @@ func (s *UpdateFileSystemOntapConfiguration) SetFsxAdminPassword(v string) *Upda return s } +// SetRemoveRouteTableIds sets the RemoveRouteTableIds field's value. +func (s *UpdateFileSystemOntapConfiguration) SetRemoveRouteTableIds(v []*string) *UpdateFileSystemOntapConfiguration { + s.RemoveRouteTableIds = v + return s +} + // SetThroughputCapacity sets the ThroughputCapacity field's value. func (s *UpdateFileSystemOntapConfiguration) SetThroughputCapacity(v int64) *UpdateFileSystemOntapConfiguration { s.ThroughputCapacity = &v @@ -20411,8 +20585,15 @@ type UpdateFileSystemOpenZFSConfiguration struct { // SSD IOPS and how the amount was provisioned (by the customer or by the system). DiskIopsConfiguration *DiskIopsConfiguration `type:"structure"` - // The throughput of an Amazon FSx file system, measured in megabytes per second - // (MBps). Valid values are 64, 128, 256, 512, 1024, 2048, 3072, or 4096 MB/s. + // The throughput of an Amazon FSx for OpenZFS file system, measured in megabytes + // per second (MB/s). Valid values depend on the DeploymentType you choose, + // as follows: + // + // * For SINGLE_AZ_1, valid values are 64, 128, 256, 512, 1024, 2048, 3072, + // or 4096 MB/s. + // + // * For SINGLE_AZ_2, valid values are 160, 320, 640, 1280, 2560, 3840, 5120, + // 7680, or 10240 MB/s. ThroughputCapacity *int64 `min:"8" type:"integer"` // A recurring weekly time, in the format D:HH:MM. @@ -20667,6 +20848,15 @@ func (s *UpdateFileSystemWindowsConfiguration) SetWeeklyMaintenanceStartTime(v s type UpdateOntapVolumeConfiguration struct { _ struct{} `type:"structure"` + // A boolean flag indicating whether tags for the volume should be copied to + // backups. This value defaults to false. If it's set to true, all tags for + // the volume are copied to all automatic and user-initiated backups where the + // user doesn't specify tags. If this value is true, and you specify one or + // more tags, only the specified tags are copied to backups. If you specify + // one or more tags when creating a user-initiated backup, no tags are copied + // from the volume, regardless of this value. + CopyTagsToBackups *bool `type:"boolean"` + // Specifies the location in the SVM's namespace where the volume is mounted. // The JunctionPath must have a leading forward slash, such as /vol3. JunctionPath *string `min:"1" type:"string"` @@ -20677,6 +20867,27 @@ type UpdateOntapVolumeConfiguration struct { // Specifies the size of the volume in megabytes. SizeInMegabytes *int64 `type:"integer"` + // Specifies the snapshot policy for the volume. There are three built-in snapshot + // policies: + // + // * default: This is the default policy. A maximum of six hourly snapshots + // taken five minutes past the hour. A maximum of two daily snapshots taken + // Monday through Saturday at 10 minutes after midnight. A maximum of two + // weekly snapshots taken every Sunday at 15 minutes after midnight. + // + // * default-1weekly: This policy is the same as the default policy except + // that it only retains one snapshot from the weekly schedule. + // + // * none: This policy does not take any snapshots. This policy can be assigned + // to volumes to prevent automatic snapshots from being taken. + // + // You can also provide the name of a custom policy that you created with the + // ONTAP CLI or REST API. + // + // For more information, see Snapshot policies (https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/snapshots-ontap.html#snapshot-policies) + // in the Amazon FSx for NetApp ONTAP User Guide. + SnapshotPolicy *string `min:"1" type:"string"` + // Default is false. Set to true to enable the deduplication, compression, and // compaction storage efficiency features on the volume. StorageEfficiencyEnabled *bool `type:"boolean"` @@ -20709,6 +20920,9 @@ func (s *UpdateOntapVolumeConfiguration) Validate() error { if s.JunctionPath != nil && len(*s.JunctionPath) < 1 { invalidParams.Add(request.NewErrParamMinLen("JunctionPath", 1)) } + if s.SnapshotPolicy != nil && len(*s.SnapshotPolicy) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SnapshotPolicy", 1)) + } if s.TieringPolicy != nil { if err := s.TieringPolicy.Validate(); err != nil { invalidParams.AddNested("TieringPolicy", err.(request.ErrInvalidParams)) @@ -20721,6 +20935,12 @@ func (s *UpdateOntapVolumeConfiguration) Validate() error { return nil } +// SetCopyTagsToBackups sets the CopyTagsToBackups field's value. +func (s *UpdateOntapVolumeConfiguration) SetCopyTagsToBackups(v bool) *UpdateOntapVolumeConfiguration { + s.CopyTagsToBackups = &v + return s +} + // SetJunctionPath sets the JunctionPath field's value. func (s *UpdateOntapVolumeConfiguration) SetJunctionPath(v string) *UpdateOntapVolumeConfiguration { s.JunctionPath = &v @@ -20739,6 +20959,12 @@ func (s *UpdateOntapVolumeConfiguration) SetSizeInMegabytes(v int64) *UpdateOnta return s } +// SetSnapshotPolicy sets the SnapshotPolicy field's value. +func (s *UpdateOntapVolumeConfiguration) SetSnapshotPolicy(v string) *UpdateOntapVolumeConfiguration { + s.SnapshotPolicy = &v + return s +} + // SetStorageEfficiencyEnabled sets the StorageEfficiencyEnabled field's value. func (s *UpdateOntapVolumeConfiguration) SetStorageEfficiencyEnabled(v bool) *UpdateOntapVolumeConfiguration { s.StorageEfficiencyEnabled = &v @@ -21327,9 +21553,9 @@ func (s *UpdateVolumeOutput) SetVolume(v *Volume) *UpdateVolumeOutput { type Volume struct { _ struct{} `type:"structure"` - // A list of administrative actions for the file system that are in process - // or waiting to be processed. Administrative actions describe changes to the - // Amazon FSx system that you initiated. + // A list of administrative actions for the volume that are in process or waiting + // to be processed. Administrative actions describe changes to the volume that + // you have initiated using the UpdateVolume action. AdministrativeActions []*AdministrativeAction `type:"list"` // The time that the resource was created, in seconds (since 1970-01-01T00:00:00Z), @@ -22056,6 +22282,10 @@ func ActiveDirectoryErrorType_Values() []string { // Amazon FSx for OpenZFS volume initiated from the Amazon FSx console, API // (UpdateVolume), or CLI (update-volume). // +// - VOLUME_RESTORE - An Amazon FSx for OpenZFS volume is returned to the +// state saved by the specified snapshot, initiated from an API (RestoreVolumeFromSnapshot) +// or CLI (restore-volume-from-snapshot). +// // - SNAPSHOT_UPDATE - A snapshot update to an Amazon FSx for OpenZFS volume // initiated from the Amazon FSx console, API (UpdateSnapshot), or CLI (update-snapshot). // @@ -22082,6 +22312,9 @@ const ( // AdministrativeActionTypeReleaseNfsV3Locks is a AdministrativeActionType enum value AdministrativeActionTypeReleaseNfsV3Locks = "RELEASE_NFS_V3_LOCKS" + + // AdministrativeActionTypeVolumeRestore is a AdministrativeActionType enum value + AdministrativeActionTypeVolumeRestore = "VOLUME_RESTORE" ) // AdministrativeActionType_Values returns all elements of the AdministrativeActionType enum @@ -22094,6 +22327,7 @@ func AdministrativeActionType_Values() []string { AdministrativeActionTypeVolumeUpdate, AdministrativeActionTypeSnapshotUpdate, AdministrativeActionTypeReleaseNfsV3Locks, + AdministrativeActionTypeVolumeRestore, } } @@ -22615,6 +22849,22 @@ func FlexCacheEndpointType_Values() []string { } } +const ( + // InputOntapVolumeTypeRw is a InputOntapVolumeType enum value + InputOntapVolumeTypeRw = "RW" + + // InputOntapVolumeTypeDp is a InputOntapVolumeType enum value + InputOntapVolumeTypeDp = "DP" +) + +// InputOntapVolumeType_Values returns all elements of the InputOntapVolumeType enum +func InputOntapVolumeType_Values() []string { + return []string{ + InputOntapVolumeTypeRw, + InputOntapVolumeTypeDp, + } +} + const ( // LustreAccessAuditLogLevelDisabled is a LustreAccessAuditLogLevel enum value LustreAccessAuditLogLevelDisabled = "DISABLED" @@ -22750,12 +23000,16 @@ func OpenZFSDataCompressionType_Values() []string { const ( // OpenZFSDeploymentTypeSingleAz1 is a OpenZFSDeploymentType enum value OpenZFSDeploymentTypeSingleAz1 = "SINGLE_AZ_1" + + // OpenZFSDeploymentTypeSingleAz2 is a OpenZFSDeploymentType enum value + OpenZFSDeploymentTypeSingleAz2 = "SINGLE_AZ_2" ) // OpenZFSDeploymentType_Values returns all elements of the OpenZFSDeploymentType enum func OpenZFSDeploymentType_Values() []string { return []string{ OpenZFSDeploymentTypeSingleAz1, + OpenZFSDeploymentTypeSingleAz2, } } @@ -23053,30 +23307,6 @@ func StorageVirtualMachineRootVolumeSecurityStyle_Values() []string { } } -const ( - // StorageVirtualMachineSubtypeDefault is a StorageVirtualMachineSubtype enum value - StorageVirtualMachineSubtypeDefault = "DEFAULT" - - // StorageVirtualMachineSubtypeDpDestination is a StorageVirtualMachineSubtype enum value - StorageVirtualMachineSubtypeDpDestination = "DP_DESTINATION" - - // StorageVirtualMachineSubtypeSyncDestination is a StorageVirtualMachineSubtype enum value - StorageVirtualMachineSubtypeSyncDestination = "SYNC_DESTINATION" - - // StorageVirtualMachineSubtypeSyncSource is a StorageVirtualMachineSubtype enum value - StorageVirtualMachineSubtypeSyncSource = "SYNC_SOURCE" -) - -// StorageVirtualMachineSubtype_Values returns all elements of the StorageVirtualMachineSubtype enum -func StorageVirtualMachineSubtype_Values() []string { - return []string{ - StorageVirtualMachineSubtypeDefault, - StorageVirtualMachineSubtypeDpDestination, - StorageVirtualMachineSubtypeSyncDestination, - StorageVirtualMachineSubtypeSyncSource, - } -} - const ( // TieringPolicyNameSnapshotOnly is a TieringPolicyName enum value TieringPolicyNameSnapshotOnly = "SNAPSHOT_ONLY" diff --git a/service/fsx/examples_test.go b/service/fsx/examples_test.go index 159b4750997..9c83170a9bf 100644 --- a/service/fsx/examples_test.go +++ b/service/fsx/examples_test.go @@ -534,6 +534,8 @@ func ExampleFSx_UpdateFileSystem_shared00() { fmt.Println(fsx.ErrCodeUnsupportedOperation, aerr.Error()) case fsx.ErrCodeIncompatibleParameterError: fmt.Println(fsx.ErrCodeIncompatibleParameterError, aerr.Error()) + case fsx.ErrCodeInvalidNetworkSettings: + fmt.Println(fsx.ErrCodeInvalidNetworkSettings, aerr.Error()) case fsx.ErrCodeInternalServerError: fmt.Println(fsx.ErrCodeInternalServerError, aerr.Error()) case fsx.ErrCodeFileSystemNotFound: diff --git a/service/glue/api.go b/service/glue/api.go index 19420eefce0..2c072a10f61 100644 --- a/service/glue/api.go +++ b/service/glue/api.go @@ -23191,6 +23191,9 @@ type CodeGenConfigurationNode struct { // nulls. DropNullFields *DropNullFields `type:"structure"` + // Specifies a custom visual transform created by a user. + DynamicTransform *DynamicTransform `type:"structure"` + // Specifies a DynamoDB data source in the Glue Data Catalog. DynamoDBCatalogSource *DynamoDBCatalogSource `type:"structure"` @@ -23404,6 +23407,11 @@ func (s *CodeGenConfigurationNode) Validate() error { invalidParams.AddNested("DropNullFields", err.(request.ErrInvalidParams)) } } + if s.DynamicTransform != nil { + if err := s.DynamicTransform.Validate(); err != nil { + invalidParams.AddNested("DynamicTransform", err.(request.ErrInvalidParams)) + } + } if s.DynamoDBCatalogSource != nil { if err := s.DynamoDBCatalogSource.Validate(); err != nil { invalidParams.AddNested("DynamoDBCatalogSource", err.(request.ErrInvalidParams)) @@ -23674,6 +23682,12 @@ func (s *CodeGenConfigurationNode) SetDropNullFields(v *DropNullFields) *CodeGen return s } +// SetDynamicTransform sets the DynamicTransform field's value. +func (s *CodeGenConfigurationNode) SetDynamicTransform(v *DynamicTransform) *CodeGenConfigurationNode { + s.DynamicTransform = v + return s +} + // SetDynamoDBCatalogSource sets the DynamoDBCatalogSource field's value. func (s *CodeGenConfigurationNode) SetDynamoDBCatalogSource(v *DynamoDBCatalogSource) *CodeGenConfigurationNode { s.DynamoDBCatalogSource = v @@ -34593,6 +34607,141 @@ func (s *DropNullFields) SetNullTextList(v []*NullValueField) *DropNullFields { return s } +// Specifies the set of parameters needed to perform the dynamic transform. +type DynamicTransform struct { + _ struct{} `type:"structure"` + + // Specifies the name of the function of the dynamic transform. + // + // FunctionName is a required field + FunctionName *string `type:"string" required:"true"` + + // Specifies the inputs for the dynamic transform that are required. + // + // Inputs is a required field + Inputs []*string `min:"1" type:"list" required:"true"` + + // Specifies the name of the dynamic transform. + // + // Name is a required field + Name *string `type:"string" required:"true"` + + // Specifies the parameters of the dynamic transform. + Parameters []*TransformConfigParameter `type:"list"` + + // Specifies the path of the dynamic transform source and config files. + // + // Path is a required field + Path *string `type:"string" required:"true"` + + // Specifies the name of the dynamic transform as it appears in the Glue Studio + // visual editor. + // + // TransformName is a required field + TransformName *string `type:"string" required:"true"` + + // This field is not used and will be deprecated in future release. + Version *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 DynamicTransform) 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 DynamicTransform) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DynamicTransform) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DynamicTransform"} + if s.FunctionName == nil { + invalidParams.Add(request.NewErrParamRequired("FunctionName")) + } + if s.Inputs == nil { + invalidParams.Add(request.NewErrParamRequired("Inputs")) + } + if s.Inputs != nil && len(s.Inputs) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Inputs", 1)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Path == nil { + invalidParams.Add(request.NewErrParamRequired("Path")) + } + if s.TransformName == nil { + invalidParams.Add(request.NewErrParamRequired("TransformName")) + } + if s.Parameters != nil { + for i, v := range s.Parameters { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Parameters", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFunctionName sets the FunctionName field's value. +func (s *DynamicTransform) SetFunctionName(v string) *DynamicTransform { + s.FunctionName = &v + return s +} + +// SetInputs sets the Inputs field's value. +func (s *DynamicTransform) SetInputs(v []*string) *DynamicTransform { + s.Inputs = v + return s +} + +// SetName sets the Name field's value. +func (s *DynamicTransform) SetName(v string) *DynamicTransform { + s.Name = &v + return s +} + +// SetParameters sets the Parameters field's value. +func (s *DynamicTransform) SetParameters(v []*TransformConfigParameter) *DynamicTransform { + s.Parameters = v + return s +} + +// SetPath sets the Path field's value. +func (s *DynamicTransform) SetPath(v string) *DynamicTransform { + s.Path = &v + return s +} + +// SetTransformName sets the TransformName field's value. +func (s *DynamicTransform) SetTransformName(v string) *DynamicTransform { + s.TransformName = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *DynamicTransform) SetVersion(v string) *DynamicTransform { + s.Version = &v + return s +} + // Specifies a DynamoDB data source in the Glue Data Catalog. type DynamoDBCatalogSource struct { _ struct{} `type:"structure"` @@ -43276,8 +43425,7 @@ func (s *GluePolicy) SetUpdateTime(v time.Time) *GluePolicy { return s } -// Specifies a user-defined schema when a schema cannot be determined by AWS -// Glue. +// Specifies a user-defined schema when a schema cannot be determined by Glue. type GlueSchema struct { _ struct{} `type:"structure"` @@ -60101,6 +60249,114 @@ func (s *TaskRunSortCriteria) SetSortDirection(v string) *TaskRunSortCriteria { return s } +// Specifies the parameters in the config file of the dynamic transform. +type TransformConfigParameter struct { + _ struct{} `type:"structure"` + + // Specifies whether the parameter is optional or not in the config file of + // the dynamic transform. + IsOptional *bool `type:"boolean"` + + // Specifies the list type of the parameter in the config file of the dynamic + // transform. + ListType *string `type:"string" enum:"ParamType"` + + // Specifies the name of the parameter in the config file of the dynamic transform. + // + // Name is a required field + Name *string `type:"string" required:"true"` + + // Specifies the parameter type in the config file of the dynamic transform. + // + // Type is a required field + Type *string `type:"string" required:"true" enum:"ParamType"` + + // Specifies the validation message in the config file of the dynamic transform. + ValidationMessage *string `type:"string"` + + // Specifies the validation rule in the config file of the dynamic transform. + ValidationRule *string `type:"string"` + + // Specifies the value of the parameter in the config file of the dynamic transform. + Value []*string `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 TransformConfigParameter) 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 TransformConfigParameter) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TransformConfigParameter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TransformConfigParameter"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetIsOptional sets the IsOptional field's value. +func (s *TransformConfigParameter) SetIsOptional(v bool) *TransformConfigParameter { + s.IsOptional = &v + return s +} + +// SetListType sets the ListType field's value. +func (s *TransformConfigParameter) SetListType(v string) *TransformConfigParameter { + s.ListType = &v + return s +} + +// SetName sets the Name field's value. +func (s *TransformConfigParameter) SetName(v string) *TransformConfigParameter { + s.Name = &v + return s +} + +// SetType sets the Type field's value. +func (s *TransformConfigParameter) SetType(v string) *TransformConfigParameter { + s.Type = &v + return s +} + +// SetValidationMessage sets the ValidationMessage field's value. +func (s *TransformConfigParameter) SetValidationMessage(v string) *TransformConfigParameter { + s.ValidationMessage = &v + return s +} + +// SetValidationRule sets the ValidationRule field's value. +func (s *TransformConfigParameter) SetValidationRule(v string) *TransformConfigParameter { + s.ValidationRule = &v + return s +} + +// SetValue sets the Value field's value. +func (s *TransformConfigParameter) SetValue(v []*string) *TransformConfigParameter { + s.Value = v + return s +} + // The encryption-at-rest settings of the transform that apply to accessing // user data. Machine learning transforms can access user data encrypted in // Amazon S3 using KMS. @@ -65934,6 +66190,42 @@ func NodeType_Values() []string { } } +const ( + // ParamTypeStr is a ParamType enum value + ParamTypeStr = "str" + + // ParamTypeInt is a ParamType enum value + ParamTypeInt = "int" + + // ParamTypeFloat is a ParamType enum value + ParamTypeFloat = "float" + + // ParamTypeComplex is a ParamType enum value + ParamTypeComplex = "complex" + + // ParamTypeBool is a ParamType enum value + ParamTypeBool = "bool" + + // ParamTypeList is a ParamType enum value + ParamTypeList = "list" + + // ParamTypeNull is a ParamType enum value + ParamTypeNull = "null" +) + +// ParamType_Values returns all elements of the ParamType enum +func ParamType_Values() []string { + return []string{ + ParamTypeStr, + ParamTypeInt, + ParamTypeFloat, + ParamTypeComplex, + ParamTypeBool, + ParamTypeList, + ParamTypeNull, + } +} + const ( // ParquetCompressionTypeSnappy is a ParquetCompressionType enum value ParquetCompressionTypeSnappy = "snappy" diff --git a/service/inspector2/api.go b/service/inspector2/api.go index a96338469d8..71748d33ea2 100644 --- a/service/inspector2/api.go +++ b/service/inspector2/api.go @@ -713,7 +713,7 @@ func (c *Inspector2) DescribeOrganizationConfigurationRequest(input *DescribeOrg // DescribeOrganizationConfiguration API operation for Inspector2. // // Describe Amazon Inspector configuration settings for an Amazon Web Services -// organization +// organization. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3697,7 +3697,7 @@ func (s *AccountAggregationResponse) SetSeverityCounts(v *SeverityCounts) *Accou } // An object with details the status of an Amazon Web Services account within -// your Amazon Inspector environment +// your Amazon Inspector environment. type AccountState struct { _ struct{} `type:"structure"` @@ -3782,6 +3782,12 @@ type AggregationRequest struct { // image layers. ImageLayerAggregation *ImageLayerAggregation `locationName:"imageLayerAggregation" type:"structure"` + // Returns an object with findings aggregated by AWS Lambda function. + LambdaFunctionAggregation *LambdaFunctionAggregation `locationName:"lambdaFunctionAggregation" type:"structure"` + + // Returns an object with findings aggregated by AWS Lambda layer. + LambdaLayerAggregation *LambdaLayerAggregation `locationName:"lambdaLayerAggregation" type:"structure"` + // An object that contains details about an aggregation request based on operating // system package type. PackageAggregation *PackageAggregation `locationName:"packageAggregation" type:"structure"` @@ -3836,6 +3842,16 @@ func (s *AggregationRequest) Validate() error { invalidParams.AddNested("ImageLayerAggregation", err.(request.ErrInvalidParams)) } } + if s.LambdaFunctionAggregation != nil { + if err := s.LambdaFunctionAggregation.Validate(); err != nil { + invalidParams.AddNested("LambdaFunctionAggregation", err.(request.ErrInvalidParams)) + } + } + if s.LambdaLayerAggregation != nil { + if err := s.LambdaLayerAggregation.Validate(); err != nil { + invalidParams.AddNested("LambdaLayerAggregation", err.(request.ErrInvalidParams)) + } + } if s.PackageAggregation != nil { if err := s.PackageAggregation.Validate(); err != nil { invalidParams.AddNested("PackageAggregation", err.(request.ErrInvalidParams)) @@ -3894,6 +3910,18 @@ func (s *AggregationRequest) SetImageLayerAggregation(v *ImageLayerAggregation) return s } +// SetLambdaFunctionAggregation sets the LambdaFunctionAggregation field's value. +func (s *AggregationRequest) SetLambdaFunctionAggregation(v *LambdaFunctionAggregation) *AggregationRequest { + s.LambdaFunctionAggregation = v + return s +} + +// SetLambdaLayerAggregation sets the LambdaLayerAggregation field's value. +func (s *AggregationRequest) SetLambdaLayerAggregation(v *LambdaLayerAggregation) *AggregationRequest { + s.LambdaLayerAggregation = v + return s +} + // SetPackageAggregation sets the PackageAggregation field's value. func (s *AggregationRequest) SetPackageAggregation(v *PackageAggregation) *AggregationRequest { s.PackageAggregation = v @@ -3940,6 +3968,12 @@ type AggregationResponse struct { // image layers. ImageLayerAggregation *ImageLayerAggregationResponse `locationName:"imageLayerAggregation" type:"structure"` + // An aggregation of findings by AWS Lambda function. + LambdaFunctionAggregation *LambdaFunctionAggregationResponse `locationName:"lambdaFunctionAggregation" type:"structure"` + + // An aggregation of findings by AWS Lambda layer. + LambdaLayerAggregation *LambdaLayerAggregationResponse `locationName:"lambdaLayerAggregation" type:"structure"` + // An object that contains details about an aggregation response based on operating // system package type. PackageAggregation *PackageAggregationResponse `locationName:"packageAggregation" type:"structure"` @@ -4007,6 +4041,18 @@ func (s *AggregationResponse) SetImageLayerAggregation(v *ImageLayerAggregationR return s } +// SetLambdaFunctionAggregation sets the LambdaFunctionAggregation field's value. +func (s *AggregationResponse) SetLambdaFunctionAggregation(v *LambdaFunctionAggregationResponse) *AggregationResponse { + s.LambdaFunctionAggregation = v + return s +} + +// SetLambdaLayerAggregation sets the LambdaLayerAggregation field's value. +func (s *AggregationResponse) SetLambdaLayerAggregation(v *LambdaLayerAggregationResponse) *AggregationResponse { + s.LambdaLayerAggregation = v + return s +} + // SetPackageAggregation sets the PackageAggregation field's value. func (s *AggregationResponse) SetPackageAggregation(v *PackageAggregationResponse) *AggregationResponse { s.PackageAggregation = v @@ -4102,7 +4148,7 @@ func (s *AmiAggregation) SetSortOrder(v string) *AmiAggregation { type AmiAggregationResponse struct { _ struct{} `type:"structure"` - // The Amazon Web Services account ID that the AMI belongs. + // The Amazon Web Services account ID for the AMI. AccountId *string `locationName:"accountId" min:"12" type:"string"` // The IDs of Amazon EC2 instances using this AMI. @@ -4258,6 +4304,10 @@ type AutoEnable struct { // // Ecr is a required field Ecr *bool `locationName:"ecr" type:"boolean" required:"true"` + + // Represents whether AWS Lambda scans are automatically enabled for new members + // of your Amazon Inspector organization. + Lambda *bool `locationName:"lambda" type:"boolean"` } // String returns the string representation. @@ -4306,6 +4356,12 @@ func (s *AutoEnable) SetEcr(v bool) *AutoEnable { return s } +// SetLambda sets the Lambda field's value. +func (s *AutoEnable) SetLambda(v bool) *AutoEnable { + s.Lambda = &v + return s +} + // Details of the Amazon EC2 instance involved in a finding. type AwsEc2InstanceDetails struct { _ struct{} `type:"structure"` @@ -4692,7 +4748,7 @@ type AwsEcrContainerImageDetails struct { // The date and time the Amazon ECR container image was pushed. PushedAt *time.Time `locationName:"pushedAt" type:"timestamp"` - // The registry the Amazon ECR container image belongs to. + // The registry for the Amazon ECR container image. // // Registry is a required field Registry *string `locationName:"registry" min:"1" type:"string" required:"true"` @@ -4769,6 +4825,134 @@ func (s *AwsEcrContainerImageDetails) SetRepositoryName(v string) *AwsEcrContain return s } +// A summary of information about the AWS Lambda function. +type AwsLambdaFunctionDetails struct { + _ struct{} `type:"structure"` + + // The instruction set architecture that the AWS Lambda function supports. Architecture + // is a string array with one of the valid values. The default architecture + // value is x86_64. + Architectures []*string `locationName:"architectures" min:"1" type:"list" enum:"Architecture"` + + // The SHA256 hash of the AWS Lambda function's deployment package. + // + // CodeSha256 is a required field + CodeSha256 *string `locationName:"codeSha256" min:"1" type:"string" required:"true"` + + // The AWS Lambda function's execution role. + // + // ExecutionRoleArn is a required field + ExecutionRoleArn *string `locationName:"executionRoleArn" type:"string" required:"true"` + + // The name of the AWS Lambda function. + // + // FunctionName is a required field + FunctionName *string `locationName:"functionName" type:"string" required:"true"` + + // The date and time that a user last updated the configuration, in ISO 8601 + // format (https://www.iso.org/iso-8601-date-and-time-format.html) + LastModifiedAt *time.Time `locationName:"lastModifiedAt" type:"timestamp"` + + // The AWS Lambda function's layers (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). + // A Lambda function can have up to five layers. + Layers []*string `locationName:"layers" min:"1" type:"list"` + + // The type of deployment package. Set to Image for container image and set + // Zip for .zip file archive. + PackageType *string `locationName:"packageType" type:"string" enum:"PackageType"` + + // The runtime environment for the AWS Lambda function. + // + // Runtime is a required field + Runtime *string `locationName:"runtime" type:"string" required:"true" enum:"Runtime"` + + // The version of the AWS Lambda function. + // + // Version is a required field + Version *string `locationName:"version" type:"string" required:"true"` + + // The AWS Lambda function's networking configuration. + VpcConfig *LambdaVpcConfig `locationName:"vpcConfig" 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 AwsLambdaFunctionDetails) 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 AwsLambdaFunctionDetails) GoString() string { + return s.String() +} + +// SetArchitectures sets the Architectures field's value. +func (s *AwsLambdaFunctionDetails) SetArchitectures(v []*string) *AwsLambdaFunctionDetails { + s.Architectures = v + return s +} + +// SetCodeSha256 sets the CodeSha256 field's value. +func (s *AwsLambdaFunctionDetails) SetCodeSha256(v string) *AwsLambdaFunctionDetails { + s.CodeSha256 = &v + return s +} + +// SetExecutionRoleArn sets the ExecutionRoleArn field's value. +func (s *AwsLambdaFunctionDetails) SetExecutionRoleArn(v string) *AwsLambdaFunctionDetails { + s.ExecutionRoleArn = &v + return s +} + +// SetFunctionName sets the FunctionName field's value. +func (s *AwsLambdaFunctionDetails) SetFunctionName(v string) *AwsLambdaFunctionDetails { + s.FunctionName = &v + return s +} + +// SetLastModifiedAt sets the LastModifiedAt field's value. +func (s *AwsLambdaFunctionDetails) SetLastModifiedAt(v time.Time) *AwsLambdaFunctionDetails { + s.LastModifiedAt = &v + return s +} + +// SetLayers sets the Layers field's value. +func (s *AwsLambdaFunctionDetails) SetLayers(v []*string) *AwsLambdaFunctionDetails { + s.Layers = v + return s +} + +// SetPackageType sets the PackageType field's value. +func (s *AwsLambdaFunctionDetails) SetPackageType(v string) *AwsLambdaFunctionDetails { + s.PackageType = &v + return s +} + +// SetRuntime sets the Runtime field's value. +func (s *AwsLambdaFunctionDetails) SetRuntime(v string) *AwsLambdaFunctionDetails { + s.Runtime = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *AwsLambdaFunctionDetails) SetVersion(v string) *AwsLambdaFunctionDetails { + s.Version = &v + return s +} + +// SetVpcConfig sets the VpcConfig field's value. +func (s *AwsLambdaFunctionDetails) SetVpcConfig(v *LambdaVpcConfig) *AwsLambdaFunctionDetails { + s.VpcConfig = v + return s +} + // One or more tags submitted as part of the request is not valid. type BadRequestException struct { _ struct{} `type:"structure"` @@ -5216,6 +5400,16 @@ type CoverageFilterCriteria struct { // The Amazon ECR repository name to filter on. EcrRepositoryName []*CoverageStringFilter `locationName:"ecrRepositoryName" min:"1" type:"list"` + // Returns coverage statistics for AWS Lambda functions filtered by function + // names. + LambdaFunctionName []*CoverageStringFilter `locationName:"lambdaFunctionName" min:"1" type:"list"` + + // Returns coverage statistics for AWS Lambda functions filtered by runtime. + LambdaFunctionRuntime []*CoverageStringFilter `locationName:"lambdaFunctionRuntime" min:"1" type:"list"` + + // Returns coverage statistics for AWS Lambda functions filtered by tag. + LambdaFunctionTags []*CoverageMapFilter `locationName:"lambdaFunctionTags" min:"1" type:"list"` + // An array of Amazon Web Services resource IDs to return coverage statistics // for. ResourceId []*CoverageStringFilter `locationName:"resourceId" min:"1" type:"list"` @@ -5267,6 +5461,15 @@ func (s *CoverageFilterCriteria) Validate() error { if s.EcrRepositoryName != nil && len(s.EcrRepositoryName) < 1 { invalidParams.Add(request.NewErrParamMinLen("EcrRepositoryName", 1)) } + if s.LambdaFunctionName != nil && len(s.LambdaFunctionName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("LambdaFunctionName", 1)) + } + if s.LambdaFunctionRuntime != nil && len(s.LambdaFunctionRuntime) < 1 { + invalidParams.Add(request.NewErrParamMinLen("LambdaFunctionRuntime", 1)) + } + if s.LambdaFunctionTags != nil && len(s.LambdaFunctionTags) < 1 { + invalidParams.Add(request.NewErrParamMinLen("LambdaFunctionTags", 1)) + } if s.ResourceId != nil && len(s.ResourceId) < 1 { invalidParams.Add(request.NewErrParamMinLen("ResourceId", 1)) } @@ -5322,6 +5525,36 @@ func (s *CoverageFilterCriteria) Validate() error { } } } + if s.LambdaFunctionName != nil { + for i, v := range s.LambdaFunctionName { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "LambdaFunctionName", i), err.(request.ErrInvalidParams)) + } + } + } + if s.LambdaFunctionRuntime != nil { + for i, v := range s.LambdaFunctionRuntime { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "LambdaFunctionRuntime", i), err.(request.ErrInvalidParams)) + } + } + } + if s.LambdaFunctionTags != nil { + for i, v := range s.LambdaFunctionTags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "LambdaFunctionTags", i), err.(request.ErrInvalidParams)) + } + } + } if s.ResourceId != nil { for i, v := range s.ResourceId { if v == nil { @@ -5403,6 +5636,24 @@ func (s *CoverageFilterCriteria) SetEcrRepositoryName(v []*CoverageStringFilter) return s } +// SetLambdaFunctionName sets the LambdaFunctionName field's value. +func (s *CoverageFilterCriteria) SetLambdaFunctionName(v []*CoverageStringFilter) *CoverageFilterCriteria { + s.LambdaFunctionName = v + return s +} + +// SetLambdaFunctionRuntime sets the LambdaFunctionRuntime field's value. +func (s *CoverageFilterCriteria) SetLambdaFunctionRuntime(v []*CoverageStringFilter) *CoverageFilterCriteria { + s.LambdaFunctionRuntime = v + return s +} + +// SetLambdaFunctionTags sets the LambdaFunctionTags field's value. +func (s *CoverageFilterCriteria) SetLambdaFunctionTags(v []*CoverageMapFilter) *CoverageFilterCriteria { + s.LambdaFunctionTags = v + return s +} + // SetResourceId sets the ResourceId field's value. func (s *CoverageFilterCriteria) SetResourceId(v []*CoverageStringFilter) *CoverageFilterCriteria { s.ResourceId = v @@ -6852,7 +7103,7 @@ func (s *Ec2InstanceAggregation) SetSortOrder(v string) *Ec2InstanceAggregation type Ec2InstanceAggregationResponse struct { _ struct{} `type:"structure"` - // The Amazon Web Services account the Amazon EC2 instance belongs to. + // The Amazon Web Services account for the Amazon EC2 instance. AccountId *string `locationName:"accountId" type:"string"` // The Amazon Machine Image (AMI) of the Amazon EC2 instance. @@ -6986,7 +7237,7 @@ func (s *Ec2Metadata) SetTags(v map[string]*string) *Ec2Metadata { return s } -// Details about the ECR automated re-scan duration setting for your environment +// Details about the ECR automated re-scan duration setting for your environment. type EcrConfiguration struct { _ struct{} `type:"structure"` @@ -7408,6 +7659,39 @@ func (s *EnableOutput) SetFailedAccounts(v []*FailedAccount) *EnableOutput { return s } +// The details of an exploit available for a finding discovered in your environment. +type ExploitabilityDetails struct { + _ struct{} `type:"structure"` + + // The date and time of the last exploit associated with a finding discovered + // in your environment. + LastKnownExploitAt *time.Time `locationName:"lastKnownExploitAt" type:"timestamp"` +} + +// 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 ExploitabilityDetails) 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 ExploitabilityDetails) GoString() string { + return s.String() +} + +// SetLastKnownExploitAt sets the LastKnownExploitAt field's value. +func (s *ExploitabilityDetails) SetLastKnownExploitAt(v time.Time) *ExploitabilityDetails { + s.LastKnownExploitAt = &v + return s +} + // An object with details on why an account failed to enable Amazon Inspector. type FailedAccount struct { _ struct{} `type:"structure"` @@ -7650,6 +7934,9 @@ type FilterCriteria struct { // The tags attached to the Amazon ECR container image. EcrImageTags []*StringFilter `locationName:"ecrImageTags" min:"1" type:"list"` + // Filters the list of AWS Lambda findings by the availability of exploits. + ExploitAvailable []*StringFilter `locationName:"exploitAvailable" min:"1" type:"list"` + // Details on the finding ARNs used to filter findings. FindingArn []*StringFilter `locationName:"findingArn" min:"1" type:"list"` @@ -7671,6 +7958,24 @@ type FilterCriteria struct { // The Amazon Inspector score to filter on. InspectorScore []*NumberFilter `locationName:"inspectorScore" min:"1" type:"list"` + // Filters the list of AWS Lambda functions by execution role. + LambdaFunctionExecutionRoleArn []*StringFilter `locationName:"lambdaFunctionExecutionRoleArn" min:"1" type:"list"` + + // Filters the list of AWS Lambda functions by the date and time that a user + // last updated the configuration, in ISO 8601 format (https://www.iso.org/iso-8601-date-and-time-format.html) + LambdaFunctionLastModifiedAt []*DateFilter `locationName:"lambdaFunctionLastModifiedAt" min:"1" type:"list"` + + // Filters the list of AWS Lambda functions by the function's layers (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). + // A Lambda function can have up to five layers. + LambdaFunctionLayers []*StringFilter `locationName:"lambdaFunctionLayers" min:"1" type:"list"` + + // Filters the list of AWS Lambda functions by the name of the function. + LambdaFunctionName []*StringFilter `locationName:"lambdaFunctionName" min:"1" type:"list"` + + // Filters the list of AWS Lambda functions by the runtime environment for the + // Lambda function. + LambdaFunctionRuntime []*StringFilter `locationName:"lambdaFunctionRuntime" min:"1" type:"list"` + // Details on the date and time a finding was last seen used to filter findings. LastObservedAt []*DateFilter `locationName:"lastObservedAt" min:"1" type:"list"` @@ -7772,6 +8077,9 @@ func (s *FilterCriteria) Validate() error { if s.EcrImageTags != nil && len(s.EcrImageTags) < 1 { invalidParams.Add(request.NewErrParamMinLen("EcrImageTags", 1)) } + if s.ExploitAvailable != nil && len(s.ExploitAvailable) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ExploitAvailable", 1)) + } if s.FindingArn != nil && len(s.FindingArn) < 1 { invalidParams.Add(request.NewErrParamMinLen("FindingArn", 1)) } @@ -7790,6 +8098,21 @@ func (s *FilterCriteria) Validate() error { if s.InspectorScore != nil && len(s.InspectorScore) < 1 { invalidParams.Add(request.NewErrParamMinLen("InspectorScore", 1)) } + if s.LambdaFunctionExecutionRoleArn != nil && len(s.LambdaFunctionExecutionRoleArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("LambdaFunctionExecutionRoleArn", 1)) + } + if s.LambdaFunctionLastModifiedAt != nil && len(s.LambdaFunctionLastModifiedAt) < 1 { + invalidParams.Add(request.NewErrParamMinLen("LambdaFunctionLastModifiedAt", 1)) + } + if s.LambdaFunctionLayers != nil && len(s.LambdaFunctionLayers) < 1 { + invalidParams.Add(request.NewErrParamMinLen("LambdaFunctionLayers", 1)) + } + if s.LambdaFunctionName != nil && len(s.LambdaFunctionName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("LambdaFunctionName", 1)) + } + if s.LambdaFunctionRuntime != nil && len(s.LambdaFunctionRuntime) < 1 { + invalidParams.Add(request.NewErrParamMinLen("LambdaFunctionRuntime", 1)) + } if s.LastObservedAt != nil && len(s.LastObservedAt) < 1 { invalidParams.Add(request.NewErrParamMinLen("LastObservedAt", 1)) } @@ -7942,6 +8265,16 @@ func (s *FilterCriteria) Validate() error { } } } + if s.ExploitAvailable != nil { + for i, v := range s.ExploitAvailable { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ExploitAvailable", i), err.(request.ErrInvalidParams)) + } + } + } if s.FindingArn != nil { for i, v := range s.FindingArn { if v == nil { @@ -7982,6 +8315,46 @@ func (s *FilterCriteria) Validate() error { } } } + if s.LambdaFunctionExecutionRoleArn != nil { + for i, v := range s.LambdaFunctionExecutionRoleArn { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "LambdaFunctionExecutionRoleArn", i), err.(request.ErrInvalidParams)) + } + } + } + if s.LambdaFunctionLayers != nil { + for i, v := range s.LambdaFunctionLayers { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "LambdaFunctionLayers", i), err.(request.ErrInvalidParams)) + } + } + } + if s.LambdaFunctionName != nil { + for i, v := range s.LambdaFunctionName { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "LambdaFunctionName", i), err.(request.ErrInvalidParams)) + } + } + } + if s.LambdaFunctionRuntime != nil { + for i, v := range s.LambdaFunctionRuntime { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "LambdaFunctionRuntime", i), err.(request.ErrInvalidParams)) + } + } + } if s.NetworkProtocol != nil { for i, v := range s.NetworkProtocol { if v == nil { @@ -8171,6 +8544,12 @@ func (s *FilterCriteria) SetEcrImageTags(v []*StringFilter) *FilterCriteria { return s } +// SetExploitAvailable sets the ExploitAvailable field's value. +func (s *FilterCriteria) SetExploitAvailable(v []*StringFilter) *FilterCriteria { + s.ExploitAvailable = v + return s +} + // SetFindingArn sets the FindingArn field's value. func (s *FilterCriteria) SetFindingArn(v []*StringFilter) *FilterCriteria { s.FindingArn = v @@ -8207,6 +8586,36 @@ func (s *FilterCriteria) SetInspectorScore(v []*NumberFilter) *FilterCriteria { return s } +// SetLambdaFunctionExecutionRoleArn sets the LambdaFunctionExecutionRoleArn field's value. +func (s *FilterCriteria) SetLambdaFunctionExecutionRoleArn(v []*StringFilter) *FilterCriteria { + s.LambdaFunctionExecutionRoleArn = v + return s +} + +// SetLambdaFunctionLastModifiedAt sets the LambdaFunctionLastModifiedAt field's value. +func (s *FilterCriteria) SetLambdaFunctionLastModifiedAt(v []*DateFilter) *FilterCriteria { + s.LambdaFunctionLastModifiedAt = v + return s +} + +// SetLambdaFunctionLayers sets the LambdaFunctionLayers field's value. +func (s *FilterCriteria) SetLambdaFunctionLayers(v []*StringFilter) *FilterCriteria { + s.LambdaFunctionLayers = v + return s +} + +// SetLambdaFunctionName sets the LambdaFunctionName field's value. +func (s *FilterCriteria) SetLambdaFunctionName(v []*StringFilter) *FilterCriteria { + s.LambdaFunctionName = v + return s +} + +// SetLambdaFunctionRuntime sets the LambdaFunctionRuntime field's value. +func (s *FilterCriteria) SetLambdaFunctionRuntime(v []*StringFilter) *FilterCriteria { + s.LambdaFunctionRuntime = v + return s +} + // SetLastObservedAt sets the LastObservedAt field's value. func (s *FilterCriteria) SetLastObservedAt(v []*DateFilter) *FilterCriteria { s.LastObservedAt = v @@ -8305,6 +8714,12 @@ type Finding struct { // Description is a required field Description *string `locationName:"description" min:"1" type:"string" required:"true"` + // If a finding discovered in your environment has an exploit available. + ExploitAvailable *string `locationName:"exploitAvailable" type:"string" enum:"ExploitAvailable"` + + // The details of an exploit available for a finding discovered in your environment. + ExploitabilityDetails *ExploitabilityDetails `locationName:"exploitabilityDetails" type:"structure"` + // The Amazon Resource Number (ARN) of the finding. // // FindingArn is a required field @@ -8400,6 +8815,18 @@ func (s *Finding) SetDescription(v string) *Finding { return s } +// SetExploitAvailable sets the ExploitAvailable field's value. +func (s *Finding) SetExploitAvailable(v string) *Finding { + s.ExploitAvailable = &v + return s +} + +// SetExploitabilityDetails sets the ExploitabilityDetails field's value. +func (s *Finding) SetExploitabilityDetails(v *ExploitabilityDetails) *Finding { + s.ExploitabilityDetails = v + return s +} + // SetFindingArn sets the FindingArn field's value. func (s *Finding) SetFindingArn(v string) *Finding { s.FindingArn = &v @@ -9350,20 +9777,27 @@ func (s *InternalServerException) RequestID() string { return s.RespMetadata.RequestID } -type ListAccountPermissionsInput struct { +// The details that define a findings aggregation based on AWS Lambda functions. +type LambdaFunctionAggregation struct { _ struct{} `type:"structure"` - // The maximum number of results to return in the response. - MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` + // The AWS Lambda function names to include in the aggregation results. + FunctionNames []*StringFilter `locationName:"functionNames" min:"1" type:"list"` - // A token to use for paginating results that are returned in the response. - // Set the value of this parameter to null for the first request to a list action. - // For subsequent calls, use the NextToken value returned from the previous - // request to continue listing results after the first page. - NextToken *string `locationName:"nextToken" type:"string"` + // The tags to include in the aggregation results. + FunctionTags []*MapFilter `locationName:"functionTags" min:"1" type:"list"` - // The service scan type to check permissions for. - Service *string `locationName:"service" type:"string" enum:"Service"` + // The resource IDs to include in the aggregation results. + ResourceIds []*StringFilter `locationName:"resourceIds" min:"1" type:"list"` + + // Returns findings aggregated by AWS Lambda function runtime environments. + Runtimes []*StringFilter `locationName:"runtimes" min:"1" type:"list"` + + // The finding severity to use for sorting the results. + SortBy *string `locationName:"sortBy" type:"string" enum:"LambdaFunctionSortBy"` + + // The order to use for sorting the results. + SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrder"` } // String returns the string representation. @@ -9371,7 +9805,7 @@ type ListAccountPermissionsInput struct { // 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 ListAccountPermissionsInput) String() string { +func (s LambdaFunctionAggregation) String() string { return awsutil.Prettify(s) } @@ -9380,25 +9814,553 @@ func (s ListAccountPermissionsInput) String() string { // 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 ListAccountPermissionsInput) GoString() string { +func (s LambdaFunctionAggregation) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListAccountPermissionsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListAccountPermissionsInput"} - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) +func (s *LambdaFunctionAggregation) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "LambdaFunctionAggregation"} + if s.FunctionNames != nil && len(s.FunctionNames) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FunctionNames", 1)) } - - if invalidParams.Len() > 0 { - return invalidParams + if s.FunctionTags != nil && len(s.FunctionTags) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FunctionTags", 1)) } - return nil -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListAccountPermissionsInput) SetMaxResults(v int64) *ListAccountPermissionsInput { + if s.ResourceIds != nil && len(s.ResourceIds) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceIds", 1)) + } + if s.Runtimes != nil && len(s.Runtimes) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Runtimes", 1)) + } + if s.FunctionNames != nil { + for i, v := range s.FunctionNames { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "FunctionNames", i), err.(request.ErrInvalidParams)) + } + } + } + if s.FunctionTags != nil { + for i, v := range s.FunctionTags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "FunctionTags", i), err.(request.ErrInvalidParams)) + } + } + } + if s.ResourceIds != nil { + for i, v := range s.ResourceIds { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ResourceIds", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Runtimes != nil { + for i, v := range s.Runtimes { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Runtimes", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFunctionNames sets the FunctionNames field's value. +func (s *LambdaFunctionAggregation) SetFunctionNames(v []*StringFilter) *LambdaFunctionAggregation { + s.FunctionNames = v + return s +} + +// SetFunctionTags sets the FunctionTags field's value. +func (s *LambdaFunctionAggregation) SetFunctionTags(v []*MapFilter) *LambdaFunctionAggregation { + s.FunctionTags = v + return s +} + +// SetResourceIds sets the ResourceIds field's value. +func (s *LambdaFunctionAggregation) SetResourceIds(v []*StringFilter) *LambdaFunctionAggregation { + s.ResourceIds = v + return s +} + +// SetRuntimes sets the Runtimes field's value. +func (s *LambdaFunctionAggregation) SetRuntimes(v []*StringFilter) *LambdaFunctionAggregation { + s.Runtimes = v + return s +} + +// SetSortBy sets the SortBy field's value. +func (s *LambdaFunctionAggregation) SetSortBy(v string) *LambdaFunctionAggregation { + s.SortBy = &v + return s +} + +// SetSortOrder sets the SortOrder field's value. +func (s *LambdaFunctionAggregation) SetSortOrder(v string) *LambdaFunctionAggregation { + s.SortOrder = &v + return s +} + +// A response that contains the results of an AWS Lambda function finding aggregation. +type LambdaFunctionAggregationResponse struct { + _ struct{} `type:"structure"` + + // The ID of the AWS account that owns the AWS Lambda function. + AccountId *string `locationName:"accountId" min:"12" type:"string"` + + // The AWS Lambda function names included in the aggregation results. + FunctionName *string `locationName:"functionName" type:"string"` + + // The tags included in the aggregation results. + LambdaTags map[string]*string `locationName:"lambdaTags" type:"map"` + + // The date that the AWS Lambda function included in the aggregation results + // was last changed. + LastModifiedAt *time.Time `locationName:"lastModifiedAt" type:"timestamp"` + + // The resource IDs included in the aggregation results. + // + // ResourceId is a required field + ResourceId *string `locationName:"resourceId" min:"1" type:"string" required:"true"` + + // The runtimes included in the aggregation results. + Runtime *string `locationName:"runtime" type:"string"` + + // An object that contains the counts of aggregated finding per severity. + SeverityCounts *SeverityCounts `locationName:"severityCounts" 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 LambdaFunctionAggregationResponse) 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 LambdaFunctionAggregationResponse) GoString() string { + return s.String() +} + +// SetAccountId sets the AccountId field's value. +func (s *LambdaFunctionAggregationResponse) SetAccountId(v string) *LambdaFunctionAggregationResponse { + s.AccountId = &v + return s +} + +// SetFunctionName sets the FunctionName field's value. +func (s *LambdaFunctionAggregationResponse) SetFunctionName(v string) *LambdaFunctionAggregationResponse { + s.FunctionName = &v + return s +} + +// SetLambdaTags sets the LambdaTags field's value. +func (s *LambdaFunctionAggregationResponse) SetLambdaTags(v map[string]*string) *LambdaFunctionAggregationResponse { + s.LambdaTags = v + return s +} + +// SetLastModifiedAt sets the LastModifiedAt field's value. +func (s *LambdaFunctionAggregationResponse) SetLastModifiedAt(v time.Time) *LambdaFunctionAggregationResponse { + s.LastModifiedAt = &v + return s +} + +// SetResourceId sets the ResourceId field's value. +func (s *LambdaFunctionAggregationResponse) SetResourceId(v string) *LambdaFunctionAggregationResponse { + s.ResourceId = &v + return s +} + +// SetRuntime sets the Runtime field's value. +func (s *LambdaFunctionAggregationResponse) SetRuntime(v string) *LambdaFunctionAggregationResponse { + s.Runtime = &v + return s +} + +// SetSeverityCounts sets the SeverityCounts field's value. +func (s *LambdaFunctionAggregationResponse) SetSeverityCounts(v *SeverityCounts) *LambdaFunctionAggregationResponse { + s.SeverityCounts = v + return s +} + +// The AWS Lambda function metadata. +type LambdaFunctionMetadata struct { + _ struct{} `type:"structure"` + + // The name of a function. + FunctionName *string `locationName:"functionName" type:"string"` + + // The resource tags on an AWS Lambda function. + FunctionTags map[string]*string `locationName:"functionTags" type:"map"` + + // The layers for an AWS Lambda function. A Lambda function can have up to five + // layers. + Layers []*string `locationName:"layers" type:"list"` + + // An AWS Lambda function's runtime. + Runtime *string `locationName:"runtime" type:"string" enum:"Runtime"` +} + +// 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 LambdaFunctionMetadata) 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 LambdaFunctionMetadata) GoString() string { + return s.String() +} + +// SetFunctionName sets the FunctionName field's value. +func (s *LambdaFunctionMetadata) SetFunctionName(v string) *LambdaFunctionMetadata { + s.FunctionName = &v + return s +} + +// SetFunctionTags sets the FunctionTags field's value. +func (s *LambdaFunctionMetadata) SetFunctionTags(v map[string]*string) *LambdaFunctionMetadata { + s.FunctionTags = v + return s +} + +// SetLayers sets the Layers field's value. +func (s *LambdaFunctionMetadata) SetLayers(v []*string) *LambdaFunctionMetadata { + s.Layers = v + return s +} + +// SetRuntime sets the Runtime field's value. +func (s *LambdaFunctionMetadata) SetRuntime(v string) *LambdaFunctionMetadata { + s.Runtime = &v + return s +} + +// The details that define a findings aggregation based on an AWS Lambda function's +// layers. +type LambdaLayerAggregation struct { + _ struct{} `type:"structure"` + + // The names of the AWS Lambda functions associated with the layers. + FunctionNames []*StringFilter `locationName:"functionNames" min:"1" type:"list"` + + // The Amazon Resource Name (ARN) of the AWS Lambda function layer. + LayerArns []*StringFilter `locationName:"layerArns" min:"1" type:"list"` + + // The resource IDs for the AWS Lambda function layers. + ResourceIds []*StringFilter `locationName:"resourceIds" min:"1" type:"list"` + + // The finding severity to use for sorting the results. + SortBy *string `locationName:"sortBy" type:"string" enum:"LambdaLayerSortBy"` + + // The order to use for sorting the results. + SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrder"` +} + +// 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 LambdaLayerAggregation) 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 LambdaLayerAggregation) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *LambdaLayerAggregation) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "LambdaLayerAggregation"} + if s.FunctionNames != nil && len(s.FunctionNames) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FunctionNames", 1)) + } + if s.LayerArns != nil && len(s.LayerArns) < 1 { + invalidParams.Add(request.NewErrParamMinLen("LayerArns", 1)) + } + if s.ResourceIds != nil && len(s.ResourceIds) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceIds", 1)) + } + if s.FunctionNames != nil { + for i, v := range s.FunctionNames { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "FunctionNames", i), err.(request.ErrInvalidParams)) + } + } + } + if s.LayerArns != nil { + for i, v := range s.LayerArns { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "LayerArns", i), err.(request.ErrInvalidParams)) + } + } + } + if s.ResourceIds != nil { + for i, v := range s.ResourceIds { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ResourceIds", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFunctionNames sets the FunctionNames field's value. +func (s *LambdaLayerAggregation) SetFunctionNames(v []*StringFilter) *LambdaLayerAggregation { + s.FunctionNames = v + return s +} + +// SetLayerArns sets the LayerArns field's value. +func (s *LambdaLayerAggregation) SetLayerArns(v []*StringFilter) *LambdaLayerAggregation { + s.LayerArns = v + return s +} + +// SetResourceIds sets the ResourceIds field's value. +func (s *LambdaLayerAggregation) SetResourceIds(v []*StringFilter) *LambdaLayerAggregation { + s.ResourceIds = v + return s +} + +// SetSortBy sets the SortBy field's value. +func (s *LambdaLayerAggregation) SetSortBy(v string) *LambdaLayerAggregation { + s.SortBy = &v + return s +} + +// SetSortOrder sets the SortOrder field's value. +func (s *LambdaLayerAggregation) SetSortOrder(v string) *LambdaLayerAggregation { + s.SortOrder = &v + return s +} + +// A response that contains the results of an AWS Lambda function layer finding +// aggregation. +type LambdaLayerAggregationResponse struct { + _ struct{} `type:"structure"` + + // The account ID of the AWS Lambda function layer. + // + // AccountId is a required field + AccountId *string `locationName:"accountId" min:"12" type:"string" required:"true"` + + // The names of the AWS Lambda functions associated with the layers. + // + // FunctionName is a required field + FunctionName *string `locationName:"functionName" min:"1" type:"string" required:"true"` + + // The Amazon Resource Name (ARN) of the AWS Lambda function layer. + // + // LayerArn is a required field + LayerArn *string `locationName:"layerArn" min:"1" type:"string" required:"true"` + + // The Resource ID of the AWS Lambda function layer. + // + // ResourceId is a required field + ResourceId *string `locationName:"resourceId" min:"1" type:"string" required:"true"` + + // An object that contains the counts of aggregated finding per severity. + SeverityCounts *SeverityCounts `locationName:"severityCounts" 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 LambdaLayerAggregationResponse) 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 LambdaLayerAggregationResponse) GoString() string { + return s.String() +} + +// SetAccountId sets the AccountId field's value. +func (s *LambdaLayerAggregationResponse) SetAccountId(v string) *LambdaLayerAggregationResponse { + s.AccountId = &v + return s +} + +// SetFunctionName sets the FunctionName field's value. +func (s *LambdaLayerAggregationResponse) SetFunctionName(v string) *LambdaLayerAggregationResponse { + s.FunctionName = &v + return s +} + +// SetLayerArn sets the LayerArn field's value. +func (s *LambdaLayerAggregationResponse) SetLayerArn(v string) *LambdaLayerAggregationResponse { + s.LayerArn = &v + return s +} + +// SetResourceId sets the ResourceId field's value. +func (s *LambdaLayerAggregationResponse) SetResourceId(v string) *LambdaLayerAggregationResponse { + s.ResourceId = &v + return s +} + +// SetSeverityCounts sets the SeverityCounts field's value. +func (s *LambdaLayerAggregationResponse) SetSeverityCounts(v *SeverityCounts) *LambdaLayerAggregationResponse { + s.SeverityCounts = v + return s +} + +// The VPC security groups and subnets that are attached to an AWS Lambda function. +// For more information, see VPC Settings (https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html). +type LambdaVpcConfig struct { + _ struct{} `type:"structure"` + + // The VPC security groups and subnets that are attached to an AWS Lambda function. + // For more information, see VPC Settings (https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html). + SecurityGroupIds []*string `locationName:"securityGroupIds" type:"list"` + + // A list of VPC subnet IDs. + SubnetIds []*string `locationName:"subnetIds" type:"list"` + + // The ID of the VPC. + VpcId *string `locationName:"vpcId" 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 LambdaVpcConfig) 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 LambdaVpcConfig) GoString() string { + return s.String() +} + +// SetSecurityGroupIds sets the SecurityGroupIds field's value. +func (s *LambdaVpcConfig) SetSecurityGroupIds(v []*string) *LambdaVpcConfig { + s.SecurityGroupIds = v + return s +} + +// SetSubnetIds sets the SubnetIds field's value. +func (s *LambdaVpcConfig) SetSubnetIds(v []*string) *LambdaVpcConfig { + s.SubnetIds = v + return s +} + +// SetVpcId sets the VpcId field's value. +func (s *LambdaVpcConfig) SetVpcId(v string) *LambdaVpcConfig { + s.VpcId = &v + return s +} + +type ListAccountPermissionsInput struct { + _ struct{} `type:"structure"` + + // The maximum number of results to return in the response. + MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` + + // A token to use for paginating results that are returned in the response. + // Set the value of this parameter to null for the first request to a list action. + // For subsequent calls, use the NextToken value returned from the previous + // request to continue listing results after the first page. + NextToken *string `locationName:"nextToken" type:"string"` + + // The service scan type to check permissions for. + Service *string `locationName:"service" type:"string" enum:"Service"` +} + +// 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 ListAccountPermissionsInput) 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 ListAccountPermissionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListAccountPermissionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListAccountPermissionsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListAccountPermissionsInput) SetMaxResults(v int64) *ListAccountPermissionsInput { s.MaxResults = &v return s } @@ -10908,6 +11870,9 @@ type PackageFilter struct { // An object that contains details on the package release to filter on. Release *StringFilter `locationName:"release" type:"structure"` + // An object that describes the details of a string filter. + SourceLambdaLayerArn *StringFilter `locationName:"sourceLambdaLayerArn" type:"structure"` + // An object that contains details on the source layer hash to filter on. SourceLayerHash *StringFilter `locationName:"sourceLayerHash" type:"structure"` @@ -10951,6 +11916,11 @@ func (s *PackageFilter) Validate() error { invalidParams.AddNested("Release", err.(request.ErrInvalidParams)) } } + if s.SourceLambdaLayerArn != nil { + if err := s.SourceLambdaLayerArn.Validate(); err != nil { + invalidParams.AddNested("SourceLambdaLayerArn", err.(request.ErrInvalidParams)) + } + } if s.SourceLayerHash != nil { if err := s.SourceLayerHash.Validate(); err != nil { invalidParams.AddNested("SourceLayerHash", err.(request.ErrInvalidParams)) @@ -10992,6 +11962,12 @@ func (s *PackageFilter) SetRelease(v *StringFilter) *PackageFilter { return s } +// SetSourceLambdaLayerArn sets the SourceLambdaLayerArn field's value. +func (s *PackageFilter) SetSourceLambdaLayerArn(v *StringFilter) *PackageFilter { + s.SourceLambdaLayerArn = v + return s +} + // SetSourceLayerHash sets the SourceLayerHash field's value. func (s *PackageFilter) SetSourceLayerHash(v *StringFilter) *PackageFilter { s.SourceLayerHash = v @@ -11555,6 +12531,9 @@ type ResourceDetails struct { // An object that contains details about the Amazon ECR container image involved // in the finding. AwsEcrContainerImage *AwsEcrContainerImageDetails `locationName:"awsEcrContainerImage" type:"structure"` + + // A summary of the information about an AWS Lambda function affected by a finding. + AwsLambdaFunction *AwsLambdaFunctionDetails `locationName:"awsLambdaFunction" type:"structure"` } // String returns the string representation. @@ -11587,6 +12566,12 @@ func (s *ResourceDetails) SetAwsEcrContainerImage(v *AwsEcrContainerImageDetails return s } +// SetAwsLambdaFunction sets the AwsLambdaFunction field's value. +func (s *ResourceDetails) SetAwsLambdaFunction(v *AwsLambdaFunctionDetails) *ResourceDetails { + s.AwsLambdaFunction = v + return s +} + // The operation tried to access an invalid resource. Make sure the resource // is specified correctly. type ResourceNotFoundException struct { @@ -11666,6 +12651,9 @@ type ResourceScanMetadata struct { // An object that contains details about the repository an Amazon ECR image // resides in. EcrRepository *EcrRepositoryMetadata `locationName:"ecrRepository" type:"structure"` + + // An object that contains metadata details for an AWS Lambda function. + LambdaFunction *LambdaFunctionMetadata `locationName:"lambdaFunction" type:"structure"` } // String returns the string representation. @@ -11704,6 +12692,12 @@ func (s *ResourceScanMetadata) SetEcrRepository(v *EcrRepositoryMetadata) *Resou return s } +// SetLambdaFunction sets the LambdaFunction field's value. +func (s *ResourceScanMetadata) SetLambdaFunction(v *LambdaFunctionMetadata) *ResourceScanMetadata { + s.LambdaFunction = v + return s +} + // Details the state of Amazon Inspector for each resource type Amazon Inspector // scans. type ResourceState struct { @@ -11720,6 +12714,9 @@ type ResourceState struct { // // Ecr is a required field Ecr *State `locationName:"ecr" type:"structure" required:"true"` + + // An object that described the state of Amazon Inspector scans for an account. + Lambda *State `locationName:"lambda" type:"structure"` } // String returns the string representation. @@ -11752,6 +12749,12 @@ func (s *ResourceState) SetEcr(v *State) *ResourceState { return s } +// SetLambda sets the Lambda field's value. +func (s *ResourceState) SetLambda(v *State) *ResourceState { + s.Lambda = v + return s +} + // Details the status of Amazon Inspector for each resource type Amazon Inspector // scans. type ResourceStatus struct { @@ -11766,6 +12769,9 @@ type ResourceStatus struct { // // Ecr is a required field Ecr *string `locationName:"ecr" type:"string" required:"true" enum:"Status"` + + // The status of Amazon Inspector scanning for AWS Lambda function resources. + Lambda *string `locationName:"lambda" type:"string" enum:"Status"` } // String returns the string representation. @@ -11798,6 +12804,12 @@ func (s *ResourceStatus) SetEcr(v string) *ResourceStatus { return s } +// SetLambda sets the Lambda field's value. +func (s *ResourceStatus) SetLambda(v string) *ResourceStatus { + s.Lambda = &v + return s +} + // The status of the scan. type ScanStatus struct { _ struct{} `type:"structure"` @@ -12139,7 +13151,7 @@ func (s *Step) SetComponentType(v string) *Step { type StringFilter struct { _ struct{} `type:"structure"` - // The operator to use when comparing values in the filter + // The operator to use when comparing values in the filter. // // Comparison is a required field Comparison *string `locationName:"comparison" type:"string" required:"true" enum:"StringComparison"` @@ -12290,6 +13302,9 @@ type ThrottlingException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` + + // The number of seconds to wait before retrying the request. + RetryAfterSeconds *int64 `location:"header" locationName:"Retry-After" type:"integer"` } // String returns the string representation. @@ -12335,7 +13350,7 @@ func (s *ThrottlingException) OrigErr() error { } func (s *ThrottlingException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) } // Status code returns the HTTP status code for the request's response error. @@ -13148,6 +14163,10 @@ type VulnerablePackage struct { // The code to run in your environment to update packages with a fix available. Remediation *string `locationName:"remediation" min:"1" type:"string"` + // The Amazon Resource Number (ARN) of the AWS Lambda function affected by a + // finding. + SourceLambdaLayerArn *string `locationName:"sourceLambdaLayerArn" type:"string"` + // The source layer hash of the vulnerable package. SourceLayerHash *string `locationName:"sourceLayerHash" min:"71" type:"string"` @@ -13223,6 +14242,12 @@ func (s *VulnerablePackage) SetRemediation(v string) *VulnerablePackage { return s } +// SetSourceLambdaLayerArn sets the SourceLambdaLayerArn field's value. +func (s *VulnerablePackage) SetSourceLambdaLayerArn(v string) *VulnerablePackage { + s.SourceLambdaLayerArn = &v + return s +} + // SetSourceLayerHash sets the SourceLayerHash field's value. func (s *VulnerablePackage) SetSourceLayerHash(v string) *VulnerablePackage { s.SourceLayerHash = &v @@ -13277,6 +14302,9 @@ const ( // AggregationResourceTypeAwsEcrContainerImage is a AggregationResourceType enum value AggregationResourceTypeAwsEcrContainerImage = "AWS_ECR_CONTAINER_IMAGE" + + // AggregationResourceTypeAwsLambdaFunction is a AggregationResourceType enum value + AggregationResourceTypeAwsLambdaFunction = "AWS_LAMBDA_FUNCTION" ) // AggregationResourceType_Values returns all elements of the AggregationResourceType enum @@ -13284,6 +14312,7 @@ func AggregationResourceType_Values() []string { return []string{ AggregationResourceTypeAwsEc2Instance, AggregationResourceTypeAwsEcrContainerImage, + AggregationResourceTypeAwsLambdaFunction, } } @@ -13314,6 +14343,12 @@ const ( // AggregationTypeAccount is a AggregationType enum value AggregationTypeAccount = "ACCOUNT" + + // AggregationTypeAwsLambdaFunction is a AggregationType enum value + AggregationTypeAwsLambdaFunction = "AWS_LAMBDA_FUNCTION" + + // AggregationTypeLambdaLayer is a AggregationType enum value + AggregationTypeLambdaLayer = "LAMBDA_LAYER" ) // AggregationType_Values returns all elements of the AggregationType enum @@ -13328,6 +14363,8 @@ func AggregationType_Values() []string { AggregationTypeAwsEcrContainer, AggregationTypeImageLayer, AggregationTypeAccount, + AggregationTypeAwsLambdaFunction, + AggregationTypeLambdaLayer, } } @@ -13355,6 +14392,22 @@ func AmiSortBy_Values() []string { } } +const ( + // ArchitectureX8664 is a Architecture enum value + ArchitectureX8664 = "X86_64" + + // ArchitectureArm64 is a Architecture enum value + ArchitectureArm64 = "ARM64" +) + +// Architecture_Values returns all elements of the Architecture enum +func Architecture_Values() []string { + return []string{ + ArchitectureX8664, + ArchitectureArm64, + } +} + const ( // AwsEcrContainerSortByCritical is a AwsEcrContainerSortBy enum value AwsEcrContainerSortByCritical = "CRITICAL" @@ -13396,6 +14449,9 @@ const ( // CoverageResourceTypeAwsEcrRepository is a CoverageResourceType enum value CoverageResourceTypeAwsEcrRepository = "AWS_ECR_REPOSITORY" + + // CoverageResourceTypeAwsLambdaFunction is a CoverageResourceType enum value + CoverageResourceTypeAwsLambdaFunction = "AWS_LAMBDA_FUNCTION" ) // CoverageResourceType_Values returns all elements of the CoverageResourceType enum @@ -13404,6 +14460,7 @@ func CoverageResourceType_Values() []string { CoverageResourceTypeAwsEc2Instance, CoverageResourceTypeAwsEcrContainerImage, CoverageResourceTypeAwsEcrRepository, + CoverageResourceTypeAwsLambdaFunction, } } @@ -13619,6 +14676,22 @@ func ErrorCode_Values() []string { } } +const ( + // ExploitAvailableYes is a ExploitAvailable enum value + ExploitAvailableYes = "YES" + + // ExploitAvailableNo is a ExploitAvailable enum value + ExploitAvailableNo = "NO" +) + +// ExploitAvailable_Values returns all elements of the ExploitAvailable enum +func ExploitAvailable_Values() []string { + return []string{ + ExploitAvailableYes, + ExploitAvailableNo, + } +} + const ( // ExternalReportStatusSucceeded is a ExternalReportStatus enum value ExternalReportStatusSucceeded = "SUCCEEDED" @@ -13773,6 +14846,9 @@ const ( // FreeTrialTypeEcr is a FreeTrialType enum value FreeTrialTypeEcr = "ECR" + + // FreeTrialTypeLambda is a FreeTrialType enum value + FreeTrialTypeLambda = "LAMBDA" ) // FreeTrialType_Values returns all elements of the FreeTrialType enum @@ -13780,6 +14856,7 @@ func FreeTrialType_Values() []string { return []string{ FreeTrialTypeEc2, FreeTrialTypeEcr, + FreeTrialTypeLambda, } } @@ -13831,6 +14908,46 @@ func ImageLayerSortBy_Values() []string { } } +const ( + // LambdaFunctionSortByCritical is a LambdaFunctionSortBy enum value + LambdaFunctionSortByCritical = "CRITICAL" + + // LambdaFunctionSortByHigh is a LambdaFunctionSortBy enum value + LambdaFunctionSortByHigh = "HIGH" + + // LambdaFunctionSortByAll is a LambdaFunctionSortBy enum value + LambdaFunctionSortByAll = "ALL" +) + +// LambdaFunctionSortBy_Values returns all elements of the LambdaFunctionSortBy enum +func LambdaFunctionSortBy_Values() []string { + return []string{ + LambdaFunctionSortByCritical, + LambdaFunctionSortByHigh, + LambdaFunctionSortByAll, + } +} + +const ( + // LambdaLayerSortByCritical is a LambdaLayerSortBy enum value + LambdaLayerSortByCritical = "CRITICAL" + + // LambdaLayerSortByHigh is a LambdaLayerSortBy enum value + LambdaLayerSortByHigh = "HIGH" + + // LambdaLayerSortByAll is a LambdaLayerSortBy enum value + LambdaLayerSortByAll = "ALL" +) + +// LambdaLayerSortBy_Values returns all elements of the LambdaLayerSortBy enum +func LambdaLayerSortBy_Values() []string { + return []string{ + LambdaLayerSortByCritical, + LambdaLayerSortByHigh, + LambdaLayerSortByAll, + } +} + const ( // MapComparisonEquals is a MapComparison enum value MapComparisonEquals = "EQUALS" @@ -13975,6 +15092,22 @@ func PackageSortBy_Values() []string { } } +const ( + // PackageTypeImage is a PackageType enum value + PackageTypeImage = "IMAGE" + + // PackageTypeZip is a PackageType enum value + PackageTypeZip = "ZIP" +) + +// PackageType_Values returns all elements of the PackageType enum +func PackageType_Values() []string { + return []string{ + PackageTypeImage, + PackageTypeZip, + } +} + const ( // RelationshipStatusCreated is a RelationshipStatus enum value RelationshipStatusCreated = "CREATED" @@ -14109,6 +15242,9 @@ const ( // ResourceScanTypeEcr is a ResourceScanType enum value ResourceScanTypeEcr = "ECR" + + // ResourceScanTypeLambda is a ResourceScanType enum value + ResourceScanTypeLambda = "LAMBDA" ) // ResourceScanType_Values returns all elements of the ResourceScanType enum @@ -14116,6 +15252,7 @@ func ResourceScanType_Values() []string { return []string{ ResourceScanTypeEc2, ResourceScanTypeEcr, + ResourceScanTypeLambda, } } @@ -14128,6 +15265,9 @@ const ( // ResourceTypeAwsEcrRepository is a ResourceType enum value ResourceTypeAwsEcrRepository = "AWS_ECR_REPOSITORY" + + // ResourceTypeAwsLambdaFunction is a ResourceType enum value + ResourceTypeAwsLambdaFunction = "AWS_LAMBDA_FUNCTION" ) // ResourceType_Values returns all elements of the ResourceType enum @@ -14136,6 +15276,59 @@ func ResourceType_Values() []string { ResourceTypeAwsEc2Instance, ResourceTypeAwsEcrContainerImage, ResourceTypeAwsEcrRepository, + ResourceTypeAwsLambdaFunction, + } +} + +const ( + // RuntimeNodejs is a Runtime enum value + RuntimeNodejs = "NODEJS" + + // RuntimeNodejs12X is a Runtime enum value + RuntimeNodejs12X = "NODEJS_12_X" + + // RuntimeNodejs14X is a Runtime enum value + RuntimeNodejs14X = "NODEJS_14_X" + + // RuntimeNodejs16X is a Runtime enum value + RuntimeNodejs16X = "NODEJS_16_X" + + // RuntimeJava8 is a Runtime enum value + RuntimeJava8 = "JAVA_8" + + // RuntimeJava8Al2 is a Runtime enum value + RuntimeJava8Al2 = "JAVA_8_AL2" + + // RuntimeJava11 is a Runtime enum value + RuntimeJava11 = "JAVA_11" + + // RuntimePython37 is a Runtime enum value + RuntimePython37 = "PYTHON_3_7" + + // RuntimePython38 is a Runtime enum value + RuntimePython38 = "PYTHON_3_8" + + // RuntimePython39 is a Runtime enum value + RuntimePython39 = "PYTHON_3_9" + + // RuntimeUnsupported is a Runtime enum value + RuntimeUnsupported = "UNSUPPORTED" +) + +// Runtime_Values returns all elements of the Runtime enum +func Runtime_Values() []string { + return []string{ + RuntimeNodejs, + RuntimeNodejs12X, + RuntimeNodejs14X, + RuntimeNodejs16X, + RuntimeJava8, + RuntimeJava8Al2, + RuntimeJava11, + RuntimePython37, + RuntimePython38, + RuntimePython39, + RuntimeUnsupported, } } @@ -14203,6 +15396,12 @@ const ( // ScanStatusReasonStaleInventory is a ScanStatusReason enum value ScanStatusReasonStaleInventory = "STALE_INVENTORY" + + // ScanStatusReasonExcludedByTag is a ScanStatusReason enum value + ScanStatusReasonExcludedByTag = "EXCLUDED_BY_TAG" + + // ScanStatusReasonUnsupportedRuntime is a ScanStatusReason enum value + ScanStatusReasonUnsupportedRuntime = "UNSUPPORTED_RUNTIME" ) // ScanStatusReason_Values returns all elements of the ScanStatusReason enum @@ -14224,6 +15423,8 @@ func ScanStatusReason_Values() []string { ScanStatusReasonPendingDisable, ScanStatusReasonNoInventory, ScanStatusReasonStaleInventory, + ScanStatusReasonExcludedByTag, + ScanStatusReasonUnsupportedRuntime, } } @@ -14249,6 +15450,9 @@ const ( // ServiceEcr is a Service enum value ServiceEcr = "ECR" + + // ServiceLambda is a Service enum value + ServiceLambda = "LAMBDA" ) // Service_Values returns all elements of the Service enum @@ -14256,6 +15460,7 @@ func Service_Values() []string { return []string{ ServiceEc2, ServiceEcr, + ServiceLambda, } } @@ -14460,6 +15665,9 @@ const ( // UsageTypeEcrRescan is a UsageType enum value UsageTypeEcrRescan = "ECR_RESCAN" + + // UsageTypeLambdaFunctionHours is a UsageType enum value + UsageTypeLambdaFunctionHours = "LAMBDA_FUNCTION_HOURS" ) // UsageType_Values returns all elements of the UsageType enum @@ -14468,6 +15676,7 @@ func UsageType_Values() []string { UsageTypeEc2InstanceHours, UsageTypeEcrInitialScan, UsageTypeEcrRescan, + UsageTypeLambdaFunctionHours, } } diff --git a/service/lambda/api.go b/service/lambda/api.go index 59458f703ae..a82b6fef685 100644 --- a/service/lambda/api.go +++ b/service/lambda/api.go @@ -85,18 +85,20 @@ func (c *Lambda) AddLayerVersionPermissionRequest(input *AddLayerVersionPermissi // The resource already exists, or another operation is in progress. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - PolicyLengthExceededException -// The permissions policy for the resource is too large. Learn more (https://docs.aws.amazon.com/lambda/latest/dg/limits.html) +// The permissions policy for the resource is too large. For more information, +// see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html). // // - PreconditionFailedException // The RevisionId provided does not match the latest RevisionId for the Lambda -// function or alias. Call the GetFunction or the GetAlias API to retrieve the -// latest RevisionId for your resource. +// function or alias. Call the GetFunction or the GetAlias API operation to +// retrieve the latest RevisionId for your resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AddLayerVersionPermission func (c *Lambda) AddLayerVersionPermission(input *AddLayerVersionPermissionInput) (*AddLayerVersionPermissionOutput, error) { @@ -163,25 +165,25 @@ func (c *Lambda) AddPermissionRequest(input *AddPermissionInput) (req *request.R // AddPermission API operation for AWS Lambda. // -// Grants an Amazon Web Services service, account, or organization permission -// to use a function. You can apply the policy at the function level, or specify -// a qualifier to restrict access to a single version or alias. If you use a -// qualifier, the invoker must use the full Amazon Resource Name (ARN) of that -// version or alias to invoke the function. Note: Lambda does not support adding -// policies to version $LATEST. +// Grants an Amazon Web Service, Amazon Web Services account, or Amazon Web +// Services organization permission to use a function. You can apply the policy +// at the function level, or specify a qualifier to restrict access to a single +// version or alias. If you use a qualifier, the invoker must use the full Amazon +// Resource Name (ARN) of that version or alias to invoke the function. Note: +// Lambda does not support adding policies to version $LATEST. // // To grant permission to another account, specify the account ID as the Principal. // To grant permission to an organization defined in Organizations, specify -// the organization ID as the PrincipalOrgID. For Amazon Web Services services, -// the principal is a domain-style identifier defined by the service, like s3.amazonaws.com -// or sns.amazonaws.com. For Amazon Web Services services, you can also specify -// the ARN of the associated resource as the SourceArn. If you grant permission -// to a service principal without specifying the source, other accounts could -// potentially configure resources in their account to invoke your Lambda function. +// the organization ID as the PrincipalOrgID. For Amazon Web Services, the principal +// is a domain-style identifier that the service defines, such as s3.amazonaws.com +// or sns.amazonaws.com. For Amazon Web Services, you can also specify the ARN +// of the associated resource as the SourceArn. If you grant permission to a +// service principal without specifying the source, other accounts could potentially +// configure resources in their account to invoke your Lambda function. // -// This action adds a statement to a resource-based permissions policy for the -// function. For more information about function policies, see Lambda Function -// Policies (https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html). +// This operation adds a statement to a resource-based permissions policy for +// the function. For more information about function policies, see Using resource-based +// policies for Lambda (https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -202,18 +204,20 @@ func (c *Lambda) AddPermissionRequest(input *AddPermissionInput) (req *request.R // The resource already exists, or another operation is in progress. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - PolicyLengthExceededException -// The permissions policy for the resource is too large. Learn more (https://docs.aws.amazon.com/lambda/latest/dg/limits.html) +// The permissions policy for the resource is too large. For more information, +// see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html). // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - PreconditionFailedException // The RevisionId provided does not match the latest RevisionId for the Lambda -// function or alias. Call the GetFunction or the GetAlias API to retrieve the -// latest RevisionId for your resource. +// function or alias. Call the GetFunction or the GetAlias API operation to +// retrieve the latest RevisionId for your resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AddPermission func (c *Lambda) AddPermission(input *AddPermissionInput) (*AddPermissionOutput, error) { @@ -307,10 +311,11 @@ func (c *Lambda) CreateAliasRequest(input *CreateAliasInput) (req *request.Reque // The resource already exists, or another operation is in progress. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateAlias func (c *Lambda) CreateAlias(input *CreateAliasInput) (*AliasConfiguration, error) { @@ -394,7 +399,7 @@ func (c *Lambda) CreateCodeSigningConfigRequest(input *CreateCodeSigningConfigIn // The Lambda service encountered an internal error. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateCodeSigningConfig func (c *Lambda) CreateCodeSigningConfig(input *CreateCodeSigningConfigInput) (*CreateCodeSigningConfigOutput, error) { @@ -526,13 +531,14 @@ func (c *Lambda) CreateEventSourceMappingRequest(input *CreateEventSourceMapping // The Lambda service encountered an internal error. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - ResourceConflictException // The resource already exists, or another operation is in progress. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - ResourceNotFoundException // The resource specified in the request does not exist. @@ -607,29 +613,27 @@ func (c *Lambda) CreateFunctionRequest(input *CreateFunctionInput) (req *request // and an execution role (https://docs.aws.amazon.com/lambda/latest/dg/intro-permission-model.html#lambda-intro-execution-role). // The deployment package is a .zip file archive or container image that contains // your function code. The execution role grants the function permission to -// use Amazon Web Services services, such as Amazon CloudWatch Logs for log -// streaming and X-Ray for request tracing. -// -// You set the package type to Image if the deployment package is a container -// image (https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html). -// For a container image, the code property must include the URI of a container -// image in the Amazon ECR registry. You do not need to specify the handler -// and runtime properties. -// -// You set the package type to Zip if the deployment package is a .zip file -// archive (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html#gettingstarted-package-zip). -// For a .zip file archive, the code property specifies the location of the -// .zip file. You must also specify the handler and runtime properties. The -// code in the deployment package must be compatible with the target instruction -// set architecture of the function (x86-64 or arm64). If you do not specify -// the architecture, the default value is x86-64. +// use Amazon Web Services, such as Amazon CloudWatch Logs for log streaming +// and X-Ray for request tracing. +// +// If the deployment package is a container image (https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html), +// then you set the package type to Image. For a container image, the code property +// must include the URI of a container image in the Amazon ECR registry. You +// do not need to specify the handler and runtime properties. +// +// If the deployment package is a .zip file archive (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html#gettingstarted-package-zip), +// then you set the package type to Zip. For a .zip file archive, the code property +// specifies the location of the .zip file. You must also specify the handler +// and runtime properties. The code in the deployment package must be compatible +// with the target instruction set architecture of the function (x86-64 or arm64). +// If you do not specify the architecture, then the default value is x86-64. // // When you create a function, Lambda provisions an instance of the function // and its supporting resources. If your function connects to a VPC, this process // can take a minute or so. During this time, you can't invoke or modify the // function. The State, StateReason, and StateReasonCode fields in the response // from GetFunctionConfiguration indicate when the function is ready to invoke. -// For more information, see Function States (https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html). +// For more information, see Lambda function states (https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html). // // A function has an unpublished version, and can have published versions and // aliases. The unpublished version changes when you update your function's @@ -649,17 +653,18 @@ func (c *Lambda) CreateFunctionRequest(input *CreateFunctionInput) (req *request // To enable code signing for this function, specify the ARN of a code-signing // configuration. When a user attempts to deploy a code package with UpdateFunctionCode, // Lambda checks that the code package has a valid signature from a trusted -// publisher. The code-signing configuration includes set set of signing profiles, +// publisher. The code-signing configuration includes set of signing profiles, // which define the trusted publishers for this function. // -// If another account or an Amazon Web Services service invokes your function, -// use AddPermission to grant permission by creating a resource-based IAM policy. -// You can grant permissions at the function level, on a version, or on an alias. +// If another Amazon Web Services account or an Amazon Web Service invokes your +// function, use AddPermission to grant permission by creating a resource-based +// Identity and Access Management (IAM) policy. You can grant permissions at +// the function level, on a version, or on an alias. // // To invoke your function directly, use Invoke. To invoke your function in -// response to events in other Amazon Web Services services, create an event -// source mapping (CreateEventSourceMapping), or configure a function trigger -// in the other service. For more information, see Invoking Functions (https://docs.aws.amazon.com/lambda/latest/dg/lambda-invocation.html). +// response to events in other Amazon Web Services, create an event source mapping +// (CreateEventSourceMapping), or configure a function trigger in the other +// service. For more information, see Invoking Lambda functions (https://docs.aws.amazon.com/lambda/latest/dg/lambda-invocation.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -674,7 +679,7 @@ func (c *Lambda) CreateFunctionRequest(input *CreateFunctionInput) (req *request // The Lambda service encountered an internal error. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - ResourceNotFoundException // The resource specified in the request does not exist. @@ -683,10 +688,12 @@ func (c *Lambda) CreateFunctionRequest(input *CreateFunctionInput) (req *request // The resource already exists, or another operation is in progress. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - CodeStorageExceededException -// You have exceeded your maximum total code size per account. Learn more (https://docs.aws.amazon.com/lambda/latest/dg/limits.html) +// Your Amazon Web Services account has exceeded its maximum total code size. +// For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html). // // - CodeVerificationFailedException // The code signature failed one or more of the validation checks for signature @@ -694,8 +701,9 @@ func (c *Lambda) CreateFunctionRequest(input *CreateFunctionInput) (req *request // blocks the deployment. // // - InvalidCodeSignatureException -// The code signature failed the integrity check. Lambda always blocks deployment -// if the integrity check fails, even if code signing policy is set to WARN. +// The code signature failed the integrity check. If the integrity check fails, +// then Lambda blocks deployment, even if the code signing policy is set to +// WARN. // // - CodeSigningConfigNotFoundException // The specified code signing configuration does not exist. @@ -785,13 +793,14 @@ func (c *Lambda) CreateFunctionUrlConfigRequest(input *CreateFunctionUrlConfigIn // The resource specified in the request does not exist. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - ServiceException // The Lambda service encountered an internal error. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionUrlConfig func (c *Lambda) CreateFunctionUrlConfig(input *CreateFunctionUrlConfigInput) (*CreateFunctionUrlConfigOutput, error) { @@ -874,13 +883,14 @@ func (c *Lambda) DeleteAliasRequest(input *DeleteAliasInput) (req *request.Reque // The Lambda service encountered an internal error. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - ResourceConflictException // The resource already exists, or another operation is in progress. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteAlias func (c *Lambda) DeleteAlias(input *DeleteAliasInput) (*DeleteAliasOutput, error) { @@ -964,7 +974,7 @@ func (c *Lambda) DeleteCodeSigningConfigRequest(input *DeleteCodeSigningConfigIn // The Lambda service encountered an internal error. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - ResourceNotFoundException // The resource specified in the request does not exist. @@ -1059,15 +1069,16 @@ func (c *Lambda) DeleteEventSourceMappingRequest(input *DeleteEventSourceMapping // The resource specified in the request does not exist. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - ResourceInUseException // The operation conflicts with the resource's availability. For example, you -// attempted to update an EventSource Mapping in CREATING, or tried to delete -// a EventSource mapping currently in the UPDATING state. +// tried to update an event source mapping in the CREATING state, or you tried +// to delete an event source mapping currently UPDATING. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteEventSourceMapping func (c *Lambda) DeleteEventSourceMapping(input *DeleteEventSourceMappingInput) (*EventSourceMappingConfiguration, error) { @@ -1139,9 +1150,8 @@ func (c *Lambda) DeleteFunctionRequest(input *DeleteFunctionInput) (req *request // Qualifier parameter. Otherwise, all versions and aliases are deleted. // // To delete Lambda event source mappings that invoke a function, use DeleteEventSourceMapping. -// For Amazon Web Services services and resources that invoke your function -// directly, delete the trigger in the service where you originally configured -// it. +// For Amazon Web Services and resources that invoke your function directly, +// delete the trigger in the service where you originally configured it. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1159,10 +1169,11 @@ func (c *Lambda) DeleteFunctionRequest(input *DeleteFunctionInput) (req *request // The resource specified in the request does not exist. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - ResourceConflictException // The resource already exists, or another operation is in progress. @@ -1245,7 +1256,7 @@ func (c *Lambda) DeleteFunctionCodeSigningConfigRequest(input *DeleteFunctionCod // Returned Error Types: // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - CodeSigningConfigNotFoundException // The specified code signing configuration does not exist. @@ -1257,7 +1268,8 @@ func (c *Lambda) DeleteFunctionCodeSigningConfigRequest(input *DeleteFunctionCod // The Lambda service encountered an internal error. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - ResourceConflictException // The resource already exists, or another operation is in progress. @@ -1346,10 +1358,11 @@ func (c *Lambda) DeleteFunctionConcurrencyRequest(input *DeleteFunctionConcurren // The resource specified in the request does not exist. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - ResourceConflictException // The resource already exists, or another operation is in progress. @@ -1441,10 +1454,11 @@ func (c *Lambda) DeleteFunctionEventInvokeConfigRequest(input *DeleteFunctionEve // The resource specified in the request does not exist. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - ResourceConflictException // The resource already exists, or another operation is in progress. @@ -1537,7 +1551,8 @@ func (c *Lambda) DeleteFunctionUrlConfigRequest(input *DeleteFunctionUrlConfigIn // The Lambda service encountered an internal error. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionUrlConfig func (c *Lambda) DeleteFunctionUrlConfig(input *DeleteFunctionUrlConfigInput) (*DeleteFunctionUrlConfigOutput, error) { @@ -1623,7 +1638,8 @@ func (c *Lambda) DeleteLayerVersionRequest(input *DeleteLayerVersionInput) (req // The Lambda service encountered an internal error. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteLayerVersion func (c *Lambda) DeleteLayerVersion(input *DeleteLayerVersionInput) (*DeleteLayerVersionOutput, error) { @@ -1703,7 +1719,7 @@ func (c *Lambda) DeleteProvisionedConcurrencyConfigRequest(input *DeleteProvisio // Returned Error Types: // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - ResourceConflictException // The resource already exists, or another operation is in progress. @@ -1712,7 +1728,8 @@ func (c *Lambda) DeleteProvisionedConcurrencyConfigRequest(input *DeleteProvisio // The resource specified in the request does not exist. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - ServiceException // The Lambda service encountered an internal error. @@ -1795,7 +1812,8 @@ func (c *Lambda) GetAccountSettingsRequest(input *GetAccountSettingsInput) (req // Returned Error Types: // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - ServiceException // The Lambda service encountered an internal error. @@ -1883,10 +1901,11 @@ func (c *Lambda) GetAliasRequest(input *GetAliasInput) (req *request.Request, ou // The resource specified in the request does not exist. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAlias func (c *Lambda) GetAlias(input *GetAliasInput) (*AliasConfiguration, error) { @@ -1968,7 +1987,7 @@ func (c *Lambda) GetCodeSigningConfigRequest(input *GetCodeSigningConfigInput) ( // The Lambda service encountered an internal error. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - ResourceNotFoundException // The resource specified in the request does not exist. @@ -2057,10 +2076,11 @@ func (c *Lambda) GetEventSourceMappingRequest(input *GetEventSourceMappingInput) // The resource specified in the request does not exist. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetEventSourceMapping func (c *Lambda) GetEventSourceMapping(input *GetEventSourceMappingInput) (*EventSourceMappingConfiguration, error) { @@ -2147,10 +2167,11 @@ func (c *Lambda) GetFunctionRequest(input *GetFunctionInput) (req *request.Reque // The resource specified in the request does not exist. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunction func (c *Lambda) GetFunction(input *GetFunctionInput) (*GetFunctionOutput, error) { @@ -2229,7 +2250,7 @@ func (c *Lambda) GetFunctionCodeSigningConfigRequest(input *GetFunctionCodeSigni // Returned Error Types: // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - ResourceNotFoundException // The resource specified in the request does not exist. @@ -2238,7 +2259,8 @@ func (c *Lambda) GetFunctionCodeSigningConfigRequest(input *GetFunctionCodeSigni // The Lambda service encountered an internal error. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionCodeSigningConfig func (c *Lambda) GetFunctionCodeSigningConfig(input *GetFunctionCodeSigningConfigInput) (*GetFunctionCodeSigningConfigOutput, error) { @@ -2318,13 +2340,14 @@ func (c *Lambda) GetFunctionConcurrencyRequest(input *GetFunctionConcurrencyInpu // Returned Error Types: // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - ResourceNotFoundException // The resource specified in the request does not exist. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - ServiceException // The Lambda service encountered an internal error. @@ -2417,10 +2440,11 @@ func (c *Lambda) GetFunctionConfigurationRequest(input *GetFunctionConfiguration // The resource specified in the request does not exist. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionConfiguration func (c *Lambda) GetFunctionConfiguration(input *GetFunctionConfigurationInput) (*FunctionConfiguration, error) { @@ -2508,10 +2532,11 @@ func (c *Lambda) GetFunctionEventInvokeConfigRequest(input *GetFunctionEventInvo // The resource specified in the request does not exist. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionEventInvokeConfig func (c *Lambda) GetFunctionEventInvokeConfig(input *GetFunctionEventInvokeConfigInput) (*GetFunctionEventInvokeConfigOutput, error) { @@ -2590,7 +2615,7 @@ func (c *Lambda) GetFunctionUrlConfigRequest(input *GetFunctionUrlConfigInput) ( // Returned Error Types: // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - ServiceException // The Lambda service encountered an internal error. @@ -2599,7 +2624,8 @@ func (c *Lambda) GetFunctionUrlConfigRequest(input *GetFunctionUrlConfigInput) ( // The resource specified in the request does not exist. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionUrlConfig func (c *Lambda) GetFunctionUrlConfig(input *GetFunctionUrlConfigInput) (*GetFunctionUrlConfigOutput, error) { @@ -2682,10 +2708,11 @@ func (c *Lambda) GetLayerVersionRequest(input *GetLayerVersionInput) (req *reque // The Lambda service encountered an internal error. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - ResourceNotFoundException // The resource specified in the request does not exist. @@ -2771,10 +2798,11 @@ func (c *Lambda) GetLayerVersionByArnRequest(input *GetLayerVersionByArnInput) ( // The Lambda service encountered an internal error. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - ResourceNotFoundException // The resource specified in the request does not exist. @@ -2863,10 +2891,11 @@ func (c *Lambda) GetLayerVersionPolicyRequest(input *GetLayerVersionPolicyInput) // The resource specified in the request does not exist. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetLayerVersionPolicy func (c *Lambda) GetLayerVersionPolicy(input *GetLayerVersionPolicyInput) (*GetLayerVersionPolicyOutput, error) { @@ -2952,10 +2981,11 @@ func (c *Lambda) GetPolicyRequest(input *GetPolicyInput) (req *request.Request, // The resource specified in the request does not exist. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetPolicy func (c *Lambda) GetPolicy(input *GetPolicyInput) (*GetPolicyOutput, error) { @@ -3035,13 +3065,14 @@ func (c *Lambda) GetProvisionedConcurrencyConfigRequest(input *GetProvisionedCon // Returned Error Types: // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - ResourceNotFoundException // The resource specified in the request does not exist. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - ServiceException // The Lambda service encountered an internal error. @@ -3128,27 +3159,27 @@ func (c *Lambda) InvokeRequest(input *InvokeInput) (req *request.Request, output // behavior varies by error type, client, event source, and invocation type. // For example, if you invoke a function asynchronously and it returns an error, // Lambda executes the function up to two more times. For more information, -// see Retry Behavior (https://docs.aws.amazon.com/lambda/latest/dg/retries-on-errors.html). +// see Error handling and automatic retries in Lambda (https://docs.aws.amazon.com/lambda/latest/dg/invocation-retries.html). // // For asynchronous invocation (https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html), // Lambda adds events to a queue before sending them to your function. If your // function does not have enough capacity to keep up with the queue, events // may be lost. Occasionally, your function may receive the same event multiple // times, even if no error occurs. To retain events that were not processed, -// configure your function with a dead-letter queue (https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq). +// configure your function with a dead-letter queue (https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq). // // The status code in the API response doesn't reflect function errors. Error // codes are reserved for errors that prevent your function from executing, -// such as permissions errors, limit errors (https://docs.aws.amazon.com/lambda/latest/dg/limits.html), -// or issues with your function's code and configuration. For example, Lambda -// returns TooManyRequestsException if executing the function would cause you -// to exceed a concurrency limit at either the account level (ConcurrentInvocationLimitExceeded) +// such as permissions errors, quota (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html) +// errors, or issues with your function's code and configuration. For example, +// Lambda returns TooManyRequestsException if running the function would cause +// you to exceed a concurrency limit at either the account level (ConcurrentInvocationLimitExceeded) // or function level (ReservedFunctionConcurrentInvocationLimitExceeded). // -// For functions with a long timeout, your client might be disconnected during -// synchronous invocation while it waits for a response. Configure your HTTP -// client, SDK, firewall, proxy, or operating system to allow for long connections -// with timeout or keep-alive settings. +// For functions with a long timeout, your client might disconnect during synchronous +// invocation while it waits for a response. Configure your HTTP client, SDK, +// firewall, proxy, or operating system to allow for long connections with timeout +// or keep-alive settings. // // This operation requires permission for the lambda:InvokeFunction (https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awslambda.html) // action. For details on how to set up permissions for cross-account invocations, @@ -3173,77 +3204,91 @@ func (c *Lambda) InvokeRequest(input *InvokeInput) (req *request.Request, output // The request body could not be parsed as JSON. // // - RequestTooLargeException -// The request payload exceeded the Invoke request body JSON input limit. For -// more information, see Limits (https://docs.aws.amazon.com/lambda/latest/dg/limits.html). +// The request payload exceeded the Invoke request body JSON input quota. For +// more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html). // // - UnsupportedMediaTypeException // The content type of the Invoke request body is not JSON. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - EC2UnexpectedException -// Lambda received an unexpected EC2 client exception while setting up for the -// Lambda function. +// Lambda received an unexpected Amazon EC2 client exception while setting up +// for the Lambda function. // // - SubnetIPAddressLimitReachedException -// Lambda was not able to set up VPC access for the Lambda function because -// one or more configured subnets has no available IP addresses. +// Lambda couldn't set up VPC access for the Lambda function because one or +// more configured subnets has no available IP addresses. // // - ENILimitReachedException -// Lambda was not able to create an elastic network interface in the VPC, specified +// Lambda couldn't create an elastic network interface in the VPC, specified // as part of Lambda function configuration, because the limit for network interfaces -// has been reached. +// has been reached. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html). // // - EFSMountConnectivityException -// The function couldn't make a network connection to the configured file system. +// The Lambda function couldn't make a network connection to the configured +// file system. // // - EFSMountFailureException -// The function couldn't mount the configured file system due to a permission +// The Lambda function couldn't mount the configured file system due to a permission // or configuration issue. // // - EFSMountTimeoutException -// The function was able to make a network connection to the configured file -// system, but the mount operation timed out. +// The Lambda function made a network connection to the configured file system, +// but the mount operation timed out. // // - EFSIOException // An error occurred when reading from or writing to a connected file system. // +// - SnapStartException +// The runtime restore hook encountered an error. For more information, check +// the Amazon CloudWatch logs. +// +// - SnapStartTimeoutException +// The runtime restore hook failed to complete within the timeout limit (2 seconds). +// +// - SnapStartNotReadyException +// Lambda is initializing your function. You can invoke the function when the +// function state (https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html) +// becomes Active. +// // - EC2ThrottledException -// Lambda was throttled by Amazon EC2 during Lambda function initialization -// using the execution role provided for the Lambda function. +// Amazon EC2 throttled Lambda during Lambda function initialization using the +// execution role provided for the function. // // - EC2AccessDeniedException // Need additional permissions to configure VPC settings. // // - InvalidSubnetIDException -// The Subnet ID provided in the Lambda function VPC configuration is invalid. +// The subnet ID provided in the Lambda function VPC configuration is not valid. // // - InvalidSecurityGroupIDException -// The Security Group ID provided in the Lambda function VPC configuration is -// invalid. +// The security group ID provided in the Lambda function VPC configuration is +// not valid. // // - InvalidZipFileException // Lambda could not unzip the deployment package. // // - KMSDisabledException -// Lambda was unable to decrypt the environment variables because the KMS key -// used is disabled. Check the Lambda function's KMS key settings. +// Lambda couldn't decrypt the environment variables because the KMS key used +// is disabled. Check the Lambda function's KMS key settings. // // - KMSInvalidStateException -// Lambda was unable to decrypt the environment variables because the KMS key -// used is in an invalid state for Decrypt. Check the function's KMS key settings. +// Lambda couldn't decrypt the environment variables because the state of the +// KMS key used is not valid for Decrypt. Check the function's KMS key settings. // // - KMSAccessDeniedException -// Lambda was unable to decrypt the environment variables because KMS access -// was denied. Check the Lambda function's KMS permissions. +// Lambda couldn't decrypt the environment variables because KMS access was +// denied. Check the Lambda function's KMS permissions. // // - KMSNotFoundException -// Lambda was unable to decrypt the environment variables because the KMS key -// was not found. Check the function's KMS key settings. +// Lambda couldn't decrypt the environment variables because the KMS key was +// not found. Check the function's KMS key settings. // // - InvalidRuntimeException // The runtime or runtime version specified is not supported. @@ -3447,10 +3492,11 @@ func (c *Lambda) ListAliasesRequest(input *ListAliasesInput) (req *request.Reque // The resource specified in the request does not exist. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListAliases func (c *Lambda) ListAliases(input *ListAliasesInput) (*ListAliasesOutput, error) { @@ -3591,7 +3637,7 @@ func (c *Lambda) ListCodeSigningConfigsRequest(input *ListCodeSigningConfigsInpu // The Lambda service encountered an internal error. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListCodeSigningConfigs func (c *Lambda) ListCodeSigningConfigs(input *ListCodeSigningConfigsInput) (*ListCodeSigningConfigsOutput, error) { @@ -3734,10 +3780,11 @@ func (c *Lambda) ListEventSourceMappingsRequest(input *ListEventSourceMappingsIn // The resource specified in the request does not exist. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListEventSourceMappings func (c *Lambda) ListEventSourceMappings(input *ListEventSourceMappingsInput) (*ListEventSourceMappingsOutput, error) { @@ -3875,13 +3922,14 @@ func (c *Lambda) ListFunctionEventInvokeConfigsRequest(input *ListFunctionEventI // Returned Error Types: // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - ResourceNotFoundException // The resource specified in the request does not exist. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - ServiceException // The Lambda service encountered an internal error. @@ -4020,7 +4068,7 @@ func (c *Lambda) ListFunctionUrlConfigsRequest(input *ListFunctionUrlConfigsInpu // Returned Error Types: // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - ServiceException // The Lambda service encountered an internal error. @@ -4029,7 +4077,8 @@ func (c *Lambda) ListFunctionUrlConfigsRequest(input *ListFunctionUrlConfigsInpu // The resource specified in the request does not exist. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionUrlConfigs func (c *Lambda) ListFunctionUrlConfigs(input *ListFunctionUrlConfigsInput) (*ListFunctionUrlConfigsOutput, error) { @@ -4159,10 +4208,10 @@ func (c *Lambda) ListFunctionsRequest(input *ListFunctionsInput) (req *request.R // Set FunctionVersion to ALL to include all published versions of each function // in addition to the unpublished version. // -// The ListFunctions action returns a subset of the FunctionConfiguration fields. -// To get the additional fields (State, StateReasonCode, StateReason, LastUpdateStatus, -// LastUpdateStatusReason, LastUpdateStatusReasonCode) for a function or version, -// use GetFunction. +// The ListFunctions operation returns a subset of the FunctionConfiguration +// fields. To get the additional fields (State, StateReasonCode, StateReason, +// LastUpdateStatus, LastUpdateStatusReason, LastUpdateStatusReasonCode) for +// a function or version, use GetFunction. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4177,10 +4226,11 @@ func (c *Lambda) ListFunctionsRequest(input *ListFunctionsInput) (req *request.R // The Lambda service encountered an internal error. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctions func (c *Lambda) ListFunctions(input *ListFunctionsInput) (*ListFunctionsOutput, error) { @@ -4321,7 +4371,7 @@ func (c *Lambda) ListFunctionsByCodeSigningConfigRequest(input *ListFunctionsByC // The Lambda service encountered an internal error. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - ResourceNotFoundException // The resource specified in the request does not exist. @@ -4468,13 +4518,14 @@ func (c *Lambda) ListLayerVersionsRequest(input *ListLayerVersionsInput) (req *r // The Lambda service encountered an internal error. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - ResourceNotFoundException // The resource specified in the request does not exist. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayerVersions func (c *Lambda) ListLayerVersions(input *ListLayerVersionsInput) (*ListLayerVersionsOutput, error) { @@ -4618,10 +4669,11 @@ func (c *Lambda) ListLayersRequest(input *ListLayersInput) (req *request.Request // The Lambda service encountered an internal error. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayers func (c *Lambda) ListLayers(input *ListLayersInput) (*ListLayersOutput, error) { @@ -4757,13 +4809,14 @@ func (c *Lambda) ListProvisionedConcurrencyConfigsRequest(input *ListProvisioned // Returned Error Types: // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - ResourceNotFoundException // The resource specified in the request does not exist. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - ServiceException // The Lambda service encountered an internal error. @@ -4903,10 +4956,11 @@ func (c *Lambda) ListTagsRequest(input *ListTagsInput) (req *request.Request, ou // The resource specified in the request does not exist. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListTags func (c *Lambda) ListTags(input *ListTagsInput) (*ListTagsOutput, error) { @@ -4999,10 +5053,11 @@ func (c *Lambda) ListVersionsByFunctionRequest(input *ListVersionsByFunctionInpu // The resource specified in the request does not exist. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunction func (c *Lambda) ListVersionsByFunction(input *ListVersionsByFunctionInput) (*ListVersionsByFunctionOutput, error) { @@ -5142,13 +5197,15 @@ func (c *Lambda) PublishLayerVersionRequest(input *PublishLayerVersionInput) (re // The resource specified in the request does not exist. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - CodeStorageExceededException -// You have exceeded your maximum total code size per account. Learn more (https://docs.aws.amazon.com/lambda/latest/dg/limits.html) +// Your Amazon Web Services account has exceeded its maximum total code size. +// For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html). // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishLayerVersion func (c *Lambda) PublishLayerVersion(input *PublishLayerVersionInput) (*PublishLayerVersionOutput, error) { @@ -5242,18 +5299,20 @@ func (c *Lambda) PublishVersionRequest(input *PublishVersionInput) (req *request // The resource specified in the request does not exist. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - CodeStorageExceededException -// You have exceeded your maximum total code size per account. Learn more (https://docs.aws.amazon.com/lambda/latest/dg/limits.html) +// Your Amazon Web Services account has exceeded its maximum total code size. +// For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html). // // - PreconditionFailedException // The RevisionId provided does not match the latest RevisionId for the Lambda -// function or alias. Call the GetFunction or the GetAlias API to retrieve the -// latest RevisionId for your resource. +// function or alias. Call the GetFunction or the GetAlias API operation to +// retrieve the latest RevisionId for your resource. // // - ResourceConflictException // The resource already exists, or another operation is in progress. @@ -5340,13 +5399,14 @@ func (c *Lambda) PutFunctionCodeSigningConfigRequest(input *PutFunctionCodeSigni // The Lambda service encountered an internal error. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - ResourceNotFoundException // The resource specified in the request does not exist. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - ResourceConflictException // The resource already exists, or another operation is in progress. @@ -5431,8 +5491,8 @@ func (c *Lambda) PutFunctionConcurrencyRequest(input *PutFunctionConcurrencyInpu // Use GetAccountSettings to see your Regional concurrency limit. You can reserve // concurrency for as many functions as you like, as long as you leave at least // 100 simultaneous executions unreserved for functions that aren't configured -// with a per-function limit. For more information, see Managing Concurrency -// (https://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html). +// with a per-function limit. For more information, see Lambda function scaling +// (https://docs.aws.amazon.com/lambda/latest/dg/invocation-scaling.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5447,13 +5507,14 @@ func (c *Lambda) PutFunctionConcurrencyRequest(input *PutFunctionConcurrencyInpu // The Lambda service encountered an internal error. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - ResourceNotFoundException // The resource specified in the request does not exist. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - ResourceConflictException // The resource already exists, or another operation is in progress. @@ -5557,10 +5618,11 @@ func (c *Lambda) PutFunctionEventInvokeConfigRequest(input *PutFunctionEventInvo // The resource specified in the request does not exist. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - ResourceConflictException // The resource already exists, or another operation is in progress. @@ -5642,7 +5704,7 @@ func (c *Lambda) PutProvisionedConcurrencyConfigRequest(input *PutProvisionedCon // Returned Error Types: // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - ResourceNotFoundException // The resource specified in the request does not exist. @@ -5651,7 +5713,8 @@ func (c *Lambda) PutProvisionedConcurrencyConfigRequest(input *PutProvisionedCon // The resource already exists, or another operation is in progress. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - ServiceException // The Lambda service encountered an internal error. @@ -5742,15 +5805,16 @@ func (c *Lambda) RemoveLayerVersionPermissionRequest(input *RemoveLayerVersionPe // The resource specified in the request does not exist. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - PreconditionFailedException // The RevisionId provided does not match the latest RevisionId for the Lambda -// function or alias. Call the GetFunction or the GetAlias API to retrieve the -// latest RevisionId for your resource. +// function or alias. Call the GetFunction or the GetAlias API operation to +// retrieve the latest RevisionId for your resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/RemoveLayerVersionPermission func (c *Lambda) RemoveLayerVersionPermission(input *RemoveLayerVersionPermissionInput) (*RemoveLayerVersionPermissionOutput, error) { @@ -5818,8 +5882,9 @@ func (c *Lambda) RemovePermissionRequest(input *RemovePermissionInput) (req *req // RemovePermission API operation for AWS Lambda. // -// Revokes function-use permission from an Amazon Web Services service or another -// account. You can get the ID of the statement from the output of GetPolicy. +// Revokes function-use permission from an Amazon Web Service or another Amazon +// Web Services account. You can get the ID of the statement from the output +// of GetPolicy. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5837,15 +5902,16 @@ func (c *Lambda) RemovePermissionRequest(input *RemovePermissionInput) (req *req // The resource specified in the request does not exist. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - PreconditionFailedException // The RevisionId provided does not match the latest RevisionId for the Lambda -// function or alias. Call the GetFunction or the GetAlias API to retrieve the -// latest RevisionId for your resource. +// function or alias. Call the GetFunction or the GetAlias API operation to +// retrieve the latest RevisionId for your resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/RemovePermission func (c *Lambda) RemovePermission(input *RemovePermissionInput) (*RemovePermissionOutput, error) { @@ -5932,10 +5998,11 @@ func (c *Lambda) TagResourceRequest(input *TagResourceInput) (req *request.Reque // The resource specified in the request does not exist. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - ResourceConflictException // The resource already exists, or another operation is in progress. @@ -6025,10 +6092,11 @@ func (c *Lambda) UntagResourceRequest(input *UntagResourceInput) (req *request.R // The resource specified in the request does not exist. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - ResourceConflictException // The resource already exists, or another operation is in progress. @@ -6116,15 +6184,16 @@ func (c *Lambda) UpdateAliasRequest(input *UpdateAliasInput) (req *request.Reque // The resource specified in the request does not exist. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - PreconditionFailedException // The RevisionId provided does not match the latest RevisionId for the Lambda -// function or alias. Call the GetFunction or the GetAlias API to retrieve the -// latest RevisionId for your resource. +// function or alias. Call the GetFunction or the GetAlias API operation to +// retrieve the latest RevisionId for your resource. // // - ResourceConflictException // The resource already exists, or another operation is in progress. @@ -6210,7 +6279,7 @@ func (c *Lambda) UpdateCodeSigningConfigRequest(input *UpdateCodeSigningConfigIn // The Lambda service encountered an internal error. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - ResourceNotFoundException // The resource specified in the request does not exist. @@ -6348,18 +6417,19 @@ func (c *Lambda) UpdateEventSourceMappingRequest(input *UpdateEventSourceMapping // The resource specified in the request does not exist. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - ResourceConflictException // The resource already exists, or another operation is in progress. // // - ResourceInUseException // The operation conflicts with the resource's availability. For example, you -// attempted to update an EventSource Mapping in CREATING, or tried to delete -// a EventSource mapping currently in the UPDATING state. +// tried to update an event source mapping in the CREATING state, or you tried +// to delete an event source mapping currently UPDATING. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMapping func (c *Lambda) UpdateEventSourceMapping(input *UpdateEventSourceMappingInput) (*EventSourceMappingConfiguration, error) { @@ -6428,14 +6498,14 @@ func (c *Lambda) UpdateFunctionCodeRequest(input *UpdateFunctionCodeInput) (req // // Updates a Lambda function's code. If code signing is enabled for the function, // the code package must be signed by a trusted publisher. For more information, -// see Configuring code signing (https://docs.aws.amazon.com/lambda/latest/dg/configuration-trustedcode.html). +// see Configuring code signing for Lambda (https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html). // -// If the function's package type is Image, you must specify the code package +// If the function's package type is Image, then you must specify the code package // in ImageUri as the URI of a container image (https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html) // in the Amazon ECR registry. // -// If the function's package type is Zip, you must specify the deployment package -// as a .zip file archive (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html#gettingstarted-package-zip). +// If the function's package type is Zip, then you must specify the deployment +// package as a .zip file archive (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html#gettingstarted-package-zip). // Enter the Amazon S3 bucket and key of the code .zip file location. You can // also provide the function code inline using the ZipFile field. // @@ -6465,18 +6535,20 @@ func (c *Lambda) UpdateFunctionCodeRequest(input *UpdateFunctionCodeInput) (req // The resource specified in the request does not exist. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - CodeStorageExceededException -// You have exceeded your maximum total code size per account. Learn more (https://docs.aws.amazon.com/lambda/latest/dg/limits.html) +// Your Amazon Web Services account has exceeded its maximum total code size. +// For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html). // // - PreconditionFailedException // The RevisionId provided does not match the latest RevisionId for the Lambda -// function or alias. Call the GetFunction or the GetAlias API to retrieve the -// latest RevisionId for your resource. +// function or alias. Call the GetFunction or the GetAlias API operation to +// retrieve the latest RevisionId for your resource. // // - ResourceConflictException // The resource already exists, or another operation is in progress. @@ -6487,8 +6559,9 @@ func (c *Lambda) UpdateFunctionCodeRequest(input *UpdateFunctionCodeInput) (req // blocks the deployment. // // - InvalidCodeSignatureException -// The code signature failed the integrity check. Lambda always blocks deployment -// if the integrity check fails, even if code signing policy is set to WARN. +// The code signature failed the integrity check. If the integrity check fails, +// then Lambda blocks deployment, even if the code signing policy is set to +// WARN. // // - CodeSigningConfigNotFoundException // The specified code signing configuration does not exist. @@ -6566,14 +6639,15 @@ func (c *Lambda) UpdateFunctionConfigurationRequest(input *UpdateFunctionConfigu // can still invoke it. The LastUpdateStatus, LastUpdateStatusReason, and LastUpdateStatusReasonCode // fields in the response from GetFunctionConfiguration indicate when the update // is complete and the function is processing events with the new configuration. -// For more information, see Function States (https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html). +// For more information, see Lambda function states (https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html). // // These settings can vary between versions of a function and are locked when // you publish a version. You can't modify the configuration of a published // version, only the unpublished version. // // To configure function concurrency, use PutFunctionConcurrency. To grant invoke -// permissions to an account or Amazon Web Services service, use AddPermission. +// permissions to an Amazon Web Services account or Amazon Web Service, use +// AddPermission. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -6591,18 +6665,19 @@ func (c *Lambda) UpdateFunctionConfigurationRequest(input *UpdateFunctionConfigu // The resource specified in the request does not exist. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - ResourceConflictException // The resource already exists, or another operation is in progress. // // - PreconditionFailedException // The RevisionId provided does not match the latest RevisionId for the Lambda -// function or alias. Call the GetFunction or the GetAlias API to retrieve the -// latest RevisionId for your resource. +// function or alias. Call the GetFunction or the GetAlias API operation to +// retrieve the latest RevisionId for your resource. // // - CodeVerificationFailedException // The code signature failed one or more of the validation checks for signature @@ -6610,8 +6685,9 @@ func (c *Lambda) UpdateFunctionConfigurationRequest(input *UpdateFunctionConfigu // blocks the deployment. // // - InvalidCodeSignatureException -// The code signature failed the integrity check. Lambda always blocks deployment -// if the integrity check fails, even if code signing policy is set to WARN. +// The code signature failed the integrity check. If the integrity check fails, +// then Lambda blocks deployment, even if the code signing policy is set to +// WARN. // // - CodeSigningConfigNotFoundException // The specified code signing configuration does not exist. @@ -6702,10 +6778,11 @@ func (c *Lambda) UpdateFunctionEventInvokeConfigRequest(input *UpdateFunctionEve // The resource specified in the request does not exist. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // - ResourceConflictException // The resource already exists, or another operation is in progress. @@ -6793,13 +6870,14 @@ func (c *Lambda) UpdateFunctionUrlConfigRequest(input *UpdateFunctionUrlConfigIn // The resource specified in the request does not exist. // // - InvalidParameterValueException -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. // // - ServiceException // The Lambda service encountered an internal error. // // - TooManyRequestsException -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionUrlConfig func (c *Lambda) UpdateFunctionUrlConfig(input *UpdateFunctionUrlConfigInput) (*UpdateFunctionUrlConfigOutput, error) { @@ -7119,18 +7197,18 @@ type AddPermissionInput struct { // Action is a required field Action *string `type:"string" required:"true"` - // For Alexa Smart Home functions, a token that must be supplied by the invoker. + // For Alexa Smart Home functions, a token that the invoker must supply. EventSourceToken *string `type:"string"` // The name of the Lambda function, version, or alias. // // Name formats // - // * Function name - my-function (name-only), my-function:v1 (with alias). + // * Function name – my-function (name-only), my-function:v1 (with alias). // - // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. + // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // - // * Partial ARN - 123456789012:function:my-function. + // * Partial ARN – 123456789012:function:my-function. // // You can append a version number or alias to any of the formats. The length // constraint applies only to the full ARN. If you specify only the function @@ -7145,9 +7223,9 @@ type AddPermissionInput struct { // more information, see Security and auth model for Lambda function URLs (https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html). FunctionUrlAuthType *string `type:"string" enum:"FunctionUrlAuthType"` - // The Amazon Web Services service or account that invokes the function. If - // you specify a service, use SourceArn or SourceAccount to limit who can invoke - // the function through that service. + // The Amazon Web Service or Amazon Web Services account that invokes the function. + // If you specify a service, use SourceArn or SourceAccount to limit who can + // invoke the function through that service. // // Principal is a required field Principal *string `type:"string" required:"true"` @@ -7160,20 +7238,19 @@ type AddPermissionInput struct { // function. Qualifier *string `location:"querystring" locationName:"Qualifier" min:"1" type:"string"` - // Only update the policy if the revision ID matches the ID that's specified. + // Update the policy only if the revision ID matches the ID that's specified. // Use this option to avoid modifying a policy that has changed since you last // read it. RevisionId *string `type:"string"` - // For Amazon S3, the ID of the account that owns the resource. Use this together - // with SourceArn to ensure that the resource is owned by the specified account. - // It is possible for an Amazon S3 bucket to be deleted by its owner and recreated - // by another account. + // For Amazon Web Service, the ID of the Amazon Web Services account that owns + // the resource. Use this together with SourceArn to ensure that the specified + // account owns the resource. It is possible for an Amazon S3 bucket to be deleted + // by its owner and recreated by another account. SourceAccount *string `type:"string"` - // For Amazon Web Services services, the ARN of the Amazon Web Services resource - // that invokes the function. For example, an Amazon S3 bucket or Amazon SNS - // topic. + // For Amazon Web Services, the ARN of the Amazon Web Services resource that + // invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic. // // Note that Lambda configures the comparison using the StringLike operator. SourceArn *string `type:"string"` @@ -7738,7 +7815,8 @@ func (s *CodeSigningPolicies) SetUntrustedArtifactOnDeployment(v string) *CodeSi return s } -// You have exceeded your maximum total code size per account. Learn more (https://docs.aws.amazon.com/lambda/latest/dg/limits.html) +// Your Amazon Web Services account has exceeded its maximum total code size. +// For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html). type CodeStorageExceededException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -8229,11 +8307,13 @@ type CreateEventSourceMappingInput struct { // * Amazon Simple Queue Service - The ARN of the queue. // // * Amazon Managed Streaming for Apache Kafka - The ARN of the cluster. + // + // * Amazon MQ - The ARN of the broker. EventSourceArn *string `type:"string"` - // (Streams and Amazon SQS) An object that defines the filter criteria that - // determine whether Lambda should process an event. For more information, see - // Lambda event filtering (https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html). + // An object that defines the filter criteria that determine whether Lambda + // should process an event. For more information, see Lambda event filtering + // (https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html). FilterCriteria *FilterCriteria `type:"structure"` // The name of the Lambda function. @@ -8537,9 +8617,9 @@ type CreateFunctionInput struct { // which define the trusted publishers for this function. CodeSigningConfigArn *string `type:"string"` - // A dead letter queue configuration that specifies the queue or topic where + // A dead-letter queue configuration that specifies the queue or topic where // Lambda sends asynchronous events when they fail processing. For more information, - // see Dead Letter Queues (https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq). + // see Dead-letter queues (https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq). DeadLetterConfig *DeadLetterConfig `type:"structure"` // A description of the function. @@ -8548,8 +8628,8 @@ type CreateFunctionInput struct { // Environment variables that are accessible from function code during execution. Environment *Environment `type:"structure"` - // The size of the function’s /tmp directory in MB. The default value is 512, - // but can be any whole number between 512 and 10240 MB. + // The size of the function's /tmp directory in MB. The default value is 512, + // but can be any whole number between 512 and 10,240 MB. EphemeralStorage *EphemeralStorage `type:"structure"` // Connection settings for an Amazon EFS file system. @@ -8559,11 +8639,11 @@ type CreateFunctionInput struct { // // Name formats // - // * Function name - my-function. + // * Function name – my-function. // - // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. + // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // - // * Partial ARN - 123456789012:function:my-function. + // * Partial ARN – 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. @@ -8571,20 +8651,20 @@ type CreateFunctionInput struct { // FunctionName is a required field FunctionName *string `min:"1" type:"string" required:"true"` - // The name of the method within your code that Lambda calls to execute your - // function. Handler is required if the deployment package is a .zip file archive. - // The format includes the file name. It can also include namespaces and other - // qualifiers, depending on the runtime. For more information, see Programming - // Model (https://docs.aws.amazon.com/lambda/latest/dg/programming-model-v2.html). + // The name of the method within your code that Lambda calls to run your function. + // Handler is required if the deployment package is a .zip file archive. The + // format includes the file name. It can also include namespaces and other qualifiers, + // depending on the runtime. For more information, see Lambda programming model + // (https://docs.aws.amazon.com/lambda/latest/dg/foundation-progmodel.html). Handler *string `type:"string"` // Container image configuration values (https://docs.aws.amazon.com/lambda/latest/dg/configuration-images.html#configuration-images-settings) // that override the values in the container image Dockerfile. ImageConfig *ImageConfig `type:"structure"` - // The ARN of the Amazon Web Services Key Management Service (KMS) key that's - // used to encrypt your function's environment variables. If it's not provided, - // Lambda uses a default service key. + // The ARN of the Key Management Service (KMS) key that's used to encrypt your + // function's environment variables. If it's not provided, Lambda uses a default + // service key. KMSKeyArn *string `type:"string"` // A list of function layers (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html) @@ -8592,13 +8672,13 @@ type CreateFunctionInput struct { // ARN, including the version. Layers []*string `type:"list"` - // The amount of memory available to the function (https://docs.aws.amazon.com/lambda/latest/dg/configuration-memory.html) + // The amount of memory available to the function (https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-memory-console) // at runtime. Increasing the function memory also increases its CPU allocation. // The default value is 128 MB. The value can be any multiple of 1 MB. MemorySize *int64 `min:"128" type:"integer"` // The type of deployment package. Set to Image for container image and set - // Zip for ZIP archive. + // to Zip for .zip file archive. PackageType *string `type:"string" enum:"PackageType"` // Set to true to publish the first version of the function during creation. @@ -8613,13 +8693,17 @@ type CreateFunctionInput struct { // Runtime is required if the deployment package is a .zip file archive. Runtime *string `type:"string" enum:"Runtime"` + // The function's SnapStart (https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html) + // setting. + SnapStart *SnapStart `type:"structure"` + // A list of tags (https://docs.aws.amazon.com/lambda/latest/dg/tagging.html) // to apply to the function. Tags map[string]*string `type:"map"` // The amount of time (in seconds) that Lambda allows a function to run before // stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds. - // For additional information, see Lambda execution environment (https://docs.aws.amazon.com/lambda/latest/dg/runtimes-context.html). + // For more information, see Lambda execution environment (https://docs.aws.amazon.com/lambda/latest/dg/runtimes-context.html). Timeout *int64 `min:"1" type:"integer"` // Set Mode to Active to sample and trace a subset of incoming requests with @@ -8628,8 +8712,9 @@ type CreateFunctionInput struct { // For network connectivity to Amazon Web Services resources in a VPC, specify // a list of security groups and subnets in the VPC. When you connect a function - // to a VPC, it can only access resources and the internet through that VPC. - // For more information, see VPC Settings (https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html). + // to a VPC, it can access resources and the internet only through that VPC. + // For more information, see Configuring a Lambda function to access resources + // in a VPC (https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html). VpcConfig *VpcConfig `type:"structure"` } @@ -8810,6 +8895,12 @@ func (s *CreateFunctionInput) SetRuntime(v string) *CreateFunctionInput { return s } +// SetSnapStart sets the SnapStart field's value. +func (s *CreateFunctionInput) SetSnapStart(v *SnapStart) *CreateFunctionInput { + s.SnapStart = v + return s +} + // SetTags sets the Tags field's value. func (s *CreateFunctionInput) SetTags(v map[string]*string) *CreateFunctionInput { s.Tags = v @@ -8853,11 +8944,11 @@ type CreateFunctionUrlConfigInput struct { // // Name formats // - // * Function name - my-function. + // * Function name – my-function. // - // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. + // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // - // * Partial ARN - 123456789012:function:my-function. + // * Partial ARN – 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. @@ -9354,11 +9445,11 @@ type DeleteFunctionConcurrencyInput struct { // // Name formats // - // * Function name - my-function. + // * Function name – my-function. // - // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. + // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // - // * Partial ARN - 123456789012:function:my-function. + // * Partial ARN – 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. @@ -9531,11 +9622,11 @@ type DeleteFunctionInput struct { // // Name formats // - // * Function name - my-function (name-only), my-function:1 (with version). + // * Function name – my-function (name-only), my-function:1 (with version). // - // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. + // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // - // * Partial ARN - 123456789012:function:my-function. + // * Partial ARN – 123456789012:function:my-function. // // You can append a version number or alias to any of the formats. The length // constraint applies only to the full ARN. If you specify only the function @@ -9544,8 +9635,7 @@ type DeleteFunctionInput struct { // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` - // Specify a version to delete. You can't delete a version that's referenced - // by an alias. + // Specify a version to delete. You can't delete a version that an alias references. Qualifier *string `location:"querystring" locationName:"Qualifier" min:"1" type:"string"` } @@ -9627,11 +9717,11 @@ type DeleteFunctionUrlConfigInput struct { // // Name formats // - // * Function name - my-function. + // * Function name – my-function. // - // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. + // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // - // * Partial ARN - 123456789012:function:my-function. + // * Partial ARN – 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. @@ -9806,11 +9896,11 @@ type DeleteProvisionedConcurrencyConfigInput struct { // // Name formats // - // * Function name - my-function. + // * Function name – my-function. // - // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. + // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // - // * Partial ARN - 123456789012:function:my-function. + // * Partial ARN – 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. @@ -10006,8 +10096,8 @@ func (s *EC2AccessDeniedException) RequestID() string { return s.RespMetadata.RequestID } -// Lambda was throttled by Amazon EC2 during Lambda function initialization -// using the execution role provided for the Lambda function. +// Amazon EC2 throttled Lambda during Lambda function initialization using the +// execution role provided for the function. type EC2ThrottledException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -10073,8 +10163,8 @@ func (s *EC2ThrottledException) RequestID() string { return s.RespMetadata.RequestID } -// Lambda received an unexpected EC2 client exception while setting up for the -// Lambda function. +// Lambda received an unexpected Amazon EC2 client exception while setting up +// for the Lambda function. type EC2UnexpectedException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -10208,7 +10298,8 @@ func (s *EFSIOException) RequestID() string { return s.RespMetadata.RequestID } -// The function couldn't make a network connection to the configured file system. +// The Lambda function couldn't make a network connection to the configured +// file system. type EFSMountConnectivityException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -10274,7 +10365,7 @@ func (s *EFSMountConnectivityException) RequestID() string { return s.RespMetadata.RequestID } -// The function couldn't mount the configured file system due to a permission +// The Lambda function couldn't mount the configured file system due to a permission // or configuration issue. type EFSMountFailureException struct { _ struct{} `type:"structure"` @@ -10341,8 +10432,8 @@ func (s *EFSMountFailureException) RequestID() string { return s.RespMetadata.RequestID } -// The function was able to make a network connection to the configured file -// system, but the mount operation timed out. +// The Lambda function made a network connection to the configured file system, +// but the mount operation timed out. type EFSMountTimeoutException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -10408,9 +10499,9 @@ func (s *EFSMountTimeoutException) RequestID() string { return s.RespMetadata.RequestID } -// Lambda was not able to create an elastic network interface in the VPC, specified +// Lambda couldn't create an elastic network interface in the VPC, specified // as part of Lambda function configuration, because the limit for network interfaces -// has been reached. +// has been reached. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html). type ENILimitReachedException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -10562,8 +10653,8 @@ func (s *EnvironmentError) SetMessage(v string) *EnvironmentError { } // The results of an operation to update or read environment variables. If the -// operation is successful, the response contains the environment variables. -// If it failed, the response contains details about the error. +// operation succeeds, the response contains the environment variables. If it +// fails, the response contains details about the error. type EnvironmentResponse struct { _ struct{} `type:"structure"` @@ -10608,12 +10699,12 @@ func (s *EnvironmentResponse) SetVariables(v map[string]*string) *EnvironmentRes return s } -// The size of the function’s /tmp directory in MB. The default value is 512, -// but can be any whole number between 512 and 10240 MB. +// The size of the function's /tmp directory in MB. The default value is 512, +// but it can be any whole number between 512 and 10,240 MB. type EphemeralStorage struct { _ struct{} `type:"structure"` - // The size of the function’s /tmp directory. + // The size of the function's /tmp directory. // // Size is a required field Size *int64 `min:"512" type:"integer" required:"true"` @@ -10691,9 +10782,9 @@ type EventSourceMappingConfiguration struct { // The Amazon Resource Name (ARN) of the event source. EventSourceArn *string `type:"string"` - // (Streams and Amazon SQS) An object that defines the filter criteria that - // determine whether Lambda should process an event. For more information, see - // Lambda event filtering (https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html). + // An object that defines the filter criteria that determine whether Lambda + // should process an event. For more information, see Lambda event filtering + // (https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html). FilterCriteria *FilterCriteria `type:"structure"` // The ARN of the Lambda function. @@ -11079,7 +11170,7 @@ func (s *FilterCriteria) SetFilters(v []*Filter) *FilterCriteria { return s } -// The code for the Lambda function. You can specify either an object in Amazon +// The code for the Lambda function. You can either specify an object in Amazon // S3, upload a .zip file archive deployment package directly, or specify the // URI of a container image. type FunctionCode struct { @@ -11100,7 +11191,7 @@ type FunctionCode struct { S3ObjectVersion *string `min:"1" type:"string"` // The base64-encoded contents of the deployment package. Amazon Web Services - // SDK and Amazon Web Services CLI clients handle the encoding for you. + // SDK and CLI clients handle the encoding for you. // // ZipFile is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by FunctionCode's @@ -11262,7 +11353,7 @@ type FunctionConfiguration struct { Environment *EnvironmentResponse `type:"structure"` // The size of the function’s /tmp directory in MB. The default value is 512, - // but can be any whole number between 512 and 10240 MB. + // but it can be any whole number between 512 and 10,240 MB. EphemeralStorage *EphemeralStorage `type:"structure"` // Connection settings for an Amazon EFS file system (https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html). @@ -11274,14 +11365,14 @@ type FunctionConfiguration struct { // The name of the function. FunctionName *string `min:"1" type:"string"` - // The function that Lambda calls to begin executing your function. + // The function that Lambda calls to begin running your function. Handler *string `type:"string"` // The function's image configuration values. ImageConfigResponse *ImageConfigResponse `type:"structure"` // The KMS key that's used to encrypt the function's environment variables. - // This key is only returned if you've configured a customer managed key. + // This key is returned only if you've configured a customer managed key. KMSKeyArn *string `type:"string"` // The date and time that the function was last updated, in ISO-8601 format @@ -11326,6 +11417,11 @@ type FunctionConfiguration struct { // The ARN of the signing profile version. SigningProfileVersionArn *string `type:"string"` + // Set ApplyOn to PublishedVersions to create a snapshot of the initialized + // execution environment when you publish a function version. For more information, + // see Reducing startup time with Lambda SnapStart (https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html). + SnapStart *SnapStartResponse `type:"structure"` + // The current state of the function. When the state is Inactive, you can reactivate // the function by invoking it. State *string `type:"string" enum:"State"` @@ -11525,6 +11621,12 @@ func (s *FunctionConfiguration) SetSigningProfileVersionArn(v string) *FunctionC return s } +// SetSnapStart sets the SnapStart field's value. +func (s *FunctionConfiguration) SetSnapStart(v *SnapStartResponse) *FunctionConfiguration { + s.SnapStart = v + return s +} + // SetState sets the State field's value. func (s *FunctionConfiguration) SetState(v string) *FunctionConfiguration { s.State = &v @@ -12129,11 +12231,11 @@ type GetFunctionConcurrencyInput struct { // // Name formats // - // * Function name - my-function. + // * Function name – my-function. // - // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. + // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // - // * Partial ARN - 123456789012:function:my-function. + // * Partial ARN – 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. @@ -12220,11 +12322,11 @@ type GetFunctionConfigurationInput struct { // // Name formats // - // * Function name - my-function (name-only), my-function:v1 (with alias). + // * Function name – my-function (name-only), my-function:v1 (with alias). // - // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. + // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // - // * Partial ARN - 123456789012:function:my-function. + // * Partial ARN – 123456789012:function:my-function. // // You can append a version number or alias to any of the formats. The length // constraint applies only to the full ARN. If you specify only the function @@ -12444,11 +12546,11 @@ type GetFunctionInput struct { // // Name formats // - // * Function name - my-function (name-only), my-function:v1 (with alias). + // * Function name – my-function (name-only), my-function:v1 (with alias). // - // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. + // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // - // * Partial ARN - 123456789012:function:my-function. + // * Partial ARN – 123456789012:function:my-function. // // You can append a version number or alias to any of the formats. The length // constraint applies only to the full ARN. If you specify only the function @@ -12576,11 +12678,11 @@ type GetFunctionUrlConfigInput struct { // // Name formats // - // * Function name - my-function. + // * Function name – my-function. // - // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. + // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // - // * Partial ARN - 123456789012:function:my-function. + // * Partial ARN – 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. @@ -13163,11 +13265,11 @@ type GetPolicyInput struct { // // Name formats // - // * Function name - my-function (name-only), my-function:v1 (with alias). + // * Function name – my-function (name-only), my-function:v1 (with alias). // - // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. + // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // - // * Partial ARN - 123456789012:function:my-function. + // * Partial ARN – 123456789012:function:my-function. // // You can append a version number or alias to any of the formats. The length // constraint applies only to the full ARN. If you specify only the function @@ -13276,11 +13378,11 @@ type GetProvisionedConcurrencyConfigInput struct { // // Name formats // - // * Function name - my-function. + // * Function name – my-function. // - // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. + // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // - // * Partial ARN - 123456789012:function:my-function. + // * Partial ARN – 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. @@ -13427,7 +13529,7 @@ func (s *GetProvisionedConcurrencyConfigOutput) SetStatusReason(v string) *GetPr } // Configuration values that override the container image Dockerfile settings. -// See Container settings (https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms). +// For more information, see Container image settings (https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms). type ImageConfig struct { _ struct{} `type:"structure"` @@ -13523,7 +13625,7 @@ func (s *ImageConfigError) SetMessage(v string) *ImageConfigError { return s } -// Response to GetFunctionConfiguration request. +// Response to a GetFunctionConfiguration request. type ImageConfigResponse struct { _ struct{} `type:"structure"` @@ -13564,8 +13666,9 @@ func (s *ImageConfigResponse) SetImageConfig(v *ImageConfig) *ImageConfigRespons return s } -// The code signature failed the integrity check. Lambda always blocks deployment -// if the integrity check fails, even if code signing policy is set to WARN. +// The code signature failed the integrity check. If the integrity check fails, +// then Lambda blocks deployment, even if the code signing policy is set to +// WARN. type InvalidCodeSignatureException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -13631,7 +13734,7 @@ func (s *InvalidCodeSignatureException) RequestID() string { return s.RespMetadata.RequestID } -// One of the parameters in the request is invalid. +// One of the parameters in the request is not valid. type InvalidParameterValueException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -13833,8 +13936,8 @@ func (s *InvalidRuntimeException) RequestID() string { return s.RespMetadata.RequestID } -// The Security Group ID provided in the Lambda function VPC configuration is -// invalid. +// The security group ID provided in the Lambda function VPC configuration is +// not valid. type InvalidSecurityGroupIDException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -13900,7 +14003,7 @@ func (s *InvalidSecurityGroupIDException) RequestID() string { return s.RespMetadata.RequestID } -// The Subnet ID provided in the Lambda function VPC configuration is invalid. +// The subnet ID provided in the Lambda function VPC configuration is not valid. type InvalidSubnetIDException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -14040,11 +14143,11 @@ type InvokeAsyncInput struct { // // Name formats // - // * Function name - my-function. + // * Function name – my-function. // - // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. + // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // - // * Partial ARN - 123456789012:function:my-function. + // * Partial ARN – 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. @@ -14145,7 +14248,7 @@ func (s *InvokeAsyncOutput) SetStatus(v int64) *InvokeAsyncOutput { type InvokeInput struct { _ struct{} `type:"structure" payload:"Payload"` - // Up to 3583 bytes of base64-encoded data about the invoking client to pass + // Up to 3,583 bytes of base64-encoded data about the invoking client to pass // to the function in the context object. ClientContext *string `location:"header" locationName:"X-Amz-Client-Context" type:"string"` @@ -14153,11 +14256,11 @@ type InvokeInput struct { // // Name formats // - // * Function name - my-function (name-only), my-function:v1 (with alias). + // * Function name – my-function (name-only), my-function:v1 (with alias). // - // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. + // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // - // * Partial ARN - 123456789012:function:my-function. + // * Partial ARN – 123456789012:function:my-function. // // You can append a version number or alias to any of the formats. The length // constraint applies only to the full ARN. If you specify only the function @@ -14168,15 +14271,15 @@ type InvokeInput struct { // Choose from the following options. // - // * RequestResponse (default) - Invoke the function synchronously. Keep + // * RequestResponse (default) – Invoke the function synchronously. Keep // the connection open until the function returns a response or times out. // The API response includes the function response and additional data. // - // * Event - Invoke the function asynchronously. Send events that fail multiple - // times to the function's dead-letter queue (if it's configured). The API - // response only includes a status code. + // * Event – Invoke the function asynchronously. Send events that fail + // multiple times to the function's dead-letter queue (if one is configured). + // The API response only includes a status code. // - // * DryRun - Validate parameter values and verify that the user or role + // * DryRun – Validate parameter values and verify that the user or role // has permission to invoke the function. InvocationType *string `location:"header" locationName:"X-Amz-Invocation-Type" type:"string" enum:"InvocationType"` @@ -14282,7 +14385,7 @@ type InvokeOutput struct { // about the error are included in the response payload. FunctionError *string `location:"header" locationName:"X-Amz-Function-Error" type:"string"` - // The last 4 KB of the execution log, which is base64 encoded. + // The last 4 KB of the execution log, which is base64-encoded. LogResult *string `location:"header" locationName:"X-Amz-Log-Result" type:"string"` // The response from the function, or an error object. @@ -14347,8 +14450,8 @@ func (s *InvokeOutput) SetStatusCode(v int64) *InvokeOutput { return s } -// Lambda was unable to decrypt the environment variables because KMS access -// was denied. Check the Lambda function's KMS permissions. +// Lambda couldn't decrypt the environment variables because KMS access was +// denied. Check the Lambda function's KMS permissions. type KMSAccessDeniedException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -14414,8 +14517,8 @@ func (s *KMSAccessDeniedException) RequestID() string { return s.RespMetadata.RequestID } -// Lambda was unable to decrypt the environment variables because the KMS key -// used is disabled. Check the Lambda function's KMS key settings. +// Lambda couldn't decrypt the environment variables because the KMS key used +// is disabled. Check the Lambda function's KMS key settings. type KMSDisabledException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -14481,8 +14584,8 @@ func (s *KMSDisabledException) RequestID() string { return s.RespMetadata.RequestID } -// Lambda was unable to decrypt the environment variables because the KMS key -// used is in an invalid state for Decrypt. Check the function's KMS key settings. +// Lambda couldn't decrypt the environment variables because the state of the +// KMS key used is not valid for Decrypt. Check the function's KMS key settings. type KMSInvalidStateException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -14548,8 +14651,8 @@ func (s *KMSInvalidStateException) RequestID() string { return s.RespMetadata.RequestID } -// Lambda was unable to decrypt the environment variables because the KMS key -// was not found. Check the function's KMS key settings. +// Lambda couldn't decrypt the environment variables because the KMS key was +// not found. Check the function's KMS key settings. type KMSNotFoundException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -15204,6 +15307,8 @@ type ListEventSourceMappingsInput struct { // * Amazon Simple Queue Service - The ARN of the queue. // // * Amazon Managed Streaming for Apache Kafka - The ARN of the cluster. + // + // * Amazon MQ - The ARN of the broker. EventSourceArn *string `location:"querystring" locationName:"EventSourceArn" type:"string"` // The name of the Lambda function. @@ -15459,11 +15564,11 @@ type ListFunctionUrlConfigsInput struct { // // Name formats // - // * Function name - my-function. + // * Function name – my-function. // - // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. + // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // - // * Partial ARN - 123456789012:function:my-function. + // * Partial ARN – 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. @@ -15700,7 +15805,7 @@ type ListFunctionsInput struct { Marker *string `location:"querystring" locationName:"Marker" type:"string"` // For Lambda@Edge functions, the Amazon Web Services Region of the master function. - // For example, us-east-1 filters the list of functions to only include Lambda@Edge + // For example, us-east-1 filters the list of functions to include only Lambda@Edge // functions replicated from a master function in US East (N. Virginia). If // specified, you must set FunctionVersion to ALL. MasterRegion *string `location:"querystring" locationName:"MasterRegion" type:"string"` @@ -16053,11 +16158,11 @@ type ListProvisionedConcurrencyConfigsInput struct { // // Name formats // - // * Function name - my-function. + // * Function name – my-function. // - // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. + // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // - // * Partial ARN - 123456789012:function:my-function. + // * Partial ARN – 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. @@ -16437,7 +16542,8 @@ func (s *OnSuccess) SetDestination(v string) *OnSuccess { return s } -// The permissions policy for the resource is too large. Learn more (https://docs.aws.amazon.com/lambda/latest/dg/limits.html) +// The permissions policy for the resource is too large. For more information, +// see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html). type PolicyLengthExceededException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -16504,8 +16610,8 @@ func (s *PolicyLengthExceededException) RequestID() string { } // The RevisionId provided does not match the latest RevisionId for the Lambda -// function or alias. Call the GetFunction or the GetAlias API to retrieve the -// latest RevisionId for your resource. +// function or alias. Call the GetFunction or the GetAlias API operation to +// retrieve the latest RevisionId for your resource. type PreconditionFailedException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -17175,11 +17281,11 @@ type PutFunctionConcurrencyInput struct { // // Name formats // - // * Function name - my-function. + // * Function name – my-function. // - // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. + // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // - // * Partial ARN - 123456789012:function:my-function. + // * Partial ARN – 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. @@ -17246,7 +17352,7 @@ type PutFunctionConcurrencyOutput struct { _ struct{} `type:"structure"` // The number of concurrent executions that are reserved for this function. - // For more information, see Managing Concurrency (https://docs.aws.amazon.com/lambda/latest/dg/configuration-concurrency.html). + // For more information, see Managing Lambda reserved concurrency (https://docs.aws.amazon.com/lambda/latest/dg/configuration-concurrency.html). ReservedConcurrentExecutions *int64 `type:"integer"` } @@ -17471,11 +17577,11 @@ type PutProvisionedConcurrencyConfigInput struct { // // Name formats // - // * Function name - my-function. + // * Function name – my-function. // - // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. + // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // - // * Partial ARN - 123456789012:function:my-function. + // * Partial ARN – 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. @@ -17757,11 +17863,11 @@ type RemovePermissionInput struct { // // Name formats // - // * Function name - my-function (name-only), my-function:v1 (with alias). + // * Function name – my-function (name-only), my-function:v1 (with alias). // - // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. + // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // - // * Partial ARN - 123456789012:function:my-function. + // * Partial ARN – 123456789012:function:my-function. // // You can append a version number or alias to any of the formats. The length // constraint applies only to the full ARN. If you specify only the function @@ -17774,7 +17880,7 @@ type RemovePermissionInput struct { // of the function. Qualifier *string `location:"querystring" locationName:"Qualifier" min:"1" type:"string"` - // Only update the policy if the revision ID matches the ID that's specified. + // Update the policy only if the revision ID matches the ID that's specified. // Use this option to avoid modifying a policy that has changed since you last // read it. RevisionId *string `location:"querystring" locationName:"RevisionId" type:"string"` @@ -17874,8 +17980,8 @@ func (s RemovePermissionOutput) GoString() string { return s.String() } -// The request payload exceeded the Invoke request body JSON input limit. For -// more information, see Limits (https://docs.aws.amazon.com/lambda/latest/dg/limits.html). +// The request payload exceeded the Invoke request body JSON input quota. For +// more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html). type RequestTooLargeException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -18010,8 +18116,8 @@ func (s *ResourceConflictException) RequestID() string { } // The operation conflicts with the resource's availability. For example, you -// attempted to update an EventSource Mapping in CREATING, or tried to delete -// a EventSource mapping currently in the UPDATING state. +// tried to update an event source mapping in the CREATING state, or you tried +// to delete an event source mapping currently UPDATING. type ResourceInUseException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -18372,6 +18478,288 @@ func (s *ServiceException) RequestID() string { return s.RespMetadata.RequestID } +// The function's SnapStart setting. Set ApplyOn to PublishedVersions to create +// a snapshot of the initialized execution environment when you publish a function +// version. For more information, see Reducing startup time with Lambda SnapStart +// (https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html). +type SnapStart struct { + _ struct{} `type:"structure"` + + // Set to PublishedVersions to create a snapshot of the initialized execution + // environment when you publish a function version. + ApplyOn *string `type:"string" enum:"SnapStartApplyOn"` +} + +// 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 SnapStart) 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 SnapStart) GoString() string { + return s.String() +} + +// SetApplyOn sets the ApplyOn field's value. +func (s *SnapStart) SetApplyOn(v string) *SnapStart { + s.ApplyOn = &v + return s +} + +// The runtime restore hook encountered an error. For more information, check +// the Amazon CloudWatch logs. +type SnapStartException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"Message" type:"string"` + + Type *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 SnapStartException) 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 SnapStartException) GoString() string { + return s.String() +} + +func newErrorSnapStartException(v protocol.ResponseMetadata) error { + return &SnapStartException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *SnapStartException) Code() string { + return "SnapStartException" +} + +// Message returns the exception's message. +func (s *SnapStartException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *SnapStartException) OrigErr() error { + return nil +} + +func (s *SnapStartException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *SnapStartException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *SnapStartException) RequestID() string { + return s.RespMetadata.RequestID +} + +// Lambda is initializing your function. You can invoke the function when the +// function state (https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html) +// becomes Active. +type SnapStartNotReadyException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"Message" type:"string"` + + Type *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 SnapStartNotReadyException) 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 SnapStartNotReadyException) GoString() string { + return s.String() +} + +func newErrorSnapStartNotReadyException(v protocol.ResponseMetadata) error { + return &SnapStartNotReadyException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *SnapStartNotReadyException) Code() string { + return "SnapStartNotReadyException" +} + +// Message returns the exception's message. +func (s *SnapStartNotReadyException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *SnapStartNotReadyException) OrigErr() error { + return nil +} + +func (s *SnapStartNotReadyException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *SnapStartNotReadyException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *SnapStartNotReadyException) RequestID() string { + return s.RespMetadata.RequestID +} + +// The function's SnapStart (https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html) +// setting. +type SnapStartResponse struct { + _ struct{} `type:"structure"` + + // When set to PublishedVersions, Lambda creates a snapshot of the execution + // environment when you publish a function version. + ApplyOn *string `type:"string" enum:"SnapStartApplyOn"` + + // When you provide a qualified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html#versioning-versions-using), + // this response element indicates whether SnapStart is activated for the specified + // function version. + OptimizationStatus *string `type:"string" enum:"SnapStartOptimizationStatus"` +} + +// 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 SnapStartResponse) 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 SnapStartResponse) GoString() string { + return s.String() +} + +// SetApplyOn sets the ApplyOn field's value. +func (s *SnapStartResponse) SetApplyOn(v string) *SnapStartResponse { + s.ApplyOn = &v + return s +} + +// SetOptimizationStatus sets the OptimizationStatus field's value. +func (s *SnapStartResponse) SetOptimizationStatus(v string) *SnapStartResponse { + s.OptimizationStatus = &v + return s +} + +// The runtime restore hook failed to complete within the timeout limit (2 seconds). +type SnapStartTimeoutException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"Message" type:"string"` + + Type *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 SnapStartTimeoutException) 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 SnapStartTimeoutException) GoString() string { + return s.String() +} + +func newErrorSnapStartTimeoutException(v protocol.ResponseMetadata) error { + return &SnapStartTimeoutException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *SnapStartTimeoutException) Code() string { + return "SnapStartTimeoutException" +} + +// Message returns the exception's message. +func (s *SnapStartTimeoutException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *SnapStartTimeoutException) OrigErr() error { + return nil +} + +func (s *SnapStartTimeoutException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *SnapStartTimeoutException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *SnapStartTimeoutException) RequestID() string { + return s.RespMetadata.RequestID +} + // To secure and define access to your event source, you can specify the authentication // protocol, VPC components, or virtual host. type SourceAccessConfiguration struct { @@ -18464,8 +18852,8 @@ func (s *SourceAccessConfiguration) SetURI(v string) *SourceAccessConfiguration return s } -// Lambda was not able to set up VPC access for the Lambda function because -// one or more configured subnets has no available IP addresses. +// Lambda couldn't set up VPC access for the Lambda function because one or +// more configured subnets has no available IP addresses. type SubnetIPAddressLimitReachedException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -18616,7 +19004,8 @@ func (s TagResourceOutput) GoString() string { return s.String() } -// The request throughput limit was exceeded. +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). type TooManyRequestsException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -19173,9 +19562,9 @@ type UpdateEventSourceMappingInput struct { // Default: True Enabled *bool `type:"boolean"` - // (Streams and Amazon SQS) An object that defines the filter criteria that - // determine whether Lambda should process an event. For more information, see - // Lambda event filtering (https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html). + // An object that defines the filter criteria that determine whether Lambda + // should process an event. For more information, see Lambda event filtering + // (https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html). FilterCriteria *FilterCriteria `type:"structure"` // The name of the Lambda function. @@ -19400,11 +19789,11 @@ type UpdateFunctionCodeInput struct { // // Name formats // - // * Function name - my-function. + // * Function name – my-function. // - // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. + // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // - // * Partial ARN - 123456789012:function:my-function. + // * Partial ARN – 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. @@ -19420,7 +19809,7 @@ type UpdateFunctionCodeInput struct { // This has the same effect as calling PublishVersion separately. Publish *bool `type:"boolean"` - // Only update the function if the revision ID matches the ID that's specified. + // Update the function only if the revision ID matches the ID that's specified. // Use this option to avoid modifying a function that has changed since you // last read it. RevisionId *string `type:"string"` @@ -19438,8 +19827,8 @@ type UpdateFunctionCodeInput struct { S3ObjectVersion *string `min:"1" type:"string"` // The base64-encoded contents of the deployment package. Amazon Web Services - // SDK and Amazon Web Services CLI clients handle the encoding for you. Use - // only with a function defined with a .zip file archive deployment package. + // SDK and CLI clients handle the encoding for you. Use only with a function + // defined with a .zip file archive deployment package. // // ZipFile is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by UpdateFunctionCodeInput's @@ -19558,9 +19947,9 @@ func (s *UpdateFunctionCodeInput) SetZipFile(v []byte) *UpdateFunctionCodeInput type UpdateFunctionConfigurationInput struct { _ struct{} `type:"structure"` - // A dead letter queue configuration that specifies the queue or topic where + // A dead-letter queue configuration that specifies the queue or topic where // Lambda sends asynchronous events when they fail processing. For more information, - // see Dead Letter Queues (https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq). + // see Dead-letter queues (https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq). DeadLetterConfig *DeadLetterConfig `type:"structure"` // A description of the function. @@ -19569,8 +19958,8 @@ type UpdateFunctionConfigurationInput struct { // Environment variables that are accessible from function code during execution. Environment *Environment `type:"structure"` - // The size of the function’s /tmp directory in MB. The default value is 512, - // but can be any whole number between 512 and 10240 MB. + // The size of the function's /tmp directory in MB. The default value is 512, + // but can be any whole number between 512 and 10,240 MB. EphemeralStorage *EphemeralStorage `type:"structure"` // Connection settings for an Amazon EFS file system. @@ -19580,11 +19969,11 @@ type UpdateFunctionConfigurationInput struct { // // Name formats // - // * Function name - my-function. + // * Function name – my-function. // - // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. + // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // - // * Partial ARN - 123456789012:function:my-function. + // * Partial ARN – 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. @@ -19592,20 +19981,20 @@ type UpdateFunctionConfigurationInput struct { // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` - // The name of the method within your code that Lambda calls to execute your - // function. Handler is required if the deployment package is a .zip file archive. - // The format includes the file name. It can also include namespaces and other - // qualifiers, depending on the runtime. For more information, see Programming - // Model (https://docs.aws.amazon.com/lambda/latest/dg/programming-model-v2.html). + // The name of the method within your code that Lambda calls to run your function. + // Handler is required if the deployment package is a .zip file archive. The + // format includes the file name. It can also include namespaces and other qualifiers, + // depending on the runtime. For more information, see Lambda programming model + // (https://docs.aws.amazon.com/lambda/latest/dg/foundation-progmodel.html). Handler *string `type:"string"` // Container image configuration values (https://docs.aws.amazon.com/lambda/latest/dg/images-parms.html) // that override the values in the container image Docker file. ImageConfig *ImageConfig `type:"structure"` - // The ARN of the Amazon Web Services Key Management Service (KMS) key that's - // used to encrypt your function's environment variables. If it's not provided, - // Lambda uses a default service key. + // The ARN of the Key Management Service (KMS) key that's used to encrypt your + // function's environment variables. If it's not provided, Lambda uses a default + // service key. KMSKeyArn *string `type:"string"` // A list of function layers (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html) @@ -19613,12 +20002,12 @@ type UpdateFunctionConfigurationInput struct { // ARN, including the version. Layers []*string `type:"list"` - // The amount of memory available to the function (https://docs.aws.amazon.com/lambda/latest/dg/configuration-memory.html) + // The amount of memory available to the function (https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-memory-console) // at runtime. Increasing the function memory also increases its CPU allocation. // The default value is 128 MB. The value can be any multiple of 1 MB. MemorySize *int64 `min:"128" type:"integer"` - // Only update the function if the revision ID matches the ID that's specified. + // Update the function only if the revision ID matches the ID that's specified. // Use this option to avoid modifying a function that has changed since you // last read it. RevisionId *string `type:"string"` @@ -19630,9 +20019,13 @@ type UpdateFunctionConfigurationInput struct { // Runtime is required if the deployment package is a .zip file archive. Runtime *string `type:"string" enum:"Runtime"` + // The function's SnapStart (https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html) + // setting. + SnapStart *SnapStart `type:"structure"` + // The amount of time (in seconds) that Lambda allows a function to run before // stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds. - // For additional information, see Lambda execution environment (https://docs.aws.amazon.com/lambda/latest/dg/runtimes-context.html). + // For more information, see Lambda execution environment (https://docs.aws.amazon.com/lambda/latest/dg/runtimes-context.html). Timeout *int64 `min:"1" type:"integer"` // Set Mode to Active to sample and trace a subset of incoming requests with @@ -19641,8 +20034,9 @@ type UpdateFunctionConfigurationInput struct { // For network connectivity to Amazon Web Services resources in a VPC, specify // a list of security groups and subnets in the VPC. When you connect a function - // to a VPC, it can only access resources and the internet through that VPC. - // For more information, see VPC Settings (https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html). + // to a VPC, it can access resources and the internet only through that VPC. + // For more information, see Configuring a Lambda function to access resources + // in a VPC (https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html). VpcConfig *VpcConfig `type:"structure"` } @@ -19785,6 +20179,12 @@ func (s *UpdateFunctionConfigurationInput) SetRuntime(v string) *UpdateFunctionC return s } +// SetSnapStart sets the SnapStart field's value. +func (s *UpdateFunctionConfigurationInput) SetSnapStart(v *SnapStart) *UpdateFunctionConfigurationInput { + s.SnapStart = v + return s +} + // SetTimeout sets the Timeout field's value. func (s *UpdateFunctionConfigurationInput) SetTimeout(v int64) *UpdateFunctionConfigurationInput { s.Timeout = &v @@ -20010,11 +20410,11 @@ type UpdateFunctionUrlConfigInput struct { // // Name formats // - // * Function name - my-function. + // * Function name – my-function. // - // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. + // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // - // * Partial ARN - 123456789012:function:my-function. + // * Partial ARN – 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. @@ -20180,11 +20580,12 @@ func (s *UpdateFunctionUrlConfigOutput) SetLastModifiedTime(v string) *UpdateFun } // The VPC security groups and subnets that are attached to a Lambda function. -// For more information, see VPC Settings (https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html). +// For more information, see Configuring a Lambda function to access resources +// in a VPC (https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html). type VpcConfig struct { _ struct{} `type:"structure"` - // A list of VPC security groups IDs. + // A list of VPC security group IDs. SecurityGroupIds []*string `type:"list"` // A list of VPC subnet IDs. @@ -20225,7 +20626,7 @@ func (s *VpcConfig) SetSubnetIds(v []*string) *VpcConfig { type VpcConfigResponse struct { _ struct{} `type:"structure"` - // A list of VPC security groups IDs. + // A list of VPC security group IDs. SecurityGroupIds []*string `type:"list"` // A list of VPC subnet IDs. @@ -20445,6 +20846,39 @@ const ( // LastUpdateStatusReasonCodeInvalidImage is a LastUpdateStatusReasonCode enum value LastUpdateStatusReasonCodeInvalidImage = "InvalidImage" + + // LastUpdateStatusReasonCodeKmskeyAccessDenied is a LastUpdateStatusReasonCode enum value + LastUpdateStatusReasonCodeKmskeyAccessDenied = "KMSKeyAccessDenied" + + // LastUpdateStatusReasonCodeKmskeyNotFound is a LastUpdateStatusReasonCode enum value + LastUpdateStatusReasonCodeKmskeyNotFound = "KMSKeyNotFound" + + // LastUpdateStatusReasonCodeInvalidStateKmskey is a LastUpdateStatusReasonCode enum value + LastUpdateStatusReasonCodeInvalidStateKmskey = "InvalidStateKMSKey" + + // LastUpdateStatusReasonCodeDisabledKmskey is a LastUpdateStatusReasonCode enum value + LastUpdateStatusReasonCodeDisabledKmskey = "DisabledKMSKey" + + // LastUpdateStatusReasonCodeEfsioerror is a LastUpdateStatusReasonCode enum value + LastUpdateStatusReasonCodeEfsioerror = "EFSIOError" + + // LastUpdateStatusReasonCodeEfsmountConnectivityError is a LastUpdateStatusReasonCode enum value + LastUpdateStatusReasonCodeEfsmountConnectivityError = "EFSMountConnectivityError" + + // LastUpdateStatusReasonCodeEfsmountFailure is a LastUpdateStatusReasonCode enum value + LastUpdateStatusReasonCodeEfsmountFailure = "EFSMountFailure" + + // LastUpdateStatusReasonCodeEfsmountTimeout is a LastUpdateStatusReasonCode enum value + LastUpdateStatusReasonCodeEfsmountTimeout = "EFSMountTimeout" + + // LastUpdateStatusReasonCodeInvalidRuntime is a LastUpdateStatusReasonCode enum value + LastUpdateStatusReasonCodeInvalidRuntime = "InvalidRuntime" + + // LastUpdateStatusReasonCodeInvalidZipFileException is a LastUpdateStatusReasonCode enum value + LastUpdateStatusReasonCodeInvalidZipFileException = "InvalidZipFileException" + + // LastUpdateStatusReasonCodeFunctionError is a LastUpdateStatusReasonCode enum value + LastUpdateStatusReasonCodeFunctionError = "FunctionError" ) // LastUpdateStatusReasonCode_Values returns all elements of the LastUpdateStatusReasonCode enum @@ -20460,6 +20894,17 @@ func LastUpdateStatusReasonCode_Values() []string { LastUpdateStatusReasonCodeImageDeleted, LastUpdateStatusReasonCodeImageAccessDenied, LastUpdateStatusReasonCodeInvalidImage, + LastUpdateStatusReasonCodeKmskeyAccessDenied, + LastUpdateStatusReasonCodeKmskeyNotFound, + LastUpdateStatusReasonCodeInvalidStateKmskey, + LastUpdateStatusReasonCodeDisabledKmskey, + LastUpdateStatusReasonCodeEfsioerror, + LastUpdateStatusReasonCodeEfsmountConnectivityError, + LastUpdateStatusReasonCodeEfsmountFailure, + LastUpdateStatusReasonCodeEfsmountTimeout, + LastUpdateStatusReasonCodeInvalidRuntime, + LastUpdateStatusReasonCodeInvalidZipFileException, + LastUpdateStatusReasonCodeFunctionError, } } @@ -20635,6 +21080,38 @@ func Runtime_Values() []string { } } +const ( + // SnapStartApplyOnPublishedVersions is a SnapStartApplyOn enum value + SnapStartApplyOnPublishedVersions = "PublishedVersions" + + // SnapStartApplyOnNone is a SnapStartApplyOn enum value + SnapStartApplyOnNone = "None" +) + +// SnapStartApplyOn_Values returns all elements of the SnapStartApplyOn enum +func SnapStartApplyOn_Values() []string { + return []string{ + SnapStartApplyOnPublishedVersions, + SnapStartApplyOnNone, + } +} + +const ( + // SnapStartOptimizationStatusOn is a SnapStartOptimizationStatus enum value + SnapStartOptimizationStatusOn = "On" + + // SnapStartOptimizationStatusOff is a SnapStartOptimizationStatus enum value + SnapStartOptimizationStatusOff = "Off" +) + +// SnapStartOptimizationStatus_Values returns all elements of the SnapStartOptimizationStatus enum +func SnapStartOptimizationStatus_Values() []string { + return []string{ + SnapStartOptimizationStatusOn, + SnapStartOptimizationStatusOff, + } +} + const ( // SourceAccessTypeBasicAuth is a SourceAccessType enum value SourceAccessTypeBasicAuth = "BASIC_AUTH" @@ -20738,6 +21215,39 @@ const ( // StateReasonCodeInvalidImage is a StateReasonCode enum value StateReasonCodeInvalidImage = "InvalidImage" + + // StateReasonCodeKmskeyAccessDenied is a StateReasonCode enum value + StateReasonCodeKmskeyAccessDenied = "KMSKeyAccessDenied" + + // StateReasonCodeKmskeyNotFound is a StateReasonCode enum value + StateReasonCodeKmskeyNotFound = "KMSKeyNotFound" + + // StateReasonCodeInvalidStateKmskey is a StateReasonCode enum value + StateReasonCodeInvalidStateKmskey = "InvalidStateKMSKey" + + // StateReasonCodeDisabledKmskey is a StateReasonCode enum value + StateReasonCodeDisabledKmskey = "DisabledKMSKey" + + // StateReasonCodeEfsioerror is a StateReasonCode enum value + StateReasonCodeEfsioerror = "EFSIOError" + + // StateReasonCodeEfsmountConnectivityError is a StateReasonCode enum value + StateReasonCodeEfsmountConnectivityError = "EFSMountConnectivityError" + + // StateReasonCodeEfsmountFailure is a StateReasonCode enum value + StateReasonCodeEfsmountFailure = "EFSMountFailure" + + // StateReasonCodeEfsmountTimeout is a StateReasonCode enum value + StateReasonCodeEfsmountTimeout = "EFSMountTimeout" + + // StateReasonCodeInvalidRuntime is a StateReasonCode enum value + StateReasonCodeInvalidRuntime = "InvalidRuntime" + + // StateReasonCodeInvalidZipFileException is a StateReasonCode enum value + StateReasonCodeInvalidZipFileException = "InvalidZipFileException" + + // StateReasonCodeFunctionError is a StateReasonCode enum value + StateReasonCodeFunctionError = "FunctionError" ) // StateReasonCode_Values returns all elements of the StateReasonCode enum @@ -20756,6 +21266,17 @@ func StateReasonCode_Values() []string { StateReasonCodeImageDeleted, StateReasonCodeImageAccessDenied, StateReasonCodeInvalidImage, + StateReasonCodeKmskeyAccessDenied, + StateReasonCodeKmskeyNotFound, + StateReasonCodeInvalidStateKmskey, + StateReasonCodeDisabledKmskey, + StateReasonCodeEfsioerror, + StateReasonCodeEfsmountConnectivityError, + StateReasonCodeEfsmountFailure, + StateReasonCodeEfsmountTimeout, + StateReasonCodeInvalidRuntime, + StateReasonCodeInvalidZipFileException, + StateReasonCodeFunctionError, } } @@ -20774,6 +21295,9 @@ const ( // ThrottleReasonCallerRateLimitExceeded is a ThrottleReason enum value ThrottleReasonCallerRateLimitExceeded = "CallerRateLimitExceeded" + + // ThrottleReasonConcurrentSnapshotCreateLimitExceeded is a ThrottleReason enum value + ThrottleReasonConcurrentSnapshotCreateLimitExceeded = "ConcurrentSnapshotCreateLimitExceeded" ) // ThrottleReason_Values returns all elements of the ThrottleReason enum @@ -20784,6 +21308,7 @@ func ThrottleReason_Values() []string { ThrottleReasonReservedFunctionConcurrentInvocationLimitExceeded, ThrottleReasonReservedFunctionInvocationRateLimitExceeded, ThrottleReasonCallerRateLimitExceeded, + ThrottleReasonConcurrentSnapshotCreateLimitExceeded, } } diff --git a/service/lambda/errors.go b/service/lambda/errors.go index 3611928b667..a9c8ab7a27e 100644 --- a/service/lambda/errors.go +++ b/service/lambda/errors.go @@ -17,7 +17,8 @@ const ( // ErrCodeCodeStorageExceededException for service response error code // "CodeStorageExceededException". // - // You have exceeded your maximum total code size per account. Learn more (https://docs.aws.amazon.com/lambda/latest/dg/limits.html) + // Your Amazon Web Services account has exceeded its maximum total code size. + // For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html). ErrCodeCodeStorageExceededException = "CodeStorageExceededException" // ErrCodeCodeVerificationFailedException for service response error code @@ -37,15 +38,15 @@ const ( // ErrCodeEC2ThrottledException for service response error code // "EC2ThrottledException". // - // Lambda was throttled by Amazon EC2 during Lambda function initialization - // using the execution role provided for the Lambda function. + // Amazon EC2 throttled Lambda during Lambda function initialization using the + // execution role provided for the function. ErrCodeEC2ThrottledException = "EC2ThrottledException" // ErrCodeEC2UnexpectedException for service response error code // "EC2UnexpectedException". // - // Lambda received an unexpected EC2 client exception while setting up for the - // Lambda function. + // Lambda received an unexpected Amazon EC2 client exception while setting up + // for the Lambda function. ErrCodeEC2UnexpectedException = "EC2UnexpectedException" // ErrCodeEFSIOException for service response error code @@ -57,42 +58,44 @@ const ( // ErrCodeEFSMountConnectivityException for service response error code // "EFSMountConnectivityException". // - // The function couldn't make a network connection to the configured file system. + // The Lambda function couldn't make a network connection to the configured + // file system. ErrCodeEFSMountConnectivityException = "EFSMountConnectivityException" // ErrCodeEFSMountFailureException for service response error code // "EFSMountFailureException". // - // The function couldn't mount the configured file system due to a permission + // The Lambda function couldn't mount the configured file system due to a permission // or configuration issue. ErrCodeEFSMountFailureException = "EFSMountFailureException" // ErrCodeEFSMountTimeoutException for service response error code // "EFSMountTimeoutException". // - // The function was able to make a network connection to the configured file - // system, but the mount operation timed out. + // The Lambda function made a network connection to the configured file system, + // but the mount operation timed out. ErrCodeEFSMountTimeoutException = "EFSMountTimeoutException" // ErrCodeENILimitReachedException for service response error code // "ENILimitReachedException". // - // Lambda was not able to create an elastic network interface in the VPC, specified + // Lambda couldn't create an elastic network interface in the VPC, specified // as part of Lambda function configuration, because the limit for network interfaces - // has been reached. + // has been reached. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html). ErrCodeENILimitReachedException = "ENILimitReachedException" // ErrCodeInvalidCodeSignatureException for service response error code // "InvalidCodeSignatureException". // - // The code signature failed the integrity check. Lambda always blocks deployment - // if the integrity check fails, even if code signing policy is set to WARN. + // The code signature failed the integrity check. If the integrity check fails, + // then Lambda blocks deployment, even if the code signing policy is set to + // WARN. ErrCodeInvalidCodeSignatureException = "InvalidCodeSignatureException" // ErrCodeInvalidParameterValueException for service response error code // "InvalidParameterValueException". // - // One of the parameters in the request is invalid. + // One of the parameters in the request is not valid. ErrCodeInvalidParameterValueException = "InvalidParameterValueException" // ErrCodeInvalidRequestContentException for service response error code @@ -110,14 +113,14 @@ const ( // ErrCodeInvalidSecurityGroupIDException for service response error code // "InvalidSecurityGroupIDException". // - // The Security Group ID provided in the Lambda function VPC configuration is - // invalid. + // The security group ID provided in the Lambda function VPC configuration is + // not valid. ErrCodeInvalidSecurityGroupIDException = "InvalidSecurityGroupIDException" // ErrCodeInvalidSubnetIDException for service response error code // "InvalidSubnetIDException". // - // The Subnet ID provided in the Lambda function VPC configuration is invalid. + // The subnet ID provided in the Lambda function VPC configuration is not valid. ErrCodeInvalidSubnetIDException = "InvalidSubnetIDException" // ErrCodeInvalidZipFileException for service response error code @@ -129,43 +132,44 @@ const ( // ErrCodeKMSAccessDeniedException for service response error code // "KMSAccessDeniedException". // - // Lambda was unable to decrypt the environment variables because KMS access - // was denied. Check the Lambda function's KMS permissions. + // Lambda couldn't decrypt the environment variables because KMS access was + // denied. Check the Lambda function's KMS permissions. ErrCodeKMSAccessDeniedException = "KMSAccessDeniedException" // ErrCodeKMSDisabledException for service response error code // "KMSDisabledException". // - // Lambda was unable to decrypt the environment variables because the KMS key - // used is disabled. Check the Lambda function's KMS key settings. + // Lambda couldn't decrypt the environment variables because the KMS key used + // is disabled. Check the Lambda function's KMS key settings. ErrCodeKMSDisabledException = "KMSDisabledException" // ErrCodeKMSInvalidStateException for service response error code // "KMSInvalidStateException". // - // Lambda was unable to decrypt the environment variables because the KMS key - // used is in an invalid state for Decrypt. Check the function's KMS key settings. + // Lambda couldn't decrypt the environment variables because the state of the + // KMS key used is not valid for Decrypt. Check the function's KMS key settings. ErrCodeKMSInvalidStateException = "KMSInvalidStateException" // ErrCodeKMSNotFoundException for service response error code // "KMSNotFoundException". // - // Lambda was unable to decrypt the environment variables because the KMS key - // was not found. Check the function's KMS key settings. + // Lambda couldn't decrypt the environment variables because the KMS key was + // not found. Check the function's KMS key settings. ErrCodeKMSNotFoundException = "KMSNotFoundException" // ErrCodePolicyLengthExceededException for service response error code // "PolicyLengthExceededException". // - // The permissions policy for the resource is too large. Learn more (https://docs.aws.amazon.com/lambda/latest/dg/limits.html) + // The permissions policy for the resource is too large. For more information, + // see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html). ErrCodePolicyLengthExceededException = "PolicyLengthExceededException" // ErrCodePreconditionFailedException for service response error code // "PreconditionFailedException". // // The RevisionId provided does not match the latest RevisionId for the Lambda - // function or alias. Call the GetFunction or the GetAlias API to retrieve the - // latest RevisionId for your resource. + // function or alias. Call the GetFunction or the GetAlias API operation to + // retrieve the latest RevisionId for your resource. ErrCodePreconditionFailedException = "PreconditionFailedException" // ErrCodeProvisionedConcurrencyConfigNotFoundException for service response error code @@ -177,8 +181,8 @@ const ( // ErrCodeRequestTooLargeException for service response error code // "RequestTooLargeException". // - // The request payload exceeded the Invoke request body JSON input limit. For - // more information, see Limits (https://docs.aws.amazon.com/lambda/latest/dg/limits.html). + // The request payload exceeded the Invoke request body JSON input quota. For + // more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html). ErrCodeRequestTooLargeException = "RequestTooLargeException" // ErrCodeResourceConflictException for service response error code @@ -191,8 +195,8 @@ const ( // "ResourceInUseException". // // The operation conflicts with the resource's availability. For example, you - // attempted to update an EventSource Mapping in CREATING, or tried to delete - // a EventSource mapping currently in the UPDATING state. + // tried to update an event source mapping in the CREATING state, or you tried + // to delete an event source mapping currently UPDATING. ErrCodeResourceInUseException = "ResourceInUseException" // ErrCodeResourceNotFoundException for service response error code @@ -214,17 +218,39 @@ const ( // The Lambda service encountered an internal error. ErrCodeServiceException = "ServiceException" + // ErrCodeSnapStartException for service response error code + // "SnapStartException". + // + // The runtime restore hook encountered an error. For more information, check + // the Amazon CloudWatch logs. + ErrCodeSnapStartException = "SnapStartException" + + // ErrCodeSnapStartNotReadyException for service response error code + // "SnapStartNotReadyException". + // + // Lambda is initializing your function. You can invoke the function when the + // function state (https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html) + // becomes Active. + ErrCodeSnapStartNotReadyException = "SnapStartNotReadyException" + + // ErrCodeSnapStartTimeoutException for service response error code + // "SnapStartTimeoutException". + // + // The runtime restore hook failed to complete within the timeout limit (2 seconds). + ErrCodeSnapStartTimeoutException = "SnapStartTimeoutException" + // ErrCodeSubnetIPAddressLimitReachedException for service response error code // "SubnetIPAddressLimitReachedException". // - // Lambda was not able to set up VPC access for the Lambda function because - // one or more configured subnets has no available IP addresses. + // Lambda couldn't set up VPC access for the Lambda function because one or + // more configured subnets has no available IP addresses. ErrCodeSubnetIPAddressLimitReachedException = "SubnetIPAddressLimitReachedException" // ErrCodeTooManyRequestsException for service response error code // "TooManyRequestsException". // - // The request throughput limit was exceeded. + // The request throughput limit was exceeded. For more information, see Lambda + // quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). ErrCodeTooManyRequestsException = "TooManyRequestsException" // ErrCodeUnsupportedMediaTypeException for service response error code @@ -266,6 +292,9 @@ var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ "ResourceNotFoundException": newErrorResourceNotFoundException, "ResourceNotReadyException": newErrorResourceNotReadyException, "ServiceException": newErrorServiceException, + "SnapStartException": newErrorSnapStartException, + "SnapStartNotReadyException": newErrorSnapStartNotReadyException, + "SnapStartTimeoutException": newErrorSnapStartTimeoutException, "SubnetIPAddressLimitReachedException": newErrorSubnetIPAddressLimitReachedException, "TooManyRequestsException": newErrorTooManyRequestsException, "UnsupportedMediaTypeException": newErrorUnsupportedMediaTypeException, diff --git a/service/lambda/lambdaiface/interface.go b/service/lambda/lambdaiface/interface.go index 2ff6017f899..ceb98b09106 100644 --- a/service/lambda/lambdaiface/interface.go +++ b/service/lambda/lambdaiface/interface.go @@ -359,6 +359,9 @@ type LambdaAPI interface { WaitUntilFunctionUpdatedV2(*lambda.GetFunctionInput) error WaitUntilFunctionUpdatedV2WithContext(aws.Context, *lambda.GetFunctionInput, ...request.WaiterOption) error + + WaitUntilPublishedVersionActive(*lambda.GetFunctionConfigurationInput) error + WaitUntilPublishedVersionActiveWithContext(aws.Context, *lambda.GetFunctionConfigurationInput, ...request.WaiterOption) error } var _ LambdaAPI = (*lambda.Lambda)(nil) diff --git a/service/lambda/waiters.go b/service/lambda/waiters.go index 411f5220421..4f42ee8f6d1 100644 --- a/service/lambda/waiters.go +++ b/service/lambda/waiters.go @@ -283,3 +283,59 @@ func (c *Lambda) WaitUntilFunctionUpdatedV2WithContext(ctx aws.Context, input *G return w.WaitWithContext(ctx) } + +// WaitUntilPublishedVersionActive uses the AWS Lambda API operation +// GetFunctionConfiguration to wait for a condition to be met before returning. +// If the condition is not met within the max attempt window, an error will +// be returned. +func (c *Lambda) WaitUntilPublishedVersionActive(input *GetFunctionConfigurationInput) error { + return c.WaitUntilPublishedVersionActiveWithContext(aws.BackgroundContext(), input) +} + +// WaitUntilPublishedVersionActiveWithContext is an extended version of WaitUntilPublishedVersionActive. +// With the support for passing in a context and options to configure the +// Waiter and the underlying request options. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Lambda) WaitUntilPublishedVersionActiveWithContext(ctx aws.Context, input *GetFunctionConfigurationInput, opts ...request.WaiterOption) error { + w := request.Waiter{ + Name: "WaitUntilPublishedVersionActive", + MaxAttempts: 312, + Delay: request.ConstantWaiterDelay(5 * time.Second), + Acceptors: []request.WaiterAcceptor{ + { + State: request.SuccessWaiterState, + Matcher: request.PathWaiterMatch, Argument: "State", + Expected: "Active", + }, + { + State: request.FailureWaiterState, + Matcher: request.PathWaiterMatch, Argument: "State", + Expected: "Failed", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "State", + Expected: "Pending", + }, + }, + Logger: c.Config.Logger, + NewRequest: func(opts []request.Option) (*request.Request, error) { + var inCpy *GetFunctionConfigurationInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetFunctionConfigurationRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + w.ApplyOptions(opts...) + + return w.WaitWithContext(ctx) +} diff --git a/service/licensemanagerusersubscriptions/api.go b/service/licensemanagerusersubscriptions/api.go index d382e518172..c3b64d3c9f5 100644 --- a/service/licensemanagerusersubscriptions/api.go +++ b/service/licensemanagerusersubscriptions/api.go @@ -56,6 +56,12 @@ func (c *LicenseManagerUserSubscriptions) AssociateUserRequest(input *AssociateU // // Associates the user to an EC2 instance to utilize user-based subscriptions. // +// Your estimated bill for charges on the number of users and related costs +// will take 48 hours to appear for billing periods that haven't closed (marked +// as Pending billing status) in Amazon Web Services Billing. For more information, +// see Viewing your monthly charges (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/invoice.html) +// in the Amazon Web Services Billing User Guide. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -1068,6 +1074,12 @@ func (c *LicenseManagerUserSubscriptions) StartProductSubscriptionRequest(input // // Starts a product subscription for a user with the specified identity provider. // +// Your estimated bill for charges on the number of users and related costs +// will take 48 hours to appear for billing periods that haven't closed (marked +// as Pending billing status) in Amazon Web Services Billing. For more information, +// see Viewing your monthly charges (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/invoice.html) +// in the Amazon Web Services Billing User Guide. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -1219,6 +1231,95 @@ func (c *LicenseManagerUserSubscriptions) StopProductSubscriptionWithContext(ctx return out, req.Send() } +const opUpdateIdentityProviderSettings = "UpdateIdentityProviderSettings" + +// UpdateIdentityProviderSettingsRequest generates a "aws/request.Request" representing the +// client's request for the UpdateIdentityProviderSettings operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateIdentityProviderSettings for more information on using the UpdateIdentityProviderSettings +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateIdentityProviderSettingsRequest method. +// req, resp := client.UpdateIdentityProviderSettingsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-user-subscriptions-2018-05-10/UpdateIdentityProviderSettings +func (c *LicenseManagerUserSubscriptions) UpdateIdentityProviderSettingsRequest(input *UpdateIdentityProviderSettingsInput) (req *request.Request, output *UpdateIdentityProviderSettingsOutput) { + op := &request.Operation{ + Name: opUpdateIdentityProviderSettings, + HTTPMethod: "POST", + HTTPPath: "/identity-provider/UpdateIdentityProviderSettings", + } + + if input == nil { + input = &UpdateIdentityProviderSettingsInput{} + } + + output = &UpdateIdentityProviderSettingsOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateIdentityProviderSettings API operation for AWS License Manager User Subscriptions. +// +// Updates additional product configuration settings for the registered identity +// provider. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS License Manager User Subscriptions's +// API operation UpdateIdentityProviderSettings for usage and error information. +// +// Returned Error Types: +// +// - ValidationException +// A parameter is not valid. +// +// - ThrottlingException +// The request was denied because of request throttling. Retry the request. +// +// - InternalServerException +// An exception occurred with the service. +// +// - AccessDeniedException +// You don't have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-user-subscriptions-2018-05-10/UpdateIdentityProviderSettings +func (c *LicenseManagerUserSubscriptions) UpdateIdentityProviderSettings(input *UpdateIdentityProviderSettingsInput) (*UpdateIdentityProviderSettingsOutput, error) { + req, out := c.UpdateIdentityProviderSettingsRequest(input) + return out, req.Send() +} + +// UpdateIdentityProviderSettingsWithContext is the same as UpdateIdentityProviderSettings with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateIdentityProviderSettings for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LicenseManagerUserSubscriptions) UpdateIdentityProviderSettingsWithContext(ctx aws.Context, input *UpdateIdentityProviderSettingsInput, opts ...request.Option) (*UpdateIdentityProviderSettingsOutput, error) { + req, out := c.UpdateIdentityProviderSettingsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + // You don't have sufficient access to perform this action. type AccessDeniedException struct { _ struct{} `type:"structure"` @@ -1806,6 +1907,12 @@ type IdentityProviderSummary struct { // Product is a required field Product *string `type:"string" required:"true"` + // An object that details the registered identity provider’s product related + // configuration settings such as the subnets to provision VPC endpoints. + // + // Settings is a required field + Settings *Settings `type:"structure" required:"true"` + // The status of an identity provider. // // Status is a required field @@ -1848,6 +1955,12 @@ func (s *IdentityProviderSummary) SetProduct(v string) *IdentityProviderSummary return s } +// SetSettings sets the Settings field's value. +func (s *IdentityProviderSummary) SetSettings(v *Settings) *IdentityProviderSummary { + s.Settings = v + return s +} + // SetStatus sets the Status field's value. func (s *IdentityProviderSummary) SetStatus(v string) *IdentityProviderSummary { s.Status = &v @@ -2638,6 +2751,10 @@ type RegisterIdentityProviderInput struct { // // Product is a required field Product *string `type:"string" required:"true"` + + // The registered identity provider’s product related configuration settings + // such as the subnets to provision VPC endpoints. + Settings *Settings `type:"structure"` } // String returns the string representation. @@ -2667,6 +2784,11 @@ func (s *RegisterIdentityProviderInput) Validate() error { if s.Product == nil { invalidParams.Add(request.NewErrParamRequired("Product")) } + if s.Settings != nil { + if err := s.Settings.Validate(); err != nil { + invalidParams.AddNested("Settings", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -2686,6 +2808,12 @@ func (s *RegisterIdentityProviderInput) SetProduct(v string) *RegisterIdentityPr return s } +// SetSettings sets the Settings field's value. +func (s *RegisterIdentityProviderInput) SetSettings(v *Settings) *RegisterIdentityProviderInput { + s.Settings = v + return s +} + type RegisterIdentityProviderOutput struct { _ struct{} `type:"structure"` @@ -2847,6 +2975,77 @@ func (s *ServiceQuotaExceededException) RequestID() string { return s.RespMetadata.RequestID } +// The registered identity provider’s product related configuration settings +// such as the subnets to provision VPC endpoints, and the security group ID +// that is associated with the VPC endpoints. The security group should permit +// inbound TCP port 1688 communication from resources in the VPC. +type Settings struct { + _ struct{} `type:"structure"` + + // A security group ID that allows inbound TCP port 1688 communication between + // resources in your VPC and the VPC endpoint for activation servers. + // + // SecurityGroupId is a required field + SecurityGroupId *string `min:"5" type:"string" required:"true"` + + // The subnets defined for the registered identity provider. + // + // Subnets is a required field + Subnets []*string `min:"1" type:"list" required:"true"` +} + +// 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 Settings) 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 Settings) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *Settings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Settings"} + if s.SecurityGroupId == nil { + invalidParams.Add(request.NewErrParamRequired("SecurityGroupId")) + } + if s.SecurityGroupId != nil && len(*s.SecurityGroupId) < 5 { + invalidParams.Add(request.NewErrParamMinLen("SecurityGroupId", 5)) + } + if s.Subnets == nil { + invalidParams.Add(request.NewErrParamRequired("Subnets")) + } + if s.Subnets != nil && len(s.Subnets) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Subnets", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetSecurityGroupId sets the SecurityGroupId field's value. +func (s *Settings) SetSecurityGroupId(v string) *Settings { + s.SecurityGroupId = &v + return s +} + +// SetSubnets sets the Subnets field's value. +func (s *Settings) SetSubnets(v []*string) *Settings { + s.Subnets = v + return s +} + type StartProductSubscriptionInput struct { _ struct{} `type:"structure"` @@ -3143,6 +3342,202 @@ func (s *ThrottlingException) RequestID() string { return s.RespMetadata.RequestID } +type UpdateIdentityProviderSettingsInput struct { + _ struct{} `type:"structure"` + + // Details about an identity provider. + // + // IdentityProvider is a required field + IdentityProvider *IdentityProvider `type:"structure" required:"true"` + + // The name of the user-based subscription product. + // + // Product is a required field + Product *string `type:"string" required:"true"` + + // Updates the registered identity provider’s product related configuration + // settings. You can update any combination of settings in a single operation + // such as the: + // + // * Subnets which you want to add to provision VPC endpoints. + // + // * Subnets which you want to remove the VPC endpoints from. + // + // * Security group ID which permits traffic to the VPC endpoints. + // + // UpdateSettings is a required field + UpdateSettings *UpdateSettings `type:"structure" required:"true"` +} + +// 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 UpdateIdentityProviderSettingsInput) 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 UpdateIdentityProviderSettingsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateIdentityProviderSettingsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateIdentityProviderSettingsInput"} + if s.IdentityProvider == nil { + invalidParams.Add(request.NewErrParamRequired("IdentityProvider")) + } + if s.Product == nil { + invalidParams.Add(request.NewErrParamRequired("Product")) + } + if s.UpdateSettings == nil { + invalidParams.Add(request.NewErrParamRequired("UpdateSettings")) + } + if s.UpdateSettings != nil { + if err := s.UpdateSettings.Validate(); err != nil { + invalidParams.AddNested("UpdateSettings", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetIdentityProvider sets the IdentityProvider field's value. +func (s *UpdateIdentityProviderSettingsInput) SetIdentityProvider(v *IdentityProvider) *UpdateIdentityProviderSettingsInput { + s.IdentityProvider = v + return s +} + +// SetProduct sets the Product field's value. +func (s *UpdateIdentityProviderSettingsInput) SetProduct(v string) *UpdateIdentityProviderSettingsInput { + s.Product = &v + return s +} + +// SetUpdateSettings sets the UpdateSettings field's value. +func (s *UpdateIdentityProviderSettingsInput) SetUpdateSettings(v *UpdateSettings) *UpdateIdentityProviderSettingsInput { + s.UpdateSettings = v + return s +} + +type UpdateIdentityProviderSettingsOutput struct { + _ struct{} `type:"structure"` + + // Describes an identity provider. + // + // IdentityProviderSummary is a required field + IdentityProviderSummary *IdentityProviderSummary `type:"structure" required:"true"` +} + +// 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 UpdateIdentityProviderSettingsOutput) 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 UpdateIdentityProviderSettingsOutput) GoString() string { + return s.String() +} + +// SetIdentityProviderSummary sets the IdentityProviderSummary field's value. +func (s *UpdateIdentityProviderSettingsOutput) SetIdentityProviderSummary(v *IdentityProviderSummary) *UpdateIdentityProviderSettingsOutput { + s.IdentityProviderSummary = v + return s +} + +// Updates the registered identity provider’s product related configuration +// settings such as the subnets to provision VPC endpoints. +type UpdateSettings struct { + _ struct{} `type:"structure"` + + // The ID of one or more subnets in which License Manager will create a VPC + // endpoint for products that require connectivity to activation servers. + // + // AddSubnets is a required field + AddSubnets []*string `type:"list" required:"true"` + + // The ID of one or more subnets to remove. + // + // RemoveSubnets is a required field + RemoveSubnets []*string `type:"list" required:"true"` + + // A security group ID that allows inbound TCP port 1688 communication between + // resources in your VPC and the VPC endpoints for activation servers. + SecurityGroupId *string `min:"5" 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 UpdateSettings) 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 UpdateSettings) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateSettings"} + if s.AddSubnets == nil { + invalidParams.Add(request.NewErrParamRequired("AddSubnets")) + } + if s.RemoveSubnets == nil { + invalidParams.Add(request.NewErrParamRequired("RemoveSubnets")) + } + if s.SecurityGroupId != nil && len(*s.SecurityGroupId) < 5 { + invalidParams.Add(request.NewErrParamMinLen("SecurityGroupId", 5)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAddSubnets sets the AddSubnets field's value. +func (s *UpdateSettings) SetAddSubnets(v []*string) *UpdateSettings { + s.AddSubnets = v + return s +} + +// SetRemoveSubnets sets the RemoveSubnets field's value. +func (s *UpdateSettings) SetRemoveSubnets(v []*string) *UpdateSettings { + s.RemoveSubnets = v + return s +} + +// SetSecurityGroupId sets the SecurityGroupId field's value. +func (s *UpdateSettings) SetSecurityGroupId(v string) *UpdateSettings { + s.SecurityGroupId = &v + return s +} + // A parameter is not valid. type ValidationException struct { _ struct{} `type:"structure"` diff --git a/service/licensemanagerusersubscriptions/licensemanagerusersubscriptionsiface/interface.go b/service/licensemanagerusersubscriptions/licensemanagerusersubscriptionsiface/interface.go index 2f135654354..6b3016848e9 100644 --- a/service/licensemanagerusersubscriptions/licensemanagerusersubscriptionsiface/interface.go +++ b/service/licensemanagerusersubscriptions/licensemanagerusersubscriptionsiface/interface.go @@ -111,6 +111,10 @@ type LicenseManagerUserSubscriptionsAPI interface { StopProductSubscription(*licensemanagerusersubscriptions.StopProductSubscriptionInput) (*licensemanagerusersubscriptions.StopProductSubscriptionOutput, error) StopProductSubscriptionWithContext(aws.Context, *licensemanagerusersubscriptions.StopProductSubscriptionInput, ...request.Option) (*licensemanagerusersubscriptions.StopProductSubscriptionOutput, error) StopProductSubscriptionRequest(*licensemanagerusersubscriptions.StopProductSubscriptionInput) (*request.Request, *licensemanagerusersubscriptions.StopProductSubscriptionOutput) + + UpdateIdentityProviderSettings(*licensemanagerusersubscriptions.UpdateIdentityProviderSettingsInput) (*licensemanagerusersubscriptions.UpdateIdentityProviderSettingsOutput, error) + UpdateIdentityProviderSettingsWithContext(aws.Context, *licensemanagerusersubscriptions.UpdateIdentityProviderSettingsInput, ...request.Option) (*licensemanagerusersubscriptions.UpdateIdentityProviderSettingsOutput, error) + UpdateIdentityProviderSettingsRequest(*licensemanagerusersubscriptions.UpdateIdentityProviderSettingsInput) (*request.Request, *licensemanagerusersubscriptions.UpdateIdentityProviderSettingsOutput) } var _ LicenseManagerUserSubscriptionsAPI = (*licensemanagerusersubscriptions.LicenseManagerUserSubscriptions)(nil) diff --git a/service/macie2/api.go b/service/macie2/api.go index 0c6b1007a46..99673ecbcda 100644 --- a/service/macie2/api.go +++ b/service/macie2/api.go @@ -1625,7 +1625,7 @@ func (c *Macie2) DescribeBucketsRequest(input *DescribeBucketsInput) (req *reque // DescribeBuckets API operation for Amazon Macie 2. // // Retrieves (queries) statistical data and other information about one or more -// S3 buckets that Amazon Macie monitors and analyzes. +// S3 buckets that Amazon Macie monitors and analyzes for an account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2888,6 +2888,99 @@ func (c *Macie2) GetAllowListWithContext(ctx aws.Context, input *GetAllowListInp return out, req.Send() } +const opGetAutomatedDiscoveryConfiguration = "GetAutomatedDiscoveryConfiguration" + +// GetAutomatedDiscoveryConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the GetAutomatedDiscoveryConfiguration operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetAutomatedDiscoveryConfiguration for more information on using the GetAutomatedDiscoveryConfiguration +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetAutomatedDiscoveryConfigurationRequest method. +// req, resp := client.GetAutomatedDiscoveryConfigurationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAutomatedDiscoveryConfiguration +func (c *Macie2) GetAutomatedDiscoveryConfigurationRequest(input *GetAutomatedDiscoveryConfigurationInput) (req *request.Request, output *GetAutomatedDiscoveryConfigurationOutput) { + op := &request.Operation{ + Name: opGetAutomatedDiscoveryConfiguration, + HTTPMethod: "GET", + HTTPPath: "/automated-discovery/configuration", + } + + if input == nil { + input = &GetAutomatedDiscoveryConfigurationInput{} + } + + output = &GetAutomatedDiscoveryConfigurationOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetAutomatedDiscoveryConfiguration API operation for Amazon Macie 2. +// +// Retrieves the configuration settings and status of automated sensitive data +// discovery for an account. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Macie 2's +// API operation GetAutomatedDiscoveryConfiguration for usage and error information. +// +// Returned Error Types: +// +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. +// +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAutomatedDiscoveryConfiguration +func (c *Macie2) GetAutomatedDiscoveryConfiguration(input *GetAutomatedDiscoveryConfigurationInput) (*GetAutomatedDiscoveryConfigurationOutput, error) { + req, out := c.GetAutomatedDiscoveryConfigurationRequest(input) + return out, req.Send() +} + +// GetAutomatedDiscoveryConfigurationWithContext is the same as GetAutomatedDiscoveryConfiguration with the addition of +// the ability to pass a context and additional request options. +// +// See GetAutomatedDiscoveryConfiguration for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Macie2) GetAutomatedDiscoveryConfigurationWithContext(ctx aws.Context, input *GetAutomatedDiscoveryConfigurationInput, opts ...request.Option) (*GetAutomatedDiscoveryConfigurationOutput, error) { + req, out := c.GetAutomatedDiscoveryConfigurationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetBucketStatistics = "GetBucketStatistics" // GetBucketStatisticsRequest generates a "aws/request.Request" representing the @@ -2931,8 +3024,8 @@ func (c *Macie2) GetBucketStatisticsRequest(input *GetBucketStatisticsInput) (re // GetBucketStatistics API operation for Amazon Macie 2. // -// Retrieves (queries) aggregated statistical data about S3 buckets that Amazon -// Macie monitors and analyzes. +// Retrieves (queries) aggregated statistical data about all the S3 buckets +// that Amazon Macie monitors and analyzes for an account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3097,6 +3190,102 @@ func (c *Macie2) GetClassificationExportConfigurationWithContext(ctx aws.Context return out, req.Send() } +const opGetClassificationScope = "GetClassificationScope" + +// GetClassificationScopeRequest generates a "aws/request.Request" representing the +// client's request for the GetClassificationScope operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetClassificationScope for more information on using the GetClassificationScope +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetClassificationScopeRequest method. +// req, resp := client.GetClassificationScopeRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetClassificationScope +func (c *Macie2) GetClassificationScopeRequest(input *GetClassificationScopeInput) (req *request.Request, output *GetClassificationScopeOutput) { + op := &request.Operation{ + Name: opGetClassificationScope, + HTTPMethod: "GET", + HTTPPath: "/classification-scopes/{id}", + } + + if input == nil { + input = &GetClassificationScopeInput{} + } + + output = &GetClassificationScopeOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetClassificationScope API operation for Amazon Macie 2. +// +// Retrieves the classification scope settings for an account. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Macie 2's +// API operation GetClassificationScope for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. +// +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. +// +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetClassificationScope +func (c *Macie2) GetClassificationScope(input *GetClassificationScopeInput) (*GetClassificationScopeOutput, error) { + req, out := c.GetClassificationScopeRequest(input) + return out, req.Send() +} + +// GetClassificationScopeWithContext is the same as GetClassificationScope with the addition of +// the ability to pass a context and additional request options. +// +// See GetClassificationScope for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Macie2) GetClassificationScopeWithContext(ctx aws.Context, input *GetClassificationScopeInput, opts ...request.Option) (*GetClassificationScopeOutput, error) { + req, out := c.GetClassificationScopeRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetCustomDataIdentifier = "GetCustomDataIdentifier" // GetCustomDataIdentifierRequest generates a "aws/request.Request" representing the @@ -3766,8 +3955,7 @@ func (c *Macie2) GetMacieSessionRequest(input *GetMacieSessionInput) (req *reque // GetMacieSession API operation for Amazon Macie 2. // -// Retrieves the current status and configuration settings for an Amazon Macie -// account. +// Retrieves the status and configuration settings for an Amazon Macie account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4039,6 +4227,107 @@ func (c *Macie2) GetMemberWithContext(ctx aws.Context, input *GetMemberInput, op return out, req.Send() } +const opGetResourceProfile = "GetResourceProfile" + +// GetResourceProfileRequest generates a "aws/request.Request" representing the +// client's request for the GetResourceProfile operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetResourceProfile for more information on using the GetResourceProfile +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetResourceProfileRequest method. +// req, resp := client.GetResourceProfileRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetResourceProfile +func (c *Macie2) GetResourceProfileRequest(input *GetResourceProfileInput) (req *request.Request, output *GetResourceProfileOutput) { + op := &request.Operation{ + Name: opGetResourceProfile, + HTTPMethod: "GET", + HTTPPath: "/resource-profiles", + } + + if input == nil { + input = &GetResourceProfileInput{} + } + + output = &GetResourceProfileOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetResourceProfile API operation for Amazon Macie 2. +// +// Retrieves (queries) sensitive data discovery statistics and the sensitivity +// score for an S3 bucket. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Macie 2's +// API operation GetResourceProfile for usage and error information. +// +// Returned Error Types: +// +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. +// +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. +// +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. +// +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. +// +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetResourceProfile +func (c *Macie2) GetResourceProfile(input *GetResourceProfileInput) (*GetResourceProfileOutput, error) { + req, out := c.GetResourceProfileRequest(input) + return out, req.Send() +} + +// GetResourceProfileWithContext is the same as GetResourceProfile with the addition of +// the ability to pass a context and additional request options. +// +// See GetResourceProfile for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Macie2) GetResourceProfileWithContext(ctx aws.Context, input *GetResourceProfileInput, opts ...request.Option) (*GetResourceProfileOutput, error) { + req, out := c.GetResourceProfileRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetRevealConfiguration = "GetRevealConfiguration" // GetRevealConfigurationRequest generates a "aws/request.Request" representing the @@ -4324,66 +4613,68 @@ func (c *Macie2) GetSensitiveDataOccurrencesAvailabilityWithContext(ctx aws.Cont return out, req.Send() } -const opGetUsageStatistics = "GetUsageStatistics" +const opGetSensitivityInspectionTemplate = "GetSensitivityInspectionTemplate" -// GetUsageStatisticsRequest generates a "aws/request.Request" representing the -// client's request for the GetUsageStatistics operation. The "output" return +// GetSensitivityInspectionTemplateRequest generates a "aws/request.Request" representing the +// client's request for the GetSensitivityInspectionTemplate operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetUsageStatistics for more information on using the GetUsageStatistics +// See GetSensitivityInspectionTemplate for more information on using the GetSensitivityInspectionTemplate // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the GetUsageStatisticsRequest method. -// req, resp := client.GetUsageStatisticsRequest(params) +// // Example sending a request using the GetSensitivityInspectionTemplateRequest method. +// req, resp := client.GetSensitivityInspectionTemplateRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageStatistics -func (c *Macie2) GetUsageStatisticsRequest(input *GetUsageStatisticsInput) (req *request.Request, output *GetUsageStatisticsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetSensitivityInspectionTemplate +func (c *Macie2) GetSensitivityInspectionTemplateRequest(input *GetSensitivityInspectionTemplateInput) (req *request.Request, output *GetSensitivityInspectionTemplateOutput) { op := &request.Operation{ - Name: opGetUsageStatistics, - HTTPMethod: "POST", - HTTPPath: "/usage/statistics", - Paginator: &request.Paginator{ - InputTokens: []string{"nextToken"}, - OutputTokens: []string{"nextToken"}, - LimitToken: "maxResults", - TruncationToken: "", - }, + Name: opGetSensitivityInspectionTemplate, + HTTPMethod: "GET", + HTTPPath: "/templates/sensitivity-inspections/{id}", } if input == nil { - input = &GetUsageStatisticsInput{} + input = &GetSensitivityInspectionTemplateInput{} } - output = &GetUsageStatisticsOutput{} + output = &GetSensitivityInspectionTemplateOutput{} req = c.newRequest(op, input, output) return } -// GetUsageStatistics API operation for Amazon Macie 2. +// GetSensitivityInspectionTemplate API operation for Amazon Macie 2. // -// Retrieves (queries) quotas and aggregated usage data for one or more accounts. +// Retrieves the settings for the sensitivity inspection template for an account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Macie 2's -// API operation GetUsageStatistics for usage and error information. +// API operation GetSensitivityInspectionTemplate for usage and error information. // // Returned Error Types: // +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. +// +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// // - ValidationException // Provides information about an error that occurred due to a syntax error in // a request. @@ -4392,8 +4683,102 @@ func (c *Macie2) GetUsageStatisticsRequest(input *GetUsageStatisticsInput) (req // Provides information about an error that occurred due to an unknown internal // server error, exception, or failure. // -// - ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetSensitivityInspectionTemplate +func (c *Macie2) GetSensitivityInspectionTemplate(input *GetSensitivityInspectionTemplateInput) (*GetSensitivityInspectionTemplateOutput, error) { + req, out := c.GetSensitivityInspectionTemplateRequest(input) + return out, req.Send() +} + +// GetSensitivityInspectionTemplateWithContext is the same as GetSensitivityInspectionTemplate with the addition of +// the ability to pass a context and additional request options. +// +// See GetSensitivityInspectionTemplate for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Macie2) GetSensitivityInspectionTemplateWithContext(ctx aws.Context, input *GetSensitivityInspectionTemplateInput, opts ...request.Option) (*GetSensitivityInspectionTemplateOutput, error) { + req, out := c.GetSensitivityInspectionTemplateRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetUsageStatistics = "GetUsageStatistics" + +// GetUsageStatisticsRequest generates a "aws/request.Request" representing the +// client's request for the GetUsageStatistics operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetUsageStatistics for more information on using the GetUsageStatistics +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetUsageStatisticsRequest method. +// req, resp := client.GetUsageStatisticsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageStatistics +func (c *Macie2) GetUsageStatisticsRequest(input *GetUsageStatisticsInput) (req *request.Request, output *GetUsageStatisticsOutput) { + op := &request.Operation{ + Name: opGetUsageStatistics, + HTTPMethod: "POST", + HTTPPath: "/usage/statistics", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &GetUsageStatisticsInput{} + } + + output = &GetUsageStatisticsOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetUsageStatistics API operation for Amazon Macie 2. +// +// Retrieves (queries) quotas and aggregated usage data for one or more accounts. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Macie 2's +// API operation GetUsageStatistics for usage and error information. +// +// Returned Error Types: +// +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. +// +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service // quotas for an account. // // - AccessDeniedException @@ -4619,6 +5004,12 @@ func (c *Macie2) ListAllowListsRequest(input *ListAllowListsInput) (req *request Name: opListAllowLists, HTTPMethod: "GET", HTTPPath: "/allow-lists", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -4681,6 +5072,57 @@ func (c *Macie2) ListAllowListsWithContext(ctx aws.Context, input *ListAllowList return out, req.Send() } +// ListAllowListsPages iterates over the pages of a ListAllowLists operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListAllowLists method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListAllowLists operation. +// pageNum := 0 +// err := client.ListAllowListsPages(params, +// func(page *macie2.ListAllowListsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Macie2) ListAllowListsPages(input *ListAllowListsInput, fn func(*ListAllowListsOutput, bool) bool) error { + return c.ListAllowListsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListAllowListsPagesWithContext same as ListAllowListsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Macie2) ListAllowListsPagesWithContext(ctx aws.Context, input *ListAllowListsInput, fn func(*ListAllowListsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListAllowListsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListAllowListsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListAllowListsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListClassificationJobs = "ListClassificationJobs" // ListClassificationJobsRequest generates a "aws/request.Request" representing the @@ -4842,6 +5284,155 @@ func (c *Macie2) ListClassificationJobsPagesWithContext(ctx aws.Context, input * return p.Err() } +const opListClassificationScopes = "ListClassificationScopes" + +// ListClassificationScopesRequest generates a "aws/request.Request" representing the +// client's request for the ListClassificationScopes operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListClassificationScopes for more information on using the ListClassificationScopes +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListClassificationScopesRequest method. +// req, resp := client.ListClassificationScopesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListClassificationScopes +func (c *Macie2) ListClassificationScopesRequest(input *ListClassificationScopesInput) (req *request.Request, output *ListClassificationScopesOutput) { + op := &request.Operation{ + Name: opListClassificationScopes, + HTTPMethod: "GET", + HTTPPath: "/classification-scopes", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListClassificationScopesInput{} + } + + output = &ListClassificationScopesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListClassificationScopes API operation for Amazon Macie 2. +// +// Retrieves a subset of information about the classification scope for an account. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Macie 2's +// API operation ListClassificationScopes for usage and error information. +// +// Returned Error Types: +// +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. +// +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListClassificationScopes +func (c *Macie2) ListClassificationScopes(input *ListClassificationScopesInput) (*ListClassificationScopesOutput, error) { + req, out := c.ListClassificationScopesRequest(input) + return out, req.Send() +} + +// ListClassificationScopesWithContext is the same as ListClassificationScopes with the addition of +// the ability to pass a context and additional request options. +// +// See ListClassificationScopes for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Macie2) ListClassificationScopesWithContext(ctx aws.Context, input *ListClassificationScopesInput, opts ...request.Option) (*ListClassificationScopesOutput, error) { + req, out := c.ListClassificationScopesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListClassificationScopesPages iterates over the pages of a ListClassificationScopes operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListClassificationScopes method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListClassificationScopes operation. +// pageNum := 0 +// err := client.ListClassificationScopesPages(params, +// func(page *macie2.ListClassificationScopesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Macie2) ListClassificationScopesPages(input *ListClassificationScopesInput, fn func(*ListClassificationScopesOutput, bool) bool) error { + return c.ListClassificationScopesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListClassificationScopesPagesWithContext same as ListClassificationScopesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Macie2) ListClassificationScopesPagesWithContext(ctx aws.Context, input *ListClassificationScopesInput, fn func(*ListClassificationScopesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListClassificationScopesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListClassificationScopesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListClassificationScopesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListCustomDataIdentifiers = "ListCustomDataIdentifiers" // ListCustomDataIdentifiersRequest generates a "aws/request.Request" representing the @@ -5518,6 +6109,12 @@ func (c *Macie2) ListManagedDataIdentifiersRequest(input *ListManagedDataIdentif Name: opListManagedDataIdentifiers, HTTPMethod: "POST", HTTPPath: "/managed-data-identifiers/list", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "", + TruncationToken: "", + }, } if input == nil { @@ -5562,9 +6159,60 @@ func (c *Macie2) ListManagedDataIdentifiersWithContext(ctx aws.Context, input *L return out, req.Send() } -const opListMembers = "ListMembers" - -// ListMembersRequest generates a "aws/request.Request" representing the +// ListManagedDataIdentifiersPages iterates over the pages of a ListManagedDataIdentifiers operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListManagedDataIdentifiers method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListManagedDataIdentifiers operation. +// pageNum := 0 +// err := client.ListManagedDataIdentifiersPages(params, +// func(page *macie2.ListManagedDataIdentifiersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Macie2) ListManagedDataIdentifiersPages(input *ListManagedDataIdentifiersInput, fn func(*ListManagedDataIdentifiersOutput, bool) bool) error { + return c.ListManagedDataIdentifiersPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListManagedDataIdentifiersPagesWithContext same as ListManagedDataIdentifiersPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Macie2) ListManagedDataIdentifiersPagesWithContext(ctx aws.Context, input *ListManagedDataIdentifiersInput, fn func(*ListManagedDataIdentifiersOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListManagedDataIdentifiersInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListManagedDataIdentifiersRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListManagedDataIdentifiersOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListMembers = "ListMembers" + +// ListMembersRequest generates a "aws/request.Request" representing the // client's request for the ListMembers operation. The "output" return // value will be populated with the request's response once the request completes // successfully. @@ -5886,132 +6534,218 @@ func (c *Macie2) ListOrganizationAdminAccountsPagesWithContext(ctx aws.Context, return p.Err() } -const opListTagsForResource = "ListTagsForResource" +const opListResourceProfileArtifacts = "ListResourceProfileArtifacts" -// ListTagsForResourceRequest generates a "aws/request.Request" representing the -// client's request for the ListTagsForResource operation. The "output" return +// ListResourceProfileArtifactsRequest generates a "aws/request.Request" representing the +// client's request for the ListResourceProfileArtifacts operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListTagsForResource for more information on using the ListTagsForResource +// See ListResourceProfileArtifacts for more information on using the ListResourceProfileArtifacts // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) +// // Example sending a request using the ListResourceProfileArtifactsRequest method. +// req, resp := client.ListResourceProfileArtifactsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListTagsForResource -func (c *Macie2) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListResourceProfileArtifacts +func (c *Macie2) ListResourceProfileArtifactsRequest(input *ListResourceProfileArtifactsInput) (req *request.Request, output *ListResourceProfileArtifactsOutput) { op := &request.Operation{ - Name: opListTagsForResource, + Name: opListResourceProfileArtifacts, HTTPMethod: "GET", - HTTPPath: "/tags/{resourceArn}", + HTTPPath: "/resource-profiles/artifacts", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "", + TruncationToken: "", + }, } if input == nil { - input = &ListTagsForResourceInput{} + input = &ListResourceProfileArtifactsInput{} } - output = &ListTagsForResourceOutput{} + output = &ListResourceProfileArtifactsOutput{} req = c.newRequest(op, input, output) return } -// ListTagsForResource API operation for Amazon Macie 2. +// ListResourceProfileArtifacts API operation for Amazon Macie 2. // -// Retrieves the tags (keys and values) that are associated with an Amazon Macie -// resource. +// Retrieves information about objects that were selected from an S3 bucket +// for automated sensitive data discovery. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Macie 2's -// API operation ListTagsForResource for usage and error information. -// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListTagsForResource -func (c *Macie2) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { - req, out := c.ListTagsForResourceRequest(input) +// API operation ListResourceProfileArtifacts for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. +// +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. +// +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListResourceProfileArtifacts +func (c *Macie2) ListResourceProfileArtifacts(input *ListResourceProfileArtifactsInput) (*ListResourceProfileArtifactsOutput, error) { + req, out := c.ListResourceProfileArtifactsRequest(input) return out, req.Send() } -// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of +// ListResourceProfileArtifactsWithContext is the same as ListResourceProfileArtifacts with the addition of // the ability to pass a context and additional request options. // -// See ListTagsForResource for details on how to use this API operation. +// See ListResourceProfileArtifacts for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Macie2) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) { - req, out := c.ListTagsForResourceRequest(input) +func (c *Macie2) ListResourceProfileArtifactsWithContext(ctx aws.Context, input *ListResourceProfileArtifactsInput, opts ...request.Option) (*ListResourceProfileArtifactsOutput, error) { + req, out := c.ListResourceProfileArtifactsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opPutClassificationExportConfiguration = "PutClassificationExportConfiguration" +// ListResourceProfileArtifactsPages iterates over the pages of a ListResourceProfileArtifacts operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListResourceProfileArtifacts method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListResourceProfileArtifacts operation. +// pageNum := 0 +// err := client.ListResourceProfileArtifactsPages(params, +// func(page *macie2.ListResourceProfileArtifactsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Macie2) ListResourceProfileArtifactsPages(input *ListResourceProfileArtifactsInput, fn func(*ListResourceProfileArtifactsOutput, bool) bool) error { + return c.ListResourceProfileArtifactsPagesWithContext(aws.BackgroundContext(), input, fn) +} -// PutClassificationExportConfigurationRequest generates a "aws/request.Request" representing the -// client's request for the PutClassificationExportConfiguration operation. The "output" return +// ListResourceProfileArtifactsPagesWithContext same as ListResourceProfileArtifactsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Macie2) ListResourceProfileArtifactsPagesWithContext(ctx aws.Context, input *ListResourceProfileArtifactsInput, fn func(*ListResourceProfileArtifactsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListResourceProfileArtifactsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListResourceProfileArtifactsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListResourceProfileArtifactsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListResourceProfileDetections = "ListResourceProfileDetections" + +// ListResourceProfileDetectionsRequest generates a "aws/request.Request" representing the +// client's request for the ListResourceProfileDetections operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See PutClassificationExportConfiguration for more information on using the PutClassificationExportConfiguration +// See ListResourceProfileDetections for more information on using the ListResourceProfileDetections // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the PutClassificationExportConfigurationRequest method. -// req, resp := client.PutClassificationExportConfigurationRequest(params) +// // Example sending a request using the ListResourceProfileDetectionsRequest method. +// req, resp := client.ListResourceProfileDetectionsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutClassificationExportConfiguration -func (c *Macie2) PutClassificationExportConfigurationRequest(input *PutClassificationExportConfigurationInput) (req *request.Request, output *PutClassificationExportConfigurationOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListResourceProfileDetections +func (c *Macie2) ListResourceProfileDetectionsRequest(input *ListResourceProfileDetectionsInput) (req *request.Request, output *ListResourceProfileDetectionsOutput) { op := &request.Operation{ - Name: opPutClassificationExportConfiguration, - HTTPMethod: "PUT", - HTTPPath: "/classification-export-configuration", + Name: opListResourceProfileDetections, + HTTPMethod: "GET", + HTTPPath: "/resource-profiles/detections", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { - input = &PutClassificationExportConfigurationInput{} + input = &ListResourceProfileDetectionsInput{} } - output = &PutClassificationExportConfigurationOutput{} + output = &ListResourceProfileDetectionsOutput{} req = c.newRequest(op, input, output) return } -// PutClassificationExportConfiguration API operation for Amazon Macie 2. +// ListResourceProfileDetections API operation for Amazon Macie 2. // -// Creates or updates the configuration settings for storing data classification -// results. +// Retrieves information about the types and amount of sensitive data that Amazon +// Macie found in an S3 bucket. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Macie 2's -// API operation PutClassificationExportConfiguration for usage and error information. +// API operation ListResourceProfileDetections for usage and error information. // // Returned Error Types: // @@ -6039,87 +6773,144 @@ func (c *Macie2) PutClassificationExportConfigurationRequest(input *PutClassific // Provides information about an error that occurred because too many requests // were sent during a certain amount of time. // -// - ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutClassificationExportConfiguration -func (c *Macie2) PutClassificationExportConfiguration(input *PutClassificationExportConfigurationInput) (*PutClassificationExportConfigurationOutput, error) { - req, out := c.PutClassificationExportConfigurationRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListResourceProfileDetections +func (c *Macie2) ListResourceProfileDetections(input *ListResourceProfileDetectionsInput) (*ListResourceProfileDetectionsOutput, error) { + req, out := c.ListResourceProfileDetectionsRequest(input) return out, req.Send() } -// PutClassificationExportConfigurationWithContext is the same as PutClassificationExportConfiguration with the addition of +// ListResourceProfileDetectionsWithContext is the same as ListResourceProfileDetections with the addition of // the ability to pass a context and additional request options. // -// See PutClassificationExportConfiguration for details on how to use this API operation. +// See ListResourceProfileDetections for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Macie2) PutClassificationExportConfigurationWithContext(ctx aws.Context, input *PutClassificationExportConfigurationInput, opts ...request.Option) (*PutClassificationExportConfigurationOutput, error) { - req, out := c.PutClassificationExportConfigurationRequest(input) +func (c *Macie2) ListResourceProfileDetectionsWithContext(ctx aws.Context, input *ListResourceProfileDetectionsInput, opts ...request.Option) (*ListResourceProfileDetectionsOutput, error) { + req, out := c.ListResourceProfileDetectionsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opPutFindingsPublicationConfiguration = "PutFindingsPublicationConfiguration" +// ListResourceProfileDetectionsPages iterates over the pages of a ListResourceProfileDetections operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListResourceProfileDetections method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListResourceProfileDetections operation. +// pageNum := 0 +// err := client.ListResourceProfileDetectionsPages(params, +// func(page *macie2.ListResourceProfileDetectionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Macie2) ListResourceProfileDetectionsPages(input *ListResourceProfileDetectionsInput, fn func(*ListResourceProfileDetectionsOutput, bool) bool) error { + return c.ListResourceProfileDetectionsPagesWithContext(aws.BackgroundContext(), input, fn) +} -// PutFindingsPublicationConfigurationRequest generates a "aws/request.Request" representing the -// client's request for the PutFindingsPublicationConfiguration operation. The "output" return +// ListResourceProfileDetectionsPagesWithContext same as ListResourceProfileDetectionsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Macie2) ListResourceProfileDetectionsPagesWithContext(ctx aws.Context, input *ListResourceProfileDetectionsInput, fn func(*ListResourceProfileDetectionsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListResourceProfileDetectionsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListResourceProfileDetectionsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListResourceProfileDetectionsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListSensitivityInspectionTemplates = "ListSensitivityInspectionTemplates" + +// ListSensitivityInspectionTemplatesRequest generates a "aws/request.Request" representing the +// client's request for the ListSensitivityInspectionTemplates operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See PutFindingsPublicationConfiguration for more information on using the PutFindingsPublicationConfiguration +// See ListSensitivityInspectionTemplates for more information on using the ListSensitivityInspectionTemplates // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the PutFindingsPublicationConfigurationRequest method. -// req, resp := client.PutFindingsPublicationConfigurationRequest(params) +// // Example sending a request using the ListSensitivityInspectionTemplatesRequest method. +// req, resp := client.ListSensitivityInspectionTemplatesRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutFindingsPublicationConfiguration -func (c *Macie2) PutFindingsPublicationConfigurationRequest(input *PutFindingsPublicationConfigurationInput) (req *request.Request, output *PutFindingsPublicationConfigurationOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListSensitivityInspectionTemplates +func (c *Macie2) ListSensitivityInspectionTemplatesRequest(input *ListSensitivityInspectionTemplatesInput) (req *request.Request, output *ListSensitivityInspectionTemplatesOutput) { op := &request.Operation{ - Name: opPutFindingsPublicationConfiguration, - HTTPMethod: "PUT", - HTTPPath: "/findings-publication-configuration", + Name: opListSensitivityInspectionTemplates, + HTTPMethod: "GET", + HTTPPath: "/templates/sensitivity-inspections", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { - input = &PutFindingsPublicationConfigurationInput{} + input = &ListSensitivityInspectionTemplatesInput{} } - output = &PutFindingsPublicationConfigurationOutput{} + output = &ListSensitivityInspectionTemplatesOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// PutFindingsPublicationConfiguration API operation for Amazon Macie 2. +// ListSensitivityInspectionTemplates API operation for Amazon Macie 2. // -// Updates the configuration settings for publishing findings to Security Hub. +// Retrieves a subset of information about the sensitivity inspection template +// for an account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Macie 2's -// API operation PutFindingsPublicationConfiguration for usage and error information. +// API operation ListSensitivityInspectionTemplates for usage and error information. // // Returned Error Types: // +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// // - ValidationException // Provides information about an error that occurred due to a syntax error in // a request. @@ -6136,43 +6927,366 @@ func (c *Macie2) PutFindingsPublicationConfigurationRequest(input *PutFindingsPu // Provides information about an error that occurred due to insufficient access // to a specified resource. // -// - ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. -// -// - ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. -// -// - ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutFindingsPublicationConfiguration -func (c *Macie2) PutFindingsPublicationConfiguration(input *PutFindingsPublicationConfigurationInput) (*PutFindingsPublicationConfigurationOutput, error) { - req, out := c.PutFindingsPublicationConfigurationRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListSensitivityInspectionTemplates +func (c *Macie2) ListSensitivityInspectionTemplates(input *ListSensitivityInspectionTemplatesInput) (*ListSensitivityInspectionTemplatesOutput, error) { + req, out := c.ListSensitivityInspectionTemplatesRequest(input) return out, req.Send() } -// PutFindingsPublicationConfigurationWithContext is the same as PutFindingsPublicationConfiguration with the addition of +// ListSensitivityInspectionTemplatesWithContext is the same as ListSensitivityInspectionTemplates with the addition of // the ability to pass a context and additional request options. // -// See PutFindingsPublicationConfiguration for details on how to use this API operation. +// See ListSensitivityInspectionTemplates for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Macie2) PutFindingsPublicationConfigurationWithContext(ctx aws.Context, input *PutFindingsPublicationConfigurationInput, opts ...request.Option) (*PutFindingsPublicationConfigurationOutput, error) { - req, out := c.PutFindingsPublicationConfigurationRequest(input) +func (c *Macie2) ListSensitivityInspectionTemplatesWithContext(ctx aws.Context, input *ListSensitivityInspectionTemplatesInput, opts ...request.Option) (*ListSensitivityInspectionTemplatesOutput, error) { + req, out := c.ListSensitivityInspectionTemplatesRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opSearchResources = "SearchResources" - -// SearchResourcesRequest generates a "aws/request.Request" representing the +// ListSensitivityInspectionTemplatesPages iterates over the pages of a ListSensitivityInspectionTemplates operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListSensitivityInspectionTemplates method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListSensitivityInspectionTemplates operation. +// pageNum := 0 +// err := client.ListSensitivityInspectionTemplatesPages(params, +// func(page *macie2.ListSensitivityInspectionTemplatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Macie2) ListSensitivityInspectionTemplatesPages(input *ListSensitivityInspectionTemplatesInput, fn func(*ListSensitivityInspectionTemplatesOutput, bool) bool) error { + return c.ListSensitivityInspectionTemplatesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListSensitivityInspectionTemplatesPagesWithContext same as ListSensitivityInspectionTemplatesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Macie2) ListSensitivityInspectionTemplatesPagesWithContext(ctx aws.Context, input *ListSensitivityInspectionTemplatesInput, fn func(*ListSensitivityInspectionTemplatesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListSensitivityInspectionTemplatesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListSensitivityInspectionTemplatesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListSensitivityInspectionTemplatesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListTagsForResource = "ListTagsForResource" + +// ListTagsForResourceRequest generates a "aws/request.Request" representing the +// client's request for the ListTagsForResource operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListTagsForResource for more information on using the ListTagsForResource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListTagsForResource +func (c *Macie2) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { + op := &request.Operation{ + Name: opListTagsForResource, + HTTPMethod: "GET", + HTTPPath: "/tags/{resourceArn}", + } + + if input == nil { + input = &ListTagsForResourceInput{} + } + + output = &ListTagsForResourceOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListTagsForResource API operation for Amazon Macie 2. +// +// Retrieves the tags (keys and values) that are associated with an Amazon Macie +// resource. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Macie 2's +// API operation ListTagsForResource for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListTagsForResource +func (c *Macie2) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { + req, out := c.ListTagsForResourceRequest(input) + return out, req.Send() +} + +// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of +// the ability to pass a context and additional request options. +// +// See ListTagsForResource for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Macie2) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) { + req, out := c.ListTagsForResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opPutClassificationExportConfiguration = "PutClassificationExportConfiguration" + +// PutClassificationExportConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the PutClassificationExportConfiguration operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See PutClassificationExportConfiguration for more information on using the PutClassificationExportConfiguration +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the PutClassificationExportConfigurationRequest method. +// req, resp := client.PutClassificationExportConfigurationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutClassificationExportConfiguration +func (c *Macie2) PutClassificationExportConfigurationRequest(input *PutClassificationExportConfigurationInput) (req *request.Request, output *PutClassificationExportConfigurationOutput) { + op := &request.Operation{ + Name: opPutClassificationExportConfiguration, + HTTPMethod: "PUT", + HTTPPath: "/classification-export-configuration", + } + + if input == nil { + input = &PutClassificationExportConfigurationInput{} + } + + output = &PutClassificationExportConfigurationOutput{} + req = c.newRequest(op, input, output) + return +} + +// PutClassificationExportConfiguration API operation for Amazon Macie 2. +// +// Creates or updates the configuration settings for storing data classification +// results. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Macie 2's +// API operation PutClassificationExportConfiguration for usage and error information. +// +// Returned Error Types: +// +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. +// +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. +// +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. +// +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. +// +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutClassificationExportConfiguration +func (c *Macie2) PutClassificationExportConfiguration(input *PutClassificationExportConfigurationInput) (*PutClassificationExportConfigurationOutput, error) { + req, out := c.PutClassificationExportConfigurationRequest(input) + return out, req.Send() +} + +// PutClassificationExportConfigurationWithContext is the same as PutClassificationExportConfiguration with the addition of +// the ability to pass a context and additional request options. +// +// See PutClassificationExportConfiguration for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Macie2) PutClassificationExportConfigurationWithContext(ctx aws.Context, input *PutClassificationExportConfigurationInput, opts ...request.Option) (*PutClassificationExportConfigurationOutput, error) { + req, out := c.PutClassificationExportConfigurationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opPutFindingsPublicationConfiguration = "PutFindingsPublicationConfiguration" + +// PutFindingsPublicationConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the PutFindingsPublicationConfiguration operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See PutFindingsPublicationConfiguration for more information on using the PutFindingsPublicationConfiguration +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the PutFindingsPublicationConfigurationRequest method. +// req, resp := client.PutFindingsPublicationConfigurationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutFindingsPublicationConfiguration +func (c *Macie2) PutFindingsPublicationConfigurationRequest(input *PutFindingsPublicationConfigurationInput) (req *request.Request, output *PutFindingsPublicationConfigurationOutput) { + op := &request.Operation{ + Name: opPutFindingsPublicationConfiguration, + HTTPMethod: "PUT", + HTTPPath: "/findings-publication-configuration", + } + + if input == nil { + input = &PutFindingsPublicationConfigurationInput{} + } + + output = &PutFindingsPublicationConfigurationOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// PutFindingsPublicationConfiguration API operation for Amazon Macie 2. +// +// Updates the configuration settings for publishing findings to Security Hub. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Macie 2's +// API operation PutFindingsPublicationConfiguration for usage and error information. +// +// Returned Error Types: +// +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. +// +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. +// +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. +// +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. +// +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutFindingsPublicationConfiguration +func (c *Macie2) PutFindingsPublicationConfiguration(input *PutFindingsPublicationConfigurationInput) (*PutFindingsPublicationConfigurationOutput, error) { + req, out := c.PutFindingsPublicationConfigurationRequest(input) + return out, req.Send() +} + +// PutFindingsPublicationConfigurationWithContext is the same as PutFindingsPublicationConfiguration with the addition of +// the ability to pass a context and additional request options. +// +// See PutFindingsPublicationConfiguration for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Macie2) PutFindingsPublicationConfigurationWithContext(ctx aws.Context, input *PutFindingsPublicationConfigurationInput, opts ...request.Option) (*PutFindingsPublicationConfigurationOutput, error) { + req, out := c.PutFindingsPublicationConfigurationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opSearchResources = "SearchResources" + +// SearchResourcesRequest generates a "aws/request.Request" representing the // client's request for the SearchResources operation. The "output" return // value will be populated with the request's response once the request completes // successfully. @@ -6180,54 +7294,284 @@ const opSearchResources = "SearchResources" // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See SearchResources for more information on using the SearchResources +// See SearchResources for more information on using the SearchResources +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the SearchResourcesRequest method. +// req, resp := client.SearchResourcesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SearchResources +func (c *Macie2) SearchResourcesRequest(input *SearchResourcesInput) (req *request.Request, output *SearchResourcesOutput) { + op := &request.Operation{ + Name: opSearchResources, + HTTPMethod: "POST", + HTTPPath: "/datasources/search-resources", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &SearchResourcesInput{} + } + + output = &SearchResourcesOutput{} + req = c.newRequest(op, input, output) + return +} + +// SearchResources API operation for Amazon Macie 2. +// +// Retrieves (queries) statistical data and other information about Amazon Web +// Services resources that Amazon Macie monitors and analyzes. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Macie 2's +// API operation SearchResources for usage and error information. +// +// Returned Error Types: +// +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. +// +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. +// +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. +// +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. +// +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SearchResources +func (c *Macie2) SearchResources(input *SearchResourcesInput) (*SearchResourcesOutput, error) { + req, out := c.SearchResourcesRequest(input) + return out, req.Send() +} + +// SearchResourcesWithContext is the same as SearchResources with the addition of +// the ability to pass a context and additional request options. +// +// See SearchResources for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Macie2) SearchResourcesWithContext(ctx aws.Context, input *SearchResourcesInput, opts ...request.Option) (*SearchResourcesOutput, error) { + req, out := c.SearchResourcesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// SearchResourcesPages iterates over the pages of a SearchResources operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See SearchResources method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a SearchResources operation. +// pageNum := 0 +// err := client.SearchResourcesPages(params, +// func(page *macie2.SearchResourcesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Macie2) SearchResourcesPages(input *SearchResourcesInput, fn func(*SearchResourcesOutput, bool) bool) error { + return c.SearchResourcesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// SearchResourcesPagesWithContext same as SearchResourcesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Macie2) SearchResourcesPagesWithContext(ctx aws.Context, input *SearchResourcesInput, fn func(*SearchResourcesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *SearchResourcesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.SearchResourcesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*SearchResourcesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opTagResource = "TagResource" + +// TagResourceRequest generates a "aws/request.Request" representing the +// client's request for the TagResource operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See TagResource for more information on using the TagResource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TagResource +func (c *Macie2) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { + op := &request.Operation{ + Name: opTagResource, + HTTPMethod: "POST", + HTTPPath: "/tags/{resourceArn}", + } + + if input == nil { + input = &TagResourceInput{} + } + + output = &TagResourceOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// TagResource API operation for Amazon Macie 2. +// +// Adds or updates one or more tags (keys and values) that are associated with +// an Amazon Macie resource. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Macie 2's +// API operation TagResource for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TagResource +func (c *Macie2) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { + req, out := c.TagResourceRequest(input) + return out, req.Send() +} + +// TagResourceWithContext is the same as TagResource with the addition of +// the ability to pass a context and additional request options. +// +// See TagResource for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Macie2) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) { + req, out := c.TagResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opTestCustomDataIdentifier = "TestCustomDataIdentifier" + +// TestCustomDataIdentifierRequest generates a "aws/request.Request" representing the +// client's request for the TestCustomDataIdentifier operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See TestCustomDataIdentifier for more information on using the TestCustomDataIdentifier // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the SearchResourcesRequest method. -// req, resp := client.SearchResourcesRequest(params) +// // Example sending a request using the TestCustomDataIdentifierRequest method. +// req, resp := client.TestCustomDataIdentifierRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SearchResources -func (c *Macie2) SearchResourcesRequest(input *SearchResourcesInput) (req *request.Request, output *SearchResourcesOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TestCustomDataIdentifier +func (c *Macie2) TestCustomDataIdentifierRequest(input *TestCustomDataIdentifierInput) (req *request.Request, output *TestCustomDataIdentifierOutput) { op := &request.Operation{ - Name: opSearchResources, + Name: opTestCustomDataIdentifier, HTTPMethod: "POST", - HTTPPath: "/datasources/search-resources", - Paginator: &request.Paginator{ - InputTokens: []string{"nextToken"}, - OutputTokens: []string{"nextToken"}, - LimitToken: "maxResults", - TruncationToken: "", - }, + HTTPPath: "/custom-data-identifiers/test", } if input == nil { - input = &SearchResourcesInput{} + input = &TestCustomDataIdentifierInput{} } - output = &SearchResourcesOutput{} + output = &TestCustomDataIdentifierOutput{} req = c.newRequest(op, input, output) return } -// SearchResources API operation for Amazon Macie 2. +// TestCustomDataIdentifier API operation for Amazon Macie 2. // -// Retrieves (queries) statistical data and other information about Amazon Web -// Services resources that Amazon Macie monitors and analyzes. +// Tests a custom data identifier. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Macie 2's -// API operation SearchResources for usage and error information. +// API operation TestCustomDataIdentifier for usage and error information. // // Returned Error Types: // @@ -6259,205 +7603,343 @@ func (c *Macie2) SearchResourcesRequest(input *SearchResourcesInput) (req *reque // Provides information about an error that occurred due to a versioning conflict // for a specified resource. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SearchResources -func (c *Macie2) SearchResources(input *SearchResourcesInput) (*SearchResourcesOutput, error) { - req, out := c.SearchResourcesRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TestCustomDataIdentifier +func (c *Macie2) TestCustomDataIdentifier(input *TestCustomDataIdentifierInput) (*TestCustomDataIdentifierOutput, error) { + req, out := c.TestCustomDataIdentifierRequest(input) return out, req.Send() } -// SearchResourcesWithContext is the same as SearchResources with the addition of +// TestCustomDataIdentifierWithContext is the same as TestCustomDataIdentifier with the addition of // the ability to pass a context and additional request options. // -// See SearchResources for details on how to use this API operation. +// See TestCustomDataIdentifier for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Macie2) SearchResourcesWithContext(ctx aws.Context, input *SearchResourcesInput, opts ...request.Option) (*SearchResourcesOutput, error) { - req, out := c.SearchResourcesRequest(input) +func (c *Macie2) TestCustomDataIdentifierWithContext(ctx aws.Context, input *TestCustomDataIdentifierInput, opts ...request.Option) (*TestCustomDataIdentifierOutput, error) { + req, out := c.TestCustomDataIdentifierRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// SearchResourcesPages iterates over the pages of a SearchResources operation, -// calling the "fn" function with the response data for each page. To stop -// iterating, return false from the fn function. +const opUntagResource = "UntagResource" + +// UntagResourceRequest generates a "aws/request.Request" representing the +// client's request for the UntagResource operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. // -// See SearchResources method for more information on how to use this operation. +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. // -// Note: This operation can generate multiple requests to a service. +// See UntagResource for more information on using the UntagResource +// API call, and error handling. // -// // Example iterating over at most 3 pages of a SearchResources operation. -// pageNum := 0 -// err := client.SearchResourcesPages(params, -// func(page *macie2.SearchResourcesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -func (c *Macie2) SearchResourcesPages(input *SearchResourcesInput, fn func(*SearchResourcesOutput, bool) bool) error { - return c.SearchResourcesPagesWithContext(aws.BackgroundContext(), input, fn) +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UntagResource +func (c *Macie2) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { + op := &request.Operation{ + Name: opUntagResource, + HTTPMethod: "DELETE", + HTTPPath: "/tags/{resourceArn}", + } + + if input == nil { + input = &UntagResourceInput{} + } + + output = &UntagResourceOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return } -// SearchResourcesPagesWithContext same as SearchResourcesPages except -// it takes a Context and allows setting request options on the pages. +// UntagResource API operation for Amazon Macie 2. +// +// Removes one or more tags (keys and values) from an Amazon Macie resource. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Macie 2's +// API operation UntagResource for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UntagResource +func (c *Macie2) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { + req, out := c.UntagResourceRequest(input) + return out, req.Send() +} + +// UntagResourceWithContext is the same as UntagResource with the addition of +// the ability to pass a context and additional request options. +// +// See UntagResource for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Macie2) SearchResourcesPagesWithContext(ctx aws.Context, input *SearchResourcesInput, fn func(*SearchResourcesOutput, bool) bool, opts ...request.Option) error { - p := request.Pagination{ - NewRequest: func() (*request.Request, error) { - var inCpy *SearchResourcesInput - if input != nil { - tmp := *input - inCpy = &tmp - } - req, _ := c.SearchResourcesRequest(inCpy) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return req, nil - }, +func (c *Macie2) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) { + req, out := c.UntagResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateAllowList = "UpdateAllowList" + +// UpdateAllowListRequest generates a "aws/request.Request" representing the +// client's request for the UpdateAllowList operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateAllowList for more information on using the UpdateAllowList +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateAllowListRequest method. +// req, resp := client.UpdateAllowListRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateAllowList +func (c *Macie2) UpdateAllowListRequest(input *UpdateAllowListInput) (req *request.Request, output *UpdateAllowListOutput) { + op := &request.Operation{ + Name: opUpdateAllowList, + HTTPMethod: "PUT", + HTTPPath: "/allow-lists/{id}", } - for p.Next() { - if !fn(p.Page().(*SearchResourcesOutput), !p.HasNextPage()) { - break - } + if input == nil { + input = &UpdateAllowListInput{} } - return p.Err() + output = &UpdateAllowListOutput{} + req = c.newRequest(op, input, output) + return } -const opTagResource = "TagResource" +// UpdateAllowList API operation for Amazon Macie 2. +// +// Updates the settings for an allow list. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Macie 2's +// API operation UpdateAllowList for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. +// +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. +// +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateAllowList +func (c *Macie2) UpdateAllowList(input *UpdateAllowListInput) (*UpdateAllowListOutput, error) { + req, out := c.UpdateAllowListRequest(input) + return out, req.Send() +} -// TagResourceRequest generates a "aws/request.Request" representing the -// client's request for the TagResource operation. The "output" return +// UpdateAllowListWithContext is the same as UpdateAllowList with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateAllowList for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Macie2) UpdateAllowListWithContext(ctx aws.Context, input *UpdateAllowListInput, opts ...request.Option) (*UpdateAllowListOutput, error) { + req, out := c.UpdateAllowListRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateAutomatedDiscoveryConfiguration = "UpdateAutomatedDiscoveryConfiguration" + +// UpdateAutomatedDiscoveryConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the UpdateAutomatedDiscoveryConfiguration operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See TagResource for more information on using the TagResource +// See UpdateAutomatedDiscoveryConfiguration for more information on using the UpdateAutomatedDiscoveryConfiguration // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) +// // Example sending a request using the UpdateAutomatedDiscoveryConfigurationRequest method. +// req, resp := client.UpdateAutomatedDiscoveryConfigurationRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TagResource -func (c *Macie2) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateAutomatedDiscoveryConfiguration +func (c *Macie2) UpdateAutomatedDiscoveryConfigurationRequest(input *UpdateAutomatedDiscoveryConfigurationInput) (req *request.Request, output *UpdateAutomatedDiscoveryConfigurationOutput) { op := &request.Operation{ - Name: opTagResource, - HTTPMethod: "POST", - HTTPPath: "/tags/{resourceArn}", + Name: opUpdateAutomatedDiscoveryConfiguration, + HTTPMethod: "PUT", + HTTPPath: "/automated-discovery/configuration", } if input == nil { - input = &TagResourceInput{} + input = &UpdateAutomatedDiscoveryConfigurationInput{} } - output = &TagResourceOutput{} + output = &UpdateAutomatedDiscoveryConfigurationOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// TagResource API operation for Amazon Macie 2. +// UpdateAutomatedDiscoveryConfiguration API operation for Amazon Macie 2. // -// Adds or updates one or more tags (keys and values) that are associated with -// an Amazon Macie resource. +// Enables or disables automated sensitive data discovery for an account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Macie 2's -// API operation TagResource for usage and error information. -// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TagResource -func (c *Macie2) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { - req, out := c.TagResourceRequest(input) +// API operation UpdateAutomatedDiscoveryConfiguration for usage and error information. +// +// Returned Error Types: +// +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. +// +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateAutomatedDiscoveryConfiguration +func (c *Macie2) UpdateAutomatedDiscoveryConfiguration(input *UpdateAutomatedDiscoveryConfigurationInput) (*UpdateAutomatedDiscoveryConfigurationOutput, error) { + req, out := c.UpdateAutomatedDiscoveryConfigurationRequest(input) return out, req.Send() } -// TagResourceWithContext is the same as TagResource with the addition of +// UpdateAutomatedDiscoveryConfigurationWithContext is the same as UpdateAutomatedDiscoveryConfiguration with the addition of // the ability to pass a context and additional request options. // -// See TagResource for details on how to use this API operation. +// See UpdateAutomatedDiscoveryConfiguration for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Macie2) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) { - req, out := c.TagResourceRequest(input) +func (c *Macie2) UpdateAutomatedDiscoveryConfigurationWithContext(ctx aws.Context, input *UpdateAutomatedDiscoveryConfigurationInput, opts ...request.Option) (*UpdateAutomatedDiscoveryConfigurationOutput, error) { + req, out := c.UpdateAutomatedDiscoveryConfigurationRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opTestCustomDataIdentifier = "TestCustomDataIdentifier" +const opUpdateClassificationJob = "UpdateClassificationJob" -// TestCustomDataIdentifierRequest generates a "aws/request.Request" representing the -// client's request for the TestCustomDataIdentifier operation. The "output" return +// UpdateClassificationJobRequest generates a "aws/request.Request" representing the +// client's request for the UpdateClassificationJob operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See TestCustomDataIdentifier for more information on using the TestCustomDataIdentifier +// See UpdateClassificationJob for more information on using the UpdateClassificationJob // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the TestCustomDataIdentifierRequest method. -// req, resp := client.TestCustomDataIdentifierRequest(params) +// // Example sending a request using the UpdateClassificationJobRequest method. +// req, resp := client.UpdateClassificationJobRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TestCustomDataIdentifier -func (c *Macie2) TestCustomDataIdentifierRequest(input *TestCustomDataIdentifierInput) (req *request.Request, output *TestCustomDataIdentifierOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateClassificationJob +func (c *Macie2) UpdateClassificationJobRequest(input *UpdateClassificationJobInput) (req *request.Request, output *UpdateClassificationJobOutput) { op := &request.Operation{ - Name: opTestCustomDataIdentifier, - HTTPMethod: "POST", - HTTPPath: "/custom-data-identifiers/test", + Name: opUpdateClassificationJob, + HTTPMethod: "PATCH", + HTTPPath: "/jobs/{jobId}", } if input == nil { - input = &TestCustomDataIdentifierInput{} + input = &UpdateClassificationJobInput{} } - output = &TestCustomDataIdentifierOutput{} + output = &UpdateClassificationJobOutput{} req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// TestCustomDataIdentifier API operation for Amazon Macie 2. +// UpdateClassificationJob API operation for Amazon Macie 2. // -// Tests a custom data identifier. +// Changes the status of a classification job. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Macie 2's -// API operation TestCustomDataIdentifier for usage and error information. +// API operation UpdateClassificationJob for usage and error information. // // Returned Error Types: // @@ -6489,164 +7971,179 @@ func (c *Macie2) TestCustomDataIdentifierRequest(input *TestCustomDataIdentifier // Provides information about an error that occurred due to a versioning conflict // for a specified resource. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TestCustomDataIdentifier -func (c *Macie2) TestCustomDataIdentifier(input *TestCustomDataIdentifierInput) (*TestCustomDataIdentifierOutput, error) { - req, out := c.TestCustomDataIdentifierRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateClassificationJob +func (c *Macie2) UpdateClassificationJob(input *UpdateClassificationJobInput) (*UpdateClassificationJobOutput, error) { + req, out := c.UpdateClassificationJobRequest(input) return out, req.Send() } -// TestCustomDataIdentifierWithContext is the same as TestCustomDataIdentifier with the addition of +// UpdateClassificationJobWithContext is the same as UpdateClassificationJob with the addition of // the ability to pass a context and additional request options. // -// See TestCustomDataIdentifier for details on how to use this API operation. +// See UpdateClassificationJob for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Macie2) TestCustomDataIdentifierWithContext(ctx aws.Context, input *TestCustomDataIdentifierInput, opts ...request.Option) (*TestCustomDataIdentifierOutput, error) { - req, out := c.TestCustomDataIdentifierRequest(input) +func (c *Macie2) UpdateClassificationJobWithContext(ctx aws.Context, input *UpdateClassificationJobInput, opts ...request.Option) (*UpdateClassificationJobOutput, error) { + req, out := c.UpdateClassificationJobRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUntagResource = "UntagResource" +const opUpdateClassificationScope = "UpdateClassificationScope" -// UntagResourceRequest generates a "aws/request.Request" representing the -// client's request for the UntagResource operation. The "output" return +// UpdateClassificationScopeRequest generates a "aws/request.Request" representing the +// client's request for the UpdateClassificationScope operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UntagResource for more information on using the UntagResource +// See UpdateClassificationScope for more information on using the UpdateClassificationScope // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) +// // Example sending a request using the UpdateClassificationScopeRequest method. +// req, resp := client.UpdateClassificationScopeRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UntagResource -func (c *Macie2) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateClassificationScope +func (c *Macie2) UpdateClassificationScopeRequest(input *UpdateClassificationScopeInput) (req *request.Request, output *UpdateClassificationScopeOutput) { op := &request.Operation{ - Name: opUntagResource, - HTTPMethod: "DELETE", - HTTPPath: "/tags/{resourceArn}", + Name: opUpdateClassificationScope, + HTTPMethod: "PATCH", + HTTPPath: "/classification-scopes/{id}", } if input == nil { - input = &UntagResourceInput{} + input = &UpdateClassificationScopeInput{} } - output = &UntagResourceOutput{} + output = &UpdateClassificationScopeOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// UntagResource API operation for Amazon Macie 2. +// UpdateClassificationScope API operation for Amazon Macie 2. // -// Removes one or more tags (keys and values) from an Amazon Macie resource. +// Updates the classification scope settings for an account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Macie 2's -// API operation UntagResource for usage and error information. -// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UntagResource -func (c *Macie2) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { - req, out := c.UntagResourceRequest(input) +// API operation UpdateClassificationScope for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. +// +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. +// +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateClassificationScope +func (c *Macie2) UpdateClassificationScope(input *UpdateClassificationScopeInput) (*UpdateClassificationScopeOutput, error) { + req, out := c.UpdateClassificationScopeRequest(input) return out, req.Send() } -// UntagResourceWithContext is the same as UntagResource with the addition of +// UpdateClassificationScopeWithContext is the same as UpdateClassificationScope with the addition of // the ability to pass a context and additional request options. // -// See UntagResource for details on how to use this API operation. +// See UpdateClassificationScope for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Macie2) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) { - req, out := c.UntagResourceRequest(input) +func (c *Macie2) UpdateClassificationScopeWithContext(ctx aws.Context, input *UpdateClassificationScopeInput, opts ...request.Option) (*UpdateClassificationScopeOutput, error) { + req, out := c.UpdateClassificationScopeRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateAllowList = "UpdateAllowList" +const opUpdateFindingsFilter = "UpdateFindingsFilter" -// UpdateAllowListRequest generates a "aws/request.Request" representing the -// client's request for the UpdateAllowList operation. The "output" return +// UpdateFindingsFilterRequest generates a "aws/request.Request" representing the +// client's request for the UpdateFindingsFilter operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateAllowList for more information on using the UpdateAllowList +// See UpdateFindingsFilter for more information on using the UpdateFindingsFilter // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the UpdateAllowListRequest method. -// req, resp := client.UpdateAllowListRequest(params) +// // Example sending a request using the UpdateFindingsFilterRequest method. +// req, resp := client.UpdateFindingsFilterRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateAllowList -func (c *Macie2) UpdateAllowListRequest(input *UpdateAllowListInput) (req *request.Request, output *UpdateAllowListOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateFindingsFilter +func (c *Macie2) UpdateFindingsFilterRequest(input *UpdateFindingsFilterInput) (req *request.Request, output *UpdateFindingsFilterOutput) { op := &request.Operation{ - Name: opUpdateAllowList, - HTTPMethod: "PUT", - HTTPPath: "/allow-lists/{id}", + Name: opUpdateFindingsFilter, + HTTPMethod: "PATCH", + HTTPPath: "/findingsfilters/{id}", } if input == nil { - input = &UpdateAllowListInput{} + input = &UpdateFindingsFilterInput{} } - output = &UpdateAllowListOutput{} + output = &UpdateFindingsFilterOutput{} req = c.newRequest(op, input, output) return } -// UpdateAllowList API operation for Amazon Macie 2. +// UpdateFindingsFilter API operation for Amazon Macie 2. // -// Updates the settings for an allow list. +// Updates the criteria and other settings for a findings filter. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Macie 2's -// API operation UpdateAllowList for usage and error information. +// API operation UpdateFindingsFilter for usage and error information. // // Returned Error Types: // -// - ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. -// -// - ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. -// // - ValidationException // Provides information about an error that occurred due to a syntax error in // a request. @@ -6655,84 +8152,101 @@ func (c *Macie2) UpdateAllowListRequest(input *UpdateAllowListInput) (req *reque // Provides information about an error that occurred due to an unknown internal // server error, exception, or failure. // +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. +// // - AccessDeniedException // Provides information about an error that occurred due to insufficient access // to a specified resource. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateAllowList -func (c *Macie2) UpdateAllowList(input *UpdateAllowListInput) (*UpdateAllowListOutput, error) { - req, out := c.UpdateAllowListRequest(input) +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. +// +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateFindingsFilter +func (c *Macie2) UpdateFindingsFilter(input *UpdateFindingsFilterInput) (*UpdateFindingsFilterOutput, error) { + req, out := c.UpdateFindingsFilterRequest(input) return out, req.Send() } -// UpdateAllowListWithContext is the same as UpdateAllowList with the addition of +// UpdateFindingsFilterWithContext is the same as UpdateFindingsFilter with the addition of // the ability to pass a context and additional request options. // -// See UpdateAllowList for details on how to use this API operation. +// See UpdateFindingsFilter for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Macie2) UpdateAllowListWithContext(ctx aws.Context, input *UpdateAllowListInput, opts ...request.Option) (*UpdateAllowListOutput, error) { - req, out := c.UpdateAllowListRequest(input) +func (c *Macie2) UpdateFindingsFilterWithContext(ctx aws.Context, input *UpdateFindingsFilterInput, opts ...request.Option) (*UpdateFindingsFilterOutput, error) { + req, out := c.UpdateFindingsFilterRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateClassificationJob = "UpdateClassificationJob" +const opUpdateMacieSession = "UpdateMacieSession" -// UpdateClassificationJobRequest generates a "aws/request.Request" representing the -// client's request for the UpdateClassificationJob operation. The "output" return +// UpdateMacieSessionRequest generates a "aws/request.Request" representing the +// client's request for the UpdateMacieSession operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateClassificationJob for more information on using the UpdateClassificationJob +// See UpdateMacieSession for more information on using the UpdateMacieSession // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the UpdateClassificationJobRequest method. -// req, resp := client.UpdateClassificationJobRequest(params) +// // Example sending a request using the UpdateMacieSessionRequest method. +// req, resp := client.UpdateMacieSessionRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateClassificationJob -func (c *Macie2) UpdateClassificationJobRequest(input *UpdateClassificationJobInput) (req *request.Request, output *UpdateClassificationJobOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateMacieSession +func (c *Macie2) UpdateMacieSessionRequest(input *UpdateMacieSessionInput) (req *request.Request, output *UpdateMacieSessionOutput) { op := &request.Operation{ - Name: opUpdateClassificationJob, + Name: opUpdateMacieSession, HTTPMethod: "PATCH", - HTTPPath: "/jobs/{jobId}", + HTTPPath: "/macie", } if input == nil { - input = &UpdateClassificationJobInput{} + input = &UpdateMacieSessionInput{} } - output = &UpdateClassificationJobOutput{} + output = &UpdateMacieSessionOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// UpdateClassificationJob API operation for Amazon Macie 2. +// UpdateMacieSession API operation for Amazon Macie 2. // -// Changes the status of a classification job. +// Suspends or re-enables Amazon Macie, or updates the configuration settings +// for a Macie account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Macie 2's -// API operation UpdateClassificationJob for usage and error information. +// API operation UpdateMacieSession for usage and error information. // // Returned Error Types: // @@ -6764,79 +8278,81 @@ func (c *Macie2) UpdateClassificationJobRequest(input *UpdateClassificationJobIn // Provides information about an error that occurred due to a versioning conflict // for a specified resource. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateClassificationJob -func (c *Macie2) UpdateClassificationJob(input *UpdateClassificationJobInput) (*UpdateClassificationJobOutput, error) { - req, out := c.UpdateClassificationJobRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateMacieSession +func (c *Macie2) UpdateMacieSession(input *UpdateMacieSessionInput) (*UpdateMacieSessionOutput, error) { + req, out := c.UpdateMacieSessionRequest(input) return out, req.Send() } -// UpdateClassificationJobWithContext is the same as UpdateClassificationJob with the addition of +// UpdateMacieSessionWithContext is the same as UpdateMacieSession with the addition of // the ability to pass a context and additional request options. // -// See UpdateClassificationJob for details on how to use this API operation. +// See UpdateMacieSession for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Macie2) UpdateClassificationJobWithContext(ctx aws.Context, input *UpdateClassificationJobInput, opts ...request.Option) (*UpdateClassificationJobOutput, error) { - req, out := c.UpdateClassificationJobRequest(input) +func (c *Macie2) UpdateMacieSessionWithContext(ctx aws.Context, input *UpdateMacieSessionInput, opts ...request.Option) (*UpdateMacieSessionOutput, error) { + req, out := c.UpdateMacieSessionRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateFindingsFilter = "UpdateFindingsFilter" +const opUpdateMemberSession = "UpdateMemberSession" -// UpdateFindingsFilterRequest generates a "aws/request.Request" representing the -// client's request for the UpdateFindingsFilter operation. The "output" return +// UpdateMemberSessionRequest generates a "aws/request.Request" representing the +// client's request for the UpdateMemberSession operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateFindingsFilter for more information on using the UpdateFindingsFilter +// See UpdateMemberSession for more information on using the UpdateMemberSession // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the UpdateFindingsFilterRequest method. -// req, resp := client.UpdateFindingsFilterRequest(params) +// // Example sending a request using the UpdateMemberSessionRequest method. +// req, resp := client.UpdateMemberSessionRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateFindingsFilter -func (c *Macie2) UpdateFindingsFilterRequest(input *UpdateFindingsFilterInput) (req *request.Request, output *UpdateFindingsFilterOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateMemberSession +func (c *Macie2) UpdateMemberSessionRequest(input *UpdateMemberSessionInput) (req *request.Request, output *UpdateMemberSessionOutput) { op := &request.Operation{ - Name: opUpdateFindingsFilter, + Name: opUpdateMemberSession, HTTPMethod: "PATCH", - HTTPPath: "/findingsfilters/{id}", + HTTPPath: "/macie/members/{id}", } if input == nil { - input = &UpdateFindingsFilterInput{} + input = &UpdateMemberSessionInput{} } - output = &UpdateFindingsFilterOutput{} + output = &UpdateMemberSessionOutput{} req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// UpdateFindingsFilter API operation for Amazon Macie 2. +// UpdateMemberSession API operation for Amazon Macie 2. // -// Updates the criteria and other settings for a findings filter. +// Enables an Amazon Macie administrator to suspend or re-enable Macie for a +// member account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Macie 2's -// API operation UpdateFindingsFilter for usage and error information. +// API operation UpdateMemberSession for usage and error information. // // Returned Error Types: // @@ -6868,81 +8384,80 @@ func (c *Macie2) UpdateFindingsFilterRequest(input *UpdateFindingsFilterInput) ( // Provides information about an error that occurred due to a versioning conflict // for a specified resource. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateFindingsFilter -func (c *Macie2) UpdateFindingsFilter(input *UpdateFindingsFilterInput) (*UpdateFindingsFilterOutput, error) { - req, out := c.UpdateFindingsFilterRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateMemberSession +func (c *Macie2) UpdateMemberSession(input *UpdateMemberSessionInput) (*UpdateMemberSessionOutput, error) { + req, out := c.UpdateMemberSessionRequest(input) return out, req.Send() } -// UpdateFindingsFilterWithContext is the same as UpdateFindingsFilter with the addition of +// UpdateMemberSessionWithContext is the same as UpdateMemberSession with the addition of // the ability to pass a context and additional request options. // -// See UpdateFindingsFilter for details on how to use this API operation. +// See UpdateMemberSession for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Macie2) UpdateFindingsFilterWithContext(ctx aws.Context, input *UpdateFindingsFilterInput, opts ...request.Option) (*UpdateFindingsFilterOutput, error) { - req, out := c.UpdateFindingsFilterRequest(input) +func (c *Macie2) UpdateMemberSessionWithContext(ctx aws.Context, input *UpdateMemberSessionInput, opts ...request.Option) (*UpdateMemberSessionOutput, error) { + req, out := c.UpdateMemberSessionRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateMacieSession = "UpdateMacieSession" +const opUpdateOrganizationConfiguration = "UpdateOrganizationConfiguration" -// UpdateMacieSessionRequest generates a "aws/request.Request" representing the -// client's request for the UpdateMacieSession operation. The "output" return +// UpdateOrganizationConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the UpdateOrganizationConfiguration operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateMacieSession for more information on using the UpdateMacieSession +// See UpdateOrganizationConfiguration for more information on using the UpdateOrganizationConfiguration // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the UpdateMacieSessionRequest method. -// req, resp := client.UpdateMacieSessionRequest(params) +// // Example sending a request using the UpdateOrganizationConfigurationRequest method. +// req, resp := client.UpdateOrganizationConfigurationRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateMacieSession -func (c *Macie2) UpdateMacieSessionRequest(input *UpdateMacieSessionInput) (req *request.Request, output *UpdateMacieSessionOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateOrganizationConfiguration +func (c *Macie2) UpdateOrganizationConfigurationRequest(input *UpdateOrganizationConfigurationInput) (req *request.Request, output *UpdateOrganizationConfigurationOutput) { op := &request.Operation{ - Name: opUpdateMacieSession, + Name: opUpdateOrganizationConfiguration, HTTPMethod: "PATCH", - HTTPPath: "/macie", + HTTPPath: "/admin/configuration", } if input == nil { - input = &UpdateMacieSessionInput{} + input = &UpdateOrganizationConfigurationInput{} } - output = &UpdateMacieSessionOutput{} + output = &UpdateOrganizationConfigurationOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// UpdateMacieSession API operation for Amazon Macie 2. +// UpdateOrganizationConfiguration API operation for Amazon Macie 2. // -// Suspends or re-enables Amazon Macie, or updates the configuration settings -// for a Macie account. +// Updates the Amazon Macie configuration settings for an organization in Organizations. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Macie 2's -// API operation UpdateMacieSession for usage and error information. +// API operation UpdateOrganizationConfiguration for usage and error information. // // Returned Error Types: // @@ -6974,81 +8489,80 @@ func (c *Macie2) UpdateMacieSessionRequest(input *UpdateMacieSessionInput) (req // Provides information about an error that occurred due to a versioning conflict // for a specified resource. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateMacieSession -func (c *Macie2) UpdateMacieSession(input *UpdateMacieSessionInput) (*UpdateMacieSessionOutput, error) { - req, out := c.UpdateMacieSessionRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateOrganizationConfiguration +func (c *Macie2) UpdateOrganizationConfiguration(input *UpdateOrganizationConfigurationInput) (*UpdateOrganizationConfigurationOutput, error) { + req, out := c.UpdateOrganizationConfigurationRequest(input) return out, req.Send() } -// UpdateMacieSessionWithContext is the same as UpdateMacieSession with the addition of +// UpdateOrganizationConfigurationWithContext is the same as UpdateOrganizationConfiguration with the addition of // the ability to pass a context and additional request options. // -// See UpdateMacieSession for details on how to use this API operation. +// See UpdateOrganizationConfiguration for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Macie2) UpdateMacieSessionWithContext(ctx aws.Context, input *UpdateMacieSessionInput, opts ...request.Option) (*UpdateMacieSessionOutput, error) { - req, out := c.UpdateMacieSessionRequest(input) +func (c *Macie2) UpdateOrganizationConfigurationWithContext(ctx aws.Context, input *UpdateOrganizationConfigurationInput, opts ...request.Option) (*UpdateOrganizationConfigurationOutput, error) { + req, out := c.UpdateOrganizationConfigurationRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateMemberSession = "UpdateMemberSession" +const opUpdateResourceProfile = "UpdateResourceProfile" -// UpdateMemberSessionRequest generates a "aws/request.Request" representing the -// client's request for the UpdateMemberSession operation. The "output" return +// UpdateResourceProfileRequest generates a "aws/request.Request" representing the +// client's request for the UpdateResourceProfile operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateMemberSession for more information on using the UpdateMemberSession +// See UpdateResourceProfile for more information on using the UpdateResourceProfile // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the UpdateMemberSessionRequest method. -// req, resp := client.UpdateMemberSessionRequest(params) +// // Example sending a request using the UpdateResourceProfileRequest method. +// req, resp := client.UpdateResourceProfileRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateMemberSession -func (c *Macie2) UpdateMemberSessionRequest(input *UpdateMemberSessionInput) (req *request.Request, output *UpdateMemberSessionOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateResourceProfile +func (c *Macie2) UpdateResourceProfileRequest(input *UpdateResourceProfileInput) (req *request.Request, output *UpdateResourceProfileOutput) { op := &request.Operation{ - Name: opUpdateMemberSession, + Name: opUpdateResourceProfile, HTTPMethod: "PATCH", - HTTPPath: "/macie/members/{id}", + HTTPPath: "/resource-profiles", } if input == nil { - input = &UpdateMemberSessionInput{} + input = &UpdateResourceProfileInput{} } - output = &UpdateMemberSessionOutput{} + output = &UpdateResourceProfileOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// UpdateMemberSession API operation for Amazon Macie 2. +// UpdateResourceProfile API operation for Amazon Macie 2. // -// Enables an Amazon Macie administrator to suspend or re-enable Macie for a -// member account. +// Updates the sensitivity score for an S3 bucket. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Macie 2's -// API operation UpdateMemberSession for usage and error information. +// API operation UpdateResourceProfile for usage and error information. // // Returned Error Types: // @@ -7076,84 +8590,80 @@ func (c *Macie2) UpdateMemberSessionRequest(input *UpdateMemberSessionInput) (re // Provides information about an error that occurred because too many requests // were sent during a certain amount of time. // -// - ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateMemberSession -func (c *Macie2) UpdateMemberSession(input *UpdateMemberSessionInput) (*UpdateMemberSessionOutput, error) { - req, out := c.UpdateMemberSessionRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateResourceProfile +func (c *Macie2) UpdateResourceProfile(input *UpdateResourceProfileInput) (*UpdateResourceProfileOutput, error) { + req, out := c.UpdateResourceProfileRequest(input) return out, req.Send() } -// UpdateMemberSessionWithContext is the same as UpdateMemberSession with the addition of +// UpdateResourceProfileWithContext is the same as UpdateResourceProfile with the addition of // the ability to pass a context and additional request options. // -// See UpdateMemberSession for details on how to use this API operation. +// See UpdateResourceProfile for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Macie2) UpdateMemberSessionWithContext(ctx aws.Context, input *UpdateMemberSessionInput, opts ...request.Option) (*UpdateMemberSessionOutput, error) { - req, out := c.UpdateMemberSessionRequest(input) +func (c *Macie2) UpdateResourceProfileWithContext(ctx aws.Context, input *UpdateResourceProfileInput, opts ...request.Option) (*UpdateResourceProfileOutput, error) { + req, out := c.UpdateResourceProfileRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateOrganizationConfiguration = "UpdateOrganizationConfiguration" +const opUpdateResourceProfileDetections = "UpdateResourceProfileDetections" -// UpdateOrganizationConfigurationRequest generates a "aws/request.Request" representing the -// client's request for the UpdateOrganizationConfiguration operation. The "output" return +// UpdateResourceProfileDetectionsRequest generates a "aws/request.Request" representing the +// client's request for the UpdateResourceProfileDetections operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateOrganizationConfiguration for more information on using the UpdateOrganizationConfiguration +// See UpdateResourceProfileDetections for more information on using the UpdateResourceProfileDetections // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the UpdateOrganizationConfigurationRequest method. -// req, resp := client.UpdateOrganizationConfigurationRequest(params) +// // Example sending a request using the UpdateResourceProfileDetectionsRequest method. +// req, resp := client.UpdateResourceProfileDetectionsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateOrganizationConfiguration -func (c *Macie2) UpdateOrganizationConfigurationRequest(input *UpdateOrganizationConfigurationInput) (req *request.Request, output *UpdateOrganizationConfigurationOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateResourceProfileDetections +func (c *Macie2) UpdateResourceProfileDetectionsRequest(input *UpdateResourceProfileDetectionsInput) (req *request.Request, output *UpdateResourceProfileDetectionsOutput) { op := &request.Operation{ - Name: opUpdateOrganizationConfiguration, + Name: opUpdateResourceProfileDetections, HTTPMethod: "PATCH", - HTTPPath: "/admin/configuration", + HTTPPath: "/resource-profiles/detections", } if input == nil { - input = &UpdateOrganizationConfigurationInput{} + input = &UpdateResourceProfileDetectionsInput{} } - output = &UpdateOrganizationConfigurationOutput{} + output = &UpdateResourceProfileDetectionsOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// UpdateOrganizationConfiguration API operation for Amazon Macie 2. +// UpdateResourceProfileDetections API operation for Amazon Macie 2. // -// Updates the Amazon Macie configuration settings for an organization in Organizations. +// Updates the sensitivity scoring settings for an S3 bucket. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Macie 2's -// API operation UpdateOrganizationConfiguration for usage and error information. +// API operation UpdateResourceProfileDetections for usage and error information. // // Returned Error Types: // @@ -7181,27 +8691,23 @@ func (c *Macie2) UpdateOrganizationConfigurationRequest(input *UpdateOrganizatio // Provides information about an error that occurred because too many requests // were sent during a certain amount of time. // -// - ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateOrganizationConfiguration -func (c *Macie2) UpdateOrganizationConfiguration(input *UpdateOrganizationConfigurationInput) (*UpdateOrganizationConfigurationOutput, error) { - req, out := c.UpdateOrganizationConfigurationRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateResourceProfileDetections +func (c *Macie2) UpdateResourceProfileDetections(input *UpdateResourceProfileDetectionsInput) (*UpdateResourceProfileDetectionsOutput, error) { + req, out := c.UpdateResourceProfileDetectionsRequest(input) return out, req.Send() } -// UpdateOrganizationConfigurationWithContext is the same as UpdateOrganizationConfiguration with the addition of +// UpdateResourceProfileDetectionsWithContext is the same as UpdateResourceProfileDetections with the addition of // the ability to pass a context and additional request options. // -// See UpdateOrganizationConfiguration for details on how to use this API operation. +// See UpdateResourceProfileDetections for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Macie2) UpdateOrganizationConfigurationWithContext(ctx aws.Context, input *UpdateOrganizationConfigurationInput, opts ...request.Option) (*UpdateOrganizationConfigurationOutput, error) { - req, out := c.UpdateOrganizationConfigurationRequest(input) +func (c *Macie2) UpdateResourceProfileDetectionsWithContext(ctx aws.Context, input *UpdateResourceProfileDetectionsInput, opts ...request.Option) (*UpdateResourceProfileDetectionsOutput, error) { + req, out := c.UpdateResourceProfileDetectionsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() @@ -7300,6 +8806,103 @@ func (c *Macie2) UpdateRevealConfigurationWithContext(ctx aws.Context, input *Up return out, req.Send() } +const opUpdateSensitivityInspectionTemplate = "UpdateSensitivityInspectionTemplate" + +// UpdateSensitivityInspectionTemplateRequest generates a "aws/request.Request" representing the +// client's request for the UpdateSensitivityInspectionTemplate operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateSensitivityInspectionTemplate for more information on using the UpdateSensitivityInspectionTemplate +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateSensitivityInspectionTemplateRequest method. +// req, resp := client.UpdateSensitivityInspectionTemplateRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateSensitivityInspectionTemplate +func (c *Macie2) UpdateSensitivityInspectionTemplateRequest(input *UpdateSensitivityInspectionTemplateInput) (req *request.Request, output *UpdateSensitivityInspectionTemplateOutput) { + op := &request.Operation{ + Name: opUpdateSensitivityInspectionTemplate, + HTTPMethod: "PUT", + HTTPPath: "/templates/sensitivity-inspections/{id}", + } + + if input == nil { + input = &UpdateSensitivityInspectionTemplateInput{} + } + + output = &UpdateSensitivityInspectionTemplateOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UpdateSensitivityInspectionTemplate API operation for Amazon Macie 2. +// +// Updates the settings for the sensitivity inspection template for an account. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Macie 2's +// API operation UpdateSensitivityInspectionTemplate for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. +// +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. +// +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateSensitivityInspectionTemplate +func (c *Macie2) UpdateSensitivityInspectionTemplate(input *UpdateSensitivityInspectionTemplateInput) (*UpdateSensitivityInspectionTemplateOutput, error) { + req, out := c.UpdateSensitivityInspectionTemplateRequest(input) + return out, req.Send() +} + +// UpdateSensitivityInspectionTemplateWithContext is the same as UpdateSensitivityInspectionTemplate with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateSensitivityInspectionTemplate for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Macie2) UpdateSensitivityInspectionTemplateWithContext(ctx aws.Context, input *UpdateSensitivityInspectionTemplateInput, opts ...request.Option) (*UpdateSensitivityInspectionTemplateOutput, error) { + req, out := c.UpdateSensitivityInspectionTemplateRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + // Specifies an Amazon Macie membership invitation to accept. In the request, // you have to specify the ID for the Amazon Web Services account that sent // the invitation. Otherwise, a validation error occurs. To specify this ID, @@ -7557,9 +9160,9 @@ type AccountLevelPermissions struct { _ struct{} `type:"structure"` // Provides information about the block public access settings for an S3 bucket. - // These settings can apply to a bucket at the account level or bucket level. - // For detailed information about each setting, see Blocking public access to - // your Amazon S3 storage (https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html) + // These settings can apply to a bucket at the account or bucket level. For + // detailed information about each setting, see Blocking public access to your + // Amazon S3 storage (https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html) // in the Amazon Simple Storage Service User Guide. BlockPublicAccess *BlockPublicAccess `locationName:"blockPublicAccess" type:"structure"` } @@ -8142,9 +9745,9 @@ func (s *BatchGetCustomDataIdentifiersOutput) SetNotFoundIdentifierIds(v []*stri } // Provides information about the block public access settings for an S3 bucket. -// These settings can apply to a bucket at the account level or bucket level. -// For detailed information about each setting, see Blocking public access to -// your Amazon S3 storage (https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html) +// These settings can apply to a bucket at the account or bucket level. For +// detailed information about each setting, see Blocking public access to your +// Amazon S3 storage (https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html) // in the Amazon Simple Storage Service User Guide. type BlockPublicAccess struct { _ struct{} `type:"structure"` @@ -8510,9 +10113,9 @@ type BucketLevelPermissions struct { AccessControlList *AccessControlList `locationName:"accessControlList" type:"structure"` // Provides information about the block public access settings for an S3 bucket. - // These settings can apply to a bucket at the account level or bucket level. - // For detailed information about each setting, see Blocking public access to - // your Amazon S3 storage (https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html) + // These settings can apply to a bucket at the account or bucket level. For + // detailed information about each setting, see Blocking public access to your + // Amazon S3 storage (https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html) // in the Amazon Simple Storage Service User Guide. BlockPublicAccess *BlockPublicAccess `locationName:"blockPublicAccess" type:"structure"` @@ -8559,11 +10162,11 @@ func (s *BucketLevelPermissions) SetBucketPolicy(v *BucketPolicy) *BucketLevelPe // Provides statistical data and other information about an S3 bucket that Amazon // Macie monitors and analyzes for your account. If an error occurs when Macie -// attempts to retrieve and process information about the bucket or the bucket's -// objects, the value for the versioning property is false and the value for -// most other properties is null. Exceptions are accountId, bucketArn, bucketCreatedAt, -// bucketName, lastUpdated, and region. To identify the cause of the error, -// refer to the errorCode and errorMessage values. +// attempts to retrieve and process metadata from Amazon S3 for the bucket and +// the bucket's objects, the value for the versioning property is false and +// the value for most other properties is null. Key exceptions are accountId, +// bucketArn, bucketCreatedAt, bucketName, lastUpdated, and region. To identify +// the cause of the error, refer to the errorCode and errorMessage values. type BucketMetadata struct { _ struct{} `type:"structure"` @@ -8582,7 +10185,7 @@ type BucketMetadata struct { ClassifiableSizeInBytes *int64 `locationName:"classifiableSizeInBytes" type:"long"` // The error code for an error that prevented Amazon Macie from retrieving and - // processing information about an S3 bucket and the bucket's objects. + // processing metadata from Amazon S3 for an S3 bucket and the bucket's objects. ErrorCode *string `locationName:"errorCode" type:"string" enum:"BucketMetadataErrorCode"` ErrorMessage *string `locationName:"errorMessage" type:"string"` @@ -8592,6 +10195,8 @@ type BucketMetadata struct { // ran most recently. JobDetails *JobDetails `locationName:"jobDetails" type:"structure"` + LastAutomatedDiscoveryTime *time.Time `locationName:"lastAutomatedDiscoveryTime" type:"timestamp" timestampFormat:"iso8601"` + LastUpdated *time.Time `locationName:"lastUpdated" type:"timestamp" timestampFormat:"iso8601"` ObjectCount *int64 `locationName:"objectCount" type:"long"` @@ -8612,6 +10217,8 @@ type BucketMetadata struct { // accounts and, if so, which accounts. ReplicationDetails *ReplicationDetails `locationName:"replicationDetails" type:"structure"` + SensitivityScore *int64 `locationName:"sensitivityScore" type:"integer"` + // Provides information about the default server-side encryption settings for // an S3 bucket. For detailed information about these settings, see Setting // default server-side encryption behavior for Amazon S3 buckets (https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-encryption.html) @@ -8629,17 +10236,17 @@ type BucketMetadata struct { // Provides information about the total storage size (in bytes) or number of // objects that Amazon Macie can't analyze in one or more S3 buckets. In a BucketMetadata // or MatchingBucket object, this data is for a specific bucket. In a GetBucketStatisticsResponse - // object, this data is aggregated for the buckets in the query results. If - // versioning is enabled for a bucket, total storage size values are based on - // the size of the latest version of each applicable object in the bucket. + // object, this data is aggregated for all the buckets in the query results. + // If versioning is enabled for a bucket, storage size values are based on the + // size of the latest version of each applicable object in the bucket. UnclassifiableObjectCount *ObjectLevelStatistics `locationName:"unclassifiableObjectCount" type:"structure"` // Provides information about the total storage size (in bytes) or number of // objects that Amazon Macie can't analyze in one or more S3 buckets. In a BucketMetadata // or MatchingBucket object, this data is for a specific bucket. In a GetBucketStatisticsResponse - // object, this data is aggregated for the buckets in the query results. If - // versioning is enabled for a bucket, total storage size values are based on - // the size of the latest version of each applicable object in the bucket. + // object, this data is aggregated for all the buckets in the query results. + // If versioning is enabled for a bucket, storage size values are based on the + // size of the latest version of each applicable object in the bucket. UnclassifiableObjectSizeInBytes *ObjectLevelStatistics `locationName:"unclassifiableObjectSizeInBytes" type:"structure"` Versioning *bool `locationName:"versioning" type:"boolean"` @@ -8723,6 +10330,12 @@ func (s *BucketMetadata) SetJobDetails(v *JobDetails) *BucketMetadata { return s } +// SetLastAutomatedDiscoveryTime sets the LastAutomatedDiscoveryTime field's value. +func (s *BucketMetadata) SetLastAutomatedDiscoveryTime(v time.Time) *BucketMetadata { + s.LastAutomatedDiscoveryTime = &v + return s +} + // SetLastUpdated sets the LastUpdated field's value. func (s *BucketMetadata) SetLastUpdated(v time.Time) *BucketMetadata { s.LastUpdated = &v @@ -8759,6 +10372,12 @@ func (s *BucketMetadata) SetReplicationDetails(v *ReplicationDetails) *BucketMet return s } +// SetSensitivityScore sets the SensitivityScore field's value. +func (s *BucketMetadata) SetSensitivityScore(v int64) *BucketMetadata { + s.SensitivityScore = &v + return s +} + // SetServerSideEncryption sets the ServerSideEncryption field's value. func (s *BucketMetadata) SetServerSideEncryption(v *BucketServerSideEncryption) *BucketMetadata { s.ServerSideEncryption = v @@ -8975,14 +10594,84 @@ func (s *BucketServerSideEncryption) SetType(v string) *BucketServerSideEncrypti return s } -// Specifies criteria for sorting the results of a query for information about -// S3 buckets. -type BucketSortCriteria struct { +// Specifies criteria for sorting the results of a query for information about +// S3 buckets. +type BucketSortCriteria struct { + _ struct{} `type:"structure"` + + AttributeName *string `locationName:"attributeName" type:"string"` + + OrderBy *string `locationName:"orderBy" type:"string" enum:"OrderBy"` +} + +// 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 BucketSortCriteria) 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 BucketSortCriteria) GoString() string { + return s.String() +} + +// SetAttributeName sets the AttributeName field's value. +func (s *BucketSortCriteria) SetAttributeName(v string) *BucketSortCriteria { + s.AttributeName = &v + return s +} + +// SetOrderBy sets the OrderBy field's value. +func (s *BucketSortCriteria) SetOrderBy(v string) *BucketSortCriteria { + s.OrderBy = &v + return s +} + +// Provides aggregated statistical data for sensitive data discovery metrics +// that apply to S3 buckets, grouped by bucket sensitivity score (sensitivityScore). +// If automated sensitive data discovery is currently disabled for your account, +// the value for each metric is 0. +type BucketStatisticsBySensitivity struct { _ struct{} `type:"structure"` - AttributeName *string `locationName:"attributeName" type:"string"` + // Provides aggregated statistical data for sensitive data discovery metrics + // that apply to S3 buckets. Each field contains aggregated data for all the + // buckets that have a sensitivity score (sensitivityScore) of a specified value + // or within a specified range (BucketStatisticsBySensitivity). If automated + // sensitive data discovery is currently disabled for your account, the value + // for each field is 0. + ClassificationError *SensitivityAggregations `locationName:"classificationError" type:"structure"` - OrderBy *string `locationName:"orderBy" type:"string" enum:"OrderBy"` + // Provides aggregated statistical data for sensitive data discovery metrics + // that apply to S3 buckets. Each field contains aggregated data for all the + // buckets that have a sensitivity score (sensitivityScore) of a specified value + // or within a specified range (BucketStatisticsBySensitivity). If automated + // sensitive data discovery is currently disabled for your account, the value + // for each field is 0. + NotClassified *SensitivityAggregations `locationName:"notClassified" type:"structure"` + + // Provides aggregated statistical data for sensitive data discovery metrics + // that apply to S3 buckets. Each field contains aggregated data for all the + // buckets that have a sensitivity score (sensitivityScore) of a specified value + // or within a specified range (BucketStatisticsBySensitivity). If automated + // sensitive data discovery is currently disabled for your account, the value + // for each field is 0. + NotSensitive *SensitivityAggregations `locationName:"notSensitive" type:"structure"` + + // Provides aggregated statistical data for sensitive data discovery metrics + // that apply to S3 buckets. Each field contains aggregated data for all the + // buckets that have a sensitivity score (sensitivityScore) of a specified value + // or within a specified range (BucketStatisticsBySensitivity). If automated + // sensitive data discovery is currently disabled for your account, the value + // for each field is 0. + Sensitive *SensitivityAggregations `locationName:"sensitive" type:"structure"` } // String returns the string representation. @@ -8990,7 +10679,7 @@ type BucketSortCriteria struct { // 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 BucketSortCriteria) String() string { +func (s BucketStatisticsBySensitivity) String() string { return awsutil.Prettify(s) } @@ -8999,19 +10688,31 @@ func (s BucketSortCriteria) String() string { // 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 BucketSortCriteria) GoString() string { +func (s BucketStatisticsBySensitivity) GoString() string { return s.String() } -// SetAttributeName sets the AttributeName field's value. -func (s *BucketSortCriteria) SetAttributeName(v string) *BucketSortCriteria { - s.AttributeName = &v +// SetClassificationError sets the ClassificationError field's value. +func (s *BucketStatisticsBySensitivity) SetClassificationError(v *SensitivityAggregations) *BucketStatisticsBySensitivity { + s.ClassificationError = v return s } -// SetOrderBy sets the OrderBy field's value. -func (s *BucketSortCriteria) SetOrderBy(v string) *BucketSortCriteria { - s.OrderBy = &v +// SetNotClassified sets the NotClassified field's value. +func (s *BucketStatisticsBySensitivity) SetNotClassified(v *SensitivityAggregations) *BucketStatisticsBySensitivity { + s.NotClassified = v + return s +} + +// SetNotSensitive sets the NotSensitive field's value. +func (s *BucketStatisticsBySensitivity) SetNotSensitive(v *SensitivityAggregations) *BucketStatisticsBySensitivity { + s.NotSensitive = v + return s +} + +// SetSensitive sets the Sensitive field's value. +func (s *BucketStatisticsBySensitivity) SetSensitive(v *SensitivityAggregations) *BucketStatisticsBySensitivity { + s.Sensitive = v return s } @@ -9083,7 +10784,7 @@ type ClassificationDetails struct { JobId *string `locationName:"jobId" type:"string"` // Specifies how Amazon Macie found the sensitive data that produced a finding. - // The only possible value is: + // Possible values are: OriginType *string `locationName:"originType" type:"string" enum:"OriginType"` // Provides the details of a sensitive data finding, including the types, number @@ -9140,8 +10841,8 @@ func (s *ClassificationDetails) SetResult(v *ClassificationResult) *Classificati } // Specifies where to store data classification results, and the encryption -// settings to use when storing results in that location. Currently, you can -// store classification results only in an S3 bucket. +// settings to use when storing results in that location. The location must +// be an S3 bucket. type ClassificationExportConfiguration struct { _ struct{} `type:"structure"` @@ -9306,6 +11007,49 @@ func (s *ClassificationResultStatus) SetReason(v string) *ClassificationResultSt return s } +// Provides information about the classification scope for an Amazon Macie account. +// Macie uses the scope's settings when it performs automated sensitive data +// discovery for the account. +type ClassificationScopeSummary struct { + _ struct{} `type:"structure"` + + // The unique identifier the classification scope. + Id *string `locationName:"id" type:"string"` + + // The name of the classification scope. + Name *string `locationName:"name" 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 ClassificationScopeSummary) 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 ClassificationScopeSummary) GoString() string { + return s.String() +} + +// SetId sets the Id field's value. +func (s *ClassificationScopeSummary) SetId(v string) *ClassificationScopeSummary { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *ClassificationScopeSummary) SetName(v string) *ClassificationScopeSummary { + s.Name = &v + return s +} + // Provides information about an error that occurred due to a versioning conflict // for a specified resource. type ConflictException struct { @@ -9899,9 +11643,9 @@ func (s *CreateCustomDataIdentifierOutput) SetCustomDataIdentifierId(v string) * type CreateFindingsFilterInput struct { _ struct{} `type:"structure"` - // The action to perform on findings that meet the filter criteria. To suppress - // (automatically archive) findings that meet the criteria, set this value to - // ARCHIVE. Valid values are: + // The action to perform on findings that match the filter criteria. To suppress + // (automatically archive) findings that match the criteria, set this value + // to ARCHIVE. Valid values are: // // Action is a required field Action *string `locationName:"action" type:"string" required:"true" enum:"FindingsFilterAction"` @@ -11591,6 +13335,83 @@ func (s *DetectedDataDetails) SetValue(v string) *DetectedDataDetails { return s } +// Provides information about a type of sensitive data that Amazon Macie found +// in an S3 bucket while performing automated sensitive data discovery for the +// bucket. The information also specifies the custom data identifier or managed +// data identifier that detected the data. This information is available only +// if automated sensitive data discovery is currently enabled for your account. +type Detection struct { + _ struct{} `type:"structure"` + + Arn *string `locationName:"arn" type:"string"` + + Count *int64 `locationName:"count" type:"long"` + + Id *string `locationName:"id" type:"string"` + + Name *string `locationName:"name" type:"string"` + + Suppressed *bool `locationName:"suppressed" type:"boolean"` + + // The type of data identifier that detected a specific type of sensitive data + // in an S3 bucket. Possible values are: + Type *string `locationName:"type" type:"string" enum:"DataIdentifierType"` +} + +// 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 Detection) 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 Detection) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *Detection) SetArn(v string) *Detection { + s.Arn = &v + return s +} + +// SetCount sets the Count field's value. +func (s *Detection) SetCount(v int64) *Detection { + s.Count = &v + return s +} + +// SetId sets the Id field's value. +func (s *Detection) SetId(v string) *Detection { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *Detection) SetName(v string) *Detection { + s.Name = &v + return s +} + +// SetSuppressed sets the Suppressed field's value. +func (s *Detection) SetSuppressed(v bool) *Detection { + s.Suppressed = &v + return s +} + +// SetType sets the Type field's value. +func (s *Detection) SetType(v string) *Detection { + s.Type = &v + return s +} + type DisableMacieInput struct { _ struct{} `type:"structure" nopayload:"true"` } @@ -12119,7 +13940,7 @@ type Finding struct { Archived *bool `locationName:"archived" type:"boolean"` - // The category of the finding. Valid values are: + // The category of the finding. Possible values are: Category *string `locationName:"category" type:"string" enum:"FindingCategory"` // Provides information about a sensitive data finding and the details of the @@ -12155,7 +13976,7 @@ type Finding struct { // The type of finding. For details about each type, see Types of Amazon Macie // findings (https://docs.aws.amazon.com/macie/latest/user/findings-types.html) - // in the Amazon Macie User Guide. Valid values are: + // in the Amazon Macie User Guide. Possible values are: Type *string `locationName:"type" type:"string" enum:"FindingType"` UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" timestampFormat:"iso8601"` @@ -12468,9 +14289,9 @@ func (s *FindingStatisticsSortCriteria) SetOrderBy(v string) *FindingStatisticsS type FindingsFilterListItem struct { _ struct{} `type:"structure"` - // The action to perform on findings that meet the filter criteria. To suppress - // (automatically archive) findings that meet the criteria, set this value to - // ARCHIVE. Valid values are: + // The action to perform on findings that match the filter criteria. To suppress + // (automatically archive) findings that match the criteria, set this value + // to ARCHIVE. Valid values are: Action *string `locationName:"action" type:"string" enum:"FindingsFilterAction"` Arn *string `locationName:"arn" type:"string"` @@ -12736,6 +14557,108 @@ func (s *GetAllowListOutput) SetUpdatedAt(v time.Time) *GetAllowListOutput { return s } +type GetAutomatedDiscoveryConfigurationInput struct { + _ struct{} `type:"structure" nopayload:"true"` +} + +// 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 GetAutomatedDiscoveryConfigurationInput) 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 GetAutomatedDiscoveryConfigurationInput) GoString() string { + return s.String() +} + +// Provides information about the configuration settings for performing automated +// sensitive data discovery for an Amazon Macie account, and the status of the +// configuration for the account. +type GetAutomatedDiscoveryConfigurationOutput struct { + _ struct{} `type:"structure"` + + // The unique identifier the classification scope. + ClassificationScopeId *string `locationName:"classificationScopeId" type:"string"` + + // Specifies a date and time in UTC and extended ISO 8601 format. + DisabledAt *time.Time `locationName:"disabledAt" type:"timestamp" timestampFormat:"iso8601"` + + // Specifies a date and time in UTC and extended ISO 8601 format. + FirstEnabledAt *time.Time `locationName:"firstEnabledAt" type:"timestamp" timestampFormat:"iso8601"` + + // Specifies a date and time in UTC and extended ISO 8601 format. + LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp" timestampFormat:"iso8601"` + + // The unique identifier for the sensitivity inspection template. + SensitivityInspectionTemplateId *string `locationName:"sensitivityInspectionTemplateId" type:"string"` + + // The status of the automated sensitive data discovery configuration for an + // Amazon Macie account. Valid values are: + Status *string `locationName:"status" type:"string" enum:"AutomatedDiscoveryStatus"` +} + +// 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 GetAutomatedDiscoveryConfigurationOutput) 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 GetAutomatedDiscoveryConfigurationOutput) GoString() string { + return s.String() +} + +// SetClassificationScopeId sets the ClassificationScopeId field's value. +func (s *GetAutomatedDiscoveryConfigurationOutput) SetClassificationScopeId(v string) *GetAutomatedDiscoveryConfigurationOutput { + s.ClassificationScopeId = &v + return s +} + +// SetDisabledAt sets the DisabledAt field's value. +func (s *GetAutomatedDiscoveryConfigurationOutput) SetDisabledAt(v time.Time) *GetAutomatedDiscoveryConfigurationOutput { + s.DisabledAt = &v + return s +} + +// SetFirstEnabledAt sets the FirstEnabledAt field's value. +func (s *GetAutomatedDiscoveryConfigurationOutput) SetFirstEnabledAt(v time.Time) *GetAutomatedDiscoveryConfigurationOutput { + s.FirstEnabledAt = &v + return s +} + +// SetLastUpdatedAt sets the LastUpdatedAt field's value. +func (s *GetAutomatedDiscoveryConfigurationOutput) SetLastUpdatedAt(v time.Time) *GetAutomatedDiscoveryConfigurationOutput { + s.LastUpdatedAt = &v + return s +} + +// SetSensitivityInspectionTemplateId sets the SensitivityInspectionTemplateId field's value. +func (s *GetAutomatedDiscoveryConfigurationOutput) SetSensitivityInspectionTemplateId(v string) *GetAutomatedDiscoveryConfigurationOutput { + s.SensitivityInspectionTemplateId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetAutomatedDiscoveryConfigurationOutput) SetStatus(v string) *GetAutomatedDiscoveryConfigurationOutput { + s.Status = &v + return s +} + // Specifies the account that owns the S3 buckets to retrieve aggregated statistical // data for. type GetBucketStatisticsInput struct { @@ -12795,6 +14718,12 @@ type GetBucketStatisticsOutput struct { // with other Amazon Web Services accounts. BucketCountBySharedAccessType *BucketCountBySharedAccessType `locationName:"bucketCountBySharedAccessType" type:"structure"` + // Provides aggregated statistical data for sensitive data discovery metrics + // that apply to S3 buckets, grouped by bucket sensitivity score (sensitivityScore). + // If automated sensitive data discovery is currently disabled for your account, + // the value for each metric is 0. + BucketStatisticsBySensitivity *BucketStatisticsBySensitivity `locationName:"bucketStatisticsBySensitivity" type:"structure"` + ClassifiableObjectCount *int64 `locationName:"classifiableObjectCount" type:"long"` ClassifiableSizeInBytes *int64 `locationName:"classifiableSizeInBytes" type:"long"` @@ -12810,17 +14739,17 @@ type GetBucketStatisticsOutput struct { // Provides information about the total storage size (in bytes) or number of // objects that Amazon Macie can't analyze in one or more S3 buckets. In a BucketMetadata // or MatchingBucket object, this data is for a specific bucket. In a GetBucketStatisticsResponse - // object, this data is aggregated for the buckets in the query results. If - // versioning is enabled for a bucket, total storage size values are based on - // the size of the latest version of each applicable object in the bucket. + // object, this data is aggregated for all the buckets in the query results. + // If versioning is enabled for a bucket, storage size values are based on the + // size of the latest version of each applicable object in the bucket. UnclassifiableObjectCount *ObjectLevelStatistics `locationName:"unclassifiableObjectCount" type:"structure"` // Provides information about the total storage size (in bytes) or number of // objects that Amazon Macie can't analyze in one or more S3 buckets. In a BucketMetadata // or MatchingBucket object, this data is for a specific bucket. In a GetBucketStatisticsResponse - // object, this data is aggregated for the buckets in the query results. If - // versioning is enabled for a bucket, total storage size values are based on - // the size of the latest version of each applicable object in the bucket. + // object, this data is aggregated for all the buckets in the query results. + // If versioning is enabled for a bucket, storage size values are based on the + // size of the latest version of each applicable object in the bucket. UnclassifiableObjectSizeInBytes *ObjectLevelStatistics `locationName:"unclassifiableObjectSizeInBytes" type:"structure"` } @@ -12872,6 +14801,12 @@ func (s *GetBucketStatisticsOutput) SetBucketCountBySharedAccessType(v *BucketCo return s } +// SetBucketStatisticsBySensitivity sets the BucketStatisticsBySensitivity field's value. +func (s *GetBucketStatisticsOutput) SetBucketStatisticsBySensitivity(v *BucketStatisticsBySensitivity) *GetBucketStatisticsOutput { + s.BucketStatisticsBySensitivity = v + return s +} + // SetClassifiableObjectCount sets the ClassifiableObjectCount field's value. func (s *GetBucketStatisticsOutput) SetClassifiableObjectCount(v int64) *GetBucketStatisticsOutput { s.ClassifiableObjectCount = &v @@ -12948,8 +14883,8 @@ type GetClassificationExportConfigurationOutput struct { _ struct{} `type:"structure"` // Specifies where to store data classification results, and the encryption - // settings to use when storing results in that location. Currently, you can - // store classification results only in an S3 bucket. + // settings to use when storing results in that location. The location must + // be an S3 bucket. Configuration *ClassificationExportConfiguration `locationName:"configuration" type:"structure"` } @@ -12971,9 +14906,109 @@ func (s GetClassificationExportConfigurationOutput) GoString() string { return s.String() } -// SetConfiguration sets the Configuration field's value. -func (s *GetClassificationExportConfigurationOutput) SetConfiguration(v *ClassificationExportConfiguration) *GetClassificationExportConfigurationOutput { - s.Configuration = v +// SetConfiguration sets the Configuration field's value. +func (s *GetClassificationExportConfigurationOutput) SetConfiguration(v *ClassificationExportConfiguration) *GetClassificationExportConfigurationOutput { + s.Configuration = v + return s +} + +type GetClassificationScopeInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // Id is a required field + Id *string `location:"uri" locationName:"id" type:"string" required:"true"` +} + +// 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 GetClassificationScopeInput) 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 GetClassificationScopeInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetClassificationScopeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetClassificationScopeInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Id", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *GetClassificationScopeInput) SetId(v string) *GetClassificationScopeInput { + s.Id = &v + return s +} + +// Provides information about the classification scope settings for an Amazon +// Macie account. Macie uses these settings when it performs automated sensitive +// data discovery for the account. +type GetClassificationScopeOutput struct { + _ struct{} `type:"structure"` + + // The unique identifier the classification scope. + Id *string `locationName:"id" type:"string"` + + // The name of the classification scope. + Name *string `locationName:"name" type:"string"` + + // Specifies the S3 buckets that are excluded from automated sensitive data + // discovery for an Amazon Macie account. + S3 *S3ClassificationScope `locationName:"s3" 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 GetClassificationScopeOutput) 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 GetClassificationScopeOutput) GoString() string { + return s.String() +} + +// SetId sets the Id field's value. +func (s *GetClassificationScopeOutput) SetId(v string) *GetClassificationScopeOutput { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *GetClassificationScopeOutput) SetName(v string) *GetClassificationScopeOutput { + s.Name = &v + return s +} + +// SetS3 sets the S3 field's value. +func (s *GetClassificationScopeOutput) SetS3(v *S3ClassificationScope) *GetClassificationScopeOutput { + s.S3 = v return s } @@ -13317,9 +15352,9 @@ func (s *GetFindingsFilterInput) SetId(v string) *GetFindingsFilterInput { type GetFindingsFilterOutput struct { _ struct{} `type:"structure"` - // The action to perform on findings that meet the filter criteria. To suppress - // (automatically archive) findings that meet the criteria, set this value to - // ARCHIVE. Valid values are: + // The action to perform on findings that match the filter criteria. To suppress + // (automatically archive) findings that match the criteria, set this value + // to ARCHIVE. Valid values are: Action *string `locationName:"action" type:"string" enum:"FindingsFilterAction"` Arn *string `locationName:"arn" type:"string"` @@ -13627,8 +15662,8 @@ func (s GetMacieSessionInput) GoString() string { return s.String() } -// Provides information about the current status and configuration settings -// for an Amazon Macie account. +// Provides information about the status and configuration settings for an Amazon +// Macie account. type GetMacieSessionOutput struct { _ struct{} `type:"structure"` @@ -13900,6 +15935,114 @@ func (s *GetMemberOutput) SetUpdatedAt(v time.Time) *GetMemberOutput { return s } +type GetResourceProfileInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // ResourceArn is a required field + ResourceArn *string `location:"querystring" locationName:"resourceArn" type:"string" required:"true"` +} + +// 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 GetResourceProfileInput) 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 GetResourceProfileInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetResourceProfileInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetResourceProfileInput"} + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *GetResourceProfileInput) SetResourceArn(v string) *GetResourceProfileInput { + s.ResourceArn = &v + return s +} + +// Provides the results of a query that retrieved sensitive data discovery statistics +// and the sensitivity score for an S3 bucket that Amazon Macie monitors and +// analyzes for your account. This data is available only if automated sensitive +// data discovery is currently enabled for your account. +type GetResourceProfileOutput struct { + _ struct{} `type:"structure"` + + ProfileUpdatedAt *time.Time `locationName:"profileUpdatedAt" type:"timestamp" timestampFormat:"iso8601"` + + SensitivityScore *int64 `locationName:"sensitivityScore" type:"integer"` + + SensitivityScoreOverridden *bool `locationName:"sensitivityScoreOverridden" type:"boolean"` + + // Provides statistical data for sensitive data discovery metrics that apply + // to an S3 bucket that Amazon Macie monitors and analyzes for your account. + // The statistics capture the results of automated sensitive data discovery + // activities that Macie has performed for the bucket. The data is available + // only if automated sensitive data discovery is currently enabled for your + // account. + Statistics *ResourceStatistics `locationName:"statistics" 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 GetResourceProfileOutput) 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 GetResourceProfileOutput) GoString() string { + return s.String() +} + +// SetProfileUpdatedAt sets the ProfileUpdatedAt field's value. +func (s *GetResourceProfileOutput) SetProfileUpdatedAt(v time.Time) *GetResourceProfileOutput { + s.ProfileUpdatedAt = &v + return s +} + +// SetSensitivityScore sets the SensitivityScore field's value. +func (s *GetResourceProfileOutput) SetSensitivityScore(v int64) *GetResourceProfileOutput { + s.SensitivityScore = &v + return s +} + +// SetSensitivityScoreOverridden sets the SensitivityScoreOverridden field's value. +func (s *GetResourceProfileOutput) SetSensitivityScoreOverridden(v bool) *GetResourceProfileOutput { + s.SensitivityScoreOverridden = &v + return s +} + +// SetStatistics sets the Statistics field's value. +func (s *GetResourceProfileOutput) SetStatistics(v *ResourceStatistics) *GetResourceProfileOutput { + s.Statistics = v + return s +} + type GetRevealConfigurationInput struct { _ struct{} `type:"structure" nopayload:"true"` } @@ -14149,6 +16292,131 @@ func (s *GetSensitiveDataOccurrencesOutput) SetStatus(v string) *GetSensitiveDat return s } +type GetSensitivityInspectionTemplateInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // Id is a required field + Id *string `location:"uri" locationName:"id" type:"string" required:"true"` +} + +// 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 GetSensitivityInspectionTemplateInput) 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 GetSensitivityInspectionTemplateInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetSensitivityInspectionTemplateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetSensitivityInspectionTemplateInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Id", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *GetSensitivityInspectionTemplateInput) SetId(v string) *GetSensitivityInspectionTemplateInput { + s.Id = &v + return s +} + +// Provides information about the settings for the sensitivity inspection template +// for an Amazon Macie account. Macie uses the template's settings when it performs +// automated sensitive data discovery for the account. +type GetSensitivityInspectionTemplateOutput struct { + _ struct{} `type:"structure"` + + Description *string `locationName:"description" type:"string"` + + // Specifies managed data identifiers to exclude (not use) when performing automated + // sensitive data discovery for an Amazon Macie account. For information about + // the managed data identifiers that Amazon Macie currently provides, see Using + // managed data identifiers (https://docs.aws.amazon.com/macie/latest/user/managed-data-identifiers.html) + // in the Amazon Macie User Guide. + Excludes *SensitivityInspectionTemplateExcludes `locationName:"excludes" type:"structure"` + + // Specifies the allow lists, custom data identifiers, and managed data identifiers + // to include (use) when performing automated sensitive data discovery for an + // Amazon Macie account. The configuration must specify at least one custom + // data identifier or managed data identifier. For information about the managed + // data identifiers that Amazon Macie currently provides, see Using managed + // data identifiers (https://docs.aws.amazon.com/macie/latest/user/managed-data-identifiers.html) + // in the Amazon Macie User Guide. + Includes *SensitivityInspectionTemplateIncludes `locationName:"includes" type:"structure"` + + Name *string `locationName:"name" type:"string"` + + // The unique identifier for the sensitivity inspection template. + SensitivityInspectionTemplateId *string `locationName:"sensitivityInspectionTemplateId" 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 GetSensitivityInspectionTemplateOutput) 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 GetSensitivityInspectionTemplateOutput) GoString() string { + return s.String() +} + +// SetDescription sets the Description field's value. +func (s *GetSensitivityInspectionTemplateOutput) SetDescription(v string) *GetSensitivityInspectionTemplateOutput { + s.Description = &v + return s +} + +// SetExcludes sets the Excludes field's value. +func (s *GetSensitivityInspectionTemplateOutput) SetExcludes(v *SensitivityInspectionTemplateExcludes) *GetSensitivityInspectionTemplateOutput { + s.Excludes = v + return s +} + +// SetIncludes sets the Includes field's value. +func (s *GetSensitivityInspectionTemplateOutput) SetIncludes(v *SensitivityInspectionTemplateIncludes) *GetSensitivityInspectionTemplateOutput { + s.Includes = v + return s +} + +// SetName sets the Name field's value. +func (s *GetSensitivityInspectionTemplateOutput) SetName(v string) *GetSensitivityInspectionTemplateOutput { + s.Name = &v + return s +} + +// SetSensitivityInspectionTemplateId sets the SensitivityInspectionTemplateId field's value. +func (s *GetSensitivityInspectionTemplateOutput) SetSensitivityInspectionTemplateId(v string) *GetSensitivityInspectionTemplateOutput { + s.SensitivityInspectionTemplateId = &v + return s +} + // Specifies criteria for filtering, sorting, and paginating the results of // a query for quotas and aggregated usage data for one or more Amazon Macie // accounts. @@ -15306,24 +17574,104 @@ func (s *ListClassificationJobsInput) SetMaxResults(v int64) *ListClassification } // SetNextToken sets the NextToken field's value. -func (s *ListClassificationJobsInput) SetNextToken(v string) *ListClassificationJobsInput { +func (s *ListClassificationJobsInput) SetNextToken(v string) *ListClassificationJobsInput { + s.NextToken = &v + return s +} + +// SetSortCriteria sets the SortCriteria field's value. +func (s *ListClassificationJobsInput) SetSortCriteria(v *ListJobsSortCriteria) *ListClassificationJobsInput { + s.SortCriteria = v + return s +} + +// Provides the results of a request for information about one or more classification +// jobs. +type ListClassificationJobsOutput struct { + _ struct{} `type:"structure"` + + Items []*JobSummary `locationName:"items" type:"list"` + + NextToken *string `locationName:"nextToken" 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 ListClassificationJobsOutput) 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 ListClassificationJobsOutput) GoString() string { + return s.String() +} + +// SetItems sets the Items field's value. +func (s *ListClassificationJobsOutput) SetItems(v []*JobSummary) *ListClassificationJobsOutput { + s.Items = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListClassificationJobsOutput) SetNextToken(v string) *ListClassificationJobsOutput { + s.NextToken = &v + return s +} + +type ListClassificationScopesInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + Name *string `location:"querystring" locationName:"name" type:"string"` + + NextToken *string `location:"querystring" locationName:"nextToken" 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 ListClassificationScopesInput) 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 ListClassificationScopesInput) GoString() string { + return s.String() +} + +// SetName sets the Name field's value. +func (s *ListClassificationScopesInput) SetName(v string) *ListClassificationScopesInput { + s.Name = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListClassificationScopesInput) SetNextToken(v string) *ListClassificationScopesInput { s.NextToken = &v return s } -// SetSortCriteria sets the SortCriteria field's value. -func (s *ListClassificationJobsInput) SetSortCriteria(v *ListJobsSortCriteria) *ListClassificationJobsInput { - s.SortCriteria = v - return s -} - -// Provides the results of a request for information about one or more classification -// jobs. -type ListClassificationJobsOutput struct { +// Provides the results of a request for information about the classification +// scope for an Amazon Macie account. Macie uses the scope's settings when it +// performs automated sensitive data discovery for the account. +type ListClassificationScopesOutput struct { _ struct{} `type:"structure"` - Items []*JobSummary `locationName:"items" type:"list"` + ClassificationScopes []*ClassificationScopeSummary `locationName:"classificationScopes" type:"list"` + // Specifies which page of results to return in a paginated response. NextToken *string `locationName:"nextToken" type:"string"` } @@ -15332,7 +17680,7 @@ type ListClassificationJobsOutput struct { // 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 ListClassificationJobsOutput) String() string { +func (s ListClassificationScopesOutput) String() string { return awsutil.Prettify(s) } @@ -15341,18 +17689,18 @@ func (s ListClassificationJobsOutput) String() string { // 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 ListClassificationJobsOutput) GoString() string { +func (s ListClassificationScopesOutput) GoString() string { return s.String() } -// SetItems sets the Items field's value. -func (s *ListClassificationJobsOutput) SetItems(v []*JobSummary) *ListClassificationJobsOutput { - s.Items = v +// SetClassificationScopes sets the ClassificationScopes field's value. +func (s *ListClassificationScopesOutput) SetClassificationScopes(v []*ClassificationScopeSummary) *ListClassificationScopesOutput { + s.ClassificationScopes = v return s } // SetNextToken sets the NextToken field's value. -func (s *ListClassificationJobsOutput) SetNextToken(v string) *ListClassificationJobsOutput { +func (s *ListClassificationScopesOutput) SetNextToken(v string) *ListClassificationScopesOutput { s.NextToken = &v return s } @@ -16110,6 +18458,298 @@ func (s *ListOrganizationAdminAccountsOutput) SetNextToken(v string) *ListOrgani return s } +type ListResourceProfileArtifactsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // ResourceArn is a required field + ResourceArn *string `location:"querystring" locationName:"resourceArn" type:"string" required:"true"` +} + +// 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 ListResourceProfileArtifactsInput) 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 ListResourceProfileArtifactsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListResourceProfileArtifactsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListResourceProfileArtifactsInput"} + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetNextToken sets the NextToken field's value. +func (s *ListResourceProfileArtifactsInput) SetNextToken(v string) *ListResourceProfileArtifactsInput { + s.NextToken = &v + return s +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *ListResourceProfileArtifactsInput) SetResourceArn(v string) *ListResourceProfileArtifactsInput { + s.ResourceArn = &v + return s +} + +// Provides the results of a request for information about the S3 objects that +// Amazon Macie selected for analysis while performing automated sensitive data +// discovery for an S3 bucket. This information is available only if automated +// sensitive data discovery is currently enabled for your account. +type ListResourceProfileArtifactsOutput struct { + _ struct{} `type:"structure"` + + Artifacts []*ResourceProfileArtifact `locationName:"artifacts" type:"list"` + + NextToken *string `locationName:"nextToken" 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 ListResourceProfileArtifactsOutput) 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 ListResourceProfileArtifactsOutput) GoString() string { + return s.String() +} + +// SetArtifacts sets the Artifacts field's value. +func (s *ListResourceProfileArtifactsOutput) SetArtifacts(v []*ResourceProfileArtifact) *ListResourceProfileArtifactsOutput { + s.Artifacts = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListResourceProfileArtifactsOutput) SetNextToken(v string) *ListResourceProfileArtifactsOutput { + s.NextToken = &v + return s +} + +type ListResourceProfileDetectionsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // ResourceArn is a required field + ResourceArn *string `location:"querystring" locationName:"resourceArn" type:"string" required:"true"` +} + +// 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 ListResourceProfileDetectionsInput) 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 ListResourceProfileDetectionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListResourceProfileDetectionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListResourceProfileDetectionsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListResourceProfileDetectionsInput) SetMaxResults(v int64) *ListResourceProfileDetectionsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListResourceProfileDetectionsInput) SetNextToken(v string) *ListResourceProfileDetectionsInput { + s.NextToken = &v + return s +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *ListResourceProfileDetectionsInput) SetResourceArn(v string) *ListResourceProfileDetectionsInput { + s.ResourceArn = &v + return s +} + +// Provides the results of a request for information about the types and amount +// of sensitive data that Amazon Macie found in an S3 bucket while performing +// automated sensitive data discovery for the bucket. This information is available +// only if automated sensitive data discovery is currently enabled for your +// account. +type ListResourceProfileDetectionsOutput struct { + _ struct{} `type:"structure"` + + Detections []*Detection `locationName:"detections" type:"list"` + + NextToken *string `locationName:"nextToken" 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 ListResourceProfileDetectionsOutput) 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 ListResourceProfileDetectionsOutput) GoString() string { + return s.String() +} + +// SetDetections sets the Detections field's value. +func (s *ListResourceProfileDetectionsOutput) SetDetections(v []*Detection) *ListResourceProfileDetectionsOutput { + s.Detections = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListResourceProfileDetectionsOutput) SetNextToken(v string) *ListResourceProfileDetectionsOutput { + s.NextToken = &v + return s +} + +type ListSensitivityInspectionTemplatesInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + NextToken *string `location:"querystring" locationName:"nextToken" 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 ListSensitivityInspectionTemplatesInput) 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 ListSensitivityInspectionTemplatesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListSensitivityInspectionTemplatesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListSensitivityInspectionTemplatesInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListSensitivityInspectionTemplatesInput) SetMaxResults(v int64) *ListSensitivityInspectionTemplatesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListSensitivityInspectionTemplatesInput) SetNextToken(v string) *ListSensitivityInspectionTemplatesInput { + s.NextToken = &v + return s +} + +// Provides the results of a request for information about the sensitivity inspection +// template for an Amazon Macie account. Macie uses the template's settings +// when it performs automated sensitive data discovery for the account. +type ListSensitivityInspectionTemplatesOutput struct { + _ struct{} `type:"structure"` + + NextToken *string `locationName:"nextToken" type:"string"` + + SensitivityInspectionTemplates []*SensitivityInspectionTemplatesEntry `locationName:"sensitivityInspectionTemplates" 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 ListSensitivityInspectionTemplatesOutput) 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 ListSensitivityInspectionTemplatesOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListSensitivityInspectionTemplatesOutput) SetNextToken(v string) *ListSensitivityInspectionTemplatesOutput { + s.NextToken = &v + return s +} + +// SetSensitivityInspectionTemplates sets the SensitivityInspectionTemplates field's value. +func (s *ListSensitivityInspectionTemplatesOutput) SetSensitivityInspectionTemplates(v []*SensitivityInspectionTemplatesEntry) *ListSensitivityInspectionTemplatesOutput { + s.SensitivityInspectionTemplates = v + return s +} + type ListTagsForResourceInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -16238,9 +18878,9 @@ func (s *ManagedDataIdentifierSummary) SetId(v string) *ManagedDataIdentifierSum // Provides statistical data and other information about an S3 bucket that Amazon // Macie monitors and analyzes for your account. If an error occurs when Macie // attempts to retrieve and process information about the bucket or the bucket's -// objects, the value for most of these properties is null. Exceptions are accountId -// and bucketName. To identify the cause of the error, refer to the errorCode -// and errorMessage values. +// objects, the value for most of these properties is null. Key exceptions are +// accountId and bucketName. To identify the cause of the error, refer to the +// errorCode and errorMessage values. type MatchingBucket struct { _ struct{} `type:"structure"` @@ -16253,7 +18893,7 @@ type MatchingBucket struct { ClassifiableSizeInBytes *int64 `locationName:"classifiableSizeInBytes" type:"long"` // The error code for an error that prevented Amazon Macie from retrieving and - // processing information about an S3 bucket and the bucket's objects. + // processing metadata from Amazon S3 for an S3 bucket and the bucket's objects. ErrorCode *string `locationName:"errorCode" type:"string" enum:"BucketMetadataErrorCode"` ErrorMessage *string `locationName:"errorMessage" type:"string"` @@ -16263,6 +18903,8 @@ type MatchingBucket struct { // ran most recently. JobDetails *JobDetails `locationName:"jobDetails" type:"structure"` + LastAutomatedDiscoveryTime *time.Time `locationName:"lastAutomatedDiscoveryTime" type:"timestamp" timestampFormat:"iso8601"` + ObjectCount *int64 `locationName:"objectCount" type:"long"` // Provides information about the number of objects that are in an S3 bucket @@ -16270,6 +18912,8 @@ type MatchingBucket struct { // or aren't encrypted. ObjectCountByEncryptionType *ObjectCountByEncryptionType `locationName:"objectCountByEncryptionType" type:"structure"` + SensitivityScore *int64 `locationName:"sensitivityScore" type:"integer"` + SizeInBytes *int64 `locationName:"sizeInBytes" type:"long"` SizeInBytesCompressed *int64 `locationName:"sizeInBytesCompressed" type:"long"` @@ -16277,17 +18921,17 @@ type MatchingBucket struct { // Provides information about the total storage size (in bytes) or number of // objects that Amazon Macie can't analyze in one or more S3 buckets. In a BucketMetadata // or MatchingBucket object, this data is for a specific bucket. In a GetBucketStatisticsResponse - // object, this data is aggregated for the buckets in the query results. If - // versioning is enabled for a bucket, total storage size values are based on - // the size of the latest version of each applicable object in the bucket. + // object, this data is aggregated for all the buckets in the query results. + // If versioning is enabled for a bucket, storage size values are based on the + // size of the latest version of each applicable object in the bucket. UnclassifiableObjectCount *ObjectLevelStatistics `locationName:"unclassifiableObjectCount" type:"structure"` // Provides information about the total storage size (in bytes) or number of // objects that Amazon Macie can't analyze in one or more S3 buckets. In a BucketMetadata // or MatchingBucket object, this data is for a specific bucket. In a GetBucketStatisticsResponse - // object, this data is aggregated for the buckets in the query results. If - // versioning is enabled for a bucket, total storage size values are based on - // the size of the latest version of each applicable object in the bucket. + // object, this data is aggregated for all the buckets in the query results. + // If versioning is enabled for a bucket, storage size values are based on the + // size of the latest version of each applicable object in the bucket. UnclassifiableObjectSizeInBytes *ObjectLevelStatistics `locationName:"unclassifiableObjectSizeInBytes" type:"structure"` } @@ -16351,6 +18995,12 @@ func (s *MatchingBucket) SetJobDetails(v *JobDetails) *MatchingBucket { return s } +// SetLastAutomatedDiscoveryTime sets the LastAutomatedDiscoveryTime field's value. +func (s *MatchingBucket) SetLastAutomatedDiscoveryTime(v time.Time) *MatchingBucket { + s.LastAutomatedDiscoveryTime = &v + return s +} + // SetObjectCount sets the ObjectCount field's value. func (s *MatchingBucket) SetObjectCount(v int64) *MatchingBucket { s.ObjectCount = &v @@ -16363,6 +19013,12 @@ func (s *MatchingBucket) SetObjectCountByEncryptionType(v *ObjectCountByEncrypti return s } +// SetSensitivityScore sets the SensitivityScore field's value. +func (s *MatchingBucket) SetSensitivityScore(v int64) *MatchingBucket { + s.SensitivityScore = &v + return s +} + // SetSizeInBytes sets the SizeInBytes field's value. func (s *MatchingBucket) SetSizeInBytes(v int64) *MatchingBucket { s.SizeInBytes = &v @@ -16395,9 +19051,9 @@ type MatchingResource struct { // Provides statistical data and other information about an S3 bucket that Amazon // Macie monitors and analyzes for your account. If an error occurs when Macie // attempts to retrieve and process information about the bucket or the bucket's - // objects, the value for most of these properties is null. Exceptions are accountId - // and bucketName. To identify the cause of the error, refer to the errorCode - // and errorMessage values. + // objects, the value for most of these properties is null. Key exceptions are + // accountId and bucketName. To identify the cause of the error, refer to the + // errorCode and errorMessage values. MatchingBucket *MatchingBucket `locationName:"matchingBucket" type:"structure"` } @@ -16624,9 +19280,9 @@ func (s *ObjectCountByEncryptionType) SetUnknown(v int64) *ObjectCountByEncrypti // Provides information about the total storage size (in bytes) or number of // objects that Amazon Macie can't analyze in one or more S3 buckets. In a BucketMetadata // or MatchingBucket object, this data is for a specific bucket. In a GetBucketStatisticsResponse -// object, this data is aggregated for the buckets in the query results. If -// versioning is enabled for a bucket, total storage size values are based on -// the size of the latest version of each applicable object in the bucket. +// object, this data is aggregated for all the buckets in the query results. +// If versioning is enabled for a bucket, storage size values are based on the +// size of the latest version of each applicable object in the bucket. type ObjectLevelStatistics struct { _ struct{} `type:"structure"` @@ -16844,14 +19500,13 @@ func (s *PolicyDetails) SetActor(v *FindingActor) *PolicyDetails { } // Specifies where to store data classification results, and the encryption -// settings to use when storing results in that location. Currently, you can -// store classification results only in an S3 bucket. +// settings to use when storing results in that location. type PutClassificationExportConfigurationInput struct { _ struct{} `type:"structure"` // Specifies where to store data classification results, and the encryption - // settings to use when storing results in that location. Currently, you can - // store classification results only in an S3 bucket. + // settings to use when storing results in that location. The location must + // be an S3 bucket. // // Configuration is a required field Configuration *ClassificationExportConfiguration `locationName:"configuration" type:"structure" required:"true"` @@ -16905,8 +19560,8 @@ type PutClassificationExportConfigurationOutput struct { _ struct{} `type:"structure"` // Specifies where to store data classification results, and the encryption - // settings to use when storing results in that location. Currently, you can - // store classification results only in an S3 bucket. + // settings to use when storing results in that location. The location must + // be an S3 bucket. Configuration *ClassificationExportConfiguration `locationName:"configuration" type:"structure"` } @@ -17218,6 +19873,158 @@ func (s *ResourceNotFoundException) RequestID() string { return s.RespMetadata.RequestID } +// Provides information about an S3 object that Amazon Macie selected for analysis +// while performing automated sensitive data discovery for an S3 bucket, and +// the status and results of the analysis. This information is available only +// if automated sensitive data discovery is currently enabled for your account. +type ResourceProfileArtifact struct { + _ struct{} `type:"structure"` + + // Arn is a required field + Arn *string `locationName:"arn" type:"string" required:"true"` + + // ClassificationResultStatus is a required field + ClassificationResultStatus *string `locationName:"classificationResultStatus" type:"string" required:"true"` + + Sensitive *bool `locationName:"sensitive" type:"boolean"` +} + +// 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 ResourceProfileArtifact) 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 ResourceProfileArtifact) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *ResourceProfileArtifact) SetArn(v string) *ResourceProfileArtifact { + s.Arn = &v + return s +} + +// SetClassificationResultStatus sets the ClassificationResultStatus field's value. +func (s *ResourceProfileArtifact) SetClassificationResultStatus(v string) *ResourceProfileArtifact { + s.ClassificationResultStatus = &v + return s +} + +// SetSensitive sets the Sensitive field's value. +func (s *ResourceProfileArtifact) SetSensitive(v bool) *ResourceProfileArtifact { + s.Sensitive = &v + return s +} + +// Provides statistical data for sensitive data discovery metrics that apply +// to an S3 bucket that Amazon Macie monitors and analyzes for your account. +// The statistics capture the results of automated sensitive data discovery +// activities that Macie has performed for the bucket. The data is available +// only if automated sensitive data discovery is currently enabled for your +// account. +type ResourceStatistics struct { + _ struct{} `type:"structure"` + + TotalBytesClassified *int64 `locationName:"totalBytesClassified" type:"long"` + + TotalDetections *int64 `locationName:"totalDetections" type:"long"` + + TotalDetectionsSuppressed *int64 `locationName:"totalDetectionsSuppressed" type:"long"` + + TotalItemsClassified *int64 `locationName:"totalItemsClassified" type:"long"` + + TotalItemsSensitive *int64 `locationName:"totalItemsSensitive" type:"long"` + + TotalItemsSkipped *int64 `locationName:"totalItemsSkipped" type:"long"` + + TotalItemsSkippedInvalidEncryption *int64 `locationName:"totalItemsSkippedInvalidEncryption" type:"long"` + + TotalItemsSkippedInvalidKms *int64 `locationName:"totalItemsSkippedInvalidKms" type:"long"` + + TotalItemsSkippedPermissionDenied *int64 `locationName:"totalItemsSkippedPermissionDenied" type:"long"` +} + +// 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 ResourceStatistics) 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 ResourceStatistics) GoString() string { + return s.String() +} + +// SetTotalBytesClassified sets the TotalBytesClassified field's value. +func (s *ResourceStatistics) SetTotalBytesClassified(v int64) *ResourceStatistics { + s.TotalBytesClassified = &v + return s +} + +// SetTotalDetections sets the TotalDetections field's value. +func (s *ResourceStatistics) SetTotalDetections(v int64) *ResourceStatistics { + s.TotalDetections = &v + return s +} + +// SetTotalDetectionsSuppressed sets the TotalDetectionsSuppressed field's value. +func (s *ResourceStatistics) SetTotalDetectionsSuppressed(v int64) *ResourceStatistics { + s.TotalDetectionsSuppressed = &v + return s +} + +// SetTotalItemsClassified sets the TotalItemsClassified field's value. +func (s *ResourceStatistics) SetTotalItemsClassified(v int64) *ResourceStatistics { + s.TotalItemsClassified = &v + return s +} + +// SetTotalItemsSensitive sets the TotalItemsSensitive field's value. +func (s *ResourceStatistics) SetTotalItemsSensitive(v int64) *ResourceStatistics { + s.TotalItemsSensitive = &v + return s +} + +// SetTotalItemsSkipped sets the TotalItemsSkipped field's value. +func (s *ResourceStatistics) SetTotalItemsSkipped(v int64) *ResourceStatistics { + s.TotalItemsSkipped = &v + return s +} + +// SetTotalItemsSkippedInvalidEncryption sets the TotalItemsSkippedInvalidEncryption field's value. +func (s *ResourceStatistics) SetTotalItemsSkippedInvalidEncryption(v int64) *ResourceStatistics { + s.TotalItemsSkippedInvalidEncryption = &v + return s +} + +// SetTotalItemsSkippedInvalidKms sets the TotalItemsSkippedInvalidKms field's value. +func (s *ResourceStatistics) SetTotalItemsSkippedInvalidKms(v int64) *ResourceStatistics { + s.TotalItemsSkippedInvalidKms = &v + return s +} + +// SetTotalItemsSkippedPermissionDenied sets the TotalItemsSkippedPermissionDenied field's value. +func (s *ResourceStatistics) SetTotalItemsSkippedPermissionDenied(v int64) *ResourceStatistics { + s.TotalItemsSkippedPermissionDenied = &v + return s +} + // Provides information about the resources that a finding applies to. type ResourcesAffected struct { _ struct{} `type:"structure"` @@ -17425,13 +20232,186 @@ func (s *S3Bucket) SetTags(v []*KeyValuePair) *S3Bucket { type S3BucketCriteriaForJob struct { _ struct{} `type:"structure"` - // Specifies one or more property- and tag-based conditions that define criteria - // for including or excluding S3 buckets from a classification job. - Excludes *CriteriaBlockForJob `locationName:"excludes" type:"structure"` + // Specifies one or more property- and tag-based conditions that define criteria + // for including or excluding S3 buckets from a classification job. + Excludes *CriteriaBlockForJob `locationName:"excludes" type:"structure"` + + // Specifies one or more property- and tag-based conditions that define criteria + // for including or excluding S3 buckets from a classification job. + Includes *CriteriaBlockForJob `locationName:"includes" 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 S3BucketCriteriaForJob) 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 S3BucketCriteriaForJob) GoString() string { + return s.String() +} + +// SetExcludes sets the Excludes field's value. +func (s *S3BucketCriteriaForJob) SetExcludes(v *CriteriaBlockForJob) *S3BucketCriteriaForJob { + s.Excludes = v + return s +} + +// SetIncludes sets the Includes field's value. +func (s *S3BucketCriteriaForJob) SetIncludes(v *CriteriaBlockForJob) *S3BucketCriteriaForJob { + s.Includes = v + return s +} + +// Specifies an Amazon Web Services account that owns S3 buckets for a classification +// job to analyze, and one or more specific buckets to analyze for that account. +type S3BucketDefinitionForJob struct { + _ struct{} `type:"structure"` + + // AccountId is a required field + AccountId *string `locationName:"accountId" type:"string" required:"true"` + + // Buckets is a required field + Buckets []*string `locationName:"buckets" type:"list" required:"true"` +} + +// 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 S3BucketDefinitionForJob) 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 S3BucketDefinitionForJob) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *S3BucketDefinitionForJob) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "S3BucketDefinitionForJob"} + if s.AccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AccountId")) + } + if s.Buckets == nil { + invalidParams.Add(request.NewErrParamRequired("Buckets")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAccountId sets the AccountId field's value. +func (s *S3BucketDefinitionForJob) SetAccountId(v string) *S3BucketDefinitionForJob { + s.AccountId = &v + return s +} + +// SetBuckets sets the Buckets field's value. +func (s *S3BucketDefinitionForJob) SetBuckets(v []*string) *S3BucketDefinitionForJob { + s.Buckets = v + return s +} + +// Provides information about the Amazon Web Services account that owns an S3 +// bucket. +type S3BucketOwner struct { + _ struct{} `type:"structure"` + + DisplayName *string `locationName:"displayName" type:"string"` + + Id *string `locationName:"id" 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 S3BucketOwner) 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 S3BucketOwner) GoString() string { + return s.String() +} + +// SetDisplayName sets the DisplayName field's value. +func (s *S3BucketOwner) SetDisplayName(v string) *S3BucketOwner { + s.DisplayName = &v + return s +} + +// SetId sets the Id field's value. +func (s *S3BucketOwner) SetId(v string) *S3BucketOwner { + s.Id = &v + return s +} + +// Specifies the S3 buckets that are excluded from automated sensitive data +// discovery for an Amazon Macie account. +type S3ClassificationScope struct { + _ struct{} `type:"structure"` + + // Specifies the names of the S3 buckets that are excluded from automated sensitive + // data discovery. + // + // Excludes is a required field + Excludes *S3ClassificationScopeExclusion `locationName:"excludes" type:"structure" required:"true"` +} + +// 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 S3ClassificationScope) 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 S3ClassificationScope) GoString() string { + return s.String() +} + +// SetExcludes sets the Excludes field's value. +func (s *S3ClassificationScope) SetExcludes(v *S3ClassificationScopeExclusion) *S3ClassificationScope { + s.Excludes = v + return s +} + +// Specifies the names of the S3 buckets that are excluded from automated sensitive +// data discovery. +type S3ClassificationScopeExclusion struct { + _ struct{} `type:"structure"` - // Specifies one or more property- and tag-based conditions that define criteria - // for including or excluding S3 buckets from a classification job. - Includes *CriteriaBlockForJob `locationName:"includes" type:"structure"` + // BucketNames is a required field + BucketNames []*string `locationName:"bucketNames" type:"list" required:"true"` } // String returns the string representation. @@ -17439,7 +20419,7 @@ type S3BucketCriteriaForJob struct { // 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 S3BucketCriteriaForJob) String() string { +func (s S3ClassificationScopeExclusion) String() string { return awsutil.Prettify(s) } @@ -17448,32 +20428,29 @@ func (s S3BucketCriteriaForJob) String() string { // 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 S3BucketCriteriaForJob) GoString() string { +func (s S3ClassificationScopeExclusion) GoString() string { return s.String() } -// SetExcludes sets the Excludes field's value. -func (s *S3BucketCriteriaForJob) SetExcludes(v *CriteriaBlockForJob) *S3BucketCriteriaForJob { - s.Excludes = v - return s -} - -// SetIncludes sets the Includes field's value. -func (s *S3BucketCriteriaForJob) SetIncludes(v *CriteriaBlockForJob) *S3BucketCriteriaForJob { - s.Includes = v +// SetBucketNames sets the BucketNames field's value. +func (s *S3ClassificationScopeExclusion) SetBucketNames(v []*string) *S3ClassificationScopeExclusion { + s.BucketNames = v return s } -// Specifies an Amazon Web Services account that owns S3 buckets for a classification -// job to analyze, and one or more specific buckets to analyze for that account. -type S3BucketDefinitionForJob struct { +// Specifies S3 buckets to add or remove from the exclusion list defined by +// the classification scope for an Amazon Macie account. +type S3ClassificationScopeExclusionUpdate struct { _ struct{} `type:"structure"` - // AccountId is a required field - AccountId *string `locationName:"accountId" type:"string" required:"true"` + // BucketNames is a required field + BucketNames []*string `locationName:"bucketNames" type:"list" required:"true"` - // Buckets is a required field - Buckets []*string `locationName:"buckets" type:"list" required:"true"` + // Specifies how to apply changes to the S3 bucket exclusion list defined by + // the classification scope for an Amazon Macie account. Valid values are: + // + // Operation is a required field + Operation *string `locationName:"operation" type:"string" required:"true" enum:"ClassificationScopeUpdateOperation"` } // String returns the string representation. @@ -17481,7 +20458,7 @@ type S3BucketDefinitionForJob struct { // 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 S3BucketDefinitionForJob) String() string { +func (s S3ClassificationScopeExclusionUpdate) String() string { return awsutil.Prettify(s) } @@ -17490,18 +20467,18 @@ func (s S3BucketDefinitionForJob) String() string { // 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 S3BucketDefinitionForJob) GoString() string { +func (s S3ClassificationScopeExclusionUpdate) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *S3BucketDefinitionForJob) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "S3BucketDefinitionForJob"} - if s.AccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AccountId")) +func (s *S3ClassificationScopeExclusionUpdate) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "S3ClassificationScopeExclusionUpdate"} + if s.BucketNames == nil { + invalidParams.Add(request.NewErrParamRequired("BucketNames")) } - if s.Buckets == nil { - invalidParams.Add(request.NewErrParamRequired("Buckets")) + if s.Operation == nil { + invalidParams.Add(request.NewErrParamRequired("Operation")) } if invalidParams.Len() > 0 { @@ -17510,26 +20487,28 @@ func (s *S3BucketDefinitionForJob) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *S3BucketDefinitionForJob) SetAccountId(v string) *S3BucketDefinitionForJob { - s.AccountId = &v +// SetBucketNames sets the BucketNames field's value. +func (s *S3ClassificationScopeExclusionUpdate) SetBucketNames(v []*string) *S3ClassificationScopeExclusionUpdate { + s.BucketNames = v return s } -// SetBuckets sets the Buckets field's value. -func (s *S3BucketDefinitionForJob) SetBuckets(v []*string) *S3BucketDefinitionForJob { - s.Buckets = v +// SetOperation sets the Operation field's value. +func (s *S3ClassificationScopeExclusionUpdate) SetOperation(v string) *S3ClassificationScopeExclusionUpdate { + s.Operation = &v return s } -// Provides information about the Amazon Web Services account that owns an S3 -// bucket. -type S3BucketOwner struct { +// Specifies changes to the list of S3 buckets that are excluded from automated +// sensitive data discovery for an Amazon Macie account. +type S3ClassificationScopeUpdate struct { _ struct{} `type:"structure"` - DisplayName *string `locationName:"displayName" type:"string"` - - Id *string `locationName:"id" type:"string"` + // Specifies S3 buckets to add or remove from the exclusion list defined by + // the classification scope for an Amazon Macie account. + // + // Excludes is a required field + Excludes *S3ClassificationScopeExclusionUpdate `locationName:"excludes" type:"structure" required:"true"` } // String returns the string representation. @@ -17537,7 +20516,7 @@ type S3BucketOwner struct { // 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 S3BucketOwner) String() string { +func (s S3ClassificationScopeUpdate) String() string { return awsutil.Prettify(s) } @@ -17546,19 +20525,31 @@ func (s S3BucketOwner) String() string { // 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 S3BucketOwner) GoString() string { +func (s S3ClassificationScopeUpdate) GoString() string { return s.String() } -// SetDisplayName sets the DisplayName field's value. -func (s *S3BucketOwner) SetDisplayName(v string) *S3BucketOwner { - s.DisplayName = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *S3ClassificationScopeUpdate) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "S3ClassificationScopeUpdate"} + if s.Excludes == nil { + invalidParams.Add(request.NewErrParamRequired("Excludes")) + } + if s.Excludes != nil { + if err := s.Excludes.Validate(); err != nil { + invalidParams.AddNested("Excludes", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetId sets the Id field's value. -func (s *S3BucketOwner) SetId(v string) *S3BucketOwner { - s.Id = &v +// SetExcludes sets the Excludes field's value. +func (s *S3ClassificationScopeUpdate) SetExcludes(v *S3ClassificationScopeExclusionUpdate) *S3ClassificationScopeUpdate { + s.Excludes = v return s } @@ -18305,9 +21296,225 @@ func (s *SearchResourcesTagCriterion) SetTagValues(v []*SearchResourcesTagCriter type SearchResourcesTagCriterionPair struct { _ struct{} `type:"structure"` - Key *string `locationName:"key" type:"string"` + Key *string `locationName:"key" type:"string"` + + Value *string `locationName:"value" 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 SearchResourcesTagCriterionPair) 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 SearchResourcesTagCriterionPair) GoString() string { + return s.String() +} + +// SetKey sets the Key field's value. +func (s *SearchResourcesTagCriterionPair) SetKey(v string) *SearchResourcesTagCriterionPair { + s.Key = &v + return s +} + +// SetValue sets the Value field's value. +func (s *SearchResourcesTagCriterionPair) SetValue(v string) *SearchResourcesTagCriterionPair { + s.Value = &v + return s +} + +// Specifies configuration settings that determine which findings are published +// to Security Hub automatically. For information about how Macie publishes +// findings to Security Hub, see Amazon Macie integration with Security Hub +// (https://docs.aws.amazon.com/macie/latest/user/securityhub-integration.html) +// in the Amazon Macie User Guide. +type SecurityHubConfiguration struct { + _ struct{} `type:"structure"` + + // PublishClassificationFindings is a required field + PublishClassificationFindings *bool `locationName:"publishClassificationFindings" type:"boolean" required:"true"` + + // PublishPolicyFindings is a required field + PublishPolicyFindings *bool `locationName:"publishPolicyFindings" type:"boolean" required:"true"` +} + +// 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 SecurityHubConfiguration) 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 SecurityHubConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *SecurityHubConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SecurityHubConfiguration"} + if s.PublishClassificationFindings == nil { + invalidParams.Add(request.NewErrParamRequired("PublishClassificationFindings")) + } + if s.PublishPolicyFindings == nil { + invalidParams.Add(request.NewErrParamRequired("PublishPolicyFindings")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPublishClassificationFindings sets the PublishClassificationFindings field's value. +func (s *SecurityHubConfiguration) SetPublishClassificationFindings(v bool) *SecurityHubConfiguration { + s.PublishClassificationFindings = &v + return s +} + +// SetPublishPolicyFindings sets the PublishPolicyFindings field's value. +func (s *SecurityHubConfiguration) SetPublishPolicyFindings(v bool) *SecurityHubConfiguration { + s.PublishPolicyFindings = &v + return s +} + +// Provides information about the category, types, and occurrences of sensitive +// data that produced a sensitive data finding. +type SensitiveDataItem struct { + _ struct{} `type:"structure"` + + // For a finding, the category of sensitive data that was detected and produced + // the finding. For a managed data identifier, the category of sensitive data + // that the managed data identifier detects. Possible values are: + Category *string `locationName:"category" type:"string" enum:"SensitiveDataItemCategory"` + + // Provides information about sensitive data that was detected by managed data + // identifiers and produced a sensitive data finding, and the number of occurrences + // of each type of sensitive data that was detected. + Detections []*DefaultDetection `locationName:"detections" type:"list"` + + TotalCount *int64 `locationName:"totalCount" type:"long"` +} + +// 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 SensitiveDataItem) 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 SensitiveDataItem) GoString() string { + return s.String() +} + +// SetCategory sets the Category field's value. +func (s *SensitiveDataItem) SetCategory(v string) *SensitiveDataItem { + s.Category = &v + return s +} + +// SetDetections sets the Detections field's value. +func (s *SensitiveDataItem) SetDetections(v []*DefaultDetection) *SensitiveDataItem { + s.Detections = v + return s +} + +// SetTotalCount sets the TotalCount field's value. +func (s *SensitiveDataItem) SetTotalCount(v int64) *SensitiveDataItem { + s.TotalCount = &v + return s +} + +// Provides aggregated statistical data for sensitive data discovery metrics +// that apply to S3 buckets. Each field contains aggregated data for all the +// buckets that have a sensitivity score (sensitivityScore) of a specified value +// or within a specified range (BucketStatisticsBySensitivity). If automated +// sensitive data discovery is currently disabled for your account, the value +// for each field is 0. +type SensitivityAggregations struct { + _ struct{} `type:"structure"` + + ClassifiableSizeInBytes *int64 `locationName:"classifiableSizeInBytes" type:"long"` + + PubliclyAccessibleCount *int64 `locationName:"publiclyAccessibleCount" type:"long"` + + TotalCount *int64 `locationName:"totalCount" type:"long"` + + TotalSizeInBytes *int64 `locationName:"totalSizeInBytes" type:"long"` +} + +// 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 SensitivityAggregations) 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 SensitivityAggregations) GoString() string { + return s.String() +} + +// SetClassifiableSizeInBytes sets the ClassifiableSizeInBytes field's value. +func (s *SensitivityAggregations) SetClassifiableSizeInBytes(v int64) *SensitivityAggregations { + s.ClassifiableSizeInBytes = &v + return s +} + +// SetPubliclyAccessibleCount sets the PubliclyAccessibleCount field's value. +func (s *SensitivityAggregations) SetPubliclyAccessibleCount(v int64) *SensitivityAggregations { + s.PubliclyAccessibleCount = &v + return s +} + +// SetTotalCount sets the TotalCount field's value. +func (s *SensitivityAggregations) SetTotalCount(v int64) *SensitivityAggregations { + s.TotalCount = &v + return s +} + +// SetTotalSizeInBytes sets the TotalSizeInBytes field's value. +func (s *SensitivityAggregations) SetTotalSizeInBytes(v int64) *SensitivityAggregations { + s.TotalSizeInBytes = &v + return s +} + +// Specifies managed data identifiers to exclude (not use) when performing automated +// sensitive data discovery for an Amazon Macie account. For information about +// the managed data identifiers that Amazon Macie currently provides, see Using +// managed data identifiers (https://docs.aws.amazon.com/macie/latest/user/managed-data-identifiers.html) +// in the Amazon Macie User Guide. +type SensitivityInspectionTemplateExcludes struct { + _ struct{} `type:"structure"` - Value *string `locationName:"value" type:"string"` + ManagedDataIdentifierIds []*string `locationName:"managedDataIdentifierIds" type:"list"` } // String returns the string representation. @@ -18315,7 +21522,7 @@ type SearchResourcesTagCriterionPair struct { // 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 SearchResourcesTagCriterionPair) String() string { +func (s SensitivityInspectionTemplateExcludes) String() string { return awsutil.Prettify(s) } @@ -18324,35 +21531,31 @@ func (s SearchResourcesTagCriterionPair) String() string { // 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 SearchResourcesTagCriterionPair) GoString() string { +func (s SensitivityInspectionTemplateExcludes) GoString() string { return s.String() } -// SetKey sets the Key field's value. -func (s *SearchResourcesTagCriterionPair) SetKey(v string) *SearchResourcesTagCriterionPair { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *SearchResourcesTagCriterionPair) SetValue(v string) *SearchResourcesTagCriterionPair { - s.Value = &v +// SetManagedDataIdentifierIds sets the ManagedDataIdentifierIds field's value. +func (s *SensitivityInspectionTemplateExcludes) SetManagedDataIdentifierIds(v []*string) *SensitivityInspectionTemplateExcludes { + s.ManagedDataIdentifierIds = v return s } -// Specifies configuration settings that determine which findings are published -// to Security Hub automatically. For information about how Macie publishes -// findings to Security Hub, see Amazon Macie integration with Security Hub -// (https://docs.aws.amazon.com/macie/latest/user/securityhub-integration.html) +// Specifies the allow lists, custom data identifiers, and managed data identifiers +// to include (use) when performing automated sensitive data discovery for an +// Amazon Macie account. The configuration must specify at least one custom +// data identifier or managed data identifier. For information about the managed +// data identifiers that Amazon Macie currently provides, see Using managed +// data identifiers (https://docs.aws.amazon.com/macie/latest/user/managed-data-identifiers.html) // in the Amazon Macie User Guide. -type SecurityHubConfiguration struct { +type SensitivityInspectionTemplateIncludes struct { _ struct{} `type:"structure"` - // PublishClassificationFindings is a required field - PublishClassificationFindings *bool `locationName:"publishClassificationFindings" type:"boolean" required:"true"` + AllowListIds []*string `locationName:"allowListIds" type:"list"` - // PublishPolicyFindings is a required field - PublishPolicyFindings *bool `locationName:"publishPolicyFindings" type:"boolean" required:"true"` + CustomDataIdentifierIds []*string `locationName:"customDataIdentifierIds" type:"list"` + + ManagedDataIdentifierIds []*string `locationName:"managedDataIdentifierIds" type:"list"` } // String returns the string representation. @@ -18360,7 +21563,7 @@ type SecurityHubConfiguration struct { // 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 SecurityHubConfiguration) String() string { +func (s SensitivityInspectionTemplateIncludes) String() string { return awsutil.Prettify(s) } @@ -18369,54 +21572,37 @@ func (s SecurityHubConfiguration) String() string { // 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 SecurityHubConfiguration) GoString() string { +func (s SensitivityInspectionTemplateIncludes) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *SecurityHubConfiguration) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "SecurityHubConfiguration"} - if s.PublishClassificationFindings == nil { - invalidParams.Add(request.NewErrParamRequired("PublishClassificationFindings")) - } - if s.PublishPolicyFindings == nil { - invalidParams.Add(request.NewErrParamRequired("PublishPolicyFindings")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetAllowListIds sets the AllowListIds field's value. +func (s *SensitivityInspectionTemplateIncludes) SetAllowListIds(v []*string) *SensitivityInspectionTemplateIncludes { + s.AllowListIds = v + return s } -// SetPublishClassificationFindings sets the PublishClassificationFindings field's value. -func (s *SecurityHubConfiguration) SetPublishClassificationFindings(v bool) *SecurityHubConfiguration { - s.PublishClassificationFindings = &v +// SetCustomDataIdentifierIds sets the CustomDataIdentifierIds field's value. +func (s *SensitivityInspectionTemplateIncludes) SetCustomDataIdentifierIds(v []*string) *SensitivityInspectionTemplateIncludes { + s.CustomDataIdentifierIds = v return s } -// SetPublishPolicyFindings sets the PublishPolicyFindings field's value. -func (s *SecurityHubConfiguration) SetPublishPolicyFindings(v bool) *SecurityHubConfiguration { - s.PublishPolicyFindings = &v +// SetManagedDataIdentifierIds sets the ManagedDataIdentifierIds field's value. +func (s *SensitivityInspectionTemplateIncludes) SetManagedDataIdentifierIds(v []*string) *SensitivityInspectionTemplateIncludes { + s.ManagedDataIdentifierIds = v return s } -// Provides information about the category, types, and occurrences of sensitive -// data that produced a sensitive data finding. -type SensitiveDataItem struct { +// Provides information about the sensitivity inspection template for an Amazon +// Macie account. Macie uses the template's settings when it performs automated +// sensitive data discovery for the account. +type SensitivityInspectionTemplatesEntry struct { _ struct{} `type:"structure"` - // For a finding, the category of sensitive data that was detected and produced - // the finding. For a managed data identifier, the category of sensitive data - // that the managed data identifier detects. Possible values are: - Category *string `locationName:"category" type:"string" enum:"SensitiveDataItemCategory"` - - // Provides information about sensitive data that was detected by managed data - // identifiers and produced a sensitive data finding, and the number of occurrences - // of each type of sensitive data that was detected. - Detections []*DefaultDetection `locationName:"detections" type:"list"` + Id *string `locationName:"id" type:"string"` - TotalCount *int64 `locationName:"totalCount" type:"long"` + Name *string `locationName:"name" type:"string"` } // String returns the string representation. @@ -18424,7 +21610,7 @@ type SensitiveDataItem struct { // 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 SensitiveDataItem) String() string { +func (s SensitivityInspectionTemplatesEntry) String() string { return awsutil.Prettify(s) } @@ -18433,25 +21619,19 @@ func (s SensitiveDataItem) String() string { // 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 SensitiveDataItem) GoString() string { +func (s SensitivityInspectionTemplatesEntry) GoString() string { return s.String() } -// SetCategory sets the Category field's value. -func (s *SensitiveDataItem) SetCategory(v string) *SensitiveDataItem { - s.Category = &v - return s -} - -// SetDetections sets the Detections field's value. -func (s *SensitiveDataItem) SetDetections(v []*DefaultDetection) *SensitiveDataItem { - s.Detections = v +// SetId sets the Id field's value. +func (s *SensitivityInspectionTemplatesEntry) SetId(v string) *SensitivityInspectionTemplatesEntry { + s.Id = &v return s } -// SetTotalCount sets the TotalCount field's value. -func (s *SensitiveDataItem) SetTotalCount(v int64) *SensitiveDataItem { - s.TotalCount = &v +// SetName sets the Name field's value. +func (s *SensitivityInspectionTemplatesEntry) SetName(v string) *SensitivityInspectionTemplatesEntry { + s.Name = &v return s } @@ -18461,7 +21641,7 @@ type ServerSideEncryption struct { _ struct{} `type:"structure"` // The type of server-side encryption that's used to encrypt an S3 object or - // objects in an S3 bucket. Valid values are: + // objects in an S3 bucket. Possible values are: EncryptionType *string `locationName:"encryptionType" type:"string" enum:"EncryptionType"` KmsMasterKeyId *string `locationName:"kmsMasterKeyId" type:"string"` @@ -19043,6 +22223,49 @@ func (s *Statistics) SetNumberOfRuns(v float64) *Statistics { return s } +// Specifies a custom data identifier or managed data identifier that detected +// a type of sensitive data to start excluding or including in an S3 bucket's +// sensitivity score. +type SuppressDataIdentifier struct { + _ struct{} `type:"structure"` + + Id *string `locationName:"id" type:"string"` + + // The type of data identifier that detected a specific type of sensitive data + // in an S3 bucket. Possible values are: + Type *string `locationName:"type" type:"string" enum:"DataIdentifierType"` +} + +// 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 SuppressDataIdentifier) 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 SuppressDataIdentifier) GoString() string { + return s.String() +} + +// SetId sets the Id field's value. +func (s *SuppressDataIdentifier) SetId(v string) *SuppressDataIdentifier { + s.Id = &v + return s +} + +// SetType sets the Type field's value. +func (s *SuppressDataIdentifier) SetType(v string) *SuppressDataIdentifier { + s.Type = &v + return s +} + // Specifies a tag-based condition that determines whether an S3 bucket is included // or excluded from a classification job. type TagCriterionForJob struct { @@ -19824,6 +23047,77 @@ func (s *UpdateAllowListOutput) SetId(v string) *UpdateAllowListOutput { return s } +// Enables or disables automated sensitive data discovery for an Amazon Macie +// account. +type UpdateAutomatedDiscoveryConfigurationInput struct { + _ struct{} `type:"structure"` + + // The status of the automated sensitive data discovery configuration for an + // Amazon Macie account. Valid values are: + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"AutomatedDiscoveryStatus"` +} + +// 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 UpdateAutomatedDiscoveryConfigurationInput) 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 UpdateAutomatedDiscoveryConfigurationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateAutomatedDiscoveryConfigurationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateAutomatedDiscoveryConfigurationInput"} + if s.Status == nil { + invalidParams.Add(request.NewErrParamRequired("Status")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetStatus sets the Status field's value. +func (s *UpdateAutomatedDiscoveryConfigurationInput) SetStatus(v string) *UpdateAutomatedDiscoveryConfigurationInput { + s.Status = &v + return s +} + +type UpdateAutomatedDiscoveryConfigurationOutput struct { + _ struct{} `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 UpdateAutomatedDiscoveryConfigurationOutput) 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 UpdateAutomatedDiscoveryConfigurationOutput) GoString() string { + return s.String() +} + // Changes the status of a classification job. For more information about pausing, // resuming, or cancelling jobs, see Managing sensitive data discovery jobs // (https://docs.aws.amazon.com/macie/latest/user/discovery-jobs-manage.html) @@ -19864,11 +23158,99 @@ func (s *UpdateClassificationJobInput) Validate() error { if s.JobId == nil { invalidParams.Add(request.NewErrParamRequired("JobId")) } - if s.JobId != nil && len(*s.JobId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("JobId", 1)) + if s.JobId != nil && len(*s.JobId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("JobId", 1)) + } + if s.JobStatus == nil { + invalidParams.Add(request.NewErrParamRequired("JobStatus")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetJobId sets the JobId field's value. +func (s *UpdateClassificationJobInput) SetJobId(v string) *UpdateClassificationJobInput { + s.JobId = &v + return s +} + +// SetJobStatus sets the JobStatus field's value. +func (s *UpdateClassificationJobInput) SetJobStatus(v string) *UpdateClassificationJobInput { + s.JobStatus = &v + return s +} + +type UpdateClassificationJobOutput struct { + _ struct{} `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 UpdateClassificationJobOutput) 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 UpdateClassificationJobOutput) GoString() string { + return s.String() +} + +// Specifies new classification scope settings for an Amazon Macie account. +// Macie uses these settings when it performs automated sensitive data discovery +// for the account. To update the settings, automated sensitive data discovery +// must currently be enabled for the account. +type UpdateClassificationScopeInput struct { + _ struct{} `type:"structure"` + + // Id is a required field + Id *string `location:"uri" locationName:"id" type:"string" required:"true"` + + // Specifies changes to the list of S3 buckets that are excluded from automated + // sensitive data discovery for an Amazon Macie account. + S3 *S3ClassificationScopeUpdate `locationName:"s3" 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 UpdateClassificationScopeInput) 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 UpdateClassificationScopeInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateClassificationScopeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateClassificationScopeInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Id", 1)) } - if s.JobStatus == nil { - invalidParams.Add(request.NewErrParamRequired("JobStatus")) + if s.S3 != nil { + if err := s.S3.Validate(); err != nil { + invalidParams.AddNested("S3", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -19877,19 +23259,19 @@ func (s *UpdateClassificationJobInput) Validate() error { return nil } -// SetJobId sets the JobId field's value. -func (s *UpdateClassificationJobInput) SetJobId(v string) *UpdateClassificationJobInput { - s.JobId = &v +// SetId sets the Id field's value. +func (s *UpdateClassificationScopeInput) SetId(v string) *UpdateClassificationScopeInput { + s.Id = &v return s } -// SetJobStatus sets the JobStatus field's value. -func (s *UpdateClassificationJobInput) SetJobStatus(v string) *UpdateClassificationJobInput { - s.JobStatus = &v +// SetS3 sets the S3 field's value. +func (s *UpdateClassificationScopeInput) SetS3(v *S3ClassificationScopeUpdate) *UpdateClassificationScopeInput { + s.S3 = v return s } -type UpdateClassificationJobOutput struct { +type UpdateClassificationScopeOutput struct { _ struct{} `type:"structure"` } @@ -19898,7 +23280,7 @@ type UpdateClassificationJobOutput struct { // 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 UpdateClassificationJobOutput) String() string { +func (s UpdateClassificationScopeOutput) String() string { return awsutil.Prettify(s) } @@ -19907,7 +23289,7 @@ func (s UpdateClassificationJobOutput) String() string { // 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 UpdateClassificationJobOutput) GoString() string { +func (s UpdateClassificationScopeOutput) GoString() string { return s.String() } @@ -19915,9 +23297,9 @@ func (s UpdateClassificationJobOutput) GoString() string { type UpdateFindingsFilterInput struct { _ struct{} `type:"structure"` - // The action to perform on findings that meet the filter criteria. To suppress - // (automatically archive) findings that meet the criteria, set this value to - // ARCHIVE. Valid values are: + // The action to perform on findings that match the filter criteria. To suppress + // (automatically archive) findings that match the criteria, set this value + // to ARCHIVE. Valid values are: Action *string `locationName:"action" type:"string" enum:"FindingsFilterAction"` ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` @@ -20271,6 +23653,162 @@ func (s UpdateOrganizationConfigurationOutput) GoString() string { return s.String() } +// Updates the sensitivity scoring settings for an S3 bucket that Amazon Macie +// monitors and analyzes for your account. The settings specify whether to exclude +// or include occurrences of specific types of sensitive data in calculations +// of the bucket's sensitivity score. You can update the settings only if automated +// sensitive data discovery is currently enabled for your account. +type UpdateResourceProfileDetectionsInput struct { + _ struct{} `type:"structure"` + + // ResourceArn is a required field + ResourceArn *string `location:"querystring" locationName:"resourceArn" type:"string" required:"true"` + + SuppressDataIdentifiers []*SuppressDataIdentifier `locationName:"suppressDataIdentifiers" 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 UpdateResourceProfileDetectionsInput) 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 UpdateResourceProfileDetectionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateResourceProfileDetectionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateResourceProfileDetectionsInput"} + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *UpdateResourceProfileDetectionsInput) SetResourceArn(v string) *UpdateResourceProfileDetectionsInput { + s.ResourceArn = &v + return s +} + +// SetSuppressDataIdentifiers sets the SuppressDataIdentifiers field's value. +func (s *UpdateResourceProfileDetectionsInput) SetSuppressDataIdentifiers(v []*SuppressDataIdentifier) *UpdateResourceProfileDetectionsInput { + s.SuppressDataIdentifiers = v + return s +} + +type UpdateResourceProfileDetectionsOutput struct { + _ struct{} `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 UpdateResourceProfileDetectionsOutput) 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 UpdateResourceProfileDetectionsOutput) GoString() string { + return s.String() +} + +// Specifies a new sensitivity score for an S3 bucket that Amazon Macie monitors +// and analyzes for your account. To update the score, automated sensitive data +// discovery must currently be enabled for your account. +type UpdateResourceProfileInput struct { + _ struct{} `type:"structure"` + + // ResourceArn is a required field + ResourceArn *string `location:"querystring" locationName:"resourceArn" type:"string" required:"true"` + + SensitivityScoreOverride *int64 `locationName:"sensitivityScoreOverride" type:"integer"` +} + +// 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 UpdateResourceProfileInput) 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 UpdateResourceProfileInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateResourceProfileInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateResourceProfileInput"} + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *UpdateResourceProfileInput) SetResourceArn(v string) *UpdateResourceProfileInput { + s.ResourceArn = &v + return s +} + +// SetSensitivityScoreOverride sets the SensitivityScoreOverride field's value. +func (s *UpdateResourceProfileInput) SetSensitivityScoreOverride(v int64) *UpdateResourceProfileInput { + s.SensitivityScoreOverride = &v + return s +} + +type UpdateResourceProfileOutput struct { + _ struct{} `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 UpdateResourceProfileOutput) 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 UpdateResourceProfileOutput) GoString() string { + return s.String() +} + // Specifies the configuration settings for retrieving occurrences of sensitive // data reported by findings, and the status of the configuration for an Amazon // Macie account. @@ -20369,6 +23907,115 @@ func (s *UpdateRevealConfigurationOutput) SetConfiguration(v *RevealConfiguratio return s } +// Specifies settings for the sensitivity inspection template for an Amazon +// Macie account. Macie uses the template's settings when it performs automated +// sensitive data discovery for the account. To update the settings, automated +// sensitive data discovery must currently be enabled for the account. +type UpdateSensitivityInspectionTemplateInput struct { + _ struct{} `type:"structure"` + + Description *string `locationName:"description" type:"string"` + + // Specifies managed data identifiers to exclude (not use) when performing automated + // sensitive data discovery for an Amazon Macie account. For information about + // the managed data identifiers that Amazon Macie currently provides, see Using + // managed data identifiers (https://docs.aws.amazon.com/macie/latest/user/managed-data-identifiers.html) + // in the Amazon Macie User Guide. + Excludes *SensitivityInspectionTemplateExcludes `locationName:"excludes" type:"structure"` + + // Id is a required field + Id *string `location:"uri" locationName:"id" type:"string" required:"true"` + + // Specifies the allow lists, custom data identifiers, and managed data identifiers + // to include (use) when performing automated sensitive data discovery for an + // Amazon Macie account. The configuration must specify at least one custom + // data identifier or managed data identifier. For information about the managed + // data identifiers that Amazon Macie currently provides, see Using managed + // data identifiers (https://docs.aws.amazon.com/macie/latest/user/managed-data-identifiers.html) + // in the Amazon Macie User Guide. + Includes *SensitivityInspectionTemplateIncludes `locationName:"includes" 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 UpdateSensitivityInspectionTemplateInput) 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 UpdateSensitivityInspectionTemplateInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateSensitivityInspectionTemplateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateSensitivityInspectionTemplateInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Id", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDescription sets the Description field's value. +func (s *UpdateSensitivityInspectionTemplateInput) SetDescription(v string) *UpdateSensitivityInspectionTemplateInput { + s.Description = &v + return s +} + +// SetExcludes sets the Excludes field's value. +func (s *UpdateSensitivityInspectionTemplateInput) SetExcludes(v *SensitivityInspectionTemplateExcludes) *UpdateSensitivityInspectionTemplateInput { + s.Excludes = v + return s +} + +// SetId sets the Id field's value. +func (s *UpdateSensitivityInspectionTemplateInput) SetId(v string) *UpdateSensitivityInspectionTemplateInput { + s.Id = &v + return s +} + +// SetIncludes sets the Includes field's value. +func (s *UpdateSensitivityInspectionTemplateInput) SetIncludes(v *SensitivityInspectionTemplateIncludes) *UpdateSensitivityInspectionTemplateInput { + s.Includes = v + return s +} + +type UpdateSensitivityInspectionTemplateOutput struct { + _ struct{} `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 UpdateSensitivityInspectionTemplateOutput) 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 UpdateSensitivityInspectionTemplateOutput) GoString() string { + return s.String() +} + // Provides data for a specific usage metric and the corresponding quota for // an Amazon Macie account. type UsageByAccount struct { @@ -20436,6 +24083,8 @@ type UsageRecord struct { AccountId *string `locationName:"accountId" type:"string"` + AutomatedDiscoveryFreeTrialStartDate *time.Time `locationName:"automatedDiscoveryFreeTrialStartDate" type:"timestamp" timestampFormat:"iso8601"` + FreeTrialStartDate *time.Time `locationName:"freeTrialStartDate" type:"timestamp" timestampFormat:"iso8601"` Usage []*UsageByAccount `locationName:"usage" type:"list"` @@ -20465,6 +24114,12 @@ func (s *UsageRecord) SetAccountId(v string) *UsageRecord { return s } +// SetAutomatedDiscoveryFreeTrialStartDate sets the AutomatedDiscoveryFreeTrialStartDate field's value. +func (s *UsageRecord) SetAutomatedDiscoveryFreeTrialStartDate(v time.Time) *UsageRecord { + s.AutomatedDiscoveryFreeTrialStartDate = &v + return s +} + // SetFreeTrialStartDate sets the FreeTrialStartDate field's value. func (s *UsageRecord) SetFreeTrialStartDate(v time.Time) *UsageRecord { s.FreeTrialStartDate = &v @@ -21002,6 +24657,24 @@ func AllowsUnencryptedObjectUploads_Values() []string { } } +// The status of the automated sensitive data discovery configuration for an +// Amazon Macie account. Valid values are: +const ( + // AutomatedDiscoveryStatusEnabled is a AutomatedDiscoveryStatus enum value + AutomatedDiscoveryStatusEnabled = "ENABLED" + + // AutomatedDiscoveryStatusDisabled is a AutomatedDiscoveryStatus enum value + AutomatedDiscoveryStatusDisabled = "DISABLED" +) + +// AutomatedDiscoveryStatus_Values returns all elements of the AutomatedDiscoveryStatus enum +func AutomatedDiscoveryStatus_Values() []string { + return []string{ + AutomatedDiscoveryStatusEnabled, + AutomatedDiscoveryStatusDisabled, + } +} + // Specifies whether occurrences of sensitive data can be retrieved for a finding. // Possible values are: const ( @@ -21021,7 +24694,7 @@ func AvailabilityCode_Values() []string { } // The error code for an error that prevented Amazon Macie from retrieving and -// processing information about an S3 bucket and the bucket's objects. +// processing metadata from Amazon S3 for an S3 bucket and the bucket's objects. const ( // BucketMetadataErrorCodeAccessDenied is a BucketMetadataErrorCode enum value BucketMetadataErrorCodeAccessDenied = "ACCESS_DENIED" @@ -21034,6 +24707,28 @@ func BucketMetadataErrorCode_Values() []string { } } +// Specifies how to apply changes to the S3 bucket exclusion list defined by +// the classification scope for an Amazon Macie account. Valid values are: +const ( + // ClassificationScopeUpdateOperationAdd is a ClassificationScopeUpdateOperation enum value + ClassificationScopeUpdateOperationAdd = "ADD" + + // ClassificationScopeUpdateOperationReplace is a ClassificationScopeUpdateOperation enum value + ClassificationScopeUpdateOperationReplace = "REPLACE" + + // ClassificationScopeUpdateOperationRemove is a ClassificationScopeUpdateOperation enum value + ClassificationScopeUpdateOperationRemove = "REMOVE" +) + +// ClassificationScopeUpdateOperation_Values returns all elements of the ClassificationScopeUpdateOperation enum +func ClassificationScopeUpdateOperation_Values() []string { + return []string{ + ClassificationScopeUpdateOperationAdd, + ClassificationScopeUpdateOperationReplace, + ClassificationScopeUpdateOperationRemove, + } +} + // The type of currency that the data for an Amazon Macie usage metric is reported // in. Possible values are: const ( @@ -21070,6 +24765,24 @@ func DataIdentifierSeverity_Values() []string { } } +// The type of data identifier that detected a specific type of sensitive data +// in an S3 bucket. Possible values are: +const ( + // DataIdentifierTypeCustom is a DataIdentifierType enum value + DataIdentifierTypeCustom = "CUSTOM" + + // DataIdentifierTypeManaged is a DataIdentifierType enum value + DataIdentifierTypeManaged = "MANAGED" +) + +// DataIdentifierType_Values returns all elements of the DataIdentifierType enum +func DataIdentifierType_Values() []string { + return []string{ + DataIdentifierTypeCustom, + DataIdentifierTypeManaged, + } +} + const ( // DayOfWeekSunday is a DayOfWeek enum value DayOfWeekSunday = "SUNDAY" @@ -21127,7 +24840,7 @@ func EffectivePermission_Values() []string { } // The type of server-side encryption that's used to encrypt an S3 object or -// objects in an S3 bucket. Valid values are: +// objects in an S3 bucket. Possible values are: const ( // EncryptionTypeNone is a EncryptionType enum value EncryptionTypeNone = "NONE" @@ -21183,7 +24896,7 @@ func FindingActionType_Values() []string { } } -// The category of the finding. Valid values are: +// The category of the finding. Possible values are: const ( // FindingCategoryClassification is a FindingCategory enum value FindingCategoryClassification = "CLASSIFICATION" @@ -21244,7 +24957,7 @@ func FindingStatisticsSortAttributeName_Values() []string { // The type of finding. For details about each type, see Types of Amazon Macie // findings (https://docs.aws.amazon.com/macie/latest/user/findings-types.html) -// in the Amazon Macie User Guide. Valid values are: +// in the Amazon Macie User Guide. Possible values are: const ( // FindingTypeSensitiveDataS3objectMultiple is a FindingType enum value FindingTypeSensitiveDataS3objectMultiple = "SensitiveData:S3Object/Multiple" @@ -21293,9 +25006,9 @@ func FindingType_Values() []string { } } -// The action to perform on findings that meet the filter criteria. To suppress -// (automatically archive) findings that meet the criteria, set this value to -// ARCHIVE. Valid values are: +// The action to perform on findings that match the filter criteria. To suppress +// (automatically archive) findings that match the criteria, set this value +// to ARCHIVE. Valid values are: const ( // FindingsFilterActionArchive is a FindingsFilterAction enum value FindingsFilterActionArchive = "ARCHIVE" @@ -21597,16 +25310,20 @@ func OrderBy_Values() []string { } // Specifies how Amazon Macie found the sensitive data that produced a finding. -// The only possible value is: +// Possible values are: const ( // OriginTypeSensitiveDataDiscoveryJob is a OriginType enum value OriginTypeSensitiveDataDiscoveryJob = "SENSITIVE_DATA_DISCOVERY_JOB" + + // OriginTypeAutomatedSensitiveDataDiscovery is a OriginType enum value + OriginTypeAutomatedSensitiveDataDiscovery = "AUTOMATED_SENSITIVE_DATA_DISCOVERY" ) // OriginType_Values returns all elements of the OriginType enum func OriginType_Values() []string { return []string{ OriginTypeSensitiveDataDiscoveryJob, + OriginTypeAutomatedSensitiveDataDiscovery, } } @@ -22122,6 +25839,12 @@ const ( // UsageTypeSensitiveDataDiscovery is a UsageType enum value UsageTypeSensitiveDataDiscovery = "SENSITIVE_DATA_DISCOVERY" + + // UsageTypeAutomatedSensitiveDataDiscovery is a UsageType enum value + UsageTypeAutomatedSensitiveDataDiscovery = "AUTOMATED_SENSITIVE_DATA_DISCOVERY" + + // UsageTypeAutomatedObjectMonitoring is a UsageType enum value + UsageTypeAutomatedObjectMonitoring = "AUTOMATED_OBJECT_MONITORING" ) // UsageType_Values returns all elements of the UsageType enum @@ -22129,6 +25852,8 @@ func UsageType_Values() []string { return []string{ UsageTypeDataInventoryEvaluation, UsageTypeSensitiveDataDiscovery, + UsageTypeAutomatedSensitiveDataDiscovery, + UsageTypeAutomatedObjectMonitoring, } } diff --git a/service/macie2/doc.go b/service/macie2/doc.go index 7aee6c71462..c89750673bf 100644 --- a/service/macie2/doc.go +++ b/service/macie2/doc.go @@ -4,13 +4,13 @@ // requests to Amazon Macie 2. // // Amazon Macie is a fully managed data security and data privacy service that -// uses machine learning and pattern matching to discover and protect your sensitive -// data in AWS. Macie automates the discovery of sensitive data, such as PII -// and intellectual property, to provide you with insight into the data that -// your organization stores in AWS. Macie also provides an inventory of your -// Amazon S3 buckets, which it continually monitors for you. If Macie detects -// sensitive data or potential data access issues, it generates detailed findings -// for you to review and act upon as necessary. +// uses machine learning and pattern matching to help you discover and protect +// your sensitive data in AWS. Macie automates the discovery of sensitive data, +// such as PII and intellectual property, to provide you with insight into the +// data that your organization stores in AWS. Macie also provides an inventory +// of your Amazon S3 buckets, which it continually monitors for you. If Macie +// detects sensitive data or potential data access issues, it generates detailed +// findings for you to review and act upon as necessary. // // See https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01 for more information on this service. // diff --git a/service/macie2/macie2iface/interface.go b/service/macie2/macie2iface/interface.go index 4968f0a13f8..538824a4f96 100644 --- a/service/macie2/macie2iface/interface.go +++ b/service/macie2/macie2iface/interface.go @@ -171,6 +171,10 @@ type Macie2API interface { GetAllowListWithContext(aws.Context, *macie2.GetAllowListInput, ...request.Option) (*macie2.GetAllowListOutput, error) GetAllowListRequest(*macie2.GetAllowListInput) (*request.Request, *macie2.GetAllowListOutput) + GetAutomatedDiscoveryConfiguration(*macie2.GetAutomatedDiscoveryConfigurationInput) (*macie2.GetAutomatedDiscoveryConfigurationOutput, error) + GetAutomatedDiscoveryConfigurationWithContext(aws.Context, *macie2.GetAutomatedDiscoveryConfigurationInput, ...request.Option) (*macie2.GetAutomatedDiscoveryConfigurationOutput, error) + GetAutomatedDiscoveryConfigurationRequest(*macie2.GetAutomatedDiscoveryConfigurationInput) (*request.Request, *macie2.GetAutomatedDiscoveryConfigurationOutput) + GetBucketStatistics(*macie2.GetBucketStatisticsInput) (*macie2.GetBucketStatisticsOutput, error) GetBucketStatisticsWithContext(aws.Context, *macie2.GetBucketStatisticsInput, ...request.Option) (*macie2.GetBucketStatisticsOutput, error) GetBucketStatisticsRequest(*macie2.GetBucketStatisticsInput) (*request.Request, *macie2.GetBucketStatisticsOutput) @@ -179,6 +183,10 @@ type Macie2API interface { GetClassificationExportConfigurationWithContext(aws.Context, *macie2.GetClassificationExportConfigurationInput, ...request.Option) (*macie2.GetClassificationExportConfigurationOutput, error) GetClassificationExportConfigurationRequest(*macie2.GetClassificationExportConfigurationInput) (*request.Request, *macie2.GetClassificationExportConfigurationOutput) + GetClassificationScope(*macie2.GetClassificationScopeInput) (*macie2.GetClassificationScopeOutput, error) + GetClassificationScopeWithContext(aws.Context, *macie2.GetClassificationScopeInput, ...request.Option) (*macie2.GetClassificationScopeOutput, error) + GetClassificationScopeRequest(*macie2.GetClassificationScopeInput) (*request.Request, *macie2.GetClassificationScopeOutput) + GetCustomDataIdentifier(*macie2.GetCustomDataIdentifierInput) (*macie2.GetCustomDataIdentifierOutput, error) GetCustomDataIdentifierWithContext(aws.Context, *macie2.GetCustomDataIdentifierInput, ...request.Option) (*macie2.GetCustomDataIdentifierOutput, error) GetCustomDataIdentifierRequest(*macie2.GetCustomDataIdentifierInput) (*request.Request, *macie2.GetCustomDataIdentifierOutput) @@ -215,6 +223,10 @@ type Macie2API interface { GetMemberWithContext(aws.Context, *macie2.GetMemberInput, ...request.Option) (*macie2.GetMemberOutput, error) GetMemberRequest(*macie2.GetMemberInput) (*request.Request, *macie2.GetMemberOutput) + GetResourceProfile(*macie2.GetResourceProfileInput) (*macie2.GetResourceProfileOutput, error) + GetResourceProfileWithContext(aws.Context, *macie2.GetResourceProfileInput, ...request.Option) (*macie2.GetResourceProfileOutput, error) + GetResourceProfileRequest(*macie2.GetResourceProfileInput) (*request.Request, *macie2.GetResourceProfileOutput) + GetRevealConfiguration(*macie2.GetRevealConfigurationInput) (*macie2.GetRevealConfigurationOutput, error) GetRevealConfigurationWithContext(aws.Context, *macie2.GetRevealConfigurationInput, ...request.Option) (*macie2.GetRevealConfigurationOutput, error) GetRevealConfigurationRequest(*macie2.GetRevealConfigurationInput) (*request.Request, *macie2.GetRevealConfigurationOutput) @@ -227,6 +239,10 @@ type Macie2API interface { GetSensitiveDataOccurrencesAvailabilityWithContext(aws.Context, *macie2.GetSensitiveDataOccurrencesAvailabilityInput, ...request.Option) (*macie2.GetSensitiveDataOccurrencesAvailabilityOutput, error) GetSensitiveDataOccurrencesAvailabilityRequest(*macie2.GetSensitiveDataOccurrencesAvailabilityInput) (*request.Request, *macie2.GetSensitiveDataOccurrencesAvailabilityOutput) + GetSensitivityInspectionTemplate(*macie2.GetSensitivityInspectionTemplateInput) (*macie2.GetSensitivityInspectionTemplateOutput, error) + GetSensitivityInspectionTemplateWithContext(aws.Context, *macie2.GetSensitivityInspectionTemplateInput, ...request.Option) (*macie2.GetSensitivityInspectionTemplateOutput, error) + GetSensitivityInspectionTemplateRequest(*macie2.GetSensitivityInspectionTemplateInput) (*request.Request, *macie2.GetSensitivityInspectionTemplateOutput) + GetUsageStatistics(*macie2.GetUsageStatisticsInput) (*macie2.GetUsageStatisticsOutput, error) GetUsageStatisticsWithContext(aws.Context, *macie2.GetUsageStatisticsInput, ...request.Option) (*macie2.GetUsageStatisticsOutput, error) GetUsageStatisticsRequest(*macie2.GetUsageStatisticsInput) (*request.Request, *macie2.GetUsageStatisticsOutput) @@ -242,6 +258,9 @@ type Macie2API interface { ListAllowListsWithContext(aws.Context, *macie2.ListAllowListsInput, ...request.Option) (*macie2.ListAllowListsOutput, error) ListAllowListsRequest(*macie2.ListAllowListsInput) (*request.Request, *macie2.ListAllowListsOutput) + ListAllowListsPages(*macie2.ListAllowListsInput, func(*macie2.ListAllowListsOutput, bool) bool) error + ListAllowListsPagesWithContext(aws.Context, *macie2.ListAllowListsInput, func(*macie2.ListAllowListsOutput, bool) bool, ...request.Option) error + ListClassificationJobs(*macie2.ListClassificationJobsInput) (*macie2.ListClassificationJobsOutput, error) ListClassificationJobsWithContext(aws.Context, *macie2.ListClassificationJobsInput, ...request.Option) (*macie2.ListClassificationJobsOutput, error) ListClassificationJobsRequest(*macie2.ListClassificationJobsInput) (*request.Request, *macie2.ListClassificationJobsOutput) @@ -249,6 +268,13 @@ type Macie2API interface { ListClassificationJobsPages(*macie2.ListClassificationJobsInput, func(*macie2.ListClassificationJobsOutput, bool) bool) error ListClassificationJobsPagesWithContext(aws.Context, *macie2.ListClassificationJobsInput, func(*macie2.ListClassificationJobsOutput, bool) bool, ...request.Option) error + ListClassificationScopes(*macie2.ListClassificationScopesInput) (*macie2.ListClassificationScopesOutput, error) + ListClassificationScopesWithContext(aws.Context, *macie2.ListClassificationScopesInput, ...request.Option) (*macie2.ListClassificationScopesOutput, error) + ListClassificationScopesRequest(*macie2.ListClassificationScopesInput) (*request.Request, *macie2.ListClassificationScopesOutput) + + ListClassificationScopesPages(*macie2.ListClassificationScopesInput, func(*macie2.ListClassificationScopesOutput, bool) bool) error + ListClassificationScopesPagesWithContext(aws.Context, *macie2.ListClassificationScopesInput, func(*macie2.ListClassificationScopesOutput, bool) bool, ...request.Option) error + ListCustomDataIdentifiers(*macie2.ListCustomDataIdentifiersInput) (*macie2.ListCustomDataIdentifiersOutput, error) ListCustomDataIdentifiersWithContext(aws.Context, *macie2.ListCustomDataIdentifiersInput, ...request.Option) (*macie2.ListCustomDataIdentifiersOutput, error) ListCustomDataIdentifiersRequest(*macie2.ListCustomDataIdentifiersInput) (*request.Request, *macie2.ListCustomDataIdentifiersOutput) @@ -281,6 +307,9 @@ type Macie2API interface { ListManagedDataIdentifiersWithContext(aws.Context, *macie2.ListManagedDataIdentifiersInput, ...request.Option) (*macie2.ListManagedDataIdentifiersOutput, error) ListManagedDataIdentifiersRequest(*macie2.ListManagedDataIdentifiersInput) (*request.Request, *macie2.ListManagedDataIdentifiersOutput) + ListManagedDataIdentifiersPages(*macie2.ListManagedDataIdentifiersInput, func(*macie2.ListManagedDataIdentifiersOutput, bool) bool) error + ListManagedDataIdentifiersPagesWithContext(aws.Context, *macie2.ListManagedDataIdentifiersInput, func(*macie2.ListManagedDataIdentifiersOutput, bool) bool, ...request.Option) error + ListMembers(*macie2.ListMembersInput) (*macie2.ListMembersOutput, error) ListMembersWithContext(aws.Context, *macie2.ListMembersInput, ...request.Option) (*macie2.ListMembersOutput, error) ListMembersRequest(*macie2.ListMembersInput) (*request.Request, *macie2.ListMembersOutput) @@ -295,6 +324,27 @@ type Macie2API interface { ListOrganizationAdminAccountsPages(*macie2.ListOrganizationAdminAccountsInput, func(*macie2.ListOrganizationAdminAccountsOutput, bool) bool) error ListOrganizationAdminAccountsPagesWithContext(aws.Context, *macie2.ListOrganizationAdminAccountsInput, func(*macie2.ListOrganizationAdminAccountsOutput, bool) bool, ...request.Option) error + ListResourceProfileArtifacts(*macie2.ListResourceProfileArtifactsInput) (*macie2.ListResourceProfileArtifactsOutput, error) + ListResourceProfileArtifactsWithContext(aws.Context, *macie2.ListResourceProfileArtifactsInput, ...request.Option) (*macie2.ListResourceProfileArtifactsOutput, error) + ListResourceProfileArtifactsRequest(*macie2.ListResourceProfileArtifactsInput) (*request.Request, *macie2.ListResourceProfileArtifactsOutput) + + ListResourceProfileArtifactsPages(*macie2.ListResourceProfileArtifactsInput, func(*macie2.ListResourceProfileArtifactsOutput, bool) bool) error + ListResourceProfileArtifactsPagesWithContext(aws.Context, *macie2.ListResourceProfileArtifactsInput, func(*macie2.ListResourceProfileArtifactsOutput, bool) bool, ...request.Option) error + + ListResourceProfileDetections(*macie2.ListResourceProfileDetectionsInput) (*macie2.ListResourceProfileDetectionsOutput, error) + ListResourceProfileDetectionsWithContext(aws.Context, *macie2.ListResourceProfileDetectionsInput, ...request.Option) (*macie2.ListResourceProfileDetectionsOutput, error) + ListResourceProfileDetectionsRequest(*macie2.ListResourceProfileDetectionsInput) (*request.Request, *macie2.ListResourceProfileDetectionsOutput) + + ListResourceProfileDetectionsPages(*macie2.ListResourceProfileDetectionsInput, func(*macie2.ListResourceProfileDetectionsOutput, bool) bool) error + ListResourceProfileDetectionsPagesWithContext(aws.Context, *macie2.ListResourceProfileDetectionsInput, func(*macie2.ListResourceProfileDetectionsOutput, bool) bool, ...request.Option) error + + ListSensitivityInspectionTemplates(*macie2.ListSensitivityInspectionTemplatesInput) (*macie2.ListSensitivityInspectionTemplatesOutput, error) + ListSensitivityInspectionTemplatesWithContext(aws.Context, *macie2.ListSensitivityInspectionTemplatesInput, ...request.Option) (*macie2.ListSensitivityInspectionTemplatesOutput, error) + ListSensitivityInspectionTemplatesRequest(*macie2.ListSensitivityInspectionTemplatesInput) (*request.Request, *macie2.ListSensitivityInspectionTemplatesOutput) + + ListSensitivityInspectionTemplatesPages(*macie2.ListSensitivityInspectionTemplatesInput, func(*macie2.ListSensitivityInspectionTemplatesOutput, bool) bool) error + ListSensitivityInspectionTemplatesPagesWithContext(aws.Context, *macie2.ListSensitivityInspectionTemplatesInput, func(*macie2.ListSensitivityInspectionTemplatesOutput, bool) bool, ...request.Option) error + ListTagsForResource(*macie2.ListTagsForResourceInput) (*macie2.ListTagsForResourceOutput, error) ListTagsForResourceWithContext(aws.Context, *macie2.ListTagsForResourceInput, ...request.Option) (*macie2.ListTagsForResourceOutput, error) ListTagsForResourceRequest(*macie2.ListTagsForResourceInput) (*request.Request, *macie2.ListTagsForResourceOutput) @@ -330,10 +380,18 @@ type Macie2API interface { UpdateAllowListWithContext(aws.Context, *macie2.UpdateAllowListInput, ...request.Option) (*macie2.UpdateAllowListOutput, error) UpdateAllowListRequest(*macie2.UpdateAllowListInput) (*request.Request, *macie2.UpdateAllowListOutput) + UpdateAutomatedDiscoveryConfiguration(*macie2.UpdateAutomatedDiscoveryConfigurationInput) (*macie2.UpdateAutomatedDiscoveryConfigurationOutput, error) + UpdateAutomatedDiscoveryConfigurationWithContext(aws.Context, *macie2.UpdateAutomatedDiscoveryConfigurationInput, ...request.Option) (*macie2.UpdateAutomatedDiscoveryConfigurationOutput, error) + UpdateAutomatedDiscoveryConfigurationRequest(*macie2.UpdateAutomatedDiscoveryConfigurationInput) (*request.Request, *macie2.UpdateAutomatedDiscoveryConfigurationOutput) + UpdateClassificationJob(*macie2.UpdateClassificationJobInput) (*macie2.UpdateClassificationJobOutput, error) UpdateClassificationJobWithContext(aws.Context, *macie2.UpdateClassificationJobInput, ...request.Option) (*macie2.UpdateClassificationJobOutput, error) UpdateClassificationJobRequest(*macie2.UpdateClassificationJobInput) (*request.Request, *macie2.UpdateClassificationJobOutput) + UpdateClassificationScope(*macie2.UpdateClassificationScopeInput) (*macie2.UpdateClassificationScopeOutput, error) + UpdateClassificationScopeWithContext(aws.Context, *macie2.UpdateClassificationScopeInput, ...request.Option) (*macie2.UpdateClassificationScopeOutput, error) + UpdateClassificationScopeRequest(*macie2.UpdateClassificationScopeInput) (*request.Request, *macie2.UpdateClassificationScopeOutput) + UpdateFindingsFilter(*macie2.UpdateFindingsFilterInput) (*macie2.UpdateFindingsFilterOutput, error) UpdateFindingsFilterWithContext(aws.Context, *macie2.UpdateFindingsFilterInput, ...request.Option) (*macie2.UpdateFindingsFilterOutput, error) UpdateFindingsFilterRequest(*macie2.UpdateFindingsFilterInput) (*request.Request, *macie2.UpdateFindingsFilterOutput) @@ -350,10 +408,22 @@ type Macie2API interface { UpdateOrganizationConfigurationWithContext(aws.Context, *macie2.UpdateOrganizationConfigurationInput, ...request.Option) (*macie2.UpdateOrganizationConfigurationOutput, error) UpdateOrganizationConfigurationRequest(*macie2.UpdateOrganizationConfigurationInput) (*request.Request, *macie2.UpdateOrganizationConfigurationOutput) + UpdateResourceProfile(*macie2.UpdateResourceProfileInput) (*macie2.UpdateResourceProfileOutput, error) + UpdateResourceProfileWithContext(aws.Context, *macie2.UpdateResourceProfileInput, ...request.Option) (*macie2.UpdateResourceProfileOutput, error) + UpdateResourceProfileRequest(*macie2.UpdateResourceProfileInput) (*request.Request, *macie2.UpdateResourceProfileOutput) + + UpdateResourceProfileDetections(*macie2.UpdateResourceProfileDetectionsInput) (*macie2.UpdateResourceProfileDetectionsOutput, error) + UpdateResourceProfileDetectionsWithContext(aws.Context, *macie2.UpdateResourceProfileDetectionsInput, ...request.Option) (*macie2.UpdateResourceProfileDetectionsOutput, error) + UpdateResourceProfileDetectionsRequest(*macie2.UpdateResourceProfileDetectionsInput) (*request.Request, *macie2.UpdateResourceProfileDetectionsOutput) + UpdateRevealConfiguration(*macie2.UpdateRevealConfigurationInput) (*macie2.UpdateRevealConfigurationOutput, error) UpdateRevealConfigurationWithContext(aws.Context, *macie2.UpdateRevealConfigurationInput, ...request.Option) (*macie2.UpdateRevealConfigurationOutput, error) UpdateRevealConfigurationRequest(*macie2.UpdateRevealConfigurationInput) (*request.Request, *macie2.UpdateRevealConfigurationOutput) + UpdateSensitivityInspectionTemplate(*macie2.UpdateSensitivityInspectionTemplateInput) (*macie2.UpdateSensitivityInspectionTemplateOutput, error) + UpdateSensitivityInspectionTemplateWithContext(aws.Context, *macie2.UpdateSensitivityInspectionTemplateInput, ...request.Option) (*macie2.UpdateSensitivityInspectionTemplateOutput, error) + UpdateSensitivityInspectionTemplateRequest(*macie2.UpdateSensitivityInspectionTemplateInput) (*request.Request, *macie2.UpdateSensitivityInspectionTemplateOutput) + WaitUntilFindingRevealed(*macie2.GetSensitiveDataOccurrencesInput) error WaitUntilFindingRevealedWithContext(aws.Context, *macie2.GetSensitiveDataOccurrencesInput, ...request.WaiterOption) error } diff --git a/service/quicksight/api.go b/service/quicksight/api.go index ebdbf928106..08327fcfd9d 100644 --- a/service/quicksight/api.go +++ b/service/quicksight/api.go @@ -446,6 +446,9 @@ func (c *QuickSight) CreateAnalysisRequest(input *CreateAnalysisInput) (req *req // Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. // Not every operation and capability is available in every edition. // +// - LimitExceededException +// A limit is exceeded. +// // - InternalFailureException // An internal failure occurred. // @@ -554,6 +557,9 @@ func (c *QuickSight) CreateDashboardRequest(input *CreateDashboardInput) (req *r // Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. // Not every operation and capability is available in every edition. // +// - LimitExceededException +// A limit is exceeded. +// // - InternalFailureException // An internal failure occurred. // @@ -4268,6 +4274,118 @@ func (c *QuickSight) DescribeAnalysisWithContext(ctx aws.Context, input *Describ return out, req.Send() } +const opDescribeAnalysisDefinition = "DescribeAnalysisDefinition" + +// DescribeAnalysisDefinitionRequest generates a "aws/request.Request" representing the +// client's request for the DescribeAnalysisDefinition operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeAnalysisDefinition for more information on using the DescribeAnalysisDefinition +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DescribeAnalysisDefinitionRequest method. +// req, resp := client.DescribeAnalysisDefinitionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeAnalysisDefinition +func (c *QuickSight) DescribeAnalysisDefinitionRequest(input *DescribeAnalysisDefinitionInput) (req *request.Request, output *DescribeAnalysisDefinitionOutput) { + op := &request.Operation{ + Name: opDescribeAnalysisDefinition, + HTTPMethod: "GET", + HTTPPath: "/accounts/{AwsAccountId}/analyses/{AnalysisId}/definition", + } + + if input == nil { + input = &DescribeAnalysisDefinitionInput{} + } + + output = &DescribeAnalysisDefinitionOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeAnalysisDefinition API operation for Amazon QuickSight. +// +// Provides a detailed description of the definition of an analysis. +// +// If you do not need to know details about the content of an Analysis, for +// instance if you are trying to check the status of a recently created or updated +// Analysis, use the DescribeAnalysis (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_DescribeAnalysis.html) +// instead. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon QuickSight's +// API operation DescribeAnalysisDefinition for usage and error information. +// +// Returned Error Types: +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. +// +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - ResourceExistsException +// The resource specified already exists. +// +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - ThrottlingException +// Access is throttled. +// +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. +// +// - InternalFailureException +// An internal failure occurred. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeAnalysisDefinition +func (c *QuickSight) DescribeAnalysisDefinition(input *DescribeAnalysisDefinitionInput) (*DescribeAnalysisDefinitionOutput, error) { + req, out := c.DescribeAnalysisDefinitionRequest(input) + return out, req.Send() +} + +// DescribeAnalysisDefinitionWithContext is the same as DescribeAnalysisDefinition with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeAnalysisDefinition for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *QuickSight) DescribeAnalysisDefinitionWithContext(ctx aws.Context, input *DescribeAnalysisDefinitionInput, opts ...request.Option) (*DescribeAnalysisDefinitionOutput, error) { + req, out := c.DescribeAnalysisDefinitionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDescribeAnalysisPermissions = "DescribeAnalysisPermissions" // DescribeAnalysisPermissionsRequest generates a "aws/request.Request" representing the @@ -4463,6 +4581,118 @@ func (c *QuickSight) DescribeDashboardWithContext(ctx aws.Context, input *Descri return out, req.Send() } +const opDescribeDashboardDefinition = "DescribeDashboardDefinition" + +// DescribeDashboardDefinitionRequest generates a "aws/request.Request" representing the +// client's request for the DescribeDashboardDefinition operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeDashboardDefinition for more information on using the DescribeDashboardDefinition +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DescribeDashboardDefinitionRequest method. +// req, resp := client.DescribeDashboardDefinitionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDashboardDefinition +func (c *QuickSight) DescribeDashboardDefinitionRequest(input *DescribeDashboardDefinitionInput) (req *request.Request, output *DescribeDashboardDefinitionOutput) { + op := &request.Operation{ + Name: opDescribeDashboardDefinition, + HTTPMethod: "GET", + HTTPPath: "/accounts/{AwsAccountId}/dashboards/{DashboardId}/definition", + } + + if input == nil { + input = &DescribeDashboardDefinitionInput{} + } + + output = &DescribeDashboardDefinitionOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeDashboardDefinition API operation for Amazon QuickSight. +// +// Provides a detailed description of the definition of a dashboard. +// +// If you do not need to know details about the content of a dashboard, for +// instance if you are trying to check the status of a recently created or updated +// dashboard, use the DescribeDashboard (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_DescribeDashboard.html) +// instead. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon QuickSight's +// API operation DescribeDashboardDefinition for usage and error information. +// +// Returned Error Types: +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. +// +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - ResourceExistsException +// The resource specified already exists. +// +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - ThrottlingException +// Access is throttled. +// +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. +// +// - InternalFailureException +// An internal failure occurred. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDashboardDefinition +func (c *QuickSight) DescribeDashboardDefinition(input *DescribeDashboardDefinitionInput) (*DescribeDashboardDefinitionOutput, error) { + req, out := c.DescribeDashboardDefinitionRequest(input) + return out, req.Send() +} + +// DescribeDashboardDefinitionWithContext is the same as DescribeDashboardDefinition with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeDashboardDefinition for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *QuickSight) DescribeDashboardDefinitionWithContext(ctx aws.Context, input *DescribeDashboardDefinitionInput, opts ...request.Option) (*DescribeDashboardDefinitionOutput, error) { + req, out := c.DescribeDashboardDefinitionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDescribeDashboardPermissions = "DescribeDashboardPermissions" // DescribeDashboardPermissionsRequest generates a "aws/request.Request" representing the @@ -6037,6 +6267,118 @@ func (c *QuickSight) DescribeTemplateAliasWithContext(ctx aws.Context, input *De return out, req.Send() } +const opDescribeTemplateDefinition = "DescribeTemplateDefinition" + +// DescribeTemplateDefinitionRequest generates a "aws/request.Request" representing the +// client's request for the DescribeTemplateDefinition operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeTemplateDefinition for more information on using the DescribeTemplateDefinition +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DescribeTemplateDefinitionRequest method. +// req, resp := client.DescribeTemplateDefinitionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTemplateDefinition +func (c *QuickSight) DescribeTemplateDefinitionRequest(input *DescribeTemplateDefinitionInput) (req *request.Request, output *DescribeTemplateDefinitionOutput) { + op := &request.Operation{ + Name: opDescribeTemplateDefinition, + HTTPMethod: "GET", + HTTPPath: "/accounts/{AwsAccountId}/templates/{TemplateId}/definition", + } + + if input == nil { + input = &DescribeTemplateDefinitionInput{} + } + + output = &DescribeTemplateDefinitionOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeTemplateDefinition API operation for Amazon QuickSight. +// +// Provides a detailed description of the definition of a template. +// +// If you do not need to know details about the content of a template, for instance +// if you are trying to check the status of a recently created or updated template, +// use the DescribeTemplate (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_DescribeTemplate.html) +// instead. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon QuickSight's +// API operation DescribeTemplateDefinition for usage and error information. +// +// Returned Error Types: +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. +// +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - ResourceExistsException +// The resource specified already exists. +// +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - ThrottlingException +// Access is throttled. +// +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. +// +// - InternalFailureException +// An internal failure occurred. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTemplateDefinition +func (c *QuickSight) DescribeTemplateDefinition(input *DescribeTemplateDefinitionInput) (*DescribeTemplateDefinitionOutput, error) { + req, out := c.DescribeTemplateDefinitionRequest(input) + return out, req.Send() +} + +// DescribeTemplateDefinitionWithContext is the same as DescribeTemplateDefinition with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeTemplateDefinition for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *QuickSight) DescribeTemplateDefinitionWithContext(ctx aws.Context, input *DescribeTemplateDefinitionInput, opts ...request.Option) (*DescribeTemplateDefinitionOutput, error) { + req, out := c.DescribeTemplateDefinitionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDescribeTemplatePermissions = "DescribeTemplatePermissions" // DescribeTemplatePermissionsRequest generates a "aws/request.Request" representing the @@ -11624,6 +11966,9 @@ func (c *QuickSight) UpdateAnalysisPermissionsRequest(input *UpdateAnalysisPermi // - ConflictException // Updating or deleting a resource can cause an inconsistent state. // +// - LimitExceededException +// A limit is exceeded. +// // - InternalFailureException // An internal failure occurred. // @@ -11826,6 +12171,9 @@ func (c *QuickSight) UpdateDashboardPermissionsRequest(input *UpdateDashboardPer // - ConflictException // Updating or deleting a resource can cause an inconsistent state. // +// - LimitExceededException +// A limit is exceeded. +// // - InternalFailureException // An internal failure occurred. // @@ -13256,6 +13604,9 @@ func (c *QuickSight) UpdateTemplatePermissionsRequest(input *UpdateTemplatePermi // Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. // Not every operation and capability is available in every edition. // +// - LimitExceededException +// A limit is exceeded. +// // - InternalFailureException // An internal failure occurred. // @@ -13578,6 +13929,9 @@ func (c *QuickSight) UpdateThemePermissionsRequest(input *UpdateThemePermissions // Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. // Not every operation and capability is available in every edition. // +// - LimitExceededException +// A limit is exceeded. +// // - InternalFailureException // An internal failure occurred. // @@ -14059,6 +14413,155 @@ func (s *AdHocFilteringOption) SetAvailabilityStatus(v string) *AdHocFilteringOp return s } +// An aggregation function aggregates values from a dimension or measure. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type AggregationFunction struct { + _ struct{} `type:"structure"` + + // Aggregation for categorical values. + // + // * COUNT: Aggregate by the total number of values, including duplicates. + // + // * DISTINCT_COUNT: Aggregate by the total number of distinct values. + CategoricalAggregationFunction *string `type:"string" enum:"CategoricalAggregationFunction"` + + // Aggregation for date values. + // + // * COUNT: Aggregate by the total number of values, including duplicates. + // + // * DISTINCT_COUNT: Aggregate by the total number of distinct values. + // + // * MIN: Select the smallest date value. + // + // * MAX: Select the largest date value. + DateAggregationFunction *string `type:"string" enum:"DateAggregationFunction"` + + // Aggregation for numerical values. + NumericalAggregationFunction *NumericalAggregationFunction `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 AggregationFunction) 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 AggregationFunction) GoString() string { + return s.String() +} + +// SetCategoricalAggregationFunction sets the CategoricalAggregationFunction field's value. +func (s *AggregationFunction) SetCategoricalAggregationFunction(v string) *AggregationFunction { + s.CategoricalAggregationFunction = &v + return s +} + +// SetDateAggregationFunction sets the DateAggregationFunction field's value. +func (s *AggregationFunction) SetDateAggregationFunction(v string) *AggregationFunction { + s.DateAggregationFunction = &v + return s +} + +// SetNumericalAggregationFunction sets the NumericalAggregationFunction field's value. +func (s *AggregationFunction) SetNumericalAggregationFunction(v *NumericalAggregationFunction) *AggregationFunction { + s.NumericalAggregationFunction = v + return s +} + +// The configuration options to sort aggregated values. +type AggregationSortConfiguration struct { + _ struct{} `type:"structure"` + + // The function that aggregates the values in Column. + // + // AggregationFunction is a required field + AggregationFunction *AggregationFunction `type:"structure" required:"true"` + + // The column that determines the sort order of aggregated values. + // + // Column is a required field + Column *ColumnIdentifier `type:"structure" required:"true"` + + // The sort direction of values. + // + // * ASC: Sort in ascending order. + // + // * DESC: Sort in descending order. + // + // SortDirection is a required field + SortDirection *string `type:"string" required:"true" enum:"SortDirection"` +} + +// 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 AggregationSortConfiguration) 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 AggregationSortConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AggregationSortConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AggregationSortConfiguration"} + if s.AggregationFunction == nil { + invalidParams.Add(request.NewErrParamRequired("AggregationFunction")) + } + if s.Column == nil { + invalidParams.Add(request.NewErrParamRequired("Column")) + } + if s.SortDirection == nil { + invalidParams.Add(request.NewErrParamRequired("SortDirection")) + } + if s.Column != nil { + if err := s.Column.Validate(); err != nil { + invalidParams.AddNested("Column", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAggregationFunction sets the AggregationFunction field's value. +func (s *AggregationSortConfiguration) SetAggregationFunction(v *AggregationFunction) *AggregationSortConfiguration { + s.AggregationFunction = v + return s +} + +// SetColumn sets the Column field's value. +func (s *AggregationSortConfiguration) SetColumn(v *ColumnIdentifier) *AggregationSortConfiguration { + s.Column = v + return s +} + +// SetSortDirection sets the SortDirection field's value. +func (s *AggregationSortConfiguration) SetSortDirection(v string) *AggregationSortConfiguration { + s.SortDirection = &v + return s +} + // The parameters for OpenSearch. type AmazonElasticsearchParameters struct { _ struct{} `type:"structure"` @@ -14273,6 +14776,239 @@ func (s *Analysis) SetThemeArn(v string) *Analysis { return s } +// The configuration for default analysis settings. +type AnalysisDefaults struct { + _ struct{} `type:"structure"` + + // The configuration for default new sheet settings. + // + // DefaultNewSheetConfiguration is a required field + DefaultNewSheetConfiguration *DefaultNewSheetConfiguration `type:"structure" required:"true"` +} + +// 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 AnalysisDefaults) 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 AnalysisDefaults) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AnalysisDefaults) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AnalysisDefaults"} + if s.DefaultNewSheetConfiguration == nil { + invalidParams.Add(request.NewErrParamRequired("DefaultNewSheetConfiguration")) + } + if s.DefaultNewSheetConfiguration != nil { + if err := s.DefaultNewSheetConfiguration.Validate(); err != nil { + invalidParams.AddNested("DefaultNewSheetConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDefaultNewSheetConfiguration sets the DefaultNewSheetConfiguration field's value. +func (s *AnalysisDefaults) SetDefaultNewSheetConfiguration(v *DefaultNewSheetConfiguration) *AnalysisDefaults { + s.DefaultNewSheetConfiguration = v + return s +} + +// The definition of an analysis. +type AnalysisDefinition struct { + _ struct{} `type:"structure"` + + // The configuration for default analysis settings. + AnalysisDefaults *AnalysisDefaults `type:"structure"` + + // An array of calculated field definitions for the analysis. + CalculatedFields []*CalculatedField `type:"list"` + + // An array of analysis-level column configurations. Column configurations can + // be used to set default formatting for a column to be used throughout an analysis. + ColumnConfigurations []*ColumnConfiguration `type:"list"` + + // An array of dataset identifier declarations. This mapping allows the usage + // of dataset identifiers instead of dataset ARNs throughout analysis sub-structures. + // + // DataSetIdentifierDeclarations is a required field + DataSetIdentifierDeclarations []*DataSetIdentifierDeclaration `min:"1" type:"list" required:"true"` + + // Filter definitions for an analysis. + // + // For more information, see Filtering Data in Amazon QuickSight (https://docs.aws.amazon.com/quicksight/latest/user/adding-a-filter.html) + // in the Amazon QuickSight User Guide. + FilterGroups []*FilterGroup `type:"list"` + + // An array of parameter declarations for an analysis. + // + // Parameters are named variables that can transfer a value for use by an action + // or an object. + // + // For more information, see Parameters in Amazon QuickSight (https://docs.aws.amazon.com/quicksight/latest/user/parameters-in-quicksight.html) + // in the Amazon QuickSight User Guide. + ParameterDeclarations []*ParameterDeclaration `type:"list"` + + // An array of sheet definitions for an analysis. Each SheetDefinition provides + // detailed information about a sheet within this analysis. + Sheets []*SheetDefinition `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 AnalysisDefinition) 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 AnalysisDefinition) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AnalysisDefinition) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AnalysisDefinition"} + if s.DataSetIdentifierDeclarations == nil { + invalidParams.Add(request.NewErrParamRequired("DataSetIdentifierDeclarations")) + } + if s.DataSetIdentifierDeclarations != nil && len(s.DataSetIdentifierDeclarations) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DataSetIdentifierDeclarations", 1)) + } + if s.AnalysisDefaults != nil { + if err := s.AnalysisDefaults.Validate(); err != nil { + invalidParams.AddNested("AnalysisDefaults", err.(request.ErrInvalidParams)) + } + } + if s.CalculatedFields != nil { + for i, v := range s.CalculatedFields { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CalculatedFields", i), err.(request.ErrInvalidParams)) + } + } + } + if s.ColumnConfigurations != nil { + for i, v := range s.ColumnConfigurations { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnConfigurations", i), err.(request.ErrInvalidParams)) + } + } + } + if s.DataSetIdentifierDeclarations != nil { + for i, v := range s.DataSetIdentifierDeclarations { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DataSetIdentifierDeclarations", i), err.(request.ErrInvalidParams)) + } + } + } + if s.FilterGroups != nil { + for i, v := range s.FilterGroups { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "FilterGroups", i), err.(request.ErrInvalidParams)) + } + } + } + if s.ParameterDeclarations != nil { + for i, v := range s.ParameterDeclarations { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ParameterDeclarations", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Sheets != nil { + for i, v := range s.Sheets { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Sheets", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAnalysisDefaults sets the AnalysisDefaults field's value. +func (s *AnalysisDefinition) SetAnalysisDefaults(v *AnalysisDefaults) *AnalysisDefinition { + s.AnalysisDefaults = v + return s +} + +// SetCalculatedFields sets the CalculatedFields field's value. +func (s *AnalysisDefinition) SetCalculatedFields(v []*CalculatedField) *AnalysisDefinition { + s.CalculatedFields = v + return s +} + +// SetColumnConfigurations sets the ColumnConfigurations field's value. +func (s *AnalysisDefinition) SetColumnConfigurations(v []*ColumnConfiguration) *AnalysisDefinition { + s.ColumnConfigurations = v + return s +} + +// SetDataSetIdentifierDeclarations sets the DataSetIdentifierDeclarations field's value. +func (s *AnalysisDefinition) SetDataSetIdentifierDeclarations(v []*DataSetIdentifierDeclaration) *AnalysisDefinition { + s.DataSetIdentifierDeclarations = v + return s +} + +// SetFilterGroups sets the FilterGroups field's value. +func (s *AnalysisDefinition) SetFilterGroups(v []*FilterGroup) *AnalysisDefinition { + s.FilterGroups = v + return s +} + +// SetParameterDeclarations sets the ParameterDeclarations field's value. +func (s *AnalysisDefinition) SetParameterDeclarations(v []*ParameterDeclaration) *AnalysisDefinition { + s.ParameterDeclarations = v + return s +} + +// SetSheets sets the Sheets field's value. +func (s *AnalysisDefinition) SetSheets(v []*SheetDefinition) *AnalysisDefinition { + s.Sheets = v + return s +} + // Analysis error. type AnalysisError struct { _ struct{} `type:"structure"` @@ -14282,6 +15018,8 @@ type AnalysisError struct { // The type of the analysis error. Type *string `type:"string" enum:"AnalysisErrorType"` + + ViolatedEntities []*Entity `type:"list"` } // String returns the string representation. @@ -14314,6 +15052,12 @@ func (s *AnalysisError) SetType(v string) *AnalysisError { return s } +// SetViolatedEntities sets the ViolatedEntities field's value. +func (s *AnalysisError) SetViolatedEntities(v []*Entity) *AnalysisError { + s.ViolatedEntities = v + return s +} + // A filter that you apply when searching for one or more analyses. type AnalysisSearchFilter struct { _ struct{} `type:"structure"` @@ -14602,6 +15346,62 @@ func (s *AnalysisSummary) SetStatus(v string) *AnalysisSummary { return s } +// The date configuration of the filter. +type AnchorDateConfiguration struct { + _ struct{} `type:"structure"` + + // The options for the date configuration. Choose one of the options below: + // + // * NOW + AnchorOption *string `type:"string" enum:"AnchorOption"` + + // The name of the parameter that is used for the anchor date configuration. + ParameterName *string `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 AnchorDateConfiguration) 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 AnchorDateConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AnchorDateConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AnchorDateConfiguration"} + if s.ParameterName != nil && len(*s.ParameterName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ParameterName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAnchorOption sets the AnchorOption field's value. +func (s *AnchorDateConfiguration) SetAnchorOption(v string) *AnchorDateConfiguration { + s.AnchorOption = &v + return s +} + +// SetParameterName sets the ParameterName field's value. +func (s *AnchorDateConfiguration) SetParameterName(v string) *AnchorDateConfiguration { + s.ParameterName = &v + return s +} + // Information about the dashboard that you want to embed. type AnonymousUserDashboardEmbeddingConfiguration struct { _ struct{} `type:"structure"` @@ -14847,6 +15647,161 @@ func (s *AnonymousUserQSearchBarEmbeddingConfiguration) SetInitialTopicId(v stri return s } +// The arc axis configuration of a GaugeChartVisual. +type ArcAxisConfiguration struct { + _ struct{} `type:"structure"` + + // The arc axis range of a GaugeChartVisual. + Range *ArcAxisDisplayRange `type:"structure"` + + // The reserved range of the arc axis. + ReserveRange *int64 `type:"integer"` +} + +// 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 ArcAxisConfiguration) 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 ArcAxisConfiguration) GoString() string { + return s.String() +} + +// SetRange sets the Range field's value. +func (s *ArcAxisConfiguration) SetRange(v *ArcAxisDisplayRange) *ArcAxisConfiguration { + s.Range = v + return s +} + +// SetReserveRange sets the ReserveRange field's value. +func (s *ArcAxisConfiguration) SetReserveRange(v int64) *ArcAxisConfiguration { + s.ReserveRange = &v + return s +} + +// The arc axis range of a GaugeChartVisual. +type ArcAxisDisplayRange struct { + _ struct{} `type:"structure"` + + // The maximum value of the arc axis range. + Max *float64 `type:"double"` + + // The minimum value of the arc axis range. + Min *float64 `type:"double"` +} + +// 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 ArcAxisDisplayRange) 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 ArcAxisDisplayRange) GoString() string { + return s.String() +} + +// SetMax sets the Max field's value. +func (s *ArcAxisDisplayRange) SetMax(v float64) *ArcAxisDisplayRange { + s.Max = &v + return s +} + +// SetMin sets the Min field's value. +func (s *ArcAxisDisplayRange) SetMin(v float64) *ArcAxisDisplayRange { + s.Min = &v + return s +} + +// The arc configuration of a GaugeChartVisual. +type ArcConfiguration struct { + _ struct{} `type:"structure"` + + // The option that determines the arc angle of a GaugeChartVisual. + ArcAngle *float64 `type:"double"` + + // The options that determine the arc thickness of a GaugeChartVisual. + ArcThickness *string `type:"string" enum:"ArcThicknessOptions"` +} + +// 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 ArcConfiguration) 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 ArcConfiguration) GoString() string { + return s.String() +} + +// SetArcAngle sets the ArcAngle field's value. +func (s *ArcConfiguration) SetArcAngle(v float64) *ArcConfiguration { + s.ArcAngle = &v + return s +} + +// SetArcThickness sets the ArcThickness field's value. +func (s *ArcConfiguration) SetArcThickness(v string) *ArcConfiguration { + s.ArcThickness = &v + return s +} + +// The options that determine the arc thickness of a GaugeChartVisual. +type ArcOptions struct { + _ struct{} `type:"structure"` + + // The arc thickness of a GaugeChartVisual. + ArcThickness *string `type:"string" enum:"ArcThickness"` +} + +// 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 ArcOptions) 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 ArcOptions) GoString() string { + return s.String() +} + +// SetArcThickness sets the ArcThickness field's value. +func (s *ArcOptions) SetArcThickness(v string) *ArcOptions { + s.ArcThickness = &v + return s +} + // Parameters for Amazon Athena. type AthenaParameters struct { _ struct{} `type:"structure"` @@ -15127,12 +16082,18 @@ func (s *AwsIotAnalyticsParameters) SetDataSetName(v string) *AwsIotAnalyticsPar return s } -// The display options for tile borders for visuals. -type BorderStyle struct { +// The data options for an axis. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type AxisDataOptions struct { _ struct{} `type:"structure"` - // The option to enable display of borders for visuals. - Show *bool `type:"boolean"` + // The options for an axis with a date field. + DateAxisOptions *DateAxisOptions `type:"structure"` + + // The options for an axis with a numeric field. + NumericAxisOptions *NumericAxisOptions `type:"structure"` } // String returns the string representation. @@ -15140,7 +16101,7 @@ type BorderStyle struct { // 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 BorderStyle) String() string { +func (s AxisDataOptions) String() string { return awsutil.Prettify(s) } @@ -15149,36 +16110,25 @@ func (s BorderStyle) String() string { // 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 BorderStyle) GoString() string { +func (s AxisDataOptions) GoString() string { return s.String() } -// SetShow sets the Show field's value. -func (s *BorderStyle) SetShow(v bool) *BorderStyle { - s.Show = &v +// SetDateAxisOptions sets the DateAxisOptions field's value. +func (s *AxisDataOptions) SetDateAxisOptions(v *DateAxisOptions) *AxisDataOptions { + s.DateAxisOptions = v return s } -// A calculated column for a dataset. -type CalculatedColumn struct { - _ struct{} `type:"structure"` - - // A unique ID to identify a calculated column. During a dataset update, if - // the column ID of a calculated column matches that of an existing calculated - // column, Amazon QuickSight preserves the existing calculated column. - // - // ColumnId is a required field - ColumnId *string `min:"1" type:"string" required:"true"` - - // Column name. - // - // ColumnName is a required field - ColumnName *string `min:"1" type:"string" required:"true"` +// SetNumericAxisOptions sets the NumericAxisOptions field's value. +func (s *AxisDataOptions) SetNumericAxisOptions(v *NumericAxisOptions) *AxisDataOptions { + s.NumericAxisOptions = v + return s +} - // An expression that defines the calculated column. - // - // Expression is a required field - Expression *string `min:"1" type:"string" required:"true"` +// The options that are saved for future extension. +type AxisDisplayDataDrivenRange struct { + _ struct{} `type:"structure"` } // String returns the string representation. @@ -15186,7 +16136,7 @@ type CalculatedColumn struct { // 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 CalculatedColumn) String() string { +func (s AxisDisplayDataDrivenRange) String() string { return awsutil.Prettify(s) } @@ -15195,73 +16145,73 @@ func (s CalculatedColumn) String() string { // 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 CalculatedColumn) GoString() string { +func (s AxisDisplayDataDrivenRange) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *CalculatedColumn) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CalculatedColumn"} - if s.ColumnId == nil { - invalidParams.Add(request.NewErrParamRequired("ColumnId")) - } - if s.ColumnId != nil && len(*s.ColumnId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ColumnId", 1)) - } - if s.ColumnName == nil { - invalidParams.Add(request.NewErrParamRequired("ColumnName")) - } - if s.ColumnName != nil && len(*s.ColumnName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ColumnName", 1)) - } - if s.Expression == nil { - invalidParams.Add(request.NewErrParamRequired("Expression")) - } - if s.Expression != nil && len(*s.Expression) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Expression", 1)) - } +// The minimum and maximum setup for an axis display range. +type AxisDisplayMinMaxRange struct { + _ struct{} `type:"structure"` - if invalidParams.Len() > 0 { - return invalidParams - } - return nil + // The maximum setup for an axis display range. + Maximum *float64 `type:"double"` + + // The minimum setup for an axis display range. + Minimum *float64 `type:"double"` } -// SetColumnId sets the ColumnId field's value. -func (s *CalculatedColumn) SetColumnId(v string) *CalculatedColumn { - s.ColumnId = &v - return s +// 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 AxisDisplayMinMaxRange) String() string { + return awsutil.Prettify(s) } -// SetColumnName sets the ColumnName field's value. -func (s *CalculatedColumn) SetColumnName(v string) *CalculatedColumn { - s.ColumnName = &v +// 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 AxisDisplayMinMaxRange) GoString() string { + return s.String() +} + +// SetMaximum sets the Maximum field's value. +func (s *AxisDisplayMinMaxRange) SetMaximum(v float64) *AxisDisplayMinMaxRange { + s.Maximum = &v return s } -// SetExpression sets the Expression field's value. -func (s *CalculatedColumn) SetExpression(v string) *CalculatedColumn { - s.Expression = &v +// SetMinimum sets the Minimum field's value. +func (s *AxisDisplayMinMaxRange) SetMinimum(v float64) *AxisDisplayMinMaxRange { + s.Minimum = &v return s } -type CancelIngestionInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// The display options for the axis label. +type AxisDisplayOptions struct { + _ struct{} `type:"structure"` - // The Amazon Web Services account ID. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // Determines whether or not the axis line is visible. + AxisLineVisibility *string `type:"string" enum:"Visibility"` - // The ID of the dataset used in the ingestion. - // - // DataSetId is a required field - DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"` + // The offset value that determines the starting placement of the axis within + // a visual's bounds. + AxisOffset *string `type:"string"` - // An ID for the ingestion. - // - // IngestionId is a required field - IngestionId *string `location:"uri" locationName:"IngestionId" min:"1" type:"string" required:"true"` + // The data options for an axis. + DataOptions *AxisDataOptions `type:"structure"` + + // Determines whether or not the grid line is visible. + GridLineVisibility *string `type:"string" enum:"Visibility"` + + // The scroll bar options for an axis. + ScrollbarOptions *ScrollBarOptions `type:"structure"` + + // The tick label options of an axis. + TickLabelOptions *AxisTickLabelOptions `type:"structure"` } // String returns the string representation. @@ -15269,7 +16219,7 @@ type CancelIngestionInput struct { // 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 CancelIngestionInput) String() string { +func (s AxisDisplayOptions) String() string { return awsutil.Prettify(s) } @@ -15278,70 +16228,58 @@ func (s CancelIngestionInput) String() string { // 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 CancelIngestionInput) GoString() string { +func (s AxisDisplayOptions) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *CancelIngestionInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CancelIngestionInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.DataSetId == nil { - invalidParams.Add(request.NewErrParamRequired("DataSetId")) - } - if s.DataSetId != nil && len(*s.DataSetId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1)) - } - if s.IngestionId == nil { - invalidParams.Add(request.NewErrParamRequired("IngestionId")) - } - if s.IngestionId != nil && len(*s.IngestionId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("IngestionId", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetAxisLineVisibility sets the AxisLineVisibility field's value. +func (s *AxisDisplayOptions) SetAxisLineVisibility(v string) *AxisDisplayOptions { + s.AxisLineVisibility = &v + return s } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *CancelIngestionInput) SetAwsAccountId(v string) *CancelIngestionInput { - s.AwsAccountId = &v +// SetAxisOffset sets the AxisOffset field's value. +func (s *AxisDisplayOptions) SetAxisOffset(v string) *AxisDisplayOptions { + s.AxisOffset = &v return s } -// SetDataSetId sets the DataSetId field's value. -func (s *CancelIngestionInput) SetDataSetId(v string) *CancelIngestionInput { - s.DataSetId = &v +// SetDataOptions sets the DataOptions field's value. +func (s *AxisDisplayOptions) SetDataOptions(v *AxisDataOptions) *AxisDisplayOptions { + s.DataOptions = v return s } -// SetIngestionId sets the IngestionId field's value. -func (s *CancelIngestionInput) SetIngestionId(v string) *CancelIngestionInput { - s.IngestionId = &v +// SetGridLineVisibility sets the GridLineVisibility field's value. +func (s *AxisDisplayOptions) SetGridLineVisibility(v string) *AxisDisplayOptions { + s.GridLineVisibility = &v return s } -type CancelIngestionOutput struct { - _ struct{} `type:"structure"` +// SetScrollbarOptions sets the ScrollbarOptions field's value. +func (s *AxisDisplayOptions) SetScrollbarOptions(v *ScrollBarOptions) *AxisDisplayOptions { + s.ScrollbarOptions = v + return s +} - // The Amazon Resource Name (ARN) for the data ingestion. - Arn *string `type:"string"` +// SetTickLabelOptions sets the TickLabelOptions field's value. +func (s *AxisDisplayOptions) SetTickLabelOptions(v *AxisTickLabelOptions) *AxisDisplayOptions { + s.TickLabelOptions = v + return s +} - // An ID for the ingestion. - IngestionId *string `min:"1" type:"string"` +// The range setup of a numeric axis display range. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type AxisDisplayRange struct { + _ struct{} `type:"structure"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The data-driven setup of an axis display range. + DataDriven *AxisDisplayDataDrivenRange `type:"structure"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The minimum and maximum setup of an axis display range. + MinMax *AxisDisplayMinMaxRange `type:"structure"` } // String returns the string representation. @@ -15349,7 +16287,7 @@ type CancelIngestionOutput struct { // 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 CancelIngestionOutput) String() string { +func (s AxisDisplayRange) String() string { return awsutil.Prettify(s) } @@ -15358,51 +16296,35 @@ func (s CancelIngestionOutput) String() string { // 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 CancelIngestionOutput) GoString() string { +func (s AxisDisplayRange) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *CancelIngestionOutput) SetArn(v string) *CancelIngestionOutput { - s.Arn = &v - return s -} - -// SetIngestionId sets the IngestionId field's value. -func (s *CancelIngestionOutput) SetIngestionId(v string) *CancelIngestionOutput { - s.IngestionId = &v - return s -} - -// SetRequestId sets the RequestId field's value. -func (s *CancelIngestionOutput) SetRequestId(v string) *CancelIngestionOutput { - s.RequestId = &v +// SetDataDriven sets the DataDriven field's value. +func (s *AxisDisplayRange) SetDataDriven(v *AxisDisplayDataDrivenRange) *AxisDisplayRange { + s.DataDriven = v return s } -// SetStatus sets the Status field's value. -func (s *CancelIngestionOutput) SetStatus(v int64) *CancelIngestionOutput { - s.Status = &v +// SetMinMax sets the MinMax field's value. +func (s *AxisDisplayRange) SetMinMax(v *AxisDisplayMinMaxRange) *AxisDisplayRange { + s.MinMax = v return s } -// A transform operation that casts a column to a different type. -type CastColumnTypeOperation struct { +// The label options for a chart axis. You must specify the field that the label +// is targeted to. +type AxisLabelOptions struct { _ struct{} `type:"structure"` - // Column name. - // - // ColumnName is a required field - ColumnName *string `min:"1" type:"string" required:"true"` + // The options that indicate which field the label belongs to. + ApplyTo *AxisLabelReferenceOptions `type:"structure"` - // When casting a column from string to datetime type, you can supply a string - // in a format supported by Amazon QuickSight to denote the source data format. - Format *string `type:"string"` + // The text for the axis label. + CustomLabel *string `type:"string"` - // New column data type. - // - // NewColumnType is a required field - NewColumnType *string `type:"string" required:"true" enum:"ColumnDataType"` + // The font configuration of the axis label. + FontConfiguration *FontConfiguration `type:"structure"` } // String returns the string representation. @@ -15410,7 +16332,7 @@ type CastColumnTypeOperation struct { // 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 CastColumnTypeOperation) String() string { +func (s AxisLabelOptions) String() string { return awsutil.Prettify(s) } @@ -15419,21 +16341,17 @@ func (s CastColumnTypeOperation) String() string { // 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 CastColumnTypeOperation) GoString() string { +func (s AxisLabelOptions) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CastColumnTypeOperation) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CastColumnTypeOperation"} - if s.ColumnName == nil { - invalidParams.Add(request.NewErrParamRequired("ColumnName")) - } - if s.ColumnName != nil && len(*s.ColumnName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ColumnName", 1)) - } - if s.NewColumnType == nil { - invalidParams.Add(request.NewErrParamRequired("NewColumnType")) +func (s *AxisLabelOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AxisLabelOptions"} + if s.ApplyTo != nil { + if err := s.ApplyTo.Validate(); err != nil { + invalidParams.AddNested("ApplyTo", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -15442,64 +16360,37 @@ func (s *CastColumnTypeOperation) Validate() error { return nil } -// SetColumnName sets the ColumnName field's value. -func (s *CastColumnTypeOperation) SetColumnName(v string) *CastColumnTypeOperation { - s.ColumnName = &v +// SetApplyTo sets the ApplyTo field's value. +func (s *AxisLabelOptions) SetApplyTo(v *AxisLabelReferenceOptions) *AxisLabelOptions { + s.ApplyTo = v return s } -// SetFormat sets the Format field's value. -func (s *CastColumnTypeOperation) SetFormat(v string) *CastColumnTypeOperation { - s.Format = &v +// SetCustomLabel sets the CustomLabel field's value. +func (s *AxisLabelOptions) SetCustomLabel(v string) *AxisLabelOptions { + s.CustomLabel = &v return s } -// SetNewColumnType sets the NewColumnType field's value. -func (s *CastColumnTypeOperation) SetNewColumnType(v string) *CastColumnTypeOperation { - s.NewColumnType = &v +// SetFontConfiguration sets the FontConfiguration field's value. +func (s *AxisLabelOptions) SetFontConfiguration(v *FontConfiguration) *AxisLabelOptions { + s.FontConfiguration = v return s } -// Metadata that contains a description for a column. -type ColumnDescription struct { +// The reference that specifies where the axis label is applied to. +type AxisLabelReferenceOptions struct { _ struct{} `type:"structure"` - // The text of a description for a column. - Text *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 ColumnDescription) 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 ColumnDescription) GoString() string { - return s.String() -} - -// SetText sets the Text field's value. -func (s *ColumnDescription) SetText(v string) *ColumnDescription { - s.Text = &v - return s -} - -// Groupings of columns that work together in certain Amazon QuickSight features. -// This is a variant type structure. For this structure to be valid, only one -// of the attributes can be non-null. -type ColumnGroup struct { - _ struct{} `type:"structure"` + // The column that the axis label is targeted to. + // + // Column is a required field + Column *ColumnIdentifier `type:"structure" required:"true"` - // Geospatial column group that denotes a hierarchy. - GeoSpatialColumnGroup *GeoSpatialColumnGroup `type:"structure"` + // The field that the axis label is targeted to. + // + // FieldId is a required field + FieldId *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -15507,7 +16398,7 @@ type ColumnGroup struct { // 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 ColumnGroup) String() string { +func (s AxisLabelReferenceOptions) String() string { return awsutil.Prettify(s) } @@ -15516,16 +16407,25 @@ func (s ColumnGroup) String() string { // 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 ColumnGroup) GoString() string { +func (s AxisLabelReferenceOptions) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ColumnGroup) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ColumnGroup"} - if s.GeoSpatialColumnGroup != nil { - if err := s.GeoSpatialColumnGroup.Validate(); err != nil { - invalidParams.AddNested("GeoSpatialColumnGroup", err.(request.ErrInvalidParams)) +func (s *AxisLabelReferenceOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AxisLabelReferenceOptions"} + if s.Column == nil { + invalidParams.Add(request.NewErrParamRequired("Column")) + } + if s.FieldId == nil { + invalidParams.Add(request.NewErrParamRequired("FieldId")) + } + if s.FieldId != nil && len(*s.FieldId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FieldId", 1)) + } + if s.Column != nil { + if err := s.Column.Validate(); err != nil { + invalidParams.AddNested("Column", err.(request.ErrInvalidParams)) } } @@ -15535,53 +16435,30 @@ func (s *ColumnGroup) Validate() error { return nil } -// SetGeoSpatialColumnGroup sets the GeoSpatialColumnGroup field's value. -func (s *ColumnGroup) SetGeoSpatialColumnGroup(v *GeoSpatialColumnGroup) *ColumnGroup { - s.GeoSpatialColumnGroup = v +// SetColumn sets the Column field's value. +func (s *AxisLabelReferenceOptions) SetColumn(v *ColumnIdentifier) *AxisLabelReferenceOptions { + s.Column = v return s } -// A structure describing the name, data type, and geographic role of the columns. -type ColumnGroupColumnSchema struct { - _ struct{} `type:"structure"` - - // The name of the column group's column schema. - Name *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 ColumnGroupColumnSchema) 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 ColumnGroupColumnSchema) GoString() string { - return s.String() -} - -// SetName sets the Name field's value. -func (s *ColumnGroupColumnSchema) SetName(v string) *ColumnGroupColumnSchema { - s.Name = &v +// SetFieldId sets the FieldId field's value. +func (s *AxisLabelReferenceOptions) SetFieldId(v string) *AxisLabelReferenceOptions { + s.FieldId = &v return s } -// The column group schema. -type ColumnGroupSchema struct { +// The liner axis scale setup. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type AxisLinearScale struct { _ struct{} `type:"structure"` - // A structure containing the list of schemas for column group columns. - ColumnGroupColumnSchemaList []*ColumnGroupColumnSchema `type:"list"` + // The step count setup of a linear axis. + StepCount *int64 `type:"integer"` - // The name of the column group schema. - Name *string `type:"string"` + // The step size setup of a linear axis. + StepSize *float64 `type:"double"` } // String returns the string representation. @@ -15589,7 +16466,7 @@ type ColumnGroupSchema struct { // 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 ColumnGroupSchema) String() string { +func (s AxisLinearScale) String() string { return awsutil.Prettify(s) } @@ -15598,35 +16475,28 @@ func (s ColumnGroupSchema) String() string { // 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 ColumnGroupSchema) GoString() string { +func (s AxisLinearScale) GoString() string { return s.String() } -// SetColumnGroupColumnSchemaList sets the ColumnGroupColumnSchemaList field's value. -func (s *ColumnGroupSchema) SetColumnGroupColumnSchemaList(v []*ColumnGroupColumnSchema) *ColumnGroupSchema { - s.ColumnGroupColumnSchemaList = v +// SetStepCount sets the StepCount field's value. +func (s *AxisLinearScale) SetStepCount(v int64) *AxisLinearScale { + s.StepCount = &v return s } -// SetName sets the Name field's value. -func (s *ColumnGroupSchema) SetName(v string) *ColumnGroupSchema { - s.Name = &v +// SetStepSize sets the StepSize field's value. +func (s *AxisLinearScale) SetStepSize(v float64) *AxisLinearScale { + s.StepSize = &v return s } -// A rule defined to grant access on one or more restricted columns. Each dataset -// can have multiple rules. To create a restricted column, you add it to one -// or more rules. Each rule must contain at least one column and at least one -// user or group. To be able to see a restricted column, a user or group needs -// to be added to a rule for that column. -type ColumnLevelPermissionRule struct { +// The logarithmic axis scale setup. +type AxisLogarithmicScale struct { _ struct{} `type:"structure"` - // An array of column names. - ColumnNames []*string `min:"1" type:"list"` - - // An array of Amazon Resource Names (ARNs) for Amazon QuickSight users or groups. - Principals []*string `min:"1" type:"list"` + // The base setup of a logarithmic axis scale. + Base *float64 `type:"double"` } // String returns the string representation. @@ -15634,7 +16504,7 @@ type ColumnLevelPermissionRule struct { // 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 ColumnLevelPermissionRule) String() string { +func (s AxisLogarithmicScale) String() string { return awsutil.Prettify(s) } @@ -15643,50 +16513,28 @@ func (s ColumnLevelPermissionRule) String() string { // 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 ColumnLevelPermissionRule) GoString() string { +func (s AxisLogarithmicScale) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *ColumnLevelPermissionRule) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ColumnLevelPermissionRule"} - if s.ColumnNames != nil && len(s.ColumnNames) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ColumnNames", 1)) - } - if s.Principals != nil && len(s.Principals) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Principals", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetColumnNames sets the ColumnNames field's value. -func (s *ColumnLevelPermissionRule) SetColumnNames(v []*string) *ColumnLevelPermissionRule { - s.ColumnNames = v - return s -} - -// SetPrincipals sets the Principals field's value. -func (s *ColumnLevelPermissionRule) SetPrincipals(v []*string) *ColumnLevelPermissionRule { - s.Principals = v +// SetBase sets the Base field's value. +func (s *AxisLogarithmicScale) SetBase(v float64) *AxisLogarithmicScale { + s.Base = &v return s } -// The column schema. -type ColumnSchema struct { +// The scale setup options for a numeric axis display. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type AxisScale struct { _ struct{} `type:"structure"` - // The data type of the column schema. - DataType *string `type:"string"` - - // The geographic role of the column schema. - GeographicRole *string `type:"string"` + // The linear axis scale setup. + Linear *AxisLinearScale `type:"structure"` - // The name of the column schema. - Name *string `type:"string"` + // The logarithmic axis scale setup. + Logarithmic *AxisLogarithmicScale `type:"structure"` } // String returns the string representation. @@ -15694,7 +16542,7 @@ type ColumnSchema struct { // 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 ColumnSchema) String() string { +func (s AxisScale) String() string { return awsutil.Prettify(s) } @@ -15703,39 +16551,31 @@ func (s ColumnSchema) String() string { // 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 ColumnSchema) GoString() string { +func (s AxisScale) GoString() string { return s.String() } -// SetDataType sets the DataType field's value. -func (s *ColumnSchema) SetDataType(v string) *ColumnSchema { - s.DataType = &v - return s -} - -// SetGeographicRole sets the GeographicRole field's value. -func (s *ColumnSchema) SetGeographicRole(v string) *ColumnSchema { - s.GeographicRole = &v +// SetLinear sets the Linear field's value. +func (s *AxisScale) SetLinear(v *AxisLinearScale) *AxisScale { + s.Linear = v return s } -// SetName sets the Name field's value. -func (s *ColumnSchema) SetName(v string) *ColumnSchema { - s.Name = &v +// SetLogarithmic sets the Logarithmic field's value. +func (s *AxisScale) SetLogarithmic(v *AxisLogarithmicScale) *AxisScale { + s.Logarithmic = v return s } -// A tag for a column in a TagColumnOperation (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_TagColumnOperation.html) -// structure. This is a variant type structure. For this structure to be valid, -// only one of the attributes can be non-null. -type ColumnTag struct { +// The tick label options of an axis. +type AxisTickLabelOptions struct { _ struct{} `type:"structure"` - // A description for a column. - ColumnDescription *ColumnDescription `type:"structure"` + // Determines whether or not the axis ticks are visible. + LabelOptions *LabelOptions `type:"structure"` - // A geospatial role for a column. - ColumnGeographicRole *string `type:"string" enum:"GeoSpatialDataRole"` + // The rotation angle of the axis tick labels. + RotationAngle *float64 `type:"double"` } // String returns the string representation. @@ -15743,7 +16583,7 @@ type ColumnTag struct { // 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 ColumnTag) String() string { +func (s AxisTickLabelOptions) String() string { return awsutil.Prettify(s) } @@ -15752,31 +16592,37 @@ func (s ColumnTag) String() string { // 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 ColumnTag) GoString() string { +func (s AxisTickLabelOptions) GoString() string { return s.String() } -// SetColumnDescription sets the ColumnDescription field's value. -func (s *ColumnTag) SetColumnDescription(v *ColumnDescription) *ColumnTag { - s.ColumnDescription = v +// SetLabelOptions sets the LabelOptions field's value. +func (s *AxisTickLabelOptions) SetLabelOptions(v *LabelOptions) *AxisTickLabelOptions { + s.LabelOptions = v return s } -// SetColumnGeographicRole sets the ColumnGeographicRole field's value. -func (s *ColumnTag) SetColumnGeographicRole(v string) *ColumnTag { - s.ColumnGeographicRole = &v +// SetRotationAngle sets the RotationAngle field's value. +func (s *AxisTickLabelOptions) SetRotationAngle(v float64) *AxisTickLabelOptions { + s.RotationAngle = &v return s } -// A resource is already in a state that indicates an operation is happening -// that must complete before a new update can be applied. -type ConcurrentUpdatingException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +// The aggregated field wells of a bar chart. +type BarChartAggregatedFieldWells struct { + _ struct{} `type:"structure"` - Message_ *string `locationName:"Message" type:"string"` + // The category (y-axis) field well of a bar chart. + Category []*DimensionField `type:"list"` - RequestId *string `type:"string"` + // The color (group/color) field well of a bar chart. + Colors []*DimensionField `type:"list"` + + // The small multiples field well of a bar chart. + SmallMultiples []*DimensionField `type:"list"` + + // The value field wells of a bar chart. Values are aggregated by category. + Values []*MeasureField `type:"list"` } // String returns the string representation. @@ -15784,7 +16630,7 @@ type ConcurrentUpdatingException struct { // 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 ConcurrentUpdatingException) String() string { +func (s BarChartAggregatedFieldWells) String() string { return awsutil.Prettify(s) } @@ -15793,57 +16639,150 @@ func (s ConcurrentUpdatingException) String() string { // 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 ConcurrentUpdatingException) GoString() string { +func (s BarChartAggregatedFieldWells) GoString() string { return s.String() } -func newErrorConcurrentUpdatingException(v protocol.ResponseMetadata) error { - return &ConcurrentUpdatingException{ - RespMetadata: v, +// Validate inspects the fields of the type to determine if they are valid. +func (s *BarChartAggregatedFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BarChartAggregatedFieldWells"} + if s.Category != nil { + for i, v := range s.Category { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Category", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Colors != nil { + for i, v := range s.Colors { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Colors", i), err.(request.ErrInvalidParams)) + } + } + } + if s.SmallMultiples != nil { + for i, v := range s.SmallMultiples { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SmallMultiples", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Values != nil { + for i, v := range s.Values { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Values", i), err.(request.ErrInvalidParams)) + } + } } -} - -// Code returns the exception type name. -func (s *ConcurrentUpdatingException) Code() string { - return "ConcurrentUpdatingException" -} -// Message returns the exception's message. -func (s *ConcurrentUpdatingException) Message() string { - if s.Message_ != nil { - return *s.Message_ + if invalidParams.Len() > 0 { + return invalidParams } - return "" + return nil } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *ConcurrentUpdatingException) OrigErr() error { - return nil +// SetCategory sets the Category field's value. +func (s *BarChartAggregatedFieldWells) SetCategory(v []*DimensionField) *BarChartAggregatedFieldWells { + s.Category = v + return s } -func (s *ConcurrentUpdatingException) Error() string { - return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +// SetColors sets the Colors field's value. +func (s *BarChartAggregatedFieldWells) SetColors(v []*DimensionField) *BarChartAggregatedFieldWells { + s.Colors = v + return s } -// Status code returns the HTTP status code for the request's response error. -func (s *ConcurrentUpdatingException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetSmallMultiples sets the SmallMultiples field's value. +func (s *BarChartAggregatedFieldWells) SetSmallMultiples(v []*DimensionField) *BarChartAggregatedFieldWells { + s.SmallMultiples = v + return s } -// RequestID returns the service's response RequestID for request. -func (s *ConcurrentUpdatingException) RequestID() string { - return s.RespMetadata.RequestID +// SetValues sets the Values field's value. +func (s *BarChartAggregatedFieldWells) SetValues(v []*MeasureField) *BarChartAggregatedFieldWells { + s.Values = v + return s } -// Updating or deleting a resource can cause an inconsistent state. -type ConflictException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +// The configuration of a BarChartVisual. +type BarChartConfiguration struct { + _ struct{} `type:"structure"` - Message_ *string `locationName:"Message" type:"string"` + // Determines the arrangement of the bars. The orientation and arrangement of + // bars determine the type of bar that is used in the visual. + BarsArrangement *string `type:"string" enum:"BarsArrangement"` - // The Amazon Web Services request ID for this request. - RequestId *string `type:"string"` + // The label display options (grid line, range, scale, axis step) for bar chart + // category. + CategoryAxis *AxisDisplayOptions `type:"structure"` + + // The label options (label text, label visibility and sort icon visibility) + // for a bar chart. + CategoryLabelOptions *ChartAxisLabelOptions `type:"structure"` + + // The label options (label text, label visibility and sort icon visibility) + // for a color that is used in a bar chart. + ColorLabelOptions *ChartAxisLabelOptions `type:"structure"` + + // The contribution analysis (anomaly configuration) setup of the visual. + ContributionAnalysisDefaults []*ContributionAnalysisDefault `min:"1" type:"list"` + + // The options that determine if visual data labels are displayed. + DataLabels *DataLabelOptions `type:"structure"` + + // The field wells of the visual. + FieldWells *BarChartFieldWells `type:"structure"` + + // The legend display setup of the visual. + Legend *LegendOptions `type:"structure"` + + // The orientation of the bars in a bar chart visual. There are two valid values + // in this structure: + // + // * HORIZONTAL: Used for charts that have horizontal bars. Visuals that + // use this value are horizontal bar charts, horizontal stacked bar charts, + // and horizontal stacked 100% bar charts. + // + // * VERTICAL: Used for charts that have vertical bars. Visuals that use + // this value are vertical bar charts, vertical stacked bar charts, and vertical + // stacked 100% bar charts. + Orientation *string `type:"string" enum:"BarChartOrientation"` + + // The reference line setup of the visual. + ReferenceLines []*ReferenceLine `type:"list"` + + // The small multiples setup for the visual. + SmallMultiplesOptions *SmallMultiplesOptions `type:"structure"` + + // The sort configuration of a BarChartVisual. + SortConfiguration *BarChartSortConfiguration `type:"structure"` + + // The tooltip display setup of the visual. + Tooltip *TooltipOptions `type:"structure"` + + // The label display options (grid line, range, scale, axis step) for a bar + // chart value. + ValueAxis *AxisDisplayOptions `type:"structure"` + + // The label options (label text, label visibility and sort icon visibility) + // for a bar chart value. + ValueLabelOptions *ChartAxisLabelOptions `type:"structure"` + + // The palette (chart color) display setup of the visual. + VisualPalette *VisualPalette `type:"structure"` } // String returns the string representation. @@ -15851,7 +16790,7 @@ type ConflictException struct { // 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 ConflictException) String() string { +func (s BarChartConfiguration) String() string { return awsutil.Prettify(s) } @@ -15860,75 +16799,193 @@ func (s ConflictException) String() string { // 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 ConflictException) GoString() string { +func (s BarChartConfiguration) GoString() string { return s.String() } -func newErrorConflictException(v protocol.ResponseMetadata) error { - return &ConflictException{ - RespMetadata: v, +// Validate inspects the fields of the type to determine if they are valid. +func (s *BarChartConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BarChartConfiguration"} + if s.ContributionAnalysisDefaults != nil && len(s.ContributionAnalysisDefaults) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ContributionAnalysisDefaults", 1)) + } + if s.CategoryLabelOptions != nil { + if err := s.CategoryLabelOptions.Validate(); err != nil { + invalidParams.AddNested("CategoryLabelOptions", err.(request.ErrInvalidParams)) + } + } + if s.ColorLabelOptions != nil { + if err := s.ColorLabelOptions.Validate(); err != nil { + invalidParams.AddNested("ColorLabelOptions", err.(request.ErrInvalidParams)) + } + } + if s.ContributionAnalysisDefaults != nil { + for i, v := range s.ContributionAnalysisDefaults { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ContributionAnalysisDefaults", i), err.(request.ErrInvalidParams)) + } + } + } + if s.DataLabels != nil { + if err := s.DataLabels.Validate(); err != nil { + invalidParams.AddNested("DataLabels", err.(request.ErrInvalidParams)) + } } + if s.FieldWells != nil { + if err := s.FieldWells.Validate(); err != nil { + invalidParams.AddNested("FieldWells", err.(request.ErrInvalidParams)) + } + } + if s.ReferenceLines != nil { + for i, v := range s.ReferenceLines { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ReferenceLines", i), err.(request.ErrInvalidParams)) + } + } + } + if s.SmallMultiplesOptions != nil { + if err := s.SmallMultiplesOptions.Validate(); err != nil { + invalidParams.AddNested("SmallMultiplesOptions", err.(request.ErrInvalidParams)) + } + } + if s.SortConfiguration != nil { + if err := s.SortConfiguration.Validate(); err != nil { + invalidParams.AddNested("SortConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.Tooltip != nil { + if err := s.Tooltip.Validate(); err != nil { + invalidParams.AddNested("Tooltip", err.(request.ErrInvalidParams)) + } + } + if s.ValueLabelOptions != nil { + if err := s.ValueLabelOptions.Validate(); err != nil { + invalidParams.AddNested("ValueLabelOptions", err.(request.ErrInvalidParams)) + } + } + if s.VisualPalette != nil { + if err := s.VisualPalette.Validate(); err != nil { + invalidParams.AddNested("VisualPalette", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// Code returns the exception type name. -func (s *ConflictException) Code() string { - return "ConflictException" +// SetBarsArrangement sets the BarsArrangement field's value. +func (s *BarChartConfiguration) SetBarsArrangement(v string) *BarChartConfiguration { + s.BarsArrangement = &v + return s } -// Message returns the exception's message. -func (s *ConflictException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" +// SetCategoryAxis sets the CategoryAxis field's value. +func (s *BarChartConfiguration) SetCategoryAxis(v *AxisDisplayOptions) *BarChartConfiguration { + s.CategoryAxis = v + return s } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *ConflictException) OrigErr() error { - return nil +// SetCategoryLabelOptions sets the CategoryLabelOptions field's value. +func (s *BarChartConfiguration) SetCategoryLabelOptions(v *ChartAxisLabelOptions) *BarChartConfiguration { + s.CategoryLabelOptions = v + return s } -func (s *ConflictException) Error() string { - return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +// SetColorLabelOptions sets the ColorLabelOptions field's value. +func (s *BarChartConfiguration) SetColorLabelOptions(v *ChartAxisLabelOptions) *BarChartConfiguration { + s.ColorLabelOptions = v + return s } -// Status code returns the HTTP status code for the request's response error. -func (s *ConflictException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetContributionAnalysisDefaults sets the ContributionAnalysisDefaults field's value. +func (s *BarChartConfiguration) SetContributionAnalysisDefaults(v []*ContributionAnalysisDefault) *BarChartConfiguration { + s.ContributionAnalysisDefaults = v + return s } -// RequestID returns the service's response RequestID for request. -func (s *ConflictException) RequestID() string { - return s.RespMetadata.RequestID +// SetDataLabels sets the DataLabels field's value. +func (s *BarChartConfiguration) SetDataLabels(v *DataLabelOptions) *BarChartConfiguration { + s.DataLabels = v + return s } -type CreateAccountCustomizationInput struct { - _ struct{} `type:"structure"` +// SetFieldWells sets the FieldWells field's value. +func (s *BarChartConfiguration) SetFieldWells(v *BarChartFieldWells) *BarChartConfiguration { + s.FieldWells = v + return s +} - // The Amazon QuickSight customizations you're adding in the current Amazon - // Web Services Region. You can add these to an Amazon Web Services account - // and a QuickSight namespace. - // - // For example, you can add a default theme by setting AccountCustomization - // to the midnight theme: "AccountCustomization": { "DefaultTheme": "arn:aws:quicksight::aws:theme/MIDNIGHT" - // }. Or, you can add a custom theme by specifying "AccountCustomization": { - // "DefaultTheme": "arn:aws:quicksight:us-west-2:111122223333:theme/bdb844d0-0fe9-4d9d-b520-0fe602d93639" - // }. - // - // AccountCustomization is a required field - AccountCustomization *AccountCustomization `type:"structure" required:"true"` +// SetLegend sets the Legend field's value. +func (s *BarChartConfiguration) SetLegend(v *LegendOptions) *BarChartConfiguration { + s.Legend = v + return s +} - // The ID for the Amazon Web Services account that you want to customize Amazon - // QuickSight for. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` +// SetOrientation sets the Orientation field's value. +func (s *BarChartConfiguration) SetOrientation(v string) *BarChartConfiguration { + s.Orientation = &v + return s +} - // The Amazon QuickSight namespace that you want to add customizations to. - Namespace *string `location:"querystring" locationName:"namespace" type:"string"` +// SetReferenceLines sets the ReferenceLines field's value. +func (s *BarChartConfiguration) SetReferenceLines(v []*ReferenceLine) *BarChartConfiguration { + s.ReferenceLines = v + return s +} - // A list of the tags that you want to attach to this resource. - Tags []*Tag `min:"1" type:"list"` +// SetSmallMultiplesOptions sets the SmallMultiplesOptions field's value. +func (s *BarChartConfiguration) SetSmallMultiplesOptions(v *SmallMultiplesOptions) *BarChartConfiguration { + s.SmallMultiplesOptions = v + return s +} + +// SetSortConfiguration sets the SortConfiguration field's value. +func (s *BarChartConfiguration) SetSortConfiguration(v *BarChartSortConfiguration) *BarChartConfiguration { + s.SortConfiguration = v + return s +} + +// SetTooltip sets the Tooltip field's value. +func (s *BarChartConfiguration) SetTooltip(v *TooltipOptions) *BarChartConfiguration { + s.Tooltip = v + return s +} + +// SetValueAxis sets the ValueAxis field's value. +func (s *BarChartConfiguration) SetValueAxis(v *AxisDisplayOptions) *BarChartConfiguration { + s.ValueAxis = v + return s +} + +// SetValueLabelOptions sets the ValueLabelOptions field's value. +func (s *BarChartConfiguration) SetValueLabelOptions(v *ChartAxisLabelOptions) *BarChartConfiguration { + s.ValueLabelOptions = v + return s +} + +// SetVisualPalette sets the VisualPalette field's value. +func (s *BarChartConfiguration) SetVisualPalette(v *VisualPalette) *BarChartConfiguration { + s.VisualPalette = v + return s +} + +// The field wells of a BarChartVisual. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type BarChartFieldWells struct { + _ struct{} `type:"structure"` + + // The aggregated field wells of a bar chart. + BarChartAggregatedFieldWells *BarChartAggregatedFieldWells `type:"structure"` } // String returns the string representation. @@ -15936,7 +16993,7 @@ type CreateAccountCustomizationInput struct { // 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 CreateAccountCustomizationInput) String() string { +func (s BarChartFieldWells) String() string { return awsutil.Prettify(s) } @@ -15945,33 +17002,16 @@ func (s CreateAccountCustomizationInput) String() string { // 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 CreateAccountCustomizationInput) GoString() string { +func (s BarChartFieldWells) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateAccountCustomizationInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateAccountCustomizationInput"} - if s.AccountCustomization == nil { - invalidParams.Add(request.NewErrParamRequired("AccountCustomization")) - } - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.Tags != nil && len(s.Tags) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) - } - if s.Tags != nil { - for i, v := range s.Tags { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) - } +func (s *BarChartFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BarChartFieldWells"} + if s.BarChartAggregatedFieldWells != nil { + if err := s.BarChartAggregatedFieldWells.Validate(); err != nil { + invalidParams.AddNested("BarChartAggregatedFieldWells", err.(request.ErrInvalidParams)) } } @@ -15981,53 +17021,33 @@ func (s *CreateAccountCustomizationInput) Validate() error { return nil } -// SetAccountCustomization sets the AccountCustomization field's value. -func (s *CreateAccountCustomizationInput) SetAccountCustomization(v *AccountCustomization) *CreateAccountCustomizationInput { - s.AccountCustomization = v - return s -} - -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *CreateAccountCustomizationInput) SetAwsAccountId(v string) *CreateAccountCustomizationInput { - s.AwsAccountId = &v - return s -} - -// SetNamespace sets the Namespace field's value. -func (s *CreateAccountCustomizationInput) SetNamespace(v string) *CreateAccountCustomizationInput { - s.Namespace = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateAccountCustomizationInput) SetTags(v []*Tag) *CreateAccountCustomizationInput { - s.Tags = v +// SetBarChartAggregatedFieldWells sets the BarChartAggregatedFieldWells field's value. +func (s *BarChartFieldWells) SetBarChartAggregatedFieldWells(v *BarChartAggregatedFieldWells) *BarChartFieldWells { + s.BarChartAggregatedFieldWells = v return s } -type CreateAccountCustomizationOutput struct { +// sort-configuration-description +type BarChartSortConfiguration struct { _ struct{} `type:"structure"` - // The Amazon QuickSight customizations you're adding in the current Amazon - // Web Services Region. - AccountCustomization *AccountCustomization `type:"structure"` + // The limit on the number of categories displayed in a bar chart. + CategoryItemsLimit *ItemsLimitConfiguration `type:"structure"` - // The Amazon Resource Name (ARN) for the customization that you created for - // this Amazon Web Services account. - Arn *string `type:"string"` + // The sort configuration of category fields. + CategorySort []*FieldSortOptions `type:"list"` - // The ID for the Amazon Web Services account that you want to customize Amazon - // QuickSight for. - AwsAccountId *string `min:"12" type:"string"` + // The limit on the number of values displayed in a bar chart. + ColorItemsLimit *ItemsLimitConfiguration `type:"structure"` - // The namespace associated with the customization you're creating. - Namespace *string `type:"string"` + // The sort configuration of color fields in a bar chart. + ColorSort []*FieldSortOptions `type:"list"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The limit on the number of small multiples panels that are displayed. + SmallMultiplesLimitConfiguration *ItemsLimitConfiguration `type:"structure"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The sort configuration of the small multiples field. + SmallMultiplesSort []*FieldSortOptions `type:"list"` } // String returns the string representation. @@ -16035,7 +17055,7 @@ type CreateAccountCustomizationOutput struct { // 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 CreateAccountCustomizationOutput) String() string { +func (s BarChartSortConfiguration) String() string { return awsutil.Prettify(s) } @@ -16044,146 +17064,129 @@ func (s CreateAccountCustomizationOutput) String() string { // 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 CreateAccountCustomizationOutput) GoString() string { +func (s BarChartSortConfiguration) GoString() string { return s.String() } -// SetAccountCustomization sets the AccountCustomization field's value. -func (s *CreateAccountCustomizationOutput) SetAccountCustomization(v *AccountCustomization) *CreateAccountCustomizationOutput { - s.AccountCustomization = v +// Validate inspects the fields of the type to determine if they are valid. +func (s *BarChartSortConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BarChartSortConfiguration"} + if s.CategorySort != nil { + for i, v := range s.CategorySort { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CategorySort", i), err.(request.ErrInvalidParams)) + } + } + } + if s.ColorSort != nil { + for i, v := range s.ColorSort { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColorSort", i), err.(request.ErrInvalidParams)) + } + } + } + if s.SmallMultiplesSort != nil { + for i, v := range s.SmallMultiplesSort { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SmallMultiplesSort", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCategoryItemsLimit sets the CategoryItemsLimit field's value. +func (s *BarChartSortConfiguration) SetCategoryItemsLimit(v *ItemsLimitConfiguration) *BarChartSortConfiguration { + s.CategoryItemsLimit = v return s } -// SetArn sets the Arn field's value. -func (s *CreateAccountCustomizationOutput) SetArn(v string) *CreateAccountCustomizationOutput { - s.Arn = &v +// SetCategorySort sets the CategorySort field's value. +func (s *BarChartSortConfiguration) SetCategorySort(v []*FieldSortOptions) *BarChartSortConfiguration { + s.CategorySort = v return s } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *CreateAccountCustomizationOutput) SetAwsAccountId(v string) *CreateAccountCustomizationOutput { - s.AwsAccountId = &v +// SetColorItemsLimit sets the ColorItemsLimit field's value. +func (s *BarChartSortConfiguration) SetColorItemsLimit(v *ItemsLimitConfiguration) *BarChartSortConfiguration { + s.ColorItemsLimit = v return s } -// SetNamespace sets the Namespace field's value. -func (s *CreateAccountCustomizationOutput) SetNamespace(v string) *CreateAccountCustomizationOutput { - s.Namespace = &v +// SetColorSort sets the ColorSort field's value. +func (s *BarChartSortConfiguration) SetColorSort(v []*FieldSortOptions) *BarChartSortConfiguration { + s.ColorSort = v return s } -// SetRequestId sets the RequestId field's value. -func (s *CreateAccountCustomizationOutput) SetRequestId(v string) *CreateAccountCustomizationOutput { - s.RequestId = &v +// SetSmallMultiplesLimitConfiguration sets the SmallMultiplesLimitConfiguration field's value. +func (s *BarChartSortConfiguration) SetSmallMultiplesLimitConfiguration(v *ItemsLimitConfiguration) *BarChartSortConfiguration { + s.SmallMultiplesLimitConfiguration = v return s } -// SetStatus sets the Status field's value. -func (s *CreateAccountCustomizationOutput) SetStatus(v int64) *CreateAccountCustomizationOutput { - s.Status = &v +// SetSmallMultiplesSort sets the SmallMultiplesSort field's value. +func (s *BarChartSortConfiguration) SetSmallMultiplesSort(v []*FieldSortOptions) *BarChartSortConfiguration { + s.SmallMultiplesSort = v return s } -type CreateAccountSubscriptionInput struct { +// A bar chart. +// +// The BarChartVisual structure describes a visual that is a member of the bar +// chart family. The following charts can be described using this structure: +// +// - Horizontal bar chart +// +// - Vertical bar chart +// +// - Horizontal stacked bar chart +// +// - Vertical stacked bar chart +// +// - Horizontal stacked 100% bar chart +// +// - Vertical stacked 100% bar chart +// +// For more information, see Using bar charts (https://docs.aws.amazon.com/quicksight/latest/user/bar-charts.html) +// in the Amazon QuickSight User Guide. +type BarChartVisual struct { _ struct{} `type:"structure"` - // The name of your Amazon QuickSight account. This name is unique over all - // of Amazon Web Services, and it appears only when users sign in. You can't - // change AccountName value after the Amazon QuickSight account is created. - // - // AccountName is a required field - AccountName *string `type:"string" required:"true"` - - // The name of your Active Directory. This field is required if ACTIVE_DIRECTORY - // is the selected authentication method of the new Amazon QuickSight account. - ActiveDirectoryName *string `type:"string"` - - // The admin group associated with your Active Directory. This field is required - // if ACTIVE_DIRECTORY is the selected authentication method of the new Amazon - // QuickSight account. For more information about using Active Directory in - // Amazon QuickSight, see Using Active Directory with Amazon QuickSight Enterprise - // Edition (https://docs.aws.amazon.com/quicksight/latest/user/aws-directory-service.html) - // in the Amazon QuickSight User Guide. - AdminGroup []*string `type:"list"` - - // The method that you want to use to authenticate your Amazon QuickSight account. - // Currently, the valid values for this parameter are IAM_AND_QUICKSIGHT, IAM_ONLY, - // and ACTIVE_DIRECTORY. - // - // If you choose ACTIVE_DIRECTORY, provide an ActiveDirectoryName and an AdminGroup - // associated with your Active Directory. - // - // AuthenticationMethod is a required field - AuthenticationMethod *string `type:"string" required:"true" enum:"AuthenticationMethodOption"` - - // The author group associated with your Active Directory. For more information - // about using Active Directory in Amazon QuickSight, see Using Active Directory - // with Amazon QuickSight Enterprise Edition (https://docs.aws.amazon.com/quicksight/latest/user/aws-directory-service.html) - // in the Amazon QuickSight User Guide. - AuthorGroup []*string `type:"list"` - - // The Amazon Web Services account ID of the account that you're using to create - // your Amazon QuickSight account. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - - // A 10-digit phone number for the author of the Amazon QuickSight account to - // use for future communications. This field is required if ENTERPPRISE_AND_Q - // is the selected edition of the new Amazon QuickSight account. - ContactNumber *string `type:"string"` - - // The ID of the Active Directory that is associated with your Amazon QuickSight - // account. - DirectoryId *string `type:"string"` + // The list of custom actions that are configured for a visual. + Actions []*VisualCustomAction `type:"list"` - // The edition of Amazon QuickSight that you want your account to have. Currently, - // you can choose from ENTERPRISE or ENTERPRISE_AND_Q. - // - // If you choose ENTERPRISE_AND_Q, the following parameters are required: - // - // * FirstName - // - // * LastName - // - // * EmailAddress - // - // * ContactNumber - // - // Edition is a required field - Edition *string `type:"string" required:"true" enum:"Edition"` + // The configuration settings of the visual. + ChartConfiguration *BarChartConfiguration `type:"structure"` - // The email address of the author of the Amazon QuickSight account to use for - // future communications. This field is required if ENTERPPRISE_AND_Q is the - // selected edition of the new Amazon QuickSight account. - EmailAddress *string `type:"string"` + // The column hierarchy that is used during drill-downs and drill-ups. + ColumnHierarchies []*ColumnHierarchy `type:"list"` - // The first name of the author of the Amazon QuickSight account to use for - // future communications. This field is required if ENTERPPRISE_AND_Q is the - // selected edition of the new Amazon QuickSight account. - FirstName *string `type:"string"` + // The subtitle that is displayed on the visual. + Subtitle *VisualSubtitleLabelOptions `type:"structure"` - // The last name of the author of the Amazon QuickSight account to use for future - // communications. This field is required if ENTERPPRISE_AND_Q is the selected - // edition of the new Amazon QuickSight account. - LastName *string `type:"string"` + // The title that is displayed on the visual. + Title *VisualTitleLabelOptions `type:"structure"` - // The email address that you want Amazon QuickSight to send notifications to - // regarding your Amazon QuickSight account or Amazon QuickSight subscription. + // The unique identifier of a visual. This identifier must be unique within + // the context of a dashboard, template, or analysis. Two dashboards, analyses, + // or templates can have visuals with the same identifiers. // - // NotificationEmail is a required field - NotificationEmail *string `type:"string" required:"true"` - - // The reader group associated with your Active Direcrtory. For more information - // about using Active Directory in Amazon QuickSight, see Using Active Directory - // with Amazon QuickSight Enterprise Edition (https://docs.aws.amazon.com/quicksight/latest/user/aws-directory-service.html) - // in the Amazon QuickSight User Guide. - ReaderGroup []*string `type:"list"` - - // The realm of the Active Directory that is associated with your Amazon QuickSight - // account. This field is required if ACTIVE_DIRECTORY is the selected authentication - // method of the new Amazon QuickSight account. - Realm *string `type:"string"` + // VisualId is a required field + VisualId *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -16191,7 +17194,7 @@ type CreateAccountSubscriptionInput struct { // 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 CreateAccountSubscriptionInput) String() string { +func (s BarChartVisual) String() string { return awsutil.Prettify(s) } @@ -16200,30 +17203,53 @@ func (s CreateAccountSubscriptionInput) String() string { // 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 CreateAccountSubscriptionInput) GoString() string { +func (s BarChartVisual) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateAccountSubscriptionInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateAccountSubscriptionInput"} - if s.AccountName == nil { - invalidParams.Add(request.NewErrParamRequired("AccountName")) +func (s *BarChartVisual) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BarChartVisual"} + if s.VisualId == nil { + invalidParams.Add(request.NewErrParamRequired("VisualId")) } - if s.AuthenticationMethod == nil { - invalidParams.Add(request.NewErrParamRequired("AuthenticationMethod")) + if s.VisualId != nil && len(*s.VisualId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("VisualId", 1)) } - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + if s.Actions != nil { + for i, v := range s.Actions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Actions", i), err.(request.ErrInvalidParams)) + } + } } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + if s.ChartConfiguration != nil { + if err := s.ChartConfiguration.Validate(); err != nil { + invalidParams.AddNested("ChartConfiguration", err.(request.ErrInvalidParams)) + } } - if s.Edition == nil { - invalidParams.Add(request.NewErrParamRequired("Edition")) + if s.ColumnHierarchies != nil { + for i, v := range s.ColumnHierarchies { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnHierarchies", i), err.(request.ErrInvalidParams)) + } + } } - if s.NotificationEmail == nil { - invalidParams.Add(request.NewErrParamRequired("NotificationEmail")) + if s.Subtitle != nil { + if err := s.Subtitle.Validate(); err != nil { + invalidParams.AddNested("Subtitle", err.(request.ErrInvalidParams)) + } + } + if s.Title != nil { + if err := s.Title.Validate(); err != nil { + invalidParams.AddNested("Title", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -16232,108 +17258,83 @@ func (s *CreateAccountSubscriptionInput) Validate() error { return nil } -// SetAccountName sets the AccountName field's value. -func (s *CreateAccountSubscriptionInput) SetAccountName(v string) *CreateAccountSubscriptionInput { - s.AccountName = &v +// SetActions sets the Actions field's value. +func (s *BarChartVisual) SetActions(v []*VisualCustomAction) *BarChartVisual { + s.Actions = v return s } -// SetActiveDirectoryName sets the ActiveDirectoryName field's value. -func (s *CreateAccountSubscriptionInput) SetActiveDirectoryName(v string) *CreateAccountSubscriptionInput { - s.ActiveDirectoryName = &v +// SetChartConfiguration sets the ChartConfiguration field's value. +func (s *BarChartVisual) SetChartConfiguration(v *BarChartConfiguration) *BarChartVisual { + s.ChartConfiguration = v return s } -// SetAdminGroup sets the AdminGroup field's value. -func (s *CreateAccountSubscriptionInput) SetAdminGroup(v []*string) *CreateAccountSubscriptionInput { - s.AdminGroup = v +// SetColumnHierarchies sets the ColumnHierarchies field's value. +func (s *BarChartVisual) SetColumnHierarchies(v []*ColumnHierarchy) *BarChartVisual { + s.ColumnHierarchies = v return s } -// SetAuthenticationMethod sets the AuthenticationMethod field's value. -func (s *CreateAccountSubscriptionInput) SetAuthenticationMethod(v string) *CreateAccountSubscriptionInput { - s.AuthenticationMethod = &v +// SetSubtitle sets the Subtitle field's value. +func (s *BarChartVisual) SetSubtitle(v *VisualSubtitleLabelOptions) *BarChartVisual { + s.Subtitle = v return s } -// SetAuthorGroup sets the AuthorGroup field's value. -func (s *CreateAccountSubscriptionInput) SetAuthorGroup(v []*string) *CreateAccountSubscriptionInput { - s.AuthorGroup = v +// SetTitle sets the Title field's value. +func (s *BarChartVisual) SetTitle(v *VisualTitleLabelOptions) *BarChartVisual { + s.Title = v return s } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *CreateAccountSubscriptionInput) SetAwsAccountId(v string) *CreateAccountSubscriptionInput { - s.AwsAccountId = &v +// SetVisualId sets the VisualId field's value. +func (s *BarChartVisual) SetVisualId(v string) *BarChartVisual { + s.VisualId = &v return s } -// SetContactNumber sets the ContactNumber field's value. -func (s *CreateAccountSubscriptionInput) SetContactNumber(v string) *CreateAccountSubscriptionInput { - s.ContactNumber = &v - return s -} +// The options that determine the bin count of a histogram. +type BinCountOptions struct { + _ struct{} `type:"structure"` -// SetDirectoryId sets the DirectoryId field's value. -func (s *CreateAccountSubscriptionInput) SetDirectoryId(v string) *CreateAccountSubscriptionInput { - s.DirectoryId = &v - return s + // The options that determine the bin count value. + Value *int64 `type:"integer"` } -// SetEdition sets the Edition field's value. -func (s *CreateAccountSubscriptionInput) SetEdition(v string) *CreateAccountSubscriptionInput { - s.Edition = &v - return s +// 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 BinCountOptions) String() string { + return awsutil.Prettify(s) } -// SetEmailAddress sets the EmailAddress field's value. -func (s *CreateAccountSubscriptionInput) SetEmailAddress(v string) *CreateAccountSubscriptionInput { - s.EmailAddress = &v - return 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 BinCountOptions) GoString() string { + return s.String() } -// SetFirstName sets the FirstName field's value. -func (s *CreateAccountSubscriptionInput) SetFirstName(v string) *CreateAccountSubscriptionInput { - s.FirstName = &v +// SetValue sets the Value field's value. +func (s *BinCountOptions) SetValue(v int64) *BinCountOptions { + s.Value = &v return s } -// SetLastName sets the LastName field's value. -func (s *CreateAccountSubscriptionInput) SetLastName(v string) *CreateAccountSubscriptionInput { - s.LastName = &v - return s -} - -// SetNotificationEmail sets the NotificationEmail field's value. -func (s *CreateAccountSubscriptionInput) SetNotificationEmail(v string) *CreateAccountSubscriptionInput { - s.NotificationEmail = &v - return s -} - -// SetReaderGroup sets the ReaderGroup field's value. -func (s *CreateAccountSubscriptionInput) SetReaderGroup(v []*string) *CreateAccountSubscriptionInput { - s.ReaderGroup = v - return s -} - -// SetRealm sets the Realm field's value. -func (s *CreateAccountSubscriptionInput) SetRealm(v string) *CreateAccountSubscriptionInput { - s.Realm = &v - return s -} - -type CreateAccountSubscriptionOutput struct { - _ struct{} `type:"structure"` - - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` - - // A SignupResponse object that returns information about a newly created Amazon - // QuickSight account. - SignupResponse *SignupResponse `type:"structure"` - - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` +// The options that determine the bin width of a histogram. +type BinWidthOptions struct { + _ struct{} `type:"structure"` + + // The options that determine the bin count limit. + BinCountLimit *int64 `type:"long"` + + // The options that determine the bin width value. + Value *float64 `type:"double"` } // String returns the string representation. @@ -16341,7 +17342,7 @@ type CreateAccountSubscriptionOutput struct { // 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 CreateAccountSubscriptionOutput) String() string { +func (s BinWidthOptions) String() string { return awsutil.Prettify(s) } @@ -16350,75 +17351,41 @@ func (s CreateAccountSubscriptionOutput) String() string { // 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 CreateAccountSubscriptionOutput) GoString() string { +func (s BinWidthOptions) GoString() string { return s.String() } -// SetRequestId sets the RequestId field's value. -func (s *CreateAccountSubscriptionOutput) SetRequestId(v string) *CreateAccountSubscriptionOutput { - s.RequestId = &v - return s -} - -// SetSignupResponse sets the SignupResponse field's value. -func (s *CreateAccountSubscriptionOutput) SetSignupResponse(v *SignupResponse) *CreateAccountSubscriptionOutput { - s.SignupResponse = v +// SetBinCountLimit sets the BinCountLimit field's value. +func (s *BinWidthOptions) SetBinCountLimit(v int64) *BinWidthOptions { + s.BinCountLimit = &v return s } -// SetStatus sets the Status field's value. -func (s *CreateAccountSubscriptionOutput) SetStatus(v int64) *CreateAccountSubscriptionOutput { - s.Status = &v +// SetValue sets the Value field's value. +func (s *BinWidthOptions) SetValue(v float64) *BinWidthOptions { + s.Value = &v return s } -type CreateAnalysisInput struct { +// The configuration of a body section. +type BodySectionConfiguration struct { _ struct{} `type:"structure"` - // The ID for the analysis that you're creating. This ID displays in the URL - // of the analysis. - // - // AnalysisId is a required field - AnalysisId *string `location:"uri" locationName:"AnalysisId" min:"1" type:"string" required:"true"` - - // The ID of the Amazon Web Services account where you are creating an analysis. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - - // A descriptive name for the analysis that you're creating. This name displays - // for the analysis in the Amazon QuickSight console. + // The configuration of content in a body section. // - // Name is a required field - Name *string `min:"1" type:"string" required:"true"` - - // The parameter names and override values that you want to use. An analysis - // can have any parameter type, and some parameters might accept multiple values. - Parameters *Parameters `type:"structure"` + // Content is a required field + Content *BodySectionContent `type:"structure" required:"true"` - // A structure that describes the principals and the resource-level permissions - // on an analysis. You can use the Permissions structure to grant permissions - // by providing a list of Identity and Access Management (IAM) action information - // for each principal listed by Amazon Resource Name (ARN). - // - // To specify no permissions, omit Permissions. - Permissions []*ResourcePermission `min:"1" type:"list"` + // The configuration of a page break for a section. + PageBreakConfiguration *SectionPageBreakConfiguration `type:"structure"` - // A source entity to use for the analysis that you're creating. This metadata - // structure contains details that describe a source template and one or more - // datasets. + // The unique identifier of a body section. // - // SourceEntity is a required field - SourceEntity *AnalysisSourceEntity `type:"structure" required:"true"` - - // Contains a map of the key-value pairs for the resource tag or tags assigned - // to the analysis. - Tags []*Tag `min:"1" type:"list"` + // SectionId is a required field + SectionId *string `min:"1" type:"string" required:"true"` - // The ARN for the theme to apply to the analysis that you're creating. To see - // the theme in the Amazon QuickSight console, make sure that you have access - // to it. - ThemeArn *string `type:"string"` + // The style options of a body section. + Style *SectionStyle `type:"structure"` } // String returns the string representation. @@ -16426,7 +17393,7 @@ type CreateAnalysisInput struct { // 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 CreateAnalysisInput) String() string { +func (s BodySectionConfiguration) String() string { return awsutil.Prettify(s) } @@ -16435,68 +17402,25 @@ func (s CreateAnalysisInput) String() string { // 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 CreateAnalysisInput) GoString() string { +func (s BodySectionConfiguration) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateAnalysisInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateAnalysisInput"} - if s.AnalysisId == nil { - invalidParams.Add(request.NewErrParamRequired("AnalysisId")) - } - if s.AnalysisId != nil && len(*s.AnalysisId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("AnalysisId", 1)) - } - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) - } - if s.Name != nil && len(*s.Name) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Name", 1)) - } - if s.Permissions != nil && len(s.Permissions) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Permissions", 1)) - } - if s.SourceEntity == nil { - invalidParams.Add(request.NewErrParamRequired("SourceEntity")) - } - if s.Tags != nil && len(s.Tags) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) - } - if s.Parameters != nil { - if err := s.Parameters.Validate(); err != nil { - invalidParams.AddNested("Parameters", err.(request.ErrInvalidParams)) - } +func (s *BodySectionConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BodySectionConfiguration"} + if s.Content == nil { + invalidParams.Add(request.NewErrParamRequired("Content")) } - if s.Permissions != nil { - for i, v := range s.Permissions { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams)) - } - } + if s.SectionId == nil { + invalidParams.Add(request.NewErrParamRequired("SectionId")) } - if s.SourceEntity != nil { - if err := s.SourceEntity.Validate(); err != nil { - invalidParams.AddNested("SourceEntity", err.(request.ErrInvalidParams)) - } + if s.SectionId != nil && len(*s.SectionId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SectionId", 1)) } - if s.Tags != nil { - for i, v := range s.Tags { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) - } + if s.Content != nil { + if err := s.Content.Validate(); err != nil { + invalidParams.AddNested("Content", err.(request.ErrInvalidParams)) } } @@ -16506,71 +17430,36 @@ func (s *CreateAnalysisInput) Validate() error { return nil } -// SetAnalysisId sets the AnalysisId field's value. -func (s *CreateAnalysisInput) SetAnalysisId(v string) *CreateAnalysisInput { - s.AnalysisId = &v - return s -} - -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *CreateAnalysisInput) SetAwsAccountId(v string) *CreateAnalysisInput { - s.AwsAccountId = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateAnalysisInput) SetName(v string) *CreateAnalysisInput { - s.Name = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *CreateAnalysisInput) SetParameters(v *Parameters) *CreateAnalysisInput { - s.Parameters = v - return s -} - -// SetPermissions sets the Permissions field's value. -func (s *CreateAnalysisInput) SetPermissions(v []*ResourcePermission) *CreateAnalysisInput { - s.Permissions = v +// SetContent sets the Content field's value. +func (s *BodySectionConfiguration) SetContent(v *BodySectionContent) *BodySectionConfiguration { + s.Content = v return s } -// SetSourceEntity sets the SourceEntity field's value. -func (s *CreateAnalysisInput) SetSourceEntity(v *AnalysisSourceEntity) *CreateAnalysisInput { - s.SourceEntity = v +// SetPageBreakConfiguration sets the PageBreakConfiguration field's value. +func (s *BodySectionConfiguration) SetPageBreakConfiguration(v *SectionPageBreakConfiguration) *BodySectionConfiguration { + s.PageBreakConfiguration = v return s } -// SetTags sets the Tags field's value. -func (s *CreateAnalysisInput) SetTags(v []*Tag) *CreateAnalysisInput { - s.Tags = v +// SetSectionId sets the SectionId field's value. +func (s *BodySectionConfiguration) SetSectionId(v string) *BodySectionConfiguration { + s.SectionId = &v return s } -// SetThemeArn sets the ThemeArn field's value. -func (s *CreateAnalysisInput) SetThemeArn(v string) *CreateAnalysisInput { - s.ThemeArn = &v +// SetStyle sets the Style field's value. +func (s *BodySectionConfiguration) SetStyle(v *SectionStyle) *BodySectionConfiguration { + s.Style = v return s } -type CreateAnalysisOutput struct { +// The configuration of content in a body section. +type BodySectionContent struct { _ struct{} `type:"structure"` - // The ID of the analysis. - AnalysisId *string `min:"1" type:"string"` - - // The ARN for the analysis. - Arn *string `type:"string"` - - // The status of the creation of the analysis. - CreationStatus *string `type:"string" enum:"ResourceStatus"` - - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` - - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The layout configuration of a body section. + Layout *SectionLayoutConfiguration `type:"structure"` } // String returns the string representation. @@ -16578,7 +17467,7 @@ type CreateAnalysisOutput struct { // 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 CreateAnalysisOutput) String() string { +func (s BodySectionContent) String() string { return awsutil.Prettify(s) } @@ -16587,49 +17476,74 @@ func (s CreateAnalysisOutput) String() string { // 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 CreateAnalysisOutput) GoString() string { +func (s BodySectionContent) GoString() string { return s.String() } -// SetAnalysisId sets the AnalysisId field's value. -func (s *CreateAnalysisOutput) SetAnalysisId(v string) *CreateAnalysisOutput { - s.AnalysisId = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *BodySectionContent) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BodySectionContent"} + if s.Layout != nil { + if err := s.Layout.Validate(); err != nil { + invalidParams.AddNested("Layout", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetArn sets the Arn field's value. -func (s *CreateAnalysisOutput) SetArn(v string) *CreateAnalysisOutput { - s.Arn = &v +// SetLayout sets the Layout field's value. +func (s *BodySectionContent) SetLayout(v *SectionLayoutConfiguration) *BodySectionContent { + s.Layout = v return s } -// SetCreationStatus sets the CreationStatus field's value. -func (s *CreateAnalysisOutput) SetCreationStatus(v string) *CreateAnalysisOutput { - s.CreationStatus = &v - return s +// The display options for tile borders for visuals. +type BorderStyle struct { + _ struct{} `type:"structure"` + + // The option to enable display of borders for visuals. + Show *bool `type:"boolean"` } -// SetRequestId sets the RequestId field's value. -func (s *CreateAnalysisOutput) SetRequestId(v string) *CreateAnalysisOutput { - s.RequestId = &v - return s +// 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 BorderStyle) String() string { + return awsutil.Prettify(s) } -// SetStatus sets the Status field's value. -func (s *CreateAnalysisOutput) SetStatus(v int64) *CreateAnalysisOutput { - s.Status = &v +// 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 BorderStyle) GoString() string { + return s.String() +} + +// SetShow sets the Show field's value. +func (s *BorderStyle) SetShow(v bool) *BorderStyle { + s.Show = &v return s } -// A transform operation that creates calculated columns. Columns created in -// one such operation form a lexical closure. -type CreateColumnsOperation struct { +// The aggregated field well for a box plot. +type BoxPlotAggregatedFieldWells struct { _ struct{} `type:"structure"` - // Calculated columns to create. - // - // Columns is a required field - Columns []*CalculatedColumn `min:"1" type:"list" required:"true"` + // The group by field well of a box plot chart. Values are grouped based on + // group by fields. + GroupBy []*DimensionField `type:"list"` + + // The value field well of a box plot chart. Values are aggregated based on + // group by fields. + Values []*MeasureField `type:"list"` } // String returns the string representation. @@ -16637,7 +17551,7 @@ type CreateColumnsOperation struct { // 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 CreateColumnsOperation) String() string { +func (s BoxPlotAggregatedFieldWells) String() string { return awsutil.Prettify(s) } @@ -16646,26 +17560,30 @@ func (s CreateColumnsOperation) String() string { // 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 CreateColumnsOperation) GoString() string { +func (s BoxPlotAggregatedFieldWells) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateColumnsOperation) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateColumnsOperation"} - if s.Columns == nil { - invalidParams.Add(request.NewErrParamRequired("Columns")) - } - if s.Columns != nil && len(s.Columns) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Columns", 1)) +func (s *BoxPlotAggregatedFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BoxPlotAggregatedFieldWells"} + if s.GroupBy != nil { + for i, v := range s.GroupBy { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GroupBy", i), err.(request.ErrInvalidParams)) + } + } } - if s.Columns != nil { - for i, v := range s.Columns { + if s.Values != nil { + for i, v := range s.Values { if v == nil { continue } if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Columns", i), err.(request.ErrInvalidParams)) + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Values", i), err.(request.ErrInvalidParams)) } } } @@ -16676,86 +17594,58 @@ func (s *CreateColumnsOperation) Validate() error { return nil } -// SetColumns sets the Columns field's value. -func (s *CreateColumnsOperation) SetColumns(v []*CalculatedColumn) *CreateColumnsOperation { - s.Columns = v +// SetGroupBy sets the GroupBy field's value. +func (s *BoxPlotAggregatedFieldWells) SetGroupBy(v []*DimensionField) *BoxPlotAggregatedFieldWells { + s.GroupBy = v return s } -type CreateDashboardInput struct { +// SetValues sets the Values field's value. +func (s *BoxPlotAggregatedFieldWells) SetValues(v []*MeasureField) *BoxPlotAggregatedFieldWells { + s.Values = v + return s +} + +// The configuration of a BoxPlotVisual. +type BoxPlotChartConfiguration struct { _ struct{} `type:"structure"` - // The ID of the Amazon Web Services account where you want to create the dashboard. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // The box plot chart options for a box plot visual + BoxPlotOptions *BoxPlotOptions `type:"structure"` - // The ID for the dashboard, also added to the IAM policy. - // - // DashboardId is a required field - DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"` + // The label display options (grid line, range, scale, axis step) of a box plot + // category. + CategoryAxis *AxisDisplayOptions `type:"structure"` - // Options for publishing the dashboard when you create it: - // - // * AvailabilityStatus for AdHocFilteringOption - This status can be either - // ENABLED or DISABLED. When this is set to DISABLED, Amazon QuickSight disables - // the left filter pane on the published dashboard, which can be used for - // ad hoc (one-time) filtering. This option is ENABLED by default. - // - // * AvailabilityStatus for ExportToCSVOption - This status can be either - // ENABLED or DISABLED. The visual option to export data to .CSV format isn't - // enabled when this is set to DISABLED. This option is ENABLED by default. - // - // * VisibilityState for SheetControlsOption - This visibility state can - // be either COLLAPSED or EXPANDED. This option is COLLAPSED by default. - DashboardPublishOptions *DashboardPublishOptions `type:"structure"` + // The label options (label text, label visibility and sort Icon visibility) + // of a box plot category. + CategoryLabelOptions *ChartAxisLabelOptions `type:"structure"` - // The display name of the dashboard. - // - // Name is a required field - Name *string `min:"1" type:"string" required:"true"` + // The field wells of the visual. + FieldWells *BoxPlotFieldWells `type:"structure"` - // The parameters for the creation of the dashboard, which you want to use to - // override the default settings. A dashboard can have any type of parameters, - // and some parameters might accept multiple values. - Parameters *Parameters `type:"structure"` + // The options for the legend setup of a visual. + Legend *LegendOptions `type:"structure"` - // A structure that contains the permissions of the dashboard. You can use this - // structure for granting permissions by providing a list of IAM action information - // for each principal ARN. - // - // To specify no permissions, omit the permissions list. - Permissions []*ResourcePermission `min:"1" type:"list"` + // The label display options (grid line, range, scale, axis step) of a box plot + // category. + PrimaryYAxisDisplayOptions *AxisDisplayOptions `type:"structure"` - // The entity that you are using as a source when you create the dashboard. - // In SourceEntity, you specify the type of object you're using as source. You - // can only create a dashboard from a template, so you use a SourceTemplate - // entity. If you need to create a dashboard from an analysis, first convert - // the analysis to a template by using the CreateTemplate (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_CreateTemplate.html) - // API operation. For SourceTemplate, specify the Amazon Resource Name (ARN) - // of the source template. The SourceTemplateARN can contain any Amazon Web - // Services account and any Amazon QuickSight-supported Amazon Web Services - // Region. - // - // Use the DataSetReferences entity within SourceTemplate to list the replacement - // datasets for the placeholders listed in the original. The schema in each - // dataset must match its placeholder. - // - // SourceEntity is a required field - SourceEntity *DashboardSourceEntity `type:"structure" required:"true"` + // The label options (label text, label visibility and sort icon visibility) + // of a box plot value. + PrimaryYAxisLabelOptions *ChartAxisLabelOptions `type:"structure"` - // Contains a map of the key-value pairs for the resource tag or tags assigned - // to the dashboard. - Tags []*Tag `min:"1" type:"list"` + // The reference line setup of the visual. + ReferenceLines []*ReferenceLine `type:"list"` - // The Amazon Resource Name (ARN) of the theme that is being used for this dashboard. - // If you add a value for this field, it overrides the value that is used in - // the source entity. The theme ARN must exist in the same Amazon Web Services - // account where you create the dashboard. - ThemeArn *string `type:"string"` + // The sort configuration of a BoxPlotVisual. + SortConfiguration *BoxPlotSortConfiguration `type:"structure"` - // A description for the first version of the dashboard being created. - VersionDescription *string `min:"1" type:"string"` + // The tooltip display setup of the visual. + Tooltip *TooltipOptions `type:"structure"` + + // The palette (chart color) display setup of the visual. + VisualPalette *VisualPalette `type:"structure"` } // String returns the string representation. @@ -16763,7 +17653,7 @@ type CreateDashboardInput struct { // 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 CreateDashboardInput) String() string { +func (s BoxPlotChartConfiguration) String() string { return awsutil.Prettify(s) } @@ -16772,71 +17662,51 @@ func (s CreateDashboardInput) String() string { // 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 CreateDashboardInput) GoString() string { +func (s BoxPlotChartConfiguration) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateDashboardInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateDashboardInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.DashboardId == nil { - invalidParams.Add(request.NewErrParamRequired("DashboardId")) - } - if s.DashboardId != nil && len(*s.DashboardId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1)) - } - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) - } - if s.Name != nil && len(*s.Name) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Name", 1)) - } - if s.Permissions != nil && len(s.Permissions) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Permissions", 1)) - } - if s.SourceEntity == nil { - invalidParams.Add(request.NewErrParamRequired("SourceEntity")) - } - if s.Tags != nil && len(s.Tags) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) +func (s *BoxPlotChartConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BoxPlotChartConfiguration"} + if s.CategoryLabelOptions != nil { + if err := s.CategoryLabelOptions.Validate(); err != nil { + invalidParams.AddNested("CategoryLabelOptions", err.(request.ErrInvalidParams)) + } } - if s.VersionDescription != nil && len(*s.VersionDescription) < 1 { - invalidParams.Add(request.NewErrParamMinLen("VersionDescription", 1)) + if s.FieldWells != nil { + if err := s.FieldWells.Validate(); err != nil { + invalidParams.AddNested("FieldWells", err.(request.ErrInvalidParams)) + } } - if s.Parameters != nil { - if err := s.Parameters.Validate(); err != nil { - invalidParams.AddNested("Parameters", err.(request.ErrInvalidParams)) + if s.PrimaryYAxisLabelOptions != nil { + if err := s.PrimaryYAxisLabelOptions.Validate(); err != nil { + invalidParams.AddNested("PrimaryYAxisLabelOptions", err.(request.ErrInvalidParams)) } } - if s.Permissions != nil { - for i, v := range s.Permissions { + if s.ReferenceLines != nil { + for i, v := range s.ReferenceLines { if v == nil { continue } if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams)) + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ReferenceLines", i), err.(request.ErrInvalidParams)) } } } - if s.SourceEntity != nil { - if err := s.SourceEntity.Validate(); err != nil { - invalidParams.AddNested("SourceEntity", err.(request.ErrInvalidParams)) + if s.SortConfiguration != nil { + if err := s.SortConfiguration.Validate(); err != nil { + invalidParams.AddNested("SortConfiguration", err.(request.ErrInvalidParams)) } } - if s.Tags != nil { - for i, v := range s.Tags { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) - } + if s.Tooltip != nil { + if err := s.Tooltip.Validate(); err != nil { + invalidParams.AddNested("Tooltip", err.(request.ErrInvalidParams)) + } + } + if s.VisualPalette != nil { + if err := s.VisualPalette.Validate(); err != nil { + invalidParams.AddNested("VisualPalette", err.(request.ErrInvalidParams)) } } @@ -16846,87 +17716,81 @@ func (s *CreateDashboardInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *CreateDashboardInput) SetAwsAccountId(v string) *CreateDashboardInput { - s.AwsAccountId = &v +// SetBoxPlotOptions sets the BoxPlotOptions field's value. +func (s *BoxPlotChartConfiguration) SetBoxPlotOptions(v *BoxPlotOptions) *BoxPlotChartConfiguration { + s.BoxPlotOptions = v return s } -// SetDashboardId sets the DashboardId field's value. -func (s *CreateDashboardInput) SetDashboardId(v string) *CreateDashboardInput { - s.DashboardId = &v +// SetCategoryAxis sets the CategoryAxis field's value. +func (s *BoxPlotChartConfiguration) SetCategoryAxis(v *AxisDisplayOptions) *BoxPlotChartConfiguration { + s.CategoryAxis = v return s } -// SetDashboardPublishOptions sets the DashboardPublishOptions field's value. -func (s *CreateDashboardInput) SetDashboardPublishOptions(v *DashboardPublishOptions) *CreateDashboardInput { - s.DashboardPublishOptions = v +// SetCategoryLabelOptions sets the CategoryLabelOptions field's value. +func (s *BoxPlotChartConfiguration) SetCategoryLabelOptions(v *ChartAxisLabelOptions) *BoxPlotChartConfiguration { + s.CategoryLabelOptions = v return s } -// SetName sets the Name field's value. -func (s *CreateDashboardInput) SetName(v string) *CreateDashboardInput { - s.Name = &v +// SetFieldWells sets the FieldWells field's value. +func (s *BoxPlotChartConfiguration) SetFieldWells(v *BoxPlotFieldWells) *BoxPlotChartConfiguration { + s.FieldWells = v return s } -// SetParameters sets the Parameters field's value. -func (s *CreateDashboardInput) SetParameters(v *Parameters) *CreateDashboardInput { - s.Parameters = v +// SetLegend sets the Legend field's value. +func (s *BoxPlotChartConfiguration) SetLegend(v *LegendOptions) *BoxPlotChartConfiguration { + s.Legend = v return s } -// SetPermissions sets the Permissions field's value. -func (s *CreateDashboardInput) SetPermissions(v []*ResourcePermission) *CreateDashboardInput { - s.Permissions = v +// SetPrimaryYAxisDisplayOptions sets the PrimaryYAxisDisplayOptions field's value. +func (s *BoxPlotChartConfiguration) SetPrimaryYAxisDisplayOptions(v *AxisDisplayOptions) *BoxPlotChartConfiguration { + s.PrimaryYAxisDisplayOptions = v return s } -// SetSourceEntity sets the SourceEntity field's value. -func (s *CreateDashboardInput) SetSourceEntity(v *DashboardSourceEntity) *CreateDashboardInput { - s.SourceEntity = v +// SetPrimaryYAxisLabelOptions sets the PrimaryYAxisLabelOptions field's value. +func (s *BoxPlotChartConfiguration) SetPrimaryYAxisLabelOptions(v *ChartAxisLabelOptions) *BoxPlotChartConfiguration { + s.PrimaryYAxisLabelOptions = v return s } -// SetTags sets the Tags field's value. -func (s *CreateDashboardInput) SetTags(v []*Tag) *CreateDashboardInput { - s.Tags = v +// SetReferenceLines sets the ReferenceLines field's value. +func (s *BoxPlotChartConfiguration) SetReferenceLines(v []*ReferenceLine) *BoxPlotChartConfiguration { + s.ReferenceLines = v return s } -// SetThemeArn sets the ThemeArn field's value. -func (s *CreateDashboardInput) SetThemeArn(v string) *CreateDashboardInput { - s.ThemeArn = &v +// SetSortConfiguration sets the SortConfiguration field's value. +func (s *BoxPlotChartConfiguration) SetSortConfiguration(v *BoxPlotSortConfiguration) *BoxPlotChartConfiguration { + s.SortConfiguration = v return s } -// SetVersionDescription sets the VersionDescription field's value. -func (s *CreateDashboardInput) SetVersionDescription(v string) *CreateDashboardInput { - s.VersionDescription = &v +// SetTooltip sets the Tooltip field's value. +func (s *BoxPlotChartConfiguration) SetTooltip(v *TooltipOptions) *BoxPlotChartConfiguration { + s.Tooltip = v return s } -type CreateDashboardOutput struct { - _ struct{} `type:"structure"` - - // The ARN of the dashboard. - Arn *string `type:"string"` - - // The status of the dashboard creation request. - CreationStatus *string `type:"string" enum:"ResourceStatus"` - - // The ID for the dashboard. - DashboardId *string `min:"1" type:"string"` - - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` +// SetVisualPalette sets the VisualPalette field's value. +func (s *BoxPlotChartConfiguration) SetVisualPalette(v *VisualPalette) *BoxPlotChartConfiguration { + s.VisualPalette = v + return s +} - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` +// The field wells of a BoxPlotVisual. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type BoxPlotFieldWells struct { + _ struct{} `type:"structure"` - // The ARN of the dashboard, including the version number of the first version - // that is created. - VersionArn *string `type:"string"` + // The aggregated field wells of a box plot. + BoxPlotAggregatedFieldWells *BoxPlotAggregatedFieldWells `type:"structure"` } // String returns the string representation. @@ -16934,7 +17798,7 @@ type CreateDashboardOutput struct { // 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 CreateDashboardOutput) String() string { +func (s BoxPlotFieldWells) String() string { return awsutil.Prettify(s) } @@ -16943,106 +17807,207 @@ func (s CreateDashboardOutput) String() string { // 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 CreateDashboardOutput) GoString() string { +func (s BoxPlotFieldWells) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *CreateDashboardOutput) SetArn(v string) *CreateDashboardOutput { - s.Arn = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *BoxPlotFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BoxPlotFieldWells"} + if s.BoxPlotAggregatedFieldWells != nil { + if err := s.BoxPlotAggregatedFieldWells.Validate(); err != nil { + invalidParams.AddNested("BoxPlotAggregatedFieldWells", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetCreationStatus sets the CreationStatus field's value. -func (s *CreateDashboardOutput) SetCreationStatus(v string) *CreateDashboardOutput { - s.CreationStatus = &v +// SetBoxPlotAggregatedFieldWells sets the BoxPlotAggregatedFieldWells field's value. +func (s *BoxPlotFieldWells) SetBoxPlotAggregatedFieldWells(v *BoxPlotAggregatedFieldWells) *BoxPlotFieldWells { + s.BoxPlotAggregatedFieldWells = v return s } -// SetDashboardId sets the DashboardId field's value. -func (s *CreateDashboardOutput) SetDashboardId(v string) *CreateDashboardOutput { - s.DashboardId = &v - return s +// The options of a box plot visual. +type BoxPlotOptions struct { + _ struct{} `type:"structure"` + + // Determines the visibility of all data points of the box plot. + AllDataPointsVisibility *string `type:"string" enum:"Visibility"` + + // Determines the visibility of the outlier in a box plot. + OutlierVisibility *string `type:"string" enum:"Visibility"` + + // The style options of the box plot. + StyleOptions *BoxPlotStyleOptions `type:"structure"` } -// SetRequestId sets the RequestId field's value. -func (s *CreateDashboardOutput) SetRequestId(v string) *CreateDashboardOutput { - s.RequestId = &v +// 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 BoxPlotOptions) 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 BoxPlotOptions) GoString() string { + return s.String() +} + +// SetAllDataPointsVisibility sets the AllDataPointsVisibility field's value. +func (s *BoxPlotOptions) SetAllDataPointsVisibility(v string) *BoxPlotOptions { + s.AllDataPointsVisibility = &v return s } -// SetStatus sets the Status field's value. -func (s *CreateDashboardOutput) SetStatus(v int64) *CreateDashboardOutput { - s.Status = &v +// SetOutlierVisibility sets the OutlierVisibility field's value. +func (s *BoxPlotOptions) SetOutlierVisibility(v string) *BoxPlotOptions { + s.OutlierVisibility = &v return s } -// SetVersionArn sets the VersionArn field's value. -func (s *CreateDashboardOutput) SetVersionArn(v string) *CreateDashboardOutput { - s.VersionArn = &v +// SetStyleOptions sets the StyleOptions field's value. +func (s *BoxPlotOptions) SetStyleOptions(v *BoxPlotStyleOptions) *BoxPlotOptions { + s.StyleOptions = v return s } -type CreateDataSetInput struct { +// The sort configuration of a BoxPlotVisual. +type BoxPlotSortConfiguration struct { _ struct{} `type:"structure"` - // The Amazon Web Services account ID. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // The sort configuration of a group by fields. + CategorySort []*FieldSortOptions `type:"list"` - // Groupings of columns that work together in certain Amazon QuickSight features. - // Currently, only geospatial hierarchy is supported. - ColumnGroups []*ColumnGroup `min:"1" type:"list"` + // The pagination configuration of a table visual or box plot. + PaginationConfiguration *PaginationConfiguration `type:"structure"` +} - // A set of one or more definitions of a ColumnLevelPermissionRule (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_ColumnLevelPermissionRule.html) . - ColumnLevelPermissionRules []*ColumnLevelPermissionRule `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 BoxPlotSortConfiguration) String() string { + return awsutil.Prettify(s) +} - // An ID for the dataset that you want to create. This ID is unique per Amazon - // Web Services Region for each Amazon Web Services account. - // - // DataSetId is a required field - DataSetId *string `type:"string" required:"true"` +// 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 BoxPlotSortConfiguration) GoString() string { + return s.String() +} - // The usage configuration to apply to child datasets that reference this dataset - // as a source. - DataSetUsageConfiguration *DataSetUsageConfiguration `type:"structure"` +// Validate inspects the fields of the type to determine if they are valid. +func (s *BoxPlotSortConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BoxPlotSortConfiguration"} + if s.CategorySort != nil { + for i, v := range s.CategorySort { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CategorySort", i), err.(request.ErrInvalidParams)) + } + } + } + if s.PaginationConfiguration != nil { + if err := s.PaginationConfiguration.Validate(); err != nil { + invalidParams.AddNested("PaginationConfiguration", err.(request.ErrInvalidParams)) + } + } - // The folder that contains fields and nested subfolders for your dataset. - FieldFolders map[string]*FieldFolder `type:"map"` + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} - // Indicates whether you want to import the data into SPICE. - // - // ImportMode is a required field - ImportMode *string `type:"string" required:"true" enum:"DataSetImportMode"` +// SetCategorySort sets the CategorySort field's value. +func (s *BoxPlotSortConfiguration) SetCategorySort(v []*FieldSortOptions) *BoxPlotSortConfiguration { + s.CategorySort = v + return s +} - // Configures the combination and transformation of the data from the physical - // tables. - LogicalTableMap map[string]*LogicalTable `min:"1" type:"map"` +// SetPaginationConfiguration sets the PaginationConfiguration field's value. +func (s *BoxPlotSortConfiguration) SetPaginationConfiguration(v *PaginationConfiguration) *BoxPlotSortConfiguration { + s.PaginationConfiguration = v + return s +} - // The display name for the dataset. - // - // Name is a required field - Name *string `min:"1" type:"string" required:"true"` +// The style options of the box plot. +type BoxPlotStyleOptions struct { + _ struct{} `type:"structure"` - // A list of resource permissions on the dataset. - Permissions []*ResourcePermission `min:"1" type:"list"` + // The fill styles (solid, transparent) of the box plot. + FillStyle *string `type:"string" enum:"BoxPlotFillStyle"` +} - // Declares the physical tables that are available in the underlying data sources. - // - // PhysicalTableMap is a required field - PhysicalTableMap map[string]*PhysicalTable `type:"map" required:"true"` +// 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 BoxPlotStyleOptions) String() string { + return awsutil.Prettify(s) +} - // The row-level security configuration for the data that you want to create. - RowLevelPermissionDataSet *RowLevelPermissionDataSet `type:"structure"` +// 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 BoxPlotStyleOptions) GoString() string { + return s.String() +} - // The configuration of tags on a dataset to set row-level security. Row-level - // security tags are currently supported for anonymous embedding only. - RowLevelPermissionTagConfiguration *RowLevelPermissionTagConfiguration `type:"structure"` +// SetFillStyle sets the FillStyle field's value. +func (s *BoxPlotStyleOptions) SetFillStyle(v string) *BoxPlotStyleOptions { + s.FillStyle = &v + return s +} - // Contains a map of the key-value pairs for the resource tag or tags assigned - // to the dataset. - Tags []*Tag `min:"1" type:"list"` +// A box plot. +// +// For more information, see Using box plots (https://docs.aws.amazon.com/quicksight/latest/user/box-plots.html) +// in the Amazon QuickSight User Guide. +type BoxPlotVisual struct { + _ struct{} `type:"structure"` + + // The list of custom actions that are configured for a visual. + Actions []*VisualCustomAction `type:"list"` + + // The configuration settings of the visual. + ChartConfiguration *BoxPlotChartConfiguration `type:"structure"` + + // The column hierarchy that is used during drill-downs and drill-ups. + ColumnHierarchies []*ColumnHierarchy `type:"list"` + + // The subtitle that is displayed on the visual. + Subtitle *VisualSubtitleLabelOptions `type:"structure"` + + // The title that is displayed on the visual. + Title *VisualTitleLabelOptions `type:"structure"` + + // The unique identifier of a visual. This identifier must be unique within + // the context of a dashboard, template, or analysis. Two dashboards, analyses, + // or templates can have visuals with the same identifiers.. + // + // VisualId is a required field + VisualId *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -17050,7 +18015,7 @@ type CreateDataSetInput struct { // 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 CreateDataSetInput) String() string { +func (s BoxPlotVisual) String() string { return awsutil.Prettify(s) } @@ -17059,117 +18024,52 @@ func (s CreateDataSetInput) String() string { // 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 CreateDataSetInput) GoString() string { +func (s BoxPlotVisual) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateDataSetInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateDataSetInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.ColumnGroups != nil && len(s.ColumnGroups) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ColumnGroups", 1)) - } - if s.ColumnLevelPermissionRules != nil && len(s.ColumnLevelPermissionRules) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ColumnLevelPermissionRules", 1)) - } - if s.DataSetId == nil { - invalidParams.Add(request.NewErrParamRequired("DataSetId")) - } - if s.ImportMode == nil { - invalidParams.Add(request.NewErrParamRequired("ImportMode")) - } - if s.LogicalTableMap != nil && len(s.LogicalTableMap) < 1 { - invalidParams.Add(request.NewErrParamMinLen("LogicalTableMap", 1)) - } - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) - } - if s.Name != nil && len(*s.Name) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Name", 1)) - } - if s.Permissions != nil && len(s.Permissions) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Permissions", 1)) - } - if s.PhysicalTableMap == nil { - invalidParams.Add(request.NewErrParamRequired("PhysicalTableMap")) - } - if s.Tags != nil && len(s.Tags) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) - } - if s.ColumnGroups != nil { - for i, v := range s.ColumnGroups { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnGroups", i), err.(request.ErrInvalidParams)) - } - } +func (s *BoxPlotVisual) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BoxPlotVisual"} + if s.VisualId == nil { + invalidParams.Add(request.NewErrParamRequired("VisualId")) } - if s.ColumnLevelPermissionRules != nil { - for i, v := range s.ColumnLevelPermissionRules { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnLevelPermissionRules", i), err.(request.ErrInvalidParams)) - } - } + if s.VisualId != nil && len(*s.VisualId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("VisualId", 1)) } - if s.LogicalTableMap != nil { - for i, v := range s.LogicalTableMap { + if s.Actions != nil { + for i, v := range s.Actions { if v == nil { continue } if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "LogicalTableMap", i), err.(request.ErrInvalidParams)) + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Actions", i), err.(request.ErrInvalidParams)) } } } - if s.Permissions != nil { - for i, v := range s.Permissions { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams)) - } + if s.ChartConfiguration != nil { + if err := s.ChartConfiguration.Validate(); err != nil { + invalidParams.AddNested("ChartConfiguration", err.(request.ErrInvalidParams)) } } - if s.PhysicalTableMap != nil { - for i, v := range s.PhysicalTableMap { + if s.ColumnHierarchies != nil { + for i, v := range s.ColumnHierarchies { if v == nil { continue } if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PhysicalTableMap", i), err.(request.ErrInvalidParams)) + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnHierarchies", i), err.(request.ErrInvalidParams)) } } } - if s.RowLevelPermissionDataSet != nil { - if err := s.RowLevelPermissionDataSet.Validate(); err != nil { - invalidParams.AddNested("RowLevelPermissionDataSet", err.(request.ErrInvalidParams)) - } - } - if s.RowLevelPermissionTagConfiguration != nil { - if err := s.RowLevelPermissionTagConfiguration.Validate(); err != nil { - invalidParams.AddNested("RowLevelPermissionTagConfiguration", err.(request.ErrInvalidParams)) + if s.Subtitle != nil { + if err := s.Subtitle.Validate(); err != nil { + invalidParams.AddNested("Subtitle", err.(request.ErrInvalidParams)) } } - if s.Tags != nil { - for i, v := range s.Tags { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) - } + if s.Title != nil { + if err := s.Title.Validate(); err != nil { + invalidParams.AddNested("Title", err.(request.ErrInvalidParams)) } } @@ -17179,113 +18079,66 @@ func (s *CreateDataSetInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *CreateDataSetInput) SetAwsAccountId(v string) *CreateDataSetInput { - s.AwsAccountId = &v - return s -} - -// SetColumnGroups sets the ColumnGroups field's value. -func (s *CreateDataSetInput) SetColumnGroups(v []*ColumnGroup) *CreateDataSetInput { - s.ColumnGroups = v - return s -} - -// SetColumnLevelPermissionRules sets the ColumnLevelPermissionRules field's value. -func (s *CreateDataSetInput) SetColumnLevelPermissionRules(v []*ColumnLevelPermissionRule) *CreateDataSetInput { - s.ColumnLevelPermissionRules = v - return s -} - -// SetDataSetId sets the DataSetId field's value. -func (s *CreateDataSetInput) SetDataSetId(v string) *CreateDataSetInput { - s.DataSetId = &v - return s -} - -// SetDataSetUsageConfiguration sets the DataSetUsageConfiguration field's value. -func (s *CreateDataSetInput) SetDataSetUsageConfiguration(v *DataSetUsageConfiguration) *CreateDataSetInput { - s.DataSetUsageConfiguration = v - return s -} - -// SetFieldFolders sets the FieldFolders field's value. -func (s *CreateDataSetInput) SetFieldFolders(v map[string]*FieldFolder) *CreateDataSetInput { - s.FieldFolders = v - return s -} - -// SetImportMode sets the ImportMode field's value. -func (s *CreateDataSetInput) SetImportMode(v string) *CreateDataSetInput { - s.ImportMode = &v - return s -} - -// SetLogicalTableMap sets the LogicalTableMap field's value. -func (s *CreateDataSetInput) SetLogicalTableMap(v map[string]*LogicalTable) *CreateDataSetInput { - s.LogicalTableMap = v - return s -} - -// SetName sets the Name field's value. -func (s *CreateDataSetInput) SetName(v string) *CreateDataSetInput { - s.Name = &v +// SetActions sets the Actions field's value. +func (s *BoxPlotVisual) SetActions(v []*VisualCustomAction) *BoxPlotVisual { + s.Actions = v return s } -// SetPermissions sets the Permissions field's value. -func (s *CreateDataSetInput) SetPermissions(v []*ResourcePermission) *CreateDataSetInput { - s.Permissions = v +// SetChartConfiguration sets the ChartConfiguration field's value. +func (s *BoxPlotVisual) SetChartConfiguration(v *BoxPlotChartConfiguration) *BoxPlotVisual { + s.ChartConfiguration = v return s } -// SetPhysicalTableMap sets the PhysicalTableMap field's value. -func (s *CreateDataSetInput) SetPhysicalTableMap(v map[string]*PhysicalTable) *CreateDataSetInput { - s.PhysicalTableMap = v +// SetColumnHierarchies sets the ColumnHierarchies field's value. +func (s *BoxPlotVisual) SetColumnHierarchies(v []*ColumnHierarchy) *BoxPlotVisual { + s.ColumnHierarchies = v return s } -// SetRowLevelPermissionDataSet sets the RowLevelPermissionDataSet field's value. -func (s *CreateDataSetInput) SetRowLevelPermissionDataSet(v *RowLevelPermissionDataSet) *CreateDataSetInput { - s.RowLevelPermissionDataSet = v +// SetSubtitle sets the Subtitle field's value. +func (s *BoxPlotVisual) SetSubtitle(v *VisualSubtitleLabelOptions) *BoxPlotVisual { + s.Subtitle = v return s } -// SetRowLevelPermissionTagConfiguration sets the RowLevelPermissionTagConfiguration field's value. -func (s *CreateDataSetInput) SetRowLevelPermissionTagConfiguration(v *RowLevelPermissionTagConfiguration) *CreateDataSetInput { - s.RowLevelPermissionTagConfiguration = v +// SetTitle sets the Title field's value. +func (s *BoxPlotVisual) SetTitle(v *VisualTitleLabelOptions) *BoxPlotVisual { + s.Title = v return s } -// SetTags sets the Tags field's value. -func (s *CreateDataSetInput) SetTags(v []*Tag) *CreateDataSetInput { - s.Tags = v +// SetVisualId sets the VisualId field's value. +func (s *BoxPlotVisual) SetVisualId(v string) *BoxPlotVisual { + s.VisualId = &v return s } -type CreateDataSetOutput struct { +// A calculated column for a dataset. +type CalculatedColumn struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the dataset. - Arn *string `type:"string"` - - // The ID for the dataset that you want to create. This ID is unique per Amazon - // Web Services Region for each Amazon Web Services account. - DataSetId *string `type:"string"` - - // The ARN for the ingestion, which is triggered as a result of dataset creation - // if the import mode is SPICE. - IngestionArn *string `type:"string"` - - // The ID of the ingestion, which is triggered as a result of dataset creation - // if the import mode is SPICE. - IngestionId *string `type:"string"` + // A unique ID to identify a calculated column. During a dataset update, if + // the column ID of a calculated column matches that of an existing calculated + // column, Amazon QuickSight preserves the existing calculated column. + // + // ColumnId is a required field + ColumnId *string `min:"1" type:"string" required:"true"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // Column name. + // + // ColumnName is a required field + ColumnName *string `min:"1" type:"string" required:"true"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // An expression that defines the calculated column. + // + // Expression is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by CalculatedColumn's + // String and GoString methods. + // + // Expression is a required field + Expression *string `min:"1" type:"string" required:"true" sensitive:"true"` } // String returns the string representation. @@ -17293,7 +18146,7 @@ type CreateDataSetOutput struct { // 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 CreateDataSetOutput) String() string { +func (s CalculatedColumn) String() string { return awsutil.Prettify(s) } @@ -17302,98 +18155,78 @@ func (s CreateDataSetOutput) String() string { // 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 CreateDataSetOutput) GoString() string { +func (s CalculatedColumn) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *CreateDataSetOutput) SetArn(v string) *CreateDataSetOutput { - s.Arn = &v - return s -} - -// SetDataSetId sets the DataSetId field's value. -func (s *CreateDataSetOutput) SetDataSetId(v string) *CreateDataSetOutput { - s.DataSetId = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *CalculatedColumn) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CalculatedColumn"} + if s.ColumnId == nil { + invalidParams.Add(request.NewErrParamRequired("ColumnId")) + } + if s.ColumnId != nil && len(*s.ColumnId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ColumnId", 1)) + } + if s.ColumnName == nil { + invalidParams.Add(request.NewErrParamRequired("ColumnName")) + } + if s.ColumnName != nil && len(*s.ColumnName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ColumnName", 1)) + } + if s.Expression == nil { + invalidParams.Add(request.NewErrParamRequired("Expression")) + } + if s.Expression != nil && len(*s.Expression) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Expression", 1)) + } -// SetIngestionArn sets the IngestionArn field's value. -func (s *CreateDataSetOutput) SetIngestionArn(v string) *CreateDataSetOutput { - s.IngestionArn = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetIngestionId sets the IngestionId field's value. -func (s *CreateDataSetOutput) SetIngestionId(v string) *CreateDataSetOutput { - s.IngestionId = &v +// SetColumnId sets the ColumnId field's value. +func (s *CalculatedColumn) SetColumnId(v string) *CalculatedColumn { + s.ColumnId = &v return s } -// SetRequestId sets the RequestId field's value. -func (s *CreateDataSetOutput) SetRequestId(v string) *CreateDataSetOutput { - s.RequestId = &v +// SetColumnName sets the ColumnName field's value. +func (s *CalculatedColumn) SetColumnName(v string) *CalculatedColumn { + s.ColumnName = &v return s } -// SetStatus sets the Status field's value. -func (s *CreateDataSetOutput) SetStatus(v int64) *CreateDataSetOutput { - s.Status = &v +// SetExpression sets the Expression field's value. +func (s *CalculatedColumn) SetExpression(v string) *CalculatedColumn { + s.Expression = &v return s } -type CreateDataSourceInput struct { +// The calculated field of an analysis. +type CalculatedField struct { _ struct{} `type:"structure"` - // The Amazon Web Services account ID. + // The data set that is used in this calculated field. // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // DataSetIdentifier is a required field + DataSetIdentifier *string `min:"1" type:"string" required:"true"` - // The credentials Amazon QuickSight that uses to connect to your underlying - // source. Currently, only credentials based on user name and password are supported. + // The expression of the calculated field. // - // Credentials is a sensitive parameter and its value will be - // replaced with "sensitive" in string returned by CreateDataSourceInput's + // Expression is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by CalculatedField's // String and GoString methods. - Credentials *DataSourceCredentials `type:"structure" sensitive:"true"` - - // An ID for the data source. This ID is unique per Amazon Web Services Region - // for each Amazon Web Services account. // - // DataSourceId is a required field - DataSourceId *string `type:"string" required:"true"` - - // The parameters that Amazon QuickSight uses to connect to your underlying - // source. - DataSourceParameters *DataSourceParameters `type:"structure"` + // Expression is a required field + Expression *string `min:"1" type:"string" required:"true" sensitive:"true"` - // A display name for the data source. + // The name of the calculated field. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` - - // A list of resource permissions on the data source. - Permissions []*ResourcePermission `min:"1" type:"list"` - - // Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects - // to your underlying source. - SslProperties *SslProperties `type:"structure"` - - // Contains a map of the key-value pairs for the resource tag or tags assigned - // to the data source. - Tags []*Tag `min:"1" type:"list"` - - // The type of the data source. To return a list of all data sources, use ListDataSources. - // - // Use AMAZON_ELASTICSEARCH for Amazon OpenSearch Service. - // - // Type is a required field - Type *string `type:"string" required:"true" enum:"DataSourceType"` - - // Use this parameter only when you want Amazon QuickSight to use a VPC connection - // when connecting to your underlying source. - VpcConnectionProperties *VpcConnectionProperties `type:"structure"` } // String returns the string representation. @@ -17401,7 +18234,7 @@ type CreateDataSourceInput struct { // 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 CreateDataSourceInput) String() string { +func (s CalculatedField) String() string { return awsutil.Prettify(s) } @@ -17410,21 +18243,24 @@ func (s CreateDataSourceInput) String() string { // 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 CreateDataSourceInput) GoString() string { +func (s CalculatedField) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateDataSourceInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateDataSourceInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) +func (s *CalculatedField) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CalculatedField"} + if s.DataSetIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("DataSetIdentifier")) } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + if s.DataSetIdentifier != nil && len(*s.DataSetIdentifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DataSetIdentifier", 1)) } - if s.DataSourceId == nil { - invalidParams.Add(request.NewErrParamRequired("DataSourceId")) + if s.Expression == nil { + invalidParams.Add(request.NewErrParamRequired("Expression")) + } + if s.Expression != nil && len(*s.Expression) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Expression", 1)) } if s.Name == nil { invalidParams.Add(request.NewErrParamRequired("Name")) @@ -17432,50 +18268,6 @@ func (s *CreateDataSourceInput) Validate() error { if s.Name != nil && len(*s.Name) < 1 { invalidParams.Add(request.NewErrParamMinLen("Name", 1)) } - if s.Permissions != nil && len(s.Permissions) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Permissions", 1)) - } - if s.Tags != nil && len(s.Tags) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) - } - if s.Type == nil { - invalidParams.Add(request.NewErrParamRequired("Type")) - } - if s.Credentials != nil { - if err := s.Credentials.Validate(); err != nil { - invalidParams.AddNested("Credentials", err.(request.ErrInvalidParams)) - } - } - if s.DataSourceParameters != nil { - if err := s.DataSourceParameters.Validate(); err != nil { - invalidParams.AddNested("DataSourceParameters", err.(request.ErrInvalidParams)) - } - } - if s.Permissions != nil { - for i, v := range s.Permissions { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams)) - } - } - } - if s.Tags != nil { - for i, v := range s.Tags { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) - } - } - } - if s.VpcConnectionProperties != nil { - if err := s.VpcConnectionProperties.Validate(); err != nil { - invalidParams.AddNested("VpcConnectionProperties", err.(request.ErrInvalidParams)) - } - } if invalidParams.Len() > 0 { return invalidParams @@ -17483,167 +18275,112 @@ func (s *CreateDataSourceInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *CreateDataSourceInput) SetAwsAccountId(v string) *CreateDataSourceInput { - s.AwsAccountId = &v - return s -} - -// SetCredentials sets the Credentials field's value. -func (s *CreateDataSourceInput) SetCredentials(v *DataSourceCredentials) *CreateDataSourceInput { - s.Credentials = v - return s -} - -// SetDataSourceId sets the DataSourceId field's value. -func (s *CreateDataSourceInput) SetDataSourceId(v string) *CreateDataSourceInput { - s.DataSourceId = &v +// SetDataSetIdentifier sets the DataSetIdentifier field's value. +func (s *CalculatedField) SetDataSetIdentifier(v string) *CalculatedField { + s.DataSetIdentifier = &v return s } -// SetDataSourceParameters sets the DataSourceParameters field's value. -func (s *CreateDataSourceInput) SetDataSourceParameters(v *DataSourceParameters) *CreateDataSourceInput { - s.DataSourceParameters = v +// SetExpression sets the Expression field's value. +func (s *CalculatedField) SetExpression(v string) *CalculatedField { + s.Expression = &v return s } // SetName sets the Name field's value. -func (s *CreateDataSourceInput) SetName(v string) *CreateDataSourceInput { +func (s *CalculatedField) SetName(v string) *CalculatedField { s.Name = &v return s } -// SetPermissions sets the Permissions field's value. -func (s *CreateDataSourceInput) SetPermissions(v []*ResourcePermission) *CreateDataSourceInput { - s.Permissions = v - return s -} +// The table calculation measure field for pivot tables. +type CalculatedMeasureField struct { + _ struct{} `type:"structure"` -// SetSslProperties sets the SslProperties field's value. -func (s *CreateDataSourceInput) SetSslProperties(v *SslProperties) *CreateDataSourceInput { - s.SslProperties = v - return s -} + // The expression in the table calculation. + // + // Expression is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by CalculatedMeasureField's + // String and GoString methods. + // + // Expression is a required field + Expression *string `min:"1" type:"string" required:"true" sensitive:"true"` -// SetTags sets the Tags field's value. -func (s *CreateDataSourceInput) SetTags(v []*Tag) *CreateDataSourceInput { - s.Tags = v - return s + // The custom field ID. + // + // FieldId is a required field + FieldId *string `min:"1" type:"string" required:"true"` } -// SetType sets the Type field's value. -func (s *CreateDataSourceInput) SetType(v string) *CreateDataSourceInput { - s.Type = &v - return s +// 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 CalculatedMeasureField) String() string { + return awsutil.Prettify(s) } -// SetVpcConnectionProperties sets the VpcConnectionProperties field's value. -func (s *CreateDataSourceInput) SetVpcConnectionProperties(v *VpcConnectionProperties) *CreateDataSourceInput { - s.VpcConnectionProperties = v - return 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 CalculatedMeasureField) GoString() string { + return s.String() } -type CreateDataSourceOutput struct { - _ struct{} `type:"structure"` - - // The Amazon Resource Name (ARN) of the data source. - Arn *string `type:"string"` - - // The status of creating the data source. - CreationStatus *string `type:"string" enum:"ResourceStatus"` - - // The ID of the data source. This ID is unique per Amazon Web Services Region - // for each Amazon Web Services account. - DataSourceId *string `type:"string"` - - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` - - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` -} - -// 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 CreateDataSourceOutput) 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 CreateDataSourceOutput) GoString() string { - return s.String() -} - -// SetArn sets the Arn field's value. -func (s *CreateDataSourceOutput) SetArn(v string) *CreateDataSourceOutput { - s.Arn = &v - return s -} - -// SetCreationStatus sets the CreationStatus field's value. -func (s *CreateDataSourceOutput) SetCreationStatus(v string) *CreateDataSourceOutput { - s.CreationStatus = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *CalculatedMeasureField) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CalculatedMeasureField"} + if s.Expression == nil { + invalidParams.Add(request.NewErrParamRequired("Expression")) + } + if s.Expression != nil && len(*s.Expression) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Expression", 1)) + } + if s.FieldId == nil { + invalidParams.Add(request.NewErrParamRequired("FieldId")) + } + if s.FieldId != nil && len(*s.FieldId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FieldId", 1)) + } -// SetDataSourceId sets the DataSourceId field's value. -func (s *CreateDataSourceOutput) SetDataSourceId(v string) *CreateDataSourceOutput { - s.DataSourceId = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetRequestId sets the RequestId field's value. -func (s *CreateDataSourceOutput) SetRequestId(v string) *CreateDataSourceOutput { - s.RequestId = &v +// SetExpression sets the Expression field's value. +func (s *CalculatedMeasureField) SetExpression(v string) *CalculatedMeasureField { + s.Expression = &v return s } -// SetStatus sets the Status field's value. -func (s *CreateDataSourceOutput) SetStatus(v int64) *CreateDataSourceOutput { - s.Status = &v +// SetFieldId sets the FieldId field's value. +func (s *CalculatedMeasureField) SetFieldId(v string) *CalculatedMeasureField { + s.FieldId = &v return s } -type CreateFolderInput struct { - _ struct{} `type:"structure"` +type CancelIngestionInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // The ID for the Amazon Web Services account where you want to create the folder. + // The Amazon Web Services account ID. // // AwsAccountId is a required field AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - // The ID of the folder. - // - // FolderId is a required field - FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"` - - // The type of folder. By default, folderType is SHARED. - FolderType *string `type:"string" enum:"FolderType"` - - // The name of the folder. - Name *string `min:"1" type:"string"` - - // The Amazon Resource Name (ARN) for the parent folder. + // The ID of the dataset used in the ingestion. // - // ParentFolderArn can be null. An empty parentFolderArn creates a root-level - // folder. - ParentFolderArn *string `type:"string"` + // DataSetId is a required field + DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"` - // A structure that describes the principals and the resource-level permissions - // of a folder. + // An ID for the ingestion. // - // To specify no permissions, omit Permissions. - Permissions []*ResourcePermission `min:"1" type:"list"` - - // Tags for the folder. - Tags []*Tag `min:"1" type:"list"` + // IngestionId is a required field + IngestionId *string `location:"uri" locationName:"IngestionId" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -17651,7 +18388,7 @@ type CreateFolderInput struct { // 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 CreateFolderInput) String() string { +func (s CancelIngestionInput) String() string { return awsutil.Prettify(s) } @@ -17660,53 +18397,30 @@ func (s CreateFolderInput) String() string { // 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 CreateFolderInput) GoString() string { +func (s CancelIngestionInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateFolderInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateFolderInput"} +func (s *CancelIngestionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CancelIngestionInput"} if s.AwsAccountId == nil { invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) } if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) } - if s.FolderId == nil { - invalidParams.Add(request.NewErrParamRequired("FolderId")) - } - if s.FolderId != nil && len(*s.FolderId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("FolderId", 1)) - } - if s.Name != nil && len(*s.Name) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Name", 1)) - } - if s.Permissions != nil && len(s.Permissions) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Permissions", 1)) + if s.DataSetId == nil { + invalidParams.Add(request.NewErrParamRequired("DataSetId")) } - if s.Tags != nil && len(s.Tags) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) + if s.DataSetId != nil && len(*s.DataSetId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1)) } - if s.Permissions != nil { - for i, v := range s.Permissions { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams)) - } - } + if s.IngestionId == nil { + invalidParams.Add(request.NewErrParamRequired("IngestionId")) } - if s.Tags != nil { - for i, v := range s.Tags { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) - } - } + if s.IngestionId != nil && len(*s.IngestionId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("IngestionId", 1)) } if invalidParams.Len() > 0 { @@ -17716,69 +18430,89 @@ func (s *CreateFolderInput) Validate() error { } // SetAwsAccountId sets the AwsAccountId field's value. -func (s *CreateFolderInput) SetAwsAccountId(v string) *CreateFolderInput { +func (s *CancelIngestionInput) SetAwsAccountId(v string) *CancelIngestionInput { s.AwsAccountId = &v return s } -// SetFolderId sets the FolderId field's value. -func (s *CreateFolderInput) SetFolderId(v string) *CreateFolderInput { - s.FolderId = &v +// SetDataSetId sets the DataSetId field's value. +func (s *CancelIngestionInput) SetDataSetId(v string) *CancelIngestionInput { + s.DataSetId = &v return s } -// SetFolderType sets the FolderType field's value. -func (s *CreateFolderInput) SetFolderType(v string) *CreateFolderInput { - s.FolderType = &v +// SetIngestionId sets the IngestionId field's value. +func (s *CancelIngestionInput) SetIngestionId(v string) *CancelIngestionInput { + s.IngestionId = &v return s } -// SetName sets the Name field's value. -func (s *CreateFolderInput) SetName(v string) *CreateFolderInput { - s.Name = &v - return s +type CancelIngestionOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) for the data ingestion. + Arn *string `type:"string"` + + // An ID for the ingestion. + IngestionId *string `min:"1" type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` } -// SetParentFolderArn sets the ParentFolderArn field's value. -func (s *CreateFolderInput) SetParentFolderArn(v string) *CreateFolderInput { - s.ParentFolderArn = &v - return s +// 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 CancelIngestionOutput) String() string { + return awsutil.Prettify(s) } -// SetPermissions sets the Permissions field's value. -func (s *CreateFolderInput) SetPermissions(v []*ResourcePermission) *CreateFolderInput { - s.Permissions = v - return 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 CancelIngestionOutput) GoString() string { + return s.String() } -// SetTags sets the Tags field's value. -func (s *CreateFolderInput) SetTags(v []*Tag) *CreateFolderInput { - s.Tags = v +// SetArn sets the Arn field's value. +func (s *CancelIngestionOutput) SetArn(v string) *CancelIngestionOutput { + s.Arn = &v return s } -type CreateFolderMembershipInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// SetIngestionId sets the IngestionId field's value. +func (s *CancelIngestionOutput) SetIngestionId(v string) *CancelIngestionOutput { + s.IngestionId = &v + return s +} - // The ID for the Amazon Web Services account that contains the folder. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` +// SetRequestId sets the RequestId field's value. +func (s *CancelIngestionOutput) SetRequestId(v string) *CancelIngestionOutput { + s.RequestId = &v + return s +} - // The ID of the folder. - // - // FolderId is a required field - FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"` +// SetStatus sets the Status field's value. +func (s *CancelIngestionOutput) SetStatus(v int64) *CancelIngestionOutput { + s.Status = &v + return s +} - // The ID of the asset (the dashboard, analysis, or dataset). - // - // MemberId is a required field - MemberId *string `location:"uri" locationName:"MemberId" min:"1" type:"string" required:"true"` +// The values that are displayed in a control can be configured to only show +// values that are valid based on what's selected in other controls. +type CascadingControlConfiguration struct { + _ struct{} `type:"structure"` - // The type of the member, including DASHBOARD, ANALYSIS, and DATASET. - // - // MemberType is a required field - MemberType *string `location:"uri" locationName:"MemberType" type:"string" required:"true" enum:"MemberType"` + // A list of source controls that determine the values that are used in the + // current control. + SourceControls []*CascadingControlSource `type:"list"` } // String returns the string representation. @@ -17786,7 +18520,7 @@ type CreateFolderMembershipInput struct { // 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 CreateFolderMembershipInput) String() string { +func (s CascadingControlConfiguration) String() string { return awsutil.Prettify(s) } @@ -17795,36 +18529,22 @@ func (s CreateFolderMembershipInput) String() string { // 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 CreateFolderMembershipInput) GoString() string { +func (s CascadingControlConfiguration) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateFolderMembershipInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateFolderMembershipInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.FolderId == nil { - invalidParams.Add(request.NewErrParamRequired("FolderId")) - } - if s.FolderId != nil && len(*s.FolderId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("FolderId", 1)) - } - if s.MemberId == nil { - invalidParams.Add(request.NewErrParamRequired("MemberId")) - } - if s.MemberId != nil && len(*s.MemberId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("MemberId", 1)) - } - if s.MemberType == nil { - invalidParams.Add(request.NewErrParamRequired("MemberType")) - } - if s.MemberType != nil && len(*s.MemberType) < 1 { - invalidParams.Add(request.NewErrParamMinLen("MemberType", 1)) +func (s *CascadingControlConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CascadingControlConfiguration"} + if s.SourceControls != nil { + for i, v := range s.SourceControls { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SourceControls", i), err.(request.ErrInvalidParams)) + } + } } if invalidParams.Len() > 0 { @@ -17833,41 +18553,22 @@ func (s *CreateFolderMembershipInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *CreateFolderMembershipInput) SetAwsAccountId(v string) *CreateFolderMembershipInput { - s.AwsAccountId = &v - return s -} - -// SetFolderId sets the FolderId field's value. -func (s *CreateFolderMembershipInput) SetFolderId(v string) *CreateFolderMembershipInput { - s.FolderId = &v - return s -} - -// SetMemberId sets the MemberId field's value. -func (s *CreateFolderMembershipInput) SetMemberId(v string) *CreateFolderMembershipInput { - s.MemberId = &v - return s -} - -// SetMemberType sets the MemberType field's value. -func (s *CreateFolderMembershipInput) SetMemberType(v string) *CreateFolderMembershipInput { - s.MemberType = &v +// SetSourceControls sets the SourceControls field's value. +func (s *CascadingControlConfiguration) SetSourceControls(v []*CascadingControlSource) *CascadingControlConfiguration { + s.SourceControls = v return s } -type CreateFolderMembershipOutput struct { +// The source controls that are used in a CascadingControlConfiguration. +type CascadingControlSource struct { _ struct{} `type:"structure"` - // Information about the member in the folder. - FolderMember *FolderMember `type:"structure"` - - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The column identifier that determines which column to look up for the source + // sheet control. + ColumnToMatch *ColumnIdentifier `type:"structure"` - // The HTTP status of the request. - Status *int64 `type:"integer"` + // The source sheet control ID of a CascadingControlSource. + SourceSheetControlId *string `type:"string"` } // String returns the string representation. @@ -17875,7 +18576,7 @@ type CreateFolderMembershipOutput struct { // 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 CreateFolderMembershipOutput) String() string { +func (s CascadingControlSource) String() string { return awsutil.Prettify(s) } @@ -17884,42 +18585,54 @@ func (s CreateFolderMembershipOutput) String() string { // 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 CreateFolderMembershipOutput) GoString() string { +func (s CascadingControlSource) GoString() string { return s.String() } -// SetFolderMember sets the FolderMember field's value. -func (s *CreateFolderMembershipOutput) SetFolderMember(v *FolderMember) *CreateFolderMembershipOutput { - s.FolderMember = v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *CascadingControlSource) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CascadingControlSource"} + if s.ColumnToMatch != nil { + if err := s.ColumnToMatch.Validate(); err != nil { + invalidParams.AddNested("ColumnToMatch", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetRequestId sets the RequestId field's value. -func (s *CreateFolderMembershipOutput) SetRequestId(v string) *CreateFolderMembershipOutput { - s.RequestId = &v +// SetColumnToMatch sets the ColumnToMatch field's value. +func (s *CascadingControlSource) SetColumnToMatch(v *ColumnIdentifier) *CascadingControlSource { + s.ColumnToMatch = v return s } -// SetStatus sets the Status field's value. -func (s *CreateFolderMembershipOutput) SetStatus(v int64) *CreateFolderMembershipOutput { - s.Status = &v +// SetSourceSheetControlId sets the SourceSheetControlId field's value. +func (s *CascadingControlSource) SetSourceSheetControlId(v string) *CascadingControlSource { + s.SourceSheetControlId = &v return s } -type CreateFolderOutput struct { +// A transform operation that casts a column to a different type. +type CastColumnTypeOperation struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) for the newly created folder. - Arn *string `type:"string"` - - // The folder ID for the newly created folder. - FolderId *string `min:"1" type:"string"` + // Column name. + // + // ColumnName is a required field + ColumnName *string `min:"1" type:"string" required:"true"` - // The request ID for the newly created folder. - RequestId *string `type:"string"` + // When casting a column from string to datetime type, you can supply a string + // in a format supported by Amazon QuickSight to denote the source data format. + Format *string `type:"string"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // New column data type. + // + // NewColumnType is a required field + NewColumnType *string `type:"string" required:"true" enum:"ColumnDataType"` } // String returns the string representation. @@ -17927,7 +18640,7 @@ type CreateFolderOutput struct { // 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 CreateFolderOutput) String() string { +func (s CastColumnTypeOperation) String() string { return awsutil.Prettify(s) } @@ -17936,57 +18649,66 @@ func (s CreateFolderOutput) String() string { // 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 CreateFolderOutput) GoString() string { +func (s CastColumnTypeOperation) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *CreateFolderOutput) SetArn(v string) *CreateFolderOutput { - s.Arn = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *CastColumnTypeOperation) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CastColumnTypeOperation"} + if s.ColumnName == nil { + invalidParams.Add(request.NewErrParamRequired("ColumnName")) + } + if s.ColumnName != nil && len(*s.ColumnName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ColumnName", 1)) + } + if s.NewColumnType == nil { + invalidParams.Add(request.NewErrParamRequired("NewColumnType")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetFolderId sets the FolderId field's value. -func (s *CreateFolderOutput) SetFolderId(v string) *CreateFolderOutput { - s.FolderId = &v +// SetColumnName sets the ColumnName field's value. +func (s *CastColumnTypeOperation) SetColumnName(v string) *CastColumnTypeOperation { + s.ColumnName = &v return s } -// SetRequestId sets the RequestId field's value. -func (s *CreateFolderOutput) SetRequestId(v string) *CreateFolderOutput { - s.RequestId = &v +// SetFormat sets the Format field's value. +func (s *CastColumnTypeOperation) SetFormat(v string) *CastColumnTypeOperation { + s.Format = &v return s } -// SetStatus sets the Status field's value. -func (s *CreateFolderOutput) SetStatus(v int64) *CreateFolderOutput { - s.Status = &v +// SetNewColumnType sets the NewColumnType field's value. +func (s *CastColumnTypeOperation) SetNewColumnType(v string) *CastColumnTypeOperation { + s.NewColumnType = &v return s } -// The request object for this operation. -type CreateGroupInput struct { +// The dimension type field with categorical type columns.. +type CategoricalDimensionField struct { _ struct{} `type:"structure"` - // The ID for the Amazon Web Services account that the group is in. Currently, - // you use the ID for the Amazon Web Services account that contains your Amazon - // QuickSight account. + // The column that is used in the CategoricalDimensionField. // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // Column is a required field + Column *ColumnIdentifier `type:"structure" required:"true"` - // A description for the group that you want to create. - Description *string `min:"1" type:"string"` - - // A name for the group that you want to create. + // The custom field ID. // - // GroupName is a required field - GroupName *string `min:"1" type:"string" required:"true"` + // FieldId is a required field + FieldId *string `min:"1" type:"string" required:"true"` - // The namespace that you want the group to be a part of. - // - // Namespace is a required field - Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` + // The format configuration of the field. + FormatConfiguration *StringFormatConfiguration `type:"structure"` + + // The custom hierarchy ID. + HierarchyId *string `min:"1" type:"string"` } // String returns the string representation. @@ -17994,7 +18716,7 @@ type CreateGroupInput struct { // 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 CreateGroupInput) String() string { +func (s CategoricalDimensionField) String() string { return awsutil.Prettify(s) } @@ -18003,33 +18725,34 @@ func (s CreateGroupInput) String() string { // 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 CreateGroupInput) GoString() string { +func (s CategoricalDimensionField) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateGroupInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateGroupInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) +func (s *CategoricalDimensionField) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CategoricalDimensionField"} + if s.Column == nil { + invalidParams.Add(request.NewErrParamRequired("Column")) } - if s.Description != nil && len(*s.Description) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Description", 1)) + if s.FieldId == nil { + invalidParams.Add(request.NewErrParamRequired("FieldId")) } - if s.GroupName == nil { - invalidParams.Add(request.NewErrParamRequired("GroupName")) + if s.FieldId != nil && len(*s.FieldId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FieldId", 1)) } - if s.GroupName != nil && len(*s.GroupName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("GroupName", 1)) + if s.HierarchyId != nil && len(*s.HierarchyId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("HierarchyId", 1)) } - if s.Namespace == nil { - invalidParams.Add(request.NewErrParamRequired("Namespace")) + if s.Column != nil { + if err := s.Column.Validate(); err != nil { + invalidParams.AddNested("Column", err.(request.ErrInvalidParams)) + } } - if s.Namespace != nil && len(*s.Namespace) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + if s.FormatConfiguration != nil { + if err := s.FormatConfiguration.Validate(); err != nil { + invalidParams.AddNested("FormatConfiguration", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -18038,54 +18761,49 @@ func (s *CreateGroupInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *CreateGroupInput) SetAwsAccountId(v string) *CreateGroupInput { - s.AwsAccountId = &v +// SetColumn sets the Column field's value. +func (s *CategoricalDimensionField) SetColumn(v *ColumnIdentifier) *CategoricalDimensionField { + s.Column = v return s } -// SetDescription sets the Description field's value. -func (s *CreateGroupInput) SetDescription(v string) *CreateGroupInput { - s.Description = &v +// SetFieldId sets the FieldId field's value. +func (s *CategoricalDimensionField) SetFieldId(v string) *CategoricalDimensionField { + s.FieldId = &v return s } -// SetGroupName sets the GroupName field's value. -func (s *CreateGroupInput) SetGroupName(v string) *CreateGroupInput { - s.GroupName = &v +// SetFormatConfiguration sets the FormatConfiguration field's value. +func (s *CategoricalDimensionField) SetFormatConfiguration(v *StringFormatConfiguration) *CategoricalDimensionField { + s.FormatConfiguration = v return s } -// SetNamespace sets the Namespace field's value. -func (s *CreateGroupInput) SetNamespace(v string) *CreateGroupInput { - s.Namespace = &v +// SetHierarchyId sets the HierarchyId field's value. +func (s *CategoricalDimensionField) SetHierarchyId(v string) *CategoricalDimensionField { + s.HierarchyId = &v return s } -type CreateGroupMembershipInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// The measure type field with categorical type columns. +type CategoricalMeasureField struct { + _ struct{} `type:"structure"` - // The ID for the Amazon Web Services account that the group is in. Currently, - // you use the ID for the Amazon Web Services account that contains your Amazon - // QuickSight account. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // The aggregation function of the measure field. + AggregationFunction *string `type:"string" enum:"CategoricalAggregationFunction"` - // The name of the group that you want to add the user to. + // The column that is used in the CategoricalMeasureField. // - // GroupName is a required field - GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"` + // Column is a required field + Column *ColumnIdentifier `type:"structure" required:"true"` - // The name of the user that you want to add to the group membership. + // The custom field ID. // - // MemberName is a required field - MemberName *string `location:"uri" locationName:"MemberName" min:"1" type:"string" required:"true"` + // FieldId is a required field + FieldId *string `min:"1" type:"string" required:"true"` - // The namespace that you want the user to be a part of. - // - // Namespace is a required field - Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` + // The format configuration of the field. + FormatConfiguration *StringFormatConfiguration `type:"structure"` } // String returns the string representation. @@ -18093,7 +18811,7 @@ type CreateGroupMembershipInput struct { // 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 CreateGroupMembershipInput) String() string { +func (s CategoricalMeasureField) String() string { return awsutil.Prettify(s) } @@ -18102,36 +18820,31 @@ func (s CreateGroupMembershipInput) String() string { // 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 CreateGroupMembershipInput) GoString() string { +func (s CategoricalMeasureField) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateGroupMembershipInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateGroupMembershipInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.GroupName == nil { - invalidParams.Add(request.NewErrParamRequired("GroupName")) - } - if s.GroupName != nil && len(*s.GroupName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("GroupName", 1)) +func (s *CategoricalMeasureField) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CategoricalMeasureField"} + if s.Column == nil { + invalidParams.Add(request.NewErrParamRequired("Column")) } - if s.MemberName == nil { - invalidParams.Add(request.NewErrParamRequired("MemberName")) + if s.FieldId == nil { + invalidParams.Add(request.NewErrParamRequired("FieldId")) } - if s.MemberName != nil && len(*s.MemberName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("MemberName", 1)) + if s.FieldId != nil && len(*s.FieldId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FieldId", 1)) } - if s.Namespace == nil { - invalidParams.Add(request.NewErrParamRequired("Namespace")) + if s.Column != nil { + if err := s.Column.Validate(); err != nil { + invalidParams.AddNested("Column", err.(request.ErrInvalidParams)) + } } - if s.Namespace != nil && len(*s.Namespace) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + if s.FormatConfiguration != nil { + if err := s.FormatConfiguration.Validate(); err != nil { + invalidParams.AddNested("FormatConfiguration", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -18140,49 +18853,52 @@ func (s *CreateGroupMembershipInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *CreateGroupMembershipInput) SetAwsAccountId(v string) *CreateGroupMembershipInput { - s.AwsAccountId = &v +// SetAggregationFunction sets the AggregationFunction field's value. +func (s *CategoricalMeasureField) SetAggregationFunction(v string) *CategoricalMeasureField { + s.AggregationFunction = &v return s } -// SetGroupName sets the GroupName field's value. -func (s *CreateGroupMembershipInput) SetGroupName(v string) *CreateGroupMembershipInput { - s.GroupName = &v +// SetColumn sets the Column field's value. +func (s *CategoricalMeasureField) SetColumn(v *ColumnIdentifier) *CategoricalMeasureField { + s.Column = v return s } -// SetMemberName sets the MemberName field's value. -func (s *CreateGroupMembershipInput) SetMemberName(v string) *CreateGroupMembershipInput { - s.MemberName = &v +// SetFieldId sets the FieldId field's value. +func (s *CategoricalMeasureField) SetFieldId(v string) *CategoricalMeasureField { + s.FieldId = &v return s } -// SetNamespace sets the Namespace field's value. -func (s *CreateGroupMembershipInput) SetNamespace(v string) *CreateGroupMembershipInput { - s.Namespace = &v +// SetFormatConfiguration sets the FormatConfiguration field's value. +func (s *CategoricalMeasureField) SetFormatConfiguration(v *StringFormatConfiguration) *CategoricalMeasureField { + s.FormatConfiguration = v return s } -type CreateGroupMembershipOutput struct { +// The numeric equality type drill down filter. +type CategoryDrillDownFilter struct { _ struct{} `type:"structure"` - // The group member. - GroupMember *GroupMember `type:"structure"` + // A list of the string inputs that are the values of the category drill down + // filter. + // + // CategoryValues is a required field + CategoryValues []*string `type:"list" required:"true"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` - - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` -} + // The column that the filter is applied to. + // + // Column is a required field + Column *ColumnIdentifier `type:"structure" required:"true"` +} // 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 CreateGroupMembershipOutput) String() string { +func (s CategoryDrillDownFilter) String() string { return awsutil.Prettify(s) } @@ -18191,40 +18907,63 @@ func (s CreateGroupMembershipOutput) String() string { // 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 CreateGroupMembershipOutput) GoString() string { +func (s CategoryDrillDownFilter) GoString() string { return s.String() } -// SetGroupMember sets the GroupMember field's value. -func (s *CreateGroupMembershipOutput) SetGroupMember(v *GroupMember) *CreateGroupMembershipOutput { - s.GroupMember = v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *CategoryDrillDownFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CategoryDrillDownFilter"} + if s.CategoryValues == nil { + invalidParams.Add(request.NewErrParamRequired("CategoryValues")) + } + if s.Column == nil { + invalidParams.Add(request.NewErrParamRequired("Column")) + } + if s.Column != nil { + if err := s.Column.Validate(); err != nil { + invalidParams.AddNested("Column", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetRequestId sets the RequestId field's value. -func (s *CreateGroupMembershipOutput) SetRequestId(v string) *CreateGroupMembershipOutput { - s.RequestId = &v +// SetCategoryValues sets the CategoryValues field's value. +func (s *CategoryDrillDownFilter) SetCategoryValues(v []*string) *CategoryDrillDownFilter { + s.CategoryValues = v return s } -// SetStatus sets the Status field's value. -func (s *CreateGroupMembershipOutput) SetStatus(v int64) *CreateGroupMembershipOutput { - s.Status = &v +// SetColumn sets the Column field's value. +func (s *CategoryDrillDownFilter) SetColumn(v *ColumnIdentifier) *CategoryDrillDownFilter { + s.Column = v return s } -// The response object for this operation. -type CreateGroupOutput struct { +// A CategoryFilter filters text values. +// +// For more information, see Adding text filters (https://docs.aws.amazon.com/quicksight/latest/user/add-a-text-filter-data-prep.html) +// in the Amazon QuickSight User Guide. +type CategoryFilter struct { _ struct{} `type:"structure"` - // The name of the group. - Group *Group `type:"structure"` + // The column that the filter is applied to. + // + // Column is a required field + Column *ColumnIdentifier `type:"structure" required:"true"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The configuration for a CategoryFilter. + Configuration *CategoryFilterConfiguration `type:"structure"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // An identifier that uniquely identifies a filter within a dashboard, analysis, + // or template. + // + // FilterId is a required field + FilterId *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -18232,7 +18971,7 @@ type CreateGroupOutput struct { // 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 CreateGroupOutput) String() string { +func (s CategoryFilter) String() string { return awsutil.Prettify(s) } @@ -18241,68 +18980,75 @@ func (s CreateGroupOutput) String() string { // 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 CreateGroupOutput) GoString() string { +func (s CategoryFilter) GoString() string { return s.String() } -// SetGroup sets the Group field's value. -func (s *CreateGroupOutput) SetGroup(v *Group) *CreateGroupOutput { - s.Group = v +// Validate inspects the fields of the type to determine if they are valid. +func (s *CategoryFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CategoryFilter"} + if s.Column == nil { + invalidParams.Add(request.NewErrParamRequired("Column")) + } + if s.FilterId == nil { + invalidParams.Add(request.NewErrParamRequired("FilterId")) + } + if s.FilterId != nil && len(*s.FilterId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FilterId", 1)) + } + if s.Column != nil { + if err := s.Column.Validate(); err != nil { + invalidParams.AddNested("Column", err.(request.ErrInvalidParams)) + } + } + if s.Configuration != nil { + if err := s.Configuration.Validate(); err != nil { + invalidParams.AddNested("Configuration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetColumn sets the Column field's value. +func (s *CategoryFilter) SetColumn(v *ColumnIdentifier) *CategoryFilter { + s.Column = v return s } -// SetRequestId sets the RequestId field's value. -func (s *CreateGroupOutput) SetRequestId(v string) *CreateGroupOutput { - s.RequestId = &v +// SetConfiguration sets the Configuration field's value. +func (s *CategoryFilter) SetConfiguration(v *CategoryFilterConfiguration) *CategoryFilter { + s.Configuration = v return s } -// SetStatus sets the Status field's value. -func (s *CreateGroupOutput) SetStatus(v int64) *CreateGroupOutput { - s.Status = &v +// SetFilterId sets the FilterId field's value. +func (s *CategoryFilter) SetFilterId(v string) *CategoryFilter { + s.FilterId = &v return s } -type CreateIAMPolicyAssignmentInput struct { +// The configuration for a CategoryFilter. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type CategoryFilterConfiguration struct { _ struct{} `type:"structure"` - // The name of the assignment, also called a rule. It must be unique within - // an Amazon Web Services account. - // - // AssignmentName is a required field - AssignmentName *string `min:"1" type:"string" required:"true"` - - // The status of the assignment. Possible values are as follows: - // - // * ENABLED - Anything specified in this assignment is used when creating - // the data source. - // - // * DISABLED - This assignment isn't used when creating the data source. - // - // * DRAFT - This assignment is an unfinished draft and isn't used when creating - // the data source. - // - // AssignmentStatus is a required field - AssignmentStatus *string `type:"string" required:"true" enum:"AssignmentStatus"` - - // The ID of the Amazon Web Services account where you want to assign an IAM - // policy to Amazon QuickSight users or groups. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - - // The Amazon QuickSight users, groups, or both that you want to assign the - // policy to. - Identities map[string][]*string `type:"map"` + // A custom filter that filters based on a single value. This filter can be + // partially matched. + CustomFilterConfiguration *CustomFilterConfiguration `type:"structure"` - // The namespace that contains the assignment. - // - // Namespace is a required field - Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` + // A list of custom filter values. In the Amazon QuickSight console, this filter + // type is called a custom filter list. + CustomFilterListConfiguration *CustomFilterListConfiguration `type:"structure"` - // The ARN for the IAM policy to apply to the Amazon QuickSight users and groups - // specified in this assignment. - PolicyArn *string `type:"string"` + // A list of filter configurations. In the Amazon QuickSight console, this filter + // type is called a filter list. + FilterListConfiguration *FilterListConfiguration `type:"structure"` } // String returns the string representation. @@ -18310,7 +19056,7 @@ type CreateIAMPolicyAssignmentInput struct { // 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 CreateIAMPolicyAssignmentInput) String() string { +func (s CategoryFilterConfiguration) String() string { return awsutil.Prettify(s) } @@ -18319,33 +19065,27 @@ func (s CreateIAMPolicyAssignmentInput) String() string { // 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 CreateIAMPolicyAssignmentInput) GoString() string { +func (s CategoryFilterConfiguration) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateIAMPolicyAssignmentInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateIAMPolicyAssignmentInput"} - if s.AssignmentName == nil { - invalidParams.Add(request.NewErrParamRequired("AssignmentName")) - } - if s.AssignmentName != nil && len(*s.AssignmentName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("AssignmentName", 1)) - } - if s.AssignmentStatus == nil { - invalidParams.Add(request.NewErrParamRequired("AssignmentStatus")) - } - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) +func (s *CategoryFilterConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CategoryFilterConfiguration"} + if s.CustomFilterConfiguration != nil { + if err := s.CustomFilterConfiguration.Validate(); err != nil { + invalidParams.AddNested("CustomFilterConfiguration", err.(request.ErrInvalidParams)) + } } - if s.Namespace == nil { - invalidParams.Add(request.NewErrParamRequired("Namespace")) + if s.CustomFilterListConfiguration != nil { + if err := s.CustomFilterListConfiguration.Validate(); err != nil { + invalidParams.AddNested("CustomFilterListConfiguration", err.(request.ErrInvalidParams)) + } } - if s.Namespace != nil && len(*s.Namespace) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + if s.FilterListConfiguration != nil { + if err := s.FilterListConfiguration.Validate(); err != nil { + invalidParams.AddNested("FilterListConfiguration", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -18354,76 +19094,40 @@ func (s *CreateIAMPolicyAssignmentInput) Validate() error { return nil } -// SetAssignmentName sets the AssignmentName field's value. -func (s *CreateIAMPolicyAssignmentInput) SetAssignmentName(v string) *CreateIAMPolicyAssignmentInput { - s.AssignmentName = &v - return s -} - -// SetAssignmentStatus sets the AssignmentStatus field's value. -func (s *CreateIAMPolicyAssignmentInput) SetAssignmentStatus(v string) *CreateIAMPolicyAssignmentInput { - s.AssignmentStatus = &v - return s -} - -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *CreateIAMPolicyAssignmentInput) SetAwsAccountId(v string) *CreateIAMPolicyAssignmentInput { - s.AwsAccountId = &v - return s -} - -// SetIdentities sets the Identities field's value. -func (s *CreateIAMPolicyAssignmentInput) SetIdentities(v map[string][]*string) *CreateIAMPolicyAssignmentInput { - s.Identities = v +// SetCustomFilterConfiguration sets the CustomFilterConfiguration field's value. +func (s *CategoryFilterConfiguration) SetCustomFilterConfiguration(v *CustomFilterConfiguration) *CategoryFilterConfiguration { + s.CustomFilterConfiguration = v return s } -// SetNamespace sets the Namespace field's value. -func (s *CreateIAMPolicyAssignmentInput) SetNamespace(v string) *CreateIAMPolicyAssignmentInput { - s.Namespace = &v +// SetCustomFilterListConfiguration sets the CustomFilterListConfiguration field's value. +func (s *CategoryFilterConfiguration) SetCustomFilterListConfiguration(v *CustomFilterListConfiguration) *CategoryFilterConfiguration { + s.CustomFilterListConfiguration = v return s } -// SetPolicyArn sets the PolicyArn field's value. -func (s *CreateIAMPolicyAssignmentInput) SetPolicyArn(v string) *CreateIAMPolicyAssignmentInput { - s.PolicyArn = &v +// SetFilterListConfiguration sets the FilterListConfiguration field's value. +func (s *CategoryFilterConfiguration) SetFilterListConfiguration(v *FilterListConfiguration) *CategoryFilterConfiguration { + s.FilterListConfiguration = v return s } -type CreateIAMPolicyAssignmentOutput struct { +// The label options for an axis on a chart. +type ChartAxisLabelOptions struct { _ struct{} `type:"structure"` - // The ID for the assignment. - AssignmentId *string `type:"string"` + // The label options for a chart axis. + AxisLabelOptions []*AxisLabelOptions `type:"list"` - // The name of the assignment. This name must be unique within the Amazon Web - // Services account. - AssignmentName *string `min:"1" type:"string"` + // The visibility configuration of the sort icon on a chart's axis label. + SortIconVisibility *string `type:"string" enum:"Visibility"` - // The status of the assignment. Possible values are as follows: - // - // * ENABLED - Anything specified in this assignment is used when creating - // the data source. + // The visibility of an axis label on a chart. Choose one of the following options: // - // * DISABLED - This assignment isn't used when creating the data source. + // * VISIBLE: Shows the axis. // - // * DRAFT - This assignment is an unfinished draft and isn't used when creating - // the data source. - AssignmentStatus *string `type:"string" enum:"AssignmentStatus"` - - // The Amazon QuickSight users, groups, or both that the IAM policy is assigned - // to. - Identities map[string][]*string `type:"map"` - - // The ARN for the IAM policy that is applied to the Amazon QuickSight users - // and groups specified in this assignment. - PolicyArn *string `type:"string"` - - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` - - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // * HIDDEN: Hides the axis. + Visibility *string `type:"string" enum:"Visibility"` } // String returns the string representation. @@ -18431,7 +19135,7 @@ type CreateIAMPolicyAssignmentOutput struct { // 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 CreateIAMPolicyAssignmentOutput) String() string { +func (s ChartAxisLabelOptions) String() string { return awsutil.Prettify(s) } @@ -18440,72 +19144,128 @@ func (s CreateIAMPolicyAssignmentOutput) String() string { // 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 CreateIAMPolicyAssignmentOutput) GoString() string { +func (s ChartAxisLabelOptions) GoString() string { return s.String() } -// SetAssignmentId sets the AssignmentId field's value. -func (s *CreateIAMPolicyAssignmentOutput) SetAssignmentId(v string) *CreateIAMPolicyAssignmentOutput { - s.AssignmentId = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *ChartAxisLabelOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ChartAxisLabelOptions"} + if s.AxisLabelOptions != nil { + for i, v := range s.AxisLabelOptions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "AxisLabelOptions", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetAssignmentName sets the AssignmentName field's value. -func (s *CreateIAMPolicyAssignmentOutput) SetAssignmentName(v string) *CreateIAMPolicyAssignmentOutput { - s.AssignmentName = &v +// SetAxisLabelOptions sets the AxisLabelOptions field's value. +func (s *ChartAxisLabelOptions) SetAxisLabelOptions(v []*AxisLabelOptions) *ChartAxisLabelOptions { + s.AxisLabelOptions = v return s } -// SetAssignmentStatus sets the AssignmentStatus field's value. -func (s *CreateIAMPolicyAssignmentOutput) SetAssignmentStatus(v string) *CreateIAMPolicyAssignmentOutput { - s.AssignmentStatus = &v +// SetSortIconVisibility sets the SortIconVisibility field's value. +func (s *ChartAxisLabelOptions) SetSortIconVisibility(v string) *ChartAxisLabelOptions { + s.SortIconVisibility = &v return s } -// SetIdentities sets the Identities field's value. -func (s *CreateIAMPolicyAssignmentOutput) SetIdentities(v map[string][]*string) *CreateIAMPolicyAssignmentOutput { - s.Identities = v +// SetVisibility sets the Visibility field's value. +func (s *ChartAxisLabelOptions) SetVisibility(v string) *ChartAxisLabelOptions { + s.Visibility = &v return s } -// SetPolicyArn sets the PolicyArn field's value. -func (s *CreateIAMPolicyAssignmentOutput) SetPolicyArn(v string) *CreateIAMPolicyAssignmentOutput { - s.PolicyArn = &v - return s +// The cluster marker that is a part of the cluster marker configuration. +type ClusterMarker struct { + _ struct{} `type:"structure"` + + // The simple cluster marker of the cluster marker. + SimpleClusterMarker *SimpleClusterMarker `type:"structure"` } -// SetRequestId sets the RequestId field's value. -func (s *CreateIAMPolicyAssignmentOutput) SetRequestId(v string) *CreateIAMPolicyAssignmentOutput { - s.RequestId = &v - return s +// 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 ClusterMarker) String() string { + return awsutil.Prettify(s) } -// SetStatus sets the Status field's value. -func (s *CreateIAMPolicyAssignmentOutput) SetStatus(v int64) *CreateIAMPolicyAssignmentOutput { - s.Status = &v +// 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 ClusterMarker) GoString() string { + return s.String() +} + +// SetSimpleClusterMarker sets the SimpleClusterMarker field's value. +func (s *ClusterMarker) SetSimpleClusterMarker(v *SimpleClusterMarker) *ClusterMarker { + s.SimpleClusterMarker = v return s } -type CreateIngestionInput struct { +// The cluster marker configuration of the geospatial map selected point style. +type ClusterMarkerConfiguration struct { _ struct{} `type:"structure"` - // The Amazon Web Services account ID. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // The cluster marker that is a part of the cluster marker configuration + ClusterMarker *ClusterMarker `type:"structure"` +} - // The ID of the dataset used in the ingestion. +// 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 ClusterMarkerConfiguration) 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 ClusterMarkerConfiguration) GoString() string { + return s.String() +} + +// SetClusterMarker sets the ClusterMarker field's value. +func (s *ClusterMarkerConfiguration) SetClusterMarker(v *ClusterMarker) *ClusterMarkerConfiguration { + s.ClusterMarker = v + return s +} + +// Determines the color scale that is applied to the visual. +type ColorScale struct { + _ struct{} `type:"structure"` + + // Determines the color fill type. // - // DataSetId is a required field - DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"` + // ColorFillType is a required field + ColorFillType *string `type:"string" required:"true" enum:"ColorFillType"` - // An ID for the ingestion. + // Determines the list of colors that are applied to the visual. // - // IngestionId is a required field - IngestionId *string `location:"uri" locationName:"IngestionId" min:"1" type:"string" required:"true"` + // Colors is a required field + Colors []*DataColor `min:"2" type:"list" required:"true"` - // The type of ingestion that you want to create. - IngestionType *string `type:"string" enum:"IngestionType"` + // Determines the color that is applied to null values. + NullValueColor *DataColor `type:"structure"` } // String returns the string representation. @@ -18513,7 +19273,7 @@ type CreateIngestionInput struct { // 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 CreateIngestionInput) String() string { +func (s ColorScale) String() string { return awsutil.Prettify(s) } @@ -18522,30 +19282,21 @@ func (s CreateIngestionInput) String() string { // 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 CreateIngestionInput) GoString() string { +func (s ColorScale) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateIngestionInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateIngestionInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.DataSetId == nil { - invalidParams.Add(request.NewErrParamRequired("DataSetId")) - } - if s.DataSetId != nil && len(*s.DataSetId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1)) +func (s *ColorScale) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ColorScale"} + if s.ColorFillType == nil { + invalidParams.Add(request.NewErrParamRequired("ColorFillType")) } - if s.IngestionId == nil { - invalidParams.Add(request.NewErrParamRequired("IngestionId")) + if s.Colors == nil { + invalidParams.Add(request.NewErrParamRequired("Colors")) } - if s.IngestionId != nil && len(*s.IngestionId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("IngestionId", 1)) + if s.Colors != nil && len(s.Colors) < 2 { + invalidParams.Add(request.NewErrParamMinLen("Colors", 2)) } if invalidParams.Len() > 0 { @@ -18554,47 +19305,38 @@ func (s *CreateIngestionInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *CreateIngestionInput) SetAwsAccountId(v string) *CreateIngestionInput { - s.AwsAccountId = &v - return s -} - -// SetDataSetId sets the DataSetId field's value. -func (s *CreateIngestionInput) SetDataSetId(v string) *CreateIngestionInput { - s.DataSetId = &v +// SetColorFillType sets the ColorFillType field's value. +func (s *ColorScale) SetColorFillType(v string) *ColorScale { + s.ColorFillType = &v return s } -// SetIngestionId sets the IngestionId field's value. -func (s *CreateIngestionInput) SetIngestionId(v string) *CreateIngestionInput { - s.IngestionId = &v +// SetColors sets the Colors field's value. +func (s *ColorScale) SetColors(v []*DataColor) *ColorScale { + s.Colors = v return s } -// SetIngestionType sets the IngestionType field's value. -func (s *CreateIngestionInput) SetIngestionType(v string) *CreateIngestionInput { - s.IngestionType = &v +// SetNullValueColor sets the NullValueColor field's value. +func (s *ColorScale) SetNullValueColor(v *DataColor) *ColorScale { + s.NullValueColor = v return s } -type CreateIngestionOutput struct { +// The general configuration of a column. +type ColumnConfiguration struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) for the data ingestion. - Arn *string `type:"string"` - - // An ID for the ingestion. - IngestionId *string `min:"1" type:"string"` - - // The ingestion status. - IngestionStatus *string `type:"string" enum:"IngestionStatus"` + // The column. + // + // Column is a required field + Column *ColumnIdentifier `type:"structure" required:"true"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The format configuration of a column. + FormatConfiguration *FormatConfiguration `type:"structure"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The role of the column. + Role *string `type:"string" enum:"ColumnRole"` } // String returns the string representation. @@ -18602,7 +19344,7 @@ type CreateIngestionOutput struct { // 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 CreateIngestionOutput) String() string { +func (s ColumnConfiguration) String() string { return awsutil.Prettify(s) } @@ -18611,62 +19353,91 @@ func (s CreateIngestionOutput) String() string { // 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 CreateIngestionOutput) GoString() string { +func (s ColumnConfiguration) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *CreateIngestionOutput) SetArn(v string) *CreateIngestionOutput { - s.Arn = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *ColumnConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ColumnConfiguration"} + if s.Column == nil { + invalidParams.Add(request.NewErrParamRequired("Column")) + } + if s.Column != nil { + if err := s.Column.Validate(); err != nil { + invalidParams.AddNested("Column", err.(request.ErrInvalidParams)) + } + } + if s.FormatConfiguration != nil { + if err := s.FormatConfiguration.Validate(); err != nil { + invalidParams.AddNested("FormatConfiguration", err.(request.ErrInvalidParams)) + } + } -// SetIngestionId sets the IngestionId field's value. -func (s *CreateIngestionOutput) SetIngestionId(v string) *CreateIngestionOutput { - s.IngestionId = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetIngestionStatus sets the IngestionStatus field's value. -func (s *CreateIngestionOutput) SetIngestionStatus(v string) *CreateIngestionOutput { - s.IngestionStatus = &v +// SetColumn sets the Column field's value. +func (s *ColumnConfiguration) SetColumn(v *ColumnIdentifier) *ColumnConfiguration { + s.Column = v return s } -// SetRequestId sets the RequestId field's value. -func (s *CreateIngestionOutput) SetRequestId(v string) *CreateIngestionOutput { - s.RequestId = &v +// SetFormatConfiguration sets the FormatConfiguration field's value. +func (s *ColumnConfiguration) SetFormatConfiguration(v *FormatConfiguration) *ColumnConfiguration { + s.FormatConfiguration = v return s } -// SetStatus sets the Status field's value. -func (s *CreateIngestionOutput) SetStatus(v int64) *CreateIngestionOutput { - s.Status = &v +// SetRole sets the Role field's value. +func (s *ColumnConfiguration) SetRole(v string) *ColumnConfiguration { + s.Role = &v return s } -type CreateNamespaceInput struct { +// Metadata that contains a description for a column. +type ColumnDescription struct { _ struct{} `type:"structure"` - // The ID for the Amazon Web Services account that you want to create the Amazon - // QuickSight namespace in. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // The text of a description for a column. + Text *string `type:"string"` +} - // Specifies the type of your user identity directory. Currently, this supports - // users with an identity type of QUICKSIGHT. - // - // IdentityStore is a required field - IdentityStore *string `type:"string" required:"true" enum:"IdentityStore"` +// 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 ColumnDescription) String() string { + return awsutil.Prettify(s) +} - // The name that you want to use to describe the new namespace. - // - // Namespace is a required field - Namespace *string `type:"string" required:"true"` +// 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 ColumnDescription) GoString() string { + return s.String() +} - // The tags that you want to associate with the namespace that you're creating. - Tags []*Tag `min:"1" type:"list"` +// SetText sets the Text field's value. +func (s *ColumnDescription) SetText(v string) *ColumnDescription { + s.Text = &v + return s +} + +// Groupings of columns that work together in certain Amazon QuickSight features. +// This is a variant type structure. For this structure to be valid, only one +// of the attributes can be non-null. +type ColumnGroup struct { + _ struct{} `type:"structure"` + + // Geospatial column group that denotes a hierarchy. + GeoSpatialColumnGroup *GeoSpatialColumnGroup `type:"structure"` } // String returns the string representation. @@ -18674,7 +19445,7 @@ type CreateNamespaceInput struct { // 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 CreateNamespaceInput) String() string { +func (s ColumnGroup) String() string { return awsutil.Prettify(s) } @@ -18683,36 +19454,16 @@ func (s CreateNamespaceInput) String() string { // 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 CreateNamespaceInput) GoString() string { +func (s ColumnGroup) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateNamespaceInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateNamespaceInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.IdentityStore == nil { - invalidParams.Add(request.NewErrParamRequired("IdentityStore")) - } - if s.Namespace == nil { - invalidParams.Add(request.NewErrParamRequired("Namespace")) - } - if s.Tags != nil && len(s.Tags) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) - } - if s.Tags != nil { - for i, v := range s.Tags { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) - } +func (s *ColumnGroup) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ColumnGroup"} + if s.GeoSpatialColumnGroup != nil { + if err := s.GeoSpatialColumnGroup.Validate(); err != nil { + invalidParams.AddNested("GeoSpatialColumnGroup", err.(request.ErrInvalidParams)) } } @@ -18722,59 +19473,18 @@ func (s *CreateNamespaceInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *CreateNamespaceInput) SetAwsAccountId(v string) *CreateNamespaceInput { - s.AwsAccountId = &v - return s -} - -// SetIdentityStore sets the IdentityStore field's value. -func (s *CreateNamespaceInput) SetIdentityStore(v string) *CreateNamespaceInput { - s.IdentityStore = &v - return s -} - -// SetNamespace sets the Namespace field's value. -func (s *CreateNamespaceInput) SetNamespace(v string) *CreateNamespaceInput { - s.Namespace = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateNamespaceInput) SetTags(v []*Tag) *CreateNamespaceInput { - s.Tags = v +// SetGeoSpatialColumnGroup sets the GeoSpatialColumnGroup field's value. +func (s *ColumnGroup) SetGeoSpatialColumnGroup(v *GeoSpatialColumnGroup) *ColumnGroup { + s.GeoSpatialColumnGroup = v return s } -type CreateNamespaceOutput struct { +// A structure describing the name, data type, and geographic role of the columns. +type ColumnGroupColumnSchema struct { _ struct{} `type:"structure"` - // The ARN of the Amazon QuickSight namespace you created. - Arn *string `type:"string"` - - // The Amazon Web Services Region; that you want to use for the free SPICE capacity - // for the new namespace. This is set to the region that you run CreateNamespace - // in. - CapacityRegion *string `type:"string"` - - // The status of the creation of the namespace. This is an asynchronous process. - // A status of CREATED means that your namespace is ready to use. If an error - // occurs, it indicates if the process is retryable or non-retryable. In the - // case of a non-retryable error, refer to the error message for follow-up tasks. - CreationStatus *string `type:"string" enum:"NamespaceStatus"` - - // Specifies the type of your user identity directory. Currently, this supports - // users with an identity type of QUICKSIGHT. - IdentityStore *string `type:"string" enum:"IdentityStore"` - - // The name of the new namespace that you created. + // The name of the column group's column schema. Name *string `type:"string"` - - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` - - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` } // String returns the string representation. @@ -18782,7 +19492,7 @@ type CreateNamespaceOutput struct { // 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 CreateNamespaceOutput) String() string { +func (s ColumnGroupColumnSchema) String() string { return awsutil.Prettify(s) } @@ -18791,77 +19501,72 @@ func (s CreateNamespaceOutput) String() string { // 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 CreateNamespaceOutput) GoString() string { +func (s ColumnGroupColumnSchema) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *CreateNamespaceOutput) SetArn(v string) *CreateNamespaceOutput { - s.Arn = &v +// SetName sets the Name field's value. +func (s *ColumnGroupColumnSchema) SetName(v string) *ColumnGroupColumnSchema { + s.Name = &v return s } -// SetCapacityRegion sets the CapacityRegion field's value. -func (s *CreateNamespaceOutput) SetCapacityRegion(v string) *CreateNamespaceOutput { - s.CapacityRegion = &v - return s -} +// The column group schema. +type ColumnGroupSchema struct { + _ struct{} `type:"structure"` -// SetCreationStatus sets the CreationStatus field's value. -func (s *CreateNamespaceOutput) SetCreationStatus(v string) *CreateNamespaceOutput { - s.CreationStatus = &v - return s + // A structure containing the list of schemas for column group columns. + ColumnGroupColumnSchemaList []*ColumnGroupColumnSchema `type:"list"` + + // The name of the column group schema. + Name *string `type:"string"` } -// SetIdentityStore sets the IdentityStore field's value. -func (s *CreateNamespaceOutput) SetIdentityStore(v string) *CreateNamespaceOutput { - s.IdentityStore = &v - return s +// 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 ColumnGroupSchema) String() string { + return awsutil.Prettify(s) } -// SetName sets the Name field's value. -func (s *CreateNamespaceOutput) SetName(v string) *CreateNamespaceOutput { - s.Name = &v - return 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 ColumnGroupSchema) GoString() string { + return s.String() } -// SetRequestId sets the RequestId field's value. -func (s *CreateNamespaceOutput) SetRequestId(v string) *CreateNamespaceOutput { - s.RequestId = &v +// SetColumnGroupColumnSchemaList sets the ColumnGroupColumnSchemaList field's value. +func (s *ColumnGroupSchema) SetColumnGroupColumnSchemaList(v []*ColumnGroupColumnSchema) *ColumnGroupSchema { + s.ColumnGroupColumnSchemaList = v return s } -// SetStatus sets the Status field's value. -func (s *CreateNamespaceOutput) SetStatus(v int64) *CreateNamespaceOutput { - s.Status = &v +// SetName sets the Name field's value. +func (s *ColumnGroupSchema) SetName(v string) *ColumnGroupSchema { + s.Name = &v return s } -type CreateTemplateAliasInput struct { +// The option that determines the hierarchy of the fields for a visual element. +type ColumnHierarchy struct { _ struct{} `type:"structure"` - // The name that you want to give to the template alias that you're creating. - // Don't start the alias name with the $ character. Alias names that start with - // $ are reserved by Amazon QuickSight. - // - // AliasName is a required field - AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"` - - // The ID of the Amazon Web Services account that contains the template that - // you creating an alias for. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // The option that determines the hierarchy of any DateTime fields. + DateTimeHierarchy *DateTimeHierarchy `type:"structure"` - // An ID for the template. - // - // TemplateId is a required field - TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"` + // The option that determines the hierarchy of the fields that are built within + // a visual's field wells. These fields can't be duplicated to other visuals. + ExplicitHierarchy *ExplicitHierarchy `type:"structure"` - // The version number of the template. - // - // TemplateVersionNumber is a required field - TemplateVersionNumber *int64 `min:"1" type:"long" required:"true"` + // The option that determines the hierarchy of the fields that are defined during + // data preparation. These fields are available to use in any analysis that + // uses the data source. + PredefinedHierarchy *PredefinedHierarchy `type:"structure"` } // String returns the string representation. @@ -18869,7 +19574,7 @@ type CreateTemplateAliasInput struct { // 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 CreateTemplateAliasInput) String() string { +func (s ColumnHierarchy) String() string { return awsutil.Prettify(s) } @@ -18878,36 +19583,27 @@ func (s CreateTemplateAliasInput) String() string { // 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 CreateTemplateAliasInput) GoString() string { +func (s ColumnHierarchy) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateTemplateAliasInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateTemplateAliasInput"} - if s.AliasName == nil { - invalidParams.Add(request.NewErrParamRequired("AliasName")) - } - if s.AliasName != nil && len(*s.AliasName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("AliasName", 1)) - } - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.TemplateId == nil { - invalidParams.Add(request.NewErrParamRequired("TemplateId")) - } - if s.TemplateId != nil && len(*s.TemplateId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1)) +func (s *ColumnHierarchy) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ColumnHierarchy"} + if s.DateTimeHierarchy != nil { + if err := s.DateTimeHierarchy.Validate(); err != nil { + invalidParams.AddNested("DateTimeHierarchy", err.(request.ErrInvalidParams)) + } } - if s.TemplateVersionNumber == nil { - invalidParams.Add(request.NewErrParamRequired("TemplateVersionNumber")) + if s.ExplicitHierarchy != nil { + if err := s.ExplicitHierarchy.Validate(); err != nil { + invalidParams.AddNested("ExplicitHierarchy", err.(request.ErrInvalidParams)) + } } - if s.TemplateVersionNumber != nil && *s.TemplateVersionNumber < 1 { - invalidParams.Add(request.NewErrParamMinValue("TemplateVersionNumber", 1)) + if s.PredefinedHierarchy != nil { + if err := s.PredefinedHierarchy.Validate(); err != nil { + invalidParams.AddNested("PredefinedHierarchy", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -18916,41 +19612,37 @@ func (s *CreateTemplateAliasInput) Validate() error { return nil } -// SetAliasName sets the AliasName field's value. -func (s *CreateTemplateAliasInput) SetAliasName(v string) *CreateTemplateAliasInput { - s.AliasName = &v - return s -} - -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *CreateTemplateAliasInput) SetAwsAccountId(v string) *CreateTemplateAliasInput { - s.AwsAccountId = &v +// SetDateTimeHierarchy sets the DateTimeHierarchy field's value. +func (s *ColumnHierarchy) SetDateTimeHierarchy(v *DateTimeHierarchy) *ColumnHierarchy { + s.DateTimeHierarchy = v return s } -// SetTemplateId sets the TemplateId field's value. -func (s *CreateTemplateAliasInput) SetTemplateId(v string) *CreateTemplateAliasInput { - s.TemplateId = &v +// SetExplicitHierarchy sets the ExplicitHierarchy field's value. +func (s *ColumnHierarchy) SetExplicitHierarchy(v *ExplicitHierarchy) *ColumnHierarchy { + s.ExplicitHierarchy = v return s } -// SetTemplateVersionNumber sets the TemplateVersionNumber field's value. -func (s *CreateTemplateAliasInput) SetTemplateVersionNumber(v int64) *CreateTemplateAliasInput { - s.TemplateVersionNumber = &v +// SetPredefinedHierarchy sets the PredefinedHierarchy field's value. +func (s *ColumnHierarchy) SetPredefinedHierarchy(v *PredefinedHierarchy) *ColumnHierarchy { + s.PredefinedHierarchy = v return s } -type CreateTemplateAliasOutput struct { +// A column of a data set. +type ColumnIdentifier struct { _ struct{} `type:"structure"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` - - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The name of the column. + // + // ColumnName is a required field + ColumnName *string `min:"1" type:"string" required:"true"` - // Information about the template alias. - TemplateAlias *TemplateAlias `type:"structure"` + // The data set that the column belongs to. + // + // DataSetIdentifier is a required field + DataSetIdentifier *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -18958,7 +19650,7 @@ type CreateTemplateAliasOutput struct { // 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 CreateTemplateAliasOutput) String() string { +func (s ColumnIdentifier) String() string { return awsutil.Prettify(s) } @@ -18967,74 +19659,57 @@ func (s CreateTemplateAliasOutput) String() string { // 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 CreateTemplateAliasOutput) GoString() string { +func (s ColumnIdentifier) GoString() string { return s.String() } -// SetRequestId sets the RequestId field's value. -func (s *CreateTemplateAliasOutput) SetRequestId(v string) *CreateTemplateAliasOutput { - s.RequestId = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *ColumnIdentifier) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ColumnIdentifier"} + if s.ColumnName == nil { + invalidParams.Add(request.NewErrParamRequired("ColumnName")) + } + if s.ColumnName != nil && len(*s.ColumnName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ColumnName", 1)) + } + if s.DataSetIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("DataSetIdentifier")) + } + if s.DataSetIdentifier != nil && len(*s.DataSetIdentifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DataSetIdentifier", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetStatus sets the Status field's value. -func (s *CreateTemplateAliasOutput) SetStatus(v int64) *CreateTemplateAliasOutput { - s.Status = &v +// SetColumnName sets the ColumnName field's value. +func (s *ColumnIdentifier) SetColumnName(v string) *ColumnIdentifier { + s.ColumnName = &v return s } -// SetTemplateAlias sets the TemplateAlias field's value. -func (s *CreateTemplateAliasOutput) SetTemplateAlias(v *TemplateAlias) *CreateTemplateAliasOutput { - s.TemplateAlias = v +// SetDataSetIdentifier sets the DataSetIdentifier field's value. +func (s *ColumnIdentifier) SetDataSetIdentifier(v string) *ColumnIdentifier { + s.DataSetIdentifier = &v return s } -type CreateTemplateInput struct { +// A rule defined to grant access on one or more restricted columns. Each dataset +// can have multiple rules. To create a restricted column, you add it to one +// or more rules. Each rule must contain at least one column and at least one +// user or group. To be able to see a restricted column, a user or group needs +// to be added to a rule for that column. +type ColumnLevelPermissionRule struct { _ struct{} `type:"structure"` - // The ID for the Amazon Web Services account that the group is in. You use - // the ID for the Amazon Web Services account that contains your Amazon QuickSight - // account. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - - // A display name for the template. - Name *string `min:"1" type:"string"` - - // A list of resource permissions to be set on the template. - Permissions []*ResourcePermission `min:"1" type:"list"` - - // The entity that you are using as a source when you create the template. In - // SourceEntity, you specify the type of object you're using as source: SourceTemplate - // for a template or SourceAnalysis for an analysis. Both of these require an - // Amazon Resource Name (ARN). For SourceTemplate, specify the ARN of the source - // template. For SourceAnalysis, specify the ARN of the source analysis. The - // SourceTemplate ARN can contain any Amazon Web Services account and any Amazon - // QuickSight-supported Amazon Web Services Region. - // - // Use the DataSetReferences entity within SourceTemplate or SourceAnalysis - // to list the replacement datasets for the placeholders listed in the original. - // The schema in each dataset must match its placeholder. - // - // SourceEntity is a required field - SourceEntity *TemplateSourceEntity `type:"structure" required:"true"` - - // Contains a map of the key-value pairs for the resource tag or tags assigned - // to the resource. - Tags []*Tag `min:"1" type:"list"` - - // An ID for the template that you want to create. This template is unique per - // Amazon Web Services Region; in each Amazon Web Services account. - // - // TemplateId is a required field - TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"` + // An array of column names. + ColumnNames []*string `min:"1" type:"list"` - // A description of the current template version being created. This API operation - // creates the first version of the template. Every time UpdateTemplate is called, - // a new version is created. Each version of the template maintains a description - // of the version in the VersionDescription field. - VersionDescription *string `min:"1" type:"string"` + // An array of Amazon Resource Names (ARNs) for Amazon QuickSight users or groups. + Principals []*string `min:"1" type:"list"` } // String returns the string representation. @@ -19042,7 +19717,7 @@ type CreateTemplateInput struct { // 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 CreateTemplateInput) String() string { +func (s ColumnLevelPermissionRule) String() string { return awsutil.Prettify(s) } @@ -19051,64 +19726,18 @@ func (s CreateTemplateInput) String() string { // 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 CreateTemplateInput) GoString() string { +func (s ColumnLevelPermissionRule) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateTemplateInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateTemplateInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.Name != nil && len(*s.Name) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Name", 1)) - } - if s.Permissions != nil && len(s.Permissions) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Permissions", 1)) - } - if s.SourceEntity == nil { - invalidParams.Add(request.NewErrParamRequired("SourceEntity")) - } - if s.Tags != nil && len(s.Tags) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) - } - if s.TemplateId == nil { - invalidParams.Add(request.NewErrParamRequired("TemplateId")) - } - if s.TemplateId != nil && len(*s.TemplateId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1)) - } - if s.VersionDescription != nil && len(*s.VersionDescription) < 1 { - invalidParams.Add(request.NewErrParamMinLen("VersionDescription", 1)) - } - if s.Permissions != nil { - for i, v := range s.Permissions { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams)) - } - } - } - if s.SourceEntity != nil { - if err := s.SourceEntity.Validate(); err != nil { - invalidParams.AddNested("SourceEntity", err.(request.ErrInvalidParams)) - } +func (s *ColumnLevelPermissionRule) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ColumnLevelPermissionRule"} + if s.ColumnNames != nil && len(s.ColumnNames) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ColumnNames", 1)) } - if s.Tags != nil { - for i, v := range s.Tags { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) - } - } + if s.Principals != nil && len(s.Principals) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Principals", 1)) } if invalidParams.Len() > 0 { @@ -19117,69 +19746,30 @@ func (s *CreateTemplateInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *CreateTemplateInput) SetAwsAccountId(v string) *CreateTemplateInput { - s.AwsAccountId = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateTemplateInput) SetName(v string) *CreateTemplateInput { - s.Name = &v - return s -} - -// SetPermissions sets the Permissions field's value. -func (s *CreateTemplateInput) SetPermissions(v []*ResourcePermission) *CreateTemplateInput { - s.Permissions = v - return s -} - -// SetSourceEntity sets the SourceEntity field's value. -func (s *CreateTemplateInput) SetSourceEntity(v *TemplateSourceEntity) *CreateTemplateInput { - s.SourceEntity = v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateTemplateInput) SetTags(v []*Tag) *CreateTemplateInput { - s.Tags = v - return s -} - -// SetTemplateId sets the TemplateId field's value. -func (s *CreateTemplateInput) SetTemplateId(v string) *CreateTemplateInput { - s.TemplateId = &v +// SetColumnNames sets the ColumnNames field's value. +func (s *ColumnLevelPermissionRule) SetColumnNames(v []*string) *ColumnLevelPermissionRule { + s.ColumnNames = v return s } -// SetVersionDescription sets the VersionDescription field's value. -func (s *CreateTemplateInput) SetVersionDescription(v string) *CreateTemplateInput { - s.VersionDescription = &v +// SetPrincipals sets the Principals field's value. +func (s *ColumnLevelPermissionRule) SetPrincipals(v []*string) *ColumnLevelPermissionRule { + s.Principals = v return s } -type CreateTemplateOutput struct { +// The column schema. +type ColumnSchema struct { _ struct{} `type:"structure"` - // The ARN for the template. - Arn *string `type:"string"` - - // The template creation status. - CreationStatus *string `type:"string" enum:"ResourceStatus"` - - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` - - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The data type of the column schema. + DataType *string `type:"string"` - // The ID of the template. - TemplateId *string `min:"1" type:"string"` + // The geographic role of the column schema. + GeographicRole *string `type:"string"` - // The ARN for the template, including the version information of the first - // version. - VersionArn *string `type:"string"` + // The name of the column schema. + Name *string `type:"string"` } // String returns the string representation. @@ -19187,7 +19777,7 @@ type CreateTemplateOutput struct { // 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 CreateTemplateOutput) String() string { +func (s ColumnSchema) String() string { return awsutil.Prettify(s) } @@ -19196,71 +19786,44 @@ func (s CreateTemplateOutput) String() string { // 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 CreateTemplateOutput) GoString() string { +func (s ColumnSchema) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *CreateTemplateOutput) SetArn(v string) *CreateTemplateOutput { - s.Arn = &v - return s -} - -// SetCreationStatus sets the CreationStatus field's value. -func (s *CreateTemplateOutput) SetCreationStatus(v string) *CreateTemplateOutput { - s.CreationStatus = &v - return s -} - -// SetRequestId sets the RequestId field's value. -func (s *CreateTemplateOutput) SetRequestId(v string) *CreateTemplateOutput { - s.RequestId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *CreateTemplateOutput) SetStatus(v int64) *CreateTemplateOutput { - s.Status = &v +// SetDataType sets the DataType field's value. +func (s *ColumnSchema) SetDataType(v string) *ColumnSchema { + s.DataType = &v return s } -// SetTemplateId sets the TemplateId field's value. -func (s *CreateTemplateOutput) SetTemplateId(v string) *CreateTemplateOutput { - s.TemplateId = &v +// SetGeographicRole sets the GeographicRole field's value. +func (s *ColumnSchema) SetGeographicRole(v string) *ColumnSchema { + s.GeographicRole = &v return s } -// SetVersionArn sets the VersionArn field's value. -func (s *CreateTemplateOutput) SetVersionArn(v string) *CreateTemplateOutput { - s.VersionArn = &v +// SetName sets the Name field's value. +func (s *ColumnSchema) SetName(v string) *ColumnSchema { + s.Name = &v return s } -type CreateThemeAliasInput struct { +// The sort configuration for a column that is not used in a field well. +type ColumnSort struct { _ struct{} `type:"structure"` - // The name that you want to give to the theme alias that you are creating. - // The alias name can't begin with a $. Alias names that start with $ are reserved - // by Amazon QuickSight. - // - // AliasName is a required field - AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"` - - // The ID of the Amazon Web Services account that contains the theme for the - // new theme alias. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // The aggregation function that is defined in the column sort. + AggregationFunction *AggregationFunction `type:"structure"` - // An ID for the theme alias. + // The sort direction. // - // ThemeId is a required field - ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"` + // Direction is a required field + Direction *string `type:"string" required:"true" enum:"SortDirection"` - // The version number of the theme. + // A column of a data set. // - // ThemeVersionNumber is a required field - ThemeVersionNumber *int64 `min:"1" type:"long" required:"true"` + // SortBy is a required field + SortBy *ColumnIdentifier `type:"structure" required:"true"` } // String returns the string representation. @@ -19268,7 +19831,7 @@ type CreateThemeAliasInput struct { // 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 CreateThemeAliasInput) String() string { +func (s ColumnSort) String() string { return awsutil.Prettify(s) } @@ -19277,36 +19840,23 @@ func (s CreateThemeAliasInput) String() string { // 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 CreateThemeAliasInput) GoString() string { +func (s ColumnSort) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateThemeAliasInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateThemeAliasInput"} - if s.AliasName == nil { - invalidParams.Add(request.NewErrParamRequired("AliasName")) - } - if s.AliasName != nil && len(*s.AliasName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("AliasName", 1)) - } - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.ThemeId == nil { - invalidParams.Add(request.NewErrParamRequired("ThemeId")) - } - if s.ThemeId != nil && len(*s.ThemeId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1)) +func (s *ColumnSort) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ColumnSort"} + if s.Direction == nil { + invalidParams.Add(request.NewErrParamRequired("Direction")) } - if s.ThemeVersionNumber == nil { - invalidParams.Add(request.NewErrParamRequired("ThemeVersionNumber")) + if s.SortBy == nil { + invalidParams.Add(request.NewErrParamRequired("SortBy")) } - if s.ThemeVersionNumber != nil && *s.ThemeVersionNumber < 1 { - invalidParams.Add(request.NewErrParamMinValue("ThemeVersionNumber", 1)) + if s.SortBy != nil { + if err := s.SortBy.Validate(); err != nil { + invalidParams.AddNested("SortBy", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -19315,41 +19865,35 @@ func (s *CreateThemeAliasInput) Validate() error { return nil } -// SetAliasName sets the AliasName field's value. -func (s *CreateThemeAliasInput) SetAliasName(v string) *CreateThemeAliasInput { - s.AliasName = &v - return s -} - -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *CreateThemeAliasInput) SetAwsAccountId(v string) *CreateThemeAliasInput { - s.AwsAccountId = &v +// SetAggregationFunction sets the AggregationFunction field's value. +func (s *ColumnSort) SetAggregationFunction(v *AggregationFunction) *ColumnSort { + s.AggregationFunction = v return s } -// SetThemeId sets the ThemeId field's value. -func (s *CreateThemeAliasInput) SetThemeId(v string) *CreateThemeAliasInput { - s.ThemeId = &v +// SetDirection sets the Direction field's value. +func (s *ColumnSort) SetDirection(v string) *ColumnSort { + s.Direction = &v return s } -// SetThemeVersionNumber sets the ThemeVersionNumber field's value. -func (s *CreateThemeAliasInput) SetThemeVersionNumber(v int64) *CreateThemeAliasInput { - s.ThemeVersionNumber = &v +// SetSortBy sets the SortBy field's value. +func (s *ColumnSort) SetSortBy(v *ColumnIdentifier) *ColumnSort { + s.SortBy = v return s } -type CreateThemeAliasOutput struct { +// A tag for a column in a TagColumnOperation (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_TagColumnOperation.html) +// structure. This is a variant type structure. For this structure to be valid, +// only one of the attributes can be non-null. +type ColumnTag struct { _ struct{} `type:"structure"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` - - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // A description for a column. + ColumnDescription *ColumnDescription `type:"structure"` - // Information about the theme alias. - ThemeAlias *ThemeAlias `type:"structure"` + // A geospatial role for a column. + ColumnGeographicRole *string `type:"string" enum:"GeoSpatialDataRole"` } // String returns the string representation. @@ -19357,7 +19901,7 @@ type CreateThemeAliasOutput struct { // 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 CreateThemeAliasOutput) String() string { +func (s ColumnTag) String() string { return awsutil.Prettify(s) } @@ -19366,71 +19910,39 @@ func (s CreateThemeAliasOutput) String() string { // 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 CreateThemeAliasOutput) GoString() string { +func (s ColumnTag) GoString() string { return s.String() } -// SetRequestId sets the RequestId field's value. -func (s *CreateThemeAliasOutput) SetRequestId(v string) *CreateThemeAliasOutput { - s.RequestId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *CreateThemeAliasOutput) SetStatus(v int64) *CreateThemeAliasOutput { - s.Status = &v +// SetColumnDescription sets the ColumnDescription field's value. +func (s *ColumnTag) SetColumnDescription(v *ColumnDescription) *ColumnTag { + s.ColumnDescription = v return s } -// SetThemeAlias sets the ThemeAlias field's value. -func (s *CreateThemeAliasOutput) SetThemeAlias(v *ThemeAlias) *CreateThemeAliasOutput { - s.ThemeAlias = v +// SetColumnGeographicRole sets the ColumnGeographicRole field's value. +func (s *ColumnTag) SetColumnGeographicRole(v string) *ColumnTag { + s.ColumnGeographicRole = &v return s } -type CreateThemeInput struct { +// The tooltip item for the columns that are not part of a field well. +type ColumnTooltipItem struct { _ struct{} `type:"structure"` - // The ID of the Amazon Web Services account where you want to store the new - // theme. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - - // The ID of the theme that a custom theme will inherit from. All themes inherit - // from one of the starting themes defined by Amazon QuickSight. For a list - // of the starting themes, use ListThemes or choose Themes from within an analysis. - // - // BaseThemeId is a required field - BaseThemeId *string `min:"1" type:"string" required:"true"` - - // The theme configuration, which contains the theme display properties. - // - // Configuration is a required field - Configuration *ThemeConfiguration `type:"structure" required:"true"` + // The aggregation function of the column tooltip item. + Aggregation *AggregationFunction `type:"structure"` - // A display name for the theme. + // The target column of the tooltip item. // - // Name is a required field - Name *string `min:"1" type:"string" required:"true"` - - // A valid grouping of resource permissions to apply to the new theme. - Permissions []*ResourcePermission `min:"1" type:"list"` - - // A map of the key-value pairs for the resource tag or tags that you want to - // add to the resource. - Tags []*Tag `min:"1" type:"list"` + // Column is a required field + Column *ColumnIdentifier `type:"structure" required:"true"` - // An ID for the theme that you want to create. The theme ID is unique per Amazon - // Web Services Region in each Amazon Web Services account. - // - // ThemeId is a required field - ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"` + // The label of the tooltip item. + Label *string `type:"string"` - // A description of the first version of the theme that you're creating. Every - // time UpdateTheme is called, a new version is created. Each version of the - // theme has a description of the version in the VersionDescription field. - VersionDescription *string `min:"1" type:"string"` + // The visibility of the tooltip item. + Visibility *string `type:"string" enum:"Visibility"` } // String returns the string representation. @@ -19438,7 +19950,7 @@ type CreateThemeInput struct { // 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 CreateThemeInput) String() string { +func (s ColumnTooltipItem) String() string { return awsutil.Prettify(s) } @@ -19447,66 +19959,127 @@ func (s CreateThemeInput) String() string { // 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 CreateThemeInput) GoString() string { +func (s ColumnTooltipItem) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateThemeInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateThemeInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) +func (s *ColumnTooltipItem) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ColumnTooltipItem"} + if s.Column == nil { + invalidParams.Add(request.NewErrParamRequired("Column")) + } + if s.Column != nil { + if err := s.Column.Validate(); err != nil { + invalidParams.AddNested("Column", err.(request.ErrInvalidParams)) + } } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + + if invalidParams.Len() > 0 { + return invalidParams } - if s.BaseThemeId == nil { - invalidParams.Add(request.NewErrParamRequired("BaseThemeId")) - } - if s.BaseThemeId != nil && len(*s.BaseThemeId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("BaseThemeId", 1)) - } - if s.Configuration == nil { - invalidParams.Add(request.NewErrParamRequired("Configuration")) - } - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) - } - if s.Name != nil && len(*s.Name) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Name", 1)) - } - if s.Permissions != nil && len(s.Permissions) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Permissions", 1)) - } - if s.Tags != nil && len(s.Tags) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) - } - if s.ThemeId == nil { - invalidParams.Add(request.NewErrParamRequired("ThemeId")) - } - if s.ThemeId != nil && len(*s.ThemeId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1)) + return nil +} + +// SetAggregation sets the Aggregation field's value. +func (s *ColumnTooltipItem) SetAggregation(v *AggregationFunction) *ColumnTooltipItem { + s.Aggregation = v + return s +} + +// SetColumn sets the Column field's value. +func (s *ColumnTooltipItem) SetColumn(v *ColumnIdentifier) *ColumnTooltipItem { + s.Column = v + return s +} + +// SetLabel sets the Label field's value. +func (s *ColumnTooltipItem) SetLabel(v string) *ColumnTooltipItem { + s.Label = &v + return s +} + +// SetVisibility sets the Visibility field's value. +func (s *ColumnTooltipItem) SetVisibility(v string) *ColumnTooltipItem { + s.Visibility = &v + return s +} + +// The aggregated field wells of a combo chart. +type ComboChartAggregatedFieldWells struct { + _ struct{} `type:"structure"` + + // The aggregated BarValues field well of a combo chart. + BarValues []*MeasureField `type:"list"` + + // The aggregated category field wells of a combo chart. + Category []*DimensionField `type:"list"` + + // The aggregated colors field well of a combo chart. + Colors []*DimensionField `type:"list"` + + // The aggregated LineValues field well of a combo chart. + LineValues []*MeasureField `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 ComboChartAggregatedFieldWells) 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 ComboChartAggregatedFieldWells) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ComboChartAggregatedFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ComboChartAggregatedFieldWells"} + if s.BarValues != nil { + for i, v := range s.BarValues { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "BarValues", i), err.(request.ErrInvalidParams)) + } + } } - if s.VersionDescription != nil && len(*s.VersionDescription) < 1 { - invalidParams.Add(request.NewErrParamMinLen("VersionDescription", 1)) + if s.Category != nil { + for i, v := range s.Category { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Category", i), err.(request.ErrInvalidParams)) + } + } } - if s.Permissions != nil { - for i, v := range s.Permissions { + if s.Colors != nil { + for i, v := range s.Colors { if v == nil { continue } if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams)) + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Colors", i), err.(request.ErrInvalidParams)) } } } - if s.Tags != nil { - for i, v := range s.Tags { + if s.LineValues != nil { + for i, v := range s.LineValues { if v == nil { continue } if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "LineValues", i), err.(request.ErrInvalidParams)) } } } @@ -19517,74 +20090,99 @@ func (s *CreateThemeInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *CreateThemeInput) SetAwsAccountId(v string) *CreateThemeInput { - s.AwsAccountId = &v +// SetBarValues sets the BarValues field's value. +func (s *ComboChartAggregatedFieldWells) SetBarValues(v []*MeasureField) *ComboChartAggregatedFieldWells { + s.BarValues = v return s } -// SetBaseThemeId sets the BaseThemeId field's value. -func (s *CreateThemeInput) SetBaseThemeId(v string) *CreateThemeInput { - s.BaseThemeId = &v +// SetCategory sets the Category field's value. +func (s *ComboChartAggregatedFieldWells) SetCategory(v []*DimensionField) *ComboChartAggregatedFieldWells { + s.Category = v return s } -// SetConfiguration sets the Configuration field's value. -func (s *CreateThemeInput) SetConfiguration(v *ThemeConfiguration) *CreateThemeInput { - s.Configuration = v +// SetColors sets the Colors field's value. +func (s *ComboChartAggregatedFieldWells) SetColors(v []*DimensionField) *ComboChartAggregatedFieldWells { + s.Colors = v return s } -// SetName sets the Name field's value. -func (s *CreateThemeInput) SetName(v string) *CreateThemeInput { - s.Name = &v +// SetLineValues sets the LineValues field's value. +func (s *ComboChartAggregatedFieldWells) SetLineValues(v []*MeasureField) *ComboChartAggregatedFieldWells { + s.LineValues = v return s } -// SetPermissions sets the Permissions field's value. -func (s *CreateThemeInput) SetPermissions(v []*ResourcePermission) *CreateThemeInput { - s.Permissions = v - return s -} +// The configuration of a ComboChartVisual. +type ComboChartConfiguration struct { + _ struct{} `type:"structure"` -// SetTags sets the Tags field's value. -func (s *CreateThemeInput) SetTags(v []*Tag) *CreateThemeInput { - s.Tags = v - return s -} + // The options that determine if visual data labels are displayed. + // + // The data label options for a bar in a combo chart. + BarDataLabels *DataLabelOptions `type:"structure"` -// SetThemeId sets the ThemeId field's value. -func (s *CreateThemeInput) SetThemeId(v string) *CreateThemeInput { - s.ThemeId = &v - return s -} + // Determines the bar arrangement in a combo chart. The following are valid + // values in this structure: + // + // * CLUSTERED: For clustered bar combo charts. + // + // * STACKED: For stacked bar combo charts. + // + // * STACKED_PERCENT: Do not use. If you use this value, the operation returns + // a validation error. + BarsArrangement *string `type:"string" enum:"BarsArrangement"` -// SetVersionDescription sets the VersionDescription field's value. -func (s *CreateThemeInput) SetVersionDescription(v string) *CreateThemeInput { - s.VersionDescription = &v - return s -} + // The category axis of a combo chart. + CategoryAxis *AxisDisplayOptions `type:"structure"` -type CreateThemeOutput struct { - _ struct{} `type:"structure"` + // The label options (label text, label visibility, and sort icon visibility) + // of a combo chart category (group/color) field well. + CategoryLabelOptions *ChartAxisLabelOptions `type:"structure"` - // The Amazon Resource Name (ARN) for the theme. - Arn *string `type:"string"` + // The label options (label text, label visibility, and sort icon visibility) + // of a combo chart's color field well. + ColorLabelOptions *ChartAxisLabelOptions `type:"structure"` - // The theme creation status. - CreationStatus *string `type:"string" enum:"ResourceStatus"` + // The field wells of the visual. + FieldWells *ComboChartFieldWells `type:"structure"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The legend display setup of the visual. + Legend *LegendOptions `type:"structure"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The options that determine if visual data labels are displayed. + // + // The data label options for a line in a combo chart. + LineDataLabels *DataLabelOptions `type:"structure"` - // The ID of the theme. - ThemeId *string `min:"1" type:"string"` + // The label display options (grid line, range, scale, and axis step) of a combo + // chart's primary y-axis (bar) field well. + PrimaryYAxisDisplayOptions *AxisDisplayOptions `type:"structure"` - // The Amazon Resource Name (ARN) for the new theme. - VersionArn *string `type:"string"` + // The label options (label text, label visibility, and sort icon visibility) + // of a combo chart's primary y-axis (bar) field well. + PrimaryYAxisLabelOptions *ChartAxisLabelOptions `type:"structure"` + + // The reference line setup of the visual. + ReferenceLines []*ReferenceLine `type:"list"` + + // The label display options (grid line, range, scale, axis step) of a combo + // chart's secondary y-axis (line) field well. + SecondaryYAxisDisplayOptions *AxisDisplayOptions `type:"structure"` + + // The label options (label text, label visibility, and sort icon visibility) + // of a combo chart's secondary y-axis(line) field well. + SecondaryYAxisLabelOptions *ChartAxisLabelOptions `type:"structure"` + + // The sort configuration of a ComboChartVisual. + SortConfiguration *ComboChartSortConfiguration `type:"structure"` + + // The legend display setup of the visual. + Tooltip *TooltipOptions `type:"structure"` + + // The palette (chart color) display setup of the visual. + VisualPalette *VisualPalette `type:"structure"` } // String returns the string representation. @@ -19592,7 +20190,7 @@ type CreateThemeOutput struct { // 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 CreateThemeOutput) String() string { +func (s ComboChartConfiguration) String() string { return awsutil.Prettify(s) } @@ -19601,70 +20199,186 @@ func (s CreateThemeOutput) String() string { // 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 CreateThemeOutput) GoString() string { +func (s ComboChartConfiguration) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *CreateThemeOutput) SetArn(v string) *CreateThemeOutput { - s.Arn = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *ComboChartConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ComboChartConfiguration"} + if s.BarDataLabels != nil { + if err := s.BarDataLabels.Validate(); err != nil { + invalidParams.AddNested("BarDataLabels", err.(request.ErrInvalidParams)) + } + } + if s.CategoryLabelOptions != nil { + if err := s.CategoryLabelOptions.Validate(); err != nil { + invalidParams.AddNested("CategoryLabelOptions", err.(request.ErrInvalidParams)) + } + } + if s.ColorLabelOptions != nil { + if err := s.ColorLabelOptions.Validate(); err != nil { + invalidParams.AddNested("ColorLabelOptions", err.(request.ErrInvalidParams)) + } + } + if s.FieldWells != nil { + if err := s.FieldWells.Validate(); err != nil { + invalidParams.AddNested("FieldWells", err.(request.ErrInvalidParams)) + } + } + if s.LineDataLabels != nil { + if err := s.LineDataLabels.Validate(); err != nil { + invalidParams.AddNested("LineDataLabels", err.(request.ErrInvalidParams)) + } + } + if s.PrimaryYAxisLabelOptions != nil { + if err := s.PrimaryYAxisLabelOptions.Validate(); err != nil { + invalidParams.AddNested("PrimaryYAxisLabelOptions", err.(request.ErrInvalidParams)) + } + } + if s.ReferenceLines != nil { + for i, v := range s.ReferenceLines { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ReferenceLines", i), err.(request.ErrInvalidParams)) + } + } + } + if s.SecondaryYAxisLabelOptions != nil { + if err := s.SecondaryYAxisLabelOptions.Validate(); err != nil { + invalidParams.AddNested("SecondaryYAxisLabelOptions", err.(request.ErrInvalidParams)) + } + } + if s.SortConfiguration != nil { + if err := s.SortConfiguration.Validate(); err != nil { + invalidParams.AddNested("SortConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.Tooltip != nil { + if err := s.Tooltip.Validate(); err != nil { + invalidParams.AddNested("Tooltip", err.(request.ErrInvalidParams)) + } + } + if s.VisualPalette != nil { + if err := s.VisualPalette.Validate(); err != nil { + invalidParams.AddNested("VisualPalette", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBarDataLabels sets the BarDataLabels field's value. +func (s *ComboChartConfiguration) SetBarDataLabels(v *DataLabelOptions) *ComboChartConfiguration { + s.BarDataLabels = v return s } -// SetCreationStatus sets the CreationStatus field's value. -func (s *CreateThemeOutput) SetCreationStatus(v string) *CreateThemeOutput { - s.CreationStatus = &v +// SetBarsArrangement sets the BarsArrangement field's value. +func (s *ComboChartConfiguration) SetBarsArrangement(v string) *ComboChartConfiguration { + s.BarsArrangement = &v return s } -// SetRequestId sets the RequestId field's value. -func (s *CreateThemeOutput) SetRequestId(v string) *CreateThemeOutput { - s.RequestId = &v +// SetCategoryAxis sets the CategoryAxis field's value. +func (s *ComboChartConfiguration) SetCategoryAxis(v *AxisDisplayOptions) *ComboChartConfiguration { + s.CategoryAxis = v return s } -// SetStatus sets the Status field's value. -func (s *CreateThemeOutput) SetStatus(v int64) *CreateThemeOutput { - s.Status = &v +// SetCategoryLabelOptions sets the CategoryLabelOptions field's value. +func (s *ComboChartConfiguration) SetCategoryLabelOptions(v *ChartAxisLabelOptions) *ComboChartConfiguration { + s.CategoryLabelOptions = v return s } -// SetThemeId sets the ThemeId field's value. -func (s *CreateThemeOutput) SetThemeId(v string) *CreateThemeOutput { - s.ThemeId = &v +// SetColorLabelOptions sets the ColorLabelOptions field's value. +func (s *ComboChartConfiguration) SetColorLabelOptions(v *ChartAxisLabelOptions) *ComboChartConfiguration { + s.ColorLabelOptions = v return s } -// SetVersionArn sets the VersionArn field's value. -func (s *CreateThemeOutput) SetVersionArn(v string) *CreateThemeOutput { - s.VersionArn = &v +// SetFieldWells sets the FieldWells field's value. +func (s *ComboChartConfiguration) SetFieldWells(v *ComboChartFieldWells) *ComboChartConfiguration { + s.FieldWells = v return s } -// The combination of user name and password that are used as credentials. -type CredentialPair struct { - _ struct{} `type:"structure"` +// SetLegend sets the Legend field's value. +func (s *ComboChartConfiguration) SetLegend(v *LegendOptions) *ComboChartConfiguration { + s.Legend = v + return s +} - // A set of alternate data source parameters that you want to share for these - // credentials. The credentials are applied in tandem with the data source parameters - // when you copy a data source by using a create or update request. The API - // operation compares the DataSourceParameters structure that's in the request - // with the structures in the AlternateDataSourceParameters allow list. If the - // structures are an exact match, the request is allowed to use the new data - // source with the existing credentials. If the AlternateDataSourceParameters - // list is null, the DataSourceParameters originally used with these Credentials - // is automatically allowed. - AlternateDataSourceParameters []*DataSourceParameters `min:"1" type:"list"` +// SetLineDataLabels sets the LineDataLabels field's value. +func (s *ComboChartConfiguration) SetLineDataLabels(v *DataLabelOptions) *ComboChartConfiguration { + s.LineDataLabels = v + return s +} - // Password. - // - // Password is a required field - Password *string `min:"1" type:"string" required:"true"` +// SetPrimaryYAxisDisplayOptions sets the PrimaryYAxisDisplayOptions field's value. +func (s *ComboChartConfiguration) SetPrimaryYAxisDisplayOptions(v *AxisDisplayOptions) *ComboChartConfiguration { + s.PrimaryYAxisDisplayOptions = v + return s +} - // User name. - // - // Username is a required field - Username *string `min:"1" type:"string" required:"true"` +// SetPrimaryYAxisLabelOptions sets the PrimaryYAxisLabelOptions field's value. +func (s *ComboChartConfiguration) SetPrimaryYAxisLabelOptions(v *ChartAxisLabelOptions) *ComboChartConfiguration { + s.PrimaryYAxisLabelOptions = v + return s +} + +// SetReferenceLines sets the ReferenceLines field's value. +func (s *ComboChartConfiguration) SetReferenceLines(v []*ReferenceLine) *ComboChartConfiguration { + s.ReferenceLines = v + return s +} + +// SetSecondaryYAxisDisplayOptions sets the SecondaryYAxisDisplayOptions field's value. +func (s *ComboChartConfiguration) SetSecondaryYAxisDisplayOptions(v *AxisDisplayOptions) *ComboChartConfiguration { + s.SecondaryYAxisDisplayOptions = v + return s +} + +// SetSecondaryYAxisLabelOptions sets the SecondaryYAxisLabelOptions field's value. +func (s *ComboChartConfiguration) SetSecondaryYAxisLabelOptions(v *ChartAxisLabelOptions) *ComboChartConfiguration { + s.SecondaryYAxisLabelOptions = v + return s +} + +// SetSortConfiguration sets the SortConfiguration field's value. +func (s *ComboChartConfiguration) SetSortConfiguration(v *ComboChartSortConfiguration) *ComboChartConfiguration { + s.SortConfiguration = v + return s +} + +// SetTooltip sets the Tooltip field's value. +func (s *ComboChartConfiguration) SetTooltip(v *TooltipOptions) *ComboChartConfiguration { + s.Tooltip = v + return s +} + +// SetVisualPalette sets the VisualPalette field's value. +func (s *ComboChartConfiguration) SetVisualPalette(v *VisualPalette) *ComboChartConfiguration { + s.VisualPalette = v + return s +} + +// The field wells of the visual. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type ComboChartFieldWells struct { + _ struct{} `type:"structure"` + + // The aggregated field wells of a combo chart. Combo charts only have aggregated + // field wells. Columns in a combo chart are aggregated by category. + ComboChartAggregatedFieldWells *ComboChartAggregatedFieldWells `type:"structure"` } // String returns the string representation. @@ -19672,7 +20386,7 @@ type CredentialPair struct { // 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 CredentialPair) String() string { +func (s ComboChartFieldWells) String() string { return awsutil.Prettify(s) } @@ -19681,36 +20395,16 @@ func (s CredentialPair) String() string { // 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 CredentialPair) GoString() string { +func (s ComboChartFieldWells) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CredentialPair) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CredentialPair"} - if s.AlternateDataSourceParameters != nil && len(s.AlternateDataSourceParameters) < 1 { - invalidParams.Add(request.NewErrParamMinLen("AlternateDataSourceParameters", 1)) - } - if s.Password == nil { - invalidParams.Add(request.NewErrParamRequired("Password")) - } - if s.Password != nil && len(*s.Password) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Password", 1)) - } - if s.Username == nil { - invalidParams.Add(request.NewErrParamRequired("Username")) - } - if s.Username != nil && len(*s.Username) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Username", 1)) - } - if s.AlternateDataSourceParameters != nil { - for i, v := range s.AlternateDataSourceParameters { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "AlternateDataSourceParameters", i), err.(request.ErrInvalidParams)) - } +func (s *ComboChartFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ComboChartFieldWells"} + if s.ComboChartAggregatedFieldWells != nil { + if err := s.ComboChartAggregatedFieldWells.Validate(); err != nil { + invalidParams.AddNested("ComboChartAggregatedFieldWells", err.(request.ErrInvalidParams)) } } @@ -19720,45 +20414,27 @@ func (s *CredentialPair) Validate() error { return nil } -// SetAlternateDataSourceParameters sets the AlternateDataSourceParameters field's value. -func (s *CredentialPair) SetAlternateDataSourceParameters(v []*DataSourceParameters) *CredentialPair { - s.AlternateDataSourceParameters = v - return s -} - -// SetPassword sets the Password field's value. -func (s *CredentialPair) SetPassword(v string) *CredentialPair { - s.Password = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *CredentialPair) SetUsername(v string) *CredentialPair { - s.Username = &v +// SetComboChartAggregatedFieldWells sets the ComboChartAggregatedFieldWells field's value. +func (s *ComboChartFieldWells) SetComboChartAggregatedFieldWells(v *ComboChartAggregatedFieldWells) *ComboChartFieldWells { + s.ComboChartAggregatedFieldWells = v return s } -// A physical table type built from the results of the custom SQL query. -type CustomSql struct { +// The sort configuration of a ComboChartVisual. +type ComboChartSortConfiguration struct { _ struct{} `type:"structure"` - // The column schema from the SQL query result set. - Columns []*InputColumn `min:"1" type:"list"` + // The item limit configuration for the category field well of a combo chart. + CategoryItemsLimit *ItemsLimitConfiguration `type:"structure"` - // The Amazon Resource Name (ARN) of the data source. - // - // DataSourceArn is a required field - DataSourceArn *string `type:"string" required:"true"` + // The sort configuration of the category field well in a combo chart. + CategorySort []*FieldSortOptions `type:"list"` - // A display name for the SQL query result. - // - // Name is a required field - Name *string `min:"1" type:"string" required:"true"` + // The item limit configuration of the color field well in a combo chart. + ColorItemsLimit *ItemsLimitConfiguration `type:"structure"` - // The SQL query. - // - // SqlQuery is a required field - SqlQuery *string `min:"1" type:"string" required:"true"` + // The sort configuration of the color field well in a combo chart. + ColorSort []*FieldSortOptions `type:"list"` } // String returns the string representation. @@ -19766,7 +20442,7 @@ type CustomSql struct { // 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 CustomSql) String() string { +func (s ComboChartSortConfiguration) String() string { return awsutil.Prettify(s) } @@ -19775,38 +20451,30 @@ func (s CustomSql) String() string { // 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 CustomSql) GoString() string { +func (s ComboChartSortConfiguration) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CustomSql) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CustomSql"} - if s.Columns != nil && len(s.Columns) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Columns", 1)) - } - if s.DataSourceArn == nil { - invalidParams.Add(request.NewErrParamRequired("DataSourceArn")) - } - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) - } - if s.Name != nil && len(*s.Name) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Name", 1)) - } - if s.SqlQuery == nil { - invalidParams.Add(request.NewErrParamRequired("SqlQuery")) - } - if s.SqlQuery != nil && len(*s.SqlQuery) < 1 { - invalidParams.Add(request.NewErrParamMinLen("SqlQuery", 1)) +func (s *ComboChartSortConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ComboChartSortConfiguration"} + if s.CategorySort != nil { + for i, v := range s.CategorySort { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CategorySort", i), err.(request.ErrInvalidParams)) + } + } } - if s.Columns != nil { - for i, v := range s.Columns { + if s.ColorSort != nil { + for i, v := range s.ColorSort { if v == nil { continue } if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Columns", i), err.(request.ErrInvalidParams)) + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColorSort", i), err.(request.ErrInvalidParams)) } } } @@ -19817,54 +20485,61 @@ func (s *CustomSql) Validate() error { return nil } -// SetColumns sets the Columns field's value. -func (s *CustomSql) SetColumns(v []*InputColumn) *CustomSql { - s.Columns = v +// SetCategoryItemsLimit sets the CategoryItemsLimit field's value. +func (s *ComboChartSortConfiguration) SetCategoryItemsLimit(v *ItemsLimitConfiguration) *ComboChartSortConfiguration { + s.CategoryItemsLimit = v return s } -// SetDataSourceArn sets the DataSourceArn field's value. -func (s *CustomSql) SetDataSourceArn(v string) *CustomSql { - s.DataSourceArn = &v +// SetCategorySort sets the CategorySort field's value. +func (s *ComboChartSortConfiguration) SetCategorySort(v []*FieldSortOptions) *ComboChartSortConfiguration { + s.CategorySort = v return s } -// SetName sets the Name field's value. -func (s *CustomSql) SetName(v string) *CustomSql { - s.Name = &v +// SetColorItemsLimit sets the ColorItemsLimit field's value. +func (s *ComboChartSortConfiguration) SetColorItemsLimit(v *ItemsLimitConfiguration) *ComboChartSortConfiguration { + s.ColorItemsLimit = v return s } -// SetSqlQuery sets the SqlQuery field's value. -func (s *CustomSql) SetSqlQuery(v string) *CustomSql { - s.SqlQuery = &v +// SetColorSort sets the ColorSort field's value. +func (s *ComboChartSortConfiguration) SetColorSort(v []*FieldSortOptions) *ComboChartSortConfiguration { + s.ColorSort = v return s } -// Dashboard. -type Dashboard struct { +// A combo chart. +// +// The ComboChartVisual includes stacked bar combo charts and clustered bar +// combo charts +// +// For more information, see Using combo charts (https://docs.aws.amazon.com/quicksight/latest/user/combo-charts.html) +// in the Amazon QuickSight User Guide. +type ComboChartVisual struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the resource. - Arn *string `type:"string"` - - // The time that this dataset was created. - CreatedTime *time.Time `type:"timestamp"` + // The list of custom actions that are configured for a visual. + Actions []*VisualCustomAction `type:"list"` - // Dashboard ID. - DashboardId *string `min:"1" type:"string"` + // The configuration settings of the visual. + ChartConfiguration *ComboChartConfiguration `type:"structure"` - // The last time that this dataset was published. - LastPublishedTime *time.Time `type:"timestamp"` + // The column hierarchy that is used during drill-downs and drill-ups. + ColumnHierarchies []*ColumnHierarchy `type:"list"` - // The last time that this dataset was updated. - LastUpdatedTime *time.Time `type:"timestamp"` + // The subtitle that is displayed on the visual. + Subtitle *VisualSubtitleLabelOptions `type:"structure"` - // A display name for the dashboard. - Name *string `min:"1" type:"string"` + // The title that is displayed on the visual. + Title *VisualTitleLabelOptions `type:"structure"` - // Version. - Version *DashboardVersion `type:"structure"` + // The unique identifier of a visual. This identifier must be unique within + // the context of a dashboard, template, or analysis. Two dashboards, analyses, + // or templates can have visuals with the same identifiers. + // + // VisualId is a required field + VisualId *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -19872,7 +20547,7 @@ type Dashboard struct { // 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 Dashboard) String() string { +func (s ComboChartVisual) String() string { return awsutil.Prettify(s) } @@ -19881,61 +20556,112 @@ func (s Dashboard) String() string { // 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 Dashboard) GoString() string { +func (s ComboChartVisual) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Dashboard) SetArn(v string) *Dashboard { - s.Arn = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *ComboChartVisual) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ComboChartVisual"} + if s.VisualId == nil { + invalidParams.Add(request.NewErrParamRequired("VisualId")) + } + if s.VisualId != nil && len(*s.VisualId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("VisualId", 1)) + } + if s.Actions != nil { + for i, v := range s.Actions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Actions", i), err.(request.ErrInvalidParams)) + } + } + } + if s.ChartConfiguration != nil { + if err := s.ChartConfiguration.Validate(); err != nil { + invalidParams.AddNested("ChartConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.ColumnHierarchies != nil { + for i, v := range s.ColumnHierarchies { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnHierarchies", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Subtitle != nil { + if err := s.Subtitle.Validate(); err != nil { + invalidParams.AddNested("Subtitle", err.(request.ErrInvalidParams)) + } + } + if s.Title != nil { + if err := s.Title.Validate(); err != nil { + invalidParams.AddNested("Title", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetCreatedTime sets the CreatedTime field's value. -func (s *Dashboard) SetCreatedTime(v time.Time) *Dashboard { - s.CreatedTime = &v +// SetActions sets the Actions field's value. +func (s *ComboChartVisual) SetActions(v []*VisualCustomAction) *ComboChartVisual { + s.Actions = v return s } -// SetDashboardId sets the DashboardId field's value. -func (s *Dashboard) SetDashboardId(v string) *Dashboard { - s.DashboardId = &v +// SetChartConfiguration sets the ChartConfiguration field's value. +func (s *ComboChartVisual) SetChartConfiguration(v *ComboChartConfiguration) *ComboChartVisual { + s.ChartConfiguration = v return s } -// SetLastPublishedTime sets the LastPublishedTime field's value. -func (s *Dashboard) SetLastPublishedTime(v time.Time) *Dashboard { - s.LastPublishedTime = &v +// SetColumnHierarchies sets the ColumnHierarchies field's value. +func (s *ComboChartVisual) SetColumnHierarchies(v []*ColumnHierarchy) *ComboChartVisual { + s.ColumnHierarchies = v return s } -// SetLastUpdatedTime sets the LastUpdatedTime field's value. -func (s *Dashboard) SetLastUpdatedTime(v time.Time) *Dashboard { - s.LastUpdatedTime = &v +// SetSubtitle sets the Subtitle field's value. +func (s *ComboChartVisual) SetSubtitle(v *VisualSubtitleLabelOptions) *ComboChartVisual { + s.Subtitle = v return s } -// SetName sets the Name field's value. -func (s *Dashboard) SetName(v string) *Dashboard { - s.Name = &v +// SetTitle sets the Title field's value. +func (s *ComboChartVisual) SetTitle(v *VisualTitleLabelOptions) *ComboChartVisual { + s.Title = v return s } -// SetVersion sets the Version field's value. -func (s *Dashboard) SetVersion(v *DashboardVersion) *Dashboard { - s.Version = v +// SetVisualId sets the VisualId field's value. +func (s *ComboChartVisual) SetVisualId(v string) *ComboChartVisual { + s.VisualId = &v return s } -// Dashboard error. -type DashboardError struct { +// The comparison display configuration of a KPI or gauge chart. +type ComparisonConfiguration struct { _ struct{} `type:"structure"` - // Message. - Message *string `type:"string"` + // The format of the comparison. + ComparisonFormat *ComparisonFormatConfiguration `type:"structure"` - // Type. - Type *string `type:"string" enum:"DashboardErrorType"` + // The method of the comparison. Choose from the following options: + // + // * DIFFERENCE + // + // * PERCENT_DIFFERENCE + // + // * PERCENT + ComparisonMethod *string `type:"string" enum:"ComparisonMethod"` } // String returns the string representation. @@ -19943,7 +20669,7 @@ type DashboardError struct { // 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 DashboardError) String() string { +func (s ComparisonConfiguration) String() string { return awsutil.Prettify(s) } @@ -19952,34 +20678,49 @@ func (s DashboardError) String() string { // 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 DashboardError) GoString() string { +func (s ComparisonConfiguration) GoString() string { return s.String() } -// SetMessage sets the Message field's value. -func (s *DashboardError) SetMessage(v string) *DashboardError { - s.Message = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *ComparisonConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ComparisonConfiguration"} + if s.ComparisonFormat != nil { + if err := s.ComparisonFormat.Validate(); err != nil { + invalidParams.AddNested("ComparisonFormat", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetComparisonFormat sets the ComparisonFormat field's value. +func (s *ComparisonConfiguration) SetComparisonFormat(v *ComparisonFormatConfiguration) *ComparisonConfiguration { + s.ComparisonFormat = v return s } -// SetType sets the Type field's value. -func (s *DashboardError) SetType(v string) *DashboardError { - s.Type = &v +// SetComparisonMethod sets the ComparisonMethod field's value. +func (s *ComparisonConfiguration) SetComparisonMethod(v string) *ComparisonConfiguration { + s.ComparisonMethod = &v return s } -// Dashboard publish options. -type DashboardPublishOptions struct { +// The format of the comparison. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type ComparisonFormatConfiguration struct { _ struct{} `type:"structure"` - // Ad hoc (one-time) filtering option. - AdHocFilteringOption *AdHocFilteringOption `type:"structure"` - - // Export to .csv option. - ExportToCSVOption *ExportToCSVOption `type:"structure"` + // The number display format. + NumberDisplayFormatConfiguration *NumberDisplayFormatConfiguration `type:"structure"` - // Sheet controls option. - SheetControlsOption *SheetControlsOption `type:"structure"` + // The percentage display format. + PercentageDisplayFormatConfiguration *PercentageDisplayFormatConfiguration `type:"structure"` } // String returns the string representation. @@ -19987,7 +20728,7 @@ type DashboardPublishOptions struct { // 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 DashboardPublishOptions) String() string { +func (s ComparisonFormatConfiguration) String() string { return awsutil.Prettify(s) } @@ -19996,81 +20737,78 @@ func (s DashboardPublishOptions) String() string { // 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 DashboardPublishOptions) GoString() string { +func (s ComparisonFormatConfiguration) GoString() string { return s.String() } -// SetAdHocFilteringOption sets the AdHocFilteringOption field's value. -func (s *DashboardPublishOptions) SetAdHocFilteringOption(v *AdHocFilteringOption) *DashboardPublishOptions { - s.AdHocFilteringOption = v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *ComparisonFormatConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ComparisonFormatConfiguration"} + if s.NumberDisplayFormatConfiguration != nil { + if err := s.NumberDisplayFormatConfiguration.Validate(); err != nil { + invalidParams.AddNested("NumberDisplayFormatConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.PercentageDisplayFormatConfiguration != nil { + if err := s.PercentageDisplayFormatConfiguration.Validate(); err != nil { + invalidParams.AddNested("PercentageDisplayFormatConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetExportToCSVOption sets the ExportToCSVOption field's value. -func (s *DashboardPublishOptions) SetExportToCSVOption(v *ExportToCSVOption) *DashboardPublishOptions { - s.ExportToCSVOption = v +// SetNumberDisplayFormatConfiguration sets the NumberDisplayFormatConfiguration field's value. +func (s *ComparisonFormatConfiguration) SetNumberDisplayFormatConfiguration(v *NumberDisplayFormatConfiguration) *ComparisonFormatConfiguration { + s.NumberDisplayFormatConfiguration = v return s } -// SetSheetControlsOption sets the SheetControlsOption field's value. -func (s *DashboardPublishOptions) SetSheetControlsOption(v *SheetControlsOption) *DashboardPublishOptions { - s.SheetControlsOption = v +// SetPercentageDisplayFormatConfiguration sets the PercentageDisplayFormatConfiguration field's value. +func (s *ComparisonFormatConfiguration) SetPercentageDisplayFormatConfiguration(v *PercentageDisplayFormatConfiguration) *ComparisonFormatConfiguration { + s.PercentageDisplayFormatConfiguration = v return s } -// A filter that you apply when searching for dashboards. -type DashboardSearchFilter struct { +// The computation union that is used in an insight visual. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type Computation struct { _ struct{} `type:"structure"` - // The name of the value that you want to use as a filter, for example, "Name": - // "QUICKSIGHT_OWNER". - // - // Valid values are defined as follows: - // - // * QUICKSIGHT_VIEWER_OR_OWNER: Provide an ARN of a user or group, and any - // dashboards with that ARN listed as one of the dashboards's owners or viewers - // are returned. Implicit permissions from folders or groups are considered. - // - // * QUICKSIGHT_OWNER: Provide an ARN of a user or group, and any dashboards - // with that ARN listed as one of the owners of the dashboards are returned. - // Implicit permissions from folders or groups are considered. - // - // * DIRECT_QUICKSIGHT_SOLE_OWNER: Provide an ARN of a user or group, and - // any dashboards with that ARN listed as the only owner of the dashboard - // are returned. Implicit permissions from folders or groups are not considered. - // - // * DIRECT_QUICKSIGHT_OWNER: Provide an ARN of a user or group, and any - // dashboards with that ARN listed as one of the owners of the dashboards - // are returned. Implicit permissions from folders or groups are not considered. - // - // * DIRECT_QUICKSIGHT_VIEWER_OR_OWNER: Provide an ARN of a user or group, - // and any dashboards with that ARN listed as one of the owners or viewers - // of the dashboards are returned. Implicit permissions from folders or groups - // are not considered. - // - // * DASHBOARD_NAME: Any dashboards whose names have a substring match to - // this value will be returned. - Name *string `type:"string" enum:"DashboardFilterAttribute"` + // The forecast computation configuration. + Forecast *ForecastComputation `type:"structure"` - // The comparison operator that you want to use as a filter, for example "Operator": - // "StringEquals". Valid values are "StringEquals" and "StringLike". - // - // If you set the operator value to "StringEquals", you need to provide an ownership - // related filter in the "NAME" field and the arn of the user or group whose - // folders you want to search in the "Value" field. For example, "Name":"DIRECT_QUICKSIGHT_OWNER", - // "Operator": "StringEquals", "Value": "arn:aws:quicksight:us-east-1:1:user/default/UserName1". - // - // If you set the value to "StringLike", you need to provide the name of the - // folders you are searching for. For example, "Name":"DASHBOARD_NAME", "Operator": - // "StringLike", "Value": "Test". The "StringLike" operator only supports the - // NAME value DASHBOARD_NAME. - // - // Operator is a required field - Operator *string `type:"string" required:"true" enum:"FilterOperator"` + // The growth rate computation configuration. + GrowthRate *GrowthRateComputation `type:"structure"` - // The value of the named item, in this case QUICKSIGHT_USER, that you want - // to use as a filter, for example, "Value": "arn:aws:quicksight:us-east-1:1:user/default/UserName1". - Value *string `type:"string"` + // The maximum and minimum computation configuration. + MaximumMinimum *MaximumMinimumComputation `type:"structure"` + + // The metric comparison computation configuration. + MetricComparison *MetricComparisonComputation `type:"structure"` + + // The period over period computation configuration. + PeriodOverPeriod *PeriodOverPeriodComputation `type:"structure"` + + // The period to DataSetIdentifier computation configuration. + PeriodToDate *PeriodToDateComputation `type:"structure"` + + // The top movers and bottom movers computation configuration. + TopBottomMovers *TopBottomMoversComputation `type:"structure"` + + // The top ranked and bottom ranked computation configuration. + TopBottomRanked *TopBottomRankedComputation `type:"structure"` + + // The total aggregation computation configuration. + TotalAggregation *TotalAggregationComputation `type:"structure"` + + // The unique values computation configuration. + UniqueValues *UniqueValuesComputation `type:"structure"` } // String returns the string representation. @@ -20078,7 +20816,7 @@ type DashboardSearchFilter struct { // 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 DashboardSearchFilter) String() string { +func (s Computation) String() string { return awsutil.Prettify(s) } @@ -20087,15 +20825,62 @@ func (s DashboardSearchFilter) String() string { // 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 DashboardSearchFilter) GoString() string { +func (s Computation) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DashboardSearchFilter) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DashboardSearchFilter"} - if s.Operator == nil { - invalidParams.Add(request.NewErrParamRequired("Operator")) +func (s *Computation) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Computation"} + if s.Forecast != nil { + if err := s.Forecast.Validate(); err != nil { + invalidParams.AddNested("Forecast", err.(request.ErrInvalidParams)) + } + } + if s.GrowthRate != nil { + if err := s.GrowthRate.Validate(); err != nil { + invalidParams.AddNested("GrowthRate", err.(request.ErrInvalidParams)) + } + } + if s.MaximumMinimum != nil { + if err := s.MaximumMinimum.Validate(); err != nil { + invalidParams.AddNested("MaximumMinimum", err.(request.ErrInvalidParams)) + } + } + if s.MetricComparison != nil { + if err := s.MetricComparison.Validate(); err != nil { + invalidParams.AddNested("MetricComparison", err.(request.ErrInvalidParams)) + } + } + if s.PeriodOverPeriod != nil { + if err := s.PeriodOverPeriod.Validate(); err != nil { + invalidParams.AddNested("PeriodOverPeriod", err.(request.ErrInvalidParams)) + } + } + if s.PeriodToDate != nil { + if err := s.PeriodToDate.Validate(); err != nil { + invalidParams.AddNested("PeriodToDate", err.(request.ErrInvalidParams)) + } + } + if s.TopBottomMovers != nil { + if err := s.TopBottomMovers.Validate(); err != nil { + invalidParams.AddNested("TopBottomMovers", err.(request.ErrInvalidParams)) + } + } + if s.TopBottomRanked != nil { + if err := s.TopBottomRanked.Validate(); err != nil { + invalidParams.AddNested("TopBottomRanked", err.(request.ErrInvalidParams)) + } + } + if s.TotalAggregation != nil { + if err := s.TotalAggregation.Validate(); err != nil { + invalidParams.AddNested("TotalAggregation", err.(request.ErrInvalidParams)) + } + } + if s.UniqueValues != nil { + if err := s.UniqueValues.Validate(); err != nil { + invalidParams.AddNested("UniqueValues", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -20104,30 +20889,75 @@ func (s *DashboardSearchFilter) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DashboardSearchFilter) SetName(v string) *DashboardSearchFilter { - s.Name = &v +// SetForecast sets the Forecast field's value. +func (s *Computation) SetForecast(v *ForecastComputation) *Computation { + s.Forecast = v return s } -// SetOperator sets the Operator field's value. -func (s *DashboardSearchFilter) SetOperator(v string) *DashboardSearchFilter { - s.Operator = &v +// SetGrowthRate sets the GrowthRate field's value. +func (s *Computation) SetGrowthRate(v *GrowthRateComputation) *Computation { + s.GrowthRate = v return s } -// SetValue sets the Value field's value. -func (s *DashboardSearchFilter) SetValue(v string) *DashboardSearchFilter { - s.Value = &v +// SetMaximumMinimum sets the MaximumMinimum field's value. +func (s *Computation) SetMaximumMinimum(v *MaximumMinimumComputation) *Computation { + s.MaximumMinimum = v return s } -// Dashboard source entity. -type DashboardSourceEntity struct { - _ struct{} `type:"structure"` +// SetMetricComparison sets the MetricComparison field's value. +func (s *Computation) SetMetricComparison(v *MetricComparisonComputation) *Computation { + s.MetricComparison = v + return s +} - // Source template. - SourceTemplate *DashboardSourceTemplate `type:"structure"` +// SetPeriodOverPeriod sets the PeriodOverPeriod field's value. +func (s *Computation) SetPeriodOverPeriod(v *PeriodOverPeriodComputation) *Computation { + s.PeriodOverPeriod = v + return s +} + +// SetPeriodToDate sets the PeriodToDate field's value. +func (s *Computation) SetPeriodToDate(v *PeriodToDateComputation) *Computation { + s.PeriodToDate = v + return s +} + +// SetTopBottomMovers sets the TopBottomMovers field's value. +func (s *Computation) SetTopBottomMovers(v *TopBottomMoversComputation) *Computation { + s.TopBottomMovers = v + return s +} + +// SetTopBottomRanked sets the TopBottomRanked field's value. +func (s *Computation) SetTopBottomRanked(v *TopBottomRankedComputation) *Computation { + s.TopBottomRanked = v + return s +} + +// SetTotalAggregation sets the TotalAggregation field's value. +func (s *Computation) SetTotalAggregation(v *TotalAggregationComputation) *Computation { + s.TotalAggregation = v + return s +} + +// SetUniqueValues sets the UniqueValues field's value. +func (s *Computation) SetUniqueValues(v *UniqueValuesComputation) *Computation { + s.UniqueValues = v + return s +} + +// A resource is already in a state that indicates an operation is happening +// that must complete before a new update can be applied. +type ConcurrentUpdatingException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"Message" type:"string"` + + RequestId *string `type:"string"` } // String returns the string representation. @@ -20135,7 +20965,7 @@ type DashboardSourceEntity struct { // 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 DashboardSourceEntity) String() string { +func (s ConcurrentUpdatingException) String() string { return awsutil.Prettify(s) } @@ -20144,44 +20974,57 @@ func (s DashboardSourceEntity) String() string { // 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 DashboardSourceEntity) GoString() string { +func (s ConcurrentUpdatingException) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DashboardSourceEntity) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DashboardSourceEntity"} - if s.SourceTemplate != nil { - if err := s.SourceTemplate.Validate(); err != nil { - invalidParams.AddNested("SourceTemplate", err.(request.ErrInvalidParams)) - } +func newErrorConcurrentUpdatingException(v protocol.ResponseMetadata) error { + return &ConcurrentUpdatingException{ + RespMetadata: v, } +} - if invalidParams.Len() > 0 { - return invalidParams +// Code returns the exception type name. +func (s *ConcurrentUpdatingException) Code() string { + return "ConcurrentUpdatingException" +} + +// Message returns the exception's message. +func (s *ConcurrentUpdatingException) Message() string { + if s.Message_ != nil { + return *s.Message_ } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ConcurrentUpdatingException) OrigErr() error { return nil } -// SetSourceTemplate sets the SourceTemplate field's value. -func (s *DashboardSourceEntity) SetSourceTemplate(v *DashboardSourceTemplate) *DashboardSourceEntity { - s.SourceTemplate = v - return s +func (s *ConcurrentUpdatingException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) } -// Dashboard source template. -type DashboardSourceTemplate struct { +// Status code returns the HTTP status code for the request's response error. +func (s *ConcurrentUpdatingException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ConcurrentUpdatingException) RequestID() string { + return s.RespMetadata.RequestID +} + +// The formatting configuration for the color. +type ConditionalFormattingColor struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the resource. - // - // Arn is a required field - Arn *string `type:"string" required:"true"` + // Formatting configuration for gradient color. + Gradient *ConditionalFormattingGradientColor `type:"structure"` - // Dataset references. - // - // DataSetReferences is a required field - DataSetReferences []*DataSetReference `min:"1" type:"list" required:"true"` + // Formatting configuration for solid color. + Solid *ConditionalFormattingSolidColor `type:"structure"` } // String returns the string representation. @@ -20189,7 +21032,7 @@ type DashboardSourceTemplate struct { // 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 DashboardSourceTemplate) String() string { +func (s ConditionalFormattingColor) String() string { return awsutil.Prettify(s) } @@ -20198,30 +21041,21 @@ func (s DashboardSourceTemplate) String() string { // 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 DashboardSourceTemplate) GoString() string { +func (s ConditionalFormattingColor) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DashboardSourceTemplate) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DashboardSourceTemplate"} - if s.Arn == nil { - invalidParams.Add(request.NewErrParamRequired("Arn")) - } - if s.DataSetReferences == nil { - invalidParams.Add(request.NewErrParamRequired("DataSetReferences")) - } - if s.DataSetReferences != nil && len(s.DataSetReferences) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DataSetReferences", 1)) +func (s *ConditionalFormattingColor) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ConditionalFormattingColor"} + if s.Gradient != nil { + if err := s.Gradient.Validate(); err != nil { + invalidParams.AddNested("Gradient", err.(request.ErrInvalidParams)) + } } - if s.DataSetReferences != nil { - for i, v := range s.DataSetReferences { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DataSetReferences", i), err.(request.ErrInvalidParams)) - } + if s.Solid != nil { + if err := s.Solid.Validate(); err != nil { + invalidParams.AddNested("Solid", err.(request.ErrInvalidParams)) } } @@ -20231,42 +21065,41 @@ func (s *DashboardSourceTemplate) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *DashboardSourceTemplate) SetArn(v string) *DashboardSourceTemplate { - s.Arn = &v +// SetGradient sets the Gradient field's value. +func (s *ConditionalFormattingColor) SetGradient(v *ConditionalFormattingGradientColor) *ConditionalFormattingColor { + s.Gradient = v return s } -// SetDataSetReferences sets the DataSetReferences field's value. -func (s *DashboardSourceTemplate) SetDataSetReferences(v []*DataSetReference) *DashboardSourceTemplate { - s.DataSetReferences = v +// SetSolid sets the Solid field's value. +func (s *ConditionalFormattingColor) SetSolid(v *ConditionalFormattingSolidColor) *ConditionalFormattingColor { + s.Solid = v return s } -// Dashboard summary. -type DashboardSummary struct { +// Determines the custom condition for an icon set. +type ConditionalFormattingCustomIconCondition struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the resource. - Arn *string `type:"string"` - - // The time that this dashboard was created. - CreatedTime *time.Time `type:"timestamp"` - - // Dashboard ID. - DashboardId *string `min:"1" type:"string"` - - // The last time that this dashboard was published. - LastPublishedTime *time.Time `type:"timestamp"` + // Determines the color of the icon. + Color *string `type:"string"` - // The last time that this dashboard was updated. - LastUpdatedTime *time.Time `type:"timestamp"` + // Determines the icon display configuration. + DisplayConfiguration *ConditionalFormattingIconDisplayConfiguration `type:"structure"` - // A display name for the dashboard. - Name *string `min:"1" type:"string"` + // The expression that determines the condition of the icon set. + // + // Expression is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by ConditionalFormattingCustomIconCondition's + // String and GoString methods. + // + // Expression is a required field + Expression *string `min:"1" type:"string" required:"true" sensitive:"true"` - // Published version number. - PublishedVersionNumber *int64 `min:"1" type:"long"` + // Custom icon options for an icon set. + // + // IconOptions is a required field + IconOptions *ConditionalFormattingCustomIconOptions `type:"structure" required:"true"` } // String returns the string representation. @@ -20274,7 +21107,7 @@ type DashboardSummary struct { // 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 DashboardSummary) String() string { +func (s ConditionalFormattingCustomIconCondition) String() string { return awsutil.Prettify(s) } @@ -20283,87 +21116,62 @@ func (s DashboardSummary) String() string { // 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 DashboardSummary) GoString() string { +func (s ConditionalFormattingCustomIconCondition) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *DashboardSummary) SetArn(v string) *DashboardSummary { - s.Arn = &v - return s -} - -// SetCreatedTime sets the CreatedTime field's value. -func (s *DashboardSummary) SetCreatedTime(v time.Time) *DashboardSummary { - s.CreatedTime = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *ConditionalFormattingCustomIconCondition) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ConditionalFormattingCustomIconCondition"} + if s.Expression == nil { + invalidParams.Add(request.NewErrParamRequired("Expression")) + } + if s.Expression != nil && len(*s.Expression) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Expression", 1)) + } + if s.IconOptions == nil { + invalidParams.Add(request.NewErrParamRequired("IconOptions")) + } -// SetDashboardId sets the DashboardId field's value. -func (s *DashboardSummary) SetDashboardId(v string) *DashboardSummary { - s.DashboardId = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetLastPublishedTime sets the LastPublishedTime field's value. -func (s *DashboardSummary) SetLastPublishedTime(v time.Time) *DashboardSummary { - s.LastPublishedTime = &v +// SetColor sets the Color field's value. +func (s *ConditionalFormattingCustomIconCondition) SetColor(v string) *ConditionalFormattingCustomIconCondition { + s.Color = &v return s } -// SetLastUpdatedTime sets the LastUpdatedTime field's value. -func (s *DashboardSummary) SetLastUpdatedTime(v time.Time) *DashboardSummary { - s.LastUpdatedTime = &v +// SetDisplayConfiguration sets the DisplayConfiguration field's value. +func (s *ConditionalFormattingCustomIconCondition) SetDisplayConfiguration(v *ConditionalFormattingIconDisplayConfiguration) *ConditionalFormattingCustomIconCondition { + s.DisplayConfiguration = v return s } -// SetName sets the Name field's value. -func (s *DashboardSummary) SetName(v string) *DashboardSummary { - s.Name = &v +// SetExpression sets the Expression field's value. +func (s *ConditionalFormattingCustomIconCondition) SetExpression(v string) *ConditionalFormattingCustomIconCondition { + s.Expression = &v return s } -// SetPublishedVersionNumber sets the PublishedVersionNumber field's value. -func (s *DashboardSummary) SetPublishedVersionNumber(v int64) *DashboardSummary { - s.PublishedVersionNumber = &v +// SetIconOptions sets the IconOptions field's value. +func (s *ConditionalFormattingCustomIconCondition) SetIconOptions(v *ConditionalFormattingCustomIconOptions) *ConditionalFormattingCustomIconCondition { + s.IconOptions = v return s } -// Dashboard version. -type DashboardVersion struct { +// Custom icon options for an icon set. +type ConditionalFormattingCustomIconOptions struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the resource. - Arn *string `type:"string"` - - // The time that this dashboard version was created. - CreatedTime *time.Time `type:"timestamp"` - - // The Amazon Resource Numbers (ARNs) for the datasets that are associated with - // this version of the dashboard. - DataSetArns []*string `type:"list"` - - // Description. - Description *string `min:"1" type:"string"` - - // Errors associated with this dashboard version. - Errors []*DashboardError `min:"1" type:"list"` - - // A list of the associated sheets with the unique identifier and name of each - // sheet. - Sheets []*Sheet `type:"list"` - - // Source entity ARN. - SourceEntityArn *string `type:"string"` - - // The HTTP status of the request. - Status *string `type:"string" enum:"ResourceStatus"` - - // The ARN of the theme associated with a version of the dashboard. - ThemeArn *string `type:"string"` + // Determines the type of icon. + Icon *string `type:"string" enum:"Icon"` - // Version number for this version of the dashboard. - VersionNumber *int64 `min:"1" type:"long"` + // Determines the Unicode icon type. + UnicodeIcon *string `type:"string"` } // String returns the string representation. @@ -20371,7 +21179,7 @@ type DashboardVersion struct { // 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 DashboardVersion) String() string { +func (s ConditionalFormattingCustomIconOptions) String() string { return awsutil.Prettify(s) } @@ -20380,91 +21188,105 @@ func (s DashboardVersion) String() string { // 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 DashboardVersion) GoString() string { +func (s ConditionalFormattingCustomIconOptions) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *DashboardVersion) SetArn(v string) *DashboardVersion { - s.Arn = &v +// SetIcon sets the Icon field's value. +func (s *ConditionalFormattingCustomIconOptions) SetIcon(v string) *ConditionalFormattingCustomIconOptions { + s.Icon = &v return s } -// SetCreatedTime sets the CreatedTime field's value. -func (s *DashboardVersion) SetCreatedTime(v time.Time) *DashboardVersion { - s.CreatedTime = &v +// SetUnicodeIcon sets the UnicodeIcon field's value. +func (s *ConditionalFormattingCustomIconOptions) SetUnicodeIcon(v string) *ConditionalFormattingCustomIconOptions { + s.UnicodeIcon = &v return s } -// SetDataSetArns sets the DataSetArns field's value. -func (s *DashboardVersion) SetDataSetArns(v []*string) *DashboardVersion { - s.DataSetArns = v - return s -} +// Formatting configuration for gradient color. +type ConditionalFormattingGradientColor struct { + _ struct{} `type:"structure"` -// SetDescription sets the Description field's value. -func (s *DashboardVersion) SetDescription(v string) *DashboardVersion { - s.Description = &v - return s -} + // Determines the color. + // + // Color is a required field + Color *GradientColor `type:"structure" required:"true"` -// SetErrors sets the Errors field's value. -func (s *DashboardVersion) SetErrors(v []*DashboardError) *DashboardVersion { - s.Errors = v - return s + // The expression that determines the formatting configuration for gradient + // color. + // + // Expression is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by ConditionalFormattingGradientColor's + // String and GoString methods. + // + // Expression is a required field + Expression *string `min:"1" type:"string" required:"true" sensitive:"true"` } -// SetSheets sets the Sheets field's value. -func (s *DashboardVersion) SetSheets(v []*Sheet) *DashboardVersion { - s.Sheets = v - return s +// 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 ConditionalFormattingGradientColor) String() string { + return awsutil.Prettify(s) } -// SetSourceEntityArn sets the SourceEntityArn field's value. -func (s *DashboardVersion) SetSourceEntityArn(v string) *DashboardVersion { - s.SourceEntityArn = &v - return 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 ConditionalFormattingGradientColor) GoString() string { + return s.String() } -// SetStatus sets the Status field's value. -func (s *DashboardVersion) SetStatus(v string) *DashboardVersion { - s.Status = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *ConditionalFormattingGradientColor) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ConditionalFormattingGradientColor"} + if s.Color == nil { + invalidParams.Add(request.NewErrParamRequired("Color")) + } + if s.Expression == nil { + invalidParams.Add(request.NewErrParamRequired("Expression")) + } + if s.Expression != nil && len(*s.Expression) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Expression", 1)) + } + if s.Color != nil { + if err := s.Color.Validate(); err != nil { + invalidParams.AddNested("Color", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetThemeArn sets the ThemeArn field's value. -func (s *DashboardVersion) SetThemeArn(v string) *DashboardVersion { - s.ThemeArn = &v +// SetColor sets the Color field's value. +func (s *ConditionalFormattingGradientColor) SetColor(v *GradientColor) *ConditionalFormattingGradientColor { + s.Color = v return s } -// SetVersionNumber sets the VersionNumber field's value. -func (s *DashboardVersion) SetVersionNumber(v int64) *DashboardVersion { - s.VersionNumber = &v +// SetExpression sets the Expression field's value. +func (s *ConditionalFormattingGradientColor) SetExpression(v string) *ConditionalFormattingGradientColor { + s.Expression = &v return s } -// Dashboard version summary. -type DashboardVersionSummary struct { +// The formatting configuration for the icon. +type ConditionalFormattingIcon struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the resource. - Arn *string `type:"string"` - - // The time that this dashboard version was created. - CreatedTime *time.Time `type:"timestamp"` - - // Description. - Description *string `min:"1" type:"string"` - - // Source entity ARN. - SourceEntityArn *string `type:"string"` - - // The HTTP status of the request. - Status *string `type:"string" enum:"ResourceStatus"` + // Determines the custom condition for an icon set. + CustomCondition *ConditionalFormattingCustomIconCondition `type:"structure"` - // Version number. - VersionNumber *int64 `min:"1" type:"long"` + // Formatting configuration for icon set. + IconSet *ConditionalFormattingIconSet `type:"structure"` } // String returns the string representation. @@ -20472,7 +21294,7 @@ type DashboardVersionSummary struct { // 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 DashboardVersionSummary) String() string { +func (s ConditionalFormattingIcon) String() string { return awsutil.Prettify(s) } @@ -20481,83 +21303,90 @@ func (s DashboardVersionSummary) String() string { // 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 DashboardVersionSummary) GoString() string { +func (s ConditionalFormattingIcon) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *DashboardVersionSummary) SetArn(v string) *DashboardVersionSummary { - s.Arn = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *ConditionalFormattingIcon) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ConditionalFormattingIcon"} + if s.CustomCondition != nil { + if err := s.CustomCondition.Validate(); err != nil { + invalidParams.AddNested("CustomCondition", err.(request.ErrInvalidParams)) + } + } + if s.IconSet != nil { + if err := s.IconSet.Validate(); err != nil { + invalidParams.AddNested("IconSet", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetCreatedTime sets the CreatedTime field's value. -func (s *DashboardVersionSummary) SetCreatedTime(v time.Time) *DashboardVersionSummary { - s.CreatedTime = &v +// SetCustomCondition sets the CustomCondition field's value. +func (s *ConditionalFormattingIcon) SetCustomCondition(v *ConditionalFormattingCustomIconCondition) *ConditionalFormattingIcon { + s.CustomCondition = v return s } -// SetDescription sets the Description field's value. -func (s *DashboardVersionSummary) SetDescription(v string) *DashboardVersionSummary { - s.Description = &v +// SetIconSet sets the IconSet field's value. +func (s *ConditionalFormattingIcon) SetIconSet(v *ConditionalFormattingIconSet) *ConditionalFormattingIcon { + s.IconSet = v return s } -// SetSourceEntityArn sets the SourceEntityArn field's value. -func (s *DashboardVersionSummary) SetSourceEntityArn(v string) *DashboardVersionSummary { - s.SourceEntityArn = &v - return s +// Determines the icon display configuration. +type ConditionalFormattingIconDisplayConfiguration struct { + _ struct{} `type:"structure"` + + // Determines the icon display configuration. + IconDisplayOption *string `type:"string" enum:"ConditionalFormattingIconDisplayOption"` } -// SetStatus sets the Status field's value. -func (s *DashboardVersionSummary) SetStatus(v string) *DashboardVersionSummary { - s.Status = &v - return s +// 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 ConditionalFormattingIconDisplayConfiguration) String() string { + return awsutil.Prettify(s) } -// SetVersionNumber sets the VersionNumber field's value. -func (s *DashboardVersionSummary) SetVersionNumber(v int64) *DashboardVersionSummary { - s.VersionNumber = &v +// 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 ConditionalFormattingIconDisplayConfiguration) GoString() string { + return s.String() +} + +// SetIconDisplayOption sets the IconDisplayOption field's value. +func (s *ConditionalFormattingIconDisplayConfiguration) SetIconDisplayOption(v string) *ConditionalFormattingIconDisplayConfiguration { + s.IconDisplayOption = &v return s } -// A structure that contains the following elements: -// -// - The DashboardId of the dashboard that has the visual that you want to -// embed. -// -// - The SheetId of the sheet that has the visual that you want to embed. -// -// - The VisualId of the visual that you want to embed. -// -// The DashboardId, SheetId, and VisualId can be found in the IDs for developers -// section of the Embed visual pane of the visual's on-visual menu of the Amazon -// QuickSight console. You can also get the DashboardId with a ListDashboards -// API operation. -type DashboardVisualId struct { +// Formatting configuration for icon set. +type ConditionalFormattingIconSet struct { _ struct{} `type:"structure"` - // The ID of the dashboard that has the visual that you want to embed. The DashboardId - // can be found in the IDs for developers section of the Embed visual pane of - // the visual's on-visual menu of the Amazon QuickSight console. You can also - // get the DashboardId with a ListDashboards API operation. + // The expression that determines the formatting configuration for the icon + // set. // - // DashboardId is a required field - DashboardId *string `min:"1" type:"string" required:"true"` - - // The ID of the sheet that the has visual that you want to embed. The SheetId - // can be found in the IDs for developers section of the Embed visual pane of - // the visual's on-visual menu of the Amazon QuickSight console. + // Expression is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by ConditionalFormattingIconSet's + // String and GoString methods. // - // SheetId is a required field - SheetId *string `min:"1" type:"string" required:"true"` + // Expression is a required field + Expression *string `min:"1" type:"string" required:"true" sensitive:"true"` - // The ID of the visual that you want to embed. The VisualID can be found in - // the IDs for developers section of the Embed visual pane of the visual's on-visual - // menu of the Amazon QuickSight console. - // - // VisualId is a required field - VisualId *string `min:"1" type:"string" required:"true"` + // Determines the icon set type. + IconSetType *string `type:"string" enum:"ConditionalFormattingIconSetType"` } // String returns the string representation. @@ -20565,7 +21394,7 @@ type DashboardVisualId struct { // 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 DashboardVisualId) String() string { +func (s ConditionalFormattingIconSet) String() string { return awsutil.Prettify(s) } @@ -20574,30 +21403,18 @@ func (s DashboardVisualId) String() string { // 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 DashboardVisualId) GoString() string { +func (s ConditionalFormattingIconSet) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DashboardVisualId) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DashboardVisualId"} - if s.DashboardId == nil { - invalidParams.Add(request.NewErrParamRequired("DashboardId")) - } - if s.DashboardId != nil && len(*s.DashboardId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1)) - } - if s.SheetId == nil { - invalidParams.Add(request.NewErrParamRequired("SheetId")) - } - if s.SheetId != nil && len(*s.SheetId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("SheetId", 1)) - } - if s.VisualId == nil { - invalidParams.Add(request.NewErrParamRequired("VisualId")) +func (s *ConditionalFormattingIconSet) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ConditionalFormattingIconSet"} + if s.Expression == nil { + invalidParams.Add(request.NewErrParamRequired("Expression")) } - if s.VisualId != nil && len(*s.VisualId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("VisualId", 1)) + if s.Expression != nil && len(*s.Expression) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Expression", 1)) } if invalidParams.Len() > 0 { @@ -20606,39 +21423,33 @@ func (s *DashboardVisualId) Validate() error { return nil } -// SetDashboardId sets the DashboardId field's value. -func (s *DashboardVisualId) SetDashboardId(v string) *DashboardVisualId { - s.DashboardId = &v - return s -} - -// SetSheetId sets the SheetId field's value. -func (s *DashboardVisualId) SetSheetId(v string) *DashboardVisualId { - s.SheetId = &v +// SetExpression sets the Expression field's value. +func (s *ConditionalFormattingIconSet) SetExpression(v string) *ConditionalFormattingIconSet { + s.Expression = &v return s } -// SetVisualId sets the VisualId field's value. -func (s *DashboardVisualId) SetVisualId(v string) *DashboardVisualId { - s.VisualId = &v +// SetIconSetType sets the IconSetType field's value. +func (s *ConditionalFormattingIconSet) SetIconSetType(v string) *ConditionalFormattingIconSet { + s.IconSetType = &v return s } -// The theme colors that are used for data colors in charts. The colors description -// is a hexadecimal color code that consists of six alphanumerical characters, -// prefixed with #, for example #37BFF5. -type DataColorPalette struct { +// Formatting configuration for solid color. +type ConditionalFormattingSolidColor struct { _ struct{} `type:"structure"` - // The hexadecimal codes for the colors. - Colors []*string `type:"list"` - - // The hexadecimal code of a color that applies to charts where a lack of data - // is highlighted. - EmptyFillColor *string `type:"string"` + // Determines the color. + Color *string `type:"string"` - // The minimum and maximum hexadecimal codes that describe a color gradient. - MinMaxGradient []*string `type:"list"` + // The expression that determines the formatting configuration for solid color. + // + // Expression is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by ConditionalFormattingSolidColor's + // String and GoString methods. + // + // Expression is a required field + Expression *string `min:"1" type:"string" required:"true" sensitive:"true"` } // String returns the string representation. @@ -20646,7 +21457,7 @@ type DataColorPalette struct { // 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 DataColorPalette) String() string { +func (s ConditionalFormattingSolidColor) String() string { return awsutil.Prettify(s) } @@ -20655,84 +21466,47 @@ func (s DataColorPalette) String() string { // 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 DataColorPalette) GoString() string { +func (s ConditionalFormattingSolidColor) GoString() string { return s.String() } -// SetColors sets the Colors field's value. -func (s *DataColorPalette) SetColors(v []*string) *DataColorPalette { - s.Colors = v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *ConditionalFormattingSolidColor) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ConditionalFormattingSolidColor"} + if s.Expression == nil { + invalidParams.Add(request.NewErrParamRequired("Expression")) + } + if s.Expression != nil && len(*s.Expression) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Expression", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetEmptyFillColor sets the EmptyFillColor field's value. -func (s *DataColorPalette) SetEmptyFillColor(v string) *DataColorPalette { - s.EmptyFillColor = &v +// SetColor sets the Color field's value. +func (s *ConditionalFormattingSolidColor) SetColor(v string) *ConditionalFormattingSolidColor { + s.Color = &v return s } -// SetMinMaxGradient sets the MinMaxGradient field's value. -func (s *DataColorPalette) SetMinMaxGradient(v []*string) *DataColorPalette { - s.MinMaxGradient = v +// SetExpression sets the Expression field's value. +func (s *ConditionalFormattingSolidColor) SetExpression(v string) *ConditionalFormattingSolidColor { + s.Expression = &v return s } -// Dataset. -type DataSet struct { - _ struct{} `type:"structure"` - - // The Amazon Resource Name (ARN) of the resource. - Arn *string `type:"string"` - - // Groupings of columns that work together in certain Amazon QuickSight features. - // Currently, only geospatial hierarchy is supported. - ColumnGroups []*ColumnGroup `min:"1" type:"list"` - - // A set of one or more definitions of a ColumnLevelPermissionRule (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_ColumnLevelPermissionRule.html) . - ColumnLevelPermissionRules []*ColumnLevelPermissionRule `min:"1" type:"list"` - - // The amount of SPICE capacity used by this dataset. This is 0 if the dataset - // isn't imported into SPICE. - ConsumedSpiceCapacityInBytes *int64 `type:"long"` - - // The time that this dataset was created. - CreatedTime *time.Time `type:"timestamp"` - - // The ID of the dataset. - DataSetId *string `type:"string"` - - // The usage configuration to apply to child datasets that reference this dataset - // as a source. - DataSetUsageConfiguration *DataSetUsageConfiguration `type:"structure"` - - // The folder that contains fields and nested subfolders for your dataset. - FieldFolders map[string]*FieldFolder `type:"map"` - - // A value that indicates whether you want to import the data into SPICE. - ImportMode *string `type:"string" enum:"DataSetImportMode"` - - // The last time that this dataset was updated. - LastUpdatedTime *time.Time `type:"timestamp"` - - // Configures the combination and transformation of the data from the physical - // tables. - LogicalTableMap map[string]*LogicalTable `min:"1" type:"map"` - - // A display name for the dataset. - Name *string `min:"1" type:"string"` - - // The list of columns after all transforms. These columns are available in - // templates, analyses, and dashboards. - OutputColumns []*OutputColumn `type:"list"` - - // Declares the physical tables that are available in the underlying data sources. - PhysicalTableMap map[string]*PhysicalTable `type:"map"` +// Updating or deleting a resource can cause an inconsistent state. +type ConflictException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - // The row-level security configuration for the dataset. - RowLevelPermissionDataSet *RowLevelPermissionDataSet `type:"structure"` + Message_ *string `locationName:"Message" type:"string"` - // The element you can use to define tags for row-level security. - RowLevelPermissionTagConfiguration *RowLevelPermissionTagConfiguration `type:"structure"` + // The Amazon Web Services request ID for this request. + RequestId *string `type:"string"` } // String returns the string representation. @@ -20740,7 +21514,7 @@ type DataSet struct { // 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 DataSet) String() string { +func (s ConflictException) String() string { return awsutil.Prettify(s) } @@ -20749,169 +21523,62 @@ func (s DataSet) String() string { // 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 DataSet) GoString() string { +func (s ConflictException) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *DataSet) SetArn(v string) *DataSet { - s.Arn = &v - return s -} - -// SetColumnGroups sets the ColumnGroups field's value. -func (s *DataSet) SetColumnGroups(v []*ColumnGroup) *DataSet { - s.ColumnGroups = v - return s -} - -// SetColumnLevelPermissionRules sets the ColumnLevelPermissionRules field's value. -func (s *DataSet) SetColumnLevelPermissionRules(v []*ColumnLevelPermissionRule) *DataSet { - s.ColumnLevelPermissionRules = v - return s -} - -// SetConsumedSpiceCapacityInBytes sets the ConsumedSpiceCapacityInBytes field's value. -func (s *DataSet) SetConsumedSpiceCapacityInBytes(v int64) *DataSet { - s.ConsumedSpiceCapacityInBytes = &v - return s -} - -// SetCreatedTime sets the CreatedTime field's value. -func (s *DataSet) SetCreatedTime(v time.Time) *DataSet { - s.CreatedTime = &v - return s -} - -// SetDataSetId sets the DataSetId field's value. -func (s *DataSet) SetDataSetId(v string) *DataSet { - s.DataSetId = &v - return s -} - -// SetDataSetUsageConfiguration sets the DataSetUsageConfiguration field's value. -func (s *DataSet) SetDataSetUsageConfiguration(v *DataSetUsageConfiguration) *DataSet { - s.DataSetUsageConfiguration = v - return s -} - -// SetFieldFolders sets the FieldFolders field's value. -func (s *DataSet) SetFieldFolders(v map[string]*FieldFolder) *DataSet { - s.FieldFolders = v - return s -} - -// SetImportMode sets the ImportMode field's value. -func (s *DataSet) SetImportMode(v string) *DataSet { - s.ImportMode = &v - return s -} - -// SetLastUpdatedTime sets the LastUpdatedTime field's value. -func (s *DataSet) SetLastUpdatedTime(v time.Time) *DataSet { - s.LastUpdatedTime = &v - return s -} - -// SetLogicalTableMap sets the LogicalTableMap field's value. -func (s *DataSet) SetLogicalTableMap(v map[string]*LogicalTable) *DataSet { - s.LogicalTableMap = v - return s -} - -// SetName sets the Name field's value. -func (s *DataSet) SetName(v string) *DataSet { - s.Name = &v - return s -} - -// SetOutputColumns sets the OutputColumns field's value. -func (s *DataSet) SetOutputColumns(v []*OutputColumn) *DataSet { - s.OutputColumns = v - return s -} - -// SetPhysicalTableMap sets the PhysicalTableMap field's value. -func (s *DataSet) SetPhysicalTableMap(v map[string]*PhysicalTable) *DataSet { - s.PhysicalTableMap = v - return s -} - -// SetRowLevelPermissionDataSet sets the RowLevelPermissionDataSet field's value. -func (s *DataSet) SetRowLevelPermissionDataSet(v *RowLevelPermissionDataSet) *DataSet { - s.RowLevelPermissionDataSet = v - return s -} - -// SetRowLevelPermissionTagConfiguration sets the RowLevelPermissionTagConfiguration field's value. -func (s *DataSet) SetRowLevelPermissionTagConfiguration(v *RowLevelPermissionTagConfiguration) *DataSet { - s.RowLevelPermissionTagConfiguration = v - return s +func newErrorConflictException(v protocol.ResponseMetadata) error { + return &ConflictException{ + RespMetadata: v, + } } -// Dataset configuration. -type DataSetConfiguration struct { - _ struct{} `type:"structure"` - - // A structure containing the list of column group schemas. - ColumnGroupSchemaList []*ColumnGroupSchema `type:"list"` - - // Dataset schema. - DataSetSchema *DataSetSchema `type:"structure"` - - // Placeholder. - Placeholder *string `type:"string"` +// Code returns the exception type name. +func (s *ConflictException) Code() string { + return "ConflictException" } -// 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 DataSetConfiguration) String() string { - return awsutil.Prettify(s) +// Message returns the exception's message. +func (s *ConflictException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" } -// 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 DataSetConfiguration) GoString() string { - return s.String() +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ConflictException) OrigErr() error { + return nil } -// SetColumnGroupSchemaList sets the ColumnGroupSchemaList field's value. -func (s *DataSetConfiguration) SetColumnGroupSchemaList(v []*ColumnGroupSchema) *DataSetConfiguration { - s.ColumnGroupSchemaList = v - return s +func (s *ConflictException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) } -// SetDataSetSchema sets the DataSetSchema field's value. -func (s *DataSetConfiguration) SetDataSetSchema(v *DataSetSchema) *DataSetConfiguration { - s.DataSetSchema = v - return s +// Status code returns the HTTP status code for the request's response error. +func (s *ConflictException) StatusCode() int { + return s.RespMetadata.StatusCode } -// SetPlaceholder sets the Placeholder field's value. -func (s *DataSetConfiguration) SetPlaceholder(v string) *DataSetConfiguration { - s.Placeholder = &v - return s +// RequestID returns the service's response RequestID for request. +func (s *ConflictException) RequestID() string { + return s.RespMetadata.RequestID } -// Dataset reference. -type DataSetReference struct { +// The contribution analysis visual display for a line, pie, or bar chart. +type ContributionAnalysisDefault struct { _ struct{} `type:"structure"` - // Dataset Amazon Resource Name (ARN). + // The dimensions columns that are used in the contribution analysis, usually + // a list of ColumnIdentifiers. // - // DataSetArn is a required field - DataSetArn *string `type:"string" required:"true"` + // ContributorDimensions is a required field + ContributorDimensions []*ColumnIdentifier `min:"1" type:"list" required:"true"` - // Dataset placeholder. + // The measure field that is used in the contribution analysis. // - // DataSetPlaceholder is a required field - DataSetPlaceholder *string `type:"string" required:"true"` + // MeasureFieldId is a required field + MeasureFieldId *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -20919,7 +21586,7 @@ type DataSetReference struct { // 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 DataSetReference) String() string { +func (s ContributionAnalysisDefault) String() string { return awsutil.Prettify(s) } @@ -20928,18 +21595,34 @@ func (s DataSetReference) String() string { // 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 DataSetReference) GoString() string { +func (s ContributionAnalysisDefault) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DataSetReference) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DataSetReference"} - if s.DataSetArn == nil { - invalidParams.Add(request.NewErrParamRequired("DataSetArn")) +func (s *ContributionAnalysisDefault) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ContributionAnalysisDefault"} + if s.ContributorDimensions == nil { + invalidParams.Add(request.NewErrParamRequired("ContributorDimensions")) } - if s.DataSetPlaceholder == nil { - invalidParams.Add(request.NewErrParamRequired("DataSetPlaceholder")) + if s.ContributorDimensions != nil && len(s.ContributorDimensions) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ContributorDimensions", 1)) + } + if s.MeasureFieldId == nil { + invalidParams.Add(request.NewErrParamRequired("MeasureFieldId")) + } + if s.MeasureFieldId != nil && len(*s.MeasureFieldId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("MeasureFieldId", 1)) + } + if s.ContributorDimensions != nil { + for i, v := range s.ContributorDimensions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ContributorDimensions", i), err.(request.ErrInvalidParams)) + } + } } if invalidParams.Len() > 0 { @@ -20948,107 +21631,45 @@ func (s *DataSetReference) Validate() error { return nil } -// SetDataSetArn sets the DataSetArn field's value. -func (s *DataSetReference) SetDataSetArn(v string) *DataSetReference { - s.DataSetArn = &v - return s -} - -// SetDataSetPlaceholder sets the DataSetPlaceholder field's value. -func (s *DataSetReference) SetDataSetPlaceholder(v string) *DataSetReference { - s.DataSetPlaceholder = &v +// SetContributorDimensions sets the ContributorDimensions field's value. +func (s *ContributionAnalysisDefault) SetContributorDimensions(v []*ColumnIdentifier) *ContributionAnalysisDefault { + s.ContributorDimensions = v return s } -// Dataset schema. -type DataSetSchema struct { - _ struct{} `type:"structure"` - - // A structure containing the list of column schemas. - ColumnSchemaList []*ColumnSchema `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 DataSetSchema) 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 DataSetSchema) GoString() string { - return s.String() -} - -// SetColumnSchemaList sets the ColumnSchemaList field's value. -func (s *DataSetSchema) SetColumnSchemaList(v []*ColumnSchema) *DataSetSchema { - s.ColumnSchemaList = v +// SetMeasureFieldId sets the MeasureFieldId field's value. +func (s *ContributionAnalysisDefault) SetMeasureFieldId(v string) *ContributionAnalysisDefault { + s.MeasureFieldId = &v return s } -// A filter that you apply when searching for datasets. -type DataSetSearchFilter struct { +type CreateAccountCustomizationInput struct { _ struct{} `type:"structure"` - // The name of the value that you want to use as a filter, for example, "Name": - // "QUICKSIGHT_OWNER". - // - // Valid values are defined as follows: - // - // * QUICKSIGHT_VIEWER_OR_OWNER: Provide an ARN of a user or group, and any - // datasets with that ARN listed as one of the dataset owners or viewers - // are returned. Implicit permissions from folders or groups are considered. - // - // * QUICKSIGHT_OWNER: Provide an ARN of a user or group, and any datasets - // with that ARN listed as one of the owners of the dataset are returned. - // Implicit permissions from folders or groups are considered. - // - // * DIRECT_QUICKSIGHT_SOLE_OWNER: Provide an ARN of a user or group, and - // any datasets with that ARN listed as the only owner of the dataset are - // returned. Implicit permissions from folders or groups are not considered. - // - // * DIRECT_QUICKSIGHT_OWNER: Provide an ARN of a user or group, and any - // datasets with that ARN listed as one of the owners if the dataset are - // returned. Implicit permissions from folders or groups are not considered. - // - // * DIRECT_QUICKSIGHT_VIEWER_OR_OWNER: Provide an ARN of a user or group, - // and any datasets with that ARN listed as one of the owners or viewers - // of the dataset are returned. Implicit permissions from folders or groups - // are not considered. + // The Amazon QuickSight customizations you're adding in the current Amazon + // Web Services Region. You can add these to an Amazon Web Services account + // and a QuickSight namespace. // - // * DATASET_NAME: Any datasets whose names have a substring match to this - // value will be returned. + // For example, you can add a default theme by setting AccountCustomization + // to the midnight theme: "AccountCustomization": { "DefaultTheme": "arn:aws:quicksight::aws:theme/MIDNIGHT" + // }. Or, you can add a custom theme by specifying "AccountCustomization": { + // "DefaultTheme": "arn:aws:quicksight:us-west-2:111122223333:theme/bdb844d0-0fe9-4d9d-b520-0fe602d93639" + // }. // - // Name is a required field - Name *string `type:"string" required:"true" enum:"DataSetFilterAttribute"` + // AccountCustomization is a required field + AccountCustomization *AccountCustomization `type:"structure" required:"true"` - // The comparison operator that you want to use as a filter, for example "Operator": - // "StringEquals". Valid values are "StringEquals" and "StringLike". - // - // If you set the operator value to "StringEquals", you need to provide an ownership - // related filter in the "NAME" field and the arn of the user or group whose - // datasets you want to search in the "Value" field. For example, "Name":"QUICKSIGHT_OWNER", - // "Operator": "StringEquals", "Value": "arn:aws:quicksight:us-east- 1:1:user/default/UserName1". - // - // If you set the value to "StringLike", you need to provide the name of the - // datasets you are searching for. For example, "Name":"DATASET_NAME", "Operator": - // "StringLike", "Value": "Test". The "StringLike" operator only supports the - // NAME value DATASET_NAME. + // The ID for the Amazon Web Services account that you want to customize Amazon + // QuickSight for. // - // Operator is a required field - Operator *string `type:"string" required:"true" enum:"FilterOperator"` + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - // The value of the named item, in this case QUICKSIGHT_OWNER, that you want - // to use as a filter, for example, "Value": "arn:aws:quicksight:us-east-1:1:user/default/UserName1". - // - // Value is a required field - Value *string `type:"string" required:"true"` + // The Amazon QuickSight namespace that you want to add customizations to. + Namespace *string `location:"querystring" locationName:"namespace" type:"string"` + + // A list of the tags that you want to attach to this resource. + Tags []*Tag `min:"1" type:"list"` } // String returns the string representation. @@ -21056,7 +21677,7 @@ type DataSetSearchFilter struct { // 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 DataSetSearchFilter) String() string { +func (s CreateAccountCustomizationInput) String() string { return awsutil.Prettify(s) } @@ -21065,21 +21686,34 @@ func (s DataSetSearchFilter) String() string { // 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 DataSetSearchFilter) GoString() string { +func (s CreateAccountCustomizationInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DataSetSearchFilter) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DataSetSearchFilter"} - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) +func (s *CreateAccountCustomizationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateAccountCustomizationInput"} + if s.AccountCustomization == nil { + invalidParams.Add(request.NewErrParamRequired("AccountCustomization")) } - if s.Operator == nil { - invalidParams.Add(request.NewErrParamRequired("Operator")) + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) } - if s.Value == nil { - invalidParams.Add(request.NewErrParamRequired("Value")) + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.Tags != nil && len(s.Tags) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) + } + if s.Tags != nil { + for i, v := range s.Tags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) + } + } } if invalidParams.Len() > 0 { @@ -21088,54 +21722,53 @@ func (s *DataSetSearchFilter) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DataSetSearchFilter) SetName(v string) *DataSetSearchFilter { - s.Name = &v +// SetAccountCustomization sets the AccountCustomization field's value. +func (s *CreateAccountCustomizationInput) SetAccountCustomization(v *AccountCustomization) *CreateAccountCustomizationInput { + s.AccountCustomization = v return s } -// SetOperator sets the Operator field's value. -func (s *DataSetSearchFilter) SetOperator(v string) *DataSetSearchFilter { - s.Operator = &v +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *CreateAccountCustomizationInput) SetAwsAccountId(v string) *CreateAccountCustomizationInput { + s.AwsAccountId = &v return s } -// SetValue sets the Value field's value. -func (s *DataSetSearchFilter) SetValue(v string) *DataSetSearchFilter { - s.Value = &v +// SetNamespace sets the Namespace field's value. +func (s *CreateAccountCustomizationInput) SetNamespace(v string) *CreateAccountCustomizationInput { + s.Namespace = &v return s } -// Dataset summary. -type DataSetSummary struct { - _ struct{} `type:"structure"` - - // The Amazon Resource Name (ARN) of the dataset. - Arn *string `type:"string"` - - // A value that indicates if the dataset has column level permission configured. - ColumnLevelPermissionRulesApplied *bool `type:"boolean"` +// SetTags sets the Tags field's value. +func (s *CreateAccountCustomizationInput) SetTags(v []*Tag) *CreateAccountCustomizationInput { + s.Tags = v + return s +} - // The time that this dataset was created. - CreatedTime *time.Time `type:"timestamp"` +type CreateAccountCustomizationOutput struct { + _ struct{} `type:"structure"` - // The ID of the dataset. - DataSetId *string `type:"string"` + // The Amazon QuickSight customizations you're adding in the current Amazon + // Web Services Region. + AccountCustomization *AccountCustomization `type:"structure"` - // A value that indicates whether you want to import the data into SPICE. - ImportMode *string `type:"string" enum:"DataSetImportMode"` + // The Amazon Resource Name (ARN) for the customization that you created for + // this Amazon Web Services account. + Arn *string `type:"string"` - // The last time that this dataset was updated. - LastUpdatedTime *time.Time `type:"timestamp"` + // The ID for the Amazon Web Services account that you want to customize Amazon + // QuickSight for. + AwsAccountId *string `min:"12" type:"string"` - // A display name for the dataset. - Name *string `min:"1" type:"string"` + // The namespace associated with the customization you're creating. + Namespace *string `type:"string"` - // The row-level security configuration for the dataset. - RowLevelPermissionDataSet *RowLevelPermissionDataSet `type:"structure"` + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` - // Whether or not the row level permission tags are applied. - RowLevelPermissionTagConfigurationApplied *bool `type:"boolean"` + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` } // String returns the string representation. @@ -21143,7 +21776,7 @@ type DataSetSummary struct { // 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 DataSetSummary) String() string { +func (s CreateAccountCustomizationOutput) String() string { return awsutil.Prettify(s) } @@ -21152,76 +21785,30951 @@ func (s DataSetSummary) String() string { // 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 DataSetSummary) GoString() string { +func (s CreateAccountCustomizationOutput) GoString() string { return s.String() } +// SetAccountCustomization sets the AccountCustomization field's value. +func (s *CreateAccountCustomizationOutput) SetAccountCustomization(v *AccountCustomization) *CreateAccountCustomizationOutput { + s.AccountCustomization = v + return s +} + // SetArn sets the Arn field's value. -func (s *DataSetSummary) SetArn(v string) *DataSetSummary { +func (s *CreateAccountCustomizationOutput) SetArn(v string) *CreateAccountCustomizationOutput { s.Arn = &v return s } -// SetColumnLevelPermissionRulesApplied sets the ColumnLevelPermissionRulesApplied field's value. -func (s *DataSetSummary) SetColumnLevelPermissionRulesApplied(v bool) *DataSetSummary { - s.ColumnLevelPermissionRulesApplied = &v +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *CreateAccountCustomizationOutput) SetAwsAccountId(v string) *CreateAccountCustomizationOutput { + s.AwsAccountId = &v return s } -// SetCreatedTime sets the CreatedTime field's value. -func (s *DataSetSummary) SetCreatedTime(v time.Time) *DataSetSummary { - s.CreatedTime = &v +// SetNamespace sets the Namespace field's value. +func (s *CreateAccountCustomizationOutput) SetNamespace(v string) *CreateAccountCustomizationOutput { + s.Namespace = &v return s } -// SetDataSetId sets the DataSetId field's value. -func (s *DataSetSummary) SetDataSetId(v string) *DataSetSummary { - s.DataSetId = &v +// SetRequestId sets the RequestId field's value. +func (s *CreateAccountCustomizationOutput) SetRequestId(v string) *CreateAccountCustomizationOutput { + s.RequestId = &v return s } -// SetImportMode sets the ImportMode field's value. +// SetStatus sets the Status field's value. +func (s *CreateAccountCustomizationOutput) SetStatus(v int64) *CreateAccountCustomizationOutput { + s.Status = &v + return s +} + +type CreateAccountSubscriptionInput struct { + _ struct{} `type:"structure"` + + // The name of your Amazon QuickSight account. This name is unique over all + // of Amazon Web Services, and it appears only when users sign in. You can't + // change AccountName value after the Amazon QuickSight account is created. + // + // AccountName is a required field + AccountName *string `type:"string" required:"true"` + + // The name of your Active Directory. This field is required if ACTIVE_DIRECTORY + // is the selected authentication method of the new Amazon QuickSight account. + ActiveDirectoryName *string `type:"string"` + + // The admin group associated with your Active Directory. This field is required + // if ACTIVE_DIRECTORY is the selected authentication method of the new Amazon + // QuickSight account. For more information about using Active Directory in + // Amazon QuickSight, see Using Active Directory with Amazon QuickSight Enterprise + // Edition (https://docs.aws.amazon.com/quicksight/latest/user/aws-directory-service.html) + // in the Amazon QuickSight User Guide. + AdminGroup []*string `type:"list"` + + // The method that you want to use to authenticate your Amazon QuickSight account. + // Currently, the valid values for this parameter are IAM_AND_QUICKSIGHT, IAM_ONLY, + // and ACTIVE_DIRECTORY. + // + // If you choose ACTIVE_DIRECTORY, provide an ActiveDirectoryName and an AdminGroup + // associated with your Active Directory. + // + // AuthenticationMethod is a required field + AuthenticationMethod *string `type:"string" required:"true" enum:"AuthenticationMethodOption"` + + // The author group associated with your Active Directory. For more information + // about using Active Directory in Amazon QuickSight, see Using Active Directory + // with Amazon QuickSight Enterprise Edition (https://docs.aws.amazon.com/quicksight/latest/user/aws-directory-service.html) + // in the Amazon QuickSight User Guide. + AuthorGroup []*string `type:"list"` + + // The Amazon Web Services account ID of the account that you're using to create + // your Amazon QuickSight account. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // A 10-digit phone number for the author of the Amazon QuickSight account to + // use for future communications. This field is required if ENTERPPRISE_AND_Q + // is the selected edition of the new Amazon QuickSight account. + ContactNumber *string `type:"string"` + + // The ID of the Active Directory that is associated with your Amazon QuickSight + // account. + DirectoryId *string `type:"string"` + + // The edition of Amazon QuickSight that you want your account to have. Currently, + // you can choose from ENTERPRISE or ENTERPRISE_AND_Q. + // + // If you choose ENTERPRISE_AND_Q, the following parameters are required: + // + // * FirstName + // + // * LastName + // + // * EmailAddress + // + // * ContactNumber + // + // Edition is a required field + Edition *string `type:"string" required:"true" enum:"Edition"` + + // The email address of the author of the Amazon QuickSight account to use for + // future communications. This field is required if ENTERPPRISE_AND_Q is the + // selected edition of the new Amazon QuickSight account. + EmailAddress *string `type:"string"` + + // The first name of the author of the Amazon QuickSight account to use for + // future communications. This field is required if ENTERPPRISE_AND_Q is the + // selected edition of the new Amazon QuickSight account. + FirstName *string `type:"string"` + + // The last name of the author of the Amazon QuickSight account to use for future + // communications. This field is required if ENTERPPRISE_AND_Q is the selected + // edition of the new Amazon QuickSight account. + LastName *string `type:"string"` + + // The email address that you want Amazon QuickSight to send notifications to + // regarding your Amazon QuickSight account or Amazon QuickSight subscription. + // + // NotificationEmail is a required field + NotificationEmail *string `type:"string" required:"true"` + + // The reader group associated with your Active Direcrtory. For more information + // about using Active Directory in Amazon QuickSight, see Using Active Directory + // with Amazon QuickSight Enterprise Edition (https://docs.aws.amazon.com/quicksight/latest/user/aws-directory-service.html) + // in the Amazon QuickSight User Guide. + ReaderGroup []*string `type:"list"` + + // The realm of the Active Directory that is associated with your Amazon QuickSight + // account. This field is required if ACTIVE_DIRECTORY is the selected authentication + // method of the new Amazon QuickSight account. + Realm *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 CreateAccountSubscriptionInput) 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 CreateAccountSubscriptionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateAccountSubscriptionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateAccountSubscriptionInput"} + if s.AccountName == nil { + invalidParams.Add(request.NewErrParamRequired("AccountName")) + } + if s.AuthenticationMethod == nil { + invalidParams.Add(request.NewErrParamRequired("AuthenticationMethod")) + } + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.Edition == nil { + invalidParams.Add(request.NewErrParamRequired("Edition")) + } + if s.NotificationEmail == nil { + invalidParams.Add(request.NewErrParamRequired("NotificationEmail")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAccountName sets the AccountName field's value. +func (s *CreateAccountSubscriptionInput) SetAccountName(v string) *CreateAccountSubscriptionInput { + s.AccountName = &v + return s +} + +// SetActiveDirectoryName sets the ActiveDirectoryName field's value. +func (s *CreateAccountSubscriptionInput) SetActiveDirectoryName(v string) *CreateAccountSubscriptionInput { + s.ActiveDirectoryName = &v + return s +} + +// SetAdminGroup sets the AdminGroup field's value. +func (s *CreateAccountSubscriptionInput) SetAdminGroup(v []*string) *CreateAccountSubscriptionInput { + s.AdminGroup = v + return s +} + +// SetAuthenticationMethod sets the AuthenticationMethod field's value. +func (s *CreateAccountSubscriptionInput) SetAuthenticationMethod(v string) *CreateAccountSubscriptionInput { + s.AuthenticationMethod = &v + return s +} + +// SetAuthorGroup sets the AuthorGroup field's value. +func (s *CreateAccountSubscriptionInput) SetAuthorGroup(v []*string) *CreateAccountSubscriptionInput { + s.AuthorGroup = v + return s +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *CreateAccountSubscriptionInput) SetAwsAccountId(v string) *CreateAccountSubscriptionInput { + s.AwsAccountId = &v + return s +} + +// SetContactNumber sets the ContactNumber field's value. +func (s *CreateAccountSubscriptionInput) SetContactNumber(v string) *CreateAccountSubscriptionInput { + s.ContactNumber = &v + return s +} + +// SetDirectoryId sets the DirectoryId field's value. +func (s *CreateAccountSubscriptionInput) SetDirectoryId(v string) *CreateAccountSubscriptionInput { + s.DirectoryId = &v + return s +} + +// SetEdition sets the Edition field's value. +func (s *CreateAccountSubscriptionInput) SetEdition(v string) *CreateAccountSubscriptionInput { + s.Edition = &v + return s +} + +// SetEmailAddress sets the EmailAddress field's value. +func (s *CreateAccountSubscriptionInput) SetEmailAddress(v string) *CreateAccountSubscriptionInput { + s.EmailAddress = &v + return s +} + +// SetFirstName sets the FirstName field's value. +func (s *CreateAccountSubscriptionInput) SetFirstName(v string) *CreateAccountSubscriptionInput { + s.FirstName = &v + return s +} + +// SetLastName sets the LastName field's value. +func (s *CreateAccountSubscriptionInput) SetLastName(v string) *CreateAccountSubscriptionInput { + s.LastName = &v + return s +} + +// SetNotificationEmail sets the NotificationEmail field's value. +func (s *CreateAccountSubscriptionInput) SetNotificationEmail(v string) *CreateAccountSubscriptionInput { + s.NotificationEmail = &v + return s +} + +// SetReaderGroup sets the ReaderGroup field's value. +func (s *CreateAccountSubscriptionInput) SetReaderGroup(v []*string) *CreateAccountSubscriptionInput { + s.ReaderGroup = v + return s +} + +// SetRealm sets the Realm field's value. +func (s *CreateAccountSubscriptionInput) SetRealm(v string) *CreateAccountSubscriptionInput { + s.Realm = &v + return s +} + +type CreateAccountSubscriptionOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // A SignupResponse object that returns information about a newly created Amazon + // QuickSight account. + SignupResponse *SignupResponse `type:"structure"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 CreateAccountSubscriptionOutput) 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 CreateAccountSubscriptionOutput) GoString() string { + return s.String() +} + +// SetRequestId sets the RequestId field's value. +func (s *CreateAccountSubscriptionOutput) SetRequestId(v string) *CreateAccountSubscriptionOutput { + s.RequestId = &v + return s +} + +// SetSignupResponse sets the SignupResponse field's value. +func (s *CreateAccountSubscriptionOutput) SetSignupResponse(v *SignupResponse) *CreateAccountSubscriptionOutput { + s.SignupResponse = v + return s +} + +// SetStatus sets the Status field's value. +func (s *CreateAccountSubscriptionOutput) SetStatus(v int64) *CreateAccountSubscriptionOutput { + s.Status = &v + return s +} + +type CreateAnalysisInput struct { + _ struct{} `type:"structure"` + + // The ID for the analysis that you're creating. This ID displays in the URL + // of the analysis. + // + // AnalysisId is a required field + AnalysisId *string `location:"uri" locationName:"AnalysisId" min:"1" type:"string" required:"true"` + + // The ID of the Amazon Web Services account where you are creating an analysis. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The definition of an analysis. + // + // A definition is the data model of all features in a Dashboard, Template, + // or Analysis. + Definition *AnalysisDefinition `type:"structure"` + + // A descriptive name for the analysis that you're creating. This name displays + // for the analysis in the Amazon QuickSight console. + // + // Name is a required field + Name *string `min:"1" type:"string" required:"true"` + + // The parameter names and override values that you want to use. An analysis + // can have any parameter type, and some parameters might accept multiple values. + Parameters *Parameters `type:"structure"` + + // A structure that describes the principals and the resource-level permissions + // on an analysis. You can use the Permissions structure to grant permissions + // by providing a list of Identity and Access Management (IAM) action information + // for each principal listed by Amazon Resource Name (ARN). + // + // To specify no permissions, omit Permissions. + Permissions []*ResourcePermission `min:"1" type:"list"` + + // A source entity to use for the analysis that you're creating. This metadata + // structure contains details that describe a source template and one or more + // datasets. + SourceEntity *AnalysisSourceEntity `type:"structure"` + + // Contains a map of the key-value pairs for the resource tag or tags assigned + // to the analysis. + Tags []*Tag `min:"1" type:"list"` + + // The ARN for the theme to apply to the analysis that you're creating. To see + // the theme in the Amazon QuickSight console, make sure that you have access + // to it. + ThemeArn *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 CreateAnalysisInput) 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 CreateAnalysisInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateAnalysisInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateAnalysisInput"} + if s.AnalysisId == nil { + invalidParams.Add(request.NewErrParamRequired("AnalysisId")) + } + if s.AnalysisId != nil && len(*s.AnalysisId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AnalysisId", 1)) + } + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.Permissions != nil && len(s.Permissions) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Permissions", 1)) + } + if s.Tags != nil && len(s.Tags) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) + } + if s.Definition != nil { + if err := s.Definition.Validate(); err != nil { + invalidParams.AddNested("Definition", err.(request.ErrInvalidParams)) + } + } + if s.Parameters != nil { + if err := s.Parameters.Validate(); err != nil { + invalidParams.AddNested("Parameters", err.(request.ErrInvalidParams)) + } + } + if s.Permissions != nil { + for i, v := range s.Permissions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams)) + } + } + } + if s.SourceEntity != nil { + if err := s.SourceEntity.Validate(); err != nil { + invalidParams.AddNested("SourceEntity", err.(request.ErrInvalidParams)) + } + } + if s.Tags != nil { + for i, v := range s.Tags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAnalysisId sets the AnalysisId field's value. +func (s *CreateAnalysisInput) SetAnalysisId(v string) *CreateAnalysisInput { + s.AnalysisId = &v + return s +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *CreateAnalysisInput) SetAwsAccountId(v string) *CreateAnalysisInput { + s.AwsAccountId = &v + return s +} + +// SetDefinition sets the Definition field's value. +func (s *CreateAnalysisInput) SetDefinition(v *AnalysisDefinition) *CreateAnalysisInput { + s.Definition = v + return s +} + +// SetName sets the Name field's value. +func (s *CreateAnalysisInput) SetName(v string) *CreateAnalysisInput { + s.Name = &v + return s +} + +// SetParameters sets the Parameters field's value. +func (s *CreateAnalysisInput) SetParameters(v *Parameters) *CreateAnalysisInput { + s.Parameters = v + return s +} + +// SetPermissions sets the Permissions field's value. +func (s *CreateAnalysisInput) SetPermissions(v []*ResourcePermission) *CreateAnalysisInput { + s.Permissions = v + return s +} + +// SetSourceEntity sets the SourceEntity field's value. +func (s *CreateAnalysisInput) SetSourceEntity(v *AnalysisSourceEntity) *CreateAnalysisInput { + s.SourceEntity = v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateAnalysisInput) SetTags(v []*Tag) *CreateAnalysisInput { + s.Tags = v + return s +} + +// SetThemeArn sets the ThemeArn field's value. +func (s *CreateAnalysisInput) SetThemeArn(v string) *CreateAnalysisInput { + s.ThemeArn = &v + return s +} + +type CreateAnalysisOutput struct { + _ struct{} `type:"structure"` + + // The ID of the analysis. + AnalysisId *string `min:"1" type:"string"` + + // The ARN for the analysis. + Arn *string `type:"string"` + + // The status of the creation of the analysis. + CreationStatus *string `type:"string" enum:"ResourceStatus"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 CreateAnalysisOutput) 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 CreateAnalysisOutput) GoString() string { + return s.String() +} + +// SetAnalysisId sets the AnalysisId field's value. +func (s *CreateAnalysisOutput) SetAnalysisId(v string) *CreateAnalysisOutput { + s.AnalysisId = &v + return s +} + +// SetArn sets the Arn field's value. +func (s *CreateAnalysisOutput) SetArn(v string) *CreateAnalysisOutput { + s.Arn = &v + return s +} + +// SetCreationStatus sets the CreationStatus field's value. +func (s *CreateAnalysisOutput) SetCreationStatus(v string) *CreateAnalysisOutput { + s.CreationStatus = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *CreateAnalysisOutput) SetRequestId(v string) *CreateAnalysisOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *CreateAnalysisOutput) SetStatus(v int64) *CreateAnalysisOutput { + s.Status = &v + return s +} + +// A transform operation that creates calculated columns. Columns created in +// one such operation form a lexical closure. +type CreateColumnsOperation struct { + _ struct{} `type:"structure"` + + // Calculated columns to create. + // + // Columns is a required field + Columns []*CalculatedColumn `min:"1" type:"list" required:"true"` +} + +// 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 CreateColumnsOperation) 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 CreateColumnsOperation) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateColumnsOperation) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateColumnsOperation"} + if s.Columns == nil { + invalidParams.Add(request.NewErrParamRequired("Columns")) + } + if s.Columns != nil && len(s.Columns) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Columns", 1)) + } + if s.Columns != nil { + for i, v := range s.Columns { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Columns", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetColumns sets the Columns field's value. +func (s *CreateColumnsOperation) SetColumns(v []*CalculatedColumn) *CreateColumnsOperation { + s.Columns = v + return s +} + +type CreateDashboardInput struct { + _ struct{} `type:"structure"` + + // The ID of the Amazon Web Services account where you want to create the dashboard. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The ID for the dashboard, also added to the IAM policy. + // + // DashboardId is a required field + DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"` + + // Options for publishing the dashboard when you create it: + // + // * AvailabilityStatus for AdHocFilteringOption - This status can be either + // ENABLED or DISABLED. When this is set to DISABLED, Amazon QuickSight disables + // the left filter pane on the published dashboard, which can be used for + // ad hoc (one-time) filtering. This option is ENABLED by default. + // + // * AvailabilityStatus for ExportToCSVOption - This status can be either + // ENABLED or DISABLED. The visual option to export data to .CSV format isn't + // enabled when this is set to DISABLED. This option is ENABLED by default. + // + // * VisibilityState for SheetControlsOption - This visibility state can + // be either COLLAPSED or EXPANDED. This option is COLLAPSED by default. + DashboardPublishOptions *DashboardPublishOptions `type:"structure"` + + // The definition of a dashboard. + // + // A definition is the data model of all features in a Dashboard, Template, + // or Analysis. + Definition *DashboardVersionDefinition `type:"structure"` + + // The display name of the dashboard. + // + // Name is a required field + Name *string `min:"1" type:"string" required:"true"` + + // The parameters for the creation of the dashboard, which you want to use to + // override the default settings. A dashboard can have any type of parameters, + // and some parameters might accept multiple values. + Parameters *Parameters `type:"structure"` + + // A structure that contains the permissions of the dashboard. You can use this + // structure for granting permissions by providing a list of IAM action information + // for each principal ARN. + // + // To specify no permissions, omit the permissions list. + Permissions []*ResourcePermission `min:"1" type:"list"` + + // The entity that you are using as a source when you create the dashboard. + // In SourceEntity, you specify the type of object you're using as source. You + // can only create a dashboard from a template, so you use a SourceTemplate + // entity. If you need to create a dashboard from an analysis, first convert + // the analysis to a template by using the CreateTemplate (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_CreateTemplate.html) + // API operation. For SourceTemplate, specify the Amazon Resource Name (ARN) + // of the source template. The SourceTemplateARN can contain any Amazon Web + // Services account and any Amazon QuickSight-supported Amazon Web Services + // Region. + // + // Use the DataSetReferences entity within SourceTemplate to list the replacement + // datasets for the placeholders listed in the original. The schema in each + // dataset must match its placeholder. + SourceEntity *DashboardSourceEntity `type:"structure"` + + // Contains a map of the key-value pairs for the resource tag or tags assigned + // to the dashboard. + Tags []*Tag `min:"1" type:"list"` + + // The Amazon Resource Name (ARN) of the theme that is being used for this dashboard. + // If you add a value for this field, it overrides the value that is used in + // the source entity. The theme ARN must exist in the same Amazon Web Services + // account where you create the dashboard. + ThemeArn *string `type:"string"` + + // A description for the first version of the dashboard being created. + VersionDescription *string `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 CreateDashboardInput) 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 CreateDashboardInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateDashboardInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateDashboardInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.DashboardId == nil { + invalidParams.Add(request.NewErrParamRequired("DashboardId")) + } + if s.DashboardId != nil && len(*s.DashboardId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.Permissions != nil && len(s.Permissions) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Permissions", 1)) + } + if s.Tags != nil && len(s.Tags) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) + } + if s.VersionDescription != nil && len(*s.VersionDescription) < 1 { + invalidParams.Add(request.NewErrParamMinLen("VersionDescription", 1)) + } + if s.Definition != nil { + if err := s.Definition.Validate(); err != nil { + invalidParams.AddNested("Definition", err.(request.ErrInvalidParams)) + } + } + if s.Parameters != nil { + if err := s.Parameters.Validate(); err != nil { + invalidParams.AddNested("Parameters", err.(request.ErrInvalidParams)) + } + } + if s.Permissions != nil { + for i, v := range s.Permissions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams)) + } + } + } + if s.SourceEntity != nil { + if err := s.SourceEntity.Validate(); err != nil { + invalidParams.AddNested("SourceEntity", err.(request.ErrInvalidParams)) + } + } + if s.Tags != nil { + for i, v := range s.Tags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *CreateDashboardInput) SetAwsAccountId(v string) *CreateDashboardInput { + s.AwsAccountId = &v + return s +} + +// SetDashboardId sets the DashboardId field's value. +func (s *CreateDashboardInput) SetDashboardId(v string) *CreateDashboardInput { + s.DashboardId = &v + return s +} + +// SetDashboardPublishOptions sets the DashboardPublishOptions field's value. +func (s *CreateDashboardInput) SetDashboardPublishOptions(v *DashboardPublishOptions) *CreateDashboardInput { + s.DashboardPublishOptions = v + return s +} + +// SetDefinition sets the Definition field's value. +func (s *CreateDashboardInput) SetDefinition(v *DashboardVersionDefinition) *CreateDashboardInput { + s.Definition = v + return s +} + +// SetName sets the Name field's value. +func (s *CreateDashboardInput) SetName(v string) *CreateDashboardInput { + s.Name = &v + return s +} + +// SetParameters sets the Parameters field's value. +func (s *CreateDashboardInput) SetParameters(v *Parameters) *CreateDashboardInput { + s.Parameters = v + return s +} + +// SetPermissions sets the Permissions field's value. +func (s *CreateDashboardInput) SetPermissions(v []*ResourcePermission) *CreateDashboardInput { + s.Permissions = v + return s +} + +// SetSourceEntity sets the SourceEntity field's value. +func (s *CreateDashboardInput) SetSourceEntity(v *DashboardSourceEntity) *CreateDashboardInput { + s.SourceEntity = v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateDashboardInput) SetTags(v []*Tag) *CreateDashboardInput { + s.Tags = v + return s +} + +// SetThemeArn sets the ThemeArn field's value. +func (s *CreateDashboardInput) SetThemeArn(v string) *CreateDashboardInput { + s.ThemeArn = &v + return s +} + +// SetVersionDescription sets the VersionDescription field's value. +func (s *CreateDashboardInput) SetVersionDescription(v string) *CreateDashboardInput { + s.VersionDescription = &v + return s +} + +type CreateDashboardOutput struct { + _ struct{} `type:"structure"` + + // The ARN of the dashboard. + Arn *string `type:"string"` + + // The status of the dashboard creation request. + CreationStatus *string `type:"string" enum:"ResourceStatus"` + + // The ID for the dashboard. + DashboardId *string `min:"1" type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` + + // The ARN of the dashboard, including the version number of the first version + // that is created. + VersionArn *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 CreateDashboardOutput) 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 CreateDashboardOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *CreateDashboardOutput) SetArn(v string) *CreateDashboardOutput { + s.Arn = &v + return s +} + +// SetCreationStatus sets the CreationStatus field's value. +func (s *CreateDashboardOutput) SetCreationStatus(v string) *CreateDashboardOutput { + s.CreationStatus = &v + return s +} + +// SetDashboardId sets the DashboardId field's value. +func (s *CreateDashboardOutput) SetDashboardId(v string) *CreateDashboardOutput { + s.DashboardId = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *CreateDashboardOutput) SetRequestId(v string) *CreateDashboardOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *CreateDashboardOutput) SetStatus(v int64) *CreateDashboardOutput { + s.Status = &v + return s +} + +// SetVersionArn sets the VersionArn field's value. +func (s *CreateDashboardOutput) SetVersionArn(v string) *CreateDashboardOutput { + s.VersionArn = &v + return s +} + +type CreateDataSetInput struct { + _ struct{} `type:"structure"` + + // The Amazon Web Services account ID. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // Groupings of columns that work together in certain Amazon QuickSight features. + // Currently, only geospatial hierarchy is supported. + ColumnGroups []*ColumnGroup `min:"1" type:"list"` + + // A set of one or more definitions of a ColumnLevelPermissionRule (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_ColumnLevelPermissionRule.html) . + ColumnLevelPermissionRules []*ColumnLevelPermissionRule `min:"1" type:"list"` + + // An ID for the dataset that you want to create. This ID is unique per Amazon + // Web Services Region for each Amazon Web Services account. + // + // DataSetId is a required field + DataSetId *string `type:"string" required:"true"` + + // The usage configuration to apply to child datasets that reference this dataset + // as a source. + DataSetUsageConfiguration *DataSetUsageConfiguration `type:"structure"` + + // The folder that contains fields and nested subfolders for your dataset. + FieldFolders map[string]*FieldFolder `type:"map"` + + // Indicates whether you want to import the data into SPICE. + // + // ImportMode is a required field + ImportMode *string `type:"string" required:"true" enum:"DataSetImportMode"` + + // Configures the combination and transformation of the data from the physical + // tables. + LogicalTableMap map[string]*LogicalTable `min:"1" type:"map"` + + // The display name for the dataset. + // + // Name is a required field + Name *string `min:"1" type:"string" required:"true"` + + // A list of resource permissions on the dataset. + Permissions []*ResourcePermission `min:"1" type:"list"` + + // Declares the physical tables that are available in the underlying data sources. + // + // PhysicalTableMap is a required field + PhysicalTableMap map[string]*PhysicalTable `type:"map" required:"true"` + + // The row-level security configuration for the data that you want to create. + RowLevelPermissionDataSet *RowLevelPermissionDataSet `type:"structure"` + + // The configuration of tags on a dataset to set row-level security. Row-level + // security tags are currently supported for anonymous embedding only. + RowLevelPermissionTagConfiguration *RowLevelPermissionTagConfiguration `type:"structure"` + + // Contains a map of the key-value pairs for the resource tag or tags assigned + // to the dataset. + Tags []*Tag `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 CreateDataSetInput) 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 CreateDataSetInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateDataSetInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateDataSetInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.ColumnGroups != nil && len(s.ColumnGroups) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ColumnGroups", 1)) + } + if s.ColumnLevelPermissionRules != nil && len(s.ColumnLevelPermissionRules) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ColumnLevelPermissionRules", 1)) + } + if s.DataSetId == nil { + invalidParams.Add(request.NewErrParamRequired("DataSetId")) + } + if s.ImportMode == nil { + invalidParams.Add(request.NewErrParamRequired("ImportMode")) + } + if s.LogicalTableMap != nil && len(s.LogicalTableMap) < 1 { + invalidParams.Add(request.NewErrParamMinLen("LogicalTableMap", 1)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.Permissions != nil && len(s.Permissions) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Permissions", 1)) + } + if s.PhysicalTableMap == nil { + invalidParams.Add(request.NewErrParamRequired("PhysicalTableMap")) + } + if s.Tags != nil && len(s.Tags) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) + } + if s.ColumnGroups != nil { + for i, v := range s.ColumnGroups { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnGroups", i), err.(request.ErrInvalidParams)) + } + } + } + if s.ColumnLevelPermissionRules != nil { + for i, v := range s.ColumnLevelPermissionRules { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnLevelPermissionRules", i), err.(request.ErrInvalidParams)) + } + } + } + if s.LogicalTableMap != nil { + for i, v := range s.LogicalTableMap { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "LogicalTableMap", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Permissions != nil { + for i, v := range s.Permissions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams)) + } + } + } + if s.PhysicalTableMap != nil { + for i, v := range s.PhysicalTableMap { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PhysicalTableMap", i), err.(request.ErrInvalidParams)) + } + } + } + if s.RowLevelPermissionDataSet != nil { + if err := s.RowLevelPermissionDataSet.Validate(); err != nil { + invalidParams.AddNested("RowLevelPermissionDataSet", err.(request.ErrInvalidParams)) + } + } + if s.RowLevelPermissionTagConfiguration != nil { + if err := s.RowLevelPermissionTagConfiguration.Validate(); err != nil { + invalidParams.AddNested("RowLevelPermissionTagConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.Tags != nil { + for i, v := range s.Tags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *CreateDataSetInput) SetAwsAccountId(v string) *CreateDataSetInput { + s.AwsAccountId = &v + return s +} + +// SetColumnGroups sets the ColumnGroups field's value. +func (s *CreateDataSetInput) SetColumnGroups(v []*ColumnGroup) *CreateDataSetInput { + s.ColumnGroups = v + return s +} + +// SetColumnLevelPermissionRules sets the ColumnLevelPermissionRules field's value. +func (s *CreateDataSetInput) SetColumnLevelPermissionRules(v []*ColumnLevelPermissionRule) *CreateDataSetInput { + s.ColumnLevelPermissionRules = v + return s +} + +// SetDataSetId sets the DataSetId field's value. +func (s *CreateDataSetInput) SetDataSetId(v string) *CreateDataSetInput { + s.DataSetId = &v + return s +} + +// SetDataSetUsageConfiguration sets the DataSetUsageConfiguration field's value. +func (s *CreateDataSetInput) SetDataSetUsageConfiguration(v *DataSetUsageConfiguration) *CreateDataSetInput { + s.DataSetUsageConfiguration = v + return s +} + +// SetFieldFolders sets the FieldFolders field's value. +func (s *CreateDataSetInput) SetFieldFolders(v map[string]*FieldFolder) *CreateDataSetInput { + s.FieldFolders = v + return s +} + +// SetImportMode sets the ImportMode field's value. +func (s *CreateDataSetInput) SetImportMode(v string) *CreateDataSetInput { + s.ImportMode = &v + return s +} + +// SetLogicalTableMap sets the LogicalTableMap field's value. +func (s *CreateDataSetInput) SetLogicalTableMap(v map[string]*LogicalTable) *CreateDataSetInput { + s.LogicalTableMap = v + return s +} + +// SetName sets the Name field's value. +func (s *CreateDataSetInput) SetName(v string) *CreateDataSetInput { + s.Name = &v + return s +} + +// SetPermissions sets the Permissions field's value. +func (s *CreateDataSetInput) SetPermissions(v []*ResourcePermission) *CreateDataSetInput { + s.Permissions = v + return s +} + +// SetPhysicalTableMap sets the PhysicalTableMap field's value. +func (s *CreateDataSetInput) SetPhysicalTableMap(v map[string]*PhysicalTable) *CreateDataSetInput { + s.PhysicalTableMap = v + return s +} + +// SetRowLevelPermissionDataSet sets the RowLevelPermissionDataSet field's value. +func (s *CreateDataSetInput) SetRowLevelPermissionDataSet(v *RowLevelPermissionDataSet) *CreateDataSetInput { + s.RowLevelPermissionDataSet = v + return s +} + +// SetRowLevelPermissionTagConfiguration sets the RowLevelPermissionTagConfiguration field's value. +func (s *CreateDataSetInput) SetRowLevelPermissionTagConfiguration(v *RowLevelPermissionTagConfiguration) *CreateDataSetInput { + s.RowLevelPermissionTagConfiguration = v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateDataSetInput) SetTags(v []*Tag) *CreateDataSetInput { + s.Tags = v + return s +} + +type CreateDataSetOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the dataset. + Arn *string `type:"string"` + + // The ID for the dataset that you want to create. This ID is unique per Amazon + // Web Services Region for each Amazon Web Services account. + DataSetId *string `type:"string"` + + // The ARN for the ingestion, which is triggered as a result of dataset creation + // if the import mode is SPICE. + IngestionArn *string `type:"string"` + + // The ID of the ingestion, which is triggered as a result of dataset creation + // if the import mode is SPICE. + IngestionId *string `type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 CreateDataSetOutput) 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 CreateDataSetOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *CreateDataSetOutput) SetArn(v string) *CreateDataSetOutput { + s.Arn = &v + return s +} + +// SetDataSetId sets the DataSetId field's value. +func (s *CreateDataSetOutput) SetDataSetId(v string) *CreateDataSetOutput { + s.DataSetId = &v + return s +} + +// SetIngestionArn sets the IngestionArn field's value. +func (s *CreateDataSetOutput) SetIngestionArn(v string) *CreateDataSetOutput { + s.IngestionArn = &v + return s +} + +// SetIngestionId sets the IngestionId field's value. +func (s *CreateDataSetOutput) SetIngestionId(v string) *CreateDataSetOutput { + s.IngestionId = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *CreateDataSetOutput) SetRequestId(v string) *CreateDataSetOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *CreateDataSetOutput) SetStatus(v int64) *CreateDataSetOutput { + s.Status = &v + return s +} + +type CreateDataSourceInput struct { + _ struct{} `type:"structure"` + + // The Amazon Web Services account ID. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The credentials Amazon QuickSight that uses to connect to your underlying + // source. Currently, only credentials based on user name and password are supported. + // + // Credentials is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by CreateDataSourceInput's + // String and GoString methods. + Credentials *DataSourceCredentials `type:"structure" sensitive:"true"` + + // An ID for the data source. This ID is unique per Amazon Web Services Region + // for each Amazon Web Services account. + // + // DataSourceId is a required field + DataSourceId *string `type:"string" required:"true"` + + // The parameters that Amazon QuickSight uses to connect to your underlying + // source. + DataSourceParameters *DataSourceParameters `type:"structure"` + + // A display name for the data source. + // + // Name is a required field + Name *string `min:"1" type:"string" required:"true"` + + // A list of resource permissions on the data source. + Permissions []*ResourcePermission `min:"1" type:"list"` + + // Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects + // to your underlying source. + SslProperties *SslProperties `type:"structure"` + + // Contains a map of the key-value pairs for the resource tag or tags assigned + // to the data source. + Tags []*Tag `min:"1" type:"list"` + + // The type of the data source. To return a list of all data sources, use ListDataSources. + // + // Use AMAZON_ELASTICSEARCH for Amazon OpenSearch Service. + // + // Type is a required field + Type *string `type:"string" required:"true" enum:"DataSourceType"` + + // Use this parameter only when you want Amazon QuickSight to use a VPC connection + // when connecting to your underlying source. + VpcConnectionProperties *VpcConnectionProperties `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 CreateDataSourceInput) 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 CreateDataSourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateDataSourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateDataSourceInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.DataSourceId == nil { + invalidParams.Add(request.NewErrParamRequired("DataSourceId")) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.Permissions != nil && len(s.Permissions) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Permissions", 1)) + } + if s.Tags != nil && len(s.Tags) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) + } + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) + } + if s.Credentials != nil { + if err := s.Credentials.Validate(); err != nil { + invalidParams.AddNested("Credentials", err.(request.ErrInvalidParams)) + } + } + if s.DataSourceParameters != nil { + if err := s.DataSourceParameters.Validate(); err != nil { + invalidParams.AddNested("DataSourceParameters", err.(request.ErrInvalidParams)) + } + } + if s.Permissions != nil { + for i, v := range s.Permissions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Tags != nil { + for i, v := range s.Tags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) + } + } + } + if s.VpcConnectionProperties != nil { + if err := s.VpcConnectionProperties.Validate(); err != nil { + invalidParams.AddNested("VpcConnectionProperties", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *CreateDataSourceInput) SetAwsAccountId(v string) *CreateDataSourceInput { + s.AwsAccountId = &v + return s +} + +// SetCredentials sets the Credentials field's value. +func (s *CreateDataSourceInput) SetCredentials(v *DataSourceCredentials) *CreateDataSourceInput { + s.Credentials = v + return s +} + +// SetDataSourceId sets the DataSourceId field's value. +func (s *CreateDataSourceInput) SetDataSourceId(v string) *CreateDataSourceInput { + s.DataSourceId = &v + return s +} + +// SetDataSourceParameters sets the DataSourceParameters field's value. +func (s *CreateDataSourceInput) SetDataSourceParameters(v *DataSourceParameters) *CreateDataSourceInput { + s.DataSourceParameters = v + return s +} + +// SetName sets the Name field's value. +func (s *CreateDataSourceInput) SetName(v string) *CreateDataSourceInput { + s.Name = &v + return s +} + +// SetPermissions sets the Permissions field's value. +func (s *CreateDataSourceInput) SetPermissions(v []*ResourcePermission) *CreateDataSourceInput { + s.Permissions = v + return s +} + +// SetSslProperties sets the SslProperties field's value. +func (s *CreateDataSourceInput) SetSslProperties(v *SslProperties) *CreateDataSourceInput { + s.SslProperties = v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateDataSourceInput) SetTags(v []*Tag) *CreateDataSourceInput { + s.Tags = v + return s +} + +// SetType sets the Type field's value. +func (s *CreateDataSourceInput) SetType(v string) *CreateDataSourceInput { + s.Type = &v + return s +} + +// SetVpcConnectionProperties sets the VpcConnectionProperties field's value. +func (s *CreateDataSourceInput) SetVpcConnectionProperties(v *VpcConnectionProperties) *CreateDataSourceInput { + s.VpcConnectionProperties = v + return s +} + +type CreateDataSourceOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the data source. + Arn *string `type:"string"` + + // The status of creating the data source. + CreationStatus *string `type:"string" enum:"ResourceStatus"` + + // The ID of the data source. This ID is unique per Amazon Web Services Region + // for each Amazon Web Services account. + DataSourceId *string `type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 CreateDataSourceOutput) 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 CreateDataSourceOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *CreateDataSourceOutput) SetArn(v string) *CreateDataSourceOutput { + s.Arn = &v + return s +} + +// SetCreationStatus sets the CreationStatus field's value. +func (s *CreateDataSourceOutput) SetCreationStatus(v string) *CreateDataSourceOutput { + s.CreationStatus = &v + return s +} + +// SetDataSourceId sets the DataSourceId field's value. +func (s *CreateDataSourceOutput) SetDataSourceId(v string) *CreateDataSourceOutput { + s.DataSourceId = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *CreateDataSourceOutput) SetRequestId(v string) *CreateDataSourceOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *CreateDataSourceOutput) SetStatus(v int64) *CreateDataSourceOutput { + s.Status = &v + return s +} + +type CreateFolderInput struct { + _ struct{} `type:"structure"` + + // The ID for the Amazon Web Services account where you want to create the folder. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The ID of the folder. + // + // FolderId is a required field + FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"` + + // The type of folder. By default, folderType is SHARED. + FolderType *string `type:"string" enum:"FolderType"` + + // The name of the folder. + Name *string `min:"1" type:"string"` + + // The Amazon Resource Name (ARN) for the parent folder. + // + // ParentFolderArn can be null. An empty parentFolderArn creates a root-level + // folder. + ParentFolderArn *string `type:"string"` + + // A structure that describes the principals and the resource-level permissions + // of a folder. + // + // To specify no permissions, omit Permissions. + Permissions []*ResourcePermission `min:"1" type:"list"` + + // Tags for the folder. + Tags []*Tag `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 CreateFolderInput) 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 CreateFolderInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateFolderInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateFolderInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.FolderId == nil { + invalidParams.Add(request.NewErrParamRequired("FolderId")) + } + if s.FolderId != nil && len(*s.FolderId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FolderId", 1)) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.Permissions != nil && len(s.Permissions) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Permissions", 1)) + } + if s.Tags != nil && len(s.Tags) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) + } + if s.Permissions != nil { + for i, v := range s.Permissions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Tags != nil { + for i, v := range s.Tags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *CreateFolderInput) SetAwsAccountId(v string) *CreateFolderInput { + s.AwsAccountId = &v + return s +} + +// SetFolderId sets the FolderId field's value. +func (s *CreateFolderInput) SetFolderId(v string) *CreateFolderInput { + s.FolderId = &v + return s +} + +// SetFolderType sets the FolderType field's value. +func (s *CreateFolderInput) SetFolderType(v string) *CreateFolderInput { + s.FolderType = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateFolderInput) SetName(v string) *CreateFolderInput { + s.Name = &v + return s +} + +// SetParentFolderArn sets the ParentFolderArn field's value. +func (s *CreateFolderInput) SetParentFolderArn(v string) *CreateFolderInput { + s.ParentFolderArn = &v + return s +} + +// SetPermissions sets the Permissions field's value. +func (s *CreateFolderInput) SetPermissions(v []*ResourcePermission) *CreateFolderInput { + s.Permissions = v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateFolderInput) SetTags(v []*Tag) *CreateFolderInput { + s.Tags = v + return s +} + +type CreateFolderMembershipInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID for the Amazon Web Services account that contains the folder. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The ID of the folder. + // + // FolderId is a required field + FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"` + + // The ID of the asset (the dashboard, analysis, or dataset). + // + // MemberId is a required field + MemberId *string `location:"uri" locationName:"MemberId" min:"1" type:"string" required:"true"` + + // The type of the member, including DASHBOARD, ANALYSIS, and DATASET. + // + // MemberType is a required field + MemberType *string `location:"uri" locationName:"MemberType" type:"string" required:"true" enum:"MemberType"` +} + +// 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 CreateFolderMembershipInput) 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 CreateFolderMembershipInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateFolderMembershipInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateFolderMembershipInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.FolderId == nil { + invalidParams.Add(request.NewErrParamRequired("FolderId")) + } + if s.FolderId != nil && len(*s.FolderId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FolderId", 1)) + } + if s.MemberId == nil { + invalidParams.Add(request.NewErrParamRequired("MemberId")) + } + if s.MemberId != nil && len(*s.MemberId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("MemberId", 1)) + } + if s.MemberType == nil { + invalidParams.Add(request.NewErrParamRequired("MemberType")) + } + if s.MemberType != nil && len(*s.MemberType) < 1 { + invalidParams.Add(request.NewErrParamMinLen("MemberType", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *CreateFolderMembershipInput) SetAwsAccountId(v string) *CreateFolderMembershipInput { + s.AwsAccountId = &v + return s +} + +// SetFolderId sets the FolderId field's value. +func (s *CreateFolderMembershipInput) SetFolderId(v string) *CreateFolderMembershipInput { + s.FolderId = &v + return s +} + +// SetMemberId sets the MemberId field's value. +func (s *CreateFolderMembershipInput) SetMemberId(v string) *CreateFolderMembershipInput { + s.MemberId = &v + return s +} + +// SetMemberType sets the MemberType field's value. +func (s *CreateFolderMembershipInput) SetMemberType(v string) *CreateFolderMembershipInput { + s.MemberType = &v + return s +} + +type CreateFolderMembershipOutput struct { + _ struct{} `type:"structure"` + + // Information about the member in the folder. + FolderMember *FolderMember `type:"structure"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `type:"integer"` +} + +// 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 CreateFolderMembershipOutput) 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 CreateFolderMembershipOutput) GoString() string { + return s.String() +} + +// SetFolderMember sets the FolderMember field's value. +func (s *CreateFolderMembershipOutput) SetFolderMember(v *FolderMember) *CreateFolderMembershipOutput { + s.FolderMember = v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *CreateFolderMembershipOutput) SetRequestId(v string) *CreateFolderMembershipOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *CreateFolderMembershipOutput) SetStatus(v int64) *CreateFolderMembershipOutput { + s.Status = &v + return s +} + +type CreateFolderOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) for the newly created folder. + Arn *string `type:"string"` + + // The folder ID for the newly created folder. + FolderId *string `min:"1" type:"string"` + + // The request ID for the newly created folder. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 CreateFolderOutput) 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 CreateFolderOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *CreateFolderOutput) SetArn(v string) *CreateFolderOutput { + s.Arn = &v + return s +} + +// SetFolderId sets the FolderId field's value. +func (s *CreateFolderOutput) SetFolderId(v string) *CreateFolderOutput { + s.FolderId = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *CreateFolderOutput) SetRequestId(v string) *CreateFolderOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *CreateFolderOutput) SetStatus(v int64) *CreateFolderOutput { + s.Status = &v + return s +} + +// The request object for this operation. +type CreateGroupInput struct { + _ struct{} `type:"structure"` + + // The ID for the Amazon Web Services account that the group is in. Currently, + // you use the ID for the Amazon Web Services account that contains your Amazon + // QuickSight account. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // A description for the group that you want to create. + Description *string `min:"1" type:"string"` + + // A name for the group that you want to create. + // + // GroupName is a required field + GroupName *string `min:"1" type:"string" required:"true"` + + // The namespace that you want the group to be a part of. + // + // Namespace is a required field + Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` +} + +// 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 CreateGroupInput) 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 CreateGroupInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateGroupInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.Description != nil && len(*s.Description) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Description", 1)) + } + if s.GroupName == nil { + invalidParams.Add(request.NewErrParamRequired("GroupName")) + } + if s.GroupName != nil && len(*s.GroupName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("GroupName", 1)) + } + if s.Namespace == nil { + invalidParams.Add(request.NewErrParamRequired("Namespace")) + } + if s.Namespace != nil && len(*s.Namespace) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *CreateGroupInput) SetAwsAccountId(v string) *CreateGroupInput { + s.AwsAccountId = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreateGroupInput) SetDescription(v string) *CreateGroupInput { + s.Description = &v + return s +} + +// SetGroupName sets the GroupName field's value. +func (s *CreateGroupInput) SetGroupName(v string) *CreateGroupInput { + s.GroupName = &v + return s +} + +// SetNamespace sets the Namespace field's value. +func (s *CreateGroupInput) SetNamespace(v string) *CreateGroupInput { + s.Namespace = &v + return s +} + +type CreateGroupMembershipInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID for the Amazon Web Services account that the group is in. Currently, + // you use the ID for the Amazon Web Services account that contains your Amazon + // QuickSight account. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The name of the group that you want to add the user to. + // + // GroupName is a required field + GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"` + + // The name of the user that you want to add to the group membership. + // + // MemberName is a required field + MemberName *string `location:"uri" locationName:"MemberName" min:"1" type:"string" required:"true"` + + // The namespace that you want the user to be a part of. + // + // Namespace is a required field + Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` +} + +// 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 CreateGroupMembershipInput) 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 CreateGroupMembershipInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateGroupMembershipInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateGroupMembershipInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.GroupName == nil { + invalidParams.Add(request.NewErrParamRequired("GroupName")) + } + if s.GroupName != nil && len(*s.GroupName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("GroupName", 1)) + } + if s.MemberName == nil { + invalidParams.Add(request.NewErrParamRequired("MemberName")) + } + if s.MemberName != nil && len(*s.MemberName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("MemberName", 1)) + } + if s.Namespace == nil { + invalidParams.Add(request.NewErrParamRequired("Namespace")) + } + if s.Namespace != nil && len(*s.Namespace) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *CreateGroupMembershipInput) SetAwsAccountId(v string) *CreateGroupMembershipInput { + s.AwsAccountId = &v + return s +} + +// SetGroupName sets the GroupName field's value. +func (s *CreateGroupMembershipInput) SetGroupName(v string) *CreateGroupMembershipInput { + s.GroupName = &v + return s +} + +// SetMemberName sets the MemberName field's value. +func (s *CreateGroupMembershipInput) SetMemberName(v string) *CreateGroupMembershipInput { + s.MemberName = &v + return s +} + +// SetNamespace sets the Namespace field's value. +func (s *CreateGroupMembershipInput) SetNamespace(v string) *CreateGroupMembershipInput { + s.Namespace = &v + return s +} + +type CreateGroupMembershipOutput struct { + _ struct{} `type:"structure"` + + // The group member. + GroupMember *GroupMember `type:"structure"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 CreateGroupMembershipOutput) 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 CreateGroupMembershipOutput) GoString() string { + return s.String() +} + +// SetGroupMember sets the GroupMember field's value. +func (s *CreateGroupMembershipOutput) SetGroupMember(v *GroupMember) *CreateGroupMembershipOutput { + s.GroupMember = v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *CreateGroupMembershipOutput) SetRequestId(v string) *CreateGroupMembershipOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *CreateGroupMembershipOutput) SetStatus(v int64) *CreateGroupMembershipOutput { + s.Status = &v + return s +} + +// The response object for this operation. +type CreateGroupOutput struct { + _ struct{} `type:"structure"` + + // The name of the group. + Group *Group `type:"structure"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 CreateGroupOutput) 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 CreateGroupOutput) GoString() string { + return s.String() +} + +// SetGroup sets the Group field's value. +func (s *CreateGroupOutput) SetGroup(v *Group) *CreateGroupOutput { + s.Group = v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *CreateGroupOutput) SetRequestId(v string) *CreateGroupOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *CreateGroupOutput) SetStatus(v int64) *CreateGroupOutput { + s.Status = &v + return s +} + +type CreateIAMPolicyAssignmentInput struct { + _ struct{} `type:"structure"` + + // The name of the assignment, also called a rule. It must be unique within + // an Amazon Web Services account. + // + // AssignmentName is a required field + AssignmentName *string `min:"1" type:"string" required:"true"` + + // The status of the assignment. Possible values are as follows: + // + // * ENABLED - Anything specified in this assignment is used when creating + // the data source. + // + // * DISABLED - This assignment isn't used when creating the data source. + // + // * DRAFT - This assignment is an unfinished draft and isn't used when creating + // the data source. + // + // AssignmentStatus is a required field + AssignmentStatus *string `type:"string" required:"true" enum:"AssignmentStatus"` + + // The ID of the Amazon Web Services account where you want to assign an IAM + // policy to Amazon QuickSight users or groups. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The Amazon QuickSight users, groups, or both that you want to assign the + // policy to. + Identities map[string][]*string `type:"map"` + + // The namespace that contains the assignment. + // + // Namespace is a required field + Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` + + // The ARN for the IAM policy to apply to the Amazon QuickSight users and groups + // specified in this assignment. + PolicyArn *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 CreateIAMPolicyAssignmentInput) 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 CreateIAMPolicyAssignmentInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateIAMPolicyAssignmentInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateIAMPolicyAssignmentInput"} + if s.AssignmentName == nil { + invalidParams.Add(request.NewErrParamRequired("AssignmentName")) + } + if s.AssignmentName != nil && len(*s.AssignmentName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AssignmentName", 1)) + } + if s.AssignmentStatus == nil { + invalidParams.Add(request.NewErrParamRequired("AssignmentStatus")) + } + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.Namespace == nil { + invalidParams.Add(request.NewErrParamRequired("Namespace")) + } + if s.Namespace != nil && len(*s.Namespace) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAssignmentName sets the AssignmentName field's value. +func (s *CreateIAMPolicyAssignmentInput) SetAssignmentName(v string) *CreateIAMPolicyAssignmentInput { + s.AssignmentName = &v + return s +} + +// SetAssignmentStatus sets the AssignmentStatus field's value. +func (s *CreateIAMPolicyAssignmentInput) SetAssignmentStatus(v string) *CreateIAMPolicyAssignmentInput { + s.AssignmentStatus = &v + return s +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *CreateIAMPolicyAssignmentInput) SetAwsAccountId(v string) *CreateIAMPolicyAssignmentInput { + s.AwsAccountId = &v + return s +} + +// SetIdentities sets the Identities field's value. +func (s *CreateIAMPolicyAssignmentInput) SetIdentities(v map[string][]*string) *CreateIAMPolicyAssignmentInput { + s.Identities = v + return s +} + +// SetNamespace sets the Namespace field's value. +func (s *CreateIAMPolicyAssignmentInput) SetNamespace(v string) *CreateIAMPolicyAssignmentInput { + s.Namespace = &v + return s +} + +// SetPolicyArn sets the PolicyArn field's value. +func (s *CreateIAMPolicyAssignmentInput) SetPolicyArn(v string) *CreateIAMPolicyAssignmentInput { + s.PolicyArn = &v + return s +} + +type CreateIAMPolicyAssignmentOutput struct { + _ struct{} `type:"structure"` + + // The ID for the assignment. + AssignmentId *string `type:"string"` + + // The name of the assignment. This name must be unique within the Amazon Web + // Services account. + AssignmentName *string `min:"1" type:"string"` + + // The status of the assignment. Possible values are as follows: + // + // * ENABLED - Anything specified in this assignment is used when creating + // the data source. + // + // * DISABLED - This assignment isn't used when creating the data source. + // + // * DRAFT - This assignment is an unfinished draft and isn't used when creating + // the data source. + AssignmentStatus *string `type:"string" enum:"AssignmentStatus"` + + // The Amazon QuickSight users, groups, or both that the IAM policy is assigned + // to. + Identities map[string][]*string `type:"map"` + + // The ARN for the IAM policy that is applied to the Amazon QuickSight users + // and groups specified in this assignment. + PolicyArn *string `type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 CreateIAMPolicyAssignmentOutput) 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 CreateIAMPolicyAssignmentOutput) GoString() string { + return s.String() +} + +// SetAssignmentId sets the AssignmentId field's value. +func (s *CreateIAMPolicyAssignmentOutput) SetAssignmentId(v string) *CreateIAMPolicyAssignmentOutput { + s.AssignmentId = &v + return s +} + +// SetAssignmentName sets the AssignmentName field's value. +func (s *CreateIAMPolicyAssignmentOutput) SetAssignmentName(v string) *CreateIAMPolicyAssignmentOutput { + s.AssignmentName = &v + return s +} + +// SetAssignmentStatus sets the AssignmentStatus field's value. +func (s *CreateIAMPolicyAssignmentOutput) SetAssignmentStatus(v string) *CreateIAMPolicyAssignmentOutput { + s.AssignmentStatus = &v + return s +} + +// SetIdentities sets the Identities field's value. +func (s *CreateIAMPolicyAssignmentOutput) SetIdentities(v map[string][]*string) *CreateIAMPolicyAssignmentOutput { + s.Identities = v + return s +} + +// SetPolicyArn sets the PolicyArn field's value. +func (s *CreateIAMPolicyAssignmentOutput) SetPolicyArn(v string) *CreateIAMPolicyAssignmentOutput { + s.PolicyArn = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *CreateIAMPolicyAssignmentOutput) SetRequestId(v string) *CreateIAMPolicyAssignmentOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *CreateIAMPolicyAssignmentOutput) SetStatus(v int64) *CreateIAMPolicyAssignmentOutput { + s.Status = &v + return s +} + +type CreateIngestionInput struct { + _ struct{} `type:"structure"` + + // The Amazon Web Services account ID. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The ID of the dataset used in the ingestion. + // + // DataSetId is a required field + DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"` + + // An ID for the ingestion. + // + // IngestionId is a required field + IngestionId *string `location:"uri" locationName:"IngestionId" min:"1" type:"string" required:"true"` + + // The type of ingestion that you want to create. + IngestionType *string `type:"string" enum:"IngestionType"` +} + +// 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 CreateIngestionInput) 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 CreateIngestionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateIngestionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateIngestionInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.DataSetId == nil { + invalidParams.Add(request.NewErrParamRequired("DataSetId")) + } + if s.DataSetId != nil && len(*s.DataSetId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1)) + } + if s.IngestionId == nil { + invalidParams.Add(request.NewErrParamRequired("IngestionId")) + } + if s.IngestionId != nil && len(*s.IngestionId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("IngestionId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *CreateIngestionInput) SetAwsAccountId(v string) *CreateIngestionInput { + s.AwsAccountId = &v + return s +} + +// SetDataSetId sets the DataSetId field's value. +func (s *CreateIngestionInput) SetDataSetId(v string) *CreateIngestionInput { + s.DataSetId = &v + return s +} + +// SetIngestionId sets the IngestionId field's value. +func (s *CreateIngestionInput) SetIngestionId(v string) *CreateIngestionInput { + s.IngestionId = &v + return s +} + +// SetIngestionType sets the IngestionType field's value. +func (s *CreateIngestionInput) SetIngestionType(v string) *CreateIngestionInput { + s.IngestionType = &v + return s +} + +type CreateIngestionOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) for the data ingestion. + Arn *string `type:"string"` + + // An ID for the ingestion. + IngestionId *string `min:"1" type:"string"` + + // The ingestion status. + IngestionStatus *string `type:"string" enum:"IngestionStatus"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 CreateIngestionOutput) 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 CreateIngestionOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *CreateIngestionOutput) SetArn(v string) *CreateIngestionOutput { + s.Arn = &v + return s +} + +// SetIngestionId sets the IngestionId field's value. +func (s *CreateIngestionOutput) SetIngestionId(v string) *CreateIngestionOutput { + s.IngestionId = &v + return s +} + +// SetIngestionStatus sets the IngestionStatus field's value. +func (s *CreateIngestionOutput) SetIngestionStatus(v string) *CreateIngestionOutput { + s.IngestionStatus = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *CreateIngestionOutput) SetRequestId(v string) *CreateIngestionOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *CreateIngestionOutput) SetStatus(v int64) *CreateIngestionOutput { + s.Status = &v + return s +} + +type CreateNamespaceInput struct { + _ struct{} `type:"structure"` + + // The ID for the Amazon Web Services account that you want to create the Amazon + // QuickSight namespace in. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // Specifies the type of your user identity directory. Currently, this supports + // users with an identity type of QUICKSIGHT. + // + // IdentityStore is a required field + IdentityStore *string `type:"string" required:"true" enum:"IdentityStore"` + + // The name that you want to use to describe the new namespace. + // + // Namespace is a required field + Namespace *string `type:"string" required:"true"` + + // The tags that you want to associate with the namespace that you're creating. + Tags []*Tag `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 CreateNamespaceInput) 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 CreateNamespaceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateNamespaceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateNamespaceInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.IdentityStore == nil { + invalidParams.Add(request.NewErrParamRequired("IdentityStore")) + } + if s.Namespace == nil { + invalidParams.Add(request.NewErrParamRequired("Namespace")) + } + if s.Tags != nil && len(s.Tags) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) + } + if s.Tags != nil { + for i, v := range s.Tags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *CreateNamespaceInput) SetAwsAccountId(v string) *CreateNamespaceInput { + s.AwsAccountId = &v + return s +} + +// SetIdentityStore sets the IdentityStore field's value. +func (s *CreateNamespaceInput) SetIdentityStore(v string) *CreateNamespaceInput { + s.IdentityStore = &v + return s +} + +// SetNamespace sets the Namespace field's value. +func (s *CreateNamespaceInput) SetNamespace(v string) *CreateNamespaceInput { + s.Namespace = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateNamespaceInput) SetTags(v []*Tag) *CreateNamespaceInput { + s.Tags = v + return s +} + +type CreateNamespaceOutput struct { + _ struct{} `type:"structure"` + + // The ARN of the Amazon QuickSight namespace you created. + Arn *string `type:"string"` + + // The Amazon Web Services Region; that you want to use for the free SPICE capacity + // for the new namespace. This is set to the region that you run CreateNamespace + // in. + CapacityRegion *string `type:"string"` + + // The status of the creation of the namespace. This is an asynchronous process. + // A status of CREATED means that your namespace is ready to use. If an error + // occurs, it indicates if the process is retryable or non-retryable. In the + // case of a non-retryable error, refer to the error message for follow-up tasks. + CreationStatus *string `type:"string" enum:"NamespaceStatus"` + + // Specifies the type of your user identity directory. Currently, this supports + // users with an identity type of QUICKSIGHT. + IdentityStore *string `type:"string" enum:"IdentityStore"` + + // The name of the new namespace that you created. + Name *string `type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 CreateNamespaceOutput) 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 CreateNamespaceOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *CreateNamespaceOutput) SetArn(v string) *CreateNamespaceOutput { + s.Arn = &v + return s +} + +// SetCapacityRegion sets the CapacityRegion field's value. +func (s *CreateNamespaceOutput) SetCapacityRegion(v string) *CreateNamespaceOutput { + s.CapacityRegion = &v + return s +} + +// SetCreationStatus sets the CreationStatus field's value. +func (s *CreateNamespaceOutput) SetCreationStatus(v string) *CreateNamespaceOutput { + s.CreationStatus = &v + return s +} + +// SetIdentityStore sets the IdentityStore field's value. +func (s *CreateNamespaceOutput) SetIdentityStore(v string) *CreateNamespaceOutput { + s.IdentityStore = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateNamespaceOutput) SetName(v string) *CreateNamespaceOutput { + s.Name = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *CreateNamespaceOutput) SetRequestId(v string) *CreateNamespaceOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *CreateNamespaceOutput) SetStatus(v int64) *CreateNamespaceOutput { + s.Status = &v + return s +} + +type CreateTemplateAliasInput struct { + _ struct{} `type:"structure"` + + // The name that you want to give to the template alias that you're creating. + // Don't start the alias name with the $ character. Alias names that start with + // $ are reserved by Amazon QuickSight. + // + // AliasName is a required field + AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"` + + // The ID of the Amazon Web Services account that contains the template that + // you creating an alias for. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // An ID for the template. + // + // TemplateId is a required field + TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"` + + // The version number of the template. + // + // TemplateVersionNumber is a required field + TemplateVersionNumber *int64 `min:"1" type:"long" required:"true"` +} + +// 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 CreateTemplateAliasInput) 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 CreateTemplateAliasInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateTemplateAliasInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateTemplateAliasInput"} + if s.AliasName == nil { + invalidParams.Add(request.NewErrParamRequired("AliasName")) + } + if s.AliasName != nil && len(*s.AliasName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AliasName", 1)) + } + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.TemplateId == nil { + invalidParams.Add(request.NewErrParamRequired("TemplateId")) + } + if s.TemplateId != nil && len(*s.TemplateId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1)) + } + if s.TemplateVersionNumber == nil { + invalidParams.Add(request.NewErrParamRequired("TemplateVersionNumber")) + } + if s.TemplateVersionNumber != nil && *s.TemplateVersionNumber < 1 { + invalidParams.Add(request.NewErrParamMinValue("TemplateVersionNumber", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAliasName sets the AliasName field's value. +func (s *CreateTemplateAliasInput) SetAliasName(v string) *CreateTemplateAliasInput { + s.AliasName = &v + return s +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *CreateTemplateAliasInput) SetAwsAccountId(v string) *CreateTemplateAliasInput { + s.AwsAccountId = &v + return s +} + +// SetTemplateId sets the TemplateId field's value. +func (s *CreateTemplateAliasInput) SetTemplateId(v string) *CreateTemplateAliasInput { + s.TemplateId = &v + return s +} + +// SetTemplateVersionNumber sets the TemplateVersionNumber field's value. +func (s *CreateTemplateAliasInput) SetTemplateVersionNumber(v int64) *CreateTemplateAliasInput { + s.TemplateVersionNumber = &v + return s +} + +type CreateTemplateAliasOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` + + // Information about the template alias. + TemplateAlias *TemplateAlias `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 CreateTemplateAliasOutput) 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 CreateTemplateAliasOutput) GoString() string { + return s.String() +} + +// SetRequestId sets the RequestId field's value. +func (s *CreateTemplateAliasOutput) SetRequestId(v string) *CreateTemplateAliasOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *CreateTemplateAliasOutput) SetStatus(v int64) *CreateTemplateAliasOutput { + s.Status = &v + return s +} + +// SetTemplateAlias sets the TemplateAlias field's value. +func (s *CreateTemplateAliasOutput) SetTemplateAlias(v *TemplateAlias) *CreateTemplateAliasOutput { + s.TemplateAlias = v + return s +} + +type CreateTemplateInput struct { + _ struct{} `type:"structure"` + + // The ID for the Amazon Web Services account that the group is in. You use + // the ID for the Amazon Web Services account that contains your Amazon QuickSight + // account. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The definition of a template. + // + // A definition is the data model of all features in a Dashboard, Template, + // or Analysis. + Definition *TemplateVersionDefinition `type:"structure"` + + // A display name for the template. + Name *string `min:"1" type:"string"` + + // A list of resource permissions to be set on the template. + Permissions []*ResourcePermission `min:"1" type:"list"` + + // The entity that you are using as a source when you create the template. In + // SourceEntity, you specify the type of object you're using as source: SourceTemplate + // for a template or SourceAnalysis for an analysis. Both of these require an + // Amazon Resource Name (ARN). For SourceTemplate, specify the ARN of the source + // template. For SourceAnalysis, specify the ARN of the source analysis. The + // SourceTemplate ARN can contain any Amazon Web Services account and any Amazon + // QuickSight-supported Amazon Web Services Region. + // + // Use the DataSetReferences entity within SourceTemplate or SourceAnalysis + // to list the replacement datasets for the placeholders listed in the original. + // The schema in each dataset must match its placeholder. + SourceEntity *TemplateSourceEntity `type:"structure"` + + // Contains a map of the key-value pairs for the resource tag or tags assigned + // to the resource. + Tags []*Tag `min:"1" type:"list"` + + // An ID for the template that you want to create. This template is unique per + // Amazon Web Services Region; in each Amazon Web Services account. + // + // TemplateId is a required field + TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"` + + // A description of the current template version being created. This API operation + // creates the first version of the template. Every time UpdateTemplate is called, + // a new version is created. Each version of the template maintains a description + // of the version in the VersionDescription field. + VersionDescription *string `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 CreateTemplateInput) 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 CreateTemplateInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateTemplateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateTemplateInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.Permissions != nil && len(s.Permissions) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Permissions", 1)) + } + if s.Tags != nil && len(s.Tags) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) + } + if s.TemplateId == nil { + invalidParams.Add(request.NewErrParamRequired("TemplateId")) + } + if s.TemplateId != nil && len(*s.TemplateId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1)) + } + if s.VersionDescription != nil && len(*s.VersionDescription) < 1 { + invalidParams.Add(request.NewErrParamMinLen("VersionDescription", 1)) + } + if s.Definition != nil { + if err := s.Definition.Validate(); err != nil { + invalidParams.AddNested("Definition", err.(request.ErrInvalidParams)) + } + } + if s.Permissions != nil { + for i, v := range s.Permissions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams)) + } + } + } + if s.SourceEntity != nil { + if err := s.SourceEntity.Validate(); err != nil { + invalidParams.AddNested("SourceEntity", err.(request.ErrInvalidParams)) + } + } + if s.Tags != nil { + for i, v := range s.Tags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *CreateTemplateInput) SetAwsAccountId(v string) *CreateTemplateInput { + s.AwsAccountId = &v + return s +} + +// SetDefinition sets the Definition field's value. +func (s *CreateTemplateInput) SetDefinition(v *TemplateVersionDefinition) *CreateTemplateInput { + s.Definition = v + return s +} + +// SetName sets the Name field's value. +func (s *CreateTemplateInput) SetName(v string) *CreateTemplateInput { + s.Name = &v + return s +} + +// SetPermissions sets the Permissions field's value. +func (s *CreateTemplateInput) SetPermissions(v []*ResourcePermission) *CreateTemplateInput { + s.Permissions = v + return s +} + +// SetSourceEntity sets the SourceEntity field's value. +func (s *CreateTemplateInput) SetSourceEntity(v *TemplateSourceEntity) *CreateTemplateInput { + s.SourceEntity = v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateTemplateInput) SetTags(v []*Tag) *CreateTemplateInput { + s.Tags = v + return s +} + +// SetTemplateId sets the TemplateId field's value. +func (s *CreateTemplateInput) SetTemplateId(v string) *CreateTemplateInput { + s.TemplateId = &v + return s +} + +// SetVersionDescription sets the VersionDescription field's value. +func (s *CreateTemplateInput) SetVersionDescription(v string) *CreateTemplateInput { + s.VersionDescription = &v + return s +} + +type CreateTemplateOutput struct { + _ struct{} `type:"structure"` + + // The ARN for the template. + Arn *string `type:"string"` + + // The template creation status. + CreationStatus *string `type:"string" enum:"ResourceStatus"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` + + // The ID of the template. + TemplateId *string `min:"1" type:"string"` + + // The ARN for the template, including the version information of the first + // version. + VersionArn *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 CreateTemplateOutput) 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 CreateTemplateOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *CreateTemplateOutput) SetArn(v string) *CreateTemplateOutput { + s.Arn = &v + return s +} + +// SetCreationStatus sets the CreationStatus field's value. +func (s *CreateTemplateOutput) SetCreationStatus(v string) *CreateTemplateOutput { + s.CreationStatus = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *CreateTemplateOutput) SetRequestId(v string) *CreateTemplateOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *CreateTemplateOutput) SetStatus(v int64) *CreateTemplateOutput { + s.Status = &v + return s +} + +// SetTemplateId sets the TemplateId field's value. +func (s *CreateTemplateOutput) SetTemplateId(v string) *CreateTemplateOutput { + s.TemplateId = &v + return s +} + +// SetVersionArn sets the VersionArn field's value. +func (s *CreateTemplateOutput) SetVersionArn(v string) *CreateTemplateOutput { + s.VersionArn = &v + return s +} + +type CreateThemeAliasInput struct { + _ struct{} `type:"structure"` + + // The name that you want to give to the theme alias that you are creating. + // The alias name can't begin with a $. Alias names that start with $ are reserved + // by Amazon QuickSight. + // + // AliasName is a required field + AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"` + + // The ID of the Amazon Web Services account that contains the theme for the + // new theme alias. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // An ID for the theme alias. + // + // ThemeId is a required field + ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"` + + // The version number of the theme. + // + // ThemeVersionNumber is a required field + ThemeVersionNumber *int64 `min:"1" type:"long" required:"true"` +} + +// 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 CreateThemeAliasInput) 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 CreateThemeAliasInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateThemeAliasInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateThemeAliasInput"} + if s.AliasName == nil { + invalidParams.Add(request.NewErrParamRequired("AliasName")) + } + if s.AliasName != nil && len(*s.AliasName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AliasName", 1)) + } + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.ThemeId == nil { + invalidParams.Add(request.NewErrParamRequired("ThemeId")) + } + if s.ThemeId != nil && len(*s.ThemeId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1)) + } + if s.ThemeVersionNumber == nil { + invalidParams.Add(request.NewErrParamRequired("ThemeVersionNumber")) + } + if s.ThemeVersionNumber != nil && *s.ThemeVersionNumber < 1 { + invalidParams.Add(request.NewErrParamMinValue("ThemeVersionNumber", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAliasName sets the AliasName field's value. +func (s *CreateThemeAliasInput) SetAliasName(v string) *CreateThemeAliasInput { + s.AliasName = &v + return s +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *CreateThemeAliasInput) SetAwsAccountId(v string) *CreateThemeAliasInput { + s.AwsAccountId = &v + return s +} + +// SetThemeId sets the ThemeId field's value. +func (s *CreateThemeAliasInput) SetThemeId(v string) *CreateThemeAliasInput { + s.ThemeId = &v + return s +} + +// SetThemeVersionNumber sets the ThemeVersionNumber field's value. +func (s *CreateThemeAliasInput) SetThemeVersionNumber(v int64) *CreateThemeAliasInput { + s.ThemeVersionNumber = &v + return s +} + +type CreateThemeAliasOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` + + // Information about the theme alias. + ThemeAlias *ThemeAlias `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 CreateThemeAliasOutput) 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 CreateThemeAliasOutput) GoString() string { + return s.String() +} + +// SetRequestId sets the RequestId field's value. +func (s *CreateThemeAliasOutput) SetRequestId(v string) *CreateThemeAliasOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *CreateThemeAliasOutput) SetStatus(v int64) *CreateThemeAliasOutput { + s.Status = &v + return s +} + +// SetThemeAlias sets the ThemeAlias field's value. +func (s *CreateThemeAliasOutput) SetThemeAlias(v *ThemeAlias) *CreateThemeAliasOutput { + s.ThemeAlias = v + return s +} + +type CreateThemeInput struct { + _ struct{} `type:"structure"` + + // The ID of the Amazon Web Services account where you want to store the new + // theme. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The ID of the theme that a custom theme will inherit from. All themes inherit + // from one of the starting themes defined by Amazon QuickSight. For a list + // of the starting themes, use ListThemes or choose Themes from within an analysis. + // + // BaseThemeId is a required field + BaseThemeId *string `min:"1" type:"string" required:"true"` + + // The theme configuration, which contains the theme display properties. + // + // Configuration is a required field + Configuration *ThemeConfiguration `type:"structure" required:"true"` + + // A display name for the theme. + // + // Name is a required field + Name *string `min:"1" type:"string" required:"true"` + + // A valid grouping of resource permissions to apply to the new theme. + Permissions []*ResourcePermission `min:"1" type:"list"` + + // A map of the key-value pairs for the resource tag or tags that you want to + // add to the resource. + Tags []*Tag `min:"1" type:"list"` + + // An ID for the theme that you want to create. The theme ID is unique per Amazon + // Web Services Region in each Amazon Web Services account. + // + // ThemeId is a required field + ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"` + + // A description of the first version of the theme that you're creating. Every + // time UpdateTheme is called, a new version is created. Each version of the + // theme has a description of the version in the VersionDescription field. + VersionDescription *string `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 CreateThemeInput) 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 CreateThemeInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateThemeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateThemeInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.BaseThemeId == nil { + invalidParams.Add(request.NewErrParamRequired("BaseThemeId")) + } + if s.BaseThemeId != nil && len(*s.BaseThemeId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("BaseThemeId", 1)) + } + if s.Configuration == nil { + invalidParams.Add(request.NewErrParamRequired("Configuration")) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.Permissions != nil && len(s.Permissions) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Permissions", 1)) + } + if s.Tags != nil && len(s.Tags) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) + } + if s.ThemeId == nil { + invalidParams.Add(request.NewErrParamRequired("ThemeId")) + } + if s.ThemeId != nil && len(*s.ThemeId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1)) + } + if s.VersionDescription != nil && len(*s.VersionDescription) < 1 { + invalidParams.Add(request.NewErrParamMinLen("VersionDescription", 1)) + } + if s.Permissions != nil { + for i, v := range s.Permissions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Tags != nil { + for i, v := range s.Tags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *CreateThemeInput) SetAwsAccountId(v string) *CreateThemeInput { + s.AwsAccountId = &v + return s +} + +// SetBaseThemeId sets the BaseThemeId field's value. +func (s *CreateThemeInput) SetBaseThemeId(v string) *CreateThemeInput { + s.BaseThemeId = &v + return s +} + +// SetConfiguration sets the Configuration field's value. +func (s *CreateThemeInput) SetConfiguration(v *ThemeConfiguration) *CreateThemeInput { + s.Configuration = v + return s +} + +// SetName sets the Name field's value. +func (s *CreateThemeInput) SetName(v string) *CreateThemeInput { + s.Name = &v + return s +} + +// SetPermissions sets the Permissions field's value. +func (s *CreateThemeInput) SetPermissions(v []*ResourcePermission) *CreateThemeInput { + s.Permissions = v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateThemeInput) SetTags(v []*Tag) *CreateThemeInput { + s.Tags = v + return s +} + +// SetThemeId sets the ThemeId field's value. +func (s *CreateThemeInput) SetThemeId(v string) *CreateThemeInput { + s.ThemeId = &v + return s +} + +// SetVersionDescription sets the VersionDescription field's value. +func (s *CreateThemeInput) SetVersionDescription(v string) *CreateThemeInput { + s.VersionDescription = &v + return s +} + +type CreateThemeOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) for the theme. + Arn *string `type:"string"` + + // The theme creation status. + CreationStatus *string `type:"string" enum:"ResourceStatus"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` + + // The ID of the theme. + ThemeId *string `min:"1" type:"string"` + + // The Amazon Resource Name (ARN) for the new theme. + VersionArn *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 CreateThemeOutput) 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 CreateThemeOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *CreateThemeOutput) SetArn(v string) *CreateThemeOutput { + s.Arn = &v + return s +} + +// SetCreationStatus sets the CreationStatus field's value. +func (s *CreateThemeOutput) SetCreationStatus(v string) *CreateThemeOutput { + s.CreationStatus = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *CreateThemeOutput) SetRequestId(v string) *CreateThemeOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *CreateThemeOutput) SetStatus(v int64) *CreateThemeOutput { + s.Status = &v + return s +} + +// SetThemeId sets the ThemeId field's value. +func (s *CreateThemeOutput) SetThemeId(v string) *CreateThemeOutput { + s.ThemeId = &v + return s +} + +// SetVersionArn sets the VersionArn field's value. +func (s *CreateThemeOutput) SetVersionArn(v string) *CreateThemeOutput { + s.VersionArn = &v + return s +} + +// The combination of user name and password that are used as credentials. +type CredentialPair struct { + _ struct{} `type:"structure"` + + // A set of alternate data source parameters that you want to share for these + // credentials. The credentials are applied in tandem with the data source parameters + // when you copy a data source by using a create or update request. The API + // operation compares the DataSourceParameters structure that's in the request + // with the structures in the AlternateDataSourceParameters allow list. If the + // structures are an exact match, the request is allowed to use the new data + // source with the existing credentials. If the AlternateDataSourceParameters + // list is null, the DataSourceParameters originally used with these Credentials + // is automatically allowed. + AlternateDataSourceParameters []*DataSourceParameters `min:"1" type:"list"` + + // Password. + // + // Password is a required field + Password *string `min:"1" type:"string" required:"true"` + + // User name. + // + // Username is a required field + Username *string `min:"1" type:"string" required:"true"` +} + +// 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 CredentialPair) 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 CredentialPair) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CredentialPair) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CredentialPair"} + if s.AlternateDataSourceParameters != nil && len(s.AlternateDataSourceParameters) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AlternateDataSourceParameters", 1)) + } + if s.Password == nil { + invalidParams.Add(request.NewErrParamRequired("Password")) + } + if s.Password != nil && len(*s.Password) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Password", 1)) + } + if s.Username == nil { + invalidParams.Add(request.NewErrParamRequired("Username")) + } + if s.Username != nil && len(*s.Username) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Username", 1)) + } + if s.AlternateDataSourceParameters != nil { + for i, v := range s.AlternateDataSourceParameters { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "AlternateDataSourceParameters", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAlternateDataSourceParameters sets the AlternateDataSourceParameters field's value. +func (s *CredentialPair) SetAlternateDataSourceParameters(v []*DataSourceParameters) *CredentialPair { + s.AlternateDataSourceParameters = v + return s +} + +// SetPassword sets the Password field's value. +func (s *CredentialPair) SetPassword(v string) *CredentialPair { + s.Password = &v + return s +} + +// SetUsername sets the Username field's value. +func (s *CredentialPair) SetUsername(v string) *CredentialPair { + s.Username = &v + return s +} + +// The options that determine the currency display format configuration. +type CurrencyDisplayFormatConfiguration struct { + _ struct{} `type:"structure"` + + // The option that determines the decimal places configuration. + DecimalPlacesConfiguration *DecimalPlacesConfiguration `type:"structure"` + + // The options that determine the negative value configuration. + NegativeValueConfiguration *NegativeValueConfiguration `type:"structure"` + + // The options that determine the null value format configuration. + NullValueFormatConfiguration *NullValueFormatConfiguration `type:"structure"` + + // Determines the number scale value for the currency format. + NumberScale *string `type:"string" enum:"NumberScale"` + + // Determines the prefix value of the currency format. + // + // Prefix is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by CurrencyDisplayFormatConfiguration's + // String and GoString methods. + Prefix *string `min:"1" type:"string" sensitive:"true"` + + // The options that determine the numeric separator configuration. + SeparatorConfiguration *NumericSeparatorConfiguration `type:"structure"` + + // Determines the suffix value of the currency format. + // + // Suffix is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by CurrencyDisplayFormatConfiguration's + // String and GoString methods. + Suffix *string `min:"1" type:"string" sensitive:"true"` + + // Determines the symbol for the currency format. + Symbol *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 CurrencyDisplayFormatConfiguration) 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 CurrencyDisplayFormatConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CurrencyDisplayFormatConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CurrencyDisplayFormatConfiguration"} + if s.Prefix != nil && len(*s.Prefix) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Prefix", 1)) + } + if s.Suffix != nil && len(*s.Suffix) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Suffix", 1)) + } + if s.DecimalPlacesConfiguration != nil { + if err := s.DecimalPlacesConfiguration.Validate(); err != nil { + invalidParams.AddNested("DecimalPlacesConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.NegativeValueConfiguration != nil { + if err := s.NegativeValueConfiguration.Validate(); err != nil { + invalidParams.AddNested("NegativeValueConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.NullValueFormatConfiguration != nil { + if err := s.NullValueFormatConfiguration.Validate(); err != nil { + invalidParams.AddNested("NullValueFormatConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDecimalPlacesConfiguration sets the DecimalPlacesConfiguration field's value. +func (s *CurrencyDisplayFormatConfiguration) SetDecimalPlacesConfiguration(v *DecimalPlacesConfiguration) *CurrencyDisplayFormatConfiguration { + s.DecimalPlacesConfiguration = v + return s +} + +// SetNegativeValueConfiguration sets the NegativeValueConfiguration field's value. +func (s *CurrencyDisplayFormatConfiguration) SetNegativeValueConfiguration(v *NegativeValueConfiguration) *CurrencyDisplayFormatConfiguration { + s.NegativeValueConfiguration = v + return s +} + +// SetNullValueFormatConfiguration sets the NullValueFormatConfiguration field's value. +func (s *CurrencyDisplayFormatConfiguration) SetNullValueFormatConfiguration(v *NullValueFormatConfiguration) *CurrencyDisplayFormatConfiguration { + s.NullValueFormatConfiguration = v + return s +} + +// SetNumberScale sets the NumberScale field's value. +func (s *CurrencyDisplayFormatConfiguration) SetNumberScale(v string) *CurrencyDisplayFormatConfiguration { + s.NumberScale = &v + return s +} + +// SetPrefix sets the Prefix field's value. +func (s *CurrencyDisplayFormatConfiguration) SetPrefix(v string) *CurrencyDisplayFormatConfiguration { + s.Prefix = &v + return s +} + +// SetSeparatorConfiguration sets the SeparatorConfiguration field's value. +func (s *CurrencyDisplayFormatConfiguration) SetSeparatorConfiguration(v *NumericSeparatorConfiguration) *CurrencyDisplayFormatConfiguration { + s.SeparatorConfiguration = v + return s +} + +// SetSuffix sets the Suffix field's value. +func (s *CurrencyDisplayFormatConfiguration) SetSuffix(v string) *CurrencyDisplayFormatConfiguration { + s.Suffix = &v + return s +} + +// SetSymbol sets the Symbol field's value. +func (s *CurrencyDisplayFormatConfiguration) SetSymbol(v string) *CurrencyDisplayFormatConfiguration { + s.Symbol = &v + return s +} + +// The filter operation that filters data included in a visual or in an entire +// sheet. +type CustomActionFilterOperation struct { + _ struct{} `type:"structure"` + + // The configuration that chooses the fields to be filtered. + // + // SelectedFieldsConfiguration is a required field + SelectedFieldsConfiguration *FilterOperationSelectedFieldsConfiguration `type:"structure" required:"true"` + + // The configuration that chooses the target visuals to be filtered. + // + // TargetVisualsConfiguration is a required field + TargetVisualsConfiguration *FilterOperationTargetVisualsConfiguration `type:"structure" required:"true"` +} + +// 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 CustomActionFilterOperation) 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 CustomActionFilterOperation) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CustomActionFilterOperation) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CustomActionFilterOperation"} + if s.SelectedFieldsConfiguration == nil { + invalidParams.Add(request.NewErrParamRequired("SelectedFieldsConfiguration")) + } + if s.TargetVisualsConfiguration == nil { + invalidParams.Add(request.NewErrParamRequired("TargetVisualsConfiguration")) + } + if s.SelectedFieldsConfiguration != nil { + if err := s.SelectedFieldsConfiguration.Validate(); err != nil { + invalidParams.AddNested("SelectedFieldsConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.TargetVisualsConfiguration != nil { + if err := s.TargetVisualsConfiguration.Validate(); err != nil { + invalidParams.AddNested("TargetVisualsConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetSelectedFieldsConfiguration sets the SelectedFieldsConfiguration field's value. +func (s *CustomActionFilterOperation) SetSelectedFieldsConfiguration(v *FilterOperationSelectedFieldsConfiguration) *CustomActionFilterOperation { + s.SelectedFieldsConfiguration = v + return s +} + +// SetTargetVisualsConfiguration sets the TargetVisualsConfiguration field's value. +func (s *CustomActionFilterOperation) SetTargetVisualsConfiguration(v *FilterOperationTargetVisualsConfiguration) *CustomActionFilterOperation { + s.TargetVisualsConfiguration = v + return s +} + +// The navigation operation that navigates between different sheets in the same +// analysis. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type CustomActionNavigationOperation struct { + _ struct{} `type:"structure"` + + // The configuration that chooses the navigation target. + LocalNavigationConfiguration *LocalNavigationConfiguration `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 CustomActionNavigationOperation) 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 CustomActionNavigationOperation) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CustomActionNavigationOperation) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CustomActionNavigationOperation"} + if s.LocalNavigationConfiguration != nil { + if err := s.LocalNavigationConfiguration.Validate(); err != nil { + invalidParams.AddNested("LocalNavigationConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetLocalNavigationConfiguration sets the LocalNavigationConfiguration field's value. +func (s *CustomActionNavigationOperation) SetLocalNavigationConfiguration(v *LocalNavigationConfiguration) *CustomActionNavigationOperation { + s.LocalNavigationConfiguration = v + return s +} + +// The set parameter operation that sets parameters in custom action. +type CustomActionSetParametersOperation struct { + _ struct{} `type:"structure"` + + // The parameter that determines the value configuration. + // + // ParameterValueConfigurations is a required field + ParameterValueConfigurations []*SetParameterValueConfiguration `min:"1" type:"list" required:"true"` +} + +// 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 CustomActionSetParametersOperation) 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 CustomActionSetParametersOperation) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CustomActionSetParametersOperation) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CustomActionSetParametersOperation"} + if s.ParameterValueConfigurations == nil { + invalidParams.Add(request.NewErrParamRequired("ParameterValueConfigurations")) + } + if s.ParameterValueConfigurations != nil && len(s.ParameterValueConfigurations) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ParameterValueConfigurations", 1)) + } + if s.ParameterValueConfigurations != nil { + for i, v := range s.ParameterValueConfigurations { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ParameterValueConfigurations", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetParameterValueConfigurations sets the ParameterValueConfigurations field's value. +func (s *CustomActionSetParametersOperation) SetParameterValueConfigurations(v []*SetParameterValueConfiguration) *CustomActionSetParametersOperation { + s.ParameterValueConfigurations = v + return s +} + +// The URL operation that opens a link to another webpage. +type CustomActionURLOperation struct { + _ struct{} `type:"structure"` + + // The target of the CustomActionURLOperation. + // + // Valid values are defined as follows: + // + // * NEW_TAB: Opens the target URL in a new browser tab. + // + // * NEW_WINDOW: Opens the target URL in a new browser window. + // + // * SAME_TAB: Opens the target URL in the same browser tab. + // + // URLTarget is a required field + URLTarget *string `type:"string" required:"true" enum:"URLTargetConfiguration"` + + // THe URL link of the CustomActionURLOperation. + // + // URLTemplate is a required field + URLTemplate *string `min:"1" type:"string" required:"true"` +} + +// 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 CustomActionURLOperation) 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 CustomActionURLOperation) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CustomActionURLOperation) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CustomActionURLOperation"} + if s.URLTarget == nil { + invalidParams.Add(request.NewErrParamRequired("URLTarget")) + } + if s.URLTemplate == nil { + invalidParams.Add(request.NewErrParamRequired("URLTemplate")) + } + if s.URLTemplate != nil && len(*s.URLTemplate) < 1 { + invalidParams.Add(request.NewErrParamMinLen("URLTemplate", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetURLTarget sets the URLTarget field's value. +func (s *CustomActionURLOperation) SetURLTarget(v string) *CustomActionURLOperation { + s.URLTarget = &v + return s +} + +// SetURLTemplate sets the URLTemplate field's value. +func (s *CustomActionURLOperation) SetURLTemplate(v string) *CustomActionURLOperation { + s.URLTemplate = &v + return s +} + +// The configuration of a CustomContentVisual. +type CustomContentConfiguration struct { + _ struct{} `type:"structure"` + + // The content type of the custom content visual. You can use this to have the + // visual render as an image. + ContentType *string `type:"string" enum:"CustomContentType"` + + // The input URL that links to the custom content that you want in the custom + // visual. + ContentUrl *string `min:"1" type:"string"` + + // 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"` +} + +// 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 CustomContentConfiguration) 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 CustomContentConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CustomContentConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CustomContentConfiguration"} + if s.ContentUrl != nil && len(*s.ContentUrl) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ContentUrl", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetContentType sets the ContentType field's value. +func (s *CustomContentConfiguration) SetContentType(v string) *CustomContentConfiguration { + s.ContentType = &v + return s +} + +// SetContentUrl sets the ContentUrl field's value. +func (s *CustomContentConfiguration) SetContentUrl(v string) *CustomContentConfiguration { + s.ContentUrl = &v + return s +} + +// SetImageScaling sets the ImageScaling field's value. +func (s *CustomContentConfiguration) SetImageScaling(v string) *CustomContentConfiguration { + s.ImageScaling = &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) +// in the Amazon QuickSight User Guide. +type CustomContentVisual struct { + _ struct{} `type:"structure"` + + // The list of custom actions that are configured for a visual. + Actions []*VisualCustomAction `type:"list"` + + // The configuration of a CustomContentVisual. + ChartConfiguration *CustomContentConfiguration `type:"structure"` + + // The dataset that is used to create the custom content visual. You can't create + // a visual without a dataset. + // + // DataSetIdentifier is a required field + DataSetIdentifier *string `min:"1" type:"string" required:"true"` + + // The subtitle that is displayed on the visual. + Subtitle *VisualSubtitleLabelOptions `type:"structure"` + + // The title that is displayed on the visual. + Title *VisualTitleLabelOptions `type:"structure"` + + // The unique identifier of a visual. This identifier must be unique within + // the context of a dashboard, template, or analysis. Two dashboards, analyses, + // or templates can have visuals with the same identifiers. + // + // VisualId is a required field + VisualId *string `min:"1" type:"string" required:"true"` +} + +// 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 CustomContentVisual) 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 CustomContentVisual) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CustomContentVisual) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CustomContentVisual"} + if s.DataSetIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("DataSetIdentifier")) + } + if s.DataSetIdentifier != nil && len(*s.DataSetIdentifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DataSetIdentifier", 1)) + } + if s.VisualId == nil { + invalidParams.Add(request.NewErrParamRequired("VisualId")) + } + if s.VisualId != nil && len(*s.VisualId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("VisualId", 1)) + } + if s.Actions != nil { + for i, v := range s.Actions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Actions", i), err.(request.ErrInvalidParams)) + } + } + } + if s.ChartConfiguration != nil { + if err := s.ChartConfiguration.Validate(); err != nil { + invalidParams.AddNested("ChartConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.Subtitle != nil { + if err := s.Subtitle.Validate(); err != nil { + invalidParams.AddNested("Subtitle", err.(request.ErrInvalidParams)) + } + } + if s.Title != nil { + if err := s.Title.Validate(); err != nil { + invalidParams.AddNested("Title", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetActions sets the Actions field's value. +func (s *CustomContentVisual) SetActions(v []*VisualCustomAction) *CustomContentVisual { + s.Actions = v + return s +} + +// SetChartConfiguration sets the ChartConfiguration field's value. +func (s *CustomContentVisual) SetChartConfiguration(v *CustomContentConfiguration) *CustomContentVisual { + s.ChartConfiguration = v + return s +} + +// SetDataSetIdentifier sets the DataSetIdentifier field's value. +func (s *CustomContentVisual) SetDataSetIdentifier(v string) *CustomContentVisual { + s.DataSetIdentifier = &v + return s +} + +// SetSubtitle sets the Subtitle field's value. +func (s *CustomContentVisual) SetSubtitle(v *VisualSubtitleLabelOptions) *CustomContentVisual { + s.Subtitle = v + return s +} + +// SetTitle sets the Title field's value. +func (s *CustomContentVisual) SetTitle(v *VisualTitleLabelOptions) *CustomContentVisual { + s.Title = v + return s +} + +// SetVisualId sets the VisualId field's value. +func (s *CustomContentVisual) SetVisualId(v string) *CustomContentVisual { + s.VisualId = &v + return s +} + +// A custom filter that filters based on a single value. This filter can be +// partially matched. +type CustomFilterConfiguration struct { + _ struct{} `type:"structure"` + + // The category value for the filter. + // + // This field is mutually exclusive to ParameterName. + CategoryValue *string `type:"string"` + + // The match operator that is used to determine if a filter should be applied. + // + // MatchOperator is a required field + MatchOperator *string `type:"string" required:"true" enum:"CategoryFilterMatchOperator"` + + // This option determines how null values should be treated when filtering data. + // + // * ALL_VALUES: Include null values in filtered results. + // + // * NULLS_ONLY: Only include null values in filtered results. + // + // * NON_NULLS_ONLY: Exclude null values from filtered results. + // + // NullOption is a required field + NullOption *string `type:"string" required:"true" enum:"FilterNullOption"` + + // The parameter whose value should be used for the filter value. + // + // This field is mutually exclusive to CategoryValue. + ParameterName *string `min:"1" type:"string"` + + // Select all of the values. Null is not the assigned value of select all. + // + // * FILTER_ALL_VALUES + SelectAllOptions *string `type:"string" enum:"CategoryFilterSelectAllOptions"` +} + +// 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 CustomFilterConfiguration) 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 CustomFilterConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CustomFilterConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CustomFilterConfiguration"} + if s.MatchOperator == nil { + invalidParams.Add(request.NewErrParamRequired("MatchOperator")) + } + if s.NullOption == nil { + invalidParams.Add(request.NewErrParamRequired("NullOption")) + } + if s.ParameterName != nil && len(*s.ParameterName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ParameterName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCategoryValue sets the CategoryValue field's value. +func (s *CustomFilterConfiguration) SetCategoryValue(v string) *CustomFilterConfiguration { + s.CategoryValue = &v + return s +} + +// SetMatchOperator sets the MatchOperator field's value. +func (s *CustomFilterConfiguration) SetMatchOperator(v string) *CustomFilterConfiguration { + s.MatchOperator = &v + return s +} + +// SetNullOption sets the NullOption field's value. +func (s *CustomFilterConfiguration) SetNullOption(v string) *CustomFilterConfiguration { + s.NullOption = &v + return s +} + +// SetParameterName sets the ParameterName field's value. +func (s *CustomFilterConfiguration) SetParameterName(v string) *CustomFilterConfiguration { + s.ParameterName = &v + return s +} + +// SetSelectAllOptions sets the SelectAllOptions field's value. +func (s *CustomFilterConfiguration) SetSelectAllOptions(v string) *CustomFilterConfiguration { + s.SelectAllOptions = &v + return s +} + +// A list of custom filter values. +type CustomFilterListConfiguration struct { + _ struct{} `type:"structure"` + + // The list of category values for the filter. + CategoryValues []*string `type:"list"` + + // The match operator that is used to determine if a filter should be applied. + // + // MatchOperator is a required field + MatchOperator *string `type:"string" required:"true" enum:"CategoryFilterMatchOperator"` + + // This option determines how null values should be treated when filtering data. + // + // * ALL_VALUES: Include null values in filtered results. + // + // * NULLS_ONLY: Only include null values in filtered results. + // + // * NON_NULLS_ONLY: Exclude null values from filtered results. + // + // NullOption is a required field + NullOption *string `type:"string" required:"true" enum:"FilterNullOption"` + + // Select all of the values. Null is not the assigned value of select all. + // + // * FILTER_ALL_VALUES + SelectAllOptions *string `type:"string" enum:"CategoryFilterSelectAllOptions"` +} + +// 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 CustomFilterListConfiguration) 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 CustomFilterListConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CustomFilterListConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CustomFilterListConfiguration"} + if s.MatchOperator == nil { + invalidParams.Add(request.NewErrParamRequired("MatchOperator")) + } + if s.NullOption == nil { + invalidParams.Add(request.NewErrParamRequired("NullOption")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCategoryValues sets the CategoryValues field's value. +func (s *CustomFilterListConfiguration) SetCategoryValues(v []*string) *CustomFilterListConfiguration { + s.CategoryValues = v + return s +} + +// SetMatchOperator sets the MatchOperator field's value. +func (s *CustomFilterListConfiguration) SetMatchOperator(v string) *CustomFilterListConfiguration { + s.MatchOperator = &v + return s +} + +// SetNullOption sets the NullOption field's value. +func (s *CustomFilterListConfiguration) SetNullOption(v string) *CustomFilterListConfiguration { + s.NullOption = &v + return s +} + +// SetSelectAllOptions sets the SelectAllOptions field's value. +func (s *CustomFilterListConfiguration) SetSelectAllOptions(v string) *CustomFilterListConfiguration { + s.SelectAllOptions = &v + return s +} + +// The custom narrative options. +type CustomNarrativeOptions struct { + _ struct{} `type:"structure"` + + // The string input of custom narrative. + // + // Narrative is a required field + Narrative *string `type:"string" required:"true"` +} + +// 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 CustomNarrativeOptions) 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 CustomNarrativeOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CustomNarrativeOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CustomNarrativeOptions"} + if s.Narrative == nil { + invalidParams.Add(request.NewErrParamRequired("Narrative")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetNarrative sets the Narrative field's value. +func (s *CustomNarrativeOptions) SetNarrative(v string) *CustomNarrativeOptions { + s.Narrative = &v + return s +} + +// The customized parameter values. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type CustomParameterValues struct { + _ struct{} `type:"structure"` + + // A list of datetime-type parameter values. + DateTimeValues []*time.Time `type:"list"` + + // A list of decimal-type parameter values. + DecimalValues []*float64 `type:"list"` + + // A list of integer-type parameter values. + IntegerValues []*int64 `type:"list"` + + // A list of string-type parameter values. + StringValues []*string `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 CustomParameterValues) 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 CustomParameterValues) GoString() string { + return s.String() +} + +// SetDateTimeValues sets the DateTimeValues field's value. +func (s *CustomParameterValues) SetDateTimeValues(v []*time.Time) *CustomParameterValues { + s.DateTimeValues = v + return s +} + +// SetDecimalValues sets the DecimalValues field's value. +func (s *CustomParameterValues) SetDecimalValues(v []*float64) *CustomParameterValues { + s.DecimalValues = v + return s +} + +// SetIntegerValues sets the IntegerValues field's value. +func (s *CustomParameterValues) SetIntegerValues(v []*int64) *CustomParameterValues { + s.IntegerValues = v + return s +} + +// SetStringValues sets the StringValues field's value. +func (s *CustomParameterValues) SetStringValues(v []*string) *CustomParameterValues { + s.StringValues = v + return s +} + +// A physical table type built from the results of the custom SQL query. +type CustomSql struct { + _ struct{} `type:"structure"` + + // The column schema from the SQL query result set. + Columns []*InputColumn `min:"1" type:"list"` + + // The Amazon Resource Name (ARN) of the data source. + // + // DataSourceArn is a required field + DataSourceArn *string `type:"string" required:"true"` + + // A display name for the SQL query result. + // + // Name is a required field + Name *string `min:"1" type:"string" required:"true"` + + // The SQL query. + // + // SqlQuery is a required field + SqlQuery *string `min:"1" type:"string" required:"true"` +} + +// 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 CustomSql) 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 CustomSql) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CustomSql) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CustomSql"} + if s.Columns != nil && len(s.Columns) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Columns", 1)) + } + if s.DataSourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("DataSourceArn")) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.SqlQuery == nil { + invalidParams.Add(request.NewErrParamRequired("SqlQuery")) + } + if s.SqlQuery != nil && len(*s.SqlQuery) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SqlQuery", 1)) + } + if s.Columns != nil { + for i, v := range s.Columns { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Columns", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetColumns sets the Columns field's value. +func (s *CustomSql) SetColumns(v []*InputColumn) *CustomSql { + s.Columns = v + return s +} + +// SetDataSourceArn sets the DataSourceArn field's value. +func (s *CustomSql) SetDataSourceArn(v string) *CustomSql { + s.DataSourceArn = &v + return s +} + +// SetName sets the Name field's value. +func (s *CustomSql) SetName(v string) *CustomSql { + s.Name = &v + return s +} + +// SetSqlQuery sets the SqlQuery field's value. +func (s *CustomSql) SetSqlQuery(v string) *CustomSql { + s.SqlQuery = &v + return s +} + +// The configuration of custom values for the destination parameter in DestinationParameterValueConfiguration. +type CustomValuesConfiguration struct { + _ struct{} `type:"structure"` + + // The customized parameter values. + // + // This is a union type structure. For this structure to be valid, only one + // of the attributes can be defined. + // + // CustomValues is a required field + CustomValues *CustomParameterValues `type:"structure" required:"true"` + + // Includes the null value in custom action parameter values. + IncludeNullValue *bool `type:"boolean"` +} + +// 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 CustomValuesConfiguration) 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 CustomValuesConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CustomValuesConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CustomValuesConfiguration"} + if s.CustomValues == nil { + invalidParams.Add(request.NewErrParamRequired("CustomValues")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCustomValues sets the CustomValues field's value. +func (s *CustomValuesConfiguration) SetCustomValues(v *CustomParameterValues) *CustomValuesConfiguration { + s.CustomValues = v + return s +} + +// SetIncludeNullValue sets the IncludeNullValue field's value. +func (s *CustomValuesConfiguration) SetIncludeNullValue(v bool) *CustomValuesConfiguration { + s.IncludeNullValue = &v + return s +} + +// Dashboard. +type Dashboard struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the resource. + Arn *string `type:"string"` + + // The time that this dashboard was created. + CreatedTime *time.Time `type:"timestamp"` + + // Dashboard ID. + DashboardId *string `min:"1" type:"string"` + + // The last time that this dashboard was published. + LastPublishedTime *time.Time `type:"timestamp"` + + // The last time that this dashboard was updated. + LastUpdatedTime *time.Time `type:"timestamp"` + + // A display name for the dashboard. + Name *string `min:"1" type:"string"` + + // Version. + Version *DashboardVersion `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 Dashboard) 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 Dashboard) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *Dashboard) SetArn(v string) *Dashboard { + s.Arn = &v + return s +} + +// SetCreatedTime sets the CreatedTime field's value. +func (s *Dashboard) SetCreatedTime(v time.Time) *Dashboard { + s.CreatedTime = &v + return s +} + +// SetDashboardId sets the DashboardId field's value. +func (s *Dashboard) SetDashboardId(v string) *Dashboard { + s.DashboardId = &v + return s +} + +// SetLastPublishedTime sets the LastPublishedTime field's value. +func (s *Dashboard) SetLastPublishedTime(v time.Time) *Dashboard { + s.LastPublishedTime = &v + return s +} + +// SetLastUpdatedTime sets the LastUpdatedTime field's value. +func (s *Dashboard) SetLastUpdatedTime(v time.Time) *Dashboard { + s.LastUpdatedTime = &v + return s +} + +// SetName sets the Name field's value. +func (s *Dashboard) SetName(v string) *Dashboard { + s.Name = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *Dashboard) SetVersion(v *DashboardVersion) *Dashboard { + s.Version = v + return s +} + +// Dashboard error. +type DashboardError struct { + _ struct{} `type:"structure"` + + // Message. + Message *string `type:"string"` + + // Type. + Type *string `type:"string" enum:"DashboardErrorType"` + + ViolatedEntities []*Entity `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 DashboardError) 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 DashboardError) GoString() string { + return s.String() +} + +// SetMessage sets the Message field's value. +func (s *DashboardError) SetMessage(v string) *DashboardError { + s.Message = &v + return s +} + +// SetType sets the Type field's value. +func (s *DashboardError) SetType(v string) *DashboardError { + s.Type = &v + return s +} + +// SetViolatedEntities sets the ViolatedEntities field's value. +func (s *DashboardError) SetViolatedEntities(v []*Entity) *DashboardError { + s.ViolatedEntities = v + return s +} + +// Dashboard publish options. +type DashboardPublishOptions struct { + _ struct{} `type:"structure"` + + // Ad hoc (one-time) filtering option. + AdHocFilteringOption *AdHocFilteringOption `type:"structure"` + + // Export to .csv option. + ExportToCSVOption *ExportToCSVOption `type:"structure"` + + // Sheet controls option. + SheetControlsOption *SheetControlsOption `type:"structure"` + + VisualPublishOptions *DashboardVisualPublishOptions `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 DashboardPublishOptions) 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 DashboardPublishOptions) GoString() string { + return s.String() +} + +// SetAdHocFilteringOption sets the AdHocFilteringOption field's value. +func (s *DashboardPublishOptions) SetAdHocFilteringOption(v *AdHocFilteringOption) *DashboardPublishOptions { + s.AdHocFilteringOption = v + return s +} + +// SetExportToCSVOption sets the ExportToCSVOption field's value. +func (s *DashboardPublishOptions) SetExportToCSVOption(v *ExportToCSVOption) *DashboardPublishOptions { + s.ExportToCSVOption = v + return s +} + +// SetSheetControlsOption sets the SheetControlsOption field's value. +func (s *DashboardPublishOptions) SetSheetControlsOption(v *SheetControlsOption) *DashboardPublishOptions { + s.SheetControlsOption = v + return s +} + +// SetVisualPublishOptions sets the VisualPublishOptions field's value. +func (s *DashboardPublishOptions) SetVisualPublishOptions(v *DashboardVisualPublishOptions) *DashboardPublishOptions { + s.VisualPublishOptions = v + return s +} + +// A filter that you apply when searching for dashboards. +type DashboardSearchFilter struct { + _ struct{} `type:"structure"` + + // The name of the value that you want to use as a filter, for example, "Name": + // "QUICKSIGHT_OWNER". + // + // Valid values are defined as follows: + // + // * QUICKSIGHT_VIEWER_OR_OWNER: Provide an ARN of a user or group, and any + // dashboards with that ARN listed as one of the dashboards's owners or viewers + // are returned. Implicit permissions from folders or groups are considered. + // + // * QUICKSIGHT_OWNER: Provide an ARN of a user or group, and any dashboards + // with that ARN listed as one of the owners of the dashboards are returned. + // Implicit permissions from folders or groups are considered. + // + // * DIRECT_QUICKSIGHT_SOLE_OWNER: Provide an ARN of a user or group, and + // any dashboards with that ARN listed as the only owner of the dashboard + // are returned. Implicit permissions from folders or groups are not considered. + // + // * DIRECT_QUICKSIGHT_OWNER: Provide an ARN of a user or group, and any + // dashboards with that ARN listed as one of the owners of the dashboards + // are returned. Implicit permissions from folders or groups are not considered. + // + // * DIRECT_QUICKSIGHT_VIEWER_OR_OWNER: Provide an ARN of a user or group, + // and any dashboards with that ARN listed as one of the owners or viewers + // of the dashboards are returned. Implicit permissions from folders or groups + // are not considered. + // + // * DASHBOARD_NAME: Any dashboards whose names have a substring match to + // this value will be returned. + Name *string `type:"string" enum:"DashboardFilterAttribute"` + + // The comparison operator that you want to use as a filter, for example "Operator": + // "StringEquals". Valid values are "StringEquals" and "StringLike". + // + // If you set the operator value to "StringEquals", you need to provide an ownership + // related filter in the "NAME" field and the arn of the user or group whose + // folders you want to search in the "Value" field. For example, "Name":"DIRECT_QUICKSIGHT_OWNER", + // "Operator": "StringEquals", "Value": "arn:aws:quicksight:us-east-1:1:user/default/UserName1". + // + // If you set the value to "StringLike", you need to provide the name of the + // folders you are searching for. For example, "Name":"DASHBOARD_NAME", "Operator": + // "StringLike", "Value": "Test". The "StringLike" operator only supports the + // NAME value DASHBOARD_NAME. + // + // Operator is a required field + Operator *string `type:"string" required:"true" enum:"FilterOperator"` + + // The value of the named item, in this case QUICKSIGHT_USER, that you want + // to use as a filter, for example, "Value": "arn:aws:quicksight:us-east-1:1:user/default/UserName1". + Value *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 DashboardSearchFilter) 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 DashboardSearchFilter) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DashboardSearchFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DashboardSearchFilter"} + if s.Operator == nil { + invalidParams.Add(request.NewErrParamRequired("Operator")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *DashboardSearchFilter) SetName(v string) *DashboardSearchFilter { + s.Name = &v + return s +} + +// SetOperator sets the Operator field's value. +func (s *DashboardSearchFilter) SetOperator(v string) *DashboardSearchFilter { + s.Operator = &v + return s +} + +// SetValue sets the Value field's value. +func (s *DashboardSearchFilter) SetValue(v string) *DashboardSearchFilter { + s.Value = &v + return s +} + +// Dashboard source entity. +type DashboardSourceEntity struct { + _ struct{} `type:"structure"` + + // Source template. + SourceTemplate *DashboardSourceTemplate `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 DashboardSourceEntity) 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 DashboardSourceEntity) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DashboardSourceEntity) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DashboardSourceEntity"} + if s.SourceTemplate != nil { + if err := s.SourceTemplate.Validate(); err != nil { + invalidParams.AddNested("SourceTemplate", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetSourceTemplate sets the SourceTemplate field's value. +func (s *DashboardSourceEntity) SetSourceTemplate(v *DashboardSourceTemplate) *DashboardSourceEntity { + s.SourceTemplate = v + return s +} + +// Dashboard source template. +type DashboardSourceTemplate struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the resource. + // + // Arn is a required field + Arn *string `type:"string" required:"true"` + + // Dataset references. + // + // DataSetReferences is a required field + DataSetReferences []*DataSetReference `min:"1" type:"list" required:"true"` +} + +// 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 DashboardSourceTemplate) 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 DashboardSourceTemplate) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DashboardSourceTemplate) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DashboardSourceTemplate"} + if s.Arn == nil { + invalidParams.Add(request.NewErrParamRequired("Arn")) + } + if s.DataSetReferences == nil { + invalidParams.Add(request.NewErrParamRequired("DataSetReferences")) + } + if s.DataSetReferences != nil && len(s.DataSetReferences) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DataSetReferences", 1)) + } + if s.DataSetReferences != nil { + for i, v := range s.DataSetReferences { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DataSetReferences", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetArn sets the Arn field's value. +func (s *DashboardSourceTemplate) SetArn(v string) *DashboardSourceTemplate { + s.Arn = &v + return s +} + +// SetDataSetReferences sets the DataSetReferences field's value. +func (s *DashboardSourceTemplate) SetDataSetReferences(v []*DataSetReference) *DashboardSourceTemplate { + s.DataSetReferences = v + return s +} + +// Dashboard summary. +type DashboardSummary struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the resource. + Arn *string `type:"string"` + + // The time that this dashboard was created. + CreatedTime *time.Time `type:"timestamp"` + + // Dashboard ID. + DashboardId *string `min:"1" type:"string"` + + // The last time that this dashboard was published. + LastPublishedTime *time.Time `type:"timestamp"` + + // The last time that this dashboard was updated. + LastUpdatedTime *time.Time `type:"timestamp"` + + // A display name for the dashboard. + Name *string `min:"1" type:"string"` + + // Published version number. + PublishedVersionNumber *int64 `min:"1" type:"long"` +} + +// 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 DashboardSummary) 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 DashboardSummary) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *DashboardSummary) SetArn(v string) *DashboardSummary { + s.Arn = &v + return s +} + +// SetCreatedTime sets the CreatedTime field's value. +func (s *DashboardSummary) SetCreatedTime(v time.Time) *DashboardSummary { + s.CreatedTime = &v + return s +} + +// SetDashboardId sets the DashboardId field's value. +func (s *DashboardSummary) SetDashboardId(v string) *DashboardSummary { + s.DashboardId = &v + return s +} + +// SetLastPublishedTime sets the LastPublishedTime field's value. +func (s *DashboardSummary) SetLastPublishedTime(v time.Time) *DashboardSummary { + s.LastPublishedTime = &v + return s +} + +// SetLastUpdatedTime sets the LastUpdatedTime field's value. +func (s *DashboardSummary) SetLastUpdatedTime(v time.Time) *DashboardSummary { + s.LastUpdatedTime = &v + return s +} + +// SetName sets the Name field's value. +func (s *DashboardSummary) SetName(v string) *DashboardSummary { + s.Name = &v + return s +} + +// SetPublishedVersionNumber sets the PublishedVersionNumber field's value. +func (s *DashboardSummary) SetPublishedVersionNumber(v int64) *DashboardSummary { + s.PublishedVersionNumber = &v + return s +} + +// Dashboard version. +type DashboardVersion struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the resource. + Arn *string `type:"string"` + + // The time that this dashboard version was created. + CreatedTime *time.Time `type:"timestamp"` + + // The Amazon Resource Numbers (ARNs) for the datasets that are associated with + // this version of the dashboard. + DataSetArns []*string `type:"list"` + + // Description. + Description *string `min:"1" type:"string"` + + // Errors associated with this dashboard version. + Errors []*DashboardError `min:"1" type:"list"` + + // A list of the associated sheets with the unique identifier and name of each + // sheet. + Sheets []*Sheet `type:"list"` + + // Source entity ARN. + SourceEntityArn *string `type:"string"` + + // The HTTP status of the request. + Status *string `type:"string" enum:"ResourceStatus"` + + // The ARN of the theme associated with a version of the dashboard. + ThemeArn *string `type:"string"` + + // Version number for this version of the dashboard. + VersionNumber *int64 `min:"1" type:"long"` +} + +// 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 DashboardVersion) 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 DashboardVersion) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *DashboardVersion) SetArn(v string) *DashboardVersion { + s.Arn = &v + return s +} + +// SetCreatedTime sets the CreatedTime field's value. +func (s *DashboardVersion) SetCreatedTime(v time.Time) *DashboardVersion { + s.CreatedTime = &v + return s +} + +// SetDataSetArns sets the DataSetArns field's value. +func (s *DashboardVersion) SetDataSetArns(v []*string) *DashboardVersion { + s.DataSetArns = v + return s +} + +// SetDescription sets the Description field's value. +func (s *DashboardVersion) SetDescription(v string) *DashboardVersion { + s.Description = &v + return s +} + +// SetErrors sets the Errors field's value. +func (s *DashboardVersion) SetErrors(v []*DashboardError) *DashboardVersion { + s.Errors = v + return s +} + +// SetSheets sets the Sheets field's value. +func (s *DashboardVersion) SetSheets(v []*Sheet) *DashboardVersion { + s.Sheets = v + return s +} + +// SetSourceEntityArn sets the SourceEntityArn field's value. +func (s *DashboardVersion) SetSourceEntityArn(v string) *DashboardVersion { + s.SourceEntityArn = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DashboardVersion) SetStatus(v string) *DashboardVersion { + s.Status = &v + return s +} + +// SetThemeArn sets the ThemeArn field's value. +func (s *DashboardVersion) SetThemeArn(v string) *DashboardVersion { + s.ThemeArn = &v + return s +} + +// SetVersionNumber sets the VersionNumber field's value. +func (s *DashboardVersion) SetVersionNumber(v int64) *DashboardVersion { + s.VersionNumber = &v + return s +} + +// The contents of a dashboard. +type DashboardVersionDefinition struct { + _ struct{} `type:"structure"` + + // The configuration for default analysis settings. + AnalysisDefaults *AnalysisDefaults `type:"structure"` + + // An array of calculated field definitions for the dashboard. + CalculatedFields []*CalculatedField `type:"list"` + + // An array of dashboard-level column configurations. Column configurations + // are used to set the default formatting for a column that is used throughout + // a dashboard. + ColumnConfigurations []*ColumnConfiguration `type:"list"` + + // An array of dataset identifier declarations. With this mapping,you can use + // dataset identifiers instead of dataset Amazon Resource Names (ARNs) throughout + // the dashboard's sub-structures. + // + // DataSetIdentifierDeclarations is a required field + DataSetIdentifierDeclarations []*DataSetIdentifierDeclaration `min:"1" type:"list" required:"true"` + + // The filter definitions for a dashboard. + // + // For more information, see Filtering Data in Amazon QuickSight (https://docs.aws.amazon.com/quicksight/latest/user/adding-a-filter.html) + // in the Amazon QuickSight User Guide. + FilterGroups []*FilterGroup `type:"list"` + + // The parameter declarations for a dashboard. Parameters are named variables + // that can transfer a value for use by an action or an object. + // + // For more information, see Parameters in Amazon QuickSight (https://docs.aws.amazon.com/quicksight/latest/user/parameters-in-quicksight.html) + // in the Amazon QuickSight User Guide. + ParameterDeclarations []*ParameterDeclaration `type:"list"` + + // An array of sheet definitions for a dashboard. + Sheets []*SheetDefinition `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 DashboardVersionDefinition) 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 DashboardVersionDefinition) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DashboardVersionDefinition) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DashboardVersionDefinition"} + if s.DataSetIdentifierDeclarations == nil { + invalidParams.Add(request.NewErrParamRequired("DataSetIdentifierDeclarations")) + } + if s.DataSetIdentifierDeclarations != nil && len(s.DataSetIdentifierDeclarations) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DataSetIdentifierDeclarations", 1)) + } + if s.AnalysisDefaults != nil { + if err := s.AnalysisDefaults.Validate(); err != nil { + invalidParams.AddNested("AnalysisDefaults", err.(request.ErrInvalidParams)) + } + } + if s.CalculatedFields != nil { + for i, v := range s.CalculatedFields { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CalculatedFields", i), err.(request.ErrInvalidParams)) + } + } + } + if s.ColumnConfigurations != nil { + for i, v := range s.ColumnConfigurations { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnConfigurations", i), err.(request.ErrInvalidParams)) + } + } + } + if s.DataSetIdentifierDeclarations != nil { + for i, v := range s.DataSetIdentifierDeclarations { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DataSetIdentifierDeclarations", i), err.(request.ErrInvalidParams)) + } + } + } + if s.FilterGroups != nil { + for i, v := range s.FilterGroups { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "FilterGroups", i), err.(request.ErrInvalidParams)) + } + } + } + if s.ParameterDeclarations != nil { + for i, v := range s.ParameterDeclarations { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ParameterDeclarations", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Sheets != nil { + for i, v := range s.Sheets { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Sheets", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAnalysisDefaults sets the AnalysisDefaults field's value. +func (s *DashboardVersionDefinition) SetAnalysisDefaults(v *AnalysisDefaults) *DashboardVersionDefinition { + s.AnalysisDefaults = v + return s +} + +// SetCalculatedFields sets the CalculatedFields field's value. +func (s *DashboardVersionDefinition) SetCalculatedFields(v []*CalculatedField) *DashboardVersionDefinition { + s.CalculatedFields = v + return s +} + +// SetColumnConfigurations sets the ColumnConfigurations field's value. +func (s *DashboardVersionDefinition) SetColumnConfigurations(v []*ColumnConfiguration) *DashboardVersionDefinition { + s.ColumnConfigurations = v + return s +} + +// SetDataSetIdentifierDeclarations sets the DataSetIdentifierDeclarations field's value. +func (s *DashboardVersionDefinition) SetDataSetIdentifierDeclarations(v []*DataSetIdentifierDeclaration) *DashboardVersionDefinition { + s.DataSetIdentifierDeclarations = v + return s +} + +// SetFilterGroups sets the FilterGroups field's value. +func (s *DashboardVersionDefinition) SetFilterGroups(v []*FilterGroup) *DashboardVersionDefinition { + s.FilterGroups = v + return s +} + +// SetParameterDeclarations sets the ParameterDeclarations field's value. +func (s *DashboardVersionDefinition) SetParameterDeclarations(v []*ParameterDeclaration) *DashboardVersionDefinition { + s.ParameterDeclarations = v + return s +} + +// SetSheets sets the Sheets field's value. +func (s *DashboardVersionDefinition) SetSheets(v []*SheetDefinition) *DashboardVersionDefinition { + s.Sheets = v + return s +} + +// Dashboard version summary. +type DashboardVersionSummary struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the resource. + Arn *string `type:"string"` + + // The time that this dashboard version was created. + CreatedTime *time.Time `type:"timestamp"` + + // Description. + Description *string `min:"1" type:"string"` + + // Source entity ARN. + SourceEntityArn *string `type:"string"` + + // The HTTP status of the request. + Status *string `type:"string" enum:"ResourceStatus"` + + // Version number. + VersionNumber *int64 `min:"1" type:"long"` +} + +// 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 DashboardVersionSummary) 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 DashboardVersionSummary) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *DashboardVersionSummary) SetArn(v string) *DashboardVersionSummary { + s.Arn = &v + return s +} + +// SetCreatedTime sets the CreatedTime field's value. +func (s *DashboardVersionSummary) SetCreatedTime(v time.Time) *DashboardVersionSummary { + s.CreatedTime = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *DashboardVersionSummary) SetDescription(v string) *DashboardVersionSummary { + s.Description = &v + return s +} + +// SetSourceEntityArn sets the SourceEntityArn field's value. +func (s *DashboardVersionSummary) SetSourceEntityArn(v string) *DashboardVersionSummary { + s.SourceEntityArn = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DashboardVersionSummary) SetStatus(v string) *DashboardVersionSummary { + s.Status = &v + return s +} + +// SetVersionNumber sets the VersionNumber field's value. +func (s *DashboardVersionSummary) SetVersionNumber(v int64) *DashboardVersionSummary { + s.VersionNumber = &v + return s +} + +// A structure that contains the following elements: +// +// - The DashboardId of the dashboard that has the visual that you want to +// embed. +// +// - The SheetId of the sheet that has the visual that you want to embed. +// +// - The VisualId of the visual that you want to embed. +// +// The DashboardId, SheetId, and VisualId can be found in the IDs for developers +// section of the Embed visual pane of the visual's on-visual menu of the Amazon +// QuickSight console. You can also get the DashboardId with a ListDashboards +// API operation. +type DashboardVisualId struct { + _ struct{} `type:"structure"` + + // The ID of the dashboard that has the visual that you want to embed. The DashboardId + // can be found in the IDs for developers section of the Embed visual pane of + // the visual's on-visual menu of the Amazon QuickSight console. You can also + // get the DashboardId with a ListDashboards API operation. + // + // DashboardId is a required field + DashboardId *string `min:"1" type:"string" required:"true"` + + // The ID of the sheet that the has visual that you want to embed. The SheetId + // can be found in the IDs for developers section of the Embed visual pane of + // the visual's on-visual menu of the Amazon QuickSight console. + // + // SheetId is a required field + SheetId *string `min:"1" type:"string" required:"true"` + + // The ID of the visual that you want to embed. The VisualID can be found in + // the IDs for developers section of the Embed visual pane of the visual's on-visual + // menu of the Amazon QuickSight console. + // + // VisualId is a required field + VisualId *string `min:"1" type:"string" required:"true"` +} + +// 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 DashboardVisualId) 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 DashboardVisualId) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DashboardVisualId) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DashboardVisualId"} + if s.DashboardId == nil { + invalidParams.Add(request.NewErrParamRequired("DashboardId")) + } + if s.DashboardId != nil && len(*s.DashboardId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1)) + } + if s.SheetId == nil { + invalidParams.Add(request.NewErrParamRequired("SheetId")) + } + if s.SheetId != nil && len(*s.SheetId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SheetId", 1)) + } + if s.VisualId == nil { + invalidParams.Add(request.NewErrParamRequired("VisualId")) + } + if s.VisualId != nil && len(*s.VisualId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("VisualId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDashboardId sets the DashboardId field's value. +func (s *DashboardVisualId) SetDashboardId(v string) *DashboardVisualId { + s.DashboardId = &v + return s +} + +// SetSheetId sets the SheetId field's value. +func (s *DashboardVisualId) SetSheetId(v string) *DashboardVisualId { + s.SheetId = &v + return s +} + +// SetVisualId sets the VisualId field's value. +func (s *DashboardVisualId) SetVisualId(v string) *DashboardVisualId { + s.VisualId = &v + return s +} + +type DashboardVisualPublishOptions struct { + _ struct{} `type:"structure"` + + ExportHiddenFieldsOption *ExportHiddenFieldsOption `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 DashboardVisualPublishOptions) 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 DashboardVisualPublishOptions) GoString() string { + return s.String() +} + +// SetExportHiddenFieldsOption sets the ExportHiddenFieldsOption field's value. +func (s *DashboardVisualPublishOptions) SetExportHiddenFieldsOption(v *ExportHiddenFieldsOption) *DashboardVisualPublishOptions { + s.ExportHiddenFieldsOption = v + return s +} + +// Determines the color that is applied to a particular data value. +type DataColor struct { + _ struct{} `type:"structure"` + + // The color that is applied to the data value. + Color *string `type:"string"` + + // The data value that the color is applied to. + DataValue *float64 `type:"double"` +} + +// 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 DataColor) 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 DataColor) GoString() string { + return s.String() +} + +// SetColor sets the Color field's value. +func (s *DataColor) SetColor(v string) *DataColor { + s.Color = &v + return s +} + +// SetDataValue sets the DataValue field's value. +func (s *DataColor) SetDataValue(v float64) *DataColor { + s.DataValue = &v + return s +} + +// The theme colors that are used for data colors in charts. The colors description +// is a hexadecimal color code that consists of six alphanumerical characters, +// prefixed with #, for example #37BFF5. +type DataColorPalette struct { + _ struct{} `type:"structure"` + + // The hexadecimal codes for the colors. + Colors []*string `type:"list"` + + // The hexadecimal code of a color that applies to charts where a lack of data + // is highlighted. + EmptyFillColor *string `type:"string"` + + // The minimum and maximum hexadecimal codes that describe a color gradient. + MinMaxGradient []*string `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 DataColorPalette) 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 DataColorPalette) GoString() string { + return s.String() +} + +// SetColors sets the Colors field's value. +func (s *DataColorPalette) SetColors(v []*string) *DataColorPalette { + s.Colors = v + return s +} + +// SetEmptyFillColor sets the EmptyFillColor field's value. +func (s *DataColorPalette) SetEmptyFillColor(v string) *DataColorPalette { + s.EmptyFillColor = &v + return s +} + +// SetMinMaxGradient sets the MinMaxGradient field's value. +func (s *DataColorPalette) SetMinMaxGradient(v []*string) *DataColorPalette { + s.MinMaxGradient = v + return s +} + +// The data field series item configuration of a line chart. +type DataFieldSeriesItem struct { + _ struct{} `type:"structure"` + + // The axis that you are binding the field to. + // + // AxisBinding is a required field + AxisBinding *string `type:"string" required:"true" enum:"AxisBinding"` + + // The field ID of the field that you are setting the axis binding to. + // + // FieldId is a required field + FieldId *string `min:"1" type:"string" required:"true"` + + // The field value of the field that you are setting the axis binding to. + // + // FieldValue is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by DataFieldSeriesItem's + // String and GoString methods. + FieldValue *string `type:"string" sensitive:"true"` + + // The options that determine the presentation of line series associated to + // the field. + Settings *LineChartSeriesSettings `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 DataFieldSeriesItem) 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 DataFieldSeriesItem) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DataFieldSeriesItem) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DataFieldSeriesItem"} + if s.AxisBinding == nil { + invalidParams.Add(request.NewErrParamRequired("AxisBinding")) + } + if s.FieldId == nil { + invalidParams.Add(request.NewErrParamRequired("FieldId")) + } + if s.FieldId != nil && len(*s.FieldId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FieldId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAxisBinding sets the AxisBinding field's value. +func (s *DataFieldSeriesItem) SetAxisBinding(v string) *DataFieldSeriesItem { + s.AxisBinding = &v + return s +} + +// SetFieldId sets the FieldId field's value. +func (s *DataFieldSeriesItem) SetFieldId(v string) *DataFieldSeriesItem { + s.FieldId = &v + return s +} + +// SetFieldValue sets the FieldValue field's value. +func (s *DataFieldSeriesItem) SetFieldValue(v string) *DataFieldSeriesItem { + s.FieldValue = &v + return s +} + +// SetSettings sets the Settings field's value. +func (s *DataFieldSeriesItem) SetSettings(v *LineChartSeriesSettings) *DataFieldSeriesItem { + s.Settings = v + return s +} + +// The options that determine the presentation of the data labels. +type DataLabelOptions struct { + _ struct{} `type:"structure"` + + // Determines the visibility of the category field labels. + CategoryLabelVisibility *string `type:"string" enum:"Visibility"` + + // The option that determines the data label type. + DataLabelTypes []*DataLabelType `type:"list"` + + // Determines the color of the data labels. + LabelColor *string `type:"string"` + + // Determines the content of the data labels. + LabelContent *string `type:"string" enum:"DataLabelContent"` + + // Determines the font configuration of the data labels. + LabelFontConfiguration *FontConfiguration `type:"structure"` + + // Determines the visibility of the measure field labels. + MeasureLabelVisibility *string `type:"string" enum:"Visibility"` + + // Determines whether overlap is enabled or disabled for the data labels. + Overlap *string `type:"string" enum:"DataLabelOverlap"` + + // Determines the position of the data labels. + Position *string `type:"string" enum:"DataLabelPosition"` + + // Determines the visibility of the data labels. + Visibility *string `type:"string" enum:"Visibility"` +} + +// 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 DataLabelOptions) 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 DataLabelOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DataLabelOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DataLabelOptions"} + if s.DataLabelTypes != nil { + for i, v := range s.DataLabelTypes { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DataLabelTypes", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCategoryLabelVisibility sets the CategoryLabelVisibility field's value. +func (s *DataLabelOptions) SetCategoryLabelVisibility(v string) *DataLabelOptions { + s.CategoryLabelVisibility = &v + return s +} + +// SetDataLabelTypes sets the DataLabelTypes field's value. +func (s *DataLabelOptions) SetDataLabelTypes(v []*DataLabelType) *DataLabelOptions { + s.DataLabelTypes = v + return s +} + +// SetLabelColor sets the LabelColor field's value. +func (s *DataLabelOptions) SetLabelColor(v string) *DataLabelOptions { + s.LabelColor = &v + return s +} + +// SetLabelContent sets the LabelContent field's value. +func (s *DataLabelOptions) SetLabelContent(v string) *DataLabelOptions { + s.LabelContent = &v + return s +} + +// SetLabelFontConfiguration sets the LabelFontConfiguration field's value. +func (s *DataLabelOptions) SetLabelFontConfiguration(v *FontConfiguration) *DataLabelOptions { + s.LabelFontConfiguration = v + return s +} + +// SetMeasureLabelVisibility sets the MeasureLabelVisibility field's value. +func (s *DataLabelOptions) SetMeasureLabelVisibility(v string) *DataLabelOptions { + s.MeasureLabelVisibility = &v + return s +} + +// SetOverlap sets the Overlap field's value. +func (s *DataLabelOptions) SetOverlap(v string) *DataLabelOptions { + s.Overlap = &v + return s +} + +// SetPosition sets the Position field's value. +func (s *DataLabelOptions) SetPosition(v string) *DataLabelOptions { + s.Position = &v + return s +} + +// SetVisibility sets the Visibility field's value. +func (s *DataLabelOptions) SetVisibility(v string) *DataLabelOptions { + s.Visibility = &v + return s +} + +// The option that determines the data label type. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type DataLabelType struct { + _ struct{} `type:"structure"` + + // The option that specifies individual data values for labels. + DataPathLabelType *DataPathLabelType `type:"structure"` + + // Determines the label configuration for the entire field. + FieldLabelType *FieldLabelType `type:"structure"` + + // Determines the label configuration for the maximum value in a visual. + MaximumLabelType *MaximumLabelType `type:"structure"` + + // Determines the label configuration for the minimum value in a visual. + MinimumLabelType *MinimumLabelType `type:"structure"` + + // Determines the label configuration for range end value in a visual. + RangeEndsLabelType *RangeEndsLabelType `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 DataLabelType) 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 DataLabelType) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DataLabelType) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DataLabelType"} + if s.DataPathLabelType != nil { + if err := s.DataPathLabelType.Validate(); err != nil { + invalidParams.AddNested("DataPathLabelType", err.(request.ErrInvalidParams)) + } + } + if s.FieldLabelType != nil { + if err := s.FieldLabelType.Validate(); err != nil { + invalidParams.AddNested("FieldLabelType", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDataPathLabelType sets the DataPathLabelType field's value. +func (s *DataLabelType) SetDataPathLabelType(v *DataPathLabelType) *DataLabelType { + s.DataPathLabelType = v + return s +} + +// SetFieldLabelType sets the FieldLabelType field's value. +func (s *DataLabelType) SetFieldLabelType(v *FieldLabelType) *DataLabelType { + s.FieldLabelType = v + return s +} + +// SetMaximumLabelType sets the MaximumLabelType field's value. +func (s *DataLabelType) SetMaximumLabelType(v *MaximumLabelType) *DataLabelType { + s.MaximumLabelType = v + return s +} + +// SetMinimumLabelType sets the MinimumLabelType field's value. +func (s *DataLabelType) SetMinimumLabelType(v *MinimumLabelType) *DataLabelType { + s.MinimumLabelType = v + return s +} + +// SetRangeEndsLabelType sets the RangeEndsLabelType field's value. +func (s *DataLabelType) SetRangeEndsLabelType(v *RangeEndsLabelType) *DataLabelType { + s.RangeEndsLabelType = v + return s +} + +// The color map that determines the color options for a particular element. +type DataPathColor struct { + _ struct{} `type:"structure"` + + // The color that needs to be applied to the element. + // + // Color is a required field + Color *string `type:"string" required:"true"` + + // The element that the color needs to be applied to. + // + // Element is a required field + Element *DataPathValue `type:"structure" required:"true"` + + // The time granularity of the field that the color needs to be applied to. + TimeGranularity *string `type:"string" enum:"TimeGranularity"` +} + +// 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 DataPathColor) 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 DataPathColor) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DataPathColor) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DataPathColor"} + if s.Color == nil { + invalidParams.Add(request.NewErrParamRequired("Color")) + } + if s.Element == nil { + invalidParams.Add(request.NewErrParamRequired("Element")) + } + if s.Element != nil { + if err := s.Element.Validate(); err != nil { + invalidParams.AddNested("Element", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetColor sets the Color field's value. +func (s *DataPathColor) SetColor(v string) *DataPathColor { + s.Color = &v + return s +} + +// SetElement sets the Element field's value. +func (s *DataPathColor) SetElement(v *DataPathValue) *DataPathColor { + s.Element = v + return s +} + +// SetTimeGranularity sets the TimeGranularity field's value. +func (s *DataPathColor) SetTimeGranularity(v string) *DataPathColor { + s.TimeGranularity = &v + return s +} + +// The option that specifies individual data values for labels. +type DataPathLabelType struct { + _ struct{} `type:"structure"` + + // The field ID of the field that the data label needs to be applied to. + FieldId *string `min:"1" type:"string"` + + // The actual value of the field that is labeled. + // + // FieldValue is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by DataPathLabelType's + // String and GoString methods. + FieldValue *string `type:"string" sensitive:"true"` + + // The visibility of the data label. + Visibility *string `type:"string" enum:"Visibility"` +} + +// 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 DataPathLabelType) 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 DataPathLabelType) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DataPathLabelType) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DataPathLabelType"} + if s.FieldId != nil && len(*s.FieldId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FieldId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFieldId sets the FieldId field's value. +func (s *DataPathLabelType) SetFieldId(v string) *DataPathLabelType { + s.FieldId = &v + return s +} + +// SetFieldValue sets the FieldValue field's value. +func (s *DataPathLabelType) SetFieldValue(v string) *DataPathLabelType { + s.FieldValue = &v + return s +} + +// SetVisibility sets the Visibility field's value. +func (s *DataPathLabelType) SetVisibility(v string) *DataPathLabelType { + s.Visibility = &v + return s +} + +// Allows data paths to be sorted by a specific data value. +type DataPathSort struct { + _ struct{} `type:"structure"` + + // Determines the sort direction. + // + // Direction is a required field + Direction *string `type:"string" required:"true" enum:"SortDirection"` + + // The list of data paths that need to be sorted. + // + // SortPaths is a required field + SortPaths []*DataPathValue `type:"list" required:"true"` +} + +// 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 DataPathSort) 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 DataPathSort) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DataPathSort) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DataPathSort"} + if s.Direction == nil { + invalidParams.Add(request.NewErrParamRequired("Direction")) + } + if s.SortPaths == nil { + invalidParams.Add(request.NewErrParamRequired("SortPaths")) + } + if s.SortPaths != nil { + for i, v := range s.SortPaths { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SortPaths", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDirection sets the Direction field's value. +func (s *DataPathSort) SetDirection(v string) *DataPathSort { + s.Direction = &v + return s +} + +// SetSortPaths sets the SortPaths field's value. +func (s *DataPathSort) SetSortPaths(v []*DataPathValue) *DataPathSort { + s.SortPaths = v + return s +} + +// The data path that needs to be sorted. +type DataPathValue struct { + _ struct{} `type:"structure"` + + // The field ID of the field that needs to be sorted. + // + // FieldId is a required field + FieldId *string `min:"1" type:"string" required:"true"` + + // The actual value of the field that needs to be sorted. + // + // FieldValue is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by DataPathValue's + // String and GoString methods. + // + // FieldValue is a required field + FieldValue *string `type:"string" required:"true" sensitive:"true"` +} + +// 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 DataPathValue) 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 DataPathValue) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DataPathValue) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DataPathValue"} + if s.FieldId == nil { + invalidParams.Add(request.NewErrParamRequired("FieldId")) + } + if s.FieldId != nil && len(*s.FieldId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FieldId", 1)) + } + if s.FieldValue == nil { + invalidParams.Add(request.NewErrParamRequired("FieldValue")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFieldId sets the FieldId field's value. +func (s *DataPathValue) SetFieldId(v string) *DataPathValue { + s.FieldId = &v + return s +} + +// SetFieldValue sets the FieldValue field's value. +func (s *DataPathValue) SetFieldValue(v string) *DataPathValue { + s.FieldValue = &v + return s +} + +// Dataset. +type DataSet struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the resource. + Arn *string `type:"string"` + + // Groupings of columns that work together in certain Amazon QuickSight features. + // Currently, only geospatial hierarchy is supported. + ColumnGroups []*ColumnGroup `min:"1" type:"list"` + + // A set of one or more definitions of a ColumnLevelPermissionRule (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_ColumnLevelPermissionRule.html) . + ColumnLevelPermissionRules []*ColumnLevelPermissionRule `min:"1" type:"list"` + + // The amount of SPICE capacity used by this dataset. This is 0 if the dataset + // isn't imported into SPICE. + ConsumedSpiceCapacityInBytes *int64 `type:"long"` + + // The time that this dataset was created. + CreatedTime *time.Time `type:"timestamp"` + + // The ID of the dataset. + DataSetId *string `type:"string"` + + // The usage configuration to apply to child datasets that reference this dataset + // as a source. + DataSetUsageConfiguration *DataSetUsageConfiguration `type:"structure"` + + // The folder that contains fields and nested subfolders for your dataset. + FieldFolders map[string]*FieldFolder `type:"map"` + + // A value that indicates whether you want to import the data into SPICE. + ImportMode *string `type:"string" enum:"DataSetImportMode"` + + // The last time that this dataset was updated. + LastUpdatedTime *time.Time `type:"timestamp"` + + // Configures the combination and transformation of the data from the physical + // tables. + LogicalTableMap map[string]*LogicalTable `min:"1" type:"map"` + + // A display name for the dataset. + Name *string `min:"1" type:"string"` + + // The list of columns after all transforms. These columns are available in + // templates, analyses, and dashboards. + OutputColumns []*OutputColumn `type:"list"` + + // Declares the physical tables that are available in the underlying data sources. + PhysicalTableMap map[string]*PhysicalTable `type:"map"` + + // The row-level security configuration for the dataset. + RowLevelPermissionDataSet *RowLevelPermissionDataSet `type:"structure"` + + // The element you can use to define tags for row-level security. + RowLevelPermissionTagConfiguration *RowLevelPermissionTagConfiguration `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 DataSet) 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 DataSet) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *DataSet) SetArn(v string) *DataSet { + s.Arn = &v + return s +} + +// SetColumnGroups sets the ColumnGroups field's value. +func (s *DataSet) SetColumnGroups(v []*ColumnGroup) *DataSet { + s.ColumnGroups = v + return s +} + +// SetColumnLevelPermissionRules sets the ColumnLevelPermissionRules field's value. +func (s *DataSet) SetColumnLevelPermissionRules(v []*ColumnLevelPermissionRule) *DataSet { + s.ColumnLevelPermissionRules = v + return s +} + +// SetConsumedSpiceCapacityInBytes sets the ConsumedSpiceCapacityInBytes field's value. +func (s *DataSet) SetConsumedSpiceCapacityInBytes(v int64) *DataSet { + s.ConsumedSpiceCapacityInBytes = &v + return s +} + +// SetCreatedTime sets the CreatedTime field's value. +func (s *DataSet) SetCreatedTime(v time.Time) *DataSet { + s.CreatedTime = &v + return s +} + +// SetDataSetId sets the DataSetId field's value. +func (s *DataSet) SetDataSetId(v string) *DataSet { + s.DataSetId = &v + return s +} + +// SetDataSetUsageConfiguration sets the DataSetUsageConfiguration field's value. +func (s *DataSet) SetDataSetUsageConfiguration(v *DataSetUsageConfiguration) *DataSet { + s.DataSetUsageConfiguration = v + return s +} + +// SetFieldFolders sets the FieldFolders field's value. +func (s *DataSet) SetFieldFolders(v map[string]*FieldFolder) *DataSet { + s.FieldFolders = v + return s +} + +// SetImportMode sets the ImportMode field's value. +func (s *DataSet) SetImportMode(v string) *DataSet { + s.ImportMode = &v + return s +} + +// SetLastUpdatedTime sets the LastUpdatedTime field's value. +func (s *DataSet) SetLastUpdatedTime(v time.Time) *DataSet { + s.LastUpdatedTime = &v + return s +} + +// SetLogicalTableMap sets the LogicalTableMap field's value. +func (s *DataSet) SetLogicalTableMap(v map[string]*LogicalTable) *DataSet { + s.LogicalTableMap = v + return s +} + +// SetName sets the Name field's value. +func (s *DataSet) SetName(v string) *DataSet { + s.Name = &v + return s +} + +// SetOutputColumns sets the OutputColumns field's value. +func (s *DataSet) SetOutputColumns(v []*OutputColumn) *DataSet { + s.OutputColumns = v + return s +} + +// SetPhysicalTableMap sets the PhysicalTableMap field's value. +func (s *DataSet) SetPhysicalTableMap(v map[string]*PhysicalTable) *DataSet { + s.PhysicalTableMap = v + return s +} + +// SetRowLevelPermissionDataSet sets the RowLevelPermissionDataSet field's value. +func (s *DataSet) SetRowLevelPermissionDataSet(v *RowLevelPermissionDataSet) *DataSet { + s.RowLevelPermissionDataSet = v + return s +} + +// SetRowLevelPermissionTagConfiguration sets the RowLevelPermissionTagConfiguration field's value. +func (s *DataSet) SetRowLevelPermissionTagConfiguration(v *RowLevelPermissionTagConfiguration) *DataSet { + s.RowLevelPermissionTagConfiguration = v + return s +} + +// Dataset configuration. +type DataSetConfiguration struct { + _ struct{} `type:"structure"` + + // A structure containing the list of column group schemas. + ColumnGroupSchemaList []*ColumnGroupSchema `type:"list"` + + // Dataset schema. + DataSetSchema *DataSetSchema `type:"structure"` + + // Placeholder. + Placeholder *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 DataSetConfiguration) 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 DataSetConfiguration) GoString() string { + return s.String() +} + +// SetColumnGroupSchemaList sets the ColumnGroupSchemaList field's value. +func (s *DataSetConfiguration) SetColumnGroupSchemaList(v []*ColumnGroupSchema) *DataSetConfiguration { + s.ColumnGroupSchemaList = v + return s +} + +// SetDataSetSchema sets the DataSetSchema field's value. +func (s *DataSetConfiguration) SetDataSetSchema(v *DataSetSchema) *DataSetConfiguration { + s.DataSetSchema = v + return s +} + +// SetPlaceholder sets the Placeholder field's value. +func (s *DataSetConfiguration) SetPlaceholder(v string) *DataSetConfiguration { + s.Placeholder = &v + return s +} + +// A data set. +type DataSetIdentifierDeclaration struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the data set. + // + // DataSetArn is a required field + DataSetArn *string `type:"string" required:"true"` + + // The identifier of the data set, typically the data set's name. + // + // Identifier is a required field + Identifier *string `min:"1" type:"string" required:"true"` +} + +// 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 DataSetIdentifierDeclaration) 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 DataSetIdentifierDeclaration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DataSetIdentifierDeclaration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DataSetIdentifierDeclaration"} + if s.DataSetArn == nil { + invalidParams.Add(request.NewErrParamRequired("DataSetArn")) + } + if s.Identifier == nil { + invalidParams.Add(request.NewErrParamRequired("Identifier")) + } + if s.Identifier != nil && len(*s.Identifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Identifier", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDataSetArn sets the DataSetArn field's value. +func (s *DataSetIdentifierDeclaration) SetDataSetArn(v string) *DataSetIdentifierDeclaration { + s.DataSetArn = &v + return s +} + +// SetIdentifier sets the Identifier field's value. +func (s *DataSetIdentifierDeclaration) SetIdentifier(v string) *DataSetIdentifierDeclaration { + s.Identifier = &v + return s +} + +// Dataset reference. +type DataSetReference struct { + _ struct{} `type:"structure"` + + // Dataset Amazon Resource Name (ARN). + // + // DataSetArn is a required field + DataSetArn *string `type:"string" required:"true"` + + // Dataset placeholder. + // + // DataSetPlaceholder is a required field + DataSetPlaceholder *string `type:"string" required:"true"` +} + +// 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 DataSetReference) 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 DataSetReference) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DataSetReference) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DataSetReference"} + if s.DataSetArn == nil { + invalidParams.Add(request.NewErrParamRequired("DataSetArn")) + } + if s.DataSetPlaceholder == nil { + invalidParams.Add(request.NewErrParamRequired("DataSetPlaceholder")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDataSetArn sets the DataSetArn field's value. +func (s *DataSetReference) SetDataSetArn(v string) *DataSetReference { + s.DataSetArn = &v + return s +} + +// SetDataSetPlaceholder sets the DataSetPlaceholder field's value. +func (s *DataSetReference) SetDataSetPlaceholder(v string) *DataSetReference { + s.DataSetPlaceholder = &v + return s +} + +// Dataset schema. +type DataSetSchema struct { + _ struct{} `type:"structure"` + + // A structure containing the list of column schemas. + ColumnSchemaList []*ColumnSchema `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 DataSetSchema) 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 DataSetSchema) GoString() string { + return s.String() +} + +// SetColumnSchemaList sets the ColumnSchemaList field's value. +func (s *DataSetSchema) SetColumnSchemaList(v []*ColumnSchema) *DataSetSchema { + s.ColumnSchemaList = v + return s +} + +// A filter that you apply when searching for datasets. +type DataSetSearchFilter struct { + _ struct{} `type:"structure"` + + // The name of the value that you want to use as a filter, for example, "Name": + // "QUICKSIGHT_OWNER". + // + // Valid values are defined as follows: + // + // * QUICKSIGHT_VIEWER_OR_OWNER: Provide an ARN of a user or group, and any + // datasets with that ARN listed as one of the dataset owners or viewers + // are returned. Implicit permissions from folders or groups are considered. + // + // * QUICKSIGHT_OWNER: Provide an ARN of a user or group, and any datasets + // with that ARN listed as one of the owners of the dataset are returned. + // Implicit permissions from folders or groups are considered. + // + // * DIRECT_QUICKSIGHT_SOLE_OWNER: Provide an ARN of a user or group, and + // any datasets with that ARN listed as the only owner of the dataset are + // returned. Implicit permissions from folders or groups are not considered. + // + // * DIRECT_QUICKSIGHT_OWNER: Provide an ARN of a user or group, and any + // datasets with that ARN listed as one of the owners if the dataset are + // returned. Implicit permissions from folders or groups are not considered. + // + // * DIRECT_QUICKSIGHT_VIEWER_OR_OWNER: Provide an ARN of a user or group, + // and any datasets with that ARN listed as one of the owners or viewers + // of the dataset are returned. Implicit permissions from folders or groups + // are not considered. + // + // * DATASET_NAME: Any datasets whose names have a substring match to this + // value will be returned. + // + // Name is a required field + Name *string `type:"string" required:"true" enum:"DataSetFilterAttribute"` + + // The comparison operator that you want to use as a filter, for example "Operator": + // "StringEquals". Valid values are "StringEquals" and "StringLike". + // + // If you set the operator value to "StringEquals", you need to provide an ownership + // related filter in the "NAME" field and the arn of the user or group whose + // datasets you want to search in the "Value" field. For example, "Name":"QUICKSIGHT_OWNER", + // "Operator": "StringEquals", "Value": "arn:aws:quicksight:us-east- 1:1:user/default/UserName1". + // + // If you set the value to "StringLike", you need to provide the name of the + // datasets you are searching for. For example, "Name":"DATASET_NAME", "Operator": + // "StringLike", "Value": "Test". The "StringLike" operator only supports the + // NAME value DATASET_NAME. + // + // Operator is a required field + Operator *string `type:"string" required:"true" enum:"FilterOperator"` + + // The value of the named item, in this case QUICKSIGHT_OWNER, that you want + // to use as a filter, for example, "Value": "arn:aws:quicksight:us-east-1:1:user/default/UserName1". + // + // Value is a required field + Value *string `type:"string" required:"true"` +} + +// 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 DataSetSearchFilter) 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 DataSetSearchFilter) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DataSetSearchFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DataSetSearchFilter"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Operator == nil { + invalidParams.Add(request.NewErrParamRequired("Operator")) + } + if s.Value == nil { + invalidParams.Add(request.NewErrParamRequired("Value")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *DataSetSearchFilter) SetName(v string) *DataSetSearchFilter { + s.Name = &v + return s +} + +// SetOperator sets the Operator field's value. +func (s *DataSetSearchFilter) SetOperator(v string) *DataSetSearchFilter { + s.Operator = &v + return s +} + +// SetValue sets the Value field's value. +func (s *DataSetSearchFilter) SetValue(v string) *DataSetSearchFilter { + s.Value = &v + return s +} + +// Dataset summary. +type DataSetSummary struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the dataset. + Arn *string `type:"string"` + + // A value that indicates if the dataset has column level permission configured. + ColumnLevelPermissionRulesApplied *bool `type:"boolean"` + + // The time that this dataset was created. + CreatedTime *time.Time `type:"timestamp"` + + // The ID of the dataset. + DataSetId *string `type:"string"` + + // A value that indicates whether you want to import the data into SPICE. + ImportMode *string `type:"string" enum:"DataSetImportMode"` + + // The last time that this dataset was updated. + LastUpdatedTime *time.Time `type:"timestamp"` + + // A display name for the dataset. + Name *string `min:"1" type:"string"` + + // The row-level security configuration for the dataset. + RowLevelPermissionDataSet *RowLevelPermissionDataSet `type:"structure"` + + // Whether or not the row level permission tags are applied. + RowLevelPermissionTagConfigurationApplied *bool `type:"boolean"` +} + +// 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 DataSetSummary) 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 DataSetSummary) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *DataSetSummary) SetArn(v string) *DataSetSummary { + s.Arn = &v + return s +} + +// SetColumnLevelPermissionRulesApplied sets the ColumnLevelPermissionRulesApplied field's value. +func (s *DataSetSummary) SetColumnLevelPermissionRulesApplied(v bool) *DataSetSummary { + s.ColumnLevelPermissionRulesApplied = &v + return s +} + +// SetCreatedTime sets the CreatedTime field's value. +func (s *DataSetSummary) SetCreatedTime(v time.Time) *DataSetSummary { + s.CreatedTime = &v + return s +} + +// SetDataSetId sets the DataSetId field's value. +func (s *DataSetSummary) SetDataSetId(v string) *DataSetSummary { + s.DataSetId = &v + return s +} + +// SetImportMode sets the ImportMode field's value. func (s *DataSetSummary) SetImportMode(v string) *DataSetSummary { s.ImportMode = &v return s } -// SetLastUpdatedTime sets the LastUpdatedTime field's value. -func (s *DataSetSummary) SetLastUpdatedTime(v time.Time) *DataSetSummary { - s.LastUpdatedTime = &v +// SetLastUpdatedTime sets the LastUpdatedTime field's value. +func (s *DataSetSummary) SetLastUpdatedTime(v time.Time) *DataSetSummary { + s.LastUpdatedTime = &v + return s +} + +// SetName sets the Name field's value. +func (s *DataSetSummary) SetName(v string) *DataSetSummary { + s.Name = &v + return s +} + +// SetRowLevelPermissionDataSet sets the RowLevelPermissionDataSet field's value. +func (s *DataSetSummary) SetRowLevelPermissionDataSet(v *RowLevelPermissionDataSet) *DataSetSummary { + s.RowLevelPermissionDataSet = v + return s +} + +// SetRowLevelPermissionTagConfigurationApplied sets the RowLevelPermissionTagConfigurationApplied field's value. +func (s *DataSetSummary) SetRowLevelPermissionTagConfigurationApplied(v bool) *DataSetSummary { + s.RowLevelPermissionTagConfigurationApplied = &v + return s +} + +// The usage configuration to apply to child datasets that reference this dataset +// as a source. +type DataSetUsageConfiguration struct { + _ struct{} `type:"structure"` + + // An option that controls whether a child dataset of a direct query can use + // this dataset as a source. + DisableUseAsDirectQuerySource *bool `type:"boolean"` + + // An option that controls whether a child dataset that's stored in QuickSight + // can use this dataset as a source. + DisableUseAsImportedSource *bool `type:"boolean"` +} + +// 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 DataSetUsageConfiguration) 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 DataSetUsageConfiguration) GoString() string { + return s.String() +} + +// SetDisableUseAsDirectQuerySource sets the DisableUseAsDirectQuerySource field's value. +func (s *DataSetUsageConfiguration) SetDisableUseAsDirectQuerySource(v bool) *DataSetUsageConfiguration { + s.DisableUseAsDirectQuerySource = &v + return s +} + +// SetDisableUseAsImportedSource sets the DisableUseAsImportedSource field's value. +func (s *DataSetUsageConfiguration) SetDisableUseAsImportedSource(v bool) *DataSetUsageConfiguration { + s.DisableUseAsImportedSource = &v + return s +} + +// The structure of a data source. +type DataSource struct { + _ struct{} `type:"structure"` + + // A set of alternate data source parameters that you want to share for the + // credentials stored with this data source. The credentials are applied in + // tandem with the data source parameters when you copy a data source by using + // a create or update request. The API operation compares the DataSourceParameters + // structure that's in the request with the structures in the AlternateDataSourceParameters + // allow list. If the structures are an exact match, the request is allowed + // to use the credentials from this existing data source. If the AlternateDataSourceParameters + // list is null, the Credentials originally used with this DataSourceParameters + // are automatically allowed. + AlternateDataSourceParameters []*DataSourceParameters `min:"1" type:"list"` + + // The Amazon Resource Name (ARN) of the data source. + Arn *string `type:"string"` + + // The time that this data source was created. + CreatedTime *time.Time `type:"timestamp"` + + // The ID of the data source. This ID is unique per Amazon Web Services Region + // for each Amazon Web Services account. + DataSourceId *string `type:"string"` + + // The parameters that Amazon QuickSight uses to connect to your underlying + // source. This is a variant type structure. For this structure to be valid, + // only one of the attributes can be non-null. + DataSourceParameters *DataSourceParameters `type:"structure"` + + // Error information from the last update or the creation of the data source. + ErrorInfo *DataSourceErrorInfo `type:"structure"` + + // The last time that this data source was updated. + LastUpdatedTime *time.Time `type:"timestamp"` + + // A display name for the data source. + Name *string `min:"1" type:"string"` + + // The Amazon Resource Name (ARN) of the secret associated with the data source + // in Amazon Secrets Manager. + SecretArn *string `min:"1" type:"string"` + + // Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects + // to your underlying source. + SslProperties *SslProperties `type:"structure"` + + // The HTTP status of the request. + Status *string `type:"string" enum:"ResourceStatus"` + + // The type of the data source. This type indicates which database engine the + // data source connects to. + Type *string `type:"string" enum:"DataSourceType"` + + // The VPC connection information. You need to use this parameter only when + // you want Amazon QuickSight to use a VPC connection when connecting to your + // underlying source. + VpcConnectionProperties *VpcConnectionProperties `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 DataSource) 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 DataSource) GoString() string { + return s.String() +} + +// SetAlternateDataSourceParameters sets the AlternateDataSourceParameters field's value. +func (s *DataSource) SetAlternateDataSourceParameters(v []*DataSourceParameters) *DataSource { + s.AlternateDataSourceParameters = v + return s +} + +// SetArn sets the Arn field's value. +func (s *DataSource) SetArn(v string) *DataSource { + s.Arn = &v + return s +} + +// SetCreatedTime sets the CreatedTime field's value. +func (s *DataSource) SetCreatedTime(v time.Time) *DataSource { + s.CreatedTime = &v + return s +} + +// SetDataSourceId sets the DataSourceId field's value. +func (s *DataSource) SetDataSourceId(v string) *DataSource { + s.DataSourceId = &v + return s +} + +// SetDataSourceParameters sets the DataSourceParameters field's value. +func (s *DataSource) SetDataSourceParameters(v *DataSourceParameters) *DataSource { + s.DataSourceParameters = v + return s +} + +// SetErrorInfo sets the ErrorInfo field's value. +func (s *DataSource) SetErrorInfo(v *DataSourceErrorInfo) *DataSource { + s.ErrorInfo = v + return s +} + +// SetLastUpdatedTime sets the LastUpdatedTime field's value. +func (s *DataSource) SetLastUpdatedTime(v time.Time) *DataSource { + s.LastUpdatedTime = &v + return s +} + +// SetName sets the Name field's value. +func (s *DataSource) SetName(v string) *DataSource { + s.Name = &v + return s +} + +// SetSecretArn sets the SecretArn field's value. +func (s *DataSource) SetSecretArn(v string) *DataSource { + s.SecretArn = &v + return s +} + +// SetSslProperties sets the SslProperties field's value. +func (s *DataSource) SetSslProperties(v *SslProperties) *DataSource { + s.SslProperties = v + return s +} + +// SetStatus sets the Status field's value. +func (s *DataSource) SetStatus(v string) *DataSource { + s.Status = &v + return s +} + +// SetType sets the Type field's value. +func (s *DataSource) SetType(v string) *DataSource { + s.Type = &v + return s +} + +// SetVpcConnectionProperties sets the VpcConnectionProperties field's value. +func (s *DataSource) SetVpcConnectionProperties(v *VpcConnectionProperties) *DataSource { + s.VpcConnectionProperties = v + return s +} + +// Data source credentials. This is a variant type structure. For this structure +// to be valid, only one of the attributes can be non-null. +type DataSourceCredentials struct { + _ struct{} `type:"structure" sensitive:"true"` + + // The Amazon Resource Name (ARN) of a data source that has the credential pair + // that you want to use. When CopySourceArn is not null, the credential pair + // from the data source in the ARN is used as the credentials for the DataSourceCredentials + // structure. + CopySourceArn *string `type:"string"` + + // Credential pair. For more information, see CredentialPair (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_CredentialPair.html) . + CredentialPair *CredentialPair `type:"structure"` + + // The Amazon Resource Name (ARN) of the secret associated with the data source + // in Amazon Secrets Manager. + SecretArn *string `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 DataSourceCredentials) 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 DataSourceCredentials) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DataSourceCredentials) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DataSourceCredentials"} + if s.SecretArn != nil && len(*s.SecretArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SecretArn", 1)) + } + if s.CredentialPair != nil { + if err := s.CredentialPair.Validate(); err != nil { + invalidParams.AddNested("CredentialPair", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCopySourceArn sets the CopySourceArn field's value. +func (s *DataSourceCredentials) SetCopySourceArn(v string) *DataSourceCredentials { + s.CopySourceArn = &v + return s +} + +// SetCredentialPair sets the CredentialPair field's value. +func (s *DataSourceCredentials) SetCredentialPair(v *CredentialPair) *DataSourceCredentials { + s.CredentialPair = v + return s +} + +// SetSecretArn sets the SecretArn field's value. +func (s *DataSourceCredentials) SetSecretArn(v string) *DataSourceCredentials { + s.SecretArn = &v + return s +} + +// Error information for the data source creation or update. +type DataSourceErrorInfo struct { + _ struct{} `type:"structure"` + + // Error message. + Message *string `type:"string"` + + // Error type. + Type *string `type:"string" enum:"DataSourceErrorInfoType"` +} + +// 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 DataSourceErrorInfo) 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 DataSourceErrorInfo) GoString() string { + return s.String() +} + +// SetMessage sets the Message field's value. +func (s *DataSourceErrorInfo) SetMessage(v string) *DataSourceErrorInfo { + s.Message = &v + return s +} + +// SetType sets the Type field's value. +func (s *DataSourceErrorInfo) SetType(v string) *DataSourceErrorInfo { + s.Type = &v + return s +} + +// The parameters that Amazon QuickSight uses to connect to your underlying +// data source. This is a variant type structure. For this structure to be valid, +// only one of the attributes can be non-null. +type DataSourceParameters struct { + _ struct{} `type:"structure"` + + // The parameters for OpenSearch. + AmazonElasticsearchParameters *AmazonElasticsearchParameters `type:"structure"` + + // The parameters for OpenSearch. + AmazonOpenSearchParameters *AmazonOpenSearchParameters `type:"structure"` + + // The parameters for Amazon Athena. + AthenaParameters *AthenaParameters `type:"structure"` + + // The parameters for Amazon Aurora MySQL. + AuroraParameters *AuroraParameters `type:"structure"` + + // The parameters for Amazon Aurora. + AuroraPostgreSqlParameters *AuroraPostgreSqlParameters `type:"structure"` + + // The parameters for IoT Analytics. + AwsIotAnalyticsParameters *AwsIotAnalyticsParameters `type:"structure"` + + // The required parameters that are needed to connect to a Databricks data source. + DatabricksParameters *DatabricksParameters `type:"structure"` + + // The parameters for Exasol. + ExasolParameters *ExasolParameters `type:"structure"` + + // The parameters for Jira. + JiraParameters *JiraParameters `type:"structure"` + + // The parameters for MariaDB. + MariaDbParameters *MariaDbParameters `type:"structure"` + + // The parameters for MySQL. + MySqlParameters *MySqlParameters `type:"structure"` + + // The parameters for Oracle. + OracleParameters *OracleParameters `type:"structure"` + + // The parameters for PostgreSQL. + PostgreSqlParameters *PostgreSqlParameters `type:"structure"` + + // The parameters for Presto. + PrestoParameters *PrestoParameters `type:"structure"` + + // The parameters for Amazon RDS. + RdsParameters *RdsParameters `type:"structure"` + + // The parameters for Amazon Redshift. + RedshiftParameters *RedshiftParameters `type:"structure"` + + // The parameters for S3. + S3Parameters *S3Parameters `type:"structure"` + + // The parameters for ServiceNow. + ServiceNowParameters *ServiceNowParameters `type:"structure"` + + // The parameters for Snowflake. + SnowflakeParameters *SnowflakeParameters `type:"structure"` + + // The parameters for Spark. + SparkParameters *SparkParameters `type:"structure"` + + // The parameters for SQL Server. + SqlServerParameters *SqlServerParameters `type:"structure"` + + // The parameters for Teradata. + TeradataParameters *TeradataParameters `type:"structure"` + + // The parameters for Twitter. + TwitterParameters *TwitterParameters `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 DataSourceParameters) 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 DataSourceParameters) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DataSourceParameters) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DataSourceParameters"} + if s.AmazonElasticsearchParameters != nil { + if err := s.AmazonElasticsearchParameters.Validate(); err != nil { + invalidParams.AddNested("AmazonElasticsearchParameters", err.(request.ErrInvalidParams)) + } + } + if s.AmazonOpenSearchParameters != nil { + if err := s.AmazonOpenSearchParameters.Validate(); err != nil { + invalidParams.AddNested("AmazonOpenSearchParameters", err.(request.ErrInvalidParams)) + } + } + if s.AthenaParameters != nil { + if err := s.AthenaParameters.Validate(); err != nil { + invalidParams.AddNested("AthenaParameters", err.(request.ErrInvalidParams)) + } + } + if s.AuroraParameters != nil { + if err := s.AuroraParameters.Validate(); err != nil { + invalidParams.AddNested("AuroraParameters", err.(request.ErrInvalidParams)) + } + } + if s.AuroraPostgreSqlParameters != nil { + if err := s.AuroraPostgreSqlParameters.Validate(); err != nil { + invalidParams.AddNested("AuroraPostgreSqlParameters", err.(request.ErrInvalidParams)) + } + } + if s.AwsIotAnalyticsParameters != nil { + if err := s.AwsIotAnalyticsParameters.Validate(); err != nil { + invalidParams.AddNested("AwsIotAnalyticsParameters", err.(request.ErrInvalidParams)) + } + } + if s.DatabricksParameters != nil { + if err := s.DatabricksParameters.Validate(); err != nil { + invalidParams.AddNested("DatabricksParameters", err.(request.ErrInvalidParams)) + } + } + if s.ExasolParameters != nil { + if err := s.ExasolParameters.Validate(); err != nil { + invalidParams.AddNested("ExasolParameters", err.(request.ErrInvalidParams)) + } + } + if s.JiraParameters != nil { + if err := s.JiraParameters.Validate(); err != nil { + invalidParams.AddNested("JiraParameters", err.(request.ErrInvalidParams)) + } + } + if s.MariaDbParameters != nil { + if err := s.MariaDbParameters.Validate(); err != nil { + invalidParams.AddNested("MariaDbParameters", err.(request.ErrInvalidParams)) + } + } + if s.MySqlParameters != nil { + if err := s.MySqlParameters.Validate(); err != nil { + invalidParams.AddNested("MySqlParameters", err.(request.ErrInvalidParams)) + } + } + if s.OracleParameters != nil { + if err := s.OracleParameters.Validate(); err != nil { + invalidParams.AddNested("OracleParameters", err.(request.ErrInvalidParams)) + } + } + if s.PostgreSqlParameters != nil { + if err := s.PostgreSqlParameters.Validate(); err != nil { + invalidParams.AddNested("PostgreSqlParameters", err.(request.ErrInvalidParams)) + } + } + if s.PrestoParameters != nil { + if err := s.PrestoParameters.Validate(); err != nil { + invalidParams.AddNested("PrestoParameters", err.(request.ErrInvalidParams)) + } + } + if s.RdsParameters != nil { + if err := s.RdsParameters.Validate(); err != nil { + invalidParams.AddNested("RdsParameters", err.(request.ErrInvalidParams)) + } + } + if s.RedshiftParameters != nil { + if err := s.RedshiftParameters.Validate(); err != nil { + invalidParams.AddNested("RedshiftParameters", err.(request.ErrInvalidParams)) + } + } + if s.S3Parameters != nil { + if err := s.S3Parameters.Validate(); err != nil { + invalidParams.AddNested("S3Parameters", err.(request.ErrInvalidParams)) + } + } + if s.ServiceNowParameters != nil { + if err := s.ServiceNowParameters.Validate(); err != nil { + invalidParams.AddNested("ServiceNowParameters", err.(request.ErrInvalidParams)) + } + } + if s.SnowflakeParameters != nil { + if err := s.SnowflakeParameters.Validate(); err != nil { + invalidParams.AddNested("SnowflakeParameters", err.(request.ErrInvalidParams)) + } + } + if s.SparkParameters != nil { + if err := s.SparkParameters.Validate(); err != nil { + invalidParams.AddNested("SparkParameters", err.(request.ErrInvalidParams)) + } + } + if s.SqlServerParameters != nil { + if err := s.SqlServerParameters.Validate(); err != nil { + invalidParams.AddNested("SqlServerParameters", err.(request.ErrInvalidParams)) + } + } + if s.TeradataParameters != nil { + if err := s.TeradataParameters.Validate(); err != nil { + invalidParams.AddNested("TeradataParameters", err.(request.ErrInvalidParams)) + } + } + if s.TwitterParameters != nil { + if err := s.TwitterParameters.Validate(); err != nil { + invalidParams.AddNested("TwitterParameters", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAmazonElasticsearchParameters sets the AmazonElasticsearchParameters field's value. +func (s *DataSourceParameters) SetAmazonElasticsearchParameters(v *AmazonElasticsearchParameters) *DataSourceParameters { + s.AmazonElasticsearchParameters = v + return s +} + +// SetAmazonOpenSearchParameters sets the AmazonOpenSearchParameters field's value. +func (s *DataSourceParameters) SetAmazonOpenSearchParameters(v *AmazonOpenSearchParameters) *DataSourceParameters { + s.AmazonOpenSearchParameters = v + return s +} + +// SetAthenaParameters sets the AthenaParameters field's value. +func (s *DataSourceParameters) SetAthenaParameters(v *AthenaParameters) *DataSourceParameters { + s.AthenaParameters = v + return s +} + +// SetAuroraParameters sets the AuroraParameters field's value. +func (s *DataSourceParameters) SetAuroraParameters(v *AuroraParameters) *DataSourceParameters { + s.AuroraParameters = v + return s +} + +// SetAuroraPostgreSqlParameters sets the AuroraPostgreSqlParameters field's value. +func (s *DataSourceParameters) SetAuroraPostgreSqlParameters(v *AuroraPostgreSqlParameters) *DataSourceParameters { + s.AuroraPostgreSqlParameters = v + return s +} + +// SetAwsIotAnalyticsParameters sets the AwsIotAnalyticsParameters field's value. +func (s *DataSourceParameters) SetAwsIotAnalyticsParameters(v *AwsIotAnalyticsParameters) *DataSourceParameters { + s.AwsIotAnalyticsParameters = v + return s +} + +// SetDatabricksParameters sets the DatabricksParameters field's value. +func (s *DataSourceParameters) SetDatabricksParameters(v *DatabricksParameters) *DataSourceParameters { + s.DatabricksParameters = v + return s +} + +// SetExasolParameters sets the ExasolParameters field's value. +func (s *DataSourceParameters) SetExasolParameters(v *ExasolParameters) *DataSourceParameters { + s.ExasolParameters = v + return s +} + +// SetJiraParameters sets the JiraParameters field's value. +func (s *DataSourceParameters) SetJiraParameters(v *JiraParameters) *DataSourceParameters { + s.JiraParameters = v + return s +} + +// SetMariaDbParameters sets the MariaDbParameters field's value. +func (s *DataSourceParameters) SetMariaDbParameters(v *MariaDbParameters) *DataSourceParameters { + s.MariaDbParameters = v + return s +} + +// SetMySqlParameters sets the MySqlParameters field's value. +func (s *DataSourceParameters) SetMySqlParameters(v *MySqlParameters) *DataSourceParameters { + s.MySqlParameters = v + return s +} + +// SetOracleParameters sets the OracleParameters field's value. +func (s *DataSourceParameters) SetOracleParameters(v *OracleParameters) *DataSourceParameters { + s.OracleParameters = v + return s +} + +// SetPostgreSqlParameters sets the PostgreSqlParameters field's value. +func (s *DataSourceParameters) SetPostgreSqlParameters(v *PostgreSqlParameters) *DataSourceParameters { + s.PostgreSqlParameters = v + return s +} + +// SetPrestoParameters sets the PrestoParameters field's value. +func (s *DataSourceParameters) SetPrestoParameters(v *PrestoParameters) *DataSourceParameters { + s.PrestoParameters = v + return s +} + +// SetRdsParameters sets the RdsParameters field's value. +func (s *DataSourceParameters) SetRdsParameters(v *RdsParameters) *DataSourceParameters { + s.RdsParameters = v + return s +} + +// SetRedshiftParameters sets the RedshiftParameters field's value. +func (s *DataSourceParameters) SetRedshiftParameters(v *RedshiftParameters) *DataSourceParameters { + s.RedshiftParameters = v + return s +} + +// SetS3Parameters sets the S3Parameters field's value. +func (s *DataSourceParameters) SetS3Parameters(v *S3Parameters) *DataSourceParameters { + s.S3Parameters = v + return s +} + +// SetServiceNowParameters sets the ServiceNowParameters field's value. +func (s *DataSourceParameters) SetServiceNowParameters(v *ServiceNowParameters) *DataSourceParameters { + s.ServiceNowParameters = v + return s +} + +// SetSnowflakeParameters sets the SnowflakeParameters field's value. +func (s *DataSourceParameters) SetSnowflakeParameters(v *SnowflakeParameters) *DataSourceParameters { + s.SnowflakeParameters = v + return s +} + +// SetSparkParameters sets the SparkParameters field's value. +func (s *DataSourceParameters) SetSparkParameters(v *SparkParameters) *DataSourceParameters { + s.SparkParameters = v + return s +} + +// SetSqlServerParameters sets the SqlServerParameters field's value. +func (s *DataSourceParameters) SetSqlServerParameters(v *SqlServerParameters) *DataSourceParameters { + s.SqlServerParameters = v + return s +} + +// SetTeradataParameters sets the TeradataParameters field's value. +func (s *DataSourceParameters) SetTeradataParameters(v *TeradataParameters) *DataSourceParameters { + s.TeradataParameters = v + return s +} + +// SetTwitterParameters sets the TwitterParameters field's value. +func (s *DataSourceParameters) SetTwitterParameters(v *TwitterParameters) *DataSourceParameters { + s.TwitterParameters = v + return s +} + +// A filter that you apply when searching for data sources. +type DataSourceSearchFilter struct { + _ struct{} `type:"structure"` + + // The name of the value that you want to use as a filter, for example, "Name": + // "DIRECT_QUICKSIGHT_OWNER". + // + // Valid values are defined as follows: + // + // * DIRECT_QUICKSIGHT_VIEWER_OR_OWNER: Provide an ARN of a user or group, + // and any data sources with that ARN listed as one of the owners or viewers + // of the data sources are returned. Implicit permissions from folders or + // groups are not considered. + // + // * DIRECT_QUICKSIGHT_OWNER: Provide an ARN of a user or group, and any + // data sources with that ARN listed as one of the owners if the data source + // are returned. Implicit permissions from folders or groups are not considered. + // + // * DIRECT_QUICKSIGHT_SOLE_OWNER: Provide an ARN of a user or group, and + // any data sources with that ARN listed as the only owner of the data source + // are returned. Implicit permissions from folders or groups are not considered. + // + // * DATASOURCE_NAME: Any data sources whose names have a substring match + // to the provided value are returned. + // + // Name is a required field + Name *string `type:"string" required:"true" enum:"DataSourceFilterAttribute"` + + // The comparison operator that you want to use as a filter, for example "Operator": + // "StringEquals". Valid values are "StringEquals" and "StringLike". + // + // If you set the operator value to "StringEquals", you need to provide an ownership + // related filter in the "NAME" field and the arn of the user or group whose + // data sources you want to search in the "Value" field. For example, "Name":"DIRECT_QUICKSIGHT_OWNER", + // "Operator": "StringEquals", "Value": "arn:aws:quicksight:us-east-1:1:user/default/UserName1". + // + // If you set the value to "StringLike", you need to provide the name of the + // data sources you are searching for. For example, "Name":"DATASOURCE_NAME", + // "Operator": "StringLike", "Value": "Test". The "StringLike" operator only + // supports the NAME value DATASOURCE_NAME. + // + // Operator is a required field + Operator *string `type:"string" required:"true" enum:"FilterOperator"` + + // The value of the named item, for example DIRECT_QUICKSIGHT_OWNER, that you + // want to use as a filter, for example, "Value": "arn:aws:quicksight:us-east-1:1:user/default/UserName1". + // + // Value is a required field + Value *string `type:"string" required:"true"` +} + +// 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 DataSourceSearchFilter) 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 DataSourceSearchFilter) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DataSourceSearchFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DataSourceSearchFilter"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Operator == nil { + invalidParams.Add(request.NewErrParamRequired("Operator")) + } + if s.Value == nil { + invalidParams.Add(request.NewErrParamRequired("Value")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *DataSourceSearchFilter) SetName(v string) *DataSourceSearchFilter { + s.Name = &v + return s +} + +// SetOperator sets the Operator field's value. +func (s *DataSourceSearchFilter) SetOperator(v string) *DataSourceSearchFilter { + s.Operator = &v + return s +} + +// SetValue sets the Value field's value. +func (s *DataSourceSearchFilter) SetValue(v string) *DataSourceSearchFilter { + s.Value = &v + return s +} + +// A DataSourceSummary object that returns a summary of a data source. +type DataSourceSummary struct { + _ struct{} `type:"structure"` + + // The arn of the datasource. + Arn *string `type:"string"` + + // The date and time that the data source was created. This value is expressed + // in MM-DD-YYYY HH:MM:SS format. + CreatedTime *time.Time `type:"timestamp"` + + // The unique ID of the data source. + DataSourceId *string `type:"string"` + + // The date and time the data source was last updated. This value is expressed + // in MM-DD-YYYY HH:MM:SS format. + LastUpdatedTime *time.Time `type:"timestamp"` + + // The name of the data source. + Name *string `min:"1" type:"string"` + + // The type of the data source. + Type *string `type:"string" enum:"DataSourceType"` +} + +// 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 DataSourceSummary) 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 DataSourceSummary) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *DataSourceSummary) SetArn(v string) *DataSourceSummary { + s.Arn = &v + return s +} + +// SetCreatedTime sets the CreatedTime field's value. +func (s *DataSourceSummary) SetCreatedTime(v time.Time) *DataSourceSummary { + s.CreatedTime = &v + return s +} + +// SetDataSourceId sets the DataSourceId field's value. +func (s *DataSourceSummary) SetDataSourceId(v string) *DataSourceSummary { + s.DataSourceId = &v + return s +} + +// SetLastUpdatedTime sets the LastUpdatedTime field's value. +func (s *DataSourceSummary) SetLastUpdatedTime(v time.Time) *DataSourceSummary { + s.LastUpdatedTime = &v + return s +} + +// SetName sets the Name field's value. +func (s *DataSourceSummary) SetName(v string) *DataSourceSummary { + s.Name = &v + return s +} + +// SetType sets the Type field's value. +func (s *DataSourceSummary) SetType(v string) *DataSourceSummary { + s.Type = &v + return s +} + +// The required parameters that are needed to connect to a Databricks data source. +type DatabricksParameters struct { + _ struct{} `type:"structure"` + + // The host name of the Databricks data source. + // + // Host is a required field + Host *string `min:"1" type:"string" required:"true"` + + // The port for the Databricks data source. + // + // Port is a required field + Port *int64 `min:"1" type:"integer" required:"true"` + + // The HTTP path of the Databricks data source. + // + // SqlEndpointPath is a required field + SqlEndpointPath *string `min:"1" type:"string" required:"true"` +} + +// 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 DatabricksParameters) 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 DatabricksParameters) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DatabricksParameters) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DatabricksParameters"} + if s.Host == nil { + invalidParams.Add(request.NewErrParamRequired("Host")) + } + if s.Host != nil && len(*s.Host) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Host", 1)) + } + if s.Port == nil { + invalidParams.Add(request.NewErrParamRequired("Port")) + } + if s.Port != nil && *s.Port < 1 { + invalidParams.Add(request.NewErrParamMinValue("Port", 1)) + } + if s.SqlEndpointPath == nil { + invalidParams.Add(request.NewErrParamRequired("SqlEndpointPath")) + } + if s.SqlEndpointPath != nil && len(*s.SqlEndpointPath) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SqlEndpointPath", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetHost sets the Host field's value. +func (s *DatabricksParameters) SetHost(v string) *DatabricksParameters { + s.Host = &v + return s +} + +// SetPort sets the Port field's value. +func (s *DatabricksParameters) SetPort(v int64) *DatabricksParameters { + s.Port = &v + return s +} + +// SetSqlEndpointPath sets the SqlEndpointPath field's value. +func (s *DatabricksParameters) SetSqlEndpointPath(v string) *DatabricksParameters { + s.SqlEndpointPath = &v + return s +} + +// The options that determine how a date axis is displayed. +type DateAxisOptions struct { + _ struct{} `type:"structure"` + + // Determines whether or not missing dates are displayed. + MissingDateVisibility *string `type:"string" enum:"Visibility"` +} + +// 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 DateAxisOptions) 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 DateAxisOptions) GoString() string { + return s.String() +} + +// SetMissingDateVisibility sets the MissingDateVisibility field's value. +func (s *DateAxisOptions) SetMissingDateVisibility(v string) *DateAxisOptions { + s.MissingDateVisibility = &v + return s +} + +// The dimension type field with date type columns. +type DateDimensionField struct { + _ struct{} `type:"structure"` + + // The column that is used in the DateDimensionField. + // + // Column is a required field + Column *ColumnIdentifier `type:"structure" required:"true"` + + // The date granularity of the DateDimensionField. Choose one of the following + // options: + // + // * YEAR + // + // * QUARTER + // + // * MONTH + // + // * WEEK + // + // * DAY + // + // * HOUR + // + // * MINUTE + // + // * SECOND + // + // * MILLISECOND + DateGranularity *string `type:"string" enum:"TimeGranularity"` + + // The custom field ID. + // + // FieldId is a required field + FieldId *string `min:"1" type:"string" required:"true"` + + // The format configuration of the field. + FormatConfiguration *DateTimeFormatConfiguration `type:"structure"` + + // The custom hierarchy ID. + HierarchyId *string `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 DateDimensionField) 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 DateDimensionField) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DateDimensionField) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DateDimensionField"} + if s.Column == nil { + invalidParams.Add(request.NewErrParamRequired("Column")) + } + if s.FieldId == nil { + invalidParams.Add(request.NewErrParamRequired("FieldId")) + } + if s.FieldId != nil && len(*s.FieldId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FieldId", 1)) + } + if s.HierarchyId != nil && len(*s.HierarchyId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("HierarchyId", 1)) + } + if s.Column != nil { + if err := s.Column.Validate(); err != nil { + invalidParams.AddNested("Column", err.(request.ErrInvalidParams)) + } + } + if s.FormatConfiguration != nil { + if err := s.FormatConfiguration.Validate(); err != nil { + invalidParams.AddNested("FormatConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetColumn sets the Column field's value. +func (s *DateDimensionField) SetColumn(v *ColumnIdentifier) *DateDimensionField { + s.Column = v + return s +} + +// SetDateGranularity sets the DateGranularity field's value. +func (s *DateDimensionField) SetDateGranularity(v string) *DateDimensionField { + s.DateGranularity = &v + return s +} + +// SetFieldId sets the FieldId field's value. +func (s *DateDimensionField) SetFieldId(v string) *DateDimensionField { + s.FieldId = &v + return s +} + +// SetFormatConfiguration sets the FormatConfiguration field's value. +func (s *DateDimensionField) SetFormatConfiguration(v *DateTimeFormatConfiguration) *DateDimensionField { + s.FormatConfiguration = v + return s +} + +// SetHierarchyId sets the HierarchyId field's value. +func (s *DateDimensionField) SetHierarchyId(v string) *DateDimensionField { + s.HierarchyId = &v + return s +} + +// The measure type field with date type columns. +type DateMeasureField struct { + _ struct{} `type:"structure"` + + // The aggregation function of the measure field. + AggregationFunction *string `type:"string" enum:"DateAggregationFunction"` + + // The column that is used in the DateMeasureField. + // + // Column is a required field + Column *ColumnIdentifier `type:"structure" required:"true"` + + // The custom field ID. + // + // FieldId is a required field + FieldId *string `min:"1" type:"string" required:"true"` + + // The format configuration of the field. + FormatConfiguration *DateTimeFormatConfiguration `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 DateMeasureField) 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 DateMeasureField) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DateMeasureField) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DateMeasureField"} + if s.Column == nil { + invalidParams.Add(request.NewErrParamRequired("Column")) + } + if s.FieldId == nil { + invalidParams.Add(request.NewErrParamRequired("FieldId")) + } + if s.FieldId != nil && len(*s.FieldId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FieldId", 1)) + } + if s.Column != nil { + if err := s.Column.Validate(); err != nil { + invalidParams.AddNested("Column", err.(request.ErrInvalidParams)) + } + } + if s.FormatConfiguration != nil { + if err := s.FormatConfiguration.Validate(); err != nil { + invalidParams.AddNested("FormatConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAggregationFunction sets the AggregationFunction field's value. +func (s *DateMeasureField) SetAggregationFunction(v string) *DateMeasureField { + s.AggregationFunction = &v + return s +} + +// SetColumn sets the Column field's value. +func (s *DateMeasureField) SetColumn(v *ColumnIdentifier) *DateMeasureField { + s.Column = v + return s +} + +// SetFieldId sets the FieldId field's value. +func (s *DateMeasureField) SetFieldId(v string) *DateMeasureField { + s.FieldId = &v + return s +} + +// SetFormatConfiguration sets the FormatConfiguration field's value. +func (s *DateMeasureField) SetFormatConfiguration(v *DateTimeFormatConfiguration) *DateMeasureField { + s.FormatConfiguration = v + return s +} + +// The default values of the DateTimeParameterDeclaration. +type DateTimeDefaultValues struct { + _ struct{} `type:"structure"` + + // The dynamic value of the DataTimeDefaultValues. Different defaults are displayed + // according to users, groups, and values mapping. + DynamicValue *DynamicDefaultValue `type:"structure"` + + // The rolling date of the DataTimeDefaultValues. The date is determined from + // the dataset based on input expression. + RollingDate *RollingDateConfiguration `type:"structure"` + + // The static values of the DataTimeDefaultValues. + StaticValues []*time.Time `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 DateTimeDefaultValues) 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 DateTimeDefaultValues) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DateTimeDefaultValues) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DateTimeDefaultValues"} + if s.DynamicValue != nil { + if err := s.DynamicValue.Validate(); err != nil { + invalidParams.AddNested("DynamicValue", err.(request.ErrInvalidParams)) + } + } + if s.RollingDate != nil { + if err := s.RollingDate.Validate(); err != nil { + invalidParams.AddNested("RollingDate", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDynamicValue sets the DynamicValue field's value. +func (s *DateTimeDefaultValues) SetDynamicValue(v *DynamicDefaultValue) *DateTimeDefaultValues { + s.DynamicValue = v + return s +} + +// SetRollingDate sets the RollingDate field's value. +func (s *DateTimeDefaultValues) SetRollingDate(v *RollingDateConfiguration) *DateTimeDefaultValues { + s.RollingDate = v + return s +} + +// SetStaticValues sets the StaticValues field's value. +func (s *DateTimeDefaultValues) SetStaticValues(v []*time.Time) *DateTimeDefaultValues { + s.StaticValues = v + return s +} + +// Formatting configuration for DateTime fields. +type DateTimeFormatConfiguration struct { + _ struct{} `type:"structure"` + + // Determines the DateTime format. + DateTimeFormat *string `min:"1" type:"string"` + + // The options that determine the null value format configuration. + NullValueFormatConfiguration *NullValueFormatConfiguration `type:"structure"` + + // The formatting configuration for numeric DateTime fields. + NumericFormatConfiguration *NumericFormatConfiguration `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 DateTimeFormatConfiguration) 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 DateTimeFormatConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DateTimeFormatConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DateTimeFormatConfiguration"} + if s.DateTimeFormat != nil && len(*s.DateTimeFormat) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DateTimeFormat", 1)) + } + if s.NullValueFormatConfiguration != nil { + if err := s.NullValueFormatConfiguration.Validate(); err != nil { + invalidParams.AddNested("NullValueFormatConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.NumericFormatConfiguration != nil { + if err := s.NumericFormatConfiguration.Validate(); err != nil { + invalidParams.AddNested("NumericFormatConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDateTimeFormat sets the DateTimeFormat field's value. +func (s *DateTimeFormatConfiguration) SetDateTimeFormat(v string) *DateTimeFormatConfiguration { + s.DateTimeFormat = &v + return s +} + +// SetNullValueFormatConfiguration sets the NullValueFormatConfiguration field's value. +func (s *DateTimeFormatConfiguration) SetNullValueFormatConfiguration(v *NullValueFormatConfiguration) *DateTimeFormatConfiguration { + s.NullValueFormatConfiguration = v + return s +} + +// SetNumericFormatConfiguration sets the NumericFormatConfiguration field's value. +func (s *DateTimeFormatConfiguration) SetNumericFormatConfiguration(v *NumericFormatConfiguration) *DateTimeFormatConfiguration { + s.NumericFormatConfiguration = v + return s +} + +// The option that determines the hierarchy of any DateTime fields. +type DateTimeHierarchy struct { + _ struct{} `type:"structure"` + + // The option that determines the drill down filters for the DateTime hierarchy. + DrillDownFilters []*DrillDownFilter `type:"list"` + + // The hierarchy ID of the DateTime hierarchy. + // + // HierarchyId is a required field + HierarchyId *string `min:"1" type:"string" required:"true"` +} + +// 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 DateTimeHierarchy) 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 DateTimeHierarchy) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DateTimeHierarchy) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DateTimeHierarchy"} + if s.HierarchyId == nil { + invalidParams.Add(request.NewErrParamRequired("HierarchyId")) + } + if s.HierarchyId != nil && len(*s.HierarchyId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("HierarchyId", 1)) + } + if s.DrillDownFilters != nil { + for i, v := range s.DrillDownFilters { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DrillDownFilters", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDrillDownFilters sets the DrillDownFilters field's value. +func (s *DateTimeHierarchy) SetDrillDownFilters(v []*DrillDownFilter) *DateTimeHierarchy { + s.DrillDownFilters = v + return s +} + +// SetHierarchyId sets the HierarchyId field's value. +func (s *DateTimeHierarchy) SetHierarchyId(v string) *DateTimeHierarchy { + s.HierarchyId = &v + return s +} + +// A date-time parameter. +type DateTimeParameter struct { + _ struct{} `type:"structure"` + + // A display name for the date-time parameter. + // + // Name is a required field + Name *string `type:"string" required:"true"` + + // The values for the date-time parameter. + // + // Values is a required field + Values []*time.Time `type:"list" required:"true"` +} + +// 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 DateTimeParameter) 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 DateTimeParameter) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DateTimeParameter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DateTimeParameter"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Values == nil { + invalidParams.Add(request.NewErrParamRequired("Values")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *DateTimeParameter) SetName(v string) *DateTimeParameter { + s.Name = &v + return s +} + +// SetValues sets the Values field's value. +func (s *DateTimeParameter) SetValues(v []*time.Time) *DateTimeParameter { + s.Values = v + return s +} + +// A parameter declaration for the DateTime data type. +type DateTimeParameterDeclaration struct { + _ struct{} `type:"structure"` + + // The default values of a parameter. If the parameter is a single-value parameter, + // a maximum of one default value can be provided. + DefaultValues *DateTimeDefaultValues `type:"structure"` + + // The name of the parameter that is being declared. + // + // Name is a required field + Name *string `min:"1" type:"string" required:"true"` + + // The level of time precision that is used to aggregate DateTime values. + TimeGranularity *string `type:"string" enum:"TimeGranularity"` + + // The configuration that defines the default value of a DateTime parameter + // when a value has not been set. + ValueWhenUnset *DateTimeValueWhenUnsetConfiguration `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 DateTimeParameterDeclaration) 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 DateTimeParameterDeclaration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DateTimeParameterDeclaration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DateTimeParameterDeclaration"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.DefaultValues != nil { + if err := s.DefaultValues.Validate(); err != nil { + invalidParams.AddNested("DefaultValues", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDefaultValues sets the DefaultValues field's value. +func (s *DateTimeParameterDeclaration) SetDefaultValues(v *DateTimeDefaultValues) *DateTimeParameterDeclaration { + s.DefaultValues = v + return s +} + +// SetName sets the Name field's value. +func (s *DateTimeParameterDeclaration) SetName(v string) *DateTimeParameterDeclaration { + s.Name = &v + return s +} + +// SetTimeGranularity sets the TimeGranularity field's value. +func (s *DateTimeParameterDeclaration) SetTimeGranularity(v string) *DateTimeParameterDeclaration { + s.TimeGranularity = &v + return s +} + +// SetValueWhenUnset sets the ValueWhenUnset field's value. +func (s *DateTimeParameterDeclaration) SetValueWhenUnset(v *DateTimeValueWhenUnsetConfiguration) *DateTimeParameterDeclaration { + s.ValueWhenUnset = v + return s +} + +// The display options of a control. +type DateTimePickerControlDisplayOptions struct { + _ struct{} `type:"structure"` + + // Customize how dates are formatted in controls. + DateTimeFormat *string `min:"1" type:"string"` + + // The options to configure the title visibility, name, and font size. + TitleOptions *LabelOptions `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 DateTimePickerControlDisplayOptions) 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 DateTimePickerControlDisplayOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DateTimePickerControlDisplayOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DateTimePickerControlDisplayOptions"} + if s.DateTimeFormat != nil && len(*s.DateTimeFormat) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DateTimeFormat", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDateTimeFormat sets the DateTimeFormat field's value. +func (s *DateTimePickerControlDisplayOptions) SetDateTimeFormat(v string) *DateTimePickerControlDisplayOptions { + s.DateTimeFormat = &v + return s +} + +// SetTitleOptions sets the TitleOptions field's value. +func (s *DateTimePickerControlDisplayOptions) SetTitleOptions(v *LabelOptions) *DateTimePickerControlDisplayOptions { + s.TitleOptions = v + return s +} + +// The configuration that defines the default value of a DateTime parameter +// when a value has not been set. +type DateTimeValueWhenUnsetConfiguration struct { + _ struct{} `type:"structure"` + + // A custom value that's used when the value of a parameter isn't set. + // + // CustomValue is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by DateTimeValueWhenUnsetConfiguration's + // String and GoString methods. + CustomValue *time.Time `type:"timestamp" sensitive:"true"` + + // The built-in options for default values. The value can be one of the following: + // + // * RECOMMENDED: The recommended value. + // + // * NULL: The NULL value. + ValueWhenUnsetOption *string `type:"string" enum:"ValueWhenUnsetOption"` +} + +// 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 DateTimeValueWhenUnsetConfiguration) 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 DateTimeValueWhenUnsetConfiguration) GoString() string { + return s.String() +} + +// SetCustomValue sets the CustomValue field's value. +func (s *DateTimeValueWhenUnsetConfiguration) SetCustomValue(v time.Time) *DateTimeValueWhenUnsetConfiguration { + s.CustomValue = &v + return s +} + +// SetValueWhenUnsetOption sets the ValueWhenUnsetOption field's value. +func (s *DateTimeValueWhenUnsetConfiguration) SetValueWhenUnsetOption(v string) *DateTimeValueWhenUnsetConfiguration { + s.ValueWhenUnsetOption = &v + return s +} + +// The default values of the DecimalParameterDeclaration. +type DecimalDefaultValues struct { + _ struct{} `type:"structure"` + + // The dynamic value of the DecimalDefaultValues. Different defaults are displayed + // according to users, groups, and values mapping. + DynamicValue *DynamicDefaultValue `type:"structure"` + + // The static values of the DecimalDefaultValues. + StaticValues []*float64 `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 DecimalDefaultValues) 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 DecimalDefaultValues) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DecimalDefaultValues) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DecimalDefaultValues"} + if s.DynamicValue != nil { + if err := s.DynamicValue.Validate(); err != nil { + invalidParams.AddNested("DynamicValue", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDynamicValue sets the DynamicValue field's value. +func (s *DecimalDefaultValues) SetDynamicValue(v *DynamicDefaultValue) *DecimalDefaultValues { + s.DynamicValue = v + return s +} + +// SetStaticValues sets the StaticValues field's value. +func (s *DecimalDefaultValues) SetStaticValues(v []*float64) *DecimalDefaultValues { + s.StaticValues = v + return s +} + +// A decimal parameter. +type DecimalParameter struct { + _ struct{} `type:"structure"` + + // A display name for the decimal parameter. + // + // Name is a required field + Name *string `type:"string" required:"true"` + + // The values for the decimal parameter. + // + // Values is a required field + Values []*float64 `type:"list" required:"true"` +} + +// 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 DecimalParameter) 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 DecimalParameter) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DecimalParameter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DecimalParameter"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Values == nil { + invalidParams.Add(request.NewErrParamRequired("Values")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *DecimalParameter) SetName(v string) *DecimalParameter { + s.Name = &v + return s +} + +// SetValues sets the Values field's value. +func (s *DecimalParameter) SetValues(v []*float64) *DecimalParameter { + s.Values = v + return s +} + +// A parameter declaration for the Decimal data type. +type DecimalParameterDeclaration struct { + _ struct{} `type:"structure"` + + // The default values of a parameter. If the parameter is a single-value parameter, + // a maximum of one default value can be provided. + DefaultValues *DecimalDefaultValues `type:"structure"` + + // The name of the parameter that is being declared. + // + // Name is a required field + Name *string `min:"1" type:"string" required:"true"` + + // The value type determines whether the parameter is a single-value or multi-value + // parameter. + // + // ParameterValueType is a required field + ParameterValueType *string `type:"string" required:"true" enum:"ParameterValueType"` + + // The configuration that defines the default value of a Decimal parameter when + // a value has not been set. + ValueWhenUnset *DecimalValueWhenUnsetConfiguration `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 DecimalParameterDeclaration) 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 DecimalParameterDeclaration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DecimalParameterDeclaration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DecimalParameterDeclaration"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.ParameterValueType == nil { + invalidParams.Add(request.NewErrParamRequired("ParameterValueType")) + } + if s.DefaultValues != nil { + if err := s.DefaultValues.Validate(); err != nil { + invalidParams.AddNested("DefaultValues", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDefaultValues sets the DefaultValues field's value. +func (s *DecimalParameterDeclaration) SetDefaultValues(v *DecimalDefaultValues) *DecimalParameterDeclaration { + s.DefaultValues = v + return s +} + +// SetName sets the Name field's value. +func (s *DecimalParameterDeclaration) SetName(v string) *DecimalParameterDeclaration { + s.Name = &v + return s +} + +// SetParameterValueType sets the ParameterValueType field's value. +func (s *DecimalParameterDeclaration) SetParameterValueType(v string) *DecimalParameterDeclaration { + s.ParameterValueType = &v + return s +} + +// SetValueWhenUnset sets the ValueWhenUnset field's value. +func (s *DecimalParameterDeclaration) SetValueWhenUnset(v *DecimalValueWhenUnsetConfiguration) *DecimalParameterDeclaration { + s.ValueWhenUnset = v + return s +} + +// The option that determines the decimal places configuration. +type DecimalPlacesConfiguration struct { + _ struct{} `type:"structure"` + + // The values of the decimal places. + // + // DecimalPlaces is a required field + DecimalPlaces *int64 `type:"long" required:"true"` +} + +// 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 DecimalPlacesConfiguration) 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 DecimalPlacesConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DecimalPlacesConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DecimalPlacesConfiguration"} + if s.DecimalPlaces == nil { + invalidParams.Add(request.NewErrParamRequired("DecimalPlaces")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDecimalPlaces sets the DecimalPlaces field's value. +func (s *DecimalPlacesConfiguration) SetDecimalPlaces(v int64) *DecimalPlacesConfiguration { + s.DecimalPlaces = &v + return s +} + +// The configuration that defines the default value of a Decimal parameter when +// a value has not been set. +type DecimalValueWhenUnsetConfiguration struct { + _ struct{} `type:"structure"` + + // A custom value that's used when the value of a parameter isn't set. + // + // CustomValue is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by DecimalValueWhenUnsetConfiguration's + // String and GoString methods. + CustomValue *float64 `type:"double" sensitive:"true"` + + // The built-in options for default values. The value can be one of the following: + // + // * RECOMMENDED: The recommended value. + // + // * NULL: The NULL value. + ValueWhenUnsetOption *string `type:"string" enum:"ValueWhenUnsetOption"` +} + +// 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 DecimalValueWhenUnsetConfiguration) 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 DecimalValueWhenUnsetConfiguration) GoString() string { + return s.String() +} + +// SetCustomValue sets the CustomValue field's value. +func (s *DecimalValueWhenUnsetConfiguration) SetCustomValue(v float64) *DecimalValueWhenUnsetConfiguration { + s.CustomValue = &v + return s +} + +// SetValueWhenUnsetOption sets the ValueWhenUnsetOption field's value. +func (s *DecimalValueWhenUnsetConfiguration) SetValueWhenUnsetOption(v string) *DecimalValueWhenUnsetConfiguration { + s.ValueWhenUnsetOption = &v + return s +} + +// The options that determine the default settings of a free-form layout configuration. +type DefaultFreeFormLayoutConfiguration struct { + _ struct{} `type:"structure"` + + // Determines the screen canvas size options for a free-form layout. + // + // CanvasSizeOptions is a required field + CanvasSizeOptions *FreeFormLayoutCanvasSizeOptions `type:"structure" required:"true"` +} + +// 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 DefaultFreeFormLayoutConfiguration) 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 DefaultFreeFormLayoutConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DefaultFreeFormLayoutConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DefaultFreeFormLayoutConfiguration"} + if s.CanvasSizeOptions == nil { + invalidParams.Add(request.NewErrParamRequired("CanvasSizeOptions")) + } + if s.CanvasSizeOptions != nil { + if err := s.CanvasSizeOptions.Validate(); err != nil { + invalidParams.AddNested("CanvasSizeOptions", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCanvasSizeOptions sets the CanvasSizeOptions field's value. +func (s *DefaultFreeFormLayoutConfiguration) SetCanvasSizeOptions(v *FreeFormLayoutCanvasSizeOptions) *DefaultFreeFormLayoutConfiguration { + s.CanvasSizeOptions = v + return s +} + +// The options that determine the default settings for a grid layout configuration. +type DefaultGridLayoutConfiguration struct { + _ struct{} `type:"structure"` + + // Determines the screen canvas size options for a grid layout. + // + // CanvasSizeOptions is a required field + CanvasSizeOptions *GridLayoutCanvasSizeOptions `type:"structure" required:"true"` +} + +// 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 DefaultGridLayoutConfiguration) 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 DefaultGridLayoutConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DefaultGridLayoutConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DefaultGridLayoutConfiguration"} + if s.CanvasSizeOptions == nil { + invalidParams.Add(request.NewErrParamRequired("CanvasSizeOptions")) + } + if s.CanvasSizeOptions != nil { + if err := s.CanvasSizeOptions.Validate(); err != nil { + invalidParams.AddNested("CanvasSizeOptions", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCanvasSizeOptions sets the CanvasSizeOptions field's value. +func (s *DefaultGridLayoutConfiguration) SetCanvasSizeOptions(v *GridLayoutCanvasSizeOptions) *DefaultGridLayoutConfiguration { + s.CanvasSizeOptions = v + return s +} + +// The options that determine the default settings for interactive layout configuration. +type DefaultInteractiveLayoutConfiguration struct { + _ struct{} `type:"structure"` + + // The options that determine the default settings of a free-form layout configuration. + FreeForm *DefaultFreeFormLayoutConfiguration `type:"structure"` + + // The options that determine the default settings for a grid layout configuration. + Grid *DefaultGridLayoutConfiguration `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 DefaultInteractiveLayoutConfiguration) 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 DefaultInteractiveLayoutConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DefaultInteractiveLayoutConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DefaultInteractiveLayoutConfiguration"} + if s.FreeForm != nil { + if err := s.FreeForm.Validate(); err != nil { + invalidParams.AddNested("FreeForm", err.(request.ErrInvalidParams)) + } + } + if s.Grid != nil { + if err := s.Grid.Validate(); err != nil { + invalidParams.AddNested("Grid", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFreeForm sets the FreeForm field's value. +func (s *DefaultInteractiveLayoutConfiguration) SetFreeForm(v *DefaultFreeFormLayoutConfiguration) *DefaultInteractiveLayoutConfiguration { + s.FreeForm = v + return s +} + +// SetGrid sets the Grid field's value. +func (s *DefaultInteractiveLayoutConfiguration) SetGrid(v *DefaultGridLayoutConfiguration) *DefaultInteractiveLayoutConfiguration { + s.Grid = v + return s +} + +// The configuration for default new sheet settings. +type DefaultNewSheetConfiguration struct { + _ struct{} `type:"structure"` + + // The options that determine the default settings for interactive layout configuration. + InteractiveLayoutConfiguration *DefaultInteractiveLayoutConfiguration `type:"structure"` + + // The options that determine the default settings for a paginated layout configuration. + PaginatedLayoutConfiguration *DefaultPaginatedLayoutConfiguration `type:"structure"` + + // The option that determines the sheet content type. + SheetContentType *string `type:"string" enum:"SheetContentType"` +} + +// 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 DefaultNewSheetConfiguration) 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 DefaultNewSheetConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DefaultNewSheetConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DefaultNewSheetConfiguration"} + if s.InteractiveLayoutConfiguration != nil { + if err := s.InteractiveLayoutConfiguration.Validate(); err != nil { + invalidParams.AddNested("InteractiveLayoutConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.PaginatedLayoutConfiguration != nil { + if err := s.PaginatedLayoutConfiguration.Validate(); err != nil { + invalidParams.AddNested("PaginatedLayoutConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInteractiveLayoutConfiguration sets the InteractiveLayoutConfiguration field's value. +func (s *DefaultNewSheetConfiguration) SetInteractiveLayoutConfiguration(v *DefaultInteractiveLayoutConfiguration) *DefaultNewSheetConfiguration { + s.InteractiveLayoutConfiguration = v + return s +} + +// SetPaginatedLayoutConfiguration sets the PaginatedLayoutConfiguration field's value. +func (s *DefaultNewSheetConfiguration) SetPaginatedLayoutConfiguration(v *DefaultPaginatedLayoutConfiguration) *DefaultNewSheetConfiguration { + s.PaginatedLayoutConfiguration = v + return s +} + +// SetSheetContentType sets the SheetContentType field's value. +func (s *DefaultNewSheetConfiguration) SetSheetContentType(v string) *DefaultNewSheetConfiguration { + s.SheetContentType = &v + return s +} + +// The options that determine the default settings for a paginated layout configuration. +type DefaultPaginatedLayoutConfiguration struct { + _ struct{} `type:"structure"` + + // The options that determine the default settings for a section-based layout + // configuration. + SectionBased *DefaultSectionBasedLayoutConfiguration `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 DefaultPaginatedLayoutConfiguration) 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 DefaultPaginatedLayoutConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DefaultPaginatedLayoutConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DefaultPaginatedLayoutConfiguration"} + if s.SectionBased != nil { + if err := s.SectionBased.Validate(); err != nil { + invalidParams.AddNested("SectionBased", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetSectionBased sets the SectionBased field's value. +func (s *DefaultPaginatedLayoutConfiguration) SetSectionBased(v *DefaultSectionBasedLayoutConfiguration) *DefaultPaginatedLayoutConfiguration { + s.SectionBased = v + return s +} + +// The options that determine the default settings for a section-based layout +// configuration. +type DefaultSectionBasedLayoutConfiguration struct { + _ struct{} `type:"structure"` + + // Determines the screen canvas size options for a section-based layout. + // + // CanvasSizeOptions is a required field + CanvasSizeOptions *SectionBasedLayoutCanvasSizeOptions `type:"structure" required:"true"` +} + +// 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 DefaultSectionBasedLayoutConfiguration) 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 DefaultSectionBasedLayoutConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DefaultSectionBasedLayoutConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DefaultSectionBasedLayoutConfiguration"} + if s.CanvasSizeOptions == nil { + invalidParams.Add(request.NewErrParamRequired("CanvasSizeOptions")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCanvasSizeOptions sets the CanvasSizeOptions field's value. +func (s *DefaultSectionBasedLayoutConfiguration) SetCanvasSizeOptions(v *SectionBasedLayoutCanvasSizeOptions) *DefaultSectionBasedLayoutConfiguration { + s.CanvasSizeOptions = v + return s +} + +type DeleteAccountCustomizationInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID for the Amazon Web Services account that you want to delete Amazon + // QuickSight customizations from in this Amazon Web Services Region. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The Amazon QuickSight namespace that you're deleting the customizations from. + Namespace *string `location:"querystring" locationName:"namespace" 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 DeleteAccountCustomizationInput) 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 DeleteAccountCustomizationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteAccountCustomizationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteAccountCustomizationInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DeleteAccountCustomizationInput) SetAwsAccountId(v string) *DeleteAccountCustomizationInput { + s.AwsAccountId = &v + return s +} + +// SetNamespace sets the Namespace field's value. +func (s *DeleteAccountCustomizationInput) SetNamespace(v string) *DeleteAccountCustomizationInput { + s.Namespace = &v + return s +} + +type DeleteAccountCustomizationOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 DeleteAccountCustomizationOutput) 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 DeleteAccountCustomizationOutput) GoString() string { + return s.String() +} + +// SetRequestId sets the RequestId field's value. +func (s *DeleteAccountCustomizationOutput) SetRequestId(v string) *DeleteAccountCustomizationOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DeleteAccountCustomizationOutput) SetStatus(v int64) *DeleteAccountCustomizationOutput { + s.Status = &v + return s +} + +type DeleteAccountSubscriptionInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The Amazon Web Services account ID of the account that you want to delete. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` +} + +// 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 DeleteAccountSubscriptionInput) 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 DeleteAccountSubscriptionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteAccountSubscriptionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteAccountSubscriptionInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DeleteAccountSubscriptionInput) SetAwsAccountId(v string) *DeleteAccountSubscriptionInput { + s.AwsAccountId = &v + return s +} + +type DeleteAccountSubscriptionOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 DeleteAccountSubscriptionOutput) 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 DeleteAccountSubscriptionOutput) GoString() string { + return s.String() +} + +// SetRequestId sets the RequestId field's value. +func (s *DeleteAccountSubscriptionOutput) SetRequestId(v string) *DeleteAccountSubscriptionOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DeleteAccountSubscriptionOutput) SetStatus(v int64) *DeleteAccountSubscriptionOutput { + s.Status = &v + return s +} + +type DeleteAnalysisInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID of the analysis that you're deleting. + // + // AnalysisId is a required field + AnalysisId *string `location:"uri" locationName:"AnalysisId" min:"1" type:"string" required:"true"` + + // The ID of the Amazon Web Services account where you want to delete an analysis. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // This option defaults to the value NoForceDeleteWithoutRecovery. To immediately + // delete the analysis, add the ForceDeleteWithoutRecovery option. You can't + // restore an analysis after it's deleted. + ForceDeleteWithoutRecovery *bool `location:"querystring" locationName:"force-delete-without-recovery" type:"boolean"` + + // A value that specifies the number of days that Amazon QuickSight waits before + // it deletes the analysis. You can't use this parameter with the ForceDeleteWithoutRecovery + // option in the same API call. The default value is 30. + RecoveryWindowInDays *int64 `location:"querystring" locationName:"recovery-window-in-days" min:"7" type:"long"` +} + +// 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 DeleteAnalysisInput) 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 DeleteAnalysisInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteAnalysisInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteAnalysisInput"} + if s.AnalysisId == nil { + invalidParams.Add(request.NewErrParamRequired("AnalysisId")) + } + if s.AnalysisId != nil && len(*s.AnalysisId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AnalysisId", 1)) + } + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.RecoveryWindowInDays != nil && *s.RecoveryWindowInDays < 7 { + invalidParams.Add(request.NewErrParamMinValue("RecoveryWindowInDays", 7)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAnalysisId sets the AnalysisId field's value. +func (s *DeleteAnalysisInput) SetAnalysisId(v string) *DeleteAnalysisInput { + s.AnalysisId = &v + return s +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DeleteAnalysisInput) SetAwsAccountId(v string) *DeleteAnalysisInput { + s.AwsAccountId = &v + return s +} + +// SetForceDeleteWithoutRecovery sets the ForceDeleteWithoutRecovery field's value. +func (s *DeleteAnalysisInput) SetForceDeleteWithoutRecovery(v bool) *DeleteAnalysisInput { + s.ForceDeleteWithoutRecovery = &v + return s +} + +// SetRecoveryWindowInDays sets the RecoveryWindowInDays field's value. +func (s *DeleteAnalysisInput) SetRecoveryWindowInDays(v int64) *DeleteAnalysisInput { + s.RecoveryWindowInDays = &v + return s +} + +type DeleteAnalysisOutput struct { + _ struct{} `type:"structure"` + + // The ID of the deleted analysis. + AnalysisId *string `min:"1" type:"string"` + + // The Amazon Resource Name (ARN) of the deleted analysis. + Arn *string `type:"string"` + + // The date and time that the analysis is scheduled to be deleted. + DeletionTime *time.Time `type:"timestamp"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 DeleteAnalysisOutput) 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 DeleteAnalysisOutput) GoString() string { + return s.String() +} + +// SetAnalysisId sets the AnalysisId field's value. +func (s *DeleteAnalysisOutput) SetAnalysisId(v string) *DeleteAnalysisOutput { + s.AnalysisId = &v + return s +} + +// SetArn sets the Arn field's value. +func (s *DeleteAnalysisOutput) SetArn(v string) *DeleteAnalysisOutput { + s.Arn = &v + return s +} + +// SetDeletionTime sets the DeletionTime field's value. +func (s *DeleteAnalysisOutput) SetDeletionTime(v time.Time) *DeleteAnalysisOutput { + s.DeletionTime = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *DeleteAnalysisOutput) SetRequestId(v string) *DeleteAnalysisOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DeleteAnalysisOutput) SetStatus(v int64) *DeleteAnalysisOutput { + s.Status = &v + return s +} + +type DeleteDashboardInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID of the Amazon Web Services account that contains the dashboard that + // you're deleting. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The ID for the dashboard. + // + // DashboardId is a required field + DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"` + + // The version number of the dashboard. If the version number property is provided, + // only the specified version of the dashboard is deleted. + VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"` +} + +// 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 DeleteDashboardInput) 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 DeleteDashboardInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteDashboardInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteDashboardInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.DashboardId == nil { + invalidParams.Add(request.NewErrParamRequired("DashboardId")) + } + if s.DashboardId != nil && len(*s.DashboardId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1)) + } + if s.VersionNumber != nil && *s.VersionNumber < 1 { + invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DeleteDashboardInput) SetAwsAccountId(v string) *DeleteDashboardInput { + s.AwsAccountId = &v + return s +} + +// SetDashboardId sets the DashboardId field's value. +func (s *DeleteDashboardInput) SetDashboardId(v string) *DeleteDashboardInput { + s.DashboardId = &v + return s +} + +// SetVersionNumber sets the VersionNumber field's value. +func (s *DeleteDashboardInput) SetVersionNumber(v int64) *DeleteDashboardInput { + s.VersionNumber = &v + return s +} + +type DeleteDashboardOutput struct { + _ struct{} `type:"structure"` + + // The Secure Socket Layer (SSL) properties that apply for the resource. + Arn *string `type:"string"` + + // The ID of the dashboard. + DashboardId *string `min:"1" type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 DeleteDashboardOutput) 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 DeleteDashboardOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *DeleteDashboardOutput) SetArn(v string) *DeleteDashboardOutput { + s.Arn = &v + return s +} + +// SetDashboardId sets the DashboardId field's value. +func (s *DeleteDashboardOutput) SetDashboardId(v string) *DeleteDashboardOutput { + s.DashboardId = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *DeleteDashboardOutput) SetRequestId(v string) *DeleteDashboardOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DeleteDashboardOutput) SetStatus(v int64) *DeleteDashboardOutput { + s.Status = &v + return s +} + +type DeleteDataSetInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The Amazon Web Services account ID. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The ID for the dataset that you want to create. This ID is unique per Amazon + // Web Services Region for each Amazon Web Services account. + // + // DataSetId is a required field + DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"` +} + +// 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 DeleteDataSetInput) 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 DeleteDataSetInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteDataSetInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteDataSetInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.DataSetId == nil { + invalidParams.Add(request.NewErrParamRequired("DataSetId")) + } + if s.DataSetId != nil && len(*s.DataSetId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DeleteDataSetInput) SetAwsAccountId(v string) *DeleteDataSetInput { + s.AwsAccountId = &v + return s +} + +// SetDataSetId sets the DataSetId field's value. +func (s *DeleteDataSetInput) SetDataSetId(v string) *DeleteDataSetInput { + s.DataSetId = &v + return s +} + +type DeleteDataSetOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the dataset. + Arn *string `type:"string"` + + // The ID for the dataset that you want to create. This ID is unique per Amazon + // Web Services Region for each Amazon Web Services account. + DataSetId *string `type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 DeleteDataSetOutput) 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 DeleteDataSetOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *DeleteDataSetOutput) SetArn(v string) *DeleteDataSetOutput { + s.Arn = &v + return s +} + +// SetDataSetId sets the DataSetId field's value. +func (s *DeleteDataSetOutput) SetDataSetId(v string) *DeleteDataSetOutput { + s.DataSetId = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *DeleteDataSetOutput) SetRequestId(v string) *DeleteDataSetOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DeleteDataSetOutput) SetStatus(v int64) *DeleteDataSetOutput { + s.Status = &v + return s +} + +type DeleteDataSourceInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The Amazon Web Services account ID. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The ID of the data source. This ID is unique per Amazon Web Services Region + // for each Amazon Web Services account. + // + // DataSourceId is a required field + DataSourceId *string `location:"uri" locationName:"DataSourceId" type:"string" required:"true"` +} + +// 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 DeleteDataSourceInput) 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 DeleteDataSourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteDataSourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteDataSourceInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.DataSourceId == nil { + invalidParams.Add(request.NewErrParamRequired("DataSourceId")) + } + if s.DataSourceId != nil && len(*s.DataSourceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DataSourceId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DeleteDataSourceInput) SetAwsAccountId(v string) *DeleteDataSourceInput { + s.AwsAccountId = &v + return s +} + +// SetDataSourceId sets the DataSourceId field's value. +func (s *DeleteDataSourceInput) SetDataSourceId(v string) *DeleteDataSourceInput { + s.DataSourceId = &v + return s +} + +type DeleteDataSourceOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the data source that you deleted. + Arn *string `type:"string"` + + // The ID of the data source. This ID is unique per Amazon Web Services Region + // for each Amazon Web Services account. + DataSourceId *string `type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 DeleteDataSourceOutput) 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 DeleteDataSourceOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *DeleteDataSourceOutput) SetArn(v string) *DeleteDataSourceOutput { + s.Arn = &v + return s +} + +// SetDataSourceId sets the DataSourceId field's value. +func (s *DeleteDataSourceOutput) SetDataSourceId(v string) *DeleteDataSourceOutput { + s.DataSourceId = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *DeleteDataSourceOutput) SetRequestId(v string) *DeleteDataSourceOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DeleteDataSourceOutput) SetStatus(v int64) *DeleteDataSourceOutput { + s.Status = &v + return s +} + +type DeleteFolderInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID for the Amazon Web Services account that contains the folder. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The ID of the folder. + // + // FolderId is a required field + FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"` +} + +// 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 DeleteFolderInput) 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 DeleteFolderInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteFolderInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteFolderInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.FolderId == nil { + invalidParams.Add(request.NewErrParamRequired("FolderId")) + } + if s.FolderId != nil && len(*s.FolderId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FolderId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DeleteFolderInput) SetAwsAccountId(v string) *DeleteFolderInput { + s.AwsAccountId = &v + return s +} + +// SetFolderId sets the FolderId field's value. +func (s *DeleteFolderInput) SetFolderId(v string) *DeleteFolderInput { + s.FolderId = &v + return s +} + +type DeleteFolderMembershipInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID for the Amazon Web Services account that contains the folder. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The Folder ID. + // + // FolderId is a required field + FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"` + + // The ID of the asset (the dashboard, analysis, or dataset) that you want to + // delete. + // + // MemberId is a required field + MemberId *string `location:"uri" locationName:"MemberId" min:"1" type:"string" required:"true"` + + // The type of the member, including DASHBOARD, ANALYSIS, and DATASET + // + // MemberType is a required field + MemberType *string `location:"uri" locationName:"MemberType" type:"string" required:"true" enum:"MemberType"` +} + +// 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 DeleteFolderMembershipInput) 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 DeleteFolderMembershipInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteFolderMembershipInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteFolderMembershipInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.FolderId == nil { + invalidParams.Add(request.NewErrParamRequired("FolderId")) + } + if s.FolderId != nil && len(*s.FolderId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FolderId", 1)) + } + if s.MemberId == nil { + invalidParams.Add(request.NewErrParamRequired("MemberId")) + } + if s.MemberId != nil && len(*s.MemberId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("MemberId", 1)) + } + if s.MemberType == nil { + invalidParams.Add(request.NewErrParamRequired("MemberType")) + } + if s.MemberType != nil && len(*s.MemberType) < 1 { + invalidParams.Add(request.NewErrParamMinLen("MemberType", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DeleteFolderMembershipInput) SetAwsAccountId(v string) *DeleteFolderMembershipInput { + s.AwsAccountId = &v + return s +} + +// SetFolderId sets the FolderId field's value. +func (s *DeleteFolderMembershipInput) SetFolderId(v string) *DeleteFolderMembershipInput { + s.FolderId = &v + return s +} + +// SetMemberId sets the MemberId field's value. +func (s *DeleteFolderMembershipInput) SetMemberId(v string) *DeleteFolderMembershipInput { + s.MemberId = &v + return s +} + +// SetMemberType sets the MemberType field's value. +func (s *DeleteFolderMembershipInput) SetMemberType(v string) *DeleteFolderMembershipInput { + s.MemberType = &v + return s +} + +type DeleteFolderMembershipOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `type:"integer"` +} + +// 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 DeleteFolderMembershipOutput) 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 DeleteFolderMembershipOutput) GoString() string { + return s.String() +} + +// SetRequestId sets the RequestId field's value. +func (s *DeleteFolderMembershipOutput) SetRequestId(v string) *DeleteFolderMembershipOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DeleteFolderMembershipOutput) SetStatus(v int64) *DeleteFolderMembershipOutput { + s.Status = &v + return s +} + +type DeleteFolderOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name of the deleted folder. + Arn *string `type:"string"` + + // The ID of the folder. + FolderId *string `min:"1" type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 DeleteFolderOutput) 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 DeleteFolderOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *DeleteFolderOutput) SetArn(v string) *DeleteFolderOutput { + s.Arn = &v + return s +} + +// SetFolderId sets the FolderId field's value. +func (s *DeleteFolderOutput) SetFolderId(v string) *DeleteFolderOutput { + s.FolderId = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *DeleteFolderOutput) SetRequestId(v string) *DeleteFolderOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DeleteFolderOutput) SetStatus(v int64) *DeleteFolderOutput { + s.Status = &v + return s +} + +type DeleteGroupInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID for the Amazon Web Services account that the group is in. Currently, + // you use the ID for the Amazon Web Services account that contains your Amazon + // QuickSight account. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The name of the group that you want to delete. + // + // GroupName is a required field + GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"` + + // The namespace of the group that you want to delete. + // + // Namespace is a required field + Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` +} + +// 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 DeleteGroupInput) 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 DeleteGroupInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteGroupInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.GroupName == nil { + invalidParams.Add(request.NewErrParamRequired("GroupName")) + } + if s.GroupName != nil && len(*s.GroupName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("GroupName", 1)) + } + if s.Namespace == nil { + invalidParams.Add(request.NewErrParamRequired("Namespace")) + } + if s.Namespace != nil && len(*s.Namespace) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DeleteGroupInput) SetAwsAccountId(v string) *DeleteGroupInput { + s.AwsAccountId = &v + return s +} + +// SetGroupName sets the GroupName field's value. +func (s *DeleteGroupInput) SetGroupName(v string) *DeleteGroupInput { + s.GroupName = &v + return s +} + +// SetNamespace sets the Namespace field's value. +func (s *DeleteGroupInput) SetNamespace(v string) *DeleteGroupInput { + s.Namespace = &v + return s +} + +type DeleteGroupMembershipInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID for the Amazon Web Services account that the group is in. Currently, + // you use the ID for the Amazon Web Services account that contains your Amazon + // QuickSight account. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The name of the group that you want to delete the user from. + // + // GroupName is a required field + GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"` + + // The name of the user that you want to delete from the group membership. + // + // MemberName is a required field + MemberName *string `location:"uri" locationName:"MemberName" min:"1" type:"string" required:"true"` + + // The namespace of the group that you want to remove a user from. + // + // Namespace is a required field + Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` +} + +// 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 DeleteGroupMembershipInput) 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 DeleteGroupMembershipInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteGroupMembershipInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteGroupMembershipInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.GroupName == nil { + invalidParams.Add(request.NewErrParamRequired("GroupName")) + } + if s.GroupName != nil && len(*s.GroupName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("GroupName", 1)) + } + if s.MemberName == nil { + invalidParams.Add(request.NewErrParamRequired("MemberName")) + } + if s.MemberName != nil && len(*s.MemberName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("MemberName", 1)) + } + if s.Namespace == nil { + invalidParams.Add(request.NewErrParamRequired("Namespace")) + } + if s.Namespace != nil && len(*s.Namespace) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DeleteGroupMembershipInput) SetAwsAccountId(v string) *DeleteGroupMembershipInput { + s.AwsAccountId = &v + return s +} + +// SetGroupName sets the GroupName field's value. +func (s *DeleteGroupMembershipInput) SetGroupName(v string) *DeleteGroupMembershipInput { + s.GroupName = &v + return s +} + +// SetMemberName sets the MemberName field's value. +func (s *DeleteGroupMembershipInput) SetMemberName(v string) *DeleteGroupMembershipInput { + s.MemberName = &v + return s +} + +// SetNamespace sets the Namespace field's value. +func (s *DeleteGroupMembershipInput) SetNamespace(v string) *DeleteGroupMembershipInput { + s.Namespace = &v + return s +} + +type DeleteGroupMembershipOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 DeleteGroupMembershipOutput) 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 DeleteGroupMembershipOutput) GoString() string { + return s.String() +} + +// SetRequestId sets the RequestId field's value. +func (s *DeleteGroupMembershipOutput) SetRequestId(v string) *DeleteGroupMembershipOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DeleteGroupMembershipOutput) SetStatus(v int64) *DeleteGroupMembershipOutput { + s.Status = &v + return s +} + +type DeleteGroupOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 DeleteGroupOutput) 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 DeleteGroupOutput) GoString() string { + return s.String() +} + +// SetRequestId sets the RequestId field's value. +func (s *DeleteGroupOutput) SetRequestId(v string) *DeleteGroupOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DeleteGroupOutput) SetStatus(v int64) *DeleteGroupOutput { + s.Status = &v + return s +} + +type DeleteIAMPolicyAssignmentInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The name of the assignment. + // + // AssignmentName is a required field + AssignmentName *string `location:"uri" locationName:"AssignmentName" min:"1" type:"string" required:"true"` + + // The Amazon Web Services account ID where you want to delete the IAM policy + // assignment. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The namespace that contains the assignment. + // + // Namespace is a required field + Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` +} + +// 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 DeleteIAMPolicyAssignmentInput) 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 DeleteIAMPolicyAssignmentInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteIAMPolicyAssignmentInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteIAMPolicyAssignmentInput"} + if s.AssignmentName == nil { + invalidParams.Add(request.NewErrParamRequired("AssignmentName")) + } + if s.AssignmentName != nil && len(*s.AssignmentName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AssignmentName", 1)) + } + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.Namespace == nil { + invalidParams.Add(request.NewErrParamRequired("Namespace")) + } + if s.Namespace != nil && len(*s.Namespace) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAssignmentName sets the AssignmentName field's value. +func (s *DeleteIAMPolicyAssignmentInput) SetAssignmentName(v string) *DeleteIAMPolicyAssignmentInput { + s.AssignmentName = &v + return s +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DeleteIAMPolicyAssignmentInput) SetAwsAccountId(v string) *DeleteIAMPolicyAssignmentInput { + s.AwsAccountId = &v + return s +} + +// SetNamespace sets the Namespace field's value. +func (s *DeleteIAMPolicyAssignmentInput) SetNamespace(v string) *DeleteIAMPolicyAssignmentInput { + s.Namespace = &v + return s +} + +type DeleteIAMPolicyAssignmentOutput struct { + _ struct{} `type:"structure"` + + // The name of the assignment. + AssignmentName *string `min:"1" type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 DeleteIAMPolicyAssignmentOutput) 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 DeleteIAMPolicyAssignmentOutput) GoString() string { + return s.String() +} + +// SetAssignmentName sets the AssignmentName field's value. +func (s *DeleteIAMPolicyAssignmentOutput) SetAssignmentName(v string) *DeleteIAMPolicyAssignmentOutput { + s.AssignmentName = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *DeleteIAMPolicyAssignmentOutput) SetRequestId(v string) *DeleteIAMPolicyAssignmentOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DeleteIAMPolicyAssignmentOutput) SetStatus(v int64) *DeleteIAMPolicyAssignmentOutput { + s.Status = &v + return s +} + +type DeleteNamespaceInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID for the Amazon Web Services account that you want to delete the Amazon + // QuickSight namespace from. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The namespace that you want to delete. + // + // Namespace is a required field + Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` +} + +// 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 DeleteNamespaceInput) 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 DeleteNamespaceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteNamespaceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteNamespaceInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.Namespace == nil { + invalidParams.Add(request.NewErrParamRequired("Namespace")) + } + if s.Namespace != nil && len(*s.Namespace) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DeleteNamespaceInput) SetAwsAccountId(v string) *DeleteNamespaceInput { + s.AwsAccountId = &v + return s +} + +// SetNamespace sets the Namespace field's value. +func (s *DeleteNamespaceInput) SetNamespace(v string) *DeleteNamespaceInput { + s.Namespace = &v + return s +} + +type DeleteNamespaceOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 DeleteNamespaceOutput) 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 DeleteNamespaceOutput) GoString() string { + return s.String() +} + +// SetRequestId sets the RequestId field's value. +func (s *DeleteNamespaceOutput) SetRequestId(v string) *DeleteNamespaceOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DeleteNamespaceOutput) SetStatus(v int64) *DeleteNamespaceOutput { + s.Status = &v + return s +} + +type DeleteTemplateAliasInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The name for the template alias. To delete a specific alias, you delete the + // version that the alias points to. You can specify the alias name, or specify + // the latest version of the template by providing the keyword $LATEST in the + // AliasName parameter. + // + // AliasName is a required field + AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"` + + // The ID of the Amazon Web Services account that contains the item to delete. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The ID for the template that the specified alias is for. + // + // TemplateId is a required field + TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"` +} + +// 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 DeleteTemplateAliasInput) 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 DeleteTemplateAliasInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteTemplateAliasInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteTemplateAliasInput"} + if s.AliasName == nil { + invalidParams.Add(request.NewErrParamRequired("AliasName")) + } + if s.AliasName != nil && len(*s.AliasName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AliasName", 1)) + } + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.TemplateId == nil { + invalidParams.Add(request.NewErrParamRequired("TemplateId")) + } + if s.TemplateId != nil && len(*s.TemplateId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAliasName sets the AliasName field's value. +func (s *DeleteTemplateAliasInput) SetAliasName(v string) *DeleteTemplateAliasInput { + s.AliasName = &v + return s +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DeleteTemplateAliasInput) SetAwsAccountId(v string) *DeleteTemplateAliasInput { + s.AwsAccountId = &v + return s +} + +// SetTemplateId sets the TemplateId field's value. +func (s *DeleteTemplateAliasInput) SetTemplateId(v string) *DeleteTemplateAliasInput { + s.TemplateId = &v + return s +} + +type DeleteTemplateAliasOutput struct { + _ struct{} `type:"structure"` + + // The name for the template alias. + AliasName *string `min:"1" type:"string"` + + // The Amazon Resource Name (ARN) of the template you want to delete. + Arn *string `type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` + + // An ID for the template associated with the deletion. + TemplateId *string `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 DeleteTemplateAliasOutput) 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 DeleteTemplateAliasOutput) GoString() string { + return s.String() +} + +// SetAliasName sets the AliasName field's value. +func (s *DeleteTemplateAliasOutput) SetAliasName(v string) *DeleteTemplateAliasOutput { + s.AliasName = &v + return s +} + +// SetArn sets the Arn field's value. +func (s *DeleteTemplateAliasOutput) SetArn(v string) *DeleteTemplateAliasOutput { + s.Arn = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *DeleteTemplateAliasOutput) SetRequestId(v string) *DeleteTemplateAliasOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DeleteTemplateAliasOutput) SetStatus(v int64) *DeleteTemplateAliasOutput { + s.Status = &v + return s +} + +// SetTemplateId sets the TemplateId field's value. +func (s *DeleteTemplateAliasOutput) SetTemplateId(v string) *DeleteTemplateAliasOutput { + s.TemplateId = &v + return s +} + +type DeleteTemplateInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID of the Amazon Web Services account that contains the template that + // you're deleting. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // An ID for the template you want to delete. + // + // TemplateId is a required field + TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"` + + // Specifies the version of the template that you want to delete. If you don't + // provide a version number, DeleteTemplate deletes all versions of the template. + VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"` +} + +// 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 DeleteTemplateInput) 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 DeleteTemplateInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteTemplateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteTemplateInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.TemplateId == nil { + invalidParams.Add(request.NewErrParamRequired("TemplateId")) + } + if s.TemplateId != nil && len(*s.TemplateId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1)) + } + if s.VersionNumber != nil && *s.VersionNumber < 1 { + invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DeleteTemplateInput) SetAwsAccountId(v string) *DeleteTemplateInput { + s.AwsAccountId = &v + return s +} + +// SetTemplateId sets the TemplateId field's value. +func (s *DeleteTemplateInput) SetTemplateId(v string) *DeleteTemplateInput { + s.TemplateId = &v + return s +} + +// SetVersionNumber sets the VersionNumber field's value. +func (s *DeleteTemplateInput) SetVersionNumber(v int64) *DeleteTemplateInput { + s.VersionNumber = &v + return s +} + +type DeleteTemplateOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the resource. + Arn *string `type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` + + // An ID for the template. + TemplateId *string `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 DeleteTemplateOutput) 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 DeleteTemplateOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *DeleteTemplateOutput) SetArn(v string) *DeleteTemplateOutput { + s.Arn = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *DeleteTemplateOutput) SetRequestId(v string) *DeleteTemplateOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DeleteTemplateOutput) SetStatus(v int64) *DeleteTemplateOutput { + s.Status = &v + return s +} + +// SetTemplateId sets the TemplateId field's value. +func (s *DeleteTemplateOutput) SetTemplateId(v string) *DeleteTemplateOutput { + s.TemplateId = &v + return s +} + +type DeleteThemeAliasInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The unique name for the theme alias to delete. + // + // AliasName is a required field + AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"` + + // The ID of the Amazon Web Services account that contains the theme alias to + // delete. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The ID for the theme that the specified alias is for. + // + // ThemeId is a required field + ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"` +} + +// 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 DeleteThemeAliasInput) 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 DeleteThemeAliasInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteThemeAliasInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteThemeAliasInput"} + if s.AliasName == nil { + invalidParams.Add(request.NewErrParamRequired("AliasName")) + } + if s.AliasName != nil && len(*s.AliasName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AliasName", 1)) + } + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.ThemeId == nil { + invalidParams.Add(request.NewErrParamRequired("ThemeId")) + } + if s.ThemeId != nil && len(*s.ThemeId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAliasName sets the AliasName field's value. +func (s *DeleteThemeAliasInput) SetAliasName(v string) *DeleteThemeAliasInput { + s.AliasName = &v + return s +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DeleteThemeAliasInput) SetAwsAccountId(v string) *DeleteThemeAliasInput { + s.AwsAccountId = &v + return s +} + +// SetThemeId sets the ThemeId field's value. +func (s *DeleteThemeAliasInput) SetThemeId(v string) *DeleteThemeAliasInput { + s.ThemeId = &v + return s +} + +type DeleteThemeAliasOutput struct { + _ struct{} `type:"structure"` + + // The name for the theme alias. + AliasName *string `min:"1" type:"string"` + + // The Amazon Resource Name (ARN) of the theme resource using the deleted alias. + Arn *string `type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` + + // An ID for the theme associated with the deletion. + ThemeId *string `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 DeleteThemeAliasOutput) 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 DeleteThemeAliasOutput) GoString() string { + return s.String() +} + +// SetAliasName sets the AliasName field's value. +func (s *DeleteThemeAliasOutput) SetAliasName(v string) *DeleteThemeAliasOutput { + s.AliasName = &v + return s +} + +// SetArn sets the Arn field's value. +func (s *DeleteThemeAliasOutput) SetArn(v string) *DeleteThemeAliasOutput { + s.Arn = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *DeleteThemeAliasOutput) SetRequestId(v string) *DeleteThemeAliasOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DeleteThemeAliasOutput) SetStatus(v int64) *DeleteThemeAliasOutput { + s.Status = &v + return s +} + +// SetThemeId sets the ThemeId field's value. +func (s *DeleteThemeAliasOutput) SetThemeId(v string) *DeleteThemeAliasOutput { + s.ThemeId = &v + return s +} + +type DeleteThemeInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID of the Amazon Web Services account that contains the theme that you're + // deleting. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // An ID for the theme that you want to delete. + // + // ThemeId is a required field + ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"` + + // The version of the theme that you want to delete. + // + // Note: If you don't provide a version number, you're using this call to DeleteTheme + // to delete all versions of the theme. + VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"` +} + +// 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 DeleteThemeInput) 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 DeleteThemeInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteThemeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteThemeInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.ThemeId == nil { + invalidParams.Add(request.NewErrParamRequired("ThemeId")) + } + if s.ThemeId != nil && len(*s.ThemeId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1)) + } + if s.VersionNumber != nil && *s.VersionNumber < 1 { + invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DeleteThemeInput) SetAwsAccountId(v string) *DeleteThemeInput { + s.AwsAccountId = &v + return s +} + +// SetThemeId sets the ThemeId field's value. +func (s *DeleteThemeInput) SetThemeId(v string) *DeleteThemeInput { + s.ThemeId = &v + return s +} + +// SetVersionNumber sets the VersionNumber field's value. +func (s *DeleteThemeInput) SetVersionNumber(v int64) *DeleteThemeInput { + s.VersionNumber = &v + return s +} + +type DeleteThemeOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the resource. + Arn *string `type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` + + // An ID for the theme. + ThemeId *string `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 DeleteThemeOutput) 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 DeleteThemeOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *DeleteThemeOutput) SetArn(v string) *DeleteThemeOutput { + s.Arn = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *DeleteThemeOutput) SetRequestId(v string) *DeleteThemeOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DeleteThemeOutput) SetStatus(v int64) *DeleteThemeOutput { + s.Status = &v + return s +} + +// SetThemeId sets the ThemeId field's value. +func (s *DeleteThemeOutput) SetThemeId(v string) *DeleteThemeOutput { + s.ThemeId = &v + return s +} + +type DeleteUserByPrincipalIdInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID for the Amazon Web Services account that the user is in. Currently, + // you use the ID for the Amazon Web Services account that contains your Amazon + // QuickSight account. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The namespace. Currently, you should set this to default. + // + // Namespace is a required field + Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` + + // The principal ID of the user. + // + // PrincipalId is a required field + PrincipalId *string `location:"uri" locationName:"PrincipalId" type:"string" required:"true"` +} + +// 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 DeleteUserByPrincipalIdInput) 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 DeleteUserByPrincipalIdInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteUserByPrincipalIdInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteUserByPrincipalIdInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.Namespace == nil { + invalidParams.Add(request.NewErrParamRequired("Namespace")) + } + if s.Namespace != nil && len(*s.Namespace) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + } + if s.PrincipalId == nil { + invalidParams.Add(request.NewErrParamRequired("PrincipalId")) + } + if s.PrincipalId != nil && len(*s.PrincipalId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PrincipalId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DeleteUserByPrincipalIdInput) SetAwsAccountId(v string) *DeleteUserByPrincipalIdInput { + s.AwsAccountId = &v + return s +} + +// SetNamespace sets the Namespace field's value. +func (s *DeleteUserByPrincipalIdInput) SetNamespace(v string) *DeleteUserByPrincipalIdInput { + s.Namespace = &v + return s +} + +// SetPrincipalId sets the PrincipalId field's value. +func (s *DeleteUserByPrincipalIdInput) SetPrincipalId(v string) *DeleteUserByPrincipalIdInput { + s.PrincipalId = &v + return s +} + +type DeleteUserByPrincipalIdOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 DeleteUserByPrincipalIdOutput) 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 DeleteUserByPrincipalIdOutput) GoString() string { + return s.String() +} + +// SetRequestId sets the RequestId field's value. +func (s *DeleteUserByPrincipalIdOutput) SetRequestId(v string) *DeleteUserByPrincipalIdOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DeleteUserByPrincipalIdOutput) SetStatus(v int64) *DeleteUserByPrincipalIdOutput { + s.Status = &v + return s +} + +type DeleteUserInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID for the Amazon Web Services account that the user is in. Currently, + // you use the ID for the Amazon Web Services account that contains your Amazon + // QuickSight account. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The namespace. Currently, you should set this to default. + // + // Namespace is a required field + Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` + + // The name of the user that you want to delete. + // + // UserName is a required field + UserName *string `location:"uri" locationName:"UserName" min:"1" type:"string" required:"true"` +} + +// 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 DeleteUserInput) 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 DeleteUserInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteUserInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteUserInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.Namespace == nil { + invalidParams.Add(request.NewErrParamRequired("Namespace")) + } + if s.Namespace != nil && len(*s.Namespace) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + } + if s.UserName == nil { + invalidParams.Add(request.NewErrParamRequired("UserName")) + } + if s.UserName != nil && len(*s.UserName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DeleteUserInput) SetAwsAccountId(v string) *DeleteUserInput { + s.AwsAccountId = &v + return s +} + +// SetNamespace sets the Namespace field's value. +func (s *DeleteUserInput) SetNamespace(v string) *DeleteUserInput { + s.Namespace = &v + return s +} + +// SetUserName sets the UserName field's value. +func (s *DeleteUserInput) SetUserName(v string) *DeleteUserInput { + s.UserName = &v + return s +} + +type DeleteUserOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 DeleteUserOutput) 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 DeleteUserOutput) GoString() string { + return s.String() +} + +// SetRequestId sets the RequestId field's value. +func (s *DeleteUserOutput) SetRequestId(v string) *DeleteUserOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DeleteUserOutput) SetStatus(v int64) *DeleteUserOutput { + s.Status = &v + return s +} + +type DescribeAccountCustomizationInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID for the Amazon Web Services account that you want to describe Amazon + // QuickSight customizations for. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The Amazon QuickSight namespace that you want to describe Amazon QuickSight + // customizations for. + Namespace *string `location:"querystring" locationName:"namespace" type:"string"` + + // The Resolved flag works with the other parameters to determine which view + // of Amazon QuickSight customizations is returned. You can add this flag to + // your command to use the same view that Amazon QuickSight uses to identify + // which customizations to apply to the console. Omit this flag, or set it to + // no-resolved, to reveal customizations that are configured at different levels. + Resolved *bool `location:"querystring" locationName:"resolved" type:"boolean"` +} + +// 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 DescribeAccountCustomizationInput) 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 DescribeAccountCustomizationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeAccountCustomizationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeAccountCustomizationInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DescribeAccountCustomizationInput) SetAwsAccountId(v string) *DescribeAccountCustomizationInput { + s.AwsAccountId = &v + return s +} + +// SetNamespace sets the Namespace field's value. +func (s *DescribeAccountCustomizationInput) SetNamespace(v string) *DescribeAccountCustomizationInput { + s.Namespace = &v + return s +} + +// SetResolved sets the Resolved field's value. +func (s *DescribeAccountCustomizationInput) SetResolved(v bool) *DescribeAccountCustomizationInput { + s.Resolved = &v + return s +} + +type DescribeAccountCustomizationOutput struct { + _ struct{} `type:"structure"` + + // The Amazon QuickSight customizations that exist in the current Amazon Web + // Services Region. + AccountCustomization *AccountCustomization `type:"structure"` + + // The Amazon Resource Name (ARN) of the customization that's associated with + // this Amazon Web Services account. + Arn *string `type:"string"` + + // The ID for the Amazon Web Services account that you're describing. + AwsAccountId *string `min:"12" type:"string"` + + // The Amazon QuickSight namespace that you're describing. + Namespace *string `type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 DescribeAccountCustomizationOutput) 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 DescribeAccountCustomizationOutput) GoString() string { + return s.String() +} + +// SetAccountCustomization sets the AccountCustomization field's value. +func (s *DescribeAccountCustomizationOutput) SetAccountCustomization(v *AccountCustomization) *DescribeAccountCustomizationOutput { + s.AccountCustomization = v + return s +} + +// SetArn sets the Arn field's value. +func (s *DescribeAccountCustomizationOutput) SetArn(v string) *DescribeAccountCustomizationOutput { + s.Arn = &v + return s +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DescribeAccountCustomizationOutput) SetAwsAccountId(v string) *DescribeAccountCustomizationOutput { + s.AwsAccountId = &v + return s +} + +// SetNamespace sets the Namespace field's value. +func (s *DescribeAccountCustomizationOutput) SetNamespace(v string) *DescribeAccountCustomizationOutput { + s.Namespace = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *DescribeAccountCustomizationOutput) SetRequestId(v string) *DescribeAccountCustomizationOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DescribeAccountCustomizationOutput) SetStatus(v int64) *DescribeAccountCustomizationOutput { + s.Status = &v + return s +} + +type DescribeAccountSettingsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID for the Amazon Web Services account that contains the settings that + // you want to list. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` +} + +// 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 DescribeAccountSettingsInput) 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 DescribeAccountSettingsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeAccountSettingsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeAccountSettingsInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DescribeAccountSettingsInput) SetAwsAccountId(v string) *DescribeAccountSettingsInput { + s.AwsAccountId = &v + return s +} + +type DescribeAccountSettingsOutput struct { + _ struct{} `type:"structure"` + + // The Amazon QuickSight settings for this Amazon Web Services account. This + // information includes the edition of Amazon Amazon QuickSight that you subscribed + // to (Standard or Enterprise) and the notification email for the Amazon QuickSight + // subscription. + // + // In the QuickSight console, the Amazon QuickSight subscription is sometimes + // referred to as a QuickSight "account" even though it's technically not an + // account by itself. Instead, it's a subscription to the Amazon QuickSight + // service for your Amazon Web Services account. The edition that you subscribe + // to applies to Amazon QuickSight in every Amazon Web Services Region where + // you use it. + AccountSettings *AccountSettings `type:"structure"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 DescribeAccountSettingsOutput) 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 DescribeAccountSettingsOutput) GoString() string { + return s.String() +} + +// SetAccountSettings sets the AccountSettings field's value. +func (s *DescribeAccountSettingsOutput) SetAccountSettings(v *AccountSettings) *DescribeAccountSettingsOutput { + s.AccountSettings = v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *DescribeAccountSettingsOutput) SetRequestId(v string) *DescribeAccountSettingsOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DescribeAccountSettingsOutput) SetStatus(v int64) *DescribeAccountSettingsOutput { + s.Status = &v + return s +} + +type DescribeAccountSubscriptionInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The Amazon Web Services account ID associated with your Amazon QuickSight + // account. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` +} + +// 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 DescribeAccountSubscriptionInput) 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 DescribeAccountSubscriptionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeAccountSubscriptionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeAccountSubscriptionInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DescribeAccountSubscriptionInput) SetAwsAccountId(v string) *DescribeAccountSubscriptionInput { + s.AwsAccountId = &v + return s +} + +type DescribeAccountSubscriptionOutput struct { + _ struct{} `type:"structure"` + + // A structure that contains the following elements: + // + // * Your Amazon QuickSight account name. + // + // * The edition of Amazon QuickSight that your account is using. + // + // * The notification email address that is associated with the Amazon QuickSight + // account. + // + // * The authentication type of the Amazon QuickSight account. + // + // * The status of the Amazon QuickSight account's subscription. + AccountInfo *AccountInfo `type:"structure"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 DescribeAccountSubscriptionOutput) 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 DescribeAccountSubscriptionOutput) GoString() string { + return s.String() +} + +// SetAccountInfo sets the AccountInfo field's value. +func (s *DescribeAccountSubscriptionOutput) SetAccountInfo(v *AccountInfo) *DescribeAccountSubscriptionOutput { + s.AccountInfo = v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *DescribeAccountSubscriptionOutput) SetRequestId(v string) *DescribeAccountSubscriptionOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DescribeAccountSubscriptionOutput) SetStatus(v int64) *DescribeAccountSubscriptionOutput { + s.Status = &v + return s +} + +type DescribeAnalysisDefinitionInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID of the analysis that you're describing. The ID is part of the URL + // of the analysis. + // + // AnalysisId is a required field + AnalysisId *string `location:"uri" locationName:"AnalysisId" min:"1" type:"string" required:"true"` + + // The ID of the Amazon Web Services account that contains the analysis. You + // must be using the Amazon Web Services account that the analysis is in. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` +} + +// 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 DescribeAnalysisDefinitionInput) 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 DescribeAnalysisDefinitionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeAnalysisDefinitionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeAnalysisDefinitionInput"} + if s.AnalysisId == nil { + invalidParams.Add(request.NewErrParamRequired("AnalysisId")) + } + if s.AnalysisId != nil && len(*s.AnalysisId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AnalysisId", 1)) + } + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAnalysisId sets the AnalysisId field's value. +func (s *DescribeAnalysisDefinitionInput) SetAnalysisId(v string) *DescribeAnalysisDefinitionInput { + s.AnalysisId = &v + return s +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DescribeAnalysisDefinitionInput) SetAwsAccountId(v string) *DescribeAnalysisDefinitionInput { + s.AwsAccountId = &v + return s +} + +type DescribeAnalysisDefinitionOutput struct { + _ struct{} `type:"structure"` + + // The ID of the analysis described. + AnalysisId *string `min:"1" type:"string"` + + // The definition of an analysis. + // + // A definition is the data model of all features in a Dashboard, Template, + // or Analysis. + Definition *AnalysisDefinition `type:"structure"` + + // Errors associated with the analysis. + Errors []*AnalysisError `min:"1" type:"list"` + + // The descriptive name of the analysis. + Name *string `min:"1" type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // Status associated with the analysis. + // + // * CREATION_IN_PROGRESS + // + // * CREATION_SUCCESSFUL + // + // * CREATION_FAILED + // + // * UPDATE_IN_PROGRESS + // + // * UPDATE_SUCCESSFUL + // + // * UPDATE_FAILED + // + // * DELETED + ResourceStatus *string `type:"string" enum:"ResourceStatus"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` + + // The ARN of the theme of the analysis. + ThemeArn *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 DescribeAnalysisDefinitionOutput) 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 DescribeAnalysisDefinitionOutput) GoString() string { + return s.String() +} + +// SetAnalysisId sets the AnalysisId field's value. +func (s *DescribeAnalysisDefinitionOutput) SetAnalysisId(v string) *DescribeAnalysisDefinitionOutput { + s.AnalysisId = &v + return s +} + +// SetDefinition sets the Definition field's value. +func (s *DescribeAnalysisDefinitionOutput) SetDefinition(v *AnalysisDefinition) *DescribeAnalysisDefinitionOutput { + s.Definition = v + return s +} + +// SetErrors sets the Errors field's value. +func (s *DescribeAnalysisDefinitionOutput) SetErrors(v []*AnalysisError) *DescribeAnalysisDefinitionOutput { + s.Errors = v + return s +} + +// SetName sets the Name field's value. +func (s *DescribeAnalysisDefinitionOutput) SetName(v string) *DescribeAnalysisDefinitionOutput { + s.Name = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *DescribeAnalysisDefinitionOutput) SetRequestId(v string) *DescribeAnalysisDefinitionOutput { + s.RequestId = &v + return s +} + +// SetResourceStatus sets the ResourceStatus field's value. +func (s *DescribeAnalysisDefinitionOutput) SetResourceStatus(v string) *DescribeAnalysisDefinitionOutput { + s.ResourceStatus = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DescribeAnalysisDefinitionOutput) SetStatus(v int64) *DescribeAnalysisDefinitionOutput { + s.Status = &v + return s +} + +// SetThemeArn sets the ThemeArn field's value. +func (s *DescribeAnalysisDefinitionOutput) SetThemeArn(v string) *DescribeAnalysisDefinitionOutput { + s.ThemeArn = &v + return s +} + +type DescribeAnalysisInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID of the analysis that you're describing. The ID is part of the URL + // of the analysis. + // + // AnalysisId is a required field + AnalysisId *string `location:"uri" locationName:"AnalysisId" min:"1" type:"string" required:"true"` + + // The ID of the Amazon Web Services account that contains the analysis. You + // must be using the Amazon Web Services account that the analysis is in. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` +} + +// 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 DescribeAnalysisInput) 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 DescribeAnalysisInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeAnalysisInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeAnalysisInput"} + if s.AnalysisId == nil { + invalidParams.Add(request.NewErrParamRequired("AnalysisId")) + } + if s.AnalysisId != nil && len(*s.AnalysisId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AnalysisId", 1)) + } + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAnalysisId sets the AnalysisId field's value. +func (s *DescribeAnalysisInput) SetAnalysisId(v string) *DescribeAnalysisInput { + s.AnalysisId = &v + return s +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DescribeAnalysisInput) SetAwsAccountId(v string) *DescribeAnalysisInput { + s.AwsAccountId = &v + return s +} + +type DescribeAnalysisOutput struct { + _ struct{} `type:"structure"` + + // A metadata structure that contains summary information for the analysis that + // you're describing. + Analysis *Analysis `type:"structure"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 DescribeAnalysisOutput) 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 DescribeAnalysisOutput) GoString() string { + return s.String() +} + +// SetAnalysis sets the Analysis field's value. +func (s *DescribeAnalysisOutput) SetAnalysis(v *Analysis) *DescribeAnalysisOutput { + s.Analysis = v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *DescribeAnalysisOutput) SetRequestId(v string) *DescribeAnalysisOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DescribeAnalysisOutput) SetStatus(v int64) *DescribeAnalysisOutput { + s.Status = &v + return s +} + +type DescribeAnalysisPermissionsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID of the analysis whose permissions you're describing. The ID is part + // of the analysis URL. + // + // AnalysisId is a required field + AnalysisId *string `location:"uri" locationName:"AnalysisId" min:"1" type:"string" required:"true"` + + // The ID of the Amazon Web Services account that contains the analysis whose + // permissions you're describing. You must be using the Amazon Web Services + // account that the analysis is in. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` +} + +// 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 DescribeAnalysisPermissionsInput) 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 DescribeAnalysisPermissionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeAnalysisPermissionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeAnalysisPermissionsInput"} + if s.AnalysisId == nil { + invalidParams.Add(request.NewErrParamRequired("AnalysisId")) + } + if s.AnalysisId != nil && len(*s.AnalysisId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AnalysisId", 1)) + } + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAnalysisId sets the AnalysisId field's value. +func (s *DescribeAnalysisPermissionsInput) SetAnalysisId(v string) *DescribeAnalysisPermissionsInput { + s.AnalysisId = &v + return s +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DescribeAnalysisPermissionsInput) SetAwsAccountId(v string) *DescribeAnalysisPermissionsInput { + s.AwsAccountId = &v + return s +} + +type DescribeAnalysisPermissionsOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the analysis whose permissions you're describing. + AnalysisArn *string `type:"string"` + + // The ID of the analysis whose permissions you're describing. + AnalysisId *string `min:"1" type:"string"` + + // A structure that describes the principals and the resource-level permissions + // on an analysis. + Permissions []*ResourcePermission `min:"1" type:"list"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 DescribeAnalysisPermissionsOutput) 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 DescribeAnalysisPermissionsOutput) GoString() string { + return s.String() +} + +// SetAnalysisArn sets the AnalysisArn field's value. +func (s *DescribeAnalysisPermissionsOutput) SetAnalysisArn(v string) *DescribeAnalysisPermissionsOutput { + s.AnalysisArn = &v + return s +} + +// SetAnalysisId sets the AnalysisId field's value. +func (s *DescribeAnalysisPermissionsOutput) SetAnalysisId(v string) *DescribeAnalysisPermissionsOutput { + s.AnalysisId = &v + return s +} + +// SetPermissions sets the Permissions field's value. +func (s *DescribeAnalysisPermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeAnalysisPermissionsOutput { + s.Permissions = v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *DescribeAnalysisPermissionsOutput) SetRequestId(v string) *DescribeAnalysisPermissionsOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DescribeAnalysisPermissionsOutput) SetStatus(v int64) *DescribeAnalysisPermissionsOutput { + s.Status = &v + return s +} + +type DescribeDashboardDefinitionInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The alias name. + AliasName *string `location:"querystring" locationName:"alias-name" min:"1" type:"string"` + + // The ID of the Amazon Web Services account that contains the dashboard that + // you're describing. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The ID for the dashboard. + // + // DashboardId is a required field + DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"` + + // The version number for the dashboard. If a version number isn't passed, the + // latest published dashboard version is described. + VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"` +} + +// 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 DescribeDashboardDefinitionInput) 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 DescribeDashboardDefinitionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeDashboardDefinitionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeDashboardDefinitionInput"} + if s.AliasName != nil && len(*s.AliasName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AliasName", 1)) + } + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.DashboardId == nil { + invalidParams.Add(request.NewErrParamRequired("DashboardId")) + } + if s.DashboardId != nil && len(*s.DashboardId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1)) + } + if s.VersionNumber != nil && *s.VersionNumber < 1 { + invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAliasName sets the AliasName field's value. +func (s *DescribeDashboardDefinitionInput) SetAliasName(v string) *DescribeDashboardDefinitionInput { + s.AliasName = &v + return s +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DescribeDashboardDefinitionInput) SetAwsAccountId(v string) *DescribeDashboardDefinitionInput { + s.AwsAccountId = &v + return s +} + +// SetDashboardId sets the DashboardId field's value. +func (s *DescribeDashboardDefinitionInput) SetDashboardId(v string) *DescribeDashboardDefinitionInput { + s.DashboardId = &v + return s +} + +// SetVersionNumber sets the VersionNumber field's value. +func (s *DescribeDashboardDefinitionInput) SetVersionNumber(v int64) *DescribeDashboardDefinitionInput { + s.VersionNumber = &v + return s +} + +type DescribeDashboardDefinitionOutput struct { + _ struct{} `type:"structure"` + + // The ID of the dashboard described. + DashboardId *string `min:"1" type:"string"` + + // The definition of a dashboard. + // + // A definition is the data model of all features in a Dashboard, Template, + // or Analysis. + Definition *DashboardVersionDefinition `type:"structure"` + + // Errors associated with this dashboard version. + Errors []*DashboardError `min:"1" type:"list"` + + // The display name of the dashboard. + Name *string `min:"1" type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // Status associated with the dashboard version. + // + // * CREATION_IN_PROGRESS + // + // * CREATION_SUCCESSFUL + // + // * CREATION_FAILED + // + // * UPDATE_IN_PROGRESS + // + // * UPDATE_SUCCESSFUL + // + // * UPDATE_FAILED + // + // * DELETED + ResourceStatus *string `type:"string" enum:"ResourceStatus"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` + + // The ARN of the theme of the dashboard. + ThemeArn *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 DescribeDashboardDefinitionOutput) 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 DescribeDashboardDefinitionOutput) GoString() string { + return s.String() +} + +// SetDashboardId sets the DashboardId field's value. +func (s *DescribeDashboardDefinitionOutput) SetDashboardId(v string) *DescribeDashboardDefinitionOutput { + s.DashboardId = &v + return s +} + +// SetDefinition sets the Definition field's value. +func (s *DescribeDashboardDefinitionOutput) SetDefinition(v *DashboardVersionDefinition) *DescribeDashboardDefinitionOutput { + s.Definition = v + return s +} + +// SetErrors sets the Errors field's value. +func (s *DescribeDashboardDefinitionOutput) SetErrors(v []*DashboardError) *DescribeDashboardDefinitionOutput { + s.Errors = v + return s +} + +// SetName sets the Name field's value. +func (s *DescribeDashboardDefinitionOutput) SetName(v string) *DescribeDashboardDefinitionOutput { + s.Name = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *DescribeDashboardDefinitionOutput) SetRequestId(v string) *DescribeDashboardDefinitionOutput { + s.RequestId = &v + return s +} + +// SetResourceStatus sets the ResourceStatus field's value. +func (s *DescribeDashboardDefinitionOutput) SetResourceStatus(v string) *DescribeDashboardDefinitionOutput { + s.ResourceStatus = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DescribeDashboardDefinitionOutput) SetStatus(v int64) *DescribeDashboardDefinitionOutput { + s.Status = &v + return s +} + +// SetThemeArn sets the ThemeArn field's value. +func (s *DescribeDashboardDefinitionOutput) SetThemeArn(v string) *DescribeDashboardDefinitionOutput { + s.ThemeArn = &v + return s +} + +type DescribeDashboardInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The alias name. + AliasName *string `location:"querystring" locationName:"alias-name" min:"1" type:"string"` + + // The ID of the Amazon Web Services account that contains the dashboard that + // you're describing. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The ID for the dashboard. + // + // DashboardId is a required field + DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"` + + // The version number for the dashboard. If a version number isn't passed, the + // latest published dashboard version is described. + VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"` +} + +// 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 DescribeDashboardInput) 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 DescribeDashboardInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeDashboardInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeDashboardInput"} + if s.AliasName != nil && len(*s.AliasName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AliasName", 1)) + } + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.DashboardId == nil { + invalidParams.Add(request.NewErrParamRequired("DashboardId")) + } + if s.DashboardId != nil && len(*s.DashboardId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1)) + } + if s.VersionNumber != nil && *s.VersionNumber < 1 { + invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAliasName sets the AliasName field's value. +func (s *DescribeDashboardInput) SetAliasName(v string) *DescribeDashboardInput { + s.AliasName = &v + return s +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DescribeDashboardInput) SetAwsAccountId(v string) *DescribeDashboardInput { + s.AwsAccountId = &v + return s +} + +// SetDashboardId sets the DashboardId field's value. +func (s *DescribeDashboardInput) SetDashboardId(v string) *DescribeDashboardInput { + s.DashboardId = &v + return s +} + +// SetVersionNumber sets the VersionNumber field's value. +func (s *DescribeDashboardInput) SetVersionNumber(v int64) *DescribeDashboardInput { + s.VersionNumber = &v + return s +} + +type DescribeDashboardOutput struct { + _ struct{} `type:"structure"` + + // Information about the dashboard. + Dashboard *Dashboard `type:"structure"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of this request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 DescribeDashboardOutput) 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 DescribeDashboardOutput) GoString() string { + return s.String() +} + +// SetDashboard sets the Dashboard field's value. +func (s *DescribeDashboardOutput) SetDashboard(v *Dashboard) *DescribeDashboardOutput { + s.Dashboard = v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *DescribeDashboardOutput) SetRequestId(v string) *DescribeDashboardOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DescribeDashboardOutput) SetStatus(v int64) *DescribeDashboardOutput { + s.Status = &v + return s +} + +type DescribeDashboardPermissionsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID of the Amazon Web Services account that contains the dashboard that + // you're describing permissions for. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The ID for the dashboard, also added to the IAM policy. + // + // DashboardId is a required field + DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"` +} + +// 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 DescribeDashboardPermissionsInput) 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 DescribeDashboardPermissionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeDashboardPermissionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeDashboardPermissionsInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.DashboardId == nil { + invalidParams.Add(request.NewErrParamRequired("DashboardId")) + } + if s.DashboardId != nil && len(*s.DashboardId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DescribeDashboardPermissionsInput) SetAwsAccountId(v string) *DescribeDashboardPermissionsInput { + s.AwsAccountId = &v + return s +} + +// SetDashboardId sets the DashboardId field's value. +func (s *DescribeDashboardPermissionsInput) SetDashboardId(v string) *DescribeDashboardPermissionsInput { + s.DashboardId = &v + return s +} + +type DescribeDashboardPermissionsOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the dashboard. + DashboardArn *string `type:"string"` + + // The ID for the dashboard. + DashboardId *string `min:"1" type:"string"` + + // A structure that contains the configuration of a shareable link that grants + // access to the dashboard. Your users can use the link to view and interact + // with the dashboard, if the dashboard has been shared with them. For more + // information about sharing dashboards, see Sharing Dashboards (https://docs.aws.amazon.com/quicksight/latest/user/sharing-a-dashboard.html). + LinkSharingConfiguration *LinkSharingConfiguration `type:"structure"` + + // A structure that contains the permissions for the dashboard. + Permissions []*ResourcePermission `min:"1" type:"list"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 DescribeDashboardPermissionsOutput) 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 DescribeDashboardPermissionsOutput) GoString() string { + return s.String() +} + +// SetDashboardArn sets the DashboardArn field's value. +func (s *DescribeDashboardPermissionsOutput) SetDashboardArn(v string) *DescribeDashboardPermissionsOutput { + s.DashboardArn = &v + return s +} + +// SetDashboardId sets the DashboardId field's value. +func (s *DescribeDashboardPermissionsOutput) SetDashboardId(v string) *DescribeDashboardPermissionsOutput { + s.DashboardId = &v + return s +} + +// SetLinkSharingConfiguration sets the LinkSharingConfiguration field's value. +func (s *DescribeDashboardPermissionsOutput) SetLinkSharingConfiguration(v *LinkSharingConfiguration) *DescribeDashboardPermissionsOutput { + s.LinkSharingConfiguration = v + return s +} + +// SetPermissions sets the Permissions field's value. +func (s *DescribeDashboardPermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeDashboardPermissionsOutput { + s.Permissions = v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *DescribeDashboardPermissionsOutput) SetRequestId(v string) *DescribeDashboardPermissionsOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DescribeDashboardPermissionsOutput) SetStatus(v int64) *DescribeDashboardPermissionsOutput { + s.Status = &v + return s +} + +type DescribeDataSetInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The Amazon Web Services account ID. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The ID for the dataset that you want to create. This ID is unique per Amazon + // Web Services Region for each Amazon Web Services account. + // + // DataSetId is a required field + DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"` +} + +// 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 DescribeDataSetInput) 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 DescribeDataSetInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeDataSetInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeDataSetInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.DataSetId == nil { + invalidParams.Add(request.NewErrParamRequired("DataSetId")) + } + if s.DataSetId != nil && len(*s.DataSetId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DescribeDataSetInput) SetAwsAccountId(v string) *DescribeDataSetInput { + s.AwsAccountId = &v + return s +} + +// SetDataSetId sets the DataSetId field's value. +func (s *DescribeDataSetInput) SetDataSetId(v string) *DescribeDataSetInput { + s.DataSetId = &v + return s +} + +type DescribeDataSetOutput struct { + _ struct{} `type:"structure"` + + // Information on the dataset. + DataSet *DataSet `type:"structure"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 DescribeDataSetOutput) 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 DescribeDataSetOutput) GoString() string { + return s.String() +} + +// SetDataSet sets the DataSet field's value. +func (s *DescribeDataSetOutput) SetDataSet(v *DataSet) *DescribeDataSetOutput { + s.DataSet = v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *DescribeDataSetOutput) SetRequestId(v string) *DescribeDataSetOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DescribeDataSetOutput) SetStatus(v int64) *DescribeDataSetOutput { + s.Status = &v + return s +} + +type DescribeDataSetPermissionsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The Amazon Web Services account ID. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The ID for the dataset that you want to create. This ID is unique per Amazon + // Web Services Region for each Amazon Web Services account. + // + // DataSetId is a required field + DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"` +} + +// 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 DescribeDataSetPermissionsInput) 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 DescribeDataSetPermissionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeDataSetPermissionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeDataSetPermissionsInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.DataSetId == nil { + invalidParams.Add(request.NewErrParamRequired("DataSetId")) + } + if s.DataSetId != nil && len(*s.DataSetId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DescribeDataSetPermissionsInput) SetAwsAccountId(v string) *DescribeDataSetPermissionsInput { + s.AwsAccountId = &v + return s +} + +// SetDataSetId sets the DataSetId field's value. +func (s *DescribeDataSetPermissionsInput) SetDataSetId(v string) *DescribeDataSetPermissionsInput { + s.DataSetId = &v + return s +} + +type DescribeDataSetPermissionsOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the dataset. + DataSetArn *string `type:"string"` + + // The ID for the dataset that you want to create. This ID is unique per Amazon + // Web Services Region for each Amazon Web Services account. + DataSetId *string `type:"string"` + + // A list of resource permissions on the dataset. + Permissions []*ResourcePermission `min:"1" type:"list"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 DescribeDataSetPermissionsOutput) 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 DescribeDataSetPermissionsOutput) GoString() string { + return s.String() +} + +// SetDataSetArn sets the DataSetArn field's value. +func (s *DescribeDataSetPermissionsOutput) SetDataSetArn(v string) *DescribeDataSetPermissionsOutput { + s.DataSetArn = &v + return s +} + +// SetDataSetId sets the DataSetId field's value. +func (s *DescribeDataSetPermissionsOutput) SetDataSetId(v string) *DescribeDataSetPermissionsOutput { + s.DataSetId = &v + return s +} + +// SetPermissions sets the Permissions field's value. +func (s *DescribeDataSetPermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeDataSetPermissionsOutput { + s.Permissions = v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *DescribeDataSetPermissionsOutput) SetRequestId(v string) *DescribeDataSetPermissionsOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DescribeDataSetPermissionsOutput) SetStatus(v int64) *DescribeDataSetPermissionsOutput { + s.Status = &v + return s +} + +type DescribeDataSourceInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The Amazon Web Services account ID. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The ID of the data source. This ID is unique per Amazon Web Services Region + // for each Amazon Web Services account. + // + // DataSourceId is a required field + DataSourceId *string `location:"uri" locationName:"DataSourceId" type:"string" required:"true"` +} + +// 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 DescribeDataSourceInput) 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 DescribeDataSourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeDataSourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeDataSourceInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.DataSourceId == nil { + invalidParams.Add(request.NewErrParamRequired("DataSourceId")) + } + if s.DataSourceId != nil && len(*s.DataSourceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DataSourceId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DescribeDataSourceInput) SetAwsAccountId(v string) *DescribeDataSourceInput { + s.AwsAccountId = &v + return s +} + +// SetDataSourceId sets the DataSourceId field's value. +func (s *DescribeDataSourceInput) SetDataSourceId(v string) *DescribeDataSourceInput { + s.DataSourceId = &v + return s +} + +type DescribeDataSourceOutput struct { + _ struct{} `type:"structure"` + + // The information on the data source. + DataSource *DataSource `type:"structure"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 DescribeDataSourceOutput) 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 DescribeDataSourceOutput) GoString() string { + return s.String() +} + +// SetDataSource sets the DataSource field's value. +func (s *DescribeDataSourceOutput) SetDataSource(v *DataSource) *DescribeDataSourceOutput { + s.DataSource = v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *DescribeDataSourceOutput) SetRequestId(v string) *DescribeDataSourceOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DescribeDataSourceOutput) SetStatus(v int64) *DescribeDataSourceOutput { + s.Status = &v + return s +} + +type DescribeDataSourcePermissionsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The Amazon Web Services account ID. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The ID of the data source. This ID is unique per Amazon Web Services Region + // for each Amazon Web Services account. + // + // DataSourceId is a required field + DataSourceId *string `location:"uri" locationName:"DataSourceId" type:"string" required:"true"` +} + +// 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 DescribeDataSourcePermissionsInput) 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 DescribeDataSourcePermissionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeDataSourcePermissionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeDataSourcePermissionsInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.DataSourceId == nil { + invalidParams.Add(request.NewErrParamRequired("DataSourceId")) + } + if s.DataSourceId != nil && len(*s.DataSourceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DataSourceId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DescribeDataSourcePermissionsInput) SetAwsAccountId(v string) *DescribeDataSourcePermissionsInput { + s.AwsAccountId = &v + return s +} + +// SetDataSourceId sets the DataSourceId field's value. +func (s *DescribeDataSourcePermissionsInput) SetDataSourceId(v string) *DescribeDataSourcePermissionsInput { + s.DataSourceId = &v + return s +} + +type DescribeDataSourcePermissionsOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the data source. + DataSourceArn *string `type:"string"` + + // The ID of the data source. This ID is unique per Amazon Web Services Region + // for each Amazon Web Services account. + DataSourceId *string `type:"string"` + + // A list of resource permissions on the data source. + Permissions []*ResourcePermission `min:"1" type:"list"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 DescribeDataSourcePermissionsOutput) 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 DescribeDataSourcePermissionsOutput) GoString() string { + return s.String() +} + +// SetDataSourceArn sets the DataSourceArn field's value. +func (s *DescribeDataSourcePermissionsOutput) SetDataSourceArn(v string) *DescribeDataSourcePermissionsOutput { + s.DataSourceArn = &v + return s +} + +// SetDataSourceId sets the DataSourceId field's value. +func (s *DescribeDataSourcePermissionsOutput) SetDataSourceId(v string) *DescribeDataSourcePermissionsOutput { + s.DataSourceId = &v + return s +} + +// SetPermissions sets the Permissions field's value. +func (s *DescribeDataSourcePermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeDataSourcePermissionsOutput { + s.Permissions = v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *DescribeDataSourcePermissionsOutput) SetRequestId(v string) *DescribeDataSourcePermissionsOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DescribeDataSourcePermissionsOutput) SetStatus(v int64) *DescribeDataSourcePermissionsOutput { + s.Status = &v + return s +} + +type DescribeFolderInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID for the Amazon Web Services account that contains the folder. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The ID of the folder. + // + // FolderId is a required field + FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"` +} + +// 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 DescribeFolderInput) 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 DescribeFolderInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeFolderInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeFolderInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.FolderId == nil { + invalidParams.Add(request.NewErrParamRequired("FolderId")) + } + if s.FolderId != nil && len(*s.FolderId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FolderId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DescribeFolderInput) SetAwsAccountId(v string) *DescribeFolderInput { + s.AwsAccountId = &v + return s +} + +// SetFolderId sets the FolderId field's value. +func (s *DescribeFolderInput) SetFolderId(v string) *DescribeFolderInput { + s.FolderId = &v + return s +} + +type DescribeFolderOutput struct { + _ struct{} `type:"structure"` + + // Information about the folder. + Folder *Folder `type:"structure"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 DescribeFolderOutput) 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 DescribeFolderOutput) GoString() string { + return s.String() +} + +// SetFolder sets the Folder field's value. +func (s *DescribeFolderOutput) SetFolder(v *Folder) *DescribeFolderOutput { + s.Folder = v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *DescribeFolderOutput) SetRequestId(v string) *DescribeFolderOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DescribeFolderOutput) SetStatus(v int64) *DescribeFolderOutput { + s.Status = &v + return s +} + +type DescribeFolderPermissionsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID for the Amazon Web Services account that contains the folder. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The ID of the folder. + // + // FolderId is a required field + FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"` +} + +// 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 DescribeFolderPermissionsInput) 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 DescribeFolderPermissionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeFolderPermissionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeFolderPermissionsInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.FolderId == nil { + invalidParams.Add(request.NewErrParamRequired("FolderId")) + } + if s.FolderId != nil && len(*s.FolderId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FolderId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DescribeFolderPermissionsInput) SetAwsAccountId(v string) *DescribeFolderPermissionsInput { + s.AwsAccountId = &v + return s +} + +// SetFolderId sets the FolderId field's value. +func (s *DescribeFolderPermissionsInput) SetFolderId(v string) *DescribeFolderPermissionsInput { + s.FolderId = &v + return s +} + +type DescribeFolderPermissionsOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) for the folder. + Arn *string `type:"string"` + + // The ID of the folder. + FolderId *string `min:"1" type:"string"` + + // Information about the permissions on the folder. + Permissions []*ResourcePermission `min:"1" type:"list"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 DescribeFolderPermissionsOutput) 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 DescribeFolderPermissionsOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *DescribeFolderPermissionsOutput) SetArn(v string) *DescribeFolderPermissionsOutput { + s.Arn = &v + return s +} + +// SetFolderId sets the FolderId field's value. +func (s *DescribeFolderPermissionsOutput) SetFolderId(v string) *DescribeFolderPermissionsOutput { + s.FolderId = &v + return s +} + +// SetPermissions sets the Permissions field's value. +func (s *DescribeFolderPermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeFolderPermissionsOutput { + s.Permissions = v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *DescribeFolderPermissionsOutput) SetRequestId(v string) *DescribeFolderPermissionsOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DescribeFolderPermissionsOutput) SetStatus(v int64) *DescribeFolderPermissionsOutput { + s.Status = &v + return s +} + +type DescribeFolderResolvedPermissionsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID for the Amazon Web Services account that contains the folder. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The ID of the folder. + // + // FolderId is a required field + FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"` +} + +// 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 DescribeFolderResolvedPermissionsInput) 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 DescribeFolderResolvedPermissionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeFolderResolvedPermissionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeFolderResolvedPermissionsInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.FolderId == nil { + invalidParams.Add(request.NewErrParamRequired("FolderId")) + } + if s.FolderId != nil && len(*s.FolderId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FolderId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DescribeFolderResolvedPermissionsInput) SetAwsAccountId(v string) *DescribeFolderResolvedPermissionsInput { + s.AwsAccountId = &v + return s +} + +// SetFolderId sets the FolderId field's value. +func (s *DescribeFolderResolvedPermissionsInput) SetFolderId(v string) *DescribeFolderResolvedPermissionsInput { + s.FolderId = &v + return s +} + +type DescribeFolderResolvedPermissionsOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the folder. + Arn *string `type:"string"` + + // The ID of the folder. + FolderId *string `min:"1" type:"string"` + + // Information about the permissions for the folder. + Permissions []*ResourcePermission `min:"1" type:"list"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 DescribeFolderResolvedPermissionsOutput) 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 DescribeFolderResolvedPermissionsOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *DescribeFolderResolvedPermissionsOutput) SetArn(v string) *DescribeFolderResolvedPermissionsOutput { + s.Arn = &v + return s +} + +// SetFolderId sets the FolderId field's value. +func (s *DescribeFolderResolvedPermissionsOutput) SetFolderId(v string) *DescribeFolderResolvedPermissionsOutput { + s.FolderId = &v + return s +} + +// SetPermissions sets the Permissions field's value. +func (s *DescribeFolderResolvedPermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeFolderResolvedPermissionsOutput { + s.Permissions = v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *DescribeFolderResolvedPermissionsOutput) SetRequestId(v string) *DescribeFolderResolvedPermissionsOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DescribeFolderResolvedPermissionsOutput) SetStatus(v int64) *DescribeFolderResolvedPermissionsOutput { + s.Status = &v + return s +} + +type DescribeGroupInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID for the Amazon Web Services account that the group is in. Currently, + // you use the ID for the Amazon Web Services account that contains your Amazon + // QuickSight account. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The name of the group that you want to describe. + // + // GroupName is a required field + GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"` + + // The namespace of the group that you want described. + // + // Namespace is a required field + Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` +} + +// 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 DescribeGroupInput) 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 DescribeGroupInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeGroupInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.GroupName == nil { + invalidParams.Add(request.NewErrParamRequired("GroupName")) + } + if s.GroupName != nil && len(*s.GroupName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("GroupName", 1)) + } + if s.Namespace == nil { + invalidParams.Add(request.NewErrParamRequired("Namespace")) + } + if s.Namespace != nil && len(*s.Namespace) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DescribeGroupInput) SetAwsAccountId(v string) *DescribeGroupInput { + s.AwsAccountId = &v + return s +} + +// SetGroupName sets the GroupName field's value. +func (s *DescribeGroupInput) SetGroupName(v string) *DescribeGroupInput { + s.GroupName = &v + return s +} + +// SetNamespace sets the Namespace field's value. +func (s *DescribeGroupInput) SetNamespace(v string) *DescribeGroupInput { + s.Namespace = &v + return s +} + +type DescribeGroupMembershipInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID for the Amazon Web Services account that the group is in. Currently, + // you use the ID for the Amazon Web Services account that contains your Amazon + // QuickSight account. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The name of the group that you want to search. + // + // GroupName is a required field + GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"` + + // The user name of the user that you want to search for. + // + // MemberName is a required field + MemberName *string `location:"uri" locationName:"MemberName" min:"1" type:"string" required:"true"` + + // The namespace that includes the group you are searching within. + // + // Namespace is a required field + Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` +} + +// 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 DescribeGroupMembershipInput) 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 DescribeGroupMembershipInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeGroupMembershipInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeGroupMembershipInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.GroupName == nil { + invalidParams.Add(request.NewErrParamRequired("GroupName")) + } + if s.GroupName != nil && len(*s.GroupName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("GroupName", 1)) + } + if s.MemberName == nil { + invalidParams.Add(request.NewErrParamRequired("MemberName")) + } + if s.MemberName != nil && len(*s.MemberName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("MemberName", 1)) + } + if s.Namespace == nil { + invalidParams.Add(request.NewErrParamRequired("Namespace")) + } + if s.Namespace != nil && len(*s.Namespace) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DescribeGroupMembershipInput) SetAwsAccountId(v string) *DescribeGroupMembershipInput { + s.AwsAccountId = &v + return s +} + +// SetGroupName sets the GroupName field's value. +func (s *DescribeGroupMembershipInput) SetGroupName(v string) *DescribeGroupMembershipInput { + s.GroupName = &v + return s +} + +// SetMemberName sets the MemberName field's value. +func (s *DescribeGroupMembershipInput) SetMemberName(v string) *DescribeGroupMembershipInput { + s.MemberName = &v + return s +} + +// SetNamespace sets the Namespace field's value. +func (s *DescribeGroupMembershipInput) SetNamespace(v string) *DescribeGroupMembershipInput { + s.Namespace = &v + return s +} + +type DescribeGroupMembershipOutput struct { + _ struct{} `type:"structure"` + + // A member of an Amazon QuickSight group. Currently, group members must be + // users. Groups can't be members of another group. . + GroupMember *GroupMember `type:"structure"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 DescribeGroupMembershipOutput) 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 DescribeGroupMembershipOutput) GoString() string { + return s.String() +} + +// SetGroupMember sets the GroupMember field's value. +func (s *DescribeGroupMembershipOutput) SetGroupMember(v *GroupMember) *DescribeGroupMembershipOutput { + s.GroupMember = v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *DescribeGroupMembershipOutput) SetRequestId(v string) *DescribeGroupMembershipOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DescribeGroupMembershipOutput) SetStatus(v int64) *DescribeGroupMembershipOutput { + s.Status = &v + return s +} + +type DescribeGroupOutput struct { + _ struct{} `type:"structure"` + + // The name of the group. + Group *Group `type:"structure"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 DescribeGroupOutput) 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 DescribeGroupOutput) GoString() string { + return s.String() +} + +// SetGroup sets the Group field's value. +func (s *DescribeGroupOutput) SetGroup(v *Group) *DescribeGroupOutput { + s.Group = v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *DescribeGroupOutput) SetRequestId(v string) *DescribeGroupOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DescribeGroupOutput) SetStatus(v int64) *DescribeGroupOutput { + s.Status = &v + return s +} + +type DescribeIAMPolicyAssignmentInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The name of the assignment, also called a rule. + // + // AssignmentName is a required field + AssignmentName *string `location:"uri" locationName:"AssignmentName" min:"1" type:"string" required:"true"` + + // The ID of the Amazon Web Services account that contains the assignment that + // you want to describe. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The namespace that contains the assignment. + // + // Namespace is a required field + Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` +} + +// 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 DescribeIAMPolicyAssignmentInput) 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 DescribeIAMPolicyAssignmentInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeIAMPolicyAssignmentInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeIAMPolicyAssignmentInput"} + if s.AssignmentName == nil { + invalidParams.Add(request.NewErrParamRequired("AssignmentName")) + } + if s.AssignmentName != nil && len(*s.AssignmentName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AssignmentName", 1)) + } + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.Namespace == nil { + invalidParams.Add(request.NewErrParamRequired("Namespace")) + } + if s.Namespace != nil && len(*s.Namespace) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAssignmentName sets the AssignmentName field's value. +func (s *DescribeIAMPolicyAssignmentInput) SetAssignmentName(v string) *DescribeIAMPolicyAssignmentInput { + s.AssignmentName = &v + return s +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DescribeIAMPolicyAssignmentInput) SetAwsAccountId(v string) *DescribeIAMPolicyAssignmentInput { + s.AwsAccountId = &v + return s +} + +// SetNamespace sets the Namespace field's value. +func (s *DescribeIAMPolicyAssignmentInput) SetNamespace(v string) *DescribeIAMPolicyAssignmentInput { + s.Namespace = &v + return s +} + +type DescribeIAMPolicyAssignmentOutput struct { + _ struct{} `type:"structure"` + + // Information describing the IAM policy assignment. + IAMPolicyAssignment *IAMPolicyAssignment `type:"structure"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 DescribeIAMPolicyAssignmentOutput) 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 DescribeIAMPolicyAssignmentOutput) GoString() string { + return s.String() +} + +// SetIAMPolicyAssignment sets the IAMPolicyAssignment field's value. +func (s *DescribeIAMPolicyAssignmentOutput) SetIAMPolicyAssignment(v *IAMPolicyAssignment) *DescribeIAMPolicyAssignmentOutput { + s.IAMPolicyAssignment = v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *DescribeIAMPolicyAssignmentOutput) SetRequestId(v string) *DescribeIAMPolicyAssignmentOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DescribeIAMPolicyAssignmentOutput) SetStatus(v int64) *DescribeIAMPolicyAssignmentOutput { + s.Status = &v + return s +} + +type DescribeIngestionInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The Amazon Web Services account ID. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The ID of the dataset used in the ingestion. + // + // DataSetId is a required field + DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"` + + // An ID for the ingestion. + // + // IngestionId is a required field + IngestionId *string `location:"uri" locationName:"IngestionId" min:"1" type:"string" required:"true"` +} + +// 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 DescribeIngestionInput) 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 DescribeIngestionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeIngestionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeIngestionInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.DataSetId == nil { + invalidParams.Add(request.NewErrParamRequired("DataSetId")) + } + if s.DataSetId != nil && len(*s.DataSetId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1)) + } + if s.IngestionId == nil { + invalidParams.Add(request.NewErrParamRequired("IngestionId")) + } + if s.IngestionId != nil && len(*s.IngestionId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("IngestionId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DescribeIngestionInput) SetAwsAccountId(v string) *DescribeIngestionInput { + s.AwsAccountId = &v + return s +} + +// SetDataSetId sets the DataSetId field's value. +func (s *DescribeIngestionInput) SetDataSetId(v string) *DescribeIngestionInput { + s.DataSetId = &v + return s +} + +// SetIngestionId sets the IngestionId field's value. +func (s *DescribeIngestionInput) SetIngestionId(v string) *DescribeIngestionInput { + s.IngestionId = &v + return s +} + +type DescribeIngestionOutput struct { + _ struct{} `type:"structure"` + + // Information about the ingestion. + Ingestion *Ingestion `type:"structure"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 DescribeIngestionOutput) 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 DescribeIngestionOutput) GoString() string { + return s.String() +} + +// SetIngestion sets the Ingestion field's value. +func (s *DescribeIngestionOutput) SetIngestion(v *Ingestion) *DescribeIngestionOutput { + s.Ingestion = v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *DescribeIngestionOutput) SetRequestId(v string) *DescribeIngestionOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DescribeIngestionOutput) SetStatus(v int64) *DescribeIngestionOutput { + s.Status = &v + return s +} + +type DescribeIpRestrictionInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID of the Amazon Web Services account that contains the IP rules. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` +} + +// 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 DescribeIpRestrictionInput) 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 DescribeIpRestrictionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeIpRestrictionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeIpRestrictionInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DescribeIpRestrictionInput) SetAwsAccountId(v string) *DescribeIpRestrictionInput { + s.AwsAccountId = &v + return s +} + +type DescribeIpRestrictionOutput struct { + _ struct{} `type:"structure"` + + // The ID of the Amazon Web Services account that contains the IP rules. + AwsAccountId *string `min:"12" type:"string"` + + // A value that specifies whether IP rules are turned on. + Enabled *bool `type:"boolean"` + + // A map that describes the IP rules with CIDR range and description. + IpRestrictionRuleMap map[string]*string `type:"map"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 DescribeIpRestrictionOutput) 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 DescribeIpRestrictionOutput) GoString() string { + return s.String() +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DescribeIpRestrictionOutput) SetAwsAccountId(v string) *DescribeIpRestrictionOutput { + s.AwsAccountId = &v + return s +} + +// SetEnabled sets the Enabled field's value. +func (s *DescribeIpRestrictionOutput) SetEnabled(v bool) *DescribeIpRestrictionOutput { + s.Enabled = &v + return s +} + +// SetIpRestrictionRuleMap sets the IpRestrictionRuleMap field's value. +func (s *DescribeIpRestrictionOutput) SetIpRestrictionRuleMap(v map[string]*string) *DescribeIpRestrictionOutput { + s.IpRestrictionRuleMap = v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *DescribeIpRestrictionOutput) SetRequestId(v string) *DescribeIpRestrictionOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DescribeIpRestrictionOutput) SetStatus(v int64) *DescribeIpRestrictionOutput { + s.Status = &v + return s +} + +type DescribeNamespaceInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID for the Amazon Web Services account that contains the Amazon QuickSight + // namespace that you want to describe. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The namespace that you want to describe. + // + // Namespace is a required field + Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` +} + +// 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 DescribeNamespaceInput) 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 DescribeNamespaceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeNamespaceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeNamespaceInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.Namespace == nil { + invalidParams.Add(request.NewErrParamRequired("Namespace")) + } + if s.Namespace != nil && len(*s.Namespace) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DescribeNamespaceInput) SetAwsAccountId(v string) *DescribeNamespaceInput { + s.AwsAccountId = &v + return s +} + +// SetNamespace sets the Namespace field's value. +func (s *DescribeNamespaceInput) SetNamespace(v string) *DescribeNamespaceInput { + s.Namespace = &v + return s +} + +type DescribeNamespaceOutput struct { + _ struct{} `type:"structure"` + + // The information about the namespace that you're describing. The response + // includes the namespace ARN, name, Amazon Web Services Region, creation status, + // and identity store. DescribeNamespace also works for namespaces that are + // in the process of being created. For incomplete namespaces, this API operation + // lists the namespace error types and messages associated with the creation + // process. + Namespace *NamespaceInfoV2 `type:"structure"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 DescribeNamespaceOutput) 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 DescribeNamespaceOutput) GoString() string { + return s.String() +} + +// SetNamespace sets the Namespace field's value. +func (s *DescribeNamespaceOutput) SetNamespace(v *NamespaceInfoV2) *DescribeNamespaceOutput { + s.Namespace = v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *DescribeNamespaceOutput) SetRequestId(v string) *DescribeNamespaceOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DescribeNamespaceOutput) SetStatus(v int64) *DescribeNamespaceOutput { + s.Status = &v + return s +} + +type DescribeTemplateAliasInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The name of the template alias that you want to describe. If you name a specific + // alias, you describe the version that the alias points to. You can specify + // the latest version of the template by providing the keyword $LATEST in the + // AliasName parameter. The keyword $PUBLISHED doesn't apply to templates. + // + // AliasName is a required field + AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"` + + // The ID of the Amazon Web Services account that contains the template alias + // that you're describing. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The ID for the template. + // + // TemplateId is a required field + TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"` +} + +// 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 DescribeTemplateAliasInput) 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 DescribeTemplateAliasInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeTemplateAliasInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeTemplateAliasInput"} + if s.AliasName == nil { + invalidParams.Add(request.NewErrParamRequired("AliasName")) + } + if s.AliasName != nil && len(*s.AliasName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AliasName", 1)) + } + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.TemplateId == nil { + invalidParams.Add(request.NewErrParamRequired("TemplateId")) + } + if s.TemplateId != nil && len(*s.TemplateId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAliasName sets the AliasName field's value. +func (s *DescribeTemplateAliasInput) SetAliasName(v string) *DescribeTemplateAliasInput { + s.AliasName = &v + return s +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DescribeTemplateAliasInput) SetAwsAccountId(v string) *DescribeTemplateAliasInput { + s.AwsAccountId = &v + return s +} + +// SetTemplateId sets the TemplateId field's value. +func (s *DescribeTemplateAliasInput) SetTemplateId(v string) *DescribeTemplateAliasInput { + s.TemplateId = &v + return s +} + +type DescribeTemplateAliasOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` + + // Information about the template alias. + TemplateAlias *TemplateAlias `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 DescribeTemplateAliasOutput) 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 DescribeTemplateAliasOutput) GoString() string { + return s.String() +} + +// SetRequestId sets the RequestId field's value. +func (s *DescribeTemplateAliasOutput) SetRequestId(v string) *DescribeTemplateAliasOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DescribeTemplateAliasOutput) SetStatus(v int64) *DescribeTemplateAliasOutput { + s.Status = &v + return s +} + +// SetTemplateAlias sets the TemplateAlias field's value. +func (s *DescribeTemplateAliasOutput) SetTemplateAlias(v *TemplateAlias) *DescribeTemplateAliasOutput { + s.TemplateAlias = v + return s +} + +type DescribeTemplateDefinitionInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The alias of the template that you want to describe. If you name a specific + // alias, you describe the version that the alias points to. You can specify + // the latest version of the template by providing the keyword $LATEST in the + // AliasName parameter. The keyword $PUBLISHED doesn't apply to templates. + AliasName *string `location:"querystring" locationName:"alias-name" min:"1" type:"string"` + + // The ID of the Amazon Web Services account that contains the template. You + // must be using the Amazon Web Services account that the template is in. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The ID of the template that you're describing. + // + // TemplateId is a required field + TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"` + + // The version number of the template. + VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"` +} + +// 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 DescribeTemplateDefinitionInput) 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 DescribeTemplateDefinitionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeTemplateDefinitionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeTemplateDefinitionInput"} + if s.AliasName != nil && len(*s.AliasName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AliasName", 1)) + } + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.TemplateId == nil { + invalidParams.Add(request.NewErrParamRequired("TemplateId")) + } + if s.TemplateId != nil && len(*s.TemplateId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1)) + } + if s.VersionNumber != nil && *s.VersionNumber < 1 { + invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAliasName sets the AliasName field's value. +func (s *DescribeTemplateDefinitionInput) SetAliasName(v string) *DescribeTemplateDefinitionInput { + s.AliasName = &v + return s +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DescribeTemplateDefinitionInput) SetAwsAccountId(v string) *DescribeTemplateDefinitionInput { + s.AwsAccountId = &v + return s +} + +// SetTemplateId sets the TemplateId field's value. +func (s *DescribeTemplateDefinitionInput) SetTemplateId(v string) *DescribeTemplateDefinitionInput { + s.TemplateId = &v + return s +} + +// SetVersionNumber sets the VersionNumber field's value. +func (s *DescribeTemplateDefinitionInput) SetVersionNumber(v int64) *DescribeTemplateDefinitionInput { + s.VersionNumber = &v + return s +} + +type DescribeTemplateDefinitionOutput struct { + _ struct{} `type:"structure"` + + // The definition of the template. + // + // A definition is the data model of all features in a Dashboard, Template, + // or Analysis. + Definition *TemplateVersionDefinition `type:"structure"` + + // Errors associated with the template version. + Errors []*TemplateError `min:"1" type:"list"` + + // The descriptive name of the template. + Name *string `min:"1" type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // Status associated with the template. + // + // * CREATION_IN_PROGRESS + // + // * CREATION_SUCCESSFUL + // + // * CREATION_FAILED + // + // * UPDATE_IN_PROGRESS + // + // * UPDATE_SUCCESSFUL + // + // * UPDATE_FAILED + // + // * DELETED + ResourceStatus *string `type:"string" enum:"ResourceStatus"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` + + // The ID of the template described. + TemplateId *string `min:"1" type:"string"` + + // The ARN of the theme of the template. + ThemeArn *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 DescribeTemplateDefinitionOutput) 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 DescribeTemplateDefinitionOutput) GoString() string { + return s.String() +} + +// SetDefinition sets the Definition field's value. +func (s *DescribeTemplateDefinitionOutput) SetDefinition(v *TemplateVersionDefinition) *DescribeTemplateDefinitionOutput { + s.Definition = v + return s +} + +// SetErrors sets the Errors field's value. +func (s *DescribeTemplateDefinitionOutput) SetErrors(v []*TemplateError) *DescribeTemplateDefinitionOutput { + s.Errors = v + return s +} + +// SetName sets the Name field's value. +func (s *DescribeTemplateDefinitionOutput) SetName(v string) *DescribeTemplateDefinitionOutput { + s.Name = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *DescribeTemplateDefinitionOutput) SetRequestId(v string) *DescribeTemplateDefinitionOutput { + s.RequestId = &v + return s +} + +// SetResourceStatus sets the ResourceStatus field's value. +func (s *DescribeTemplateDefinitionOutput) SetResourceStatus(v string) *DescribeTemplateDefinitionOutput { + s.ResourceStatus = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DescribeTemplateDefinitionOutput) SetStatus(v int64) *DescribeTemplateDefinitionOutput { + s.Status = &v + return s +} + +// SetTemplateId sets the TemplateId field's value. +func (s *DescribeTemplateDefinitionOutput) SetTemplateId(v string) *DescribeTemplateDefinitionOutput { + s.TemplateId = &v + return s +} + +// SetThemeArn sets the ThemeArn field's value. +func (s *DescribeTemplateDefinitionOutput) SetThemeArn(v string) *DescribeTemplateDefinitionOutput { + s.ThemeArn = &v + return s +} + +type DescribeTemplateInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The alias of the template that you want to describe. If you name a specific + // alias, you describe the version that the alias points to. You can specify + // the latest version of the template by providing the keyword $LATEST in the + // AliasName parameter. The keyword $PUBLISHED doesn't apply to templates. + AliasName *string `location:"querystring" locationName:"alias-name" min:"1" type:"string"` + + // The ID of the Amazon Web Services account that contains the template that + // you're describing. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The ID for the template. + // + // TemplateId is a required field + TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"` + + // (Optional) The number for the version to describe. If a VersionNumber parameter + // value isn't provided, the latest version of the template is described. + VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"` +} + +// 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 DescribeTemplateInput) 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 DescribeTemplateInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeTemplateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeTemplateInput"} + if s.AliasName != nil && len(*s.AliasName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AliasName", 1)) + } + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.TemplateId == nil { + invalidParams.Add(request.NewErrParamRequired("TemplateId")) + } + if s.TemplateId != nil && len(*s.TemplateId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1)) + } + if s.VersionNumber != nil && *s.VersionNumber < 1 { + invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAliasName sets the AliasName field's value. +func (s *DescribeTemplateInput) SetAliasName(v string) *DescribeTemplateInput { + s.AliasName = &v + return s +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DescribeTemplateInput) SetAwsAccountId(v string) *DescribeTemplateInput { + s.AwsAccountId = &v + return s +} + +// SetTemplateId sets the TemplateId field's value. +func (s *DescribeTemplateInput) SetTemplateId(v string) *DescribeTemplateInput { + s.TemplateId = &v + return s +} + +// SetVersionNumber sets the VersionNumber field's value. +func (s *DescribeTemplateInput) SetVersionNumber(v int64) *DescribeTemplateInput { + s.VersionNumber = &v + return s +} + +type DescribeTemplateOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` + + // The template structure for the object you want to describe. + Template *Template `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 DescribeTemplateOutput) 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 DescribeTemplateOutput) GoString() string { + return s.String() +} + +// SetRequestId sets the RequestId field's value. +func (s *DescribeTemplateOutput) SetRequestId(v string) *DescribeTemplateOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DescribeTemplateOutput) SetStatus(v int64) *DescribeTemplateOutput { + s.Status = &v + return s +} + +// SetTemplate sets the Template field's value. +func (s *DescribeTemplateOutput) SetTemplate(v *Template) *DescribeTemplateOutput { + s.Template = v + return s +} + +type DescribeTemplatePermissionsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID of the Amazon Web Services account that contains the template that + // you're describing. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The ID for the template. + // + // TemplateId is a required field + TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"` +} + +// 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 DescribeTemplatePermissionsInput) 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 DescribeTemplatePermissionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeTemplatePermissionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeTemplatePermissionsInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.TemplateId == nil { + invalidParams.Add(request.NewErrParamRequired("TemplateId")) + } + if s.TemplateId != nil && len(*s.TemplateId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DescribeTemplatePermissionsInput) SetAwsAccountId(v string) *DescribeTemplatePermissionsInput { + s.AwsAccountId = &v + return s +} + +// SetTemplateId sets the TemplateId field's value. +func (s *DescribeTemplatePermissionsInput) SetTemplateId(v string) *DescribeTemplatePermissionsInput { + s.TemplateId = &v + return s +} + +type DescribeTemplatePermissionsOutput struct { + _ struct{} `type:"structure"` + + // A list of resource permissions to be set on the template. + Permissions []*ResourcePermission `min:"1" type:"list"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` + + // The Amazon Resource Name (ARN) of the template. + TemplateArn *string `type:"string"` + + // The ID for the template. + TemplateId *string `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 DescribeTemplatePermissionsOutput) 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 DescribeTemplatePermissionsOutput) GoString() string { + return s.String() +} + +// SetPermissions sets the Permissions field's value. +func (s *DescribeTemplatePermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeTemplatePermissionsOutput { + s.Permissions = v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *DescribeTemplatePermissionsOutput) SetRequestId(v string) *DescribeTemplatePermissionsOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DescribeTemplatePermissionsOutput) SetStatus(v int64) *DescribeTemplatePermissionsOutput { + s.Status = &v + return s +} + +// SetTemplateArn sets the TemplateArn field's value. +func (s *DescribeTemplatePermissionsOutput) SetTemplateArn(v string) *DescribeTemplatePermissionsOutput { + s.TemplateArn = &v + return s +} + +// SetTemplateId sets the TemplateId field's value. +func (s *DescribeTemplatePermissionsOutput) SetTemplateId(v string) *DescribeTemplatePermissionsOutput { + s.TemplateId = &v + return s +} + +type DescribeThemeAliasInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The name of the theme alias that you want to describe. + // + // AliasName is a required field + AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"` + + // The ID of the Amazon Web Services account that contains the theme alias that + // you're describing. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The ID for the theme. + // + // ThemeId is a required field + ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"` +} + +// 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 DescribeThemeAliasInput) 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 DescribeThemeAliasInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeThemeAliasInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeThemeAliasInput"} + if s.AliasName == nil { + invalidParams.Add(request.NewErrParamRequired("AliasName")) + } + if s.AliasName != nil && len(*s.AliasName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AliasName", 1)) + } + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.ThemeId == nil { + invalidParams.Add(request.NewErrParamRequired("ThemeId")) + } + if s.ThemeId != nil && len(*s.ThemeId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAliasName sets the AliasName field's value. +func (s *DescribeThemeAliasInput) SetAliasName(v string) *DescribeThemeAliasInput { + s.AliasName = &v + return s +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DescribeThemeAliasInput) SetAwsAccountId(v string) *DescribeThemeAliasInput { + s.AwsAccountId = &v + return s +} + +// SetThemeId sets the ThemeId field's value. +func (s *DescribeThemeAliasInput) SetThemeId(v string) *DescribeThemeAliasInput { + s.ThemeId = &v + return s +} + +type DescribeThemeAliasOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` + + // Information about the theme alias. + ThemeAlias *ThemeAlias `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 DescribeThemeAliasOutput) 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 DescribeThemeAliasOutput) GoString() string { + return s.String() +} + +// SetRequestId sets the RequestId field's value. +func (s *DescribeThemeAliasOutput) SetRequestId(v string) *DescribeThemeAliasOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DescribeThemeAliasOutput) SetStatus(v int64) *DescribeThemeAliasOutput { + s.Status = &v + return s +} + +// SetThemeAlias sets the ThemeAlias field's value. +func (s *DescribeThemeAliasOutput) SetThemeAlias(v *ThemeAlias) *DescribeThemeAliasOutput { + s.ThemeAlias = v + return s +} + +type DescribeThemeInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The alias of the theme that you want to describe. If you name a specific + // alias, you describe the version that the alias points to. You can specify + // the latest version of the theme by providing the keyword $LATEST in the AliasName + // parameter. The keyword $PUBLISHED doesn't apply to themes. + AliasName *string `location:"querystring" locationName:"alias-name" min:"1" type:"string"` + + // The ID of the Amazon Web Services account that contains the theme that you're + // describing. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" type:"string" required:"true"` + + // The ID for the theme. + // + // ThemeId is a required field + ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"` + + // The version number for the version to describe. If a VersionNumber parameter + // value isn't provided, the latest version of the theme is described. + VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"` +} + +// 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 DescribeThemeInput) 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 DescribeThemeInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeThemeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeThemeInput"} + if s.AliasName != nil && len(*s.AliasName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AliasName", 1)) + } + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 1)) + } + if s.ThemeId == nil { + invalidParams.Add(request.NewErrParamRequired("ThemeId")) + } + if s.ThemeId != nil && len(*s.ThemeId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1)) + } + if s.VersionNumber != nil && *s.VersionNumber < 1 { + invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAliasName sets the AliasName field's value. +func (s *DescribeThemeInput) SetAliasName(v string) *DescribeThemeInput { + s.AliasName = &v + return s +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DescribeThemeInput) SetAwsAccountId(v string) *DescribeThemeInput { + s.AwsAccountId = &v + return s +} + +// SetThemeId sets the ThemeId field's value. +func (s *DescribeThemeInput) SetThemeId(v string) *DescribeThemeInput { + s.ThemeId = &v + return s +} + +// SetVersionNumber sets the VersionNumber field's value. +func (s *DescribeThemeInput) SetVersionNumber(v int64) *DescribeThemeInput { + s.VersionNumber = &v + return s +} + +type DescribeThemeOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` + + // The information about the theme that you are describing. + Theme *Theme `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 DescribeThemeOutput) 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 DescribeThemeOutput) GoString() string { + return s.String() +} + +// SetRequestId sets the RequestId field's value. +func (s *DescribeThemeOutput) SetRequestId(v string) *DescribeThemeOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DescribeThemeOutput) SetStatus(v int64) *DescribeThemeOutput { + s.Status = &v + return s +} + +// SetTheme sets the Theme field's value. +func (s *DescribeThemeOutput) SetTheme(v *Theme) *DescribeThemeOutput { + s.Theme = v + return s +} + +type DescribeThemePermissionsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID of the Amazon Web Services account that contains the theme that you're + // describing. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The ID for the theme that you want to describe permissions for. + // + // ThemeId is a required field + ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"` +} + +// 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 DescribeThemePermissionsInput) 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 DescribeThemePermissionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeThemePermissionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeThemePermissionsInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.ThemeId == nil { + invalidParams.Add(request.NewErrParamRequired("ThemeId")) + } + if s.ThemeId != nil && len(*s.ThemeId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DescribeThemePermissionsInput) SetAwsAccountId(v string) *DescribeThemePermissionsInput { + s.AwsAccountId = &v + return s +} + +// SetThemeId sets the ThemeId field's value. +func (s *DescribeThemePermissionsInput) SetThemeId(v string) *DescribeThemePermissionsInput { + s.ThemeId = &v + return s +} + +type DescribeThemePermissionsOutput struct { + _ struct{} `type:"structure"` + + // A list of resource permissions set on the theme. + Permissions []*ResourcePermission `min:"1" type:"list"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` + + // The Amazon Resource Name (ARN) of the theme. + ThemeArn *string `type:"string"` + + // The ID for the theme. + ThemeId *string `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 DescribeThemePermissionsOutput) 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 DescribeThemePermissionsOutput) GoString() string { + return s.String() +} + +// SetPermissions sets the Permissions field's value. +func (s *DescribeThemePermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeThemePermissionsOutput { + s.Permissions = v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *DescribeThemePermissionsOutput) SetRequestId(v string) *DescribeThemePermissionsOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DescribeThemePermissionsOutput) SetStatus(v int64) *DescribeThemePermissionsOutput { + s.Status = &v + return s +} + +// SetThemeArn sets the ThemeArn field's value. +func (s *DescribeThemePermissionsOutput) SetThemeArn(v string) *DescribeThemePermissionsOutput { + s.ThemeArn = &v + return s +} + +// SetThemeId sets the ThemeId field's value. +func (s *DescribeThemePermissionsOutput) SetThemeId(v string) *DescribeThemePermissionsOutput { + s.ThemeId = &v + return s +} + +type DescribeUserInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID for the Amazon Web Services account that the user is in. Currently, + // you use the ID for the Amazon Web Services account that contains your Amazon + // QuickSight account. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The namespace. Currently, you should set this to default. + // + // Namespace is a required field + Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` + + // The name of the user that you want to describe. + // + // UserName is a required field + UserName *string `location:"uri" locationName:"UserName" min:"1" type:"string" required:"true"` +} + +// 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 DescribeUserInput) 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 DescribeUserInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeUserInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeUserInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.Namespace == nil { + invalidParams.Add(request.NewErrParamRequired("Namespace")) + } + if s.Namespace != nil && len(*s.Namespace) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + } + if s.UserName == nil { + invalidParams.Add(request.NewErrParamRequired("UserName")) + } + if s.UserName != nil && len(*s.UserName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DescribeUserInput) SetAwsAccountId(v string) *DescribeUserInput { + s.AwsAccountId = &v + return s +} + +// SetNamespace sets the Namespace field's value. +func (s *DescribeUserInput) SetNamespace(v string) *DescribeUserInput { + s.Namespace = &v + return s +} + +// SetUserName sets the UserName field's value. +func (s *DescribeUserInput) SetUserName(v string) *DescribeUserInput { + s.UserName = &v + return s +} + +type DescribeUserOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` + + // The user name. + User *User `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 DescribeUserOutput) 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 DescribeUserOutput) GoString() string { + return s.String() +} + +// SetRequestId sets the RequestId field's value. +func (s *DescribeUserOutput) SetRequestId(v string) *DescribeUserOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DescribeUserOutput) SetStatus(v int64) *DescribeUserOutput { + s.Status = &v + return s +} + +// SetUser sets the User field's value. +func (s *DescribeUserOutput) SetUser(v *User) *DescribeUserOutput { + s.User = v + return s +} + +// The configuration of destination parameter values. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type DestinationParameterValueConfiguration struct { + _ struct{} `type:"structure"` + + // The configuration of custom values for destination parameter in DestinationParameterValueConfiguration. + CustomValuesConfiguration *CustomValuesConfiguration `type:"structure"` + + // The configuration that selects all options. + SelectAllValueOptions *string `type:"string" enum:"SelectAllValueOptions"` + + // The source field ID of the destination parameter. + SourceField *string `min:"1" type:"string"` + + // The source parameter name of the destination parameter. + SourceParameterName *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 DestinationParameterValueConfiguration) 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 DestinationParameterValueConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DestinationParameterValueConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DestinationParameterValueConfiguration"} + if s.SourceField != nil && len(*s.SourceField) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SourceField", 1)) + } + if s.CustomValuesConfiguration != nil { + if err := s.CustomValuesConfiguration.Validate(); err != nil { + invalidParams.AddNested("CustomValuesConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCustomValuesConfiguration sets the CustomValuesConfiguration field's value. +func (s *DestinationParameterValueConfiguration) SetCustomValuesConfiguration(v *CustomValuesConfiguration) *DestinationParameterValueConfiguration { + s.CustomValuesConfiguration = v + return s +} + +// SetSelectAllValueOptions sets the SelectAllValueOptions field's value. +func (s *DestinationParameterValueConfiguration) SetSelectAllValueOptions(v string) *DestinationParameterValueConfiguration { + s.SelectAllValueOptions = &v + return s +} + +// SetSourceField sets the SourceField field's value. +func (s *DestinationParameterValueConfiguration) SetSourceField(v string) *DestinationParameterValueConfiguration { + s.SourceField = &v + return s +} + +// SetSourceParameterName sets the SourceParameterName field's value. +func (s *DestinationParameterValueConfiguration) SetSourceParameterName(v string) *DestinationParameterValueConfiguration { + s.SourceParameterName = &v + return s +} + +// The dimension type field. +type DimensionField struct { + _ struct{} `type:"structure"` + + // The dimension type field with categorical type columns. + CategoricalDimensionField *CategoricalDimensionField `type:"structure"` + + // The dimension type field with date type columns. + DateDimensionField *DateDimensionField `type:"structure"` + + // The dimension type field with numerical type columns. + NumericalDimensionField *NumericalDimensionField `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 DimensionField) 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 DimensionField) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DimensionField) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DimensionField"} + if s.CategoricalDimensionField != nil { + if err := s.CategoricalDimensionField.Validate(); err != nil { + invalidParams.AddNested("CategoricalDimensionField", err.(request.ErrInvalidParams)) + } + } + if s.DateDimensionField != nil { + if err := s.DateDimensionField.Validate(); err != nil { + invalidParams.AddNested("DateDimensionField", err.(request.ErrInvalidParams)) + } + } + if s.NumericalDimensionField != nil { + if err := s.NumericalDimensionField.Validate(); err != nil { + invalidParams.AddNested("NumericalDimensionField", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCategoricalDimensionField sets the CategoricalDimensionField field's value. +func (s *DimensionField) SetCategoricalDimensionField(v *CategoricalDimensionField) *DimensionField { + s.CategoricalDimensionField = v + return s +} + +// SetDateDimensionField sets the DateDimensionField field's value. +func (s *DimensionField) SetDateDimensionField(v *DateDimensionField) *DimensionField { + s.DateDimensionField = v + return s +} + +// SetNumericalDimensionField sets the NumericalDimensionField field's value. +func (s *DimensionField) SetNumericalDimensionField(v *NumericalDimensionField) *DimensionField { + s.NumericalDimensionField = v + return s +} + +// The domain specified isn't on the allow list. All domains for embedded dashboards +// must be added to the approved list by an Amazon QuickSight admin. +type DomainNotWhitelistedException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"Message" type:"string"` + + // The Amazon Web Services request ID for this request. + RequestId *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 DomainNotWhitelistedException) 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 DomainNotWhitelistedException) GoString() string { + return s.String() +} + +func newErrorDomainNotWhitelistedException(v protocol.ResponseMetadata) error { + return &DomainNotWhitelistedException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *DomainNotWhitelistedException) Code() string { + return "DomainNotWhitelistedException" +} + +// Message returns the exception's message. +func (s *DomainNotWhitelistedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *DomainNotWhitelistedException) OrigErr() error { + return nil +} + +func (s *DomainNotWhitelistedException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *DomainNotWhitelistedException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *DomainNotWhitelistedException) RequestID() string { + return s.RespMetadata.RequestID +} + +// The label options of the label that is displayed in the center of a donut +// chart. This option isn't available for pie charts. +type DonutCenterOptions struct { + _ struct{} `type:"structure"` + + // Determines the visibility of the label in a donut chart. In the Amazon QuickSight + // console, this option is called 'Show total'. + LabelVisibility *string `type:"string" enum:"Visibility"` +} + +// 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 DonutCenterOptions) 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 DonutCenterOptions) GoString() string { + return s.String() +} + +// SetLabelVisibility sets the LabelVisibility field's value. +func (s *DonutCenterOptions) SetLabelVisibility(v string) *DonutCenterOptions { + s.LabelVisibility = &v + return s +} + +// The options for configuring a donut chart or pie chart. +type DonutOptions struct { + _ struct{} `type:"structure"` + + // The option for define the arc of the chart shape. Valid values are as follows: + // + // * WHOLE - A pie chart + // + // * SMALL- A small-sized donut chart + // + // * MEDIUM- A medium-sized donut chart + // + // * LARGE- A large-sized donut chart + ArcOptions *ArcOptions `type:"structure"` + + // The label options of the label that is displayed in the center of a donut + // chart. This option isn't available for pie charts. + DonutCenterOptions *DonutCenterOptions `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 DonutOptions) 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 DonutOptions) GoString() string { + return s.String() +} + +// SetArcOptions sets the ArcOptions field's value. +func (s *DonutOptions) SetArcOptions(v *ArcOptions) *DonutOptions { + s.ArcOptions = v + return s +} + +// SetDonutCenterOptions sets the DonutCenterOptions field's value. +func (s *DonutOptions) SetDonutCenterOptions(v *DonutCenterOptions) *DonutOptions { + s.DonutCenterOptions = v + return s +} + +// The drill down filter for the column hierarchies. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type DrillDownFilter struct { + _ struct{} `type:"structure"` + + // The category type drill down filter. This filter is used for string type + // columns. + CategoryFilter *CategoryDrillDownFilter `type:"structure"` + + // The numeric equality type drill down filter. This filter is used for number + // type columns. + NumericEqualityFilter *NumericEqualityDrillDownFilter `type:"structure"` + + // The time range drill down filter. This filter is used for date time columns. + TimeRangeFilter *TimeRangeDrillDownFilter `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 DrillDownFilter) 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 DrillDownFilter) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DrillDownFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DrillDownFilter"} + if s.CategoryFilter != nil { + if err := s.CategoryFilter.Validate(); err != nil { + invalidParams.AddNested("CategoryFilter", err.(request.ErrInvalidParams)) + } + } + if s.NumericEqualityFilter != nil { + if err := s.NumericEqualityFilter.Validate(); err != nil { + invalidParams.AddNested("NumericEqualityFilter", err.(request.ErrInvalidParams)) + } + } + if s.TimeRangeFilter != nil { + if err := s.TimeRangeFilter.Validate(); err != nil { + invalidParams.AddNested("TimeRangeFilter", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCategoryFilter sets the CategoryFilter field's value. +func (s *DrillDownFilter) SetCategoryFilter(v *CategoryDrillDownFilter) *DrillDownFilter { + s.CategoryFilter = v + return s +} + +// SetNumericEqualityFilter sets the NumericEqualityFilter field's value. +func (s *DrillDownFilter) SetNumericEqualityFilter(v *NumericEqualityDrillDownFilter) *DrillDownFilter { + s.NumericEqualityFilter = v + return s +} + +// SetTimeRangeFilter sets the TimeRangeFilter field's value. +func (s *DrillDownFilter) SetTimeRangeFilter(v *TimeRangeDrillDownFilter) *DrillDownFilter { + s.TimeRangeFilter = v + return s +} + +// The display options of a control. +type DropDownControlDisplayOptions struct { + _ struct{} `type:"structure"` + + // The configuration of the Select all options in a dropdown control. + SelectAllOptions *ListControlSelectAllOptions `type:"structure"` + + // The options to configure the title visibility, name, and font size. + TitleOptions *LabelOptions `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 DropDownControlDisplayOptions) 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 DropDownControlDisplayOptions) GoString() string { + return s.String() +} + +// SetSelectAllOptions sets the SelectAllOptions field's value. +func (s *DropDownControlDisplayOptions) SetSelectAllOptions(v *ListControlSelectAllOptions) *DropDownControlDisplayOptions { + s.SelectAllOptions = v + return s +} + +// SetTitleOptions sets the TitleOptions field's value. +func (s *DropDownControlDisplayOptions) SetTitleOptions(v *LabelOptions) *DropDownControlDisplayOptions { + s.TitleOptions = v + return s +} + +// Defines different defaults to the users or groups based on mapping. +type DynamicDefaultValue struct { + _ struct{} `type:"structure"` + + // The column that contains the default value of each user or group. + // + // DefaultValueColumn is a required field + DefaultValueColumn *ColumnIdentifier `type:"structure" required:"true"` + + // The column that contains the group name. + GroupNameColumn *ColumnIdentifier `type:"structure"` + + // The column that contains the username. + UserNameColumn *ColumnIdentifier `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 DynamicDefaultValue) 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 DynamicDefaultValue) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DynamicDefaultValue) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DynamicDefaultValue"} + if s.DefaultValueColumn == nil { + invalidParams.Add(request.NewErrParamRequired("DefaultValueColumn")) + } + if s.DefaultValueColumn != nil { + if err := s.DefaultValueColumn.Validate(); err != nil { + invalidParams.AddNested("DefaultValueColumn", err.(request.ErrInvalidParams)) + } + } + if s.GroupNameColumn != nil { + if err := s.GroupNameColumn.Validate(); err != nil { + invalidParams.AddNested("GroupNameColumn", err.(request.ErrInvalidParams)) + } + } + if s.UserNameColumn != nil { + if err := s.UserNameColumn.Validate(); err != nil { + invalidParams.AddNested("UserNameColumn", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDefaultValueColumn sets the DefaultValueColumn field's value. +func (s *DynamicDefaultValue) SetDefaultValueColumn(v *ColumnIdentifier) *DynamicDefaultValue { + s.DefaultValueColumn = v + return s +} + +// SetGroupNameColumn sets the GroupNameColumn field's value. +func (s *DynamicDefaultValue) SetGroupNameColumn(v *ColumnIdentifier) *DynamicDefaultValue { + s.GroupNameColumn = v + return s +} + +// SetUserNameColumn sets the UserNameColumn field's value. +func (s *DynamicDefaultValue) SetUserNameColumn(v *ColumnIdentifier) *DynamicDefaultValue { + s.UserNameColumn = v + return s +} + +// An empty visual. +// +// Empty visuals are used in layouts but have not been configured to show any +// data. A new visual created in the Amazon QuickSight console is considered +// an EmptyVisual until a visual type is selected. +type EmptyVisual struct { + _ struct{} `type:"structure"` + + // The list of custom actions that are configured for a visual. + Actions []*VisualCustomAction `type:"list"` + + // The data set that is used in the empty visual. Every visual requires a dataset + // to render. + // + // DataSetIdentifier is a required field + DataSetIdentifier *string `min:"1" type:"string" required:"true"` + + // The unique identifier of a visual. This identifier must be unique within + // the context of a dashboard, template, or analysis. Two dashboards, analyses, + // or templates can have visuals with the same identifiers. + // + // VisualId is a required field + VisualId *string `min:"1" type:"string" required:"true"` +} + +// 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 EmptyVisual) 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 EmptyVisual) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *EmptyVisual) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "EmptyVisual"} + if s.DataSetIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("DataSetIdentifier")) + } + if s.DataSetIdentifier != nil && len(*s.DataSetIdentifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DataSetIdentifier", 1)) + } + if s.VisualId == nil { + invalidParams.Add(request.NewErrParamRequired("VisualId")) + } + if s.VisualId != nil && len(*s.VisualId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("VisualId", 1)) + } + if s.Actions != nil { + for i, v := range s.Actions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Actions", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetActions sets the Actions field's value. +func (s *EmptyVisual) SetActions(v []*VisualCustomAction) *EmptyVisual { + s.Actions = v + return s +} + +// SetDataSetIdentifier sets the DataSetIdentifier field's value. +func (s *EmptyVisual) SetDataSetIdentifier(v string) *EmptyVisual { + s.DataSetIdentifier = &v + return s +} + +// SetVisualId sets the VisualId field's value. +func (s *EmptyVisual) SetVisualId(v string) *EmptyVisual { + s.VisualId = &v + return s +} + +// An object, structure, or sub-structure of an analysis, template, or dashboard. +type Entity struct { + _ struct{} `type:"structure"` + + // The hierarchical path of the entity within the analysis, template, or dashboard + // definition tree. + Path *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 Entity) 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 Entity) GoString() string { + return s.String() +} + +// SetPath sets the Path field's value. +func (s *Entity) SetPath(v string) *Entity { + s.Path = &v + return s +} + +// Error information for the SPICE ingestion of a dataset. +type ErrorInfo struct { + _ struct{} `type:"structure"` + + // Error message. + Message *string `type:"string"` + + // Error type. + Type *string `type:"string" enum:"IngestionErrorType"` +} + +// 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 ErrorInfo) 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 ErrorInfo) GoString() string { + return s.String() +} + +// SetMessage sets the Message field's value. +func (s *ErrorInfo) SetMessage(v string) *ErrorInfo { + s.Message = &v + return s +} + +// SetType sets the Type field's value. +func (s *ErrorInfo) SetType(v string) *ErrorInfo { + s.Type = &v + return s +} + +// The required parameters for connecting to an Exasol data source. +type ExasolParameters struct { + _ struct{} `type:"structure"` + + // The hostname or IP address of the Exasol data source. + // + // Host is a required field + Host *string `min:"1" type:"string" required:"true"` + + // The port for the Exasol data source. + // + // Port is a required field + Port *int64 `min:"1" type:"integer" required:"true"` +} + +// 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 ExasolParameters) 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 ExasolParameters) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ExasolParameters) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ExasolParameters"} + if s.Host == nil { + invalidParams.Add(request.NewErrParamRequired("Host")) + } + if s.Host != nil && len(*s.Host) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Host", 1)) + } + if s.Port == nil { + invalidParams.Add(request.NewErrParamRequired("Port")) + } + if s.Port != nil && *s.Port < 1 { + invalidParams.Add(request.NewErrParamMinValue("Port", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetHost sets the Host field's value. +func (s *ExasolParameters) SetHost(v string) *ExasolParameters { + s.Host = &v + return s +} + +// SetPort sets the Port field's value. +func (s *ExasolParameters) SetPort(v int64) *ExasolParameters { + s.Port = &v + return s +} + +// The exclude period of TimeRangeFilter or RelativeDatesFilter. +type ExcludePeriodConfiguration struct { + _ struct{} `type:"structure"` + + // The amount or number of the exclude period. + // + // Amount is a required field + Amount *int64 `type:"integer" required:"true"` + + // The granularity or unit (day, month, year) of the exclude period. + // + // Granularity is a required field + Granularity *string `type:"string" required:"true" enum:"TimeGranularity"` + + // The status of the exclude period. Choose from the following options: + // + // * ENABLED + // + // * DISABLED + Status *string `type:"string" enum:"WidgetStatus"` +} + +// 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 ExcludePeriodConfiguration) 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 ExcludePeriodConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ExcludePeriodConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ExcludePeriodConfiguration"} + if s.Amount == nil { + invalidParams.Add(request.NewErrParamRequired("Amount")) + } + if s.Granularity == nil { + invalidParams.Add(request.NewErrParamRequired("Granularity")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAmount sets the Amount field's value. +func (s *ExcludePeriodConfiguration) SetAmount(v int64) *ExcludePeriodConfiguration { + s.Amount = &v + return s +} + +// SetGranularity sets the Granularity field's value. +func (s *ExcludePeriodConfiguration) SetGranularity(v string) *ExcludePeriodConfiguration { + s.Granularity = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ExcludePeriodConfiguration) SetStatus(v string) *ExcludePeriodConfiguration { + s.Status = &v + return s +} + +// The option that determines the hierarchy of the fields that are built within +// a visual's field wells. These fields can't be duplicated to other visuals. +type ExplicitHierarchy struct { + _ struct{} `type:"structure"` + + // The list of columns that define the explicit hierarchy. + // + // Columns is a required field + Columns []*ColumnIdentifier `min:"2" type:"list" required:"true"` + + // The option that determines the drill down filters for the explicit hierarchy. + DrillDownFilters []*DrillDownFilter `type:"list"` + + // The hierarchy ID of the explicit hierarchy. + // + // HierarchyId is a required field + HierarchyId *string `min:"1" type:"string" required:"true"` +} + +// 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 ExplicitHierarchy) 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 ExplicitHierarchy) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ExplicitHierarchy) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ExplicitHierarchy"} + if s.Columns == nil { + invalidParams.Add(request.NewErrParamRequired("Columns")) + } + if s.Columns != nil && len(s.Columns) < 2 { + invalidParams.Add(request.NewErrParamMinLen("Columns", 2)) + } + if s.HierarchyId == nil { + invalidParams.Add(request.NewErrParamRequired("HierarchyId")) + } + if s.HierarchyId != nil && len(*s.HierarchyId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("HierarchyId", 1)) + } + if s.Columns != nil { + for i, v := range s.Columns { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Columns", i), err.(request.ErrInvalidParams)) + } + } + } + if s.DrillDownFilters != nil { + for i, v := range s.DrillDownFilters { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DrillDownFilters", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetColumns sets the Columns field's value. +func (s *ExplicitHierarchy) SetColumns(v []*ColumnIdentifier) *ExplicitHierarchy { + s.Columns = v + return s +} + +// SetDrillDownFilters sets the DrillDownFilters field's value. +func (s *ExplicitHierarchy) SetDrillDownFilters(v []*DrillDownFilter) *ExplicitHierarchy { + s.DrillDownFilters = v + return s +} + +// SetHierarchyId sets the HierarchyId field's value. +func (s *ExplicitHierarchy) SetHierarchyId(v string) *ExplicitHierarchy { + s.HierarchyId = &v + return s +} + +type ExportHiddenFieldsOption struct { + _ struct{} `type:"structure"` + + 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 ExportHiddenFieldsOption) 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 ExportHiddenFieldsOption) GoString() string { + return s.String() +} + +// SetAvailabilityStatus sets the AvailabilityStatus field's value. +func (s *ExportHiddenFieldsOption) SetAvailabilityStatus(v string) *ExportHiddenFieldsOption { + s.AvailabilityStatus = &v + return s +} + +// Export to .csv option. +type ExportToCSVOption struct { + _ struct{} `type:"structure"` + + // Availability status. + 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 ExportToCSVOption) 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 ExportToCSVOption) GoString() string { + return s.String() +} + +// SetAvailabilityStatus sets the AvailabilityStatus field's value. +func (s *ExportToCSVOption) SetAvailabilityStatus(v string) *ExportToCSVOption { + s.AvailabilityStatus = &v + return s +} + +// The setup for the detailed tooltip. +type FieldBasedTooltip struct { + _ struct{} `type:"structure"` + + // The visibility of Show aggregations. + AggregationVisibility *string `type:"string" enum:"Visibility"` + + // The fields configuration in the tooltip. + TooltipFields []*TooltipItem `type:"list"` + + // The type for the >tooltip title. Choose one of the following options: + // + // * NONE: Doesn't use the primary value as the title. + // + // * PRIMARY_VALUE: Uses primary value as the title. + TooltipTitleType *string `type:"string" enum:"TooltipTitleType"` +} + +// 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 FieldBasedTooltip) 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 FieldBasedTooltip) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FieldBasedTooltip) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FieldBasedTooltip"} + if s.TooltipFields != nil { + for i, v := range s.TooltipFields { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "TooltipFields", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAggregationVisibility sets the AggregationVisibility field's value. +func (s *FieldBasedTooltip) SetAggregationVisibility(v string) *FieldBasedTooltip { + s.AggregationVisibility = &v + return s +} + +// SetTooltipFields sets the TooltipFields field's value. +func (s *FieldBasedTooltip) SetTooltipFields(v []*TooltipItem) *FieldBasedTooltip { + s.TooltipFields = v + return s +} + +// SetTooltipTitleType sets the TooltipTitleType field's value. +func (s *FieldBasedTooltip) SetTooltipTitleType(v string) *FieldBasedTooltip { + s.TooltipTitleType = &v + return s +} + +// A FieldFolder element is a folder that contains fields and nested subfolders. +type FieldFolder struct { + _ struct{} `type:"structure"` + + // A folder has a list of columns. A column can only be in one folder. + Columns []*string `locationName:"columns" type:"list"` + + // The description for a field folder. + Description *string `locationName:"description" 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 FieldFolder) 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 FieldFolder) GoString() string { + return s.String() +} + +// SetColumns sets the Columns field's value. +func (s *FieldFolder) SetColumns(v []*string) *FieldFolder { + s.Columns = v + return s +} + +// SetDescription sets the Description field's value. +func (s *FieldFolder) SetDescription(v string) *FieldFolder { + s.Description = &v + return s +} + +// The field label type. +type FieldLabelType struct { + _ struct{} `type:"structure"` + + // Indicates the field that is targeted by the field label. + FieldId *string `min:"1" type:"string"` + + // The visibility of the field label. + Visibility *string `type:"string" enum:"Visibility"` +} + +// 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 FieldLabelType) 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 FieldLabelType) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FieldLabelType) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FieldLabelType"} + if s.FieldId != nil && len(*s.FieldId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FieldId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFieldId sets the FieldId field's value. +func (s *FieldLabelType) SetFieldId(v string) *FieldLabelType { + s.FieldId = &v + return s +} + +// SetVisibility sets the Visibility field's value. +func (s *FieldLabelType) SetVisibility(v string) *FieldLabelType { + s.Visibility = &v + return s +} + +// The field series item configuration of a line chart. +type FieldSeriesItem struct { + _ struct{} `type:"structure"` + + // The axis that you are binding the field to. + // + // AxisBinding is a required field + AxisBinding *string `type:"string" required:"true" enum:"AxisBinding"` + + // The field ID of the field for which you are setting the axis binding. + // + // FieldId is a required field + FieldId *string `min:"1" type:"string" required:"true"` + + // The options that determine the presentation of line series associated to + // the field. + Settings *LineChartSeriesSettings `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 FieldSeriesItem) 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 FieldSeriesItem) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FieldSeriesItem) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FieldSeriesItem"} + if s.AxisBinding == nil { + invalidParams.Add(request.NewErrParamRequired("AxisBinding")) + } + if s.FieldId == nil { + invalidParams.Add(request.NewErrParamRequired("FieldId")) + } + if s.FieldId != nil && len(*s.FieldId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FieldId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAxisBinding sets the AxisBinding field's value. +func (s *FieldSeriesItem) SetAxisBinding(v string) *FieldSeriesItem { + s.AxisBinding = &v + return s +} + +// SetFieldId sets the FieldId field's value. +func (s *FieldSeriesItem) SetFieldId(v string) *FieldSeriesItem { + s.FieldId = &v + return s +} + +// SetSettings sets the Settings field's value. +func (s *FieldSeriesItem) SetSettings(v *LineChartSeriesSettings) *FieldSeriesItem { + s.Settings = v + return s +} + +// The sort configuration for a field in a field well. +type FieldSort struct { + _ struct{} `type:"structure"` + + // The sort direction. Choose one of the following options: + // + // * ASC: Ascending + // + // * DESC: Descending + // + // Direction is a required field + Direction *string `type:"string" required:"true" enum:"SortDirection"` + + // The sort configuration target field. + // + // FieldId is a required field + FieldId *string `min:"1" type:"string" required:"true"` +} + +// 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 FieldSort) 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 FieldSort) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FieldSort) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FieldSort"} + if s.Direction == nil { + invalidParams.Add(request.NewErrParamRequired("Direction")) + } + if s.FieldId == nil { + invalidParams.Add(request.NewErrParamRequired("FieldId")) + } + if s.FieldId != nil && len(*s.FieldId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FieldId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDirection sets the Direction field's value. +func (s *FieldSort) SetDirection(v string) *FieldSort { + s.Direction = &v + return s +} + +// SetFieldId sets the FieldId field's value. +func (s *FieldSort) SetFieldId(v string) *FieldSort { + s.FieldId = &v + return s +} + +// The field sort options in a chart configuration. +type FieldSortOptions struct { + _ struct{} `type:"structure"` + + // The sort configuration for a column that is not used in a field well. + ColumnSort *ColumnSort `type:"structure"` + + // The sort configuration for a field in a field well. + FieldSort *FieldSort `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 FieldSortOptions) 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 FieldSortOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FieldSortOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FieldSortOptions"} + if s.ColumnSort != nil { + if err := s.ColumnSort.Validate(); err != nil { + invalidParams.AddNested("ColumnSort", err.(request.ErrInvalidParams)) + } + } + if s.FieldSort != nil { + if err := s.FieldSort.Validate(); err != nil { + invalidParams.AddNested("FieldSort", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetColumnSort sets the ColumnSort field's value. +func (s *FieldSortOptions) SetColumnSort(v *ColumnSort) *FieldSortOptions { + s.ColumnSort = v + return s +} + +// SetFieldSort sets the FieldSort field's value. +func (s *FieldSortOptions) SetFieldSort(v *FieldSort) *FieldSortOptions { + s.FieldSort = v + return s +} + +// The tooltip item for the fields. +type FieldTooltipItem struct { + _ struct{} `type:"structure"` + + // The unique ID of the field that is targeted by the tooltip. + // + // FieldId is a required field + FieldId *string `min:"1" type:"string" required:"true"` + + // The label of the tooltip item. + Label *string `type:"string"` + + // The visibility of the tooltip item. + Visibility *string `type:"string" enum:"Visibility"` +} + +// 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 FieldTooltipItem) 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 FieldTooltipItem) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FieldTooltipItem) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FieldTooltipItem"} + if s.FieldId == nil { + invalidParams.Add(request.NewErrParamRequired("FieldId")) + } + if s.FieldId != nil && len(*s.FieldId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FieldId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFieldId sets the FieldId field's value. +func (s *FieldTooltipItem) SetFieldId(v string) *FieldTooltipItem { + s.FieldId = &v + return s +} + +// SetLabel sets the Label field's value. +func (s *FieldTooltipItem) SetLabel(v string) *FieldTooltipItem { + s.Label = &v + return s +} + +// SetVisibility sets the Visibility field's value. +func (s *FieldTooltipItem) SetVisibility(v string) *FieldTooltipItem { + s.Visibility = &v + return s +} + +// The aggregated field well of the filled map. +type FilledMapAggregatedFieldWells struct { + _ struct{} `type:"structure"` + + // The aggregated location field well of the filled map. Values are grouped + // by location fields. + Geospatial []*DimensionField `type:"list"` + + // The aggregated color field well of a filled map. Values are aggregated based + // on location fields. + Values []*MeasureField `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 FilledMapAggregatedFieldWells) 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 FilledMapAggregatedFieldWells) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FilledMapAggregatedFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FilledMapAggregatedFieldWells"} + if s.Geospatial != nil { + for i, v := range s.Geospatial { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Geospatial", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Values != nil { + for i, v := range s.Values { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Values", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetGeospatial sets the Geospatial field's value. +func (s *FilledMapAggregatedFieldWells) SetGeospatial(v []*DimensionField) *FilledMapAggregatedFieldWells { + s.Geospatial = v + return s +} + +// SetValues sets the Values field's value. +func (s *FilledMapAggregatedFieldWells) SetValues(v []*MeasureField) *FilledMapAggregatedFieldWells { + s.Values = v + return s +} + +// The conditional formatting of a FilledMapVisual. +type FilledMapConditionalFormatting struct { + _ struct{} `type:"structure"` + + // Conditional formatting options of a FilledMapVisual. + // + // ConditionalFormattingOptions is a required field + ConditionalFormattingOptions []*FilledMapConditionalFormattingOption `type:"list" required:"true"` +} + +// 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 FilledMapConditionalFormatting) 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 FilledMapConditionalFormatting) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FilledMapConditionalFormatting) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FilledMapConditionalFormatting"} + if s.ConditionalFormattingOptions == nil { + invalidParams.Add(request.NewErrParamRequired("ConditionalFormattingOptions")) + } + if s.ConditionalFormattingOptions != nil { + for i, v := range s.ConditionalFormattingOptions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ConditionalFormattingOptions", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetConditionalFormattingOptions sets the ConditionalFormattingOptions field's value. +func (s *FilledMapConditionalFormatting) SetConditionalFormattingOptions(v []*FilledMapConditionalFormattingOption) *FilledMapConditionalFormatting { + s.ConditionalFormattingOptions = v + return s +} + +// Conditional formatting options of a FilledMapVisual. +type FilledMapConditionalFormattingOption struct { + _ struct{} `type:"structure"` + + // The conditional formatting that determines the shape of the filled map. + // + // Shape is a required field + Shape *FilledMapShapeConditionalFormatting `type:"structure" required:"true"` +} + +// 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 FilledMapConditionalFormattingOption) 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 FilledMapConditionalFormattingOption) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FilledMapConditionalFormattingOption) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FilledMapConditionalFormattingOption"} + if s.Shape == nil { + invalidParams.Add(request.NewErrParamRequired("Shape")) + } + if s.Shape != nil { + if err := s.Shape.Validate(); err != nil { + invalidParams.AddNested("Shape", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetShape sets the Shape field's value. +func (s *FilledMapConditionalFormattingOption) SetShape(v *FilledMapShapeConditionalFormatting) *FilledMapConditionalFormattingOption { + s.Shape = v + return s +} + +// The configuration for a FilledMapVisual. +type FilledMapConfiguration struct { + _ struct{} `type:"structure"` + + // The field wells of the visual. + FieldWells *FilledMapFieldWells `type:"structure"` + + // The legend display setup of the visual. + Legend *LegendOptions `type:"structure"` + + // The map style options of the filled map visual. + MapStyleOptions *GeospatialMapStyleOptions `type:"structure"` + + // The sort configuration of a FilledMapVisual. + SortConfiguration *FilledMapSortConfiguration `type:"structure"` + + // The tooltip display setup of the visual. + Tooltip *TooltipOptions `type:"structure"` + + // The window options of the filled map visual. + WindowOptions *GeospatialWindowOptions `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 FilledMapConfiguration) 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 FilledMapConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FilledMapConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FilledMapConfiguration"} + if s.FieldWells != nil { + if err := s.FieldWells.Validate(); err != nil { + invalidParams.AddNested("FieldWells", err.(request.ErrInvalidParams)) + } + } + if s.SortConfiguration != nil { + if err := s.SortConfiguration.Validate(); err != nil { + invalidParams.AddNested("SortConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.Tooltip != nil { + if err := s.Tooltip.Validate(); err != nil { + invalidParams.AddNested("Tooltip", err.(request.ErrInvalidParams)) + } + } + if s.WindowOptions != nil { + if err := s.WindowOptions.Validate(); err != nil { + invalidParams.AddNested("WindowOptions", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFieldWells sets the FieldWells field's value. +func (s *FilledMapConfiguration) SetFieldWells(v *FilledMapFieldWells) *FilledMapConfiguration { + s.FieldWells = v + return s +} + +// SetLegend sets the Legend field's value. +func (s *FilledMapConfiguration) SetLegend(v *LegendOptions) *FilledMapConfiguration { + s.Legend = v + return s +} + +// SetMapStyleOptions sets the MapStyleOptions field's value. +func (s *FilledMapConfiguration) SetMapStyleOptions(v *GeospatialMapStyleOptions) *FilledMapConfiguration { + s.MapStyleOptions = v + return s +} + +// SetSortConfiguration sets the SortConfiguration field's value. +func (s *FilledMapConfiguration) SetSortConfiguration(v *FilledMapSortConfiguration) *FilledMapConfiguration { + s.SortConfiguration = v + return s +} + +// SetTooltip sets the Tooltip field's value. +func (s *FilledMapConfiguration) SetTooltip(v *TooltipOptions) *FilledMapConfiguration { + s.Tooltip = v + return s +} + +// SetWindowOptions sets the WindowOptions field's value. +func (s *FilledMapConfiguration) SetWindowOptions(v *GeospatialWindowOptions) *FilledMapConfiguration { + s.WindowOptions = v + return s +} + +// The field wells of a FilledMapVisual. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type FilledMapFieldWells struct { + _ struct{} `type:"structure"` + + // The aggregated field well of the filled map. + FilledMapAggregatedFieldWells *FilledMapAggregatedFieldWells `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 FilledMapFieldWells) 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 FilledMapFieldWells) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FilledMapFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FilledMapFieldWells"} + if s.FilledMapAggregatedFieldWells != nil { + if err := s.FilledMapAggregatedFieldWells.Validate(); err != nil { + invalidParams.AddNested("FilledMapAggregatedFieldWells", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFilledMapAggregatedFieldWells sets the FilledMapAggregatedFieldWells field's value. +func (s *FilledMapFieldWells) SetFilledMapAggregatedFieldWells(v *FilledMapAggregatedFieldWells) *FilledMapFieldWells { + s.FilledMapAggregatedFieldWells = v + return s +} + +// The conditional formatting that determines the shape of the filled map. +type FilledMapShapeConditionalFormatting struct { + _ struct{} `type:"structure"` + + // The field ID of the filled map shape. + // + // FieldId is a required field + FieldId *string `min:"1" type:"string" required:"true"` + + // The conditional formatting that determines the background color of a filled + // map's shape. + Format *ShapeConditionalFormat `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 FilledMapShapeConditionalFormatting) 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 FilledMapShapeConditionalFormatting) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FilledMapShapeConditionalFormatting) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FilledMapShapeConditionalFormatting"} + if s.FieldId == nil { + invalidParams.Add(request.NewErrParamRequired("FieldId")) + } + if s.FieldId != nil && len(*s.FieldId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FieldId", 1)) + } + if s.Format != nil { + if err := s.Format.Validate(); err != nil { + invalidParams.AddNested("Format", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFieldId sets the FieldId field's value. +func (s *FilledMapShapeConditionalFormatting) SetFieldId(v string) *FilledMapShapeConditionalFormatting { + s.FieldId = &v + return s +} + +// SetFormat sets the Format field's value. +func (s *FilledMapShapeConditionalFormatting) SetFormat(v *ShapeConditionalFormat) *FilledMapShapeConditionalFormatting { + s.Format = v + return s +} + +// The sort configuration of a FilledMapVisual. +type FilledMapSortConfiguration struct { + _ struct{} `type:"structure"` + + // The sort configuration of the location fields. + CategorySort []*FieldSortOptions `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 FilledMapSortConfiguration) 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 FilledMapSortConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FilledMapSortConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FilledMapSortConfiguration"} + if s.CategorySort != nil { + for i, v := range s.CategorySort { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CategorySort", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCategorySort sets the CategorySort field's value. +func (s *FilledMapSortConfiguration) SetCategorySort(v []*FieldSortOptions) *FilledMapSortConfiguration { + s.CategorySort = v + return s +} + +// A filled map. +// +// For more information, see Creating filled maps (https://docs.aws.amazon.com/quicksight/latest/user/filled-maps.html) +// in the Amazon QuickSight User Guide. +type FilledMapVisual struct { + _ struct{} `type:"structure"` + + // The list of custom actions that are configured for a visual. + Actions []*VisualCustomAction `type:"list"` + + // The configuration settings of the visual. + ChartConfiguration *FilledMapConfiguration `type:"structure"` + + // The column hierarchy that is used during drill-downs and drill-ups. + ColumnHierarchies []*ColumnHierarchy `type:"list"` + + // The conditional formatting of a FilledMapVisual. + ConditionalFormatting *FilledMapConditionalFormatting `type:"structure"` + + // The subtitle that is displayed on the visual. + Subtitle *VisualSubtitleLabelOptions `type:"structure"` + + // The title that is displayed on the visual. + Title *VisualTitleLabelOptions `type:"structure"` + + // The unique identifier of a visual. This identifier must be unique within + // the context of a dashboard, template, or analysis. Two dashboards, analyses, + // or templates can have visuals with the same identifiers.. + // + // VisualId is a required field + VisualId *string `min:"1" type:"string" required:"true"` +} + +// 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 FilledMapVisual) 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 FilledMapVisual) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FilledMapVisual) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FilledMapVisual"} + if s.VisualId == nil { + invalidParams.Add(request.NewErrParamRequired("VisualId")) + } + if s.VisualId != nil && len(*s.VisualId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("VisualId", 1)) + } + if s.Actions != nil { + for i, v := range s.Actions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Actions", i), err.(request.ErrInvalidParams)) + } + } + } + if s.ChartConfiguration != nil { + if err := s.ChartConfiguration.Validate(); err != nil { + invalidParams.AddNested("ChartConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.ColumnHierarchies != nil { + for i, v := range s.ColumnHierarchies { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnHierarchies", i), err.(request.ErrInvalidParams)) + } + } + } + if s.ConditionalFormatting != nil { + if err := s.ConditionalFormatting.Validate(); err != nil { + invalidParams.AddNested("ConditionalFormatting", err.(request.ErrInvalidParams)) + } + } + if s.Subtitle != nil { + if err := s.Subtitle.Validate(); err != nil { + invalidParams.AddNested("Subtitle", err.(request.ErrInvalidParams)) + } + } + if s.Title != nil { + if err := s.Title.Validate(); err != nil { + invalidParams.AddNested("Title", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetActions sets the Actions field's value. +func (s *FilledMapVisual) SetActions(v []*VisualCustomAction) *FilledMapVisual { + s.Actions = v + return s +} + +// SetChartConfiguration sets the ChartConfiguration field's value. +func (s *FilledMapVisual) SetChartConfiguration(v *FilledMapConfiguration) *FilledMapVisual { + s.ChartConfiguration = v + return s +} + +// SetColumnHierarchies sets the ColumnHierarchies field's value. +func (s *FilledMapVisual) SetColumnHierarchies(v []*ColumnHierarchy) *FilledMapVisual { + s.ColumnHierarchies = v + return s +} + +// SetConditionalFormatting sets the ConditionalFormatting field's value. +func (s *FilledMapVisual) SetConditionalFormatting(v *FilledMapConditionalFormatting) *FilledMapVisual { + s.ConditionalFormatting = v + return s +} + +// SetSubtitle sets the Subtitle field's value. +func (s *FilledMapVisual) SetSubtitle(v *VisualSubtitleLabelOptions) *FilledMapVisual { + s.Subtitle = v + return s +} + +// SetTitle sets the Title field's value. +func (s *FilledMapVisual) SetTitle(v *VisualTitleLabelOptions) *FilledMapVisual { + s.Title = v + return s +} + +// SetVisualId sets the VisualId field's value. +func (s *FilledMapVisual) SetVisualId(v string) *FilledMapVisual { + s.VisualId = &v + return s +} + +// With a Filter, you can remove portions of data from a particular visual or +// view. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type Filter struct { + _ struct{} `type:"structure"` + + // A CategoryFilter filters text values. + // + // For more information, see Adding text filters (https://docs.aws.amazon.com/quicksight/latest/user/add-a-text-filter-data-prep.html) + // in the Amazon QuickSight User Guide. + CategoryFilter *CategoryFilter `type:"structure"` + + // A NumericEqualityFilter filters numeric values that equal or do not equal + // a given numeric value. + NumericEqualityFilter *NumericEqualityFilter `type:"structure"` + + // A NumericRangeFilter filters numeric values that are either inside or outside + // a given numeric range. + NumericRangeFilter *NumericRangeFilter `type:"structure"` + + // A RelativeDatesFilter filters date values that are relative to a given date. + RelativeDatesFilter *RelativeDatesFilter `type:"structure"` + + // A TimeEqualityFilter filters date-time values that equal or do not equal + // a given date/time value. + TimeEqualityFilter *TimeEqualityFilter `type:"structure"` + + // A TimeRangeFilter filters date-time values that are either inside or outside + // a given date/time range. + TimeRangeFilter *TimeRangeFilter `type:"structure"` + + // A TopBottomFilter filters data to the top or bottom values for a given column. + TopBottomFilter *TopBottomFilter `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 Filter) 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 Filter) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *Filter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Filter"} + if s.CategoryFilter != nil { + if err := s.CategoryFilter.Validate(); err != nil { + invalidParams.AddNested("CategoryFilter", err.(request.ErrInvalidParams)) + } + } + if s.NumericEqualityFilter != nil { + if err := s.NumericEqualityFilter.Validate(); err != nil { + invalidParams.AddNested("NumericEqualityFilter", err.(request.ErrInvalidParams)) + } + } + if s.NumericRangeFilter != nil { + if err := s.NumericRangeFilter.Validate(); err != nil { + invalidParams.AddNested("NumericRangeFilter", err.(request.ErrInvalidParams)) + } + } + if s.RelativeDatesFilter != nil { + if err := s.RelativeDatesFilter.Validate(); err != nil { + invalidParams.AddNested("RelativeDatesFilter", err.(request.ErrInvalidParams)) + } + } + if s.TimeEqualityFilter != nil { + if err := s.TimeEqualityFilter.Validate(); err != nil { + invalidParams.AddNested("TimeEqualityFilter", err.(request.ErrInvalidParams)) + } + } + if s.TimeRangeFilter != nil { + if err := s.TimeRangeFilter.Validate(); err != nil { + invalidParams.AddNested("TimeRangeFilter", err.(request.ErrInvalidParams)) + } + } + if s.TopBottomFilter != nil { + if err := s.TopBottomFilter.Validate(); err != nil { + invalidParams.AddNested("TopBottomFilter", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCategoryFilter sets the CategoryFilter field's value. +func (s *Filter) SetCategoryFilter(v *CategoryFilter) *Filter { + s.CategoryFilter = v + return s +} + +// SetNumericEqualityFilter sets the NumericEqualityFilter field's value. +func (s *Filter) SetNumericEqualityFilter(v *NumericEqualityFilter) *Filter { + s.NumericEqualityFilter = v + return s +} + +// SetNumericRangeFilter sets the NumericRangeFilter field's value. +func (s *Filter) SetNumericRangeFilter(v *NumericRangeFilter) *Filter { + s.NumericRangeFilter = v + return s +} + +// SetRelativeDatesFilter sets the RelativeDatesFilter field's value. +func (s *Filter) SetRelativeDatesFilter(v *RelativeDatesFilter) *Filter { + s.RelativeDatesFilter = v + return s +} + +// SetTimeEqualityFilter sets the TimeEqualityFilter field's value. +func (s *Filter) SetTimeEqualityFilter(v *TimeEqualityFilter) *Filter { + s.TimeEqualityFilter = v + return s +} + +// SetTimeRangeFilter sets the TimeRangeFilter field's value. +func (s *Filter) SetTimeRangeFilter(v *TimeRangeFilter) *Filter { + s.TimeRangeFilter = v + return s +} + +// SetTopBottomFilter sets the TopBottomFilter field's value. +func (s *Filter) SetTopBottomFilter(v *TopBottomFilter) *Filter { + s.TopBottomFilter = v + return s +} + +// The control of a filter that is used to interact with a dashboard or an analysis. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type FilterControl struct { + _ struct{} `type:"structure"` + + // A control from a date filter that is used to specify date and time. + DateTimePicker *FilterDateTimePickerControl `type:"structure"` + + // A control to display a dropdown list with buttons that are used to select + // a single value. + Dropdown *FilterDropDownControl `type:"structure"` + + // A control to display a list of buttons or boxes. This is used to select either + // a single value or multiple values. + List *FilterListControl `type:"structure"` + + // A control from a date filter that is used to specify the relative date. + RelativeDateTime *FilterRelativeDateTimeControl `type:"structure"` + + // A control to display a horizontal toggle bar. This is used to change a value + // by sliding the toggle. + Slider *FilterSliderControl `type:"structure"` + + // A control to display a text box that is used to enter multiple entries. + TextArea *FilterTextAreaControl `type:"structure"` + + // A control to display a text box that is used to enter a single entry. + TextField *FilterTextFieldControl `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 FilterControl) 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 FilterControl) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FilterControl) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FilterControl"} + if s.DateTimePicker != nil { + if err := s.DateTimePicker.Validate(); err != nil { + invalidParams.AddNested("DateTimePicker", err.(request.ErrInvalidParams)) + } + } + if s.Dropdown != nil { + if err := s.Dropdown.Validate(); err != nil { + invalidParams.AddNested("Dropdown", err.(request.ErrInvalidParams)) + } + } + if s.List != nil { + if err := s.List.Validate(); err != nil { + invalidParams.AddNested("List", err.(request.ErrInvalidParams)) + } + } + if s.RelativeDateTime != nil { + if err := s.RelativeDateTime.Validate(); err != nil { + invalidParams.AddNested("RelativeDateTime", err.(request.ErrInvalidParams)) + } + } + if s.Slider != nil { + if err := s.Slider.Validate(); err != nil { + invalidParams.AddNested("Slider", err.(request.ErrInvalidParams)) + } + } + if s.TextArea != nil { + if err := s.TextArea.Validate(); err != nil { + invalidParams.AddNested("TextArea", err.(request.ErrInvalidParams)) + } + } + if s.TextField != nil { + if err := s.TextField.Validate(); err != nil { + invalidParams.AddNested("TextField", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDateTimePicker sets the DateTimePicker field's value. +func (s *FilterControl) SetDateTimePicker(v *FilterDateTimePickerControl) *FilterControl { + s.DateTimePicker = v + return s +} + +// SetDropdown sets the Dropdown field's value. +func (s *FilterControl) SetDropdown(v *FilterDropDownControl) *FilterControl { + s.Dropdown = v + return s +} + +// SetList sets the List field's value. +func (s *FilterControl) SetList(v *FilterListControl) *FilterControl { + s.List = v + return s +} + +// SetRelativeDateTime sets the RelativeDateTime field's value. +func (s *FilterControl) SetRelativeDateTime(v *FilterRelativeDateTimeControl) *FilterControl { + s.RelativeDateTime = v + return s +} + +// SetSlider sets the Slider field's value. +func (s *FilterControl) SetSlider(v *FilterSliderControl) *FilterControl { + s.Slider = v + return s +} + +// SetTextArea sets the TextArea field's value. +func (s *FilterControl) SetTextArea(v *FilterTextAreaControl) *FilterControl { + s.TextArea = v + return s +} + +// SetTextField sets the TextField field's value. +func (s *FilterControl) SetTextField(v *FilterTextFieldControl) *FilterControl { + s.TextField = v + return s +} + +// A control from a date filter that is used to specify date and time. +type FilterDateTimePickerControl struct { + _ struct{} `type:"structure"` + + // The display options of a control. + DisplayOptions *DateTimePickerControlDisplayOptions `type:"structure"` + + // The ID of the FilterDateTimePickerControl. + // + // FilterControlId is a required field + FilterControlId *string `min:"1" type:"string" required:"true"` + + // The source filter ID of the FilterDateTimePickerControl. + // + // SourceFilterId is a required field + SourceFilterId *string `min:"1" type:"string" required:"true"` + + // The title of the FilterDateTimePickerControl. + // + // Title is a required field + Title *string `min:"1" type:"string" required:"true"` + + // The date time picker type of a FilterDateTimePickerControl. Choose one of + // the following options: + // + // * SINGLE_VALUED: The filter condition is a fixed date. + // + // * DATE_RANGE: The filter condition is a date time range. + Type *string `type:"string" enum:"SheetControlDateTimePickerType"` +} + +// 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 FilterDateTimePickerControl) 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 FilterDateTimePickerControl) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FilterDateTimePickerControl) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FilterDateTimePickerControl"} + if s.FilterControlId == nil { + invalidParams.Add(request.NewErrParamRequired("FilterControlId")) + } + if s.FilterControlId != nil && len(*s.FilterControlId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FilterControlId", 1)) + } + if s.SourceFilterId == nil { + invalidParams.Add(request.NewErrParamRequired("SourceFilterId")) + } + if s.SourceFilterId != nil && len(*s.SourceFilterId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SourceFilterId", 1)) + } + if s.Title == nil { + invalidParams.Add(request.NewErrParamRequired("Title")) + } + if s.Title != nil && len(*s.Title) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Title", 1)) + } + if s.DisplayOptions != nil { + if err := s.DisplayOptions.Validate(); err != nil { + invalidParams.AddNested("DisplayOptions", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDisplayOptions sets the DisplayOptions field's value. +func (s *FilterDateTimePickerControl) SetDisplayOptions(v *DateTimePickerControlDisplayOptions) *FilterDateTimePickerControl { + s.DisplayOptions = v + return s +} + +// SetFilterControlId sets the FilterControlId field's value. +func (s *FilterDateTimePickerControl) SetFilterControlId(v string) *FilterDateTimePickerControl { + s.FilterControlId = &v + return s +} + +// SetSourceFilterId sets the SourceFilterId field's value. +func (s *FilterDateTimePickerControl) SetSourceFilterId(v string) *FilterDateTimePickerControl { + s.SourceFilterId = &v + return s +} + +// SetTitle sets the Title field's value. +func (s *FilterDateTimePickerControl) SetTitle(v string) *FilterDateTimePickerControl { + s.Title = &v + return s +} + +// SetType sets the Type field's value. +func (s *FilterDateTimePickerControl) SetType(v string) *FilterDateTimePickerControl { + s.Type = &v + return s +} + +// A control to display a dropdown list with buttons that are used to select +// a single value. +type FilterDropDownControl struct { + _ struct{} `type:"structure"` + + // The values that are displayed in a control can be configured to only show + // values that are valid based on what's selected in other controls. + CascadingControlConfiguration *CascadingControlConfiguration `type:"structure"` + + // The display options of the FilterDropDownControl. + DisplayOptions *DropDownControlDisplayOptions `type:"structure"` + + // The ID of the FilterDropDownControl. + // + // FilterControlId is a required field + FilterControlId *string `min:"1" type:"string" required:"true"` + + // A list of selectable values that are used in a control. + SelectableValues *FilterSelectableValues `type:"structure"` + + // The source filter ID of the FilterDropDownControl. + // + // SourceFilterId is a required field + SourceFilterId *string `min:"1" type:"string" required:"true"` + + // The title of the FilterDropDownControl. + // + // Title is a required field + Title *string `min:"1" type:"string" required:"true"` + + // The type of the FilterDropDownControl. Choose one of the following options: + // + // * MULTI_SELECT: The user can select multiple entries from a dropdown menu. + // + // * SINGLE_SELECT: The user can select a single entry from a dropdown menu. + Type *string `type:"string" enum:"SheetControlListType"` +} + +// 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 FilterDropDownControl) 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 FilterDropDownControl) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FilterDropDownControl) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FilterDropDownControl"} + if s.FilterControlId == nil { + invalidParams.Add(request.NewErrParamRequired("FilterControlId")) + } + if s.FilterControlId != nil && len(*s.FilterControlId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FilterControlId", 1)) + } + if s.SourceFilterId == nil { + invalidParams.Add(request.NewErrParamRequired("SourceFilterId")) + } + if s.SourceFilterId != nil && len(*s.SourceFilterId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SourceFilterId", 1)) + } + if s.Title == nil { + invalidParams.Add(request.NewErrParamRequired("Title")) + } + if s.Title != nil && len(*s.Title) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Title", 1)) + } + if s.CascadingControlConfiguration != nil { + if err := s.CascadingControlConfiguration.Validate(); err != nil { + invalidParams.AddNested("CascadingControlConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCascadingControlConfiguration sets the CascadingControlConfiguration field's value. +func (s *FilterDropDownControl) SetCascadingControlConfiguration(v *CascadingControlConfiguration) *FilterDropDownControl { + s.CascadingControlConfiguration = v + return s +} + +// SetDisplayOptions sets the DisplayOptions field's value. +func (s *FilterDropDownControl) SetDisplayOptions(v *DropDownControlDisplayOptions) *FilterDropDownControl { + s.DisplayOptions = v + return s +} + +// SetFilterControlId sets the FilterControlId field's value. +func (s *FilterDropDownControl) SetFilterControlId(v string) *FilterDropDownControl { + s.FilterControlId = &v + return s +} + +// SetSelectableValues sets the SelectableValues field's value. +func (s *FilterDropDownControl) SetSelectableValues(v *FilterSelectableValues) *FilterDropDownControl { + s.SelectableValues = v + return s +} + +// SetSourceFilterId sets the SourceFilterId field's value. +func (s *FilterDropDownControl) SetSourceFilterId(v string) *FilterDropDownControl { + s.SourceFilterId = &v + return s +} + +// SetTitle sets the Title field's value. +func (s *FilterDropDownControl) SetTitle(v string) *FilterDropDownControl { + s.Title = &v + return s +} + +// SetType sets the Type field's value. +func (s *FilterDropDownControl) SetType(v string) *FilterDropDownControl { + s.Type = &v + return s +} + +// A grouping of individual filters. Filter groups are applied to the same group +// of visuals. +// +// For more information, see Adding filter conditions (group filters) with AND +// and OR operators (https://docs.aws.amazon.com/quicksight/latest/user/add-a-compound-filter.html) +// in the Amazon QuickSight User Guide. +type FilterGroup struct { + _ struct{} `type:"structure"` + + // The filter new feature which can apply filter group to all data sets. Choose + // one of the following options: + // + // * ALL_DATASETS + // + // * SINGLE_DATASET + // + // CrossDataset is a required field + CrossDataset *string `type:"string" required:"true" enum:"CrossDatasetTypes"` + + // The value that uniquely identifies a FilterGroup within a dashboard, template, + // or analysis. + // + // FilterGroupId is a required field + FilterGroupId *string `min:"1" type:"string" required:"true"` + + // The list of filters that are present in a FilterGroup. + // + // Filters is a required field + Filters []*Filter `type:"list" required:"true"` + + // The configuration that specifies what scope to apply to a FilterGroup. + // + // This is a union type structure. For this structure to be valid, only one + // of the attributes can be defined. + // + // ScopeConfiguration is a required field + ScopeConfiguration *FilterScopeConfiguration `type:"structure" required:"true"` + + // The status of the FilterGroup. + Status *string `type:"string" enum:"WidgetStatus"` +} + +// 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 FilterGroup) 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 FilterGroup) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FilterGroup) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FilterGroup"} + if s.CrossDataset == nil { + invalidParams.Add(request.NewErrParamRequired("CrossDataset")) + } + if s.FilterGroupId == nil { + invalidParams.Add(request.NewErrParamRequired("FilterGroupId")) + } + if s.FilterGroupId != nil && len(*s.FilterGroupId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FilterGroupId", 1)) + } + if s.Filters == nil { + invalidParams.Add(request.NewErrParamRequired("Filters")) + } + if s.ScopeConfiguration == nil { + invalidParams.Add(request.NewErrParamRequired("ScopeConfiguration")) + } + if s.Filters != nil { + for i, v := range s.Filters { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams)) + } + } + } + if s.ScopeConfiguration != nil { + if err := s.ScopeConfiguration.Validate(); err != nil { + invalidParams.AddNested("ScopeConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCrossDataset sets the CrossDataset field's value. +func (s *FilterGroup) SetCrossDataset(v string) *FilterGroup { + s.CrossDataset = &v + return s +} + +// SetFilterGroupId sets the FilterGroupId field's value. +func (s *FilterGroup) SetFilterGroupId(v string) *FilterGroup { + s.FilterGroupId = &v + return s +} + +// SetFilters sets the Filters field's value. +func (s *FilterGroup) SetFilters(v []*Filter) *FilterGroup { + s.Filters = v + return s +} + +// SetScopeConfiguration sets the ScopeConfiguration field's value. +func (s *FilterGroup) SetScopeConfiguration(v *FilterScopeConfiguration) *FilterGroup { + s.ScopeConfiguration = v + return s +} + +// SetStatus sets the Status field's value. +func (s *FilterGroup) SetStatus(v string) *FilterGroup { + s.Status = &v + return s +} + +// A list of filter configurations. +type FilterListConfiguration struct { + _ struct{} `type:"structure"` + + // The list of category values for the filter. + CategoryValues []*string `type:"list"` + + // The match operator that is used to determine if a filter should be applied. + // + // MatchOperator is a required field + MatchOperator *string `type:"string" required:"true" enum:"CategoryFilterMatchOperator"` + + // Select all of the values. Null is not the assigned value of select all. + // + // * FILTER_ALL_VALUES + SelectAllOptions *string `type:"string" enum:"CategoryFilterSelectAllOptions"` +} + +// 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 FilterListConfiguration) 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 FilterListConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FilterListConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FilterListConfiguration"} + if s.MatchOperator == nil { + invalidParams.Add(request.NewErrParamRequired("MatchOperator")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCategoryValues sets the CategoryValues field's value. +func (s *FilterListConfiguration) SetCategoryValues(v []*string) *FilterListConfiguration { + s.CategoryValues = v + return s +} + +// SetMatchOperator sets the MatchOperator field's value. +func (s *FilterListConfiguration) SetMatchOperator(v string) *FilterListConfiguration { + s.MatchOperator = &v + return s +} + +// SetSelectAllOptions sets the SelectAllOptions field's value. +func (s *FilterListConfiguration) SetSelectAllOptions(v string) *FilterListConfiguration { + s.SelectAllOptions = &v + return s +} + +// A control to display a list of buttons or boxes. This is used to select either +// a single value or multiple values. +type FilterListControl struct { + _ struct{} `type:"structure"` + + // The values that are displayed in a control can be configured to only show + // values that are valid based on what's selected in other controls. + CascadingControlConfiguration *CascadingControlConfiguration `type:"structure"` + + // The display options of a control. + DisplayOptions *ListControlDisplayOptions `type:"structure"` + + // The ID of the FilterListControl. + // + // FilterControlId is a required field + FilterControlId *string `min:"1" type:"string" required:"true"` + + // A list of selectable values that are used in a control. + SelectableValues *FilterSelectableValues `type:"structure"` + + // The source filter ID of the FilterListControl. + // + // SourceFilterId is a required field + SourceFilterId *string `min:"1" type:"string" required:"true"` + + // The title of the FilterListControl. + // + // Title is a required field + Title *string `min:"1" type:"string" required:"true"` + + // The type of FilterListControl. Choose one of the following options: + // + // * MULTI_SELECT: The user can select multiple entries from the list. + // + // * SINGLE_SELECT: The user can select a single entry from the list. + Type *string `type:"string" enum:"SheetControlListType"` +} + +// 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 FilterListControl) 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 FilterListControl) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FilterListControl) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FilterListControl"} + if s.FilterControlId == nil { + invalidParams.Add(request.NewErrParamRequired("FilterControlId")) + } + if s.FilterControlId != nil && len(*s.FilterControlId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FilterControlId", 1)) + } + if s.SourceFilterId == nil { + invalidParams.Add(request.NewErrParamRequired("SourceFilterId")) + } + if s.SourceFilterId != nil && len(*s.SourceFilterId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SourceFilterId", 1)) + } + if s.Title == nil { + invalidParams.Add(request.NewErrParamRequired("Title")) + } + if s.Title != nil && len(*s.Title) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Title", 1)) + } + if s.CascadingControlConfiguration != nil { + if err := s.CascadingControlConfiguration.Validate(); err != nil { + invalidParams.AddNested("CascadingControlConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCascadingControlConfiguration sets the CascadingControlConfiguration field's value. +func (s *FilterListControl) SetCascadingControlConfiguration(v *CascadingControlConfiguration) *FilterListControl { + s.CascadingControlConfiguration = v + return s +} + +// SetDisplayOptions sets the DisplayOptions field's value. +func (s *FilterListControl) SetDisplayOptions(v *ListControlDisplayOptions) *FilterListControl { + s.DisplayOptions = v + return s +} + +// SetFilterControlId sets the FilterControlId field's value. +func (s *FilterListControl) SetFilterControlId(v string) *FilterListControl { + s.FilterControlId = &v + return s +} + +// SetSelectableValues sets the SelectableValues field's value. +func (s *FilterListControl) SetSelectableValues(v *FilterSelectableValues) *FilterListControl { + s.SelectableValues = v + return s +} + +// SetSourceFilterId sets the SourceFilterId field's value. +func (s *FilterListControl) SetSourceFilterId(v string) *FilterListControl { + s.SourceFilterId = &v + return s +} + +// SetTitle sets the Title field's value. +func (s *FilterListControl) SetTitle(v string) *FilterListControl { + s.Title = &v + return s +} + +// SetType sets the Type field's value. +func (s *FilterListControl) SetType(v string) *FilterListControl { + s.Type = &v + return s +} + +// A transform operation that filters rows based on a condition. +type FilterOperation struct { + _ struct{} `type:"structure"` + + // An expression that must evaluate to a Boolean value. Rows for which the expression + // evaluates to true are kept in the dataset. + // + // ConditionExpression is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by FilterOperation's + // String and GoString methods. + // + // ConditionExpression is a required field + ConditionExpression *string `min:"1" type:"string" required:"true" sensitive:"true"` +} + +// 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 FilterOperation) 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 FilterOperation) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FilterOperation) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FilterOperation"} + if s.ConditionExpression == nil { + invalidParams.Add(request.NewErrParamRequired("ConditionExpression")) + } + if s.ConditionExpression != nil && len(*s.ConditionExpression) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ConditionExpression", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetConditionExpression sets the ConditionExpression field's value. +func (s *FilterOperation) SetConditionExpression(v string) *FilterOperation { + s.ConditionExpression = &v + return s +} + +// The configuration of selected fields in theCustomActionFilterOperation. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type FilterOperationSelectedFieldsConfiguration struct { + _ struct{} `type:"structure"` + + // A structure that contains the options that choose which fields are filtered + // in the CustomActionFilterOperation. + // + // Valid values are defined as follows: + // + // * ALL_FIELDS: Applies the filter operation to all fields. + SelectedFieldOptions *string `type:"string" enum:"SelectedFieldOptions"` + + // Chooses the fields that are filtered in CustomActionFilterOperation. + SelectedFields []*string `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 FilterOperationSelectedFieldsConfiguration) 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 FilterOperationSelectedFieldsConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FilterOperationSelectedFieldsConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FilterOperationSelectedFieldsConfiguration"} + if s.SelectedFields != nil && len(s.SelectedFields) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SelectedFields", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetSelectedFieldOptions sets the SelectedFieldOptions field's value. +func (s *FilterOperationSelectedFieldsConfiguration) SetSelectedFieldOptions(v string) *FilterOperationSelectedFieldsConfiguration { + s.SelectedFieldOptions = &v + return s +} + +// SetSelectedFields sets the SelectedFields field's value. +func (s *FilterOperationSelectedFieldsConfiguration) SetSelectedFields(v []*string) *FilterOperationSelectedFieldsConfiguration { + s.SelectedFields = v + return s +} + +// The configuration of target visuals that you want to be filtered. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type FilterOperationTargetVisualsConfiguration struct { + _ struct{} `type:"structure"` + + // The configuration of the same-sheet target visuals that you want to be filtered. + SameSheetTargetVisualConfiguration *SameSheetTargetVisualConfiguration `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 FilterOperationTargetVisualsConfiguration) 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 FilterOperationTargetVisualsConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FilterOperationTargetVisualsConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FilterOperationTargetVisualsConfiguration"} + if s.SameSheetTargetVisualConfiguration != nil { + if err := s.SameSheetTargetVisualConfiguration.Validate(); err != nil { + invalidParams.AddNested("SameSheetTargetVisualConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetSameSheetTargetVisualConfiguration sets the SameSheetTargetVisualConfiguration field's value. +func (s *FilterOperationTargetVisualsConfiguration) SetSameSheetTargetVisualConfiguration(v *SameSheetTargetVisualConfiguration) *FilterOperationTargetVisualsConfiguration { + s.SameSheetTargetVisualConfiguration = v + return s +} + +// A control from a date filter that is used to specify the relative date. +type FilterRelativeDateTimeControl struct { + _ struct{} `type:"structure"` + + // The display options of a control. + DisplayOptions *RelativeDateTimeControlDisplayOptions `type:"structure"` + + // The ID of the FilterTextAreaControl. + // + // FilterControlId is a required field + FilterControlId *string `min:"1" type:"string" required:"true"` + + // The source filter ID of the FilterTextAreaControl. + // + // SourceFilterId is a required field + SourceFilterId *string `min:"1" type:"string" required:"true"` + + // The title of the FilterTextAreaControl. + // + // Title is a required field + Title *string `min:"1" type:"string" required:"true"` +} + +// 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 FilterRelativeDateTimeControl) 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 FilterRelativeDateTimeControl) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FilterRelativeDateTimeControl) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FilterRelativeDateTimeControl"} + if s.FilterControlId == nil { + invalidParams.Add(request.NewErrParamRequired("FilterControlId")) + } + if s.FilterControlId != nil && len(*s.FilterControlId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FilterControlId", 1)) + } + if s.SourceFilterId == nil { + invalidParams.Add(request.NewErrParamRequired("SourceFilterId")) + } + if s.SourceFilterId != nil && len(*s.SourceFilterId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SourceFilterId", 1)) + } + if s.Title == nil { + invalidParams.Add(request.NewErrParamRequired("Title")) + } + if s.Title != nil && len(*s.Title) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Title", 1)) + } + if s.DisplayOptions != nil { + if err := s.DisplayOptions.Validate(); err != nil { + invalidParams.AddNested("DisplayOptions", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDisplayOptions sets the DisplayOptions field's value. +func (s *FilterRelativeDateTimeControl) SetDisplayOptions(v *RelativeDateTimeControlDisplayOptions) *FilterRelativeDateTimeControl { + s.DisplayOptions = v + return s +} + +// SetFilterControlId sets the FilterControlId field's value. +func (s *FilterRelativeDateTimeControl) SetFilterControlId(v string) *FilterRelativeDateTimeControl { + s.FilterControlId = &v + return s +} + +// SetSourceFilterId sets the SourceFilterId field's value. +func (s *FilterRelativeDateTimeControl) SetSourceFilterId(v string) *FilterRelativeDateTimeControl { + s.SourceFilterId = &v + return s +} + +// SetTitle sets the Title field's value. +func (s *FilterRelativeDateTimeControl) SetTitle(v string) *FilterRelativeDateTimeControl { + s.Title = &v + return s +} + +// The scope configuration for a FilterGroup. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type FilterScopeConfiguration struct { + _ struct{} `type:"structure"` + + // The configuration for applying a filter to specific sheets. + SelectedSheets *SelectedSheetsFilterScopeConfiguration `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 FilterScopeConfiguration) 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 FilterScopeConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FilterScopeConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FilterScopeConfiguration"} + if s.SelectedSheets != nil { + if err := s.SelectedSheets.Validate(); err != nil { + invalidParams.AddNested("SelectedSheets", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetSelectedSheets sets the SelectedSheets field's value. +func (s *FilterScopeConfiguration) SetSelectedSheets(v *SelectedSheetsFilterScopeConfiguration) *FilterScopeConfiguration { + s.SelectedSheets = v + return s +} + +// A list of selectable values that are used in a control. +type FilterSelectableValues struct { + _ struct{} `type:"structure"` + + // The values that are used in the FilterSelectableValues. + Values []*string `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 FilterSelectableValues) 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 FilterSelectableValues) GoString() string { + return s.String() +} + +// SetValues sets the Values field's value. +func (s *FilterSelectableValues) SetValues(v []*string) *FilterSelectableValues { + s.Values = v + return s +} + +// A control to display a horizontal toggle bar. This is used to change a value +// by sliding the toggle. +type FilterSliderControl struct { + _ struct{} `type:"structure"` + + // The display options of a control. + DisplayOptions *SliderControlDisplayOptions `type:"structure"` + + // The ID of the FilterSliderControl. + // + // FilterControlId is a required field + FilterControlId *string `min:"1" type:"string" required:"true"` + + // The smaller value that is displayed at the left of the slider. + // + // MaximumValue is a required field + MaximumValue *float64 `type:"double" required:"true"` + + // The larger value that is displayed at the right of the slider. + // + // MinimumValue is a required field + MinimumValue *float64 `type:"double" required:"true"` + + // The source filter ID of the FilterSliderControl. + // + // SourceFilterId is a required field + SourceFilterId *string `min:"1" type:"string" required:"true"` + + // The number of increments that the slider bar is divided into. + // + // StepSize is a required field + StepSize *float64 `type:"double" required:"true"` + + // The title of the FilterSliderControl. + // + // Title is a required field + Title *string `min:"1" type:"string" required:"true"` + + // The type of FilterSliderControl. Choose one of the following options: + // + // * SINGLE_POINT: Filter against(equals) a single data point. + // + // * RANGE: Filter data that is in a specified range. + Type *string `type:"string" enum:"SheetControlSliderType"` +} + +// 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 FilterSliderControl) 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 FilterSliderControl) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FilterSliderControl) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FilterSliderControl"} + if s.FilterControlId == nil { + invalidParams.Add(request.NewErrParamRequired("FilterControlId")) + } + if s.FilterControlId != nil && len(*s.FilterControlId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FilterControlId", 1)) + } + if s.MaximumValue == nil { + invalidParams.Add(request.NewErrParamRequired("MaximumValue")) + } + if s.MinimumValue == nil { + invalidParams.Add(request.NewErrParamRequired("MinimumValue")) + } + if s.SourceFilterId == nil { + invalidParams.Add(request.NewErrParamRequired("SourceFilterId")) + } + if s.SourceFilterId != nil && len(*s.SourceFilterId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SourceFilterId", 1)) + } + if s.StepSize == nil { + invalidParams.Add(request.NewErrParamRequired("StepSize")) + } + if s.Title == nil { + invalidParams.Add(request.NewErrParamRequired("Title")) + } + if s.Title != nil && len(*s.Title) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Title", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDisplayOptions sets the DisplayOptions field's value. +func (s *FilterSliderControl) SetDisplayOptions(v *SliderControlDisplayOptions) *FilterSliderControl { + s.DisplayOptions = v + return s +} + +// SetFilterControlId sets the FilterControlId field's value. +func (s *FilterSliderControl) SetFilterControlId(v string) *FilterSliderControl { + s.FilterControlId = &v + return s +} + +// SetMaximumValue sets the MaximumValue field's value. +func (s *FilterSliderControl) SetMaximumValue(v float64) *FilterSliderControl { + s.MaximumValue = &v + return s +} + +// SetMinimumValue sets the MinimumValue field's value. +func (s *FilterSliderControl) SetMinimumValue(v float64) *FilterSliderControl { + s.MinimumValue = &v + return s +} + +// SetSourceFilterId sets the SourceFilterId field's value. +func (s *FilterSliderControl) SetSourceFilterId(v string) *FilterSliderControl { + s.SourceFilterId = &v + return s +} + +// SetStepSize sets the StepSize field's value. +func (s *FilterSliderControl) SetStepSize(v float64) *FilterSliderControl { + s.StepSize = &v + return s +} + +// SetTitle sets the Title field's value. +func (s *FilterSliderControl) SetTitle(v string) *FilterSliderControl { + s.Title = &v + return s +} + +// SetType sets the Type field's value. +func (s *FilterSliderControl) SetType(v string) *FilterSliderControl { + s.Type = &v + return s +} + +// A control to display a text box that is used to enter multiple entries. +type FilterTextAreaControl struct { + _ struct{} `type:"structure"` + + // The delimiter that is used to separate the lines in text. + Delimiter *string `min:"1" type:"string"` + + // The display options of a control. + DisplayOptions *TextAreaControlDisplayOptions `type:"structure"` + + // The ID of the FilterTextAreaControl. + // + // FilterControlId is a required field + FilterControlId *string `min:"1" type:"string" required:"true"` + + // The source filter ID of the FilterTextAreaControl. + // + // SourceFilterId is a required field + SourceFilterId *string `min:"1" type:"string" required:"true"` + + // The title of the FilterTextAreaControl. + // + // Title is a required field + Title *string `min:"1" type:"string" required:"true"` +} + +// 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 FilterTextAreaControl) 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 FilterTextAreaControl) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FilterTextAreaControl) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FilterTextAreaControl"} + if s.Delimiter != nil && len(*s.Delimiter) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Delimiter", 1)) + } + if s.FilterControlId == nil { + invalidParams.Add(request.NewErrParamRequired("FilterControlId")) + } + if s.FilterControlId != nil && len(*s.FilterControlId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FilterControlId", 1)) + } + if s.SourceFilterId == nil { + invalidParams.Add(request.NewErrParamRequired("SourceFilterId")) + } + if s.SourceFilterId != nil && len(*s.SourceFilterId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SourceFilterId", 1)) + } + if s.Title == nil { + invalidParams.Add(request.NewErrParamRequired("Title")) + } + if s.Title != nil && len(*s.Title) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Title", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDelimiter sets the Delimiter field's value. +func (s *FilterTextAreaControl) SetDelimiter(v string) *FilterTextAreaControl { + s.Delimiter = &v + return s +} + +// SetDisplayOptions sets the DisplayOptions field's value. +func (s *FilterTextAreaControl) SetDisplayOptions(v *TextAreaControlDisplayOptions) *FilterTextAreaControl { + s.DisplayOptions = v + return s +} + +// SetFilterControlId sets the FilterControlId field's value. +func (s *FilterTextAreaControl) SetFilterControlId(v string) *FilterTextAreaControl { + s.FilterControlId = &v + return s +} + +// SetSourceFilterId sets the SourceFilterId field's value. +func (s *FilterTextAreaControl) SetSourceFilterId(v string) *FilterTextAreaControl { + s.SourceFilterId = &v + return s +} + +// SetTitle sets the Title field's value. +func (s *FilterTextAreaControl) SetTitle(v string) *FilterTextAreaControl { + s.Title = &v + return s +} + +// A control to display a text box that is used to enter a single entry. +type FilterTextFieldControl struct { + _ struct{} `type:"structure"` + + // The display options of a control. + DisplayOptions *TextFieldControlDisplayOptions `type:"structure"` + + // The ID of the FilterTextFieldControl. + // + // FilterControlId is a required field + FilterControlId *string `min:"1" type:"string" required:"true"` + + // The source filter ID of the FilterTextFieldControl. + // + // SourceFilterId is a required field + SourceFilterId *string `min:"1" type:"string" required:"true"` + + // The title of the FilterTextFieldControl. + // + // Title is a required field + Title *string `min:"1" type:"string" required:"true"` +} + +// 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 FilterTextFieldControl) 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 FilterTextFieldControl) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FilterTextFieldControl) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FilterTextFieldControl"} + if s.FilterControlId == nil { + invalidParams.Add(request.NewErrParamRequired("FilterControlId")) + } + if s.FilterControlId != nil && len(*s.FilterControlId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FilterControlId", 1)) + } + if s.SourceFilterId == nil { + invalidParams.Add(request.NewErrParamRequired("SourceFilterId")) + } + if s.SourceFilterId != nil && len(*s.SourceFilterId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SourceFilterId", 1)) + } + if s.Title == nil { + invalidParams.Add(request.NewErrParamRequired("Title")) + } + if s.Title != nil && len(*s.Title) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Title", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDisplayOptions sets the DisplayOptions field's value. +func (s *FilterTextFieldControl) SetDisplayOptions(v *TextFieldControlDisplayOptions) *FilterTextFieldControl { + s.DisplayOptions = v + return s +} + +// SetFilterControlId sets the FilterControlId field's value. +func (s *FilterTextFieldControl) SetFilterControlId(v string) *FilterTextFieldControl { + s.FilterControlId = &v + return s +} + +// SetSourceFilterId sets the SourceFilterId field's value. +func (s *FilterTextFieldControl) SetSourceFilterId(v string) *FilterTextFieldControl { + s.SourceFilterId = &v + return s +} + +// SetTitle sets the Title field's value. +func (s *FilterTextFieldControl) SetTitle(v string) *FilterTextFieldControl { + s.Title = &v + return s +} + +// A folder in Amazon QuickSight. +type Folder struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) for the folder. + Arn *string `type:"string"` + + // The time that the folder was created. + CreatedTime *time.Time `type:"timestamp"` + + // The ID of the folder. + FolderId *string `min:"1" type:"string"` + + // An array of ancestor ARN strings for the folder. + FolderPath []*string `min:"1" type:"list"` + + // The type of folder it is. + FolderType *string `type:"string" enum:"FolderType"` + + // The time that the folder was last updated. + LastUpdatedTime *time.Time `type:"timestamp"` + + // A display name for the folder. + Name *string `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 Folder) 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 Folder) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *Folder) SetArn(v string) *Folder { + s.Arn = &v + return s +} + +// SetCreatedTime sets the CreatedTime field's value. +func (s *Folder) SetCreatedTime(v time.Time) *Folder { + s.CreatedTime = &v + return s +} + +// SetFolderId sets the FolderId field's value. +func (s *Folder) SetFolderId(v string) *Folder { + s.FolderId = &v + return s +} + +// SetFolderPath sets the FolderPath field's value. +func (s *Folder) SetFolderPath(v []*string) *Folder { + s.FolderPath = v + return s +} + +// SetFolderType sets the FolderType field's value. +func (s *Folder) SetFolderType(v string) *Folder { + s.FolderType = &v + return s +} + +// SetLastUpdatedTime sets the LastUpdatedTime field's value. +func (s *Folder) SetLastUpdatedTime(v time.Time) *Folder { + s.LastUpdatedTime = &v + return s +} + +// SetName sets the Name field's value. +func (s *Folder) SetName(v string) *Folder { + s.Name = &v + return s +} + +// An asset in a Amazon QuickSight folder, such as a dashboard, analysis, or +// dataset. +type FolderMember struct { + _ struct{} `type:"structure"` + + // The ID of an asset in the folder. + MemberId *string `min:"1" type:"string"` + + // The type of asset that it is. + MemberType *string `type:"string" enum:"MemberType"` +} + +// 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 FolderMember) 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 FolderMember) GoString() string { + return s.String() +} + +// SetMemberId sets the MemberId field's value. +func (s *FolderMember) SetMemberId(v string) *FolderMember { + s.MemberId = &v + return s +} + +// SetMemberType sets the MemberType field's value. +func (s *FolderMember) SetMemberType(v string) *FolderMember { + s.MemberType = &v + return s +} + +// A filter to use to search an Amazon QuickSight folder. +type FolderSearchFilter struct { + _ struct{} `type:"structure"` + + // The name of a value that you want to use in the filter. For example, "Name": + // "QUICKSIGHT_OWNER". + // + // Valid values are defined as follows: + // + // * QUICKSIGHT_VIEWER_OR_OWNER: Provide an ARN of a user or group, and any + // folders with that ARN listed as one of the folder's owners or viewers + // are returned. Implicit permissions from folders or groups are considered. + // + // * QUICKSIGHT_OWNER: Provide an ARN of a user or group, and any folders + // with that ARN listed as one of the owners of the folders are returned. + // Implicit permissions from folders or groups are considered. + // + // * DIRECT_QUICKSIGHT_SOLE_OWNER: Provide an ARN of a user or group, and + // any folders with that ARN listed as the only owner of the folder are returned. + // Implicit permissions from folders or groups are not considered. + // + // * DIRECT_QUICKSIGHT_OWNER: Provide an ARN of a user or group, and any + // folders with that ARN listed as one of the owners of the folders are returned. + // Implicit permissions from folders or groups are not considered. + // + // * DIRECT_QUICKSIGHT_VIEWER_OR_OWNER: Provide an ARN of a user or group, + // and any folders with that ARN listed as one of the owners or viewers of + // the folders are returned. Implicit permissions from folders or groups + // are not considered. + // + // * FOLDER_NAME: Any folders whose names have a substring match to this + // value will be returned. + // + // * PARENT_FOLDER_ARN: Provide an ARN of a folder, and any folders that + // are directly under that parent folder are returned. If you choose to use + // this option and leave the value blank, all root-level folders in the account + // are returned. + Name *string `type:"string" enum:"FolderFilterAttribute"` + + // The comparison operator that you want to use as a filter, for example "Operator": + // "StringEquals". Valid values are "StringEquals" and "StringLike". + // + // If you set the operator value to "StringEquals", you need to provide an ownership + // related filter in the "NAME" field and the arn of the user or group whose + // folders you want to search in the "Value" field. For example, "Name":"DIRECT_QUICKSIGHT_OWNER", + // "Operator": "StringEquals", "Value": "arn:aws:quicksight:us-east-1:1:user/default/UserName1". + // + // If you set the value to "StringLike", you need to provide the name of the + // folders you are searching for. For example, "Name":"FOLDER_NAME", "Operator": + // "StringLike", "Value": "Test". The "StringLike" operator only supports the + // NAME value FOLDER_NAME. + Operator *string `type:"string" enum:"FilterOperator"` + + // The value of the named item (in this example, PARENT_FOLDER_ARN), that you + // want to use as a filter. For example, "Value": "arn:aws:quicksight:us-east-1:1:folder/folderId". + Value *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 FolderSearchFilter) 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 FolderSearchFilter) GoString() string { + return s.String() +} + +// SetName sets the Name field's value. +func (s *FolderSearchFilter) SetName(v string) *FolderSearchFilter { + s.Name = &v + return s +} + +// SetOperator sets the Operator field's value. +func (s *FolderSearchFilter) SetOperator(v string) *FolderSearchFilter { + s.Operator = &v + return s +} + +// SetValue sets the Value field's value. +func (s *FolderSearchFilter) SetValue(v string) *FolderSearchFilter { + s.Value = &v + return s +} + +// A summary of information about an existing Amazon QuickSight folder. +type FolderSummary struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the folder. + Arn *string `type:"string"` + + // The time that the folder was created. + CreatedTime *time.Time `type:"timestamp"` + + // The ID of the folder. + FolderId *string `min:"1" type:"string"` + + // The type of folder. + FolderType *string `type:"string" enum:"FolderType"` + + // The time that the folder was last updated. + LastUpdatedTime *time.Time `type:"timestamp"` + + // The display name of the folder. + Name *string `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 FolderSummary) 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 FolderSummary) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *FolderSummary) SetArn(v string) *FolderSummary { + s.Arn = &v + return s +} + +// SetCreatedTime sets the CreatedTime field's value. +func (s *FolderSummary) SetCreatedTime(v time.Time) *FolderSummary { + s.CreatedTime = &v + return s +} + +// SetFolderId sets the FolderId field's value. +func (s *FolderSummary) SetFolderId(v string) *FolderSummary { + s.FolderId = &v + return s +} + +// SetFolderType sets the FolderType field's value. +func (s *FolderSummary) SetFolderType(v string) *FolderSummary { + s.FolderType = &v + return s +} + +// SetLastUpdatedTime sets the LastUpdatedTime field's value. +func (s *FolderSummary) SetLastUpdatedTime(v time.Time) *FolderSummary { + s.LastUpdatedTime = &v + return s +} + +// SetName sets the Name field's value. +func (s *FolderSummary) SetName(v string) *FolderSummary { + s.Name = &v + return s +} + +// Determines the font settings. +type Font struct { + _ struct{} `type:"structure"` + + // Determines the font family settings. + FontFamily *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 Font) 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 Font) GoString() string { + return s.String() +} + +// SetFontFamily sets the FontFamily field's value. +func (s *Font) SetFontFamily(v string) *Font { + s.FontFamily = &v + return s +} + +// Configures the display properties of the given text. +type FontConfiguration struct { + _ struct{} `type:"structure"` + + // Determines the color of the text. + FontColor *string `type:"string"` + + // Determines the appearance of decorative lines on the text. + FontDecoration *string `type:"string" enum:"FontDecoration"` + + // The option that determines the text display size. + FontSize *FontSize `type:"structure"` + + // Determines the text display face that is inherited by the given font family. + FontStyle *string `type:"string" enum:"FontStyle"` + + // The option that determines the text display weight, or boldness. + FontWeight *FontWeight `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 FontConfiguration) 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 FontConfiguration) GoString() string { + return s.String() +} + +// SetFontColor sets the FontColor field's value. +func (s *FontConfiguration) SetFontColor(v string) *FontConfiguration { + s.FontColor = &v + return s +} + +// SetFontDecoration sets the FontDecoration field's value. +func (s *FontConfiguration) SetFontDecoration(v string) *FontConfiguration { + s.FontDecoration = &v + return s +} + +// SetFontSize sets the FontSize field's value. +func (s *FontConfiguration) SetFontSize(v *FontSize) *FontConfiguration { + s.FontSize = v + return s +} + +// SetFontStyle sets the FontStyle field's value. +func (s *FontConfiguration) SetFontStyle(v string) *FontConfiguration { + s.FontStyle = &v + return s +} + +// SetFontWeight sets the FontWeight field's value. +func (s *FontConfiguration) SetFontWeight(v *FontWeight) *FontConfiguration { + s.FontWeight = v + return s +} + +// The option that determines the text display size. +type FontSize struct { + _ struct{} `type:"structure"` + + // The lexical name for the text size, proportional to its surrounding context. + Relative *string `type:"string" enum:"RelativeFontSize"` +} + +// 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 FontSize) 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 FontSize) GoString() string { + return s.String() +} + +// SetRelative sets the Relative field's value. +func (s *FontSize) SetRelative(v string) *FontSize { + s.Relative = &v + return s +} + +// The option that determines the text display weight, or boldness. +type FontWeight struct { + _ struct{} `type:"structure"` + + // The lexical name for the level of boldness of the text display. + Name *string `type:"string" enum:"FontWeightName"` +} + +// 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 FontWeight) 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 FontWeight) GoString() string { + return s.String() +} + +// SetName sets the Name field's value. +func (s *FontWeight) SetName(v string) *FontWeight { + s.Name = &v + return s +} + +// The forecast computation configuration. +type ForecastComputation struct { + _ struct{} `type:"structure"` + + // The ID for a computation. + // + // ComputationId is a required field + ComputationId *string `min:"1" type:"string" required:"true"` + + // The custom seasonality value setup of a forecast computation. + CustomSeasonalityValue *int64 `min:"1" type:"integer"` + + // The lower boundary setup of a forecast computation. + LowerBoundary *float64 `type:"double"` + + // The name of a computation. + Name *string `type:"string"` + + // The periods backward setup of a forecast computation. + PeriodsBackward *int64 `type:"integer"` + + // The periods forward setup of a forecast computation. + PeriodsForward *int64 `min:"1" type:"integer"` + + // The prediction interval setup of a forecast computation. + PredictionInterval *int64 `min:"50" type:"integer"` + + // The seasonality setup of a forecast computation. Choose one of the following + // options: + // + // * AUTOMATIC + // + // * CUSTOM: Checks the custom seasonality value. + Seasonality *string `type:"string" enum:"ForecastComputationSeasonality"` + + // The time field that is used in a computation. + // + // Time is a required field + Time *DimensionField `type:"structure" required:"true"` + + // The upper boundary setup of a forecast computation. + UpperBoundary *float64 `type:"double"` + + // The value field that is used in a computation. + Value *MeasureField `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 ForecastComputation) 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 ForecastComputation) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ForecastComputation) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ForecastComputation"} + if s.ComputationId == nil { + invalidParams.Add(request.NewErrParamRequired("ComputationId")) + } + if s.ComputationId != nil && len(*s.ComputationId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ComputationId", 1)) + } + if s.CustomSeasonalityValue != nil && *s.CustomSeasonalityValue < 1 { + invalidParams.Add(request.NewErrParamMinValue("CustomSeasonalityValue", 1)) + } + if s.PeriodsForward != nil && *s.PeriodsForward < 1 { + invalidParams.Add(request.NewErrParamMinValue("PeriodsForward", 1)) + } + if s.PredictionInterval != nil && *s.PredictionInterval < 50 { + invalidParams.Add(request.NewErrParamMinValue("PredictionInterval", 50)) + } + if s.Time == nil { + invalidParams.Add(request.NewErrParamRequired("Time")) + } + if s.Time != nil { + if err := s.Time.Validate(); err != nil { + invalidParams.AddNested("Time", err.(request.ErrInvalidParams)) + } + } + if s.Value != nil { + if err := s.Value.Validate(); err != nil { + invalidParams.AddNested("Value", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetComputationId sets the ComputationId field's value. +func (s *ForecastComputation) SetComputationId(v string) *ForecastComputation { + s.ComputationId = &v + return s +} + +// SetCustomSeasonalityValue sets the CustomSeasonalityValue field's value. +func (s *ForecastComputation) SetCustomSeasonalityValue(v int64) *ForecastComputation { + s.CustomSeasonalityValue = &v + return s +} + +// SetLowerBoundary sets the LowerBoundary field's value. +func (s *ForecastComputation) SetLowerBoundary(v float64) *ForecastComputation { + s.LowerBoundary = &v + return s +} + +// SetName sets the Name field's value. +func (s *ForecastComputation) SetName(v string) *ForecastComputation { + s.Name = &v + return s +} + +// SetPeriodsBackward sets the PeriodsBackward field's value. +func (s *ForecastComputation) SetPeriodsBackward(v int64) *ForecastComputation { + s.PeriodsBackward = &v + return s +} + +// SetPeriodsForward sets the PeriodsForward field's value. +func (s *ForecastComputation) SetPeriodsForward(v int64) *ForecastComputation { + s.PeriodsForward = &v + return s +} + +// SetPredictionInterval sets the PredictionInterval field's value. +func (s *ForecastComputation) SetPredictionInterval(v int64) *ForecastComputation { + s.PredictionInterval = &v + return s +} + +// SetSeasonality sets the Seasonality field's value. +func (s *ForecastComputation) SetSeasonality(v string) *ForecastComputation { + s.Seasonality = &v + return s +} + +// SetTime sets the Time field's value. +func (s *ForecastComputation) SetTime(v *DimensionField) *ForecastComputation { + s.Time = v + return s +} + +// SetUpperBoundary sets the UpperBoundary field's value. +func (s *ForecastComputation) SetUpperBoundary(v float64) *ForecastComputation { + s.UpperBoundary = &v + return s +} + +// SetValue sets the Value field's value. +func (s *ForecastComputation) SetValue(v *MeasureField) *ForecastComputation { + s.Value = v + return s +} + +// The forecast configuration that is used in a line chart's display properties. +type ForecastConfiguration struct { + _ struct{} `type:"structure"` + + // The forecast properties setup of a forecast in the line chart. + ForecastProperties *TimeBasedForecastProperties `type:"structure"` + + // The forecast scenario of a forecast in the line chart. + Scenario *ForecastScenario `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 ForecastConfiguration) 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 ForecastConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ForecastConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ForecastConfiguration"} + if s.ForecastProperties != nil { + if err := s.ForecastProperties.Validate(); err != nil { + invalidParams.AddNested("ForecastProperties", err.(request.ErrInvalidParams)) + } + } + if s.Scenario != nil { + if err := s.Scenario.Validate(); err != nil { + invalidParams.AddNested("Scenario", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetForecastProperties sets the ForecastProperties field's value. +func (s *ForecastConfiguration) SetForecastProperties(v *TimeBasedForecastProperties) *ForecastConfiguration { + s.ForecastProperties = v + return s +} + +// SetScenario sets the Scenario field's value. +func (s *ForecastConfiguration) SetScenario(v *ForecastScenario) *ForecastConfiguration { + s.Scenario = v + return s +} + +// The forecast scenario of a forecast in the line chart. +type ForecastScenario struct { + _ struct{} `type:"structure"` + + // The what-if analysis forecast setup with the target date. + WhatIfPointScenario *WhatIfPointScenario `type:"structure"` + + // The what-if analysis forecast setup with the date range. + WhatIfRangeScenario *WhatIfRangeScenario `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 ForecastScenario) 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 ForecastScenario) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ForecastScenario) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ForecastScenario"} + if s.WhatIfPointScenario != nil { + if err := s.WhatIfPointScenario.Validate(); err != nil { + invalidParams.AddNested("WhatIfPointScenario", err.(request.ErrInvalidParams)) + } + } + if s.WhatIfRangeScenario != nil { + if err := s.WhatIfRangeScenario.Validate(); err != nil { + invalidParams.AddNested("WhatIfRangeScenario", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetWhatIfPointScenario sets the WhatIfPointScenario field's value. +func (s *ForecastScenario) SetWhatIfPointScenario(v *WhatIfPointScenario) *ForecastScenario { + s.WhatIfPointScenario = v + return s +} + +// SetWhatIfRangeScenario sets the WhatIfRangeScenario field's value. +func (s *ForecastScenario) SetWhatIfRangeScenario(v *WhatIfRangeScenario) *ForecastScenario { + s.WhatIfRangeScenario = v + return s +} + +// The formatting configuration for all types of field. +type FormatConfiguration struct { + _ struct{} `type:"structure"` + + // Formatting configuration for DateTime fields. + DateTimeFormatConfiguration *DateTimeFormatConfiguration `type:"structure"` + + // Formatting configuration for number fields. + NumberFormatConfiguration *NumberFormatConfiguration `type:"structure"` + + // Formatting configuration for string fields. + StringFormatConfiguration *StringFormatConfiguration `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 FormatConfiguration) 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 FormatConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FormatConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FormatConfiguration"} + if s.DateTimeFormatConfiguration != nil { + if err := s.DateTimeFormatConfiguration.Validate(); err != nil { + invalidParams.AddNested("DateTimeFormatConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.NumberFormatConfiguration != nil { + if err := s.NumberFormatConfiguration.Validate(); err != nil { + invalidParams.AddNested("NumberFormatConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.StringFormatConfiguration != nil { + if err := s.StringFormatConfiguration.Validate(); err != nil { + invalidParams.AddNested("StringFormatConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDateTimeFormatConfiguration sets the DateTimeFormatConfiguration field's value. +func (s *FormatConfiguration) SetDateTimeFormatConfiguration(v *DateTimeFormatConfiguration) *FormatConfiguration { + s.DateTimeFormatConfiguration = v + return s +} + +// SetNumberFormatConfiguration sets the NumberFormatConfiguration field's value. +func (s *FormatConfiguration) SetNumberFormatConfiguration(v *NumberFormatConfiguration) *FormatConfiguration { + s.NumberFormatConfiguration = v + return s +} + +// SetStringFormatConfiguration sets the StringFormatConfiguration field's value. +func (s *FormatConfiguration) SetStringFormatConfiguration(v *StringFormatConfiguration) *FormatConfiguration { + s.StringFormatConfiguration = v + return s +} + +// Configuration options for the canvas of a free-form layout. +type FreeFormLayoutCanvasSizeOptions struct { + _ struct{} `type:"structure"` + + // The options that determine the sizing of the canvas used in a free-form layout. + ScreenCanvasSizeOptions *FreeFormLayoutScreenCanvasSizeOptions `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 FreeFormLayoutCanvasSizeOptions) 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 FreeFormLayoutCanvasSizeOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FreeFormLayoutCanvasSizeOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FreeFormLayoutCanvasSizeOptions"} + if s.ScreenCanvasSizeOptions != nil { + if err := s.ScreenCanvasSizeOptions.Validate(); err != nil { + invalidParams.AddNested("ScreenCanvasSizeOptions", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetScreenCanvasSizeOptions sets the ScreenCanvasSizeOptions field's value. +func (s *FreeFormLayoutCanvasSizeOptions) SetScreenCanvasSizeOptions(v *FreeFormLayoutScreenCanvasSizeOptions) *FreeFormLayoutCanvasSizeOptions { + s.ScreenCanvasSizeOptions = v + return s +} + +// The configuration of a free-form layout. +type FreeFormLayoutConfiguration struct { + _ struct{} `type:"structure"` + + // Configuration options for the canvas of a free-form layout. + CanvasSizeOptions *FreeFormLayoutCanvasSizeOptions `type:"structure"` + + // The elements that are included in a free-form layout. + // + // Elements is a required field + Elements []*FreeFormLayoutElement `type:"list" required:"true"` +} + +// 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 FreeFormLayoutConfiguration) 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 FreeFormLayoutConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FreeFormLayoutConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FreeFormLayoutConfiguration"} + if s.Elements == nil { + invalidParams.Add(request.NewErrParamRequired("Elements")) + } + if s.CanvasSizeOptions != nil { + if err := s.CanvasSizeOptions.Validate(); err != nil { + invalidParams.AddNested("CanvasSizeOptions", err.(request.ErrInvalidParams)) + } + } + if s.Elements != nil { + for i, v := range s.Elements { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Elements", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCanvasSizeOptions sets the CanvasSizeOptions field's value. +func (s *FreeFormLayoutConfiguration) SetCanvasSizeOptions(v *FreeFormLayoutCanvasSizeOptions) *FreeFormLayoutConfiguration { + s.CanvasSizeOptions = v + return s +} + +// SetElements sets the Elements field's value. +func (s *FreeFormLayoutConfiguration) SetElements(v []*FreeFormLayoutElement) *FreeFormLayoutConfiguration { + s.Elements = v + return s +} + +// An element within a free-form layout. +type FreeFormLayoutElement struct { + _ struct{} `type:"structure"` + + // The background style configuration of a free-form layout element. + BackgroundStyle *FreeFormLayoutElementBackgroundStyle `type:"structure"` + + // The border style configuration of a free-form layout element. + BorderStyle *FreeFormLayoutElementBorderStyle `type:"structure"` + + // A unique identifier for an element within a free-form layout. + // + // ElementId is a required field + ElementId *string `min:"1" type:"string" required:"true"` + + // The type of element. + // + // ElementType is a required field + ElementType *string `type:"string" required:"true" enum:"LayoutElementType"` + + // The height of an element within a free-form layout. + // + // Height is a required field + Height *string `type:"string" required:"true"` + + // The loading animation configuration of a free-form layout element. + LoadingAnimation *LoadingAnimation `type:"structure"` + + // The rendering rules that determine when an element should be displayed within + // a free-form layout. + RenderingRules []*SheetElementRenderingRule `type:"list"` + + // The border style configuration of a free-form layout element. This border + // style is used when the element is selected. + SelectedBorderStyle *FreeFormLayoutElementBorderStyle `type:"structure"` + + // The visibility of an element within a free-form layout. + Visibility *string `type:"string" enum:"Visibility"` + + // The width of an element within a free-form layout. + // + // Width is a required field + Width *string `type:"string" required:"true"` + + // The x-axis coordinate of the element. + // + // XAxisLocation is a required field + XAxisLocation *string `type:"string" required:"true"` + + // The y-axis coordinate of the element. + // + // YAxisLocation is a required field + YAxisLocation *string `type:"string" required:"true"` +} + +// 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 FreeFormLayoutElement) 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 FreeFormLayoutElement) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FreeFormLayoutElement) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FreeFormLayoutElement"} + if s.ElementId == nil { + invalidParams.Add(request.NewErrParamRequired("ElementId")) + } + if s.ElementId != nil && len(*s.ElementId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ElementId", 1)) + } + if s.ElementType == nil { + invalidParams.Add(request.NewErrParamRequired("ElementType")) + } + if s.Height == nil { + invalidParams.Add(request.NewErrParamRequired("Height")) + } + if s.Width == nil { + invalidParams.Add(request.NewErrParamRequired("Width")) + } + if s.XAxisLocation == nil { + invalidParams.Add(request.NewErrParamRequired("XAxisLocation")) + } + if s.YAxisLocation == nil { + invalidParams.Add(request.NewErrParamRequired("YAxisLocation")) + } + if s.RenderingRules != nil { + for i, v := range s.RenderingRules { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RenderingRules", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBackgroundStyle sets the BackgroundStyle field's value. +func (s *FreeFormLayoutElement) SetBackgroundStyle(v *FreeFormLayoutElementBackgroundStyle) *FreeFormLayoutElement { + s.BackgroundStyle = v + return s +} + +// SetBorderStyle sets the BorderStyle field's value. +func (s *FreeFormLayoutElement) SetBorderStyle(v *FreeFormLayoutElementBorderStyle) *FreeFormLayoutElement { + s.BorderStyle = v + return s +} + +// SetElementId sets the ElementId field's value. +func (s *FreeFormLayoutElement) SetElementId(v string) *FreeFormLayoutElement { + s.ElementId = &v + return s +} + +// SetElementType sets the ElementType field's value. +func (s *FreeFormLayoutElement) SetElementType(v string) *FreeFormLayoutElement { + s.ElementType = &v + return s +} + +// SetHeight sets the Height field's value. +func (s *FreeFormLayoutElement) SetHeight(v string) *FreeFormLayoutElement { + s.Height = &v + return s +} + +// SetLoadingAnimation sets the LoadingAnimation field's value. +func (s *FreeFormLayoutElement) SetLoadingAnimation(v *LoadingAnimation) *FreeFormLayoutElement { + s.LoadingAnimation = v + return s +} + +// SetRenderingRules sets the RenderingRules field's value. +func (s *FreeFormLayoutElement) SetRenderingRules(v []*SheetElementRenderingRule) *FreeFormLayoutElement { + s.RenderingRules = v + return s +} + +// SetSelectedBorderStyle sets the SelectedBorderStyle field's value. +func (s *FreeFormLayoutElement) SetSelectedBorderStyle(v *FreeFormLayoutElementBorderStyle) *FreeFormLayoutElement { + s.SelectedBorderStyle = v + return s +} + +// SetVisibility sets the Visibility field's value. +func (s *FreeFormLayoutElement) SetVisibility(v string) *FreeFormLayoutElement { + s.Visibility = &v + return s +} + +// SetWidth sets the Width field's value. +func (s *FreeFormLayoutElement) SetWidth(v string) *FreeFormLayoutElement { + s.Width = &v + return s +} + +// SetXAxisLocation sets the XAxisLocation field's value. +func (s *FreeFormLayoutElement) SetXAxisLocation(v string) *FreeFormLayoutElement { + s.XAxisLocation = &v + return s +} + +// SetYAxisLocation sets the YAxisLocation field's value. +func (s *FreeFormLayoutElement) SetYAxisLocation(v string) *FreeFormLayoutElement { + s.YAxisLocation = &v + return s +} + +// The background style configuration of a free-form layout element. +type FreeFormLayoutElementBackgroundStyle struct { + _ struct{} `type:"structure"` + + // The background color of a free-form layout element. + Color *string `type:"string"` + + // The background visibility of a free-form layout element. + Visibility *string `type:"string" enum:"Visibility"` +} + +// 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 FreeFormLayoutElementBackgroundStyle) 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 FreeFormLayoutElementBackgroundStyle) GoString() string { + return s.String() +} + +// SetColor sets the Color field's value. +func (s *FreeFormLayoutElementBackgroundStyle) SetColor(v string) *FreeFormLayoutElementBackgroundStyle { + s.Color = &v + return s +} + +// SetVisibility sets the Visibility field's value. +func (s *FreeFormLayoutElementBackgroundStyle) SetVisibility(v string) *FreeFormLayoutElementBackgroundStyle { + s.Visibility = &v + return s +} + +// The background style configuration of a free-form layout element. +type FreeFormLayoutElementBorderStyle struct { + _ struct{} `type:"structure"` + + // The border color of a free-form layout element. + Color *string `type:"string"` + + // The border visibility of a free-form layout element. + Visibility *string `type:"string" enum:"Visibility"` +} + +// 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 FreeFormLayoutElementBorderStyle) 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 FreeFormLayoutElementBorderStyle) GoString() string { + return s.String() +} + +// SetColor sets the Color field's value. +func (s *FreeFormLayoutElementBorderStyle) SetColor(v string) *FreeFormLayoutElementBorderStyle { + s.Color = &v + return s +} + +// SetVisibility sets the Visibility field's value. +func (s *FreeFormLayoutElementBorderStyle) SetVisibility(v string) *FreeFormLayoutElementBorderStyle { + s.Visibility = &v + return s +} + +// The options that determine the sizing of the canvas used in a free-form layout. +type FreeFormLayoutScreenCanvasSizeOptions struct { + _ struct{} `type:"structure"` + + // The width that the view port will be optimized for when the layout renders. + // + // OptimizedViewPortWidth is a required field + OptimizedViewPortWidth *string `type:"string" required:"true"` +} + +// 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 FreeFormLayoutScreenCanvasSizeOptions) 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 FreeFormLayoutScreenCanvasSizeOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FreeFormLayoutScreenCanvasSizeOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FreeFormLayoutScreenCanvasSizeOptions"} + if s.OptimizedViewPortWidth == nil { + invalidParams.Add(request.NewErrParamRequired("OptimizedViewPortWidth")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetOptimizedViewPortWidth sets the OptimizedViewPortWidth field's value. +func (s *FreeFormLayoutScreenCanvasSizeOptions) SetOptimizedViewPortWidth(v string) *FreeFormLayoutScreenCanvasSizeOptions { + s.OptimizedViewPortWidth = &v + return s +} + +// The free-form layout configuration of a section. +type FreeFormSectionLayoutConfiguration struct { + _ struct{} `type:"structure"` + + // The elements that are included in the free-form layout. + // + // Elements is a required field + Elements []*FreeFormLayoutElement `type:"list" required:"true"` +} + +// 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 FreeFormSectionLayoutConfiguration) 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 FreeFormSectionLayoutConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FreeFormSectionLayoutConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FreeFormSectionLayoutConfiguration"} + if s.Elements == nil { + invalidParams.Add(request.NewErrParamRequired("Elements")) + } + if s.Elements != nil { + for i, v := range s.Elements { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Elements", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetElements sets the Elements field's value. +func (s *FreeFormSectionLayoutConfiguration) SetElements(v []*FreeFormLayoutElement) *FreeFormSectionLayoutConfiguration { + s.Elements = v + return s +} + +// The field well configuration of a FunnelChartVisual. +type FunnelChartAggregatedFieldWells struct { + _ struct{} `type:"structure"` + + // The category field wells of a funnel chart. Values are grouped by category + // fields. + Category []*DimensionField `type:"list"` + + // The value field wells of a funnel chart. Values are aggregated based on categories. + Values []*MeasureField `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 FunnelChartAggregatedFieldWells) 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 FunnelChartAggregatedFieldWells) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FunnelChartAggregatedFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FunnelChartAggregatedFieldWells"} + if s.Category != nil { + for i, v := range s.Category { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Category", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Values != nil { + for i, v := range s.Values { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Values", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCategory sets the Category field's value. +func (s *FunnelChartAggregatedFieldWells) SetCategory(v []*DimensionField) *FunnelChartAggregatedFieldWells { + s.Category = v + return s +} + +// SetValues sets the Values field's value. +func (s *FunnelChartAggregatedFieldWells) SetValues(v []*MeasureField) *FunnelChartAggregatedFieldWells { + s.Values = v + return s +} + +// The configuration of a FunnelChartVisual. +type FunnelChartConfiguration struct { + _ struct{} `type:"structure"` + + // The label options of the categories that are displayed in a FunnelChartVisual. + CategoryLabelOptions *ChartAxisLabelOptions `type:"structure"` + + // The options that determine the presentation of the data labels. + DataLabelOptions *FunnelChartDataLabelOptions `type:"structure"` + + // The field well configuration of a FunnelChartVisual. + FieldWells *FunnelChartFieldWells `type:"structure"` + + // The sort configuration of a FunnelChartVisual. + SortConfiguration *FunnelChartSortConfiguration `type:"structure"` + + // The tooltip configuration of a FunnelChartVisual. + Tooltip *TooltipOptions `type:"structure"` + + // The label options for the values that are displayed in a FunnelChartVisual. + ValueLabelOptions *ChartAxisLabelOptions `type:"structure"` + + // The visual palette configuration of a FunnelChartVisual. + VisualPalette *VisualPalette `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 FunnelChartConfiguration) 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 FunnelChartConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FunnelChartConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FunnelChartConfiguration"} + if s.CategoryLabelOptions != nil { + if err := s.CategoryLabelOptions.Validate(); err != nil { + invalidParams.AddNested("CategoryLabelOptions", err.(request.ErrInvalidParams)) + } + } + if s.FieldWells != nil { + if err := s.FieldWells.Validate(); err != nil { + invalidParams.AddNested("FieldWells", err.(request.ErrInvalidParams)) + } + } + if s.SortConfiguration != nil { + if err := s.SortConfiguration.Validate(); err != nil { + invalidParams.AddNested("SortConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.Tooltip != nil { + if err := s.Tooltip.Validate(); err != nil { + invalidParams.AddNested("Tooltip", err.(request.ErrInvalidParams)) + } + } + if s.ValueLabelOptions != nil { + if err := s.ValueLabelOptions.Validate(); err != nil { + invalidParams.AddNested("ValueLabelOptions", err.(request.ErrInvalidParams)) + } + } + if s.VisualPalette != nil { + if err := s.VisualPalette.Validate(); err != nil { + invalidParams.AddNested("VisualPalette", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCategoryLabelOptions sets the CategoryLabelOptions field's value. +func (s *FunnelChartConfiguration) SetCategoryLabelOptions(v *ChartAxisLabelOptions) *FunnelChartConfiguration { + s.CategoryLabelOptions = v + return s +} + +// SetDataLabelOptions sets the DataLabelOptions field's value. +func (s *FunnelChartConfiguration) SetDataLabelOptions(v *FunnelChartDataLabelOptions) *FunnelChartConfiguration { + s.DataLabelOptions = v + return s +} + +// SetFieldWells sets the FieldWells field's value. +func (s *FunnelChartConfiguration) SetFieldWells(v *FunnelChartFieldWells) *FunnelChartConfiguration { + s.FieldWells = v + return s +} + +// SetSortConfiguration sets the SortConfiguration field's value. +func (s *FunnelChartConfiguration) SetSortConfiguration(v *FunnelChartSortConfiguration) *FunnelChartConfiguration { + s.SortConfiguration = v + return s +} + +// SetTooltip sets the Tooltip field's value. +func (s *FunnelChartConfiguration) SetTooltip(v *TooltipOptions) *FunnelChartConfiguration { + s.Tooltip = v + return s +} + +// SetValueLabelOptions sets the ValueLabelOptions field's value. +func (s *FunnelChartConfiguration) SetValueLabelOptions(v *ChartAxisLabelOptions) *FunnelChartConfiguration { + s.ValueLabelOptions = v + return s +} + +// SetVisualPalette sets the VisualPalette field's value. +func (s *FunnelChartConfiguration) SetVisualPalette(v *VisualPalette) *FunnelChartConfiguration { + s.VisualPalette = v + return s +} + +// The options that determine the presentation of the data labels. +type FunnelChartDataLabelOptions struct { + _ struct{} `type:"structure"` + + // The visibility of the category labels within the data labels. + CategoryLabelVisibility *string `type:"string" enum:"Visibility"` + + // The color of the data label text. + LabelColor *string `type:"string"` + + // The font configuration for the data labels. + // + // Only the FontSize attribute of the font configuration is used for data labels. + LabelFontConfiguration *FontConfiguration `type:"structure"` + + // Determines the style of the metric labels. + MeasureDataLabelStyle *string `type:"string" enum:"FunnelChartMeasureDataLabelStyle"` + + // The visibility of the measure labels within the data labels. + MeasureLabelVisibility *string `type:"string" enum:"Visibility"` + + // Determines the positioning of the data label relative to a section of the + // funnel. + Position *string `type:"string" enum:"DataLabelPosition"` + + // The visibility option that determines if data labels are displayed. + Visibility *string `type:"string" enum:"Visibility"` +} + +// 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 FunnelChartDataLabelOptions) 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 FunnelChartDataLabelOptions) GoString() string { + return s.String() +} + +// SetCategoryLabelVisibility sets the CategoryLabelVisibility field's value. +func (s *FunnelChartDataLabelOptions) SetCategoryLabelVisibility(v string) *FunnelChartDataLabelOptions { + s.CategoryLabelVisibility = &v + return s +} + +// SetLabelColor sets the LabelColor field's value. +func (s *FunnelChartDataLabelOptions) SetLabelColor(v string) *FunnelChartDataLabelOptions { + s.LabelColor = &v + return s +} + +// SetLabelFontConfiguration sets the LabelFontConfiguration field's value. +func (s *FunnelChartDataLabelOptions) SetLabelFontConfiguration(v *FontConfiguration) *FunnelChartDataLabelOptions { + s.LabelFontConfiguration = v + return s +} + +// SetMeasureDataLabelStyle sets the MeasureDataLabelStyle field's value. +func (s *FunnelChartDataLabelOptions) SetMeasureDataLabelStyle(v string) *FunnelChartDataLabelOptions { + s.MeasureDataLabelStyle = &v + return s +} + +// SetMeasureLabelVisibility sets the MeasureLabelVisibility field's value. +func (s *FunnelChartDataLabelOptions) SetMeasureLabelVisibility(v string) *FunnelChartDataLabelOptions { + s.MeasureLabelVisibility = &v + return s +} + +// SetPosition sets the Position field's value. +func (s *FunnelChartDataLabelOptions) SetPosition(v string) *FunnelChartDataLabelOptions { + s.Position = &v + return s +} + +// SetVisibility sets the Visibility field's value. +func (s *FunnelChartDataLabelOptions) SetVisibility(v string) *FunnelChartDataLabelOptions { + s.Visibility = &v + return s +} + +// The field well configuration of a FunnelChartVisual. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type FunnelChartFieldWells struct { + _ struct{} `type:"structure"` + + // The field well configuration of a FunnelChartVisual. + FunnelChartAggregatedFieldWells *FunnelChartAggregatedFieldWells `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 FunnelChartFieldWells) 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 FunnelChartFieldWells) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FunnelChartFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FunnelChartFieldWells"} + if s.FunnelChartAggregatedFieldWells != nil { + if err := s.FunnelChartAggregatedFieldWells.Validate(); err != nil { + invalidParams.AddNested("FunnelChartAggregatedFieldWells", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFunnelChartAggregatedFieldWells sets the FunnelChartAggregatedFieldWells field's value. +func (s *FunnelChartFieldWells) SetFunnelChartAggregatedFieldWells(v *FunnelChartAggregatedFieldWells) *FunnelChartFieldWells { + s.FunnelChartAggregatedFieldWells = v + return s +} + +// The sort configuration of a FunnelChartVisual. +type FunnelChartSortConfiguration struct { + _ struct{} `type:"structure"` + + // The limit on the number of categories displayed. + CategoryItemsLimit *ItemsLimitConfiguration `type:"structure"` + + // The sort configuration of the category fields. + CategorySort []*FieldSortOptions `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 FunnelChartSortConfiguration) 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 FunnelChartSortConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FunnelChartSortConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FunnelChartSortConfiguration"} + if s.CategorySort != nil { + for i, v := range s.CategorySort { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CategorySort", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCategoryItemsLimit sets the CategoryItemsLimit field's value. +func (s *FunnelChartSortConfiguration) SetCategoryItemsLimit(v *ItemsLimitConfiguration) *FunnelChartSortConfiguration { + s.CategoryItemsLimit = v + return s +} + +// SetCategorySort sets the CategorySort field's value. +func (s *FunnelChartSortConfiguration) SetCategorySort(v []*FieldSortOptions) *FunnelChartSortConfiguration { + s.CategorySort = v + return s +} + +// A funnel chart. +// +// For more information, see Using funnel charts (https://docs.aws.amazon.com/quicksight/latest/user/funnel-visual-content.html) +// in the Amazon QuickSight User Guide. +type FunnelChartVisual struct { + _ struct{} `type:"structure"` + + // The list of custom actions that are configured for a visual. + Actions []*VisualCustomAction `type:"list"` + + // The configuration of a FunnelChartVisual. + ChartConfiguration *FunnelChartConfiguration `type:"structure"` + + // The column hierarchy that is used during drill-downs and drill-ups. + ColumnHierarchies []*ColumnHierarchy `type:"list"` + + // The subtitle that is displayed on the visual. + Subtitle *VisualSubtitleLabelOptions `type:"structure"` + + // The title that is displayed on the visual. + Title *VisualTitleLabelOptions `type:"structure"` + + // The unique identifier of a visual. This identifier must be unique within + // the context of a dashboard, template, or analysis. Two dashboards, analyses, + // or templates can have visuals with the same identifiers.. + // + // VisualId is a required field + VisualId *string `min:"1" type:"string" required:"true"` +} + +// 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 FunnelChartVisual) 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 FunnelChartVisual) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FunnelChartVisual) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FunnelChartVisual"} + if s.VisualId == nil { + invalidParams.Add(request.NewErrParamRequired("VisualId")) + } + if s.VisualId != nil && len(*s.VisualId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("VisualId", 1)) + } + if s.Actions != nil { + for i, v := range s.Actions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Actions", i), err.(request.ErrInvalidParams)) + } + } + } + if s.ChartConfiguration != nil { + if err := s.ChartConfiguration.Validate(); err != nil { + invalidParams.AddNested("ChartConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.ColumnHierarchies != nil { + for i, v := range s.ColumnHierarchies { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnHierarchies", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Subtitle != nil { + if err := s.Subtitle.Validate(); err != nil { + invalidParams.AddNested("Subtitle", err.(request.ErrInvalidParams)) + } + } + if s.Title != nil { + if err := s.Title.Validate(); err != nil { + invalidParams.AddNested("Title", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetActions sets the Actions field's value. +func (s *FunnelChartVisual) SetActions(v []*VisualCustomAction) *FunnelChartVisual { + s.Actions = v + return s +} + +// SetChartConfiguration sets the ChartConfiguration field's value. +func (s *FunnelChartVisual) SetChartConfiguration(v *FunnelChartConfiguration) *FunnelChartVisual { + s.ChartConfiguration = v + return s +} + +// SetColumnHierarchies sets the ColumnHierarchies field's value. +func (s *FunnelChartVisual) SetColumnHierarchies(v []*ColumnHierarchy) *FunnelChartVisual { + s.ColumnHierarchies = v + return s +} + +// SetSubtitle sets the Subtitle field's value. +func (s *FunnelChartVisual) SetSubtitle(v *VisualSubtitleLabelOptions) *FunnelChartVisual { + s.Subtitle = v + return s +} + +// SetTitle sets the Title field's value. +func (s *FunnelChartVisual) SetTitle(v *VisualTitleLabelOptions) *FunnelChartVisual { + s.Title = v + return s +} + +// SetVisualId sets the VisualId field's value. +func (s *FunnelChartVisual) SetVisualId(v string) *FunnelChartVisual { + s.VisualId = &v + return s +} + +// The options that determine the presentation of the arc of a GaugeChartVisual. +type GaugeChartArcConditionalFormatting struct { + _ struct{} `type:"structure"` + + // The conditional formatting of the arc foreground color. + ForegroundColor *ConditionalFormattingColor `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 GaugeChartArcConditionalFormatting) 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 GaugeChartArcConditionalFormatting) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GaugeChartArcConditionalFormatting) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GaugeChartArcConditionalFormatting"} + if s.ForegroundColor != nil { + if err := s.ForegroundColor.Validate(); err != nil { + invalidParams.AddNested("ForegroundColor", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetForegroundColor sets the ForegroundColor field's value. +func (s *GaugeChartArcConditionalFormatting) SetForegroundColor(v *ConditionalFormattingColor) *GaugeChartArcConditionalFormatting { + s.ForegroundColor = v + return s +} + +// The conditional formatting of a GaugeChartVisual. +type GaugeChartConditionalFormatting struct { + _ struct{} `type:"structure"` + + // Conditional formatting options of a GaugeChartVisual. + ConditionalFormattingOptions []*GaugeChartConditionalFormattingOption `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 GaugeChartConditionalFormatting) 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 GaugeChartConditionalFormatting) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GaugeChartConditionalFormatting) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GaugeChartConditionalFormatting"} + if s.ConditionalFormattingOptions != nil { + for i, v := range s.ConditionalFormattingOptions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ConditionalFormattingOptions", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetConditionalFormattingOptions sets the ConditionalFormattingOptions field's value. +func (s *GaugeChartConditionalFormatting) SetConditionalFormattingOptions(v []*GaugeChartConditionalFormattingOption) *GaugeChartConditionalFormatting { + s.ConditionalFormattingOptions = v + return s +} + +// Conditional formatting options of a GaugeChartVisual. +type GaugeChartConditionalFormattingOption struct { + _ struct{} `type:"structure"` + + // The options that determine the presentation of the arc of a GaugeChartVisual. + Arc *GaugeChartArcConditionalFormatting `type:"structure"` + + // The conditional formatting for the primary value of a GaugeChartVisual. + PrimaryValue *GaugeChartPrimaryValueConditionalFormatting `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 GaugeChartConditionalFormattingOption) 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 GaugeChartConditionalFormattingOption) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GaugeChartConditionalFormattingOption) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GaugeChartConditionalFormattingOption"} + if s.Arc != nil { + if err := s.Arc.Validate(); err != nil { + invalidParams.AddNested("Arc", err.(request.ErrInvalidParams)) + } + } + if s.PrimaryValue != nil { + if err := s.PrimaryValue.Validate(); err != nil { + invalidParams.AddNested("PrimaryValue", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetArc sets the Arc field's value. +func (s *GaugeChartConditionalFormattingOption) SetArc(v *GaugeChartArcConditionalFormatting) *GaugeChartConditionalFormattingOption { + s.Arc = v + return s +} + +// SetPrimaryValue sets the PrimaryValue field's value. +func (s *GaugeChartConditionalFormattingOption) SetPrimaryValue(v *GaugeChartPrimaryValueConditionalFormatting) *GaugeChartConditionalFormattingOption { + s.PrimaryValue = v + return s +} + +// The configuration of a GaugeChartVisual. +type GaugeChartConfiguration struct { + _ struct{} `type:"structure"` + + // The data label configuration of a GaugeChartVisual. + DataLabels *DataLabelOptions `type:"structure"` + + // The field well configuration of a GaugeChartVisual. + FieldWells *GaugeChartFieldWells `type:"structure"` + + // The options that determine the presentation of the GaugeChartVisual. + GaugeChartOptions *GaugeChartOptions `type:"structure"` + + // The tooltip configuration of a GaugeChartVisual. + TooltipOptions *TooltipOptions `type:"structure"` + + // The visual palette configuration of a GaugeChartVisual. + VisualPalette *VisualPalette `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 GaugeChartConfiguration) 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 GaugeChartConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GaugeChartConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GaugeChartConfiguration"} + if s.DataLabels != nil { + if err := s.DataLabels.Validate(); err != nil { + invalidParams.AddNested("DataLabels", err.(request.ErrInvalidParams)) + } + } + if s.FieldWells != nil { + if err := s.FieldWells.Validate(); err != nil { + invalidParams.AddNested("FieldWells", err.(request.ErrInvalidParams)) + } + } + if s.GaugeChartOptions != nil { + if err := s.GaugeChartOptions.Validate(); err != nil { + invalidParams.AddNested("GaugeChartOptions", err.(request.ErrInvalidParams)) + } + } + if s.TooltipOptions != nil { + if err := s.TooltipOptions.Validate(); err != nil { + invalidParams.AddNested("TooltipOptions", err.(request.ErrInvalidParams)) + } + } + if s.VisualPalette != nil { + if err := s.VisualPalette.Validate(); err != nil { + invalidParams.AddNested("VisualPalette", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDataLabels sets the DataLabels field's value. +func (s *GaugeChartConfiguration) SetDataLabels(v *DataLabelOptions) *GaugeChartConfiguration { + s.DataLabels = v + return s +} + +// SetFieldWells sets the FieldWells field's value. +func (s *GaugeChartConfiguration) SetFieldWells(v *GaugeChartFieldWells) *GaugeChartConfiguration { + s.FieldWells = v + return s +} + +// SetGaugeChartOptions sets the GaugeChartOptions field's value. +func (s *GaugeChartConfiguration) SetGaugeChartOptions(v *GaugeChartOptions) *GaugeChartConfiguration { + s.GaugeChartOptions = v + return s +} + +// SetTooltipOptions sets the TooltipOptions field's value. +func (s *GaugeChartConfiguration) SetTooltipOptions(v *TooltipOptions) *GaugeChartConfiguration { + s.TooltipOptions = v + return s +} + +// SetVisualPalette sets the VisualPalette field's value. +func (s *GaugeChartConfiguration) SetVisualPalette(v *VisualPalette) *GaugeChartConfiguration { + s.VisualPalette = v + return s +} + +// The field well configuration of a GaugeChartVisual. +type GaugeChartFieldWells struct { + _ struct{} `type:"structure"` + + // The target value field wells of a GaugeChartVisual. + TargetValues []*MeasureField `type:"list"` + + // The value field wells of a GaugeChartVisual. + Values []*MeasureField `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 GaugeChartFieldWells) 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 GaugeChartFieldWells) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GaugeChartFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GaugeChartFieldWells"} + if s.TargetValues != nil { + for i, v := range s.TargetValues { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "TargetValues", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Values != nil { + for i, v := range s.Values { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Values", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetTargetValues sets the TargetValues field's value. +func (s *GaugeChartFieldWells) SetTargetValues(v []*MeasureField) *GaugeChartFieldWells { + s.TargetValues = v + return s +} + +// SetValues sets the Values field's value. +func (s *GaugeChartFieldWells) SetValues(v []*MeasureField) *GaugeChartFieldWells { + s.Values = v + return s +} + +// The options that determine the presentation of the GaugeChartVisual. +type GaugeChartOptions struct { + _ struct{} `type:"structure"` + + // The arc configuration of a GaugeChartVisual. + Arc *ArcConfiguration `type:"structure"` + + // The arc axis configuration of a GaugeChartVisual. + ArcAxis *ArcAxisConfiguration `type:"structure"` + + // The comparison configuration of a GaugeChartVisual. + Comparison *ComparisonConfiguration `type:"structure"` + + // The options that determine the primary value display type. + PrimaryValueDisplayType *string `type:"string" enum:"PrimaryValueDisplayType"` + + // The options that determine the primary value font configuration. + PrimaryValueFontConfiguration *FontConfiguration `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 GaugeChartOptions) 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 GaugeChartOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GaugeChartOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GaugeChartOptions"} + if s.Comparison != nil { + if err := s.Comparison.Validate(); err != nil { + invalidParams.AddNested("Comparison", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetArc sets the Arc field's value. +func (s *GaugeChartOptions) SetArc(v *ArcConfiguration) *GaugeChartOptions { + s.Arc = v + return s +} + +// SetArcAxis sets the ArcAxis field's value. +func (s *GaugeChartOptions) SetArcAxis(v *ArcAxisConfiguration) *GaugeChartOptions { + s.ArcAxis = v + return s +} + +// SetComparison sets the Comparison field's value. +func (s *GaugeChartOptions) SetComparison(v *ComparisonConfiguration) *GaugeChartOptions { + s.Comparison = v + return s +} + +// SetPrimaryValueDisplayType sets the PrimaryValueDisplayType field's value. +func (s *GaugeChartOptions) SetPrimaryValueDisplayType(v string) *GaugeChartOptions { + s.PrimaryValueDisplayType = &v + return s +} + +// SetPrimaryValueFontConfiguration sets the PrimaryValueFontConfiguration field's value. +func (s *GaugeChartOptions) SetPrimaryValueFontConfiguration(v *FontConfiguration) *GaugeChartOptions { + s.PrimaryValueFontConfiguration = v + return s +} + +// The conditional formatting for the primary value of a GaugeChartVisual. +type GaugeChartPrimaryValueConditionalFormatting struct { + _ struct{} `type:"structure"` + + // The conditional formatting of the primary value icon. + Icon *ConditionalFormattingIcon `type:"structure"` + + // The conditional formatting of the primary value text color. + TextColor *ConditionalFormattingColor `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 GaugeChartPrimaryValueConditionalFormatting) 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 GaugeChartPrimaryValueConditionalFormatting) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GaugeChartPrimaryValueConditionalFormatting) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GaugeChartPrimaryValueConditionalFormatting"} + if s.Icon != nil { + if err := s.Icon.Validate(); err != nil { + invalidParams.AddNested("Icon", err.(request.ErrInvalidParams)) + } + } + if s.TextColor != nil { + if err := s.TextColor.Validate(); err != nil { + invalidParams.AddNested("TextColor", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetIcon sets the Icon field's value. +func (s *GaugeChartPrimaryValueConditionalFormatting) SetIcon(v *ConditionalFormattingIcon) *GaugeChartPrimaryValueConditionalFormatting { + s.Icon = v + return s +} + +// SetTextColor sets the TextColor field's value. +func (s *GaugeChartPrimaryValueConditionalFormatting) SetTextColor(v *ConditionalFormattingColor) *GaugeChartPrimaryValueConditionalFormatting { + s.TextColor = v + return s +} + +// A gauge chart. +// +// For more information, see Using gauge charts (https://docs.aws.amazon.com/quicksight/latest/user/gauge-chart.html) +// in the Amazon QuickSight User Guide. +type GaugeChartVisual struct { + _ struct{} `type:"structure"` + + // The list of custom actions that are configured for a visual. + Actions []*VisualCustomAction `type:"list"` + + // The configuration of a GaugeChartVisual. + ChartConfiguration *GaugeChartConfiguration `type:"structure"` + + // The conditional formatting of a GaugeChartVisual. + ConditionalFormatting *GaugeChartConditionalFormatting `type:"structure"` + + // The subtitle that is displayed on the visual. + Subtitle *VisualSubtitleLabelOptions `type:"structure"` + + // The title that is displayed on the visual. + Title *VisualTitleLabelOptions `type:"structure"` + + // The unique identifier of a visual. This identifier must be unique within + // the context of a dashboard, template, or analysis. Two dashboards, analyses, + // or templates can have visuals with the same identifiers. + // + // VisualId is a required field + VisualId *string `min:"1" type:"string" required:"true"` +} + +// 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 GaugeChartVisual) 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 GaugeChartVisual) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GaugeChartVisual) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GaugeChartVisual"} + if s.VisualId == nil { + invalidParams.Add(request.NewErrParamRequired("VisualId")) + } + if s.VisualId != nil && len(*s.VisualId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("VisualId", 1)) + } + if s.Actions != nil { + for i, v := range s.Actions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Actions", i), err.(request.ErrInvalidParams)) + } + } + } + if s.ChartConfiguration != nil { + if err := s.ChartConfiguration.Validate(); err != nil { + invalidParams.AddNested("ChartConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.ConditionalFormatting != nil { + if err := s.ConditionalFormatting.Validate(); err != nil { + invalidParams.AddNested("ConditionalFormatting", err.(request.ErrInvalidParams)) + } + } + if s.Subtitle != nil { + if err := s.Subtitle.Validate(); err != nil { + invalidParams.AddNested("Subtitle", err.(request.ErrInvalidParams)) + } + } + if s.Title != nil { + if err := s.Title.Validate(); err != nil { + invalidParams.AddNested("Title", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetActions sets the Actions field's value. +func (s *GaugeChartVisual) SetActions(v []*VisualCustomAction) *GaugeChartVisual { + s.Actions = v + return s +} + +// SetChartConfiguration sets the ChartConfiguration field's value. +func (s *GaugeChartVisual) SetChartConfiguration(v *GaugeChartConfiguration) *GaugeChartVisual { + s.ChartConfiguration = v + return s +} + +// SetConditionalFormatting sets the ConditionalFormatting field's value. +func (s *GaugeChartVisual) SetConditionalFormatting(v *GaugeChartConditionalFormatting) *GaugeChartVisual { + s.ConditionalFormatting = v + return s +} + +// SetSubtitle sets the Subtitle field's value. +func (s *GaugeChartVisual) SetSubtitle(v *VisualSubtitleLabelOptions) *GaugeChartVisual { + s.Subtitle = v + return s +} + +// SetTitle sets the Title field's value. +func (s *GaugeChartVisual) SetTitle(v *VisualTitleLabelOptions) *GaugeChartVisual { + s.Title = v + return s +} + +// SetVisualId sets the VisualId field's value. +func (s *GaugeChartVisual) SetVisualId(v string) *GaugeChartVisual { + s.VisualId = &v + return s +} + +type GenerateEmbedUrlForAnonymousUserInput struct { + _ struct{} `type:"structure"` + + // The domains that you want to add to the allow list for access to the generated + // URL that is then embedded. This optional parameter overrides the static domains + // that are configured in the Manage QuickSight menu in the Amazon QuickSight + // console. Instead, it allows only the domains that you include in this parameter. + // You can list up to three domains or subdomains in each API call. + // + // To include all subdomains under a specific domain to the allow list, use + // *. For example, https://*.sapp.amazon.com includes all subdomains under https://sapp.amazon.com. + AllowedDomains []*string `type:"list"` + + // The Amazon Resource Names (ARNs) for the Amazon QuickSight resources that + // the user is authorized to access during the lifetime of the session. If you + // choose Dashboard embedding experience, pass the list of dashboard ARNs in + // the account that you want the user to be able to view. Currently, you can + // pass up to 25 dashboard ARNs in each API call. + // + // AuthorizedResourceArns is a required field + AuthorizedResourceArns []*string `type:"list" required:"true"` + + // The ID for the Amazon Web Services account that contains the dashboard that + // you're embedding. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The configuration of the experience that you are embedding. + // + // ExperienceConfiguration is a required field + ExperienceConfiguration *AnonymousUserEmbeddingExperienceConfiguration `type:"structure" required:"true"` + + // The Amazon QuickSight namespace that the anonymous user virtually belongs + // to. If you are not using an Amazon QuickSight custom namespace, set this + // to default. + // + // Namespace is a required field + Namespace *string `type:"string" required:"true"` + + // How many minutes the session is valid. The session lifetime must be in [15-600] + // minutes range. + SessionLifetimeInMinutes *int64 `min:"15" type:"long"` + + // The session tags used for row-level security. Before you use this parameter, + // make sure that you have configured the relevant datasets using the DataSet$RowLevelPermissionTagConfiguration + // parameter so that session tags can be used to provide row-level security. + // + // These are not the tags used for the Amazon Web Services resource tagging + // feature. For more information, see Using Row-Level Security (RLS) with Tags + // (https://docs.aws.amazon.com/quicksight/latest/user/quicksight-dev-rls-tags.html)in + // the Amazon QuickSight User Guide. + SessionTags []*SessionTag `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 GenerateEmbedUrlForAnonymousUserInput) 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 GenerateEmbedUrlForAnonymousUserInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GenerateEmbedUrlForAnonymousUserInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GenerateEmbedUrlForAnonymousUserInput"} + if s.AuthorizedResourceArns == nil { + invalidParams.Add(request.NewErrParamRequired("AuthorizedResourceArns")) + } + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.ExperienceConfiguration == nil { + invalidParams.Add(request.NewErrParamRequired("ExperienceConfiguration")) + } + if s.Namespace == nil { + invalidParams.Add(request.NewErrParamRequired("Namespace")) + } + if s.SessionLifetimeInMinutes != nil && *s.SessionLifetimeInMinutes < 15 { + invalidParams.Add(request.NewErrParamMinValue("SessionLifetimeInMinutes", 15)) + } + if s.SessionTags != nil && len(s.SessionTags) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SessionTags", 1)) + } + if s.ExperienceConfiguration != nil { + if err := s.ExperienceConfiguration.Validate(); err != nil { + invalidParams.AddNested("ExperienceConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.SessionTags != nil { + for i, v := range s.SessionTags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SessionTags", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAllowedDomains sets the AllowedDomains field's value. +func (s *GenerateEmbedUrlForAnonymousUserInput) SetAllowedDomains(v []*string) *GenerateEmbedUrlForAnonymousUserInput { + s.AllowedDomains = v + return s +} + +// SetAuthorizedResourceArns sets the AuthorizedResourceArns field's value. +func (s *GenerateEmbedUrlForAnonymousUserInput) SetAuthorizedResourceArns(v []*string) *GenerateEmbedUrlForAnonymousUserInput { + s.AuthorizedResourceArns = v + return s +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *GenerateEmbedUrlForAnonymousUserInput) SetAwsAccountId(v string) *GenerateEmbedUrlForAnonymousUserInput { + s.AwsAccountId = &v + return s +} + +// SetExperienceConfiguration sets the ExperienceConfiguration field's value. +func (s *GenerateEmbedUrlForAnonymousUserInput) SetExperienceConfiguration(v *AnonymousUserEmbeddingExperienceConfiguration) *GenerateEmbedUrlForAnonymousUserInput { + s.ExperienceConfiguration = v + return s +} + +// SetNamespace sets the Namespace field's value. +func (s *GenerateEmbedUrlForAnonymousUserInput) SetNamespace(v string) *GenerateEmbedUrlForAnonymousUserInput { + s.Namespace = &v + return s +} + +// SetSessionLifetimeInMinutes sets the SessionLifetimeInMinutes field's value. +func (s *GenerateEmbedUrlForAnonymousUserInput) SetSessionLifetimeInMinutes(v int64) *GenerateEmbedUrlForAnonymousUserInput { + s.SessionLifetimeInMinutes = &v + return s +} + +// SetSessionTags sets the SessionTags field's value. +func (s *GenerateEmbedUrlForAnonymousUserInput) SetSessionTags(v []*SessionTag) *GenerateEmbedUrlForAnonymousUserInput { + s.SessionTags = v + return s +} + +type GenerateEmbedUrlForAnonymousUserOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) to use for the anonymous Amazon QuickSight + // user. + // + // AnonymousUserArn is a required field + AnonymousUserArn *string `type:"string" required:"true"` + + // The embed URL for the dashboard. + // + // EmbedUrl is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by GenerateEmbedUrlForAnonymousUserOutput's + // String and GoString methods. + // + // EmbedUrl is a required field + EmbedUrl *string `type:"string" required:"true" sensitive:"true"` + + // The Amazon Web Services request ID for this operation. + // + // RequestId is a required field + RequestId *string `type:"string" required:"true"` + + // The HTTP status of the request. + // + // Status is a required field + Status *int64 `location:"statusCode" type:"integer" required:"true"` +} + +// 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 GenerateEmbedUrlForAnonymousUserOutput) 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 GenerateEmbedUrlForAnonymousUserOutput) GoString() string { + return s.String() +} + +// SetAnonymousUserArn sets the AnonymousUserArn field's value. +func (s *GenerateEmbedUrlForAnonymousUserOutput) SetAnonymousUserArn(v string) *GenerateEmbedUrlForAnonymousUserOutput { + s.AnonymousUserArn = &v + return s +} + +// SetEmbedUrl sets the EmbedUrl field's value. +func (s *GenerateEmbedUrlForAnonymousUserOutput) SetEmbedUrl(v string) *GenerateEmbedUrlForAnonymousUserOutput { + s.EmbedUrl = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *GenerateEmbedUrlForAnonymousUserOutput) SetRequestId(v string) *GenerateEmbedUrlForAnonymousUserOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *GenerateEmbedUrlForAnonymousUserOutput) SetStatus(v int64) *GenerateEmbedUrlForAnonymousUserOutput { + s.Status = &v + return s +} + +type GenerateEmbedUrlForRegisteredUserInput struct { + _ struct{} `type:"structure"` + + // The domains that you want to add to the allow list for access to the generated + // URL that is then embedded. This optional parameter overrides the static domains + // that are configured in the Manage QuickSight menu in the Amazon QuickSight + // console. Instead, it allows only the domains that you include in this parameter. + // You can list up to three domains or subdomains in each API call. + // + // To include all subdomains under a specific domain to the allow list, use + // *. For example, https://*.sapp.amazon.com includes all subdomains under https://sapp.amazon.com. + AllowedDomains []*string `type:"list"` + + // The ID for the Amazon Web Services account that contains the dashboard that + // you're embedding. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The experience you are embedding. For registered users, you can embed Amazon + // QuickSight dashboards, Amazon QuickSight visuals, the Amazon QuickSight Q + // search bar, or the entire Amazon QuickSight console. + // + // ExperienceConfiguration is a required field + ExperienceConfiguration *RegisteredUserEmbeddingExperienceConfiguration `type:"structure" required:"true"` + + // How many minutes the session is valid. The session lifetime must be in [15-600] + // minutes range. + SessionLifetimeInMinutes *int64 `min:"15" type:"long"` + + // The Amazon Resource Name for the registered user. + // + // UserArn is a required field + UserArn *string `type:"string" required:"true"` +} + +// 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 GenerateEmbedUrlForRegisteredUserInput) 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 GenerateEmbedUrlForRegisteredUserInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GenerateEmbedUrlForRegisteredUserInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GenerateEmbedUrlForRegisteredUserInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.ExperienceConfiguration == nil { + invalidParams.Add(request.NewErrParamRequired("ExperienceConfiguration")) + } + if s.SessionLifetimeInMinutes != nil && *s.SessionLifetimeInMinutes < 15 { + invalidParams.Add(request.NewErrParamMinValue("SessionLifetimeInMinutes", 15)) + } + if s.UserArn == nil { + invalidParams.Add(request.NewErrParamRequired("UserArn")) + } + if s.ExperienceConfiguration != nil { + if err := s.ExperienceConfiguration.Validate(); err != nil { + invalidParams.AddNested("ExperienceConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAllowedDomains sets the AllowedDomains field's value. +func (s *GenerateEmbedUrlForRegisteredUserInput) SetAllowedDomains(v []*string) *GenerateEmbedUrlForRegisteredUserInput { + s.AllowedDomains = v + return s +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *GenerateEmbedUrlForRegisteredUserInput) SetAwsAccountId(v string) *GenerateEmbedUrlForRegisteredUserInput { + s.AwsAccountId = &v + return s +} + +// SetExperienceConfiguration sets the ExperienceConfiguration field's value. +func (s *GenerateEmbedUrlForRegisteredUserInput) SetExperienceConfiguration(v *RegisteredUserEmbeddingExperienceConfiguration) *GenerateEmbedUrlForRegisteredUserInput { + s.ExperienceConfiguration = v + return s +} + +// SetSessionLifetimeInMinutes sets the SessionLifetimeInMinutes field's value. +func (s *GenerateEmbedUrlForRegisteredUserInput) SetSessionLifetimeInMinutes(v int64) *GenerateEmbedUrlForRegisteredUserInput { + s.SessionLifetimeInMinutes = &v + return s +} + +// SetUserArn sets the UserArn field's value. +func (s *GenerateEmbedUrlForRegisteredUserInput) SetUserArn(v string) *GenerateEmbedUrlForRegisteredUserInput { + s.UserArn = &v + return s +} + +type GenerateEmbedUrlForRegisteredUserOutput struct { + _ struct{} `type:"structure"` + + // The embed URL for the Amazon QuickSight dashboard, visual, Q search bar, + // or console. + // + // EmbedUrl is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by GenerateEmbedUrlForRegisteredUserOutput's + // String and GoString methods. + // + // EmbedUrl is a required field + EmbedUrl *string `type:"string" required:"true" sensitive:"true"` + + // The Amazon Web Services request ID for this operation. + // + // RequestId is a required field + RequestId *string `type:"string" required:"true"` + + // The HTTP status of the request. + // + // Status is a required field + Status *int64 `location:"statusCode" type:"integer" required:"true"` +} + +// 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 GenerateEmbedUrlForRegisteredUserOutput) 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 GenerateEmbedUrlForRegisteredUserOutput) GoString() string { + return s.String() +} + +// SetEmbedUrl sets the EmbedUrl field's value. +func (s *GenerateEmbedUrlForRegisteredUserOutput) SetEmbedUrl(v string) *GenerateEmbedUrlForRegisteredUserOutput { + s.EmbedUrl = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *GenerateEmbedUrlForRegisteredUserOutput) SetRequestId(v string) *GenerateEmbedUrlForRegisteredUserOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *GenerateEmbedUrlForRegisteredUserOutput) SetStatus(v int64) *GenerateEmbedUrlForRegisteredUserOutput { + s.Status = &v + return s +} + +// Geospatial column group that denotes a hierarchy. +type GeoSpatialColumnGroup struct { + _ struct{} `type:"structure"` + + // Columns in this hierarchy. + // + // Columns is a required field + Columns []*string `min:"1" type:"list" required:"true"` + + // Country code. + CountryCode *string `type:"string" enum:"GeoSpatialCountryCode"` + + // A display name for the hierarchy. + // + // Name is a required field + Name *string `min:"1" type:"string" required:"true"` +} + +// 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 GeoSpatialColumnGroup) 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 GeoSpatialColumnGroup) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GeoSpatialColumnGroup) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GeoSpatialColumnGroup"} + if s.Columns == nil { + invalidParams.Add(request.NewErrParamRequired("Columns")) + } + if s.Columns != nil && len(s.Columns) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Columns", 1)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetColumns sets the Columns field's value. +func (s *GeoSpatialColumnGroup) SetColumns(v []*string) *GeoSpatialColumnGroup { + s.Columns = v + return s +} + +// SetCountryCode sets the CountryCode field's value. +func (s *GeoSpatialColumnGroup) SetCountryCode(v string) *GeoSpatialColumnGroup { + s.CountryCode = &v + return s +} + +// SetName sets the Name field's value. +func (s *GeoSpatialColumnGroup) SetName(v string) *GeoSpatialColumnGroup { + s.Name = &v + return s +} + +// The bound options (north, south, west, east) of the geospatial window options. +type GeospatialCoordinateBounds struct { + _ struct{} `type:"structure"` + + // The longitude of the east bound of the geospatial coordinate bounds. + // + // East is a required field + East *float64 `type:"double" required:"true"` + + // The latitude of the north bound of the geospatial coordinate bounds. + // + // North is a required field + North *float64 `type:"double" required:"true"` + + // The latitude of the south bound of the geospatial coordinate bounds. + // + // South is a required field + South *float64 `type:"double" required:"true"` + + // The longitude of the west bound of the geospatial coordinate bounds. + // + // West is a required field + West *float64 `type:"double" required:"true"` +} + +// 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 GeospatialCoordinateBounds) 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 GeospatialCoordinateBounds) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GeospatialCoordinateBounds) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GeospatialCoordinateBounds"} + if s.East == nil { + invalidParams.Add(request.NewErrParamRequired("East")) + } + if s.East != nil && *s.East < -1800 { + invalidParams.Add(request.NewErrParamMinValue("East", -1800)) + } + if s.North == nil { + invalidParams.Add(request.NewErrParamRequired("North")) + } + if s.North != nil && *s.North < -90 { + invalidParams.Add(request.NewErrParamMinValue("North", -90)) + } + if s.South == nil { + invalidParams.Add(request.NewErrParamRequired("South")) + } + if s.South != nil && *s.South < -90 { + invalidParams.Add(request.NewErrParamMinValue("South", -90)) + } + if s.West == nil { + invalidParams.Add(request.NewErrParamRequired("West")) + } + if s.West != nil && *s.West < -1800 { + invalidParams.Add(request.NewErrParamMinValue("West", -1800)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEast sets the East field's value. +func (s *GeospatialCoordinateBounds) SetEast(v float64) *GeospatialCoordinateBounds { + s.East = &v + return s +} + +// SetNorth sets the North field's value. +func (s *GeospatialCoordinateBounds) SetNorth(v float64) *GeospatialCoordinateBounds { + s.North = &v + return s +} + +// SetSouth sets the South field's value. +func (s *GeospatialCoordinateBounds) SetSouth(v float64) *GeospatialCoordinateBounds { + s.South = &v + return s +} + +// SetWest sets the West field's value. +func (s *GeospatialCoordinateBounds) SetWest(v float64) *GeospatialCoordinateBounds { + s.West = &v + return s +} + +// The aggregated field wells for a geospatial map. +type GeospatialMapAggregatedFieldWells struct { + _ struct{} `type:"structure"` + + // The color field wells of a geospatial map. + Colors []*DimensionField `type:"list"` + + // The geospatial field wells of a geospatial map. Values are grouped by geospatial + // fields. + Geospatial []*DimensionField `type:"list"` + + // The size field wells of a geospatial map. Values are aggregated based on + // geospatial fields. + Values []*MeasureField `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 GeospatialMapAggregatedFieldWells) 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 GeospatialMapAggregatedFieldWells) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GeospatialMapAggregatedFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GeospatialMapAggregatedFieldWells"} + if s.Colors != nil { + for i, v := range s.Colors { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Colors", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Geospatial != nil { + for i, v := range s.Geospatial { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Geospatial", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Values != nil { + for i, v := range s.Values { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Values", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetColors sets the Colors field's value. +func (s *GeospatialMapAggregatedFieldWells) SetColors(v []*DimensionField) *GeospatialMapAggregatedFieldWells { + s.Colors = v + return s +} + +// SetGeospatial sets the Geospatial field's value. +func (s *GeospatialMapAggregatedFieldWells) SetGeospatial(v []*DimensionField) *GeospatialMapAggregatedFieldWells { + s.Geospatial = v + return s +} + +// SetValues sets the Values field's value. +func (s *GeospatialMapAggregatedFieldWells) SetValues(v []*MeasureField) *GeospatialMapAggregatedFieldWells { + s.Values = v + return s +} + +// The configuration of a GeospatialMapVisual. +type GeospatialMapConfiguration struct { + _ struct{} `type:"structure"` + + // The field wells of the visual. + FieldWells *GeospatialMapFieldWells `type:"structure"` + + // The legend display setup of the visual. + Legend *LegendOptions `type:"structure"` + + // The map style options of the geospatial map. + MapStyleOptions *GeospatialMapStyleOptions `type:"structure"` + + // The point style options of the geospatial map. + PointStyleOptions *GeospatialPointStyleOptions `type:"structure"` + + // The tooltip display setup of the visual. + Tooltip *TooltipOptions `type:"structure"` + + // The visual display options for the visual palette. + VisualPalette *VisualPalette `type:"structure"` + + // The window options of the geospatial map. + WindowOptions *GeospatialWindowOptions `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 GeospatialMapConfiguration) 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 GeospatialMapConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GeospatialMapConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GeospatialMapConfiguration"} + if s.FieldWells != nil { + if err := s.FieldWells.Validate(); err != nil { + invalidParams.AddNested("FieldWells", err.(request.ErrInvalidParams)) + } + } + if s.Tooltip != nil { + if err := s.Tooltip.Validate(); err != nil { + invalidParams.AddNested("Tooltip", err.(request.ErrInvalidParams)) + } + } + if s.VisualPalette != nil { + if err := s.VisualPalette.Validate(); err != nil { + invalidParams.AddNested("VisualPalette", err.(request.ErrInvalidParams)) + } + } + if s.WindowOptions != nil { + if err := s.WindowOptions.Validate(); err != nil { + invalidParams.AddNested("WindowOptions", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFieldWells sets the FieldWells field's value. +func (s *GeospatialMapConfiguration) SetFieldWells(v *GeospatialMapFieldWells) *GeospatialMapConfiguration { + s.FieldWells = v + return s +} + +// SetLegend sets the Legend field's value. +func (s *GeospatialMapConfiguration) SetLegend(v *LegendOptions) *GeospatialMapConfiguration { + s.Legend = v + return s +} + +// SetMapStyleOptions sets the MapStyleOptions field's value. +func (s *GeospatialMapConfiguration) SetMapStyleOptions(v *GeospatialMapStyleOptions) *GeospatialMapConfiguration { + s.MapStyleOptions = v + return s +} + +// SetPointStyleOptions sets the PointStyleOptions field's value. +func (s *GeospatialMapConfiguration) SetPointStyleOptions(v *GeospatialPointStyleOptions) *GeospatialMapConfiguration { + s.PointStyleOptions = v + return s +} + +// SetTooltip sets the Tooltip field's value. +func (s *GeospatialMapConfiguration) SetTooltip(v *TooltipOptions) *GeospatialMapConfiguration { + s.Tooltip = v + return s +} + +// SetVisualPalette sets the VisualPalette field's value. +func (s *GeospatialMapConfiguration) SetVisualPalette(v *VisualPalette) *GeospatialMapConfiguration { + s.VisualPalette = v + return s +} + +// SetWindowOptions sets the WindowOptions field's value. +func (s *GeospatialMapConfiguration) SetWindowOptions(v *GeospatialWindowOptions) *GeospatialMapConfiguration { + s.WindowOptions = v + return s +} + +// The field wells of a GeospatialMapVisual. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type GeospatialMapFieldWells struct { + _ struct{} `type:"structure"` + + // The aggregated field well for a geospatial map. + GeospatialMapAggregatedFieldWells *GeospatialMapAggregatedFieldWells `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 GeospatialMapFieldWells) 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 GeospatialMapFieldWells) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GeospatialMapFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GeospatialMapFieldWells"} + if s.GeospatialMapAggregatedFieldWells != nil { + if err := s.GeospatialMapAggregatedFieldWells.Validate(); err != nil { + invalidParams.AddNested("GeospatialMapAggregatedFieldWells", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetGeospatialMapAggregatedFieldWells sets the GeospatialMapAggregatedFieldWells field's value. +func (s *GeospatialMapFieldWells) SetGeospatialMapAggregatedFieldWells(v *GeospatialMapAggregatedFieldWells) *GeospatialMapFieldWells { + s.GeospatialMapAggregatedFieldWells = v + return s +} + +// The map style options of the geospatial map. +type GeospatialMapStyleOptions struct { + _ struct{} `type:"structure"` + + // The base map style of the geospatial map. + BaseMapStyle *string `type:"string" enum:"BaseMapStyleType"` +} + +// 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 GeospatialMapStyleOptions) 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 GeospatialMapStyleOptions) GoString() string { + return s.String() +} + +// SetBaseMapStyle sets the BaseMapStyle field's value. +func (s *GeospatialMapStyleOptions) SetBaseMapStyle(v string) *GeospatialMapStyleOptions { + s.BaseMapStyle = &v + return s +} + +// A geospatial map or a points on map visual. +// +// For more information, see Creating point maps (https://docs.aws.amazon.com/quicksight/latest/user/point-maps.html) +// in the Amazon QuickSight User Guide. +type GeospatialMapVisual struct { + _ struct{} `type:"structure"` + + // The list of custom actions that are configured for a visual. + Actions []*VisualCustomAction `type:"list"` + + // The configuration settings of the visual. + ChartConfiguration *GeospatialMapConfiguration `type:"structure"` + + // The column hierarchy that is used during drill-downs and drill-ups. + ColumnHierarchies []*ColumnHierarchy `type:"list"` + + // The subtitle that is displayed on the visual. + Subtitle *VisualSubtitleLabelOptions `type:"structure"` + + // The title that is displayed on the visual. + Title *VisualTitleLabelOptions `type:"structure"` + + // The unique identifier of a visual. This identifier must be unique within + // the context of a dashboard, template, or analysis. Two dashboards, analyses, + // or templates can have visuals with the same identifiers.. + // + // VisualId is a required field + VisualId *string `min:"1" type:"string" required:"true"` +} + +// 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 GeospatialMapVisual) 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 GeospatialMapVisual) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GeospatialMapVisual) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GeospatialMapVisual"} + if s.VisualId == nil { + invalidParams.Add(request.NewErrParamRequired("VisualId")) + } + if s.VisualId != nil && len(*s.VisualId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("VisualId", 1)) + } + if s.Actions != nil { + for i, v := range s.Actions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Actions", i), err.(request.ErrInvalidParams)) + } + } + } + if s.ChartConfiguration != nil { + if err := s.ChartConfiguration.Validate(); err != nil { + invalidParams.AddNested("ChartConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.ColumnHierarchies != nil { + for i, v := range s.ColumnHierarchies { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnHierarchies", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Subtitle != nil { + if err := s.Subtitle.Validate(); err != nil { + invalidParams.AddNested("Subtitle", err.(request.ErrInvalidParams)) + } + } + if s.Title != nil { + if err := s.Title.Validate(); err != nil { + invalidParams.AddNested("Title", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetActions sets the Actions field's value. +func (s *GeospatialMapVisual) SetActions(v []*VisualCustomAction) *GeospatialMapVisual { + s.Actions = v + return s +} + +// SetChartConfiguration sets the ChartConfiguration field's value. +func (s *GeospatialMapVisual) SetChartConfiguration(v *GeospatialMapConfiguration) *GeospatialMapVisual { + s.ChartConfiguration = v + return s +} + +// SetColumnHierarchies sets the ColumnHierarchies field's value. +func (s *GeospatialMapVisual) SetColumnHierarchies(v []*ColumnHierarchy) *GeospatialMapVisual { + s.ColumnHierarchies = v + return s +} + +// SetSubtitle sets the Subtitle field's value. +func (s *GeospatialMapVisual) SetSubtitle(v *VisualSubtitleLabelOptions) *GeospatialMapVisual { + s.Subtitle = v + return s +} + +// SetTitle sets the Title field's value. +func (s *GeospatialMapVisual) SetTitle(v *VisualTitleLabelOptions) *GeospatialMapVisual { + s.Title = v + return s +} + +// SetVisualId sets the VisualId field's value. +func (s *GeospatialMapVisual) SetVisualId(v string) *GeospatialMapVisual { + s.VisualId = &v + return s +} + +// The point style of the geospatial map. +type GeospatialPointStyleOptions struct { + _ struct{} `type:"structure"` + + // The cluster marker configuration of the geospatial point style. + ClusterMarkerConfiguration *ClusterMarkerConfiguration `type:"structure"` + + // The selected point styles (point, cluster) of the geospatial map. + SelectedPointStyle *string `type:"string" enum:"GeospatialSelectedPointStyle"` +} + +// 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 GeospatialPointStyleOptions) 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 GeospatialPointStyleOptions) GoString() string { + return s.String() +} + +// SetClusterMarkerConfiguration sets the ClusterMarkerConfiguration field's value. +func (s *GeospatialPointStyleOptions) SetClusterMarkerConfiguration(v *ClusterMarkerConfiguration) *GeospatialPointStyleOptions { + s.ClusterMarkerConfiguration = v + return s +} + +// SetSelectedPointStyle sets the SelectedPointStyle field's value. +func (s *GeospatialPointStyleOptions) SetSelectedPointStyle(v string) *GeospatialPointStyleOptions { + s.SelectedPointStyle = &v + return s +} + +// The window options of the geospatial map visual. +type GeospatialWindowOptions struct { + _ struct{} `type:"structure"` + + // The bounds options (north, south, west, east) of the geospatial window options. + Bounds *GeospatialCoordinateBounds `type:"structure"` + + // The map zoom modes (manual, auto) of the geospatial window options. + MapZoomMode *string `type:"string" enum:"MapZoomMode"` +} + +// 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 GeospatialWindowOptions) 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 GeospatialWindowOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GeospatialWindowOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GeospatialWindowOptions"} + if s.Bounds != nil { + if err := s.Bounds.Validate(); err != nil { + invalidParams.AddNested("Bounds", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBounds sets the Bounds field's value. +func (s *GeospatialWindowOptions) SetBounds(v *GeospatialCoordinateBounds) *GeospatialWindowOptions { + s.Bounds = v + return s +} + +// SetMapZoomMode sets the MapZoomMode field's value. +func (s *GeospatialWindowOptions) SetMapZoomMode(v string) *GeospatialWindowOptions { + s.MapZoomMode = &v + return s +} + +type GetDashboardEmbedUrlInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // A list of one or more dashboard IDs that you want anonymous users to have + // tempporary access to. Currently, the IdentityType parameter must be set to + // ANONYMOUS because other identity types authenticate as Amazon QuickSight + // or IAM users. For example, if you set "--dashboard-id dash_id1 --dashboard-id + // dash_id2 dash_id3 identity-type ANONYMOUS", the session can access all three + // dashboards. + AdditionalDashboardIds []*string `location:"querystring" locationName:"additional-dashboard-ids" min:"1" type:"list"` + + // The ID for the Amazon Web Services account that contains the dashboard that + // you're embedding. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The ID for the dashboard, also added to the Identity and Access Management + // (IAM) policy. + // + // DashboardId is a required field + DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"` + + // The authentication method that the user uses to sign in. + // + // IdentityType is a required field + IdentityType *string `location:"querystring" locationName:"creds-type" type:"string" required:"true" enum:"EmbeddingIdentityType"` + + // The Amazon QuickSight namespace that contains the dashboard IDs in this request. + // If you're not using a custom namespace, set Namespace = default. + Namespace *string `location:"querystring" locationName:"namespace" type:"string"` + + // Remove the reset button on the embedded dashboard. The default is FALSE, + // which enables the reset button. + ResetDisabled *bool `location:"querystring" locationName:"reset-disabled" type:"boolean"` + + // How many minutes the session is valid. The session lifetime must be 15-600 + // minutes. + SessionLifetimeInMinutes *int64 `location:"querystring" locationName:"session-lifetime" min:"15" type:"long"` + + // Adds persistence of state for the user session in an embedded dashboard. + // Persistence applies to the sheet and the parameter settings. These are control + // settings that the dashboard subscriber (Amazon QuickSight reader) chooses + // while viewing the dashboard. If this is set to TRUE, the settings are the + // same when the subscriber reopens the same dashboard URL. The state is stored + // in Amazon QuickSight, not in a browser cookie. If this is set to FALSE, the + // state of the user session is not persisted. The default is FALSE. + StatePersistenceEnabled *bool `location:"querystring" locationName:"state-persistence-enabled" type:"boolean"` + + // Remove the undo/redo button on the embedded dashboard. The default is FALSE, + // which enables the undo/redo button. + UndoRedoDisabled *bool `location:"querystring" locationName:"undo-redo-disabled" type:"boolean"` + + // The Amazon QuickSight user's Amazon Resource Name (ARN), for use with QUICKSIGHT + // identity type. You can use this for any Amazon QuickSight users in your account + // (readers, authors, or admins) authenticated as one of the following: + // + // * Active Directory (AD) users or group members + // + // * Invited nonfederated users + // + // * IAM users and IAM role-based sessions authenticated through Federated + // Single Sign-On using SAML, OpenID Connect, or IAM federation. + // + // Omit this parameter for users in the third group – IAM users and IAM role-based + // sessions. + UserArn *string `location:"querystring" locationName:"user-arn" 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 GetDashboardEmbedUrlInput) 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 GetDashboardEmbedUrlInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetDashboardEmbedUrlInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetDashboardEmbedUrlInput"} + if s.AdditionalDashboardIds != nil && len(s.AdditionalDashboardIds) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AdditionalDashboardIds", 1)) + } + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.DashboardId == nil { + invalidParams.Add(request.NewErrParamRequired("DashboardId")) + } + if s.DashboardId != nil && len(*s.DashboardId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1)) + } + if s.IdentityType == nil { + invalidParams.Add(request.NewErrParamRequired("IdentityType")) + } + if s.SessionLifetimeInMinutes != nil && *s.SessionLifetimeInMinutes < 15 { + invalidParams.Add(request.NewErrParamMinValue("SessionLifetimeInMinutes", 15)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAdditionalDashboardIds sets the AdditionalDashboardIds field's value. +func (s *GetDashboardEmbedUrlInput) SetAdditionalDashboardIds(v []*string) *GetDashboardEmbedUrlInput { + s.AdditionalDashboardIds = v + return s +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *GetDashboardEmbedUrlInput) SetAwsAccountId(v string) *GetDashboardEmbedUrlInput { + s.AwsAccountId = &v + return s +} + +// SetDashboardId sets the DashboardId field's value. +func (s *GetDashboardEmbedUrlInput) SetDashboardId(v string) *GetDashboardEmbedUrlInput { + s.DashboardId = &v + return s +} + +// SetIdentityType sets the IdentityType field's value. +func (s *GetDashboardEmbedUrlInput) SetIdentityType(v string) *GetDashboardEmbedUrlInput { + s.IdentityType = &v + return s +} + +// SetNamespace sets the Namespace field's value. +func (s *GetDashboardEmbedUrlInput) SetNamespace(v string) *GetDashboardEmbedUrlInput { + s.Namespace = &v + return s +} + +// SetResetDisabled sets the ResetDisabled field's value. +func (s *GetDashboardEmbedUrlInput) SetResetDisabled(v bool) *GetDashboardEmbedUrlInput { + s.ResetDisabled = &v + return s +} + +// SetSessionLifetimeInMinutes sets the SessionLifetimeInMinutes field's value. +func (s *GetDashboardEmbedUrlInput) SetSessionLifetimeInMinutes(v int64) *GetDashboardEmbedUrlInput { + s.SessionLifetimeInMinutes = &v + return s +} + +// SetStatePersistenceEnabled sets the StatePersistenceEnabled field's value. +func (s *GetDashboardEmbedUrlInput) SetStatePersistenceEnabled(v bool) *GetDashboardEmbedUrlInput { + s.StatePersistenceEnabled = &v + return s +} + +// SetUndoRedoDisabled sets the UndoRedoDisabled field's value. +func (s *GetDashboardEmbedUrlInput) SetUndoRedoDisabled(v bool) *GetDashboardEmbedUrlInput { + s.UndoRedoDisabled = &v + return s +} + +// SetUserArn sets the UserArn field's value. +func (s *GetDashboardEmbedUrlInput) SetUserArn(v string) *GetDashboardEmbedUrlInput { + s.UserArn = &v + return s +} + +// Output returned from the GetDashboardEmbedUrl operation. +type GetDashboardEmbedUrlOutput struct { + _ struct{} `type:"structure"` + + // A single-use URL that you can put into your server-side webpage to embed + // your dashboard. This URL is valid for 5 minutes. The API operation provides + // the URL with an auth_code value that enables one (and only one) sign-on to + // a user session that is valid for 10 hours. + // + // EmbedUrl is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by GetDashboardEmbedUrlOutput's + // String and GoString methods. + EmbedUrl *string `type:"string" sensitive:"true"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 GetDashboardEmbedUrlOutput) 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 GetDashboardEmbedUrlOutput) GoString() string { + return s.String() +} + +// SetEmbedUrl sets the EmbedUrl field's value. +func (s *GetDashboardEmbedUrlOutput) SetEmbedUrl(v string) *GetDashboardEmbedUrlOutput { + s.EmbedUrl = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *GetDashboardEmbedUrlOutput) SetRequestId(v string) *GetDashboardEmbedUrlOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetDashboardEmbedUrlOutput) SetStatus(v int64) *GetDashboardEmbedUrlOutput { + s.Status = &v + return s +} + +type GetSessionEmbedUrlInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID for the Amazon Web Services account associated with your Amazon QuickSight + // subscription. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The URL you use to access the embedded session. The entry point URL is constrained + // to the following paths: + // + // * /start + // + // * /start/analyses + // + // * /start/dashboards + // + // * /start/favorites + // + // * /dashboards/DashboardId - where DashboardId is the actual ID key from + // the Amazon QuickSight console URL of the dashboard + // + // * /analyses/AnalysisId - where AnalysisId is the actual ID key from the + // Amazon QuickSight console URL of the analysis + EntryPoint *string `location:"querystring" locationName:"entry-point" min:"1" type:"string"` + + // How many minutes the session is valid. The session lifetime must be 15-600 + // minutes. + SessionLifetimeInMinutes *int64 `location:"querystring" locationName:"session-lifetime" min:"15" type:"long"` + + // The Amazon QuickSight user's Amazon Resource Name (ARN), for use with QUICKSIGHT + // identity type. You can use this for any type of Amazon QuickSight users in + // your account (readers, authors, or admins). They need to be authenticated + // as one of the following: + // + // Active Directory (AD) users or group members + // + // Invited nonfederated users + // + // Identity and Access Management (IAM) users and IAM role-based sessions authenticated + // through Federated Single Sign-On using SAML, OpenID Connect, or IAM federation + // + // Omit this parameter for users in the third group, IAM users and IAM role-based + // sessions. + UserArn *string `location:"querystring" locationName:"user-arn" 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 GetSessionEmbedUrlInput) 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 GetSessionEmbedUrlInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetSessionEmbedUrlInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetSessionEmbedUrlInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.EntryPoint != nil && len(*s.EntryPoint) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EntryPoint", 1)) + } + if s.SessionLifetimeInMinutes != nil && *s.SessionLifetimeInMinutes < 15 { + invalidParams.Add(request.NewErrParamMinValue("SessionLifetimeInMinutes", 15)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *GetSessionEmbedUrlInput) SetAwsAccountId(v string) *GetSessionEmbedUrlInput { + s.AwsAccountId = &v + return s +} + +// SetEntryPoint sets the EntryPoint field's value. +func (s *GetSessionEmbedUrlInput) SetEntryPoint(v string) *GetSessionEmbedUrlInput { + s.EntryPoint = &v + return s +} + +// SetSessionLifetimeInMinutes sets the SessionLifetimeInMinutes field's value. +func (s *GetSessionEmbedUrlInput) SetSessionLifetimeInMinutes(v int64) *GetSessionEmbedUrlInput { + s.SessionLifetimeInMinutes = &v + return s +} + +// SetUserArn sets the UserArn field's value. +func (s *GetSessionEmbedUrlInput) SetUserArn(v string) *GetSessionEmbedUrlInput { + s.UserArn = &v + return s +} + +type GetSessionEmbedUrlOutput struct { + _ struct{} `type:"structure"` + + // A single-use URL that you can put into your server-side web page to embed + // your Amazon QuickSight session. This URL is valid for 5 minutes. The API + // operation provides the URL with an auth_code value that enables one (and + // only one) sign-on to a user session that is valid for 10 hours. + // + // EmbedUrl is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by GetSessionEmbedUrlOutput's + // String and GoString methods. + EmbedUrl *string `type:"string" sensitive:"true"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 GetSessionEmbedUrlOutput) 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 GetSessionEmbedUrlOutput) GoString() string { + return s.String() +} + +// SetEmbedUrl sets the EmbedUrl field's value. +func (s *GetSessionEmbedUrlOutput) SetEmbedUrl(v string) *GetSessionEmbedUrlOutput { + s.EmbedUrl = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *GetSessionEmbedUrlOutput) SetRequestId(v string) *GetSessionEmbedUrlOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetSessionEmbedUrlOutput) SetStatus(v int64) *GetSessionEmbedUrlOutput { + s.Status = &v + return s +} + +// Determines the border options for a table visual. +type GlobalTableBorderOptions struct { + _ struct{} `type:"structure"` + + // Determines the options for side specific border. + SideSpecificBorder *TableSideBorderOptions `type:"structure"` + + // Determines the options for uniform border. + UniformBorder *TableBorderOptions `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 GlobalTableBorderOptions) 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 GlobalTableBorderOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GlobalTableBorderOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GlobalTableBorderOptions"} + if s.SideSpecificBorder != nil { + if err := s.SideSpecificBorder.Validate(); err != nil { + invalidParams.AddNested("SideSpecificBorder", err.(request.ErrInvalidParams)) + } + } + if s.UniformBorder != nil { + if err := s.UniformBorder.Validate(); err != nil { + invalidParams.AddNested("UniformBorder", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetSideSpecificBorder sets the SideSpecificBorder field's value. +func (s *GlobalTableBorderOptions) SetSideSpecificBorder(v *TableSideBorderOptions) *GlobalTableBorderOptions { + s.SideSpecificBorder = v + return s +} + +// SetUniformBorder sets the UniformBorder field's value. +func (s *GlobalTableBorderOptions) SetUniformBorder(v *TableBorderOptions) *GlobalTableBorderOptions { + s.UniformBorder = v + return s +} + +// Determines the gradient color settings. +type GradientColor struct { + _ struct{} `type:"structure"` + + // The list of gradient color stops. + Stops []*GradientStop `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 GradientColor) 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 GradientColor) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GradientColor) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GradientColor"} + if s.Stops != nil { + for i, v := range s.Stops { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Stops", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetStops sets the Stops field's value. +func (s *GradientColor) SetStops(v []*GradientStop) *GradientColor { + s.Stops = v + return s +} + +// Determines the gradient stop configuration. +type GradientStop struct { + _ struct{} `type:"structure"` + + // Determines the color. + Color *string `type:"string"` + + // Determines the data value. + DataValue *float64 `type:"double"` + + // Determines gradient offset value. + // + // GradientOffset is a required field + GradientOffset *float64 `type:"double" required:"true"` +} + +// 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 GradientStop) 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 GradientStop) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GradientStop) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GradientStop"} + if s.GradientOffset == nil { + invalidParams.Add(request.NewErrParamRequired("GradientOffset")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetColor sets the Color field's value. +func (s *GradientStop) SetColor(v string) *GradientStop { + s.Color = &v + return s +} + +// SetDataValue sets the DataValue field's value. +func (s *GradientStop) SetDataValue(v float64) *GradientStop { + s.DataValue = &v + return s +} + +// SetGradientOffset sets the GradientOffset field's value. +func (s *GradientStop) SetGradientOffset(v float64) *GradientStop { + s.GradientOffset = &v + return s +} + +// Configuration options for the canvas of a grid layout. +type GridLayoutCanvasSizeOptions struct { + _ struct{} `type:"structure"` + + // The options that determine the sizing of the canvas used in a grid layout. + ScreenCanvasSizeOptions *GridLayoutScreenCanvasSizeOptions `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 GridLayoutCanvasSizeOptions) 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 GridLayoutCanvasSizeOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GridLayoutCanvasSizeOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GridLayoutCanvasSizeOptions"} + if s.ScreenCanvasSizeOptions != nil { + if err := s.ScreenCanvasSizeOptions.Validate(); err != nil { + invalidParams.AddNested("ScreenCanvasSizeOptions", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetScreenCanvasSizeOptions sets the ScreenCanvasSizeOptions field's value. +func (s *GridLayoutCanvasSizeOptions) SetScreenCanvasSizeOptions(v *GridLayoutScreenCanvasSizeOptions) *GridLayoutCanvasSizeOptions { + s.ScreenCanvasSizeOptions = v + return s +} + +// The configuration for a grid layout. Also called a tiled layout. +// +// Visuals snap to a grid with standard spacing and alignment. Dashboards are +// displayed as designed, with options to fit to screen or view at actual size. +type GridLayoutConfiguration struct { + _ struct{} `type:"structure"` + + // Configuration options for the canvas of a grid layout. + CanvasSizeOptions *GridLayoutCanvasSizeOptions `type:"structure"` + + // The elements that are included in a grid layout. + // + // Elements is a required field + Elements []*GridLayoutElement `type:"list" required:"true"` +} + +// 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 GridLayoutConfiguration) 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 GridLayoutConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GridLayoutConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GridLayoutConfiguration"} + if s.Elements == nil { + invalidParams.Add(request.NewErrParamRequired("Elements")) + } + if s.CanvasSizeOptions != nil { + if err := s.CanvasSizeOptions.Validate(); err != nil { + invalidParams.AddNested("CanvasSizeOptions", err.(request.ErrInvalidParams)) + } + } + if s.Elements != nil { + for i, v := range s.Elements { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Elements", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCanvasSizeOptions sets the CanvasSizeOptions field's value. +func (s *GridLayoutConfiguration) SetCanvasSizeOptions(v *GridLayoutCanvasSizeOptions) *GridLayoutConfiguration { + s.CanvasSizeOptions = v + return s +} + +// SetElements sets the Elements field's value. +func (s *GridLayoutConfiguration) SetElements(v []*GridLayoutElement) *GridLayoutConfiguration { + s.Elements = v + return s +} + +// An element within a grid layout. +type GridLayoutElement struct { + _ struct{} `type:"structure"` + + // The column index for the upper left corner of an element. + ColumnIndex *int64 `type:"integer"` + + // The width of a grid element expressed as a number of grid columns. + // + // ColumnSpan is a required field + ColumnSpan *int64 `min:"1" type:"integer" required:"true"` + + // A unique identifier for an element within a grid layout. + // + // ElementId is a required field + ElementId *string `min:"1" type:"string" required:"true"` + + // The type of element. + // + // ElementType is a required field + ElementType *string `type:"string" required:"true" enum:"LayoutElementType"` + + // The row index for the upper left corner of an element. + RowIndex *int64 `type:"integer"` + + // The height of a grid element expressed as a number of grid rows. + // + // RowSpan is a required field + RowSpan *int64 `min:"1" type:"integer" required:"true"` +} + +// 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 GridLayoutElement) 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 GridLayoutElement) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GridLayoutElement) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GridLayoutElement"} + if s.ColumnSpan == nil { + invalidParams.Add(request.NewErrParamRequired("ColumnSpan")) + } + if s.ColumnSpan != nil && *s.ColumnSpan < 1 { + invalidParams.Add(request.NewErrParamMinValue("ColumnSpan", 1)) + } + if s.ElementId == nil { + invalidParams.Add(request.NewErrParamRequired("ElementId")) + } + if s.ElementId != nil && len(*s.ElementId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ElementId", 1)) + } + if s.ElementType == nil { + invalidParams.Add(request.NewErrParamRequired("ElementType")) + } + if s.RowSpan == nil { + invalidParams.Add(request.NewErrParamRequired("RowSpan")) + } + if s.RowSpan != nil && *s.RowSpan < 1 { + invalidParams.Add(request.NewErrParamMinValue("RowSpan", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetColumnIndex sets the ColumnIndex field's value. +func (s *GridLayoutElement) SetColumnIndex(v int64) *GridLayoutElement { + s.ColumnIndex = &v + return s +} + +// SetColumnSpan sets the ColumnSpan field's value. +func (s *GridLayoutElement) SetColumnSpan(v int64) *GridLayoutElement { + s.ColumnSpan = &v + return s +} + +// SetElementId sets the ElementId field's value. +func (s *GridLayoutElement) SetElementId(v string) *GridLayoutElement { + s.ElementId = &v + return s +} + +// SetElementType sets the ElementType field's value. +func (s *GridLayoutElement) SetElementType(v string) *GridLayoutElement { + s.ElementType = &v + return s +} + +// SetRowIndex sets the RowIndex field's value. +func (s *GridLayoutElement) SetRowIndex(v int64) *GridLayoutElement { + s.RowIndex = &v + return s +} + +// SetRowSpan sets the RowSpan field's value. +func (s *GridLayoutElement) SetRowSpan(v int64) *GridLayoutElement { + s.RowSpan = &v + return s +} + +// The options that determine the sizing of the canvas used in a grid layout. +type GridLayoutScreenCanvasSizeOptions struct { + _ struct{} `type:"structure"` + + // The width that the view port will be optimized for when the layout renders. + OptimizedViewPortWidth *string `type:"string"` + + // This value determines the layout behavior when the viewport is resized. + // + // * FIXED: A fixed width will be used when optimizing the layout. In the + // Amazon QuickSight console, this option is called Classic. + // + // * RESPONSIVE: The width of the canvas will be responsive and optimized + // to the view port. In the Amazon QuickSight console, this option is called + // Tiled. + // + // ResizeOption is a required field + ResizeOption *string `type:"string" required:"true" enum:"ResizeOption"` +} + +// 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 GridLayoutScreenCanvasSizeOptions) 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 GridLayoutScreenCanvasSizeOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GridLayoutScreenCanvasSizeOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GridLayoutScreenCanvasSizeOptions"} + if s.ResizeOption == nil { + invalidParams.Add(request.NewErrParamRequired("ResizeOption")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetOptimizedViewPortWidth sets the OptimizedViewPortWidth field's value. +func (s *GridLayoutScreenCanvasSizeOptions) SetOptimizedViewPortWidth(v string) *GridLayoutScreenCanvasSizeOptions { + s.OptimizedViewPortWidth = &v + return s +} + +// SetResizeOption sets the ResizeOption field's value. +func (s *GridLayoutScreenCanvasSizeOptions) SetResizeOption(v string) *GridLayoutScreenCanvasSizeOptions { + s.ResizeOption = &v + return s +} + +// A group in Amazon QuickSight consists of a set of users. You can use groups +// to make it easier to manage access and security. +type Group struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) for the group. + Arn *string `type:"string"` + + // The group description. + Description *string `min:"1" type:"string"` + + // The name of the group. + GroupName *string `min:"1" type:"string"` + + // The principal ID of the group. + PrincipalId *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 Group) 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 Group) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *Group) SetArn(v string) *Group { + s.Arn = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *Group) SetDescription(v string) *Group { + s.Description = &v + return s +} + +// SetGroupName sets the GroupName field's value. +func (s *Group) SetGroupName(v string) *Group { + s.GroupName = &v + return s +} + +// SetPrincipalId sets the PrincipalId field's value. +func (s *Group) SetPrincipalId(v string) *Group { + s.PrincipalId = &v + return s +} + +// A member of an Amazon QuickSight group. Currently, group members must be +// users. Groups can't be members of another group. . +type GroupMember struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) for the group member (user). + Arn *string `type:"string"` + + // The name of the group member (user). + MemberName *string `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 GroupMember) 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 GroupMember) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *GroupMember) SetArn(v string) *GroupMember { + s.Arn = &v + return s +} + +// SetMemberName sets the MemberName field's value. +func (s *GroupMember) SetMemberName(v string) *GroupMember { + s.MemberName = &v + return s +} + +// A GroupSearchFilter object that you want to apply to your search. +type GroupSearchFilter struct { + _ struct{} `type:"structure"` + + // The name of the value that you want to use as a filter, for example "Name": + // "GROUP_NAME". Currently, the only supported name is GROUP_NAME. + // + // Name is a required field + Name *string `type:"string" required:"true" enum:"GroupFilterAttribute"` + + // The comparison operator that you want to use as a filter, for example "Operator": + // "StartsWith". Currently, the only supported operator is StartsWith. + // + // Operator is a required field + Operator *string `type:"string" required:"true" enum:"GroupFilterOperator"` + + // The value of the named item, in this case GROUP_NAME, that you want to use + // as a filter. + // + // Value is a required field + Value *string `type:"string" required:"true"` +} + +// 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 GroupSearchFilter) 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 GroupSearchFilter) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GroupSearchFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GroupSearchFilter"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Operator == nil { + invalidParams.Add(request.NewErrParamRequired("Operator")) + } + if s.Value == nil { + invalidParams.Add(request.NewErrParamRequired("Value")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *GroupSearchFilter) SetName(v string) *GroupSearchFilter { + s.Name = &v + return s +} + +// SetOperator sets the Operator field's value. +func (s *GroupSearchFilter) SetOperator(v string) *GroupSearchFilter { + s.Operator = &v + return s +} + +// SetValue sets the Value field's value. +func (s *GroupSearchFilter) SetValue(v string) *GroupSearchFilter { + s.Value = &v + return s +} + +// The growth rate computation configuration. +type GrowthRateComputation struct { + _ struct{} `type:"structure"` + + // The ID for a computation. + // + // ComputationId is a required field + ComputationId *string `min:"1" type:"string" required:"true"` + + // The name of a computation. + Name *string `type:"string"` + + // The period size setup of a growth rate computation. + PeriodSize *int64 `min:"2" type:"integer"` + + // The time field that is used in a computation. + // + // Time is a required field + Time *DimensionField `type:"structure" required:"true"` + + // The value field that is used in a computation. + Value *MeasureField `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 GrowthRateComputation) 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 GrowthRateComputation) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GrowthRateComputation) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GrowthRateComputation"} + if s.ComputationId == nil { + invalidParams.Add(request.NewErrParamRequired("ComputationId")) + } + if s.ComputationId != nil && len(*s.ComputationId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ComputationId", 1)) + } + if s.PeriodSize != nil && *s.PeriodSize < 2 { + invalidParams.Add(request.NewErrParamMinValue("PeriodSize", 2)) + } + if s.Time == nil { + invalidParams.Add(request.NewErrParamRequired("Time")) + } + if s.Time != nil { + if err := s.Time.Validate(); err != nil { + invalidParams.AddNested("Time", err.(request.ErrInvalidParams)) + } + } + if s.Value != nil { + if err := s.Value.Validate(); err != nil { + invalidParams.AddNested("Value", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetComputationId sets the ComputationId field's value. +func (s *GrowthRateComputation) SetComputationId(v string) *GrowthRateComputation { + s.ComputationId = &v + return s +} + +// SetName sets the Name field's value. +func (s *GrowthRateComputation) SetName(v string) *GrowthRateComputation { + s.Name = &v + return s +} + +// SetPeriodSize sets the PeriodSize field's value. +func (s *GrowthRateComputation) SetPeriodSize(v int64) *GrowthRateComputation { + s.PeriodSize = &v + return s +} + +// SetTime sets the Time field's value. +func (s *GrowthRateComputation) SetTime(v *DimensionField) *GrowthRateComputation { + s.Time = v + return s +} + +// SetValue sets the Value field's value. +func (s *GrowthRateComputation) SetValue(v *MeasureField) *GrowthRateComputation { + s.Value = v + return s +} + +// The display options for gutter spacing between tiles on a sheet. +type GutterStyle struct { + _ struct{} `type:"structure"` + + // This Boolean value controls whether to display a gutter space between sheet + // tiles. + Show *bool `type:"boolean"` +} + +// 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 GutterStyle) 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 GutterStyle) GoString() string { + return s.String() +} + +// SetShow sets the Show field's value. +func (s *GutterStyle) SetShow(v bool) *GutterStyle { + s.Show = &v + return s +} + +// The configuration of a header or footer section. +type HeaderFooterSectionConfiguration struct { + _ struct{} `type:"structure"` + + // The layout configuration of the header or footer section. + // + // Layout is a required field + Layout *SectionLayoutConfiguration `type:"structure" required:"true"` + + // The unique identifier of the header or footer section. + // + // SectionId is a required field + SectionId *string `min:"1" type:"string" required:"true"` + + // The style options of a header or footer section. + Style *SectionStyle `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 HeaderFooterSectionConfiguration) 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 HeaderFooterSectionConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *HeaderFooterSectionConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "HeaderFooterSectionConfiguration"} + if s.Layout == nil { + invalidParams.Add(request.NewErrParamRequired("Layout")) + } + if s.SectionId == nil { + invalidParams.Add(request.NewErrParamRequired("SectionId")) + } + if s.SectionId != nil && len(*s.SectionId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SectionId", 1)) + } + if s.Layout != nil { + if err := s.Layout.Validate(); err != nil { + invalidParams.AddNested("Layout", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetLayout sets the Layout field's value. +func (s *HeaderFooterSectionConfiguration) SetLayout(v *SectionLayoutConfiguration) *HeaderFooterSectionConfiguration { + s.Layout = v + return s +} + +// SetSectionId sets the SectionId field's value. +func (s *HeaderFooterSectionConfiguration) SetSectionId(v string) *HeaderFooterSectionConfiguration { + s.SectionId = &v + return s +} + +// SetStyle sets the Style field's value. +func (s *HeaderFooterSectionConfiguration) SetStyle(v *SectionStyle) *HeaderFooterSectionConfiguration { + s.Style = v + return s +} + +// The aggregated field wells of a heat map. +type HeatMapAggregatedFieldWells struct { + _ struct{} `type:"structure"` + + // The columns field well of a heat map. + Columns []*DimensionField `type:"list"` + + // The rows field well of a heat map. + Rows []*DimensionField `type:"list"` + + // The values field well of a heat map. + Values []*MeasureField `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 HeatMapAggregatedFieldWells) 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 HeatMapAggregatedFieldWells) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *HeatMapAggregatedFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "HeatMapAggregatedFieldWells"} + if s.Columns != nil { + for i, v := range s.Columns { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Columns", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Rows != nil { + for i, v := range s.Rows { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Rows", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Values != nil { + for i, v := range s.Values { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Values", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetColumns sets the Columns field's value. +func (s *HeatMapAggregatedFieldWells) SetColumns(v []*DimensionField) *HeatMapAggregatedFieldWells { + s.Columns = v + return s +} + +// SetRows sets the Rows field's value. +func (s *HeatMapAggregatedFieldWells) SetRows(v []*DimensionField) *HeatMapAggregatedFieldWells { + s.Rows = v + return s +} + +// SetValues sets the Values field's value. +func (s *HeatMapAggregatedFieldWells) SetValues(v []*MeasureField) *HeatMapAggregatedFieldWells { + s.Values = v + return s +} + +// The configuration of a heat map. +type HeatMapConfiguration struct { + _ struct{} `type:"structure"` + + // The color options (gradient color, point of divergence) in a heat map. + ColorScale *ColorScale `type:"structure"` + + // The label options of the column that is displayed in a heat map. + ColumnLabelOptions *ChartAxisLabelOptions `type:"structure"` + + // The options that determine if visual data labels are displayed. + DataLabels *DataLabelOptions `type:"structure"` + + // The field wells of the visual. + FieldWells *HeatMapFieldWells `type:"structure"` + + // The legend display setup of the visual. + Legend *LegendOptions `type:"structure"` + + // The label options of the row that is displayed in a heat map. + RowLabelOptions *ChartAxisLabelOptions `type:"structure"` + + // The sort configuration of a heat map. + SortConfiguration *HeatMapSortConfiguration `type:"structure"` + + // The tooltip display setup of the visual. + Tooltip *TooltipOptions `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 HeatMapConfiguration) 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 HeatMapConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *HeatMapConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "HeatMapConfiguration"} + if s.ColorScale != nil { + if err := s.ColorScale.Validate(); err != nil { + invalidParams.AddNested("ColorScale", err.(request.ErrInvalidParams)) + } + } + if s.ColumnLabelOptions != nil { + if err := s.ColumnLabelOptions.Validate(); err != nil { + invalidParams.AddNested("ColumnLabelOptions", err.(request.ErrInvalidParams)) + } + } + if s.DataLabels != nil { + if err := s.DataLabels.Validate(); err != nil { + invalidParams.AddNested("DataLabels", err.(request.ErrInvalidParams)) + } + } + if s.FieldWells != nil { + if err := s.FieldWells.Validate(); err != nil { + invalidParams.AddNested("FieldWells", err.(request.ErrInvalidParams)) + } + } + if s.RowLabelOptions != nil { + if err := s.RowLabelOptions.Validate(); err != nil { + invalidParams.AddNested("RowLabelOptions", err.(request.ErrInvalidParams)) + } + } + if s.SortConfiguration != nil { + if err := s.SortConfiguration.Validate(); err != nil { + invalidParams.AddNested("SortConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.Tooltip != nil { + if err := s.Tooltip.Validate(); err != nil { + invalidParams.AddNested("Tooltip", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetColorScale sets the ColorScale field's value. +func (s *HeatMapConfiguration) SetColorScale(v *ColorScale) *HeatMapConfiguration { + s.ColorScale = v + return s +} + +// SetColumnLabelOptions sets the ColumnLabelOptions field's value. +func (s *HeatMapConfiguration) SetColumnLabelOptions(v *ChartAxisLabelOptions) *HeatMapConfiguration { + s.ColumnLabelOptions = v + return s +} + +// SetDataLabels sets the DataLabels field's value. +func (s *HeatMapConfiguration) SetDataLabels(v *DataLabelOptions) *HeatMapConfiguration { + s.DataLabels = v + return s +} + +// SetFieldWells sets the FieldWells field's value. +func (s *HeatMapConfiguration) SetFieldWells(v *HeatMapFieldWells) *HeatMapConfiguration { + s.FieldWells = v + return s +} + +// SetLegend sets the Legend field's value. +func (s *HeatMapConfiguration) SetLegend(v *LegendOptions) *HeatMapConfiguration { + s.Legend = v + return s +} + +// SetRowLabelOptions sets the RowLabelOptions field's value. +func (s *HeatMapConfiguration) SetRowLabelOptions(v *ChartAxisLabelOptions) *HeatMapConfiguration { + s.RowLabelOptions = v + return s +} + +// SetSortConfiguration sets the SortConfiguration field's value. +func (s *HeatMapConfiguration) SetSortConfiguration(v *HeatMapSortConfiguration) *HeatMapConfiguration { + s.SortConfiguration = v + return s +} + +// SetTooltip sets the Tooltip field's value. +func (s *HeatMapConfiguration) SetTooltip(v *TooltipOptions) *HeatMapConfiguration { + s.Tooltip = v + return s +} + +// The field well configuration of a heat map. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type HeatMapFieldWells struct { + _ struct{} `type:"structure"` + + // The aggregated field wells of a heat map. + HeatMapAggregatedFieldWells *HeatMapAggregatedFieldWells `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 HeatMapFieldWells) 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 HeatMapFieldWells) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *HeatMapFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "HeatMapFieldWells"} + if s.HeatMapAggregatedFieldWells != nil { + if err := s.HeatMapAggregatedFieldWells.Validate(); err != nil { + invalidParams.AddNested("HeatMapAggregatedFieldWells", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetHeatMapAggregatedFieldWells sets the HeatMapAggregatedFieldWells field's value. +func (s *HeatMapFieldWells) SetHeatMapAggregatedFieldWells(v *HeatMapAggregatedFieldWells) *HeatMapFieldWells { + s.HeatMapAggregatedFieldWells = v + return s +} + +// The sort configuration of a heat map. +type HeatMapSortConfiguration struct { + _ struct{} `type:"structure"` + + // The limit on the number of columns that are displayed in a heat map. + HeatMapColumnItemsLimitConfiguration *ItemsLimitConfiguration `type:"structure"` + + // The column sort configuration for heat map for columns that aren't a part + // of a field well. + HeatMapColumnSort []*FieldSortOptions `type:"list"` + + // The limit on the number of rows that are displayed in a heat map. + HeatMapRowItemsLimitConfiguration *ItemsLimitConfiguration `type:"structure"` + + // The field sort configuration of the rows fields. + HeatMapRowSort []*FieldSortOptions `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 HeatMapSortConfiguration) 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 HeatMapSortConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *HeatMapSortConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "HeatMapSortConfiguration"} + if s.HeatMapColumnSort != nil { + for i, v := range s.HeatMapColumnSort { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "HeatMapColumnSort", i), err.(request.ErrInvalidParams)) + } + } + } + if s.HeatMapRowSort != nil { + for i, v := range s.HeatMapRowSort { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "HeatMapRowSort", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetHeatMapColumnItemsLimitConfiguration sets the HeatMapColumnItemsLimitConfiguration field's value. +func (s *HeatMapSortConfiguration) SetHeatMapColumnItemsLimitConfiguration(v *ItemsLimitConfiguration) *HeatMapSortConfiguration { + s.HeatMapColumnItemsLimitConfiguration = v + return s +} + +// SetHeatMapColumnSort sets the HeatMapColumnSort field's value. +func (s *HeatMapSortConfiguration) SetHeatMapColumnSort(v []*FieldSortOptions) *HeatMapSortConfiguration { + s.HeatMapColumnSort = v + return s +} + +// SetHeatMapRowItemsLimitConfiguration sets the HeatMapRowItemsLimitConfiguration field's value. +func (s *HeatMapSortConfiguration) SetHeatMapRowItemsLimitConfiguration(v *ItemsLimitConfiguration) *HeatMapSortConfiguration { + s.HeatMapRowItemsLimitConfiguration = v + return s +} + +// SetHeatMapRowSort sets the HeatMapRowSort field's value. +func (s *HeatMapSortConfiguration) SetHeatMapRowSort(v []*FieldSortOptions) *HeatMapSortConfiguration { + s.HeatMapRowSort = v + return s +} + +// A heat map. +// +// For more information, see Using heat maps (https://docs.aws.amazon.com/quicksight/latest/user/heat-map.html) +// in the Amazon QuickSight User Guide. +type HeatMapVisual struct { + _ struct{} `type:"structure"` + + // The list of custom actions that are configured for a visual. + Actions []*VisualCustomAction `type:"list"` + + // The configuration of a heat map. + ChartConfiguration *HeatMapConfiguration `type:"structure"` + + // The column hierarchy that is used during drill-downs and drill-ups. + ColumnHierarchies []*ColumnHierarchy `type:"list"` + + // The subtitle that is displayed on the visual. + Subtitle *VisualSubtitleLabelOptions `type:"structure"` + + // The title that is displayed on the visual. + Title *VisualTitleLabelOptions `type:"structure"` + + // The unique identifier of a visual. This identifier must be unique within + // the context of a dashboard, template, or analysis. Two dashboards, analyses, + // or templates can have visuals with the same identifiers. + // + // VisualId is a required field + VisualId *string `min:"1" type:"string" required:"true"` +} + +// 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 HeatMapVisual) 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 HeatMapVisual) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *HeatMapVisual) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "HeatMapVisual"} + if s.VisualId == nil { + invalidParams.Add(request.NewErrParamRequired("VisualId")) + } + if s.VisualId != nil && len(*s.VisualId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("VisualId", 1)) + } + if s.Actions != nil { + for i, v := range s.Actions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Actions", i), err.(request.ErrInvalidParams)) + } + } + } + if s.ChartConfiguration != nil { + if err := s.ChartConfiguration.Validate(); err != nil { + invalidParams.AddNested("ChartConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.ColumnHierarchies != nil { + for i, v := range s.ColumnHierarchies { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnHierarchies", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Subtitle != nil { + if err := s.Subtitle.Validate(); err != nil { + invalidParams.AddNested("Subtitle", err.(request.ErrInvalidParams)) + } + } + if s.Title != nil { + if err := s.Title.Validate(); err != nil { + invalidParams.AddNested("Title", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetActions sets the Actions field's value. +func (s *HeatMapVisual) SetActions(v []*VisualCustomAction) *HeatMapVisual { + s.Actions = v + return s +} + +// SetChartConfiguration sets the ChartConfiguration field's value. +func (s *HeatMapVisual) SetChartConfiguration(v *HeatMapConfiguration) *HeatMapVisual { + s.ChartConfiguration = v + return s +} + +// SetColumnHierarchies sets the ColumnHierarchies field's value. +func (s *HeatMapVisual) SetColumnHierarchies(v []*ColumnHierarchy) *HeatMapVisual { + s.ColumnHierarchies = v + return s +} + +// SetSubtitle sets the Subtitle field's value. +func (s *HeatMapVisual) SetSubtitle(v *VisualSubtitleLabelOptions) *HeatMapVisual { + s.Subtitle = v + return s +} + +// SetTitle sets the Title field's value. +func (s *HeatMapVisual) SetTitle(v *VisualTitleLabelOptions) *HeatMapVisual { + s.Title = v + return s +} + +// SetVisualId sets the VisualId field's value. +func (s *HeatMapVisual) SetVisualId(v string) *HeatMapVisual { + s.VisualId = &v + return s +} + +// The field well configuration of a histogram. +type HistogramAggregatedFieldWells struct { + _ struct{} `type:"structure"` + + // The value field wells of a histogram. Values are aggregated by COUNT or DISTINCT_COUNT. + Values []*MeasureField `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 HistogramAggregatedFieldWells) 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 HistogramAggregatedFieldWells) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *HistogramAggregatedFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "HistogramAggregatedFieldWells"} + if s.Values != nil { + for i, v := range s.Values { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Values", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetValues sets the Values field's value. +func (s *HistogramAggregatedFieldWells) SetValues(v []*MeasureField) *HistogramAggregatedFieldWells { + s.Values = v + return s +} + +// The options that determine the presentation of histogram bins. +type HistogramBinOptions struct { + _ struct{} `type:"structure"` + + // The options that determine the bin count of a histogram. + BinCount *BinCountOptions `type:"structure"` + + // The options that determine the bin width of a histogram. + BinWidth *BinWidthOptions `type:"structure"` + + // The options that determine the selected bin type. + SelectedBinType *string `type:"string" enum:"HistogramBinType"` + + // The options that determine the bin start value. + StartValue *float64 `type:"double"` +} + +// 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 HistogramBinOptions) 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 HistogramBinOptions) GoString() string { + return s.String() +} + +// SetBinCount sets the BinCount field's value. +func (s *HistogramBinOptions) SetBinCount(v *BinCountOptions) *HistogramBinOptions { + s.BinCount = v + return s +} + +// SetBinWidth sets the BinWidth field's value. +func (s *HistogramBinOptions) SetBinWidth(v *BinWidthOptions) *HistogramBinOptions { + s.BinWidth = v + return s +} + +// SetSelectedBinType sets the SelectedBinType field's value. +func (s *HistogramBinOptions) SetSelectedBinType(v string) *HistogramBinOptions { + s.SelectedBinType = &v + return s +} + +// SetStartValue sets the StartValue field's value. +func (s *HistogramBinOptions) SetStartValue(v float64) *HistogramBinOptions { + s.StartValue = &v + return s +} + +// The configuration for a HistogramVisual. +type HistogramConfiguration struct { + _ struct{} `type:"structure"` + + // The options that determine the presentation of histogram bins. + BinOptions *HistogramBinOptions `type:"structure"` + + // The data label configuration of a histogram. + DataLabels *DataLabelOptions `type:"structure"` + + // The field well configuration of a histogram. + FieldWells *HistogramFieldWells `type:"structure"` + + // The tooltip configuration of a histogram. + Tooltip *TooltipOptions `type:"structure"` + + // The visual palette configuration of a histogram. + VisualPalette *VisualPalette `type:"structure"` + + // The options that determine the presentation of the x-axis. + XAxisDisplayOptions *AxisDisplayOptions `type:"structure"` + + // The options that determine the presentation of the x-axis label. + XAxisLabelOptions *ChartAxisLabelOptions `type:"structure"` + + // The options that determine the presentation of the y-axis. + YAxisDisplayOptions *AxisDisplayOptions `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 HistogramConfiguration) 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 HistogramConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *HistogramConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "HistogramConfiguration"} + if s.DataLabels != nil { + if err := s.DataLabels.Validate(); err != nil { + invalidParams.AddNested("DataLabels", err.(request.ErrInvalidParams)) + } + } + if s.FieldWells != nil { + if err := s.FieldWells.Validate(); err != nil { + invalidParams.AddNested("FieldWells", err.(request.ErrInvalidParams)) + } + } + if s.Tooltip != nil { + if err := s.Tooltip.Validate(); err != nil { + invalidParams.AddNested("Tooltip", err.(request.ErrInvalidParams)) + } + } + if s.VisualPalette != nil { + if err := s.VisualPalette.Validate(); err != nil { + invalidParams.AddNested("VisualPalette", err.(request.ErrInvalidParams)) + } + } + if s.XAxisLabelOptions != nil { + if err := s.XAxisLabelOptions.Validate(); err != nil { + invalidParams.AddNested("XAxisLabelOptions", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBinOptions sets the BinOptions field's value. +func (s *HistogramConfiguration) SetBinOptions(v *HistogramBinOptions) *HistogramConfiguration { + s.BinOptions = v + return s +} + +// SetDataLabels sets the DataLabels field's value. +func (s *HistogramConfiguration) SetDataLabels(v *DataLabelOptions) *HistogramConfiguration { + s.DataLabels = v + return s +} + +// SetFieldWells sets the FieldWells field's value. +func (s *HistogramConfiguration) SetFieldWells(v *HistogramFieldWells) *HistogramConfiguration { + s.FieldWells = v + return s +} + +// SetTooltip sets the Tooltip field's value. +func (s *HistogramConfiguration) SetTooltip(v *TooltipOptions) *HistogramConfiguration { + s.Tooltip = v + return s +} + +// SetVisualPalette sets the VisualPalette field's value. +func (s *HistogramConfiguration) SetVisualPalette(v *VisualPalette) *HistogramConfiguration { + s.VisualPalette = v + return s +} + +// SetXAxisDisplayOptions sets the XAxisDisplayOptions field's value. +func (s *HistogramConfiguration) SetXAxisDisplayOptions(v *AxisDisplayOptions) *HistogramConfiguration { + s.XAxisDisplayOptions = v + return s +} + +// SetXAxisLabelOptions sets the XAxisLabelOptions field's value. +func (s *HistogramConfiguration) SetXAxisLabelOptions(v *ChartAxisLabelOptions) *HistogramConfiguration { + s.XAxisLabelOptions = v + return s +} + +// SetYAxisDisplayOptions sets the YAxisDisplayOptions field's value. +func (s *HistogramConfiguration) SetYAxisDisplayOptions(v *AxisDisplayOptions) *HistogramConfiguration { + s.YAxisDisplayOptions = v + return s +} + +// The field well configuration of a histogram. +type HistogramFieldWells struct { + _ struct{} `type:"structure"` + + // The field well configuration of a histogram. + HistogramAggregatedFieldWells *HistogramAggregatedFieldWells `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 HistogramFieldWells) 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 HistogramFieldWells) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *HistogramFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "HistogramFieldWells"} + if s.HistogramAggregatedFieldWells != nil { + if err := s.HistogramAggregatedFieldWells.Validate(); err != nil { + invalidParams.AddNested("HistogramAggregatedFieldWells", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetHistogramAggregatedFieldWells sets the HistogramAggregatedFieldWells field's value. +func (s *HistogramFieldWells) SetHistogramAggregatedFieldWells(v *HistogramAggregatedFieldWells) *HistogramFieldWells { + s.HistogramAggregatedFieldWells = v + return s +} + +// A histogram. +// +// For more information, see Using histograms (https://docs.aws.amazon.com/quicksight/latest/user/histogram-charts.html) +// in the Amazon QuickSight User Guide. +type HistogramVisual struct { + _ struct{} `type:"structure"` + + // The list of custom actions that are configured for a visual. + Actions []*VisualCustomAction `type:"list"` + + // The configuration for a HistogramVisual. + ChartConfiguration *HistogramConfiguration `type:"structure"` + + // The subtitle that is displayed on the visual. + Subtitle *VisualSubtitleLabelOptions `type:"structure"` + + // The title that is displayed on the visual. + Title *VisualTitleLabelOptions `type:"structure"` + + // The unique identifier of a visual. This identifier must be unique within + // the context of a dashboard, template, or analysis. Two dashboards, analyses, + // or templates can have visuals with the same identifiers. + // + // VisualId is a required field + VisualId *string `min:"1" type:"string" required:"true"` +} + +// 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 HistogramVisual) 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 HistogramVisual) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *HistogramVisual) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "HistogramVisual"} + if s.VisualId == nil { + invalidParams.Add(request.NewErrParamRequired("VisualId")) + } + if s.VisualId != nil && len(*s.VisualId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("VisualId", 1)) + } + if s.Actions != nil { + for i, v := range s.Actions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Actions", i), err.(request.ErrInvalidParams)) + } + } + } + if s.ChartConfiguration != nil { + if err := s.ChartConfiguration.Validate(); err != nil { + invalidParams.AddNested("ChartConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.Subtitle != nil { + if err := s.Subtitle.Validate(); err != nil { + invalidParams.AddNested("Subtitle", err.(request.ErrInvalidParams)) + } + } + if s.Title != nil { + if err := s.Title.Validate(); err != nil { + invalidParams.AddNested("Title", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetActions sets the Actions field's value. +func (s *HistogramVisual) SetActions(v []*VisualCustomAction) *HistogramVisual { + s.Actions = v + return s +} + +// SetChartConfiguration sets the ChartConfiguration field's value. +func (s *HistogramVisual) SetChartConfiguration(v *HistogramConfiguration) *HistogramVisual { + s.ChartConfiguration = v + return s +} + +// SetSubtitle sets the Subtitle field's value. +func (s *HistogramVisual) SetSubtitle(v *VisualSubtitleLabelOptions) *HistogramVisual { + s.Subtitle = v + return s +} + +// SetTitle sets the Title field's value. +func (s *HistogramVisual) SetTitle(v *VisualTitleLabelOptions) *HistogramVisual { + s.Title = v + return s +} + +// SetVisualId sets the VisualId field's value. +func (s *HistogramVisual) SetVisualId(v string) *HistogramVisual { + s.VisualId = &v + return s +} + +// An Identity and Access Management (IAM) policy assignment. +type IAMPolicyAssignment struct { + _ struct{} `type:"structure"` + + // Assignment ID. + AssignmentId *string `type:"string"` + + // Assignment name. + AssignmentName *string `min:"1" type:"string"` + + // Assignment status. + AssignmentStatus *string `type:"string" enum:"AssignmentStatus"` + + // The Amazon Web Services account ID. + AwsAccountId *string `min:"12" type:"string"` + + // Identities. + Identities map[string][]*string `type:"map"` + + // The Amazon Resource Name (ARN) for the IAM policy. + PolicyArn *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 IAMPolicyAssignment) 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 IAMPolicyAssignment) GoString() string { + return s.String() +} + +// SetAssignmentId sets the AssignmentId field's value. +func (s *IAMPolicyAssignment) SetAssignmentId(v string) *IAMPolicyAssignment { + s.AssignmentId = &v + return s +} + +// SetAssignmentName sets the AssignmentName field's value. +func (s *IAMPolicyAssignment) SetAssignmentName(v string) *IAMPolicyAssignment { + s.AssignmentName = &v + return s +} + +// SetAssignmentStatus sets the AssignmentStatus field's value. +func (s *IAMPolicyAssignment) SetAssignmentStatus(v string) *IAMPolicyAssignment { + s.AssignmentStatus = &v + return s +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *IAMPolicyAssignment) SetAwsAccountId(v string) *IAMPolicyAssignment { + s.AwsAccountId = &v + return s +} + +// SetIdentities sets the Identities field's value. +func (s *IAMPolicyAssignment) SetIdentities(v map[string][]*string) *IAMPolicyAssignment { + s.Identities = v + return s +} + +// SetPolicyArn sets the PolicyArn field's value. +func (s *IAMPolicyAssignment) SetPolicyArn(v string) *IAMPolicyAssignment { + s.PolicyArn = &v + return s +} + +// IAM policy assignment summary. +type IAMPolicyAssignmentSummary struct { + _ struct{} `type:"structure"` + + // Assignment name. + AssignmentName *string `min:"1" type:"string"` + + // Assignment status. + AssignmentStatus *string `type:"string" enum:"AssignmentStatus"` +} + +// 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 IAMPolicyAssignmentSummary) 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 IAMPolicyAssignmentSummary) GoString() string { + return s.String() +} + +// SetAssignmentName sets the AssignmentName field's value. +func (s *IAMPolicyAssignmentSummary) SetAssignmentName(v string) *IAMPolicyAssignmentSummary { + s.AssignmentName = &v + return s +} + +// SetAssignmentStatus sets the AssignmentStatus field's value. +func (s *IAMPolicyAssignmentSummary) SetAssignmentStatus(v string) *IAMPolicyAssignmentSummary { + s.AssignmentStatus = &v + return s +} + +// The identity type specified isn't supported. Supported identity types include +// IAM and QUICKSIGHT. +type IdentityTypeNotSupportedException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"Message" type:"string"` + + // The Amazon Web Services request ID for this request. + RequestId *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 IdentityTypeNotSupportedException) 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 IdentityTypeNotSupportedException) GoString() string { + return s.String() +} + +func newErrorIdentityTypeNotSupportedException(v protocol.ResponseMetadata) error { + return &IdentityTypeNotSupportedException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *IdentityTypeNotSupportedException) Code() string { + return "IdentityTypeNotSupportedException" +} + +// Message returns the exception's message. +func (s *IdentityTypeNotSupportedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *IdentityTypeNotSupportedException) OrigErr() error { + return nil +} + +func (s *IdentityTypeNotSupportedException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *IdentityTypeNotSupportedException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *IdentityTypeNotSupportedException) RequestID() string { + return s.RespMetadata.RequestID +} + +// Information about the SPICE ingestion for a dataset. +type Ingestion struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the resource. + // + // Arn is a required field + Arn *string `type:"string" required:"true"` + + // The time that this ingestion started. + // + // CreatedTime is a required field + CreatedTime *time.Time `type:"timestamp" required:"true"` + + // Error information for this ingestion. + ErrorInfo *ErrorInfo `type:"structure"` + + // Ingestion ID. + IngestionId *string `min:"1" type:"string"` + + // The size of the data ingested, in bytes. + IngestionSizeInBytes *int64 `type:"long"` + + // Ingestion status. + // + // IngestionStatus is a required field + IngestionStatus *string `type:"string" required:"true" enum:"IngestionStatus"` + + // The time that this ingestion took, measured in seconds. + IngestionTimeInSeconds *int64 `type:"long"` + + // Information about a queued dataset SPICE ingestion. + QueueInfo *QueueInfo `type:"structure"` + + // Event source for this ingestion. + RequestSource *string `type:"string" enum:"IngestionRequestSource"` + + // Type of this ingestion. + RequestType *string `type:"string" enum:"IngestionRequestType"` + + // Information about rows for a data set SPICE ingestion. + RowInfo *RowInfo `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 Ingestion) 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 Ingestion) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *Ingestion) SetArn(v string) *Ingestion { + s.Arn = &v + return s +} + +// SetCreatedTime sets the CreatedTime field's value. +func (s *Ingestion) SetCreatedTime(v time.Time) *Ingestion { + s.CreatedTime = &v + return s +} + +// SetErrorInfo sets the ErrorInfo field's value. +func (s *Ingestion) SetErrorInfo(v *ErrorInfo) *Ingestion { + s.ErrorInfo = v + return s +} + +// SetIngestionId sets the IngestionId field's value. +func (s *Ingestion) SetIngestionId(v string) *Ingestion { + s.IngestionId = &v + return s +} + +// SetIngestionSizeInBytes sets the IngestionSizeInBytes field's value. +func (s *Ingestion) SetIngestionSizeInBytes(v int64) *Ingestion { + s.IngestionSizeInBytes = &v + return s +} + +// SetIngestionStatus sets the IngestionStatus field's value. +func (s *Ingestion) SetIngestionStatus(v string) *Ingestion { + s.IngestionStatus = &v + return s +} + +// SetIngestionTimeInSeconds sets the IngestionTimeInSeconds field's value. +func (s *Ingestion) SetIngestionTimeInSeconds(v int64) *Ingestion { + s.IngestionTimeInSeconds = &v + return s +} + +// SetQueueInfo sets the QueueInfo field's value. +func (s *Ingestion) SetQueueInfo(v *QueueInfo) *Ingestion { + s.QueueInfo = v + return s +} + +// SetRequestSource sets the RequestSource field's value. +func (s *Ingestion) SetRequestSource(v string) *Ingestion { + s.RequestSource = &v + return s +} + +// SetRequestType sets the RequestType field's value. +func (s *Ingestion) SetRequestType(v string) *Ingestion { + s.RequestType = &v + return s +} + +// SetRowInfo sets the RowInfo field's value. +func (s *Ingestion) SetRowInfo(v *RowInfo) *Ingestion { + s.RowInfo = v + return s +} + +// Metadata for a column that is used as the input of a transform operation. +type InputColumn struct { + _ struct{} `type:"structure"` + + // The name of this column in the underlying data source. + // + // Name is a required field + Name *string `min:"1" type:"string" required:"true"` + + // The data type of the column. + // + // Type is a required field + Type *string `type:"string" required:"true" enum:"InputColumnDataType"` +} + +// 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 InputColumn) 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 InputColumn) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *InputColumn) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "InputColumn"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *InputColumn) SetName(v string) *InputColumn { + s.Name = &v + return s +} + +// SetType sets the Type field's value. +func (s *InputColumn) SetType(v string) *InputColumn { + s.Type = &v + return s +} + +// The configuration of an insight visual. +type InsightConfiguration struct { + _ struct{} `type:"structure"` + + // The computations configurations of the insight visual + Computations []*Computation `type:"list"` + + // The custom narrative of the insight visual. + CustomNarrative *CustomNarrativeOptions `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 InsightConfiguration) 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 InsightConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *InsightConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "InsightConfiguration"} + if s.Computations != nil { + for i, v := range s.Computations { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Computations", i), err.(request.ErrInvalidParams)) + } + } + } + if s.CustomNarrative != nil { + if err := s.CustomNarrative.Validate(); err != nil { + invalidParams.AddNested("CustomNarrative", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetComputations sets the Computations field's value. +func (s *InsightConfiguration) SetComputations(v []*Computation) *InsightConfiguration { + s.Computations = v + return s +} + +// SetCustomNarrative sets the CustomNarrative field's value. +func (s *InsightConfiguration) SetCustomNarrative(v *CustomNarrativeOptions) *InsightConfiguration { + s.CustomNarrative = v + return s +} + +// An insight visual. +// +// For more information, see Working with insights (https://docs.aws.amazon.com/quicksight/latest/user/computational-insights.html) +// in the Amazon QuickSight User Guide. +type InsightVisual struct { + _ struct{} `type:"structure"` + + // The list of custom actions that are configured for a visual. + Actions []*VisualCustomAction `type:"list"` + + // The dataset that is used in the insight visual. + // + // DataSetIdentifier is a required field + DataSetIdentifier *string `min:"1" type:"string" required:"true"` + + // The configuration of an insight visual. + InsightConfiguration *InsightConfiguration `type:"structure"` + + // The subtitle that is displayed on the visual. + Subtitle *VisualSubtitleLabelOptions `type:"structure"` + + // The title that is displayed on the visual. + Title *VisualTitleLabelOptions `type:"structure"` + + // The unique identifier of a visual. This identifier must be unique within + // the context of a dashboard, template, or analysis. Two dashboards, analyses, + // or templates can have visuals with the same identifiers. + // + // VisualId is a required field + VisualId *string `min:"1" type:"string" required:"true"` +} + +// 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 InsightVisual) 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 InsightVisual) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *InsightVisual) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "InsightVisual"} + if s.DataSetIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("DataSetIdentifier")) + } + if s.DataSetIdentifier != nil && len(*s.DataSetIdentifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DataSetIdentifier", 1)) + } + if s.VisualId == nil { + invalidParams.Add(request.NewErrParamRequired("VisualId")) + } + if s.VisualId != nil && len(*s.VisualId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("VisualId", 1)) + } + if s.Actions != nil { + for i, v := range s.Actions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Actions", i), err.(request.ErrInvalidParams)) + } + } + } + if s.InsightConfiguration != nil { + if err := s.InsightConfiguration.Validate(); err != nil { + invalidParams.AddNested("InsightConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.Subtitle != nil { + if err := s.Subtitle.Validate(); err != nil { + invalidParams.AddNested("Subtitle", err.(request.ErrInvalidParams)) + } + } + if s.Title != nil { + if err := s.Title.Validate(); err != nil { + invalidParams.AddNested("Title", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetActions sets the Actions field's value. +func (s *InsightVisual) SetActions(v []*VisualCustomAction) *InsightVisual { + s.Actions = v + return s +} + +// SetDataSetIdentifier sets the DataSetIdentifier field's value. +func (s *InsightVisual) SetDataSetIdentifier(v string) *InsightVisual { + s.DataSetIdentifier = &v + return s +} + +// SetInsightConfiguration sets the InsightConfiguration field's value. +func (s *InsightVisual) SetInsightConfiguration(v *InsightConfiguration) *InsightVisual { + s.InsightConfiguration = v + return s +} + +// SetSubtitle sets the Subtitle field's value. +func (s *InsightVisual) SetSubtitle(v *VisualSubtitleLabelOptions) *InsightVisual { + s.Subtitle = v + return s +} + +// SetTitle sets the Title field's value. +func (s *InsightVisual) SetTitle(v *VisualTitleLabelOptions) *InsightVisual { + s.Title = v + return s +} + +// SetVisualId sets the VisualId field's value. +func (s *InsightVisual) SetVisualId(v string) *InsightVisual { + s.VisualId = &v + return s +} + +// The default values of the IntegerParameterDeclaration. +type IntegerDefaultValues struct { + _ struct{} `type:"structure"` + + // The dynamic value of the IntegerDefaultValues. Different defaults are displayed + // according to users, groups, and values mapping. + DynamicValue *DynamicDefaultValue `type:"structure"` + + // The static values of the IntegerDefaultValues. + StaticValues []*int64 `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 IntegerDefaultValues) 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 IntegerDefaultValues) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *IntegerDefaultValues) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "IntegerDefaultValues"} + if s.DynamicValue != nil { + if err := s.DynamicValue.Validate(); err != nil { + invalidParams.AddNested("DynamicValue", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDynamicValue sets the DynamicValue field's value. +func (s *IntegerDefaultValues) SetDynamicValue(v *DynamicDefaultValue) *IntegerDefaultValues { + s.DynamicValue = v + return s +} + +// SetStaticValues sets the StaticValues field's value. +func (s *IntegerDefaultValues) SetStaticValues(v []*int64) *IntegerDefaultValues { + s.StaticValues = v + return s +} + +// An integer parameter. +type IntegerParameter struct { + _ struct{} `type:"structure"` + + // The name of the integer parameter. + // + // Name is a required field + Name *string `type:"string" required:"true"` + + // The values for the integer parameter. + // + // Values is a required field + Values []*int64 `type:"list" required:"true"` +} + +// 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 IntegerParameter) 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 IntegerParameter) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *IntegerParameter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "IntegerParameter"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Values == nil { + invalidParams.Add(request.NewErrParamRequired("Values")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *IntegerParameter) SetName(v string) *IntegerParameter { + s.Name = &v + return s +} + +// SetValues sets the Values field's value. +func (s *IntegerParameter) SetValues(v []*int64) *IntegerParameter { + s.Values = v + return s +} + +// A parameter declaration for the Integer data type. +type IntegerParameterDeclaration struct { + _ struct{} `type:"structure"` + + // The default values of a parameter. If the parameter is a single-value parameter, + // a maximum of one default value can be provided. + DefaultValues *IntegerDefaultValues `type:"structure"` + + // The name of the parameter that is being declared. + // + // Name is a required field + Name *string `min:"1" type:"string" required:"true"` + + // The value type determines whether the parameter is a single-value or multi-value + // parameter. + // + // ParameterValueType is a required field + ParameterValueType *string `type:"string" required:"true" enum:"ParameterValueType"` + + // A parameter declaration for the Integer data type. + ValueWhenUnset *IntegerValueWhenUnsetConfiguration `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 IntegerParameterDeclaration) 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 IntegerParameterDeclaration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *IntegerParameterDeclaration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "IntegerParameterDeclaration"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.ParameterValueType == nil { + invalidParams.Add(request.NewErrParamRequired("ParameterValueType")) + } + if s.DefaultValues != nil { + if err := s.DefaultValues.Validate(); err != nil { + invalidParams.AddNested("DefaultValues", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDefaultValues sets the DefaultValues field's value. +func (s *IntegerParameterDeclaration) SetDefaultValues(v *IntegerDefaultValues) *IntegerParameterDeclaration { + s.DefaultValues = v + return s +} + +// SetName sets the Name field's value. +func (s *IntegerParameterDeclaration) SetName(v string) *IntegerParameterDeclaration { + s.Name = &v + return s +} + +// SetParameterValueType sets the ParameterValueType field's value. +func (s *IntegerParameterDeclaration) SetParameterValueType(v string) *IntegerParameterDeclaration { + s.ParameterValueType = &v + return s +} + +// SetValueWhenUnset sets the ValueWhenUnset field's value. +func (s *IntegerParameterDeclaration) SetValueWhenUnset(v *IntegerValueWhenUnsetConfiguration) *IntegerParameterDeclaration { + s.ValueWhenUnset = v + return s +} + +// A parameter declaration for the Integer data type. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type IntegerValueWhenUnsetConfiguration struct { + _ struct{} `type:"structure"` + + // A custom value that's used when the value of a parameter isn't set. + // + // CustomValue is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by IntegerValueWhenUnsetConfiguration's + // String and GoString methods. + CustomValue *int64 `type:"long" sensitive:"true"` + + // The built-in options for default values. The value can be one of the following: + // + // * RECOMMENDED: The recommended value. + // + // * NULL: The NULL value. + ValueWhenUnsetOption *string `type:"string" enum:"ValueWhenUnsetOption"` +} + +// 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 IntegerValueWhenUnsetConfiguration) 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 IntegerValueWhenUnsetConfiguration) GoString() string { + return s.String() +} + +// SetCustomValue sets the CustomValue field's value. +func (s *IntegerValueWhenUnsetConfiguration) SetCustomValue(v int64) *IntegerValueWhenUnsetConfiguration { + s.CustomValue = &v + return s +} + +// SetValueWhenUnsetOption sets the ValueWhenUnsetOption field's value. +func (s *IntegerValueWhenUnsetConfiguration) SetValueWhenUnsetOption(v string) *IntegerValueWhenUnsetConfiguration { + s.ValueWhenUnsetOption = &v + return s +} + +// An internal failure occurred. +type InternalFailureException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"Message" type:"string"` + + // The Amazon Web Services request ID for this request. + RequestId *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 InternalFailureException) 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 InternalFailureException) GoString() string { + return s.String() +} + +func newErrorInternalFailureException(v protocol.ResponseMetadata) error { + return &InternalFailureException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *InternalFailureException) Code() string { + return "InternalFailureException" +} + +// Message returns the exception's message. +func (s *InternalFailureException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *InternalFailureException) OrigErr() error { + return nil +} + +func (s *InternalFailureException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *InternalFailureException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *InternalFailureException) RequestID() string { + return s.RespMetadata.RequestID +} + +// The NextToken value isn't valid. +type InvalidNextTokenException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"Message" type:"string"` + + // The Amazon Web Services request ID for this request. + RequestId *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 InvalidNextTokenException) 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 InvalidNextTokenException) GoString() string { + return s.String() +} + +func newErrorInvalidNextTokenException(v protocol.ResponseMetadata) error { + return &InvalidNextTokenException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *InvalidNextTokenException) Code() string { + return "InvalidNextTokenException" +} + +// Message returns the exception's message. +func (s *InvalidNextTokenException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *InvalidNextTokenException) OrigErr() error { + return nil +} + +func (s *InvalidNextTokenException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *InvalidNextTokenException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *InvalidNextTokenException) RequestID() string { + return s.RespMetadata.RequestID +} + +// One or more parameters has a value that isn't valid. +type InvalidParameterValueException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"Message" type:"string"` + + // The Amazon Web Services request ID for this request. + RequestId *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 InvalidParameterValueException) 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 InvalidParameterValueException) GoString() string { + return s.String() +} + +func newErrorInvalidParameterValueException(v protocol.ResponseMetadata) error { + return &InvalidParameterValueException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *InvalidParameterValueException) Code() string { + return "InvalidParameterValueException" +} + +// Message returns the exception's message. +func (s *InvalidParameterValueException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *InvalidParameterValueException) OrigErr() error { + return nil +} + +func (s *InvalidParameterValueException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *InvalidParameterValueException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *InvalidParameterValueException) RequestID() string { + return s.RespMetadata.RequestID +} + +// You don't have this feature activated for your account. To fix this issue, +// contact Amazon Web Services support. +type InvalidRequestException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"Message" type:"string"` + + // The Amazon Web Services request ID for this request. + RequestId *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 InvalidRequestException) 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 InvalidRequestException) GoString() string { + return s.String() +} + +func newErrorInvalidRequestException(v protocol.ResponseMetadata) error { + return &InvalidRequestException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *InvalidRequestException) Code() string { + return "InvalidRequestException" +} + +// Message returns the exception's message. +func (s *InvalidRequestException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *InvalidRequestException) OrigErr() error { + return nil +} + +func (s *InvalidRequestException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *InvalidRequestException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *InvalidRequestException) RequestID() string { + return s.RespMetadata.RequestID +} + +// The limit configuration of the visual display for an axis. +type ItemsLimitConfiguration struct { + _ struct{} `type:"structure"` + + // The limit on how many items of a field are showed in the chart. For example, + // the number of slices that are displayed in a pie chart. + ItemsLimit *int64 `type:"long"` + + // The Show other of an axis in the chart. Choose one of the following options: + // + // * INCLUDE + // + // * EXCLUDE + OtherCategories *string `type:"string" enum:"OtherCategories"` +} + +// 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 ItemsLimitConfiguration) 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 ItemsLimitConfiguration) GoString() string { + return s.String() +} + +// SetItemsLimit sets the ItemsLimit field's value. +func (s *ItemsLimitConfiguration) SetItemsLimit(v int64) *ItemsLimitConfiguration { + s.ItemsLimit = &v + return s +} + +// SetOtherCategories sets the OtherCategories field's value. +func (s *ItemsLimitConfiguration) SetOtherCategories(v string) *ItemsLimitConfiguration { + s.OtherCategories = &v + return s +} + +// The parameters for Jira. +type JiraParameters struct { + _ struct{} `type:"structure"` + + // The base URL of the Jira site. + // + // SiteBaseUrl is a required field + SiteBaseUrl *string `min:"1" type:"string" required:"true"` +} + +// 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 JiraParameters) 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 JiraParameters) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *JiraParameters) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "JiraParameters"} + if s.SiteBaseUrl == nil { + invalidParams.Add(request.NewErrParamRequired("SiteBaseUrl")) + } + if s.SiteBaseUrl != nil && len(*s.SiteBaseUrl) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SiteBaseUrl", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetSiteBaseUrl sets the SiteBaseUrl field's value. +func (s *JiraParameters) SetSiteBaseUrl(v string) *JiraParameters { + s.SiteBaseUrl = &v + return s +} + +// The instructions associated with a join. +type JoinInstruction struct { + _ struct{} `type:"structure"` + + // Join key properties of the left operand. + LeftJoinKeyProperties *JoinKeyProperties `type:"structure"` + + // The operand on the left side of a join. + // + // LeftOperand is a required field + LeftOperand *string `min:"1" type:"string" required:"true"` + + // The join instructions provided in the ON clause of a join. + // + // OnClause is a required field + OnClause *string `min:"1" type:"string" required:"true"` + + // Join key properties of the right operand. + RightJoinKeyProperties *JoinKeyProperties `type:"structure"` + + // The operand on the right side of a join. + // + // RightOperand is a required field + RightOperand *string `min:"1" type:"string" required:"true"` + + // The type of join that it is. + // + // Type is a required field + Type *string `type:"string" required:"true" enum:"JoinType"` +} + +// 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 JoinInstruction) 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 JoinInstruction) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *JoinInstruction) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "JoinInstruction"} + if s.LeftOperand == nil { + invalidParams.Add(request.NewErrParamRequired("LeftOperand")) + } + if s.LeftOperand != nil && len(*s.LeftOperand) < 1 { + invalidParams.Add(request.NewErrParamMinLen("LeftOperand", 1)) + } + if s.OnClause == nil { + invalidParams.Add(request.NewErrParamRequired("OnClause")) + } + if s.OnClause != nil && len(*s.OnClause) < 1 { + invalidParams.Add(request.NewErrParamMinLen("OnClause", 1)) + } + if s.RightOperand == nil { + invalidParams.Add(request.NewErrParamRequired("RightOperand")) + } + if s.RightOperand != nil && len(*s.RightOperand) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RightOperand", 1)) + } + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetLeftJoinKeyProperties sets the LeftJoinKeyProperties field's value. +func (s *JoinInstruction) SetLeftJoinKeyProperties(v *JoinKeyProperties) *JoinInstruction { + s.LeftJoinKeyProperties = v + return s +} + +// SetLeftOperand sets the LeftOperand field's value. +func (s *JoinInstruction) SetLeftOperand(v string) *JoinInstruction { + s.LeftOperand = &v + return s +} + +// SetOnClause sets the OnClause field's value. +func (s *JoinInstruction) SetOnClause(v string) *JoinInstruction { + s.OnClause = &v + return s +} + +// SetRightJoinKeyProperties sets the RightJoinKeyProperties field's value. +func (s *JoinInstruction) SetRightJoinKeyProperties(v *JoinKeyProperties) *JoinInstruction { + s.RightJoinKeyProperties = v + return s +} + +// SetRightOperand sets the RightOperand field's value. +func (s *JoinInstruction) SetRightOperand(v string) *JoinInstruction { + s.RightOperand = &v + return s +} + +// SetType sets the Type field's value. +func (s *JoinInstruction) SetType(v string) *JoinInstruction { + s.Type = &v + return s +} + +// Properties associated with the columns participating in a join. +type JoinKeyProperties struct { + _ struct{} `type:"structure"` + + // A value that indicates that a row in a table is uniquely identified by the + // columns in a join key. This is used by Amazon QuickSight to optimize query + // performance. + UniqueKey *bool `type:"boolean"` +} + +// 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 JoinKeyProperties) 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 JoinKeyProperties) GoString() string { + return s.String() +} + +// SetUniqueKey sets the UniqueKey field's value. +func (s *JoinKeyProperties) SetUniqueKey(v bool) *JoinKeyProperties { + s.UniqueKey = &v + return s +} + +// The conditional formatting of a KPI visual. +type KPIConditionalFormatting struct { + _ struct{} `type:"structure"` + + // The conditional formatting options of a KPI visual. + ConditionalFormattingOptions []*KPIConditionalFormattingOption `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 KPIConditionalFormatting) 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 KPIConditionalFormatting) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *KPIConditionalFormatting) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "KPIConditionalFormatting"} + if s.ConditionalFormattingOptions != nil { + for i, v := range s.ConditionalFormattingOptions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ConditionalFormattingOptions", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetConditionalFormattingOptions sets the ConditionalFormattingOptions field's value. +func (s *KPIConditionalFormatting) SetConditionalFormattingOptions(v []*KPIConditionalFormattingOption) *KPIConditionalFormatting { + s.ConditionalFormattingOptions = v + return s +} + +// The conditional formatting options of a KPI visual. +type KPIConditionalFormattingOption struct { + _ struct{} `type:"structure"` + + // The conditional formatting for the primary value of a KPI visual. + PrimaryValue *KPIPrimaryValueConditionalFormatting `type:"structure"` + + // The conditional formatting for the progress bar of a KPI visual. + ProgressBar *KPIProgressBarConditionalFormatting `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 KPIConditionalFormattingOption) 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 KPIConditionalFormattingOption) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *KPIConditionalFormattingOption) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "KPIConditionalFormattingOption"} + if s.PrimaryValue != nil { + if err := s.PrimaryValue.Validate(); err != nil { + invalidParams.AddNested("PrimaryValue", err.(request.ErrInvalidParams)) + } + } + if s.ProgressBar != nil { + if err := s.ProgressBar.Validate(); err != nil { + invalidParams.AddNested("ProgressBar", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPrimaryValue sets the PrimaryValue field's value. +func (s *KPIConditionalFormattingOption) SetPrimaryValue(v *KPIPrimaryValueConditionalFormatting) *KPIConditionalFormattingOption { + s.PrimaryValue = v + return s +} + +// SetProgressBar sets the ProgressBar field's value. +func (s *KPIConditionalFormattingOption) SetProgressBar(v *KPIProgressBarConditionalFormatting) *KPIConditionalFormattingOption { + s.ProgressBar = v + return s +} + +// The configuration of a KPI visual. +type KPIConfiguration struct { + _ struct{} `type:"structure"` + + // The field well configuration of a KPI visual. + FieldWells *KPIFieldWells `type:"structure"` + + // The options that determine the presentation of a KPI visual. + KPIOptions *KPIOptions `type:"structure"` + + // The sort configuration of a KPI visual. + SortConfiguration *KPISortConfiguration `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 KPIConfiguration) 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 KPIConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *KPIConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "KPIConfiguration"} + if s.FieldWells != nil { + if err := s.FieldWells.Validate(); err != nil { + invalidParams.AddNested("FieldWells", err.(request.ErrInvalidParams)) + } + } + if s.KPIOptions != nil { + if err := s.KPIOptions.Validate(); err != nil { + invalidParams.AddNested("KPIOptions", err.(request.ErrInvalidParams)) + } + } + if s.SortConfiguration != nil { + if err := s.SortConfiguration.Validate(); err != nil { + invalidParams.AddNested("SortConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFieldWells sets the FieldWells field's value. +func (s *KPIConfiguration) SetFieldWells(v *KPIFieldWells) *KPIConfiguration { + s.FieldWells = v + return s +} + +// SetKPIOptions sets the KPIOptions field's value. +func (s *KPIConfiguration) SetKPIOptions(v *KPIOptions) *KPIConfiguration { + s.KPIOptions = v + return s +} + +// SetSortConfiguration sets the SortConfiguration field's value. +func (s *KPIConfiguration) SetSortConfiguration(v *KPISortConfiguration) *KPIConfiguration { + s.SortConfiguration = v + return s +} + +// The field well configuration of a KPI visual. +type KPIFieldWells struct { + _ struct{} `type:"structure"` + + // The target value field wells of a KPI visual. + TargetValues []*MeasureField `type:"list"` + + // The trend group field wells of a KPI visual. + TrendGroups []*DimensionField `type:"list"` + + // The value field wells of a KPI visual. + Values []*MeasureField `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 KPIFieldWells) 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 KPIFieldWells) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *KPIFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "KPIFieldWells"} + if s.TargetValues != nil { + for i, v := range s.TargetValues { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "TargetValues", i), err.(request.ErrInvalidParams)) + } + } + } + if s.TrendGroups != nil { + for i, v := range s.TrendGroups { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "TrendGroups", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Values != nil { + for i, v := range s.Values { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Values", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetTargetValues sets the TargetValues field's value. +func (s *KPIFieldWells) SetTargetValues(v []*MeasureField) *KPIFieldWells { + s.TargetValues = v + return s +} + +// SetTrendGroups sets the TrendGroups field's value. +func (s *KPIFieldWells) SetTrendGroups(v []*DimensionField) *KPIFieldWells { + s.TrendGroups = v + return s +} + +// SetValues sets the Values field's value. +func (s *KPIFieldWells) SetValues(v []*MeasureField) *KPIFieldWells { + s.Values = v + return s +} + +// The options that determine the presentation of a KPI visual. +type KPIOptions struct { + _ struct{} `type:"structure"` + + // The comparison configuration of a KPI visual. + Comparison *ComparisonConfiguration `type:"structure"` + + // The options that determine the primary value display type. + PrimaryValueDisplayType *string `type:"string" enum:"PrimaryValueDisplayType"` + + // The options that determine the primary value font configuration. + PrimaryValueFontConfiguration *FontConfiguration `type:"structure"` + + // The options that determine the presentation of the progress bar of a KPI + // visual. + ProgressBar *ProgressBarOptions `type:"structure"` + + // The options that determine the presentation of the secondary value of a KPI + // visual. + SecondaryValue *SecondaryValueOptions `type:"structure"` + + // The options that determine the secondary value font configuration. + SecondaryValueFontConfiguration *FontConfiguration `type:"structure"` + + // The options that determine the presentation of trend arrows in a KPI visual. + TrendArrows *TrendArrowOptions `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 KPIOptions) 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 KPIOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *KPIOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "KPIOptions"} + if s.Comparison != nil { + if err := s.Comparison.Validate(); err != nil { + invalidParams.AddNested("Comparison", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetComparison sets the Comparison field's value. +func (s *KPIOptions) SetComparison(v *ComparisonConfiguration) *KPIOptions { + s.Comparison = v + return s +} + +// SetPrimaryValueDisplayType sets the PrimaryValueDisplayType field's value. +func (s *KPIOptions) SetPrimaryValueDisplayType(v string) *KPIOptions { + s.PrimaryValueDisplayType = &v + return s +} + +// SetPrimaryValueFontConfiguration sets the PrimaryValueFontConfiguration field's value. +func (s *KPIOptions) SetPrimaryValueFontConfiguration(v *FontConfiguration) *KPIOptions { + s.PrimaryValueFontConfiguration = v + return s +} + +// SetProgressBar sets the ProgressBar field's value. +func (s *KPIOptions) SetProgressBar(v *ProgressBarOptions) *KPIOptions { + s.ProgressBar = v + return s +} + +// SetSecondaryValue sets the SecondaryValue field's value. +func (s *KPIOptions) SetSecondaryValue(v *SecondaryValueOptions) *KPIOptions { + s.SecondaryValue = v + return s +} + +// SetSecondaryValueFontConfiguration sets the SecondaryValueFontConfiguration field's value. +func (s *KPIOptions) SetSecondaryValueFontConfiguration(v *FontConfiguration) *KPIOptions { + s.SecondaryValueFontConfiguration = v + return s +} + +// SetTrendArrows sets the TrendArrows field's value. +func (s *KPIOptions) SetTrendArrows(v *TrendArrowOptions) *KPIOptions { + s.TrendArrows = v + return s +} + +// The conditional formatting for the primary value of a KPI visual. +type KPIPrimaryValueConditionalFormatting struct { + _ struct{} `type:"structure"` + + // The conditional formatting of the primary value's icon. + Icon *ConditionalFormattingIcon `type:"structure"` + + // The conditional formatting of the primary value's text color. + TextColor *ConditionalFormattingColor `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 KPIPrimaryValueConditionalFormatting) 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 KPIPrimaryValueConditionalFormatting) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *KPIPrimaryValueConditionalFormatting) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "KPIPrimaryValueConditionalFormatting"} + if s.Icon != nil { + if err := s.Icon.Validate(); err != nil { + invalidParams.AddNested("Icon", err.(request.ErrInvalidParams)) + } + } + if s.TextColor != nil { + if err := s.TextColor.Validate(); err != nil { + invalidParams.AddNested("TextColor", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetIcon sets the Icon field's value. +func (s *KPIPrimaryValueConditionalFormatting) SetIcon(v *ConditionalFormattingIcon) *KPIPrimaryValueConditionalFormatting { + s.Icon = v + return s +} + +// SetTextColor sets the TextColor field's value. +func (s *KPIPrimaryValueConditionalFormatting) SetTextColor(v *ConditionalFormattingColor) *KPIPrimaryValueConditionalFormatting { + s.TextColor = v + return s +} + +// The conditional formatting for the progress bar of a KPI visual. +type KPIProgressBarConditionalFormatting struct { + _ struct{} `type:"structure"` + + // The conditional formatting of the progress bar's foreground color. + ForegroundColor *ConditionalFormattingColor `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 KPIProgressBarConditionalFormatting) 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 KPIProgressBarConditionalFormatting) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *KPIProgressBarConditionalFormatting) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "KPIProgressBarConditionalFormatting"} + if s.ForegroundColor != nil { + if err := s.ForegroundColor.Validate(); err != nil { + invalidParams.AddNested("ForegroundColor", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetForegroundColor sets the ForegroundColor field's value. +func (s *KPIProgressBarConditionalFormatting) SetForegroundColor(v *ConditionalFormattingColor) *KPIProgressBarConditionalFormatting { + s.ForegroundColor = v + return s +} + +// The sort configuration of a KPI visual. +type KPISortConfiguration struct { + _ struct{} `type:"structure"` + + // The sort configuration of the trend group fields. + TrendGroupSort []*FieldSortOptions `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 KPISortConfiguration) 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 KPISortConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *KPISortConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "KPISortConfiguration"} + if s.TrendGroupSort != nil { + for i, v := range s.TrendGroupSort { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "TrendGroupSort", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetTrendGroupSort sets the TrendGroupSort field's value. +func (s *KPISortConfiguration) SetTrendGroupSort(v []*FieldSortOptions) *KPISortConfiguration { + s.TrendGroupSort = v + return s +} + +// A key performance indicator (KPI). +// +// For more information, see Using KPIs (https://docs.aws.amazon.com/quicksight/latest/user/kpi.html) +// in the Amazon QuickSight User Guide. +type KPIVisual struct { + _ struct{} `type:"structure"` + + // The list of custom actions that are configured for a visual. + Actions []*VisualCustomAction `type:"list"` + + // The configuration of a KPI visual. + ChartConfiguration *KPIConfiguration `type:"structure"` + + // The column hierarchy that is used during drill-downs and drill-ups. + ColumnHierarchies []*ColumnHierarchy `type:"list"` + + // The conditional formatting of a KPI visual. + ConditionalFormatting *KPIConditionalFormatting `type:"structure"` + + // The subtitle that is displayed on the visual. + Subtitle *VisualSubtitleLabelOptions `type:"structure"` + + // The title that is displayed on the visual. + Title *VisualTitleLabelOptions `type:"structure"` + + // The unique identifier of a visual. This identifier must be unique within + // the context of a dashboard, template, or analysis. Two dashboards, analyses, + // or templates can have visuals with the same identifiers. + // + // VisualId is a required field + VisualId *string `min:"1" type:"string" required:"true"` +} + +// 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 KPIVisual) 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 KPIVisual) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *KPIVisual) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "KPIVisual"} + if s.VisualId == nil { + invalidParams.Add(request.NewErrParamRequired("VisualId")) + } + if s.VisualId != nil && len(*s.VisualId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("VisualId", 1)) + } + if s.Actions != nil { + for i, v := range s.Actions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Actions", i), err.(request.ErrInvalidParams)) + } + } + } + if s.ChartConfiguration != nil { + if err := s.ChartConfiguration.Validate(); err != nil { + invalidParams.AddNested("ChartConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.ColumnHierarchies != nil { + for i, v := range s.ColumnHierarchies { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnHierarchies", i), err.(request.ErrInvalidParams)) + } + } + } + if s.ConditionalFormatting != nil { + if err := s.ConditionalFormatting.Validate(); err != nil { + invalidParams.AddNested("ConditionalFormatting", err.(request.ErrInvalidParams)) + } + } + if s.Subtitle != nil { + if err := s.Subtitle.Validate(); err != nil { + invalidParams.AddNested("Subtitle", err.(request.ErrInvalidParams)) + } + } + if s.Title != nil { + if err := s.Title.Validate(); err != nil { + invalidParams.AddNested("Title", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetActions sets the Actions field's value. +func (s *KPIVisual) SetActions(v []*VisualCustomAction) *KPIVisual { + s.Actions = v + return s +} + +// SetChartConfiguration sets the ChartConfiguration field's value. +func (s *KPIVisual) SetChartConfiguration(v *KPIConfiguration) *KPIVisual { + s.ChartConfiguration = v + return s +} + +// SetColumnHierarchies sets the ColumnHierarchies field's value. +func (s *KPIVisual) SetColumnHierarchies(v []*ColumnHierarchy) *KPIVisual { + s.ColumnHierarchies = v + return s +} + +// SetConditionalFormatting sets the ConditionalFormatting field's value. +func (s *KPIVisual) SetConditionalFormatting(v *KPIConditionalFormatting) *KPIVisual { + s.ConditionalFormatting = v + return s +} + +// SetSubtitle sets the Subtitle field's value. +func (s *KPIVisual) SetSubtitle(v *VisualSubtitleLabelOptions) *KPIVisual { + s.Subtitle = v + return s +} + +// SetTitle sets the Title field's value. +func (s *KPIVisual) SetTitle(v *VisualTitleLabelOptions) *KPIVisual { + s.Title = v + return s +} + +// SetVisualId sets the VisualId field's value. +func (s *KPIVisual) SetVisualId(v string) *KPIVisual { + s.VisualId = &v + return s +} + +// The share label options for the labels. +type LabelOptions struct { + _ struct{} `type:"structure"` + + // The text for the label. + CustomLabel *string `type:"string"` + + // The font configuration of the label. + FontConfiguration *FontConfiguration `type:"structure"` + + // Determines whether or not the label is visible. + Visibility *string `type:"string" enum:"Visibility"` +} + +// 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 LabelOptions) 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 LabelOptions) GoString() string { + return s.String() +} + +// SetCustomLabel sets the CustomLabel field's value. +func (s *LabelOptions) SetCustomLabel(v string) *LabelOptions { + s.CustomLabel = &v + return s +} + +// SetFontConfiguration sets the FontConfiguration field's value. +func (s *LabelOptions) SetFontConfiguration(v *FontConfiguration) *LabelOptions { + s.FontConfiguration = v + return s +} + +// SetVisibility sets the Visibility field's value. +func (s *LabelOptions) SetVisibility(v string) *LabelOptions { + s.Visibility = &v + return s +} + +// A Layout defines the placement of elements within a sheet. +// +// For more information, see Types of layout (https://docs.aws.amazon.com/quicksight/latest/user/types-of-layout.html) +// in the Amazon QuickSight User Guide. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type Layout struct { + _ struct{} `type:"structure"` + + // The configuration that determines what the type of layout for a sheet. + // + // Configuration is a required field + Configuration *LayoutConfiguration `type:"structure" required:"true"` +} + +// 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 Layout) 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 Layout) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *Layout) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Layout"} + if s.Configuration == nil { + invalidParams.Add(request.NewErrParamRequired("Configuration")) + } + if s.Configuration != nil { + if err := s.Configuration.Validate(); err != nil { + invalidParams.AddNested("Configuration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetConfiguration sets the Configuration field's value. +func (s *Layout) SetConfiguration(v *LayoutConfiguration) *Layout { + s.Configuration = v + return s +} + +// The configuration that determines what the type of layout will be used on +// a sheet. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type LayoutConfiguration struct { + _ struct{} `type:"structure"` + + // A free-form is optimized for a fixed width and has more control over the + // exact placement of layout elements. + FreeFormLayout *FreeFormLayoutConfiguration `type:"structure"` + + // A type of layout that can be used on a sheet. In a grid layout, visuals snap + // to a grid with standard spacing and alignment. Dashboards are displayed as + // designed, with options to fit to screen or view at actual size. A grid layout + // can be configured to behave in one of two ways when the viewport is resized: + // FIXED or RESPONSIVE. + GridLayout *GridLayoutConfiguration `type:"structure"` + + // A section based layout organizes visuals into multiple sections and has customized + // header, footer and page break. + SectionBasedLayout *SectionBasedLayoutConfiguration `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 LayoutConfiguration) 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 LayoutConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *LayoutConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "LayoutConfiguration"} + if s.FreeFormLayout != nil { + if err := s.FreeFormLayout.Validate(); err != nil { + invalidParams.AddNested("FreeFormLayout", err.(request.ErrInvalidParams)) + } + } + if s.GridLayout != nil { + if err := s.GridLayout.Validate(); err != nil { + invalidParams.AddNested("GridLayout", err.(request.ErrInvalidParams)) + } + } + if s.SectionBasedLayout != nil { + if err := s.SectionBasedLayout.Validate(); err != nil { + invalidParams.AddNested("SectionBasedLayout", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFreeFormLayout sets the FreeFormLayout field's value. +func (s *LayoutConfiguration) SetFreeFormLayout(v *FreeFormLayoutConfiguration) *LayoutConfiguration { + s.FreeFormLayout = v + return s +} + +// SetGridLayout sets the GridLayout field's value. +func (s *LayoutConfiguration) SetGridLayout(v *GridLayoutConfiguration) *LayoutConfiguration { + s.GridLayout = v + return s +} + +// SetSectionBasedLayout sets the SectionBasedLayout field's value. +func (s *LayoutConfiguration) SetSectionBasedLayout(v *SectionBasedLayoutConfiguration) *LayoutConfiguration { + s.SectionBasedLayout = v + return s +} + +// The options for the legend setup of a visual. +type LegendOptions struct { + _ struct{} `type:"structure"` + + // The height of the legend. If this value is omitted, a default height is used + // when rendering. + Height *string `type:"string"` + + // The positions for the legend. Choose one of the following options: + // + // * AUTO + // + // * RIGHT + // + // * BOTTOM + // + // * LEFT + Position *string `type:"string" enum:"LegendPosition"` + + // The custom title for the legend. + Title *LabelOptions `type:"structure"` + + // Determines whether or not the legend is visible. + Visibility *string `type:"string" enum:"Visibility"` + + // The width of the legend. If this value is omitted, a default width is used + // when rendering. + Width *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 LegendOptions) 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 LegendOptions) GoString() string { + return s.String() +} + +// SetHeight sets the Height field's value. +func (s *LegendOptions) SetHeight(v string) *LegendOptions { + s.Height = &v + return s +} + +// SetPosition sets the Position field's value. +func (s *LegendOptions) SetPosition(v string) *LegendOptions { + s.Position = &v + return s +} + +// SetTitle sets the Title field's value. +func (s *LegendOptions) SetTitle(v *LabelOptions) *LegendOptions { + s.Title = v + return s +} + +// SetVisibility sets the Visibility field's value. +func (s *LegendOptions) SetVisibility(v string) *LegendOptions { + s.Visibility = &v + return s +} + +// SetWidth sets the Width field's value. +func (s *LegendOptions) SetWidth(v string) *LegendOptions { + s.Width = &v + return s +} + +// A limit is exceeded. +type LimitExceededException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"Message" type:"string"` + + // The Amazon Web Services request ID for this request. + RequestId *string `type:"string"` + + // Limit exceeded. + ResourceType *string `type:"string" enum:"ExceptionResourceType"` +} + +// 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 LimitExceededException) 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 LimitExceededException) GoString() string { + return s.String() +} + +func newErrorLimitExceededException(v protocol.ResponseMetadata) error { + return &LimitExceededException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *LimitExceededException) Code() string { + return "LimitExceededException" +} + +// Message returns the exception's message. +func (s *LimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *LimitExceededException) OrigErr() error { + return nil +} + +func (s *LimitExceededException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *LimitExceededException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *LimitExceededException) RequestID() string { + return s.RespMetadata.RequestID +} + +// The field well configuration of a line chart. +type LineChartAggregatedFieldWells struct { + _ struct{} `type:"structure"` + + // The category field wells of a line chart. Values are grouped by category + // fields. + Category []*DimensionField `type:"list"` + + // The color field wells of a line chart. Values are grouped by category fields. + Colors []*DimensionField `type:"list"` + + // The small multiples field well of a line chart. + SmallMultiples []*DimensionField `type:"list"` + + // The value field wells of a line chart. Values are aggregated based on categories. + Values []*MeasureField `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 LineChartAggregatedFieldWells) 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 LineChartAggregatedFieldWells) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *LineChartAggregatedFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "LineChartAggregatedFieldWells"} + if s.Category != nil { + for i, v := range s.Category { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Category", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Colors != nil { + for i, v := range s.Colors { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Colors", i), err.(request.ErrInvalidParams)) + } + } + } + if s.SmallMultiples != nil { + for i, v := range s.SmallMultiples { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SmallMultiples", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Values != nil { + for i, v := range s.Values { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Values", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCategory sets the Category field's value. +func (s *LineChartAggregatedFieldWells) SetCategory(v []*DimensionField) *LineChartAggregatedFieldWells { + s.Category = v + return s +} + +// SetColors sets the Colors field's value. +func (s *LineChartAggregatedFieldWells) SetColors(v []*DimensionField) *LineChartAggregatedFieldWells { + s.Colors = v + return s +} + +// SetSmallMultiples sets the SmallMultiples field's value. +func (s *LineChartAggregatedFieldWells) SetSmallMultiples(v []*DimensionField) *LineChartAggregatedFieldWells { + s.SmallMultiples = v + return s +} + +// SetValues sets the Values field's value. +func (s *LineChartAggregatedFieldWells) SetValues(v []*MeasureField) *LineChartAggregatedFieldWells { + s.Values = v + return s +} + +// The configuration of a line chart. +type LineChartConfiguration struct { + _ struct{} `type:"structure"` + + // The default configuration of a line chart's contribution analysis. + ContributionAnalysisDefaults []*ContributionAnalysisDefault `min:"1" type:"list"` + + // The data label configuration of a line chart. + DataLabels *DataLabelOptions `type:"structure"` + + // The options that determine the default presentation of all line series in + // LineChartVisual. + DefaultSeriesSettings *LineChartDefaultSeriesSettings `type:"structure"` + + // The field well configuration of a line chart. + FieldWells *LineChartFieldWells `type:"structure"` + + // The forecast configuration of a line chart. + ForecastConfigurations []*ForecastConfiguration `type:"list"` + + // The legend configuration of a line chart. + Legend *LegendOptions `type:"structure"` + + // The series axis configuration of a line chart. + PrimaryYAxisDisplayOptions *LineSeriesAxisDisplayOptions `type:"structure"` + + // The options that determine the presentation of the y-axis label. + PrimaryYAxisLabelOptions *ChartAxisLabelOptions `type:"structure"` + + // The reference lines configuration of a line chart. + ReferenceLines []*ReferenceLine `type:"list"` + + // The series axis configuration of a line chart. + SecondaryYAxisDisplayOptions *LineSeriesAxisDisplayOptions `type:"structure"` + + // The options that determine the presentation of the secondary y-axis label. + SecondaryYAxisLabelOptions *ChartAxisLabelOptions `type:"structure"` + + // The series item configuration of a line chart. + Series []*SeriesItem `type:"list"` + + // The small multiples setup for the visual. + SmallMultiplesOptions *SmallMultiplesOptions `type:"structure"` + + // The sort configuration of a line chart. + SortConfiguration *LineChartSortConfiguration `type:"structure"` + + // The tooltip configuration of a line chart. + Tooltip *TooltipOptions `type:"structure"` + + // Determines the type of the line chart. + Type *string `type:"string" enum:"LineChartType"` + + // The visual palette configuration of a line chart. + VisualPalette *VisualPalette `type:"structure"` + + // The options that determine the presentation of the x-axis. + XAxisDisplayOptions *AxisDisplayOptions `type:"structure"` + + // The options that determine the presentation of the x-axis label. + XAxisLabelOptions *ChartAxisLabelOptions `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 LineChartConfiguration) 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 LineChartConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *LineChartConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "LineChartConfiguration"} + if s.ContributionAnalysisDefaults != nil && len(s.ContributionAnalysisDefaults) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ContributionAnalysisDefaults", 1)) + } + if s.ContributionAnalysisDefaults != nil { + for i, v := range s.ContributionAnalysisDefaults { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ContributionAnalysisDefaults", i), err.(request.ErrInvalidParams)) + } + } + } + if s.DataLabels != nil { + if err := s.DataLabels.Validate(); err != nil { + invalidParams.AddNested("DataLabels", err.(request.ErrInvalidParams)) + } + } + if s.FieldWells != nil { + if err := s.FieldWells.Validate(); err != nil { + invalidParams.AddNested("FieldWells", err.(request.ErrInvalidParams)) + } + } + if s.ForecastConfigurations != nil { + for i, v := range s.ForecastConfigurations { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ForecastConfigurations", i), err.(request.ErrInvalidParams)) + } + } + } + if s.PrimaryYAxisLabelOptions != nil { + if err := s.PrimaryYAxisLabelOptions.Validate(); err != nil { + invalidParams.AddNested("PrimaryYAxisLabelOptions", err.(request.ErrInvalidParams)) + } + } + if s.ReferenceLines != nil { + for i, v := range s.ReferenceLines { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ReferenceLines", i), err.(request.ErrInvalidParams)) + } + } + } + if s.SecondaryYAxisLabelOptions != nil { + if err := s.SecondaryYAxisLabelOptions.Validate(); err != nil { + invalidParams.AddNested("SecondaryYAxisLabelOptions", err.(request.ErrInvalidParams)) + } + } + if s.Series != nil { + for i, v := range s.Series { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Series", i), err.(request.ErrInvalidParams)) + } + } + } + if s.SmallMultiplesOptions != nil { + if err := s.SmallMultiplesOptions.Validate(); err != nil { + invalidParams.AddNested("SmallMultiplesOptions", err.(request.ErrInvalidParams)) + } + } + if s.SortConfiguration != nil { + if err := s.SortConfiguration.Validate(); err != nil { + invalidParams.AddNested("SortConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.Tooltip != nil { + if err := s.Tooltip.Validate(); err != nil { + invalidParams.AddNested("Tooltip", err.(request.ErrInvalidParams)) + } + } + if s.VisualPalette != nil { + if err := s.VisualPalette.Validate(); err != nil { + invalidParams.AddNested("VisualPalette", err.(request.ErrInvalidParams)) + } + } + if s.XAxisLabelOptions != nil { + if err := s.XAxisLabelOptions.Validate(); err != nil { + invalidParams.AddNested("XAxisLabelOptions", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetContributionAnalysisDefaults sets the ContributionAnalysisDefaults field's value. +func (s *LineChartConfiguration) SetContributionAnalysisDefaults(v []*ContributionAnalysisDefault) *LineChartConfiguration { + s.ContributionAnalysisDefaults = v + return s +} + +// SetDataLabels sets the DataLabels field's value. +func (s *LineChartConfiguration) SetDataLabels(v *DataLabelOptions) *LineChartConfiguration { + s.DataLabels = v + return s +} + +// SetDefaultSeriesSettings sets the DefaultSeriesSettings field's value. +func (s *LineChartConfiguration) SetDefaultSeriesSettings(v *LineChartDefaultSeriesSettings) *LineChartConfiguration { + s.DefaultSeriesSettings = v + return s +} + +// SetFieldWells sets the FieldWells field's value. +func (s *LineChartConfiguration) SetFieldWells(v *LineChartFieldWells) *LineChartConfiguration { + s.FieldWells = v + return s +} + +// SetForecastConfigurations sets the ForecastConfigurations field's value. +func (s *LineChartConfiguration) SetForecastConfigurations(v []*ForecastConfiguration) *LineChartConfiguration { + s.ForecastConfigurations = v + return s +} + +// SetLegend sets the Legend field's value. +func (s *LineChartConfiguration) SetLegend(v *LegendOptions) *LineChartConfiguration { + s.Legend = v + return s +} + +// SetPrimaryYAxisDisplayOptions sets the PrimaryYAxisDisplayOptions field's value. +func (s *LineChartConfiguration) SetPrimaryYAxisDisplayOptions(v *LineSeriesAxisDisplayOptions) *LineChartConfiguration { + s.PrimaryYAxisDisplayOptions = v + return s +} + +// SetPrimaryYAxisLabelOptions sets the PrimaryYAxisLabelOptions field's value. +func (s *LineChartConfiguration) SetPrimaryYAxisLabelOptions(v *ChartAxisLabelOptions) *LineChartConfiguration { + s.PrimaryYAxisLabelOptions = v + return s +} + +// SetReferenceLines sets the ReferenceLines field's value. +func (s *LineChartConfiguration) SetReferenceLines(v []*ReferenceLine) *LineChartConfiguration { + s.ReferenceLines = v + return s +} + +// SetSecondaryYAxisDisplayOptions sets the SecondaryYAxisDisplayOptions field's value. +func (s *LineChartConfiguration) SetSecondaryYAxisDisplayOptions(v *LineSeriesAxisDisplayOptions) *LineChartConfiguration { + s.SecondaryYAxisDisplayOptions = v + return s +} + +// SetSecondaryYAxisLabelOptions sets the SecondaryYAxisLabelOptions field's value. +func (s *LineChartConfiguration) SetSecondaryYAxisLabelOptions(v *ChartAxisLabelOptions) *LineChartConfiguration { + s.SecondaryYAxisLabelOptions = v + return s +} + +// SetSeries sets the Series field's value. +func (s *LineChartConfiguration) SetSeries(v []*SeriesItem) *LineChartConfiguration { + s.Series = v + return s +} + +// SetSmallMultiplesOptions sets the SmallMultiplesOptions field's value. +func (s *LineChartConfiguration) SetSmallMultiplesOptions(v *SmallMultiplesOptions) *LineChartConfiguration { + s.SmallMultiplesOptions = v + return s +} + +// SetSortConfiguration sets the SortConfiguration field's value. +func (s *LineChartConfiguration) SetSortConfiguration(v *LineChartSortConfiguration) *LineChartConfiguration { + s.SortConfiguration = v + return s +} + +// SetTooltip sets the Tooltip field's value. +func (s *LineChartConfiguration) SetTooltip(v *TooltipOptions) *LineChartConfiguration { + s.Tooltip = v + return s +} + +// SetType sets the Type field's value. +func (s *LineChartConfiguration) SetType(v string) *LineChartConfiguration { + s.Type = &v + return s +} + +// SetVisualPalette sets the VisualPalette field's value. +func (s *LineChartConfiguration) SetVisualPalette(v *VisualPalette) *LineChartConfiguration { + s.VisualPalette = v + return s +} + +// SetXAxisDisplayOptions sets the XAxisDisplayOptions field's value. +func (s *LineChartConfiguration) SetXAxisDisplayOptions(v *AxisDisplayOptions) *LineChartConfiguration { + s.XAxisDisplayOptions = v + return s +} + +// SetXAxisLabelOptions sets the XAxisLabelOptions field's value. +func (s *LineChartConfiguration) SetXAxisLabelOptions(v *ChartAxisLabelOptions) *LineChartConfiguration { + s.XAxisLabelOptions = v + return s +} + +// The options that determine the default presentation of all line series in +// LineChartVisual. +type LineChartDefaultSeriesSettings struct { + _ struct{} `type:"structure"` + + // The axis to which you are binding all line series to. + AxisBinding *string `type:"string" enum:"AxisBinding"` + + // Line styles options for all line series in the visual. + LineStyleSettings *LineChartLineStyleSettings `type:"structure"` + + // Marker styles options for all line series in the visual. + MarkerStyleSettings *LineChartMarkerStyleSettings `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 LineChartDefaultSeriesSettings) 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 LineChartDefaultSeriesSettings) GoString() string { + return s.String() +} + +// SetAxisBinding sets the AxisBinding field's value. +func (s *LineChartDefaultSeriesSettings) SetAxisBinding(v string) *LineChartDefaultSeriesSettings { + s.AxisBinding = &v + return s +} + +// SetLineStyleSettings sets the LineStyleSettings field's value. +func (s *LineChartDefaultSeriesSettings) SetLineStyleSettings(v *LineChartLineStyleSettings) *LineChartDefaultSeriesSettings { + s.LineStyleSettings = v + return s +} + +// SetMarkerStyleSettings sets the MarkerStyleSettings field's value. +func (s *LineChartDefaultSeriesSettings) SetMarkerStyleSettings(v *LineChartMarkerStyleSettings) *LineChartDefaultSeriesSettings { + s.MarkerStyleSettings = v + return s +} + +// The field well configuration of a line chart. +type LineChartFieldWells struct { + _ struct{} `type:"structure"` + + // The field well configuration of a line chart. + LineChartAggregatedFieldWells *LineChartAggregatedFieldWells `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 LineChartFieldWells) 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 LineChartFieldWells) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *LineChartFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "LineChartFieldWells"} + if s.LineChartAggregatedFieldWells != nil { + if err := s.LineChartAggregatedFieldWells.Validate(); err != nil { + invalidParams.AddNested("LineChartAggregatedFieldWells", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetLineChartAggregatedFieldWells sets the LineChartAggregatedFieldWells field's value. +func (s *LineChartFieldWells) SetLineChartAggregatedFieldWells(v *LineChartAggregatedFieldWells) *LineChartFieldWells { + s.LineChartAggregatedFieldWells = v + return s +} + +// Line styles options for a line series in LineChartVisual. +type LineChartLineStyleSettings struct { + _ struct{} `type:"structure"` + + // Interpolation style for line series. + // + // * LINEAR: Show as default, linear style. + // + // * SMOOTH: Show as a smooth curve. + // + // * STEPPED: Show steps in line. + LineInterpolation *string `type:"string" enum:"LineInterpolation"` + + // Line style for line series. + // + // * SOLID: Show as a solid line. + // + // * DOTTED: Show as a dotted line. + // + // * DASHED: Show as a dashed line. + LineStyle *string `type:"string" enum:"LineChartLineStyle"` + + // Configuration option that determines whether to show the line for the series. + LineVisibility *string `type:"string" enum:"Visibility"` + + // Width that determines the line thickness. + LineWidth *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 LineChartLineStyleSettings) 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 LineChartLineStyleSettings) GoString() string { + return s.String() +} + +// SetLineInterpolation sets the LineInterpolation field's value. +func (s *LineChartLineStyleSettings) SetLineInterpolation(v string) *LineChartLineStyleSettings { + s.LineInterpolation = &v + return s +} + +// SetLineStyle sets the LineStyle field's value. +func (s *LineChartLineStyleSettings) SetLineStyle(v string) *LineChartLineStyleSettings { + s.LineStyle = &v + return s +} + +// SetLineVisibility sets the LineVisibility field's value. +func (s *LineChartLineStyleSettings) SetLineVisibility(v string) *LineChartLineStyleSettings { + s.LineVisibility = &v + return s +} + +// SetLineWidth sets the LineWidth field's value. +func (s *LineChartLineStyleSettings) SetLineWidth(v string) *LineChartLineStyleSettings { + s.LineWidth = &v + return s +} + +// Marker styles options for a line series in LineChartVisual. +type LineChartMarkerStyleSettings struct { + _ struct{} `type:"structure"` + + // Color of marker in the series. + MarkerColor *string `type:"string"` + + // Shape option for markers in the series. + // + // * CIRCLE: Show marker as a circle. + // + // * TRIANGLE: Show marker as a triangle. + // + // * SQUARE: Show marker as a square. + // + // * DIAMOND: Show marker as a diamond. + // + // * ROUNDED_SQUARE: Show marker as a rounded square. + MarkerShape *string `type:"string" enum:"LineChartMarkerShape"` + + // Size of marker in the series. + MarkerSize *string `type:"string"` + + // Configuration option that determines whether to show the markers in the series. + MarkerVisibility *string `type:"string" enum:"Visibility"` +} + +// 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 LineChartMarkerStyleSettings) 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 LineChartMarkerStyleSettings) GoString() string { + return s.String() +} + +// SetMarkerColor sets the MarkerColor field's value. +func (s *LineChartMarkerStyleSettings) SetMarkerColor(v string) *LineChartMarkerStyleSettings { + s.MarkerColor = &v + return s +} + +// SetMarkerShape sets the MarkerShape field's value. +func (s *LineChartMarkerStyleSettings) SetMarkerShape(v string) *LineChartMarkerStyleSettings { + s.MarkerShape = &v + return s +} + +// SetMarkerSize sets the MarkerSize field's value. +func (s *LineChartMarkerStyleSettings) SetMarkerSize(v string) *LineChartMarkerStyleSettings { + s.MarkerSize = &v + return s +} + +// SetMarkerVisibility sets the MarkerVisibility field's value. +func (s *LineChartMarkerStyleSettings) SetMarkerVisibility(v string) *LineChartMarkerStyleSettings { + s.MarkerVisibility = &v + return s +} + +// The options that determine the presentation of a line series in the visual +type LineChartSeriesSettings struct { + _ struct{} `type:"structure"` + + // Line styles options for a line series in LineChartVisual. + LineStyleSettings *LineChartLineStyleSettings `type:"structure"` + + // Marker styles options for a line series in LineChartVisual. + MarkerStyleSettings *LineChartMarkerStyleSettings `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 LineChartSeriesSettings) 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 LineChartSeriesSettings) GoString() string { + return s.String() +} + +// SetLineStyleSettings sets the LineStyleSettings field's value. +func (s *LineChartSeriesSettings) SetLineStyleSettings(v *LineChartLineStyleSettings) *LineChartSeriesSettings { + s.LineStyleSettings = v + return s +} + +// SetMarkerStyleSettings sets the MarkerStyleSettings field's value. +func (s *LineChartSeriesSettings) SetMarkerStyleSettings(v *LineChartMarkerStyleSettings) *LineChartSeriesSettings { + s.MarkerStyleSettings = v + return s +} + +// The sort configuration of a line chart. +type LineChartSortConfiguration struct { + _ struct{} `type:"structure"` + + // The limit on the number of categories that are displayed in a line chart. + CategoryItemsLimitConfiguration *ItemsLimitConfiguration `type:"structure"` + + // The sort configuration of the category fields. + CategorySort []*FieldSortOptions `type:"list"` + + // The limit on the number of lines that are displayed in a line chart. + ColorItemsLimitConfiguration *ItemsLimitConfiguration `type:"structure"` + + // The limit on the number of small multiples panels that are displayed. + SmallMultiplesLimitConfiguration *ItemsLimitConfiguration `type:"structure"` + + // The sort configuration of the small multiples field. + SmallMultiplesSort []*FieldSortOptions `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 LineChartSortConfiguration) 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 LineChartSortConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *LineChartSortConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "LineChartSortConfiguration"} + if s.CategorySort != nil { + for i, v := range s.CategorySort { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CategorySort", i), err.(request.ErrInvalidParams)) + } + } + } + if s.SmallMultiplesSort != nil { + for i, v := range s.SmallMultiplesSort { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SmallMultiplesSort", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCategoryItemsLimitConfiguration sets the CategoryItemsLimitConfiguration field's value. +func (s *LineChartSortConfiguration) SetCategoryItemsLimitConfiguration(v *ItemsLimitConfiguration) *LineChartSortConfiguration { + s.CategoryItemsLimitConfiguration = v + return s +} + +// SetCategorySort sets the CategorySort field's value. +func (s *LineChartSortConfiguration) SetCategorySort(v []*FieldSortOptions) *LineChartSortConfiguration { + s.CategorySort = v + return s +} + +// SetColorItemsLimitConfiguration sets the ColorItemsLimitConfiguration field's value. +func (s *LineChartSortConfiguration) SetColorItemsLimitConfiguration(v *ItemsLimitConfiguration) *LineChartSortConfiguration { + s.ColorItemsLimitConfiguration = v + return s +} + +// SetSmallMultiplesLimitConfiguration sets the SmallMultiplesLimitConfiguration field's value. +func (s *LineChartSortConfiguration) SetSmallMultiplesLimitConfiguration(v *ItemsLimitConfiguration) *LineChartSortConfiguration { + s.SmallMultiplesLimitConfiguration = v + return s +} + +// SetSmallMultiplesSort sets the SmallMultiplesSort field's value. +func (s *LineChartSortConfiguration) SetSmallMultiplesSort(v []*FieldSortOptions) *LineChartSortConfiguration { + s.SmallMultiplesSort = v + return s +} + +// A line chart. +// +// For more information, see Using line charts (https://docs.aws.amazon.com/quicksight/latest/user/line-charts.html) +// in the Amazon QuickSight User Guide. +type LineChartVisual struct { + _ struct{} `type:"structure"` + + // The list of custom actions that are configured for a visual. + Actions []*VisualCustomAction `type:"list"` + + // The configuration of a line chart. + ChartConfiguration *LineChartConfiguration `type:"structure"` + + // The column hierarchy that is used during drill-downs and drill-ups. + ColumnHierarchies []*ColumnHierarchy `type:"list"` + + // The subtitle that is displayed on the visual. + Subtitle *VisualSubtitleLabelOptions `type:"structure"` + + // The title that is displayed on the visual. + Title *VisualTitleLabelOptions `type:"structure"` + + // The unique identifier of a visual. This identifier must be unique within + // the context of a dashboard, template, or analysis. Two dashboards, analyses, + // or templates can have visuals with the same identifiers. + // + // VisualId is a required field + VisualId *string `min:"1" type:"string" required:"true"` +} + +// 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 LineChartVisual) 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 LineChartVisual) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *LineChartVisual) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "LineChartVisual"} + if s.VisualId == nil { + invalidParams.Add(request.NewErrParamRequired("VisualId")) + } + if s.VisualId != nil && len(*s.VisualId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("VisualId", 1)) + } + if s.Actions != nil { + for i, v := range s.Actions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Actions", i), err.(request.ErrInvalidParams)) + } + } + } + if s.ChartConfiguration != nil { + if err := s.ChartConfiguration.Validate(); err != nil { + invalidParams.AddNested("ChartConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.ColumnHierarchies != nil { + for i, v := range s.ColumnHierarchies { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnHierarchies", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Subtitle != nil { + if err := s.Subtitle.Validate(); err != nil { + invalidParams.AddNested("Subtitle", err.(request.ErrInvalidParams)) + } + } + if s.Title != nil { + if err := s.Title.Validate(); err != nil { + invalidParams.AddNested("Title", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetActions sets the Actions field's value. +func (s *LineChartVisual) SetActions(v []*VisualCustomAction) *LineChartVisual { + s.Actions = v + return s +} + +// SetChartConfiguration sets the ChartConfiguration field's value. +func (s *LineChartVisual) SetChartConfiguration(v *LineChartConfiguration) *LineChartVisual { + s.ChartConfiguration = v + return s +} + +// SetColumnHierarchies sets the ColumnHierarchies field's value. +func (s *LineChartVisual) SetColumnHierarchies(v []*ColumnHierarchy) *LineChartVisual { + s.ColumnHierarchies = v + return s +} + +// SetSubtitle sets the Subtitle field's value. +func (s *LineChartVisual) SetSubtitle(v *VisualSubtitleLabelOptions) *LineChartVisual { + s.Subtitle = v + return s +} + +// SetTitle sets the Title field's value. +func (s *LineChartVisual) SetTitle(v *VisualTitleLabelOptions) *LineChartVisual { + s.Title = v + return s +} + +// SetVisualId sets the VisualId field's value. +func (s *LineChartVisual) SetVisualId(v string) *LineChartVisual { + s.VisualId = &v + return s +} + +// The series axis configuration of a line chart. +type LineSeriesAxisDisplayOptions struct { + _ struct{} `type:"structure"` + + // The options that determine the presentation of the line series axis. + AxisOptions *AxisDisplayOptions `type:"structure"` + + // The configuration options that determine how missing data is treated during + // the rendering of a line chart. + MissingDataConfigurations []*MissingDataConfiguration `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 LineSeriesAxisDisplayOptions) 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 LineSeriesAxisDisplayOptions) GoString() string { + return s.String() +} + +// SetAxisOptions sets the AxisOptions field's value. +func (s *LineSeriesAxisDisplayOptions) SetAxisOptions(v *AxisDisplayOptions) *LineSeriesAxisDisplayOptions { + s.AxisOptions = v + return s +} + +// SetMissingDataConfigurations sets the MissingDataConfigurations field's value. +func (s *LineSeriesAxisDisplayOptions) SetMissingDataConfigurations(v []*MissingDataConfiguration) *LineSeriesAxisDisplayOptions { + s.MissingDataConfigurations = v + return s +} + +// A structure that contains the configuration of a shareable link to the dashboard. +type LinkSharingConfiguration struct { + _ struct{} `type:"structure"` + + // A structure that contains the permissions of a shareable link. + Permissions []*ResourcePermission `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 LinkSharingConfiguration) 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 LinkSharingConfiguration) GoString() string { + return s.String() +} + +// SetPermissions sets the Permissions field's value. +func (s *LinkSharingConfiguration) SetPermissions(v []*ResourcePermission) *LinkSharingConfiguration { + s.Permissions = v + return s +} + +type ListAnalysesInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID of the Amazon Web Services account that contains the analyses. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The maximum number of results to return. + MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` + + // A pagination token that can be used in a subsequent request. + NextToken *string `location:"querystring" locationName:"next-token" 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 ListAnalysesInput) 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 ListAnalysesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListAnalysesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListAnalysesInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *ListAnalysesInput) SetAwsAccountId(v string) *ListAnalysesInput { + s.AwsAccountId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListAnalysesInput) SetMaxResults(v int64) *ListAnalysesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListAnalysesInput) SetNextToken(v string) *ListAnalysesInput { + s.NextToken = &v + return s +} + +type ListAnalysesOutput struct { + _ struct{} `type:"structure"` + + // Metadata describing each of the analyses that are listed. + AnalysisSummaryList []*AnalysisSummary `type:"list"` + + // A pagination token that can be used in a subsequent request. + NextToken *string `type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 ListAnalysesOutput) 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 ListAnalysesOutput) GoString() string { + return s.String() +} + +// SetAnalysisSummaryList sets the AnalysisSummaryList field's value. +func (s *ListAnalysesOutput) SetAnalysisSummaryList(v []*AnalysisSummary) *ListAnalysesOutput { + s.AnalysisSummaryList = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListAnalysesOutput) SetNextToken(v string) *ListAnalysesOutput { + s.NextToken = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *ListAnalysesOutput) SetRequestId(v string) *ListAnalysesOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ListAnalysesOutput) SetStatus(v int64) *ListAnalysesOutput { + s.Status = &v + return s +} + +// The display options of a control. +type ListControlDisplayOptions struct { + _ struct{} `type:"structure"` + + // The configuration of the search options in a list control. + SearchOptions *ListControlSearchOptions `type:"structure"` + + // The configuration of the Select all options in a list control. + SelectAllOptions *ListControlSelectAllOptions `type:"structure"` + + // The options to configure the title visibility, name, and font size. + TitleOptions *LabelOptions `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 ListControlDisplayOptions) 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 ListControlDisplayOptions) GoString() string { + return s.String() +} + +// SetSearchOptions sets the SearchOptions field's value. +func (s *ListControlDisplayOptions) SetSearchOptions(v *ListControlSearchOptions) *ListControlDisplayOptions { + s.SearchOptions = v + return s +} + +// SetSelectAllOptions sets the SelectAllOptions field's value. +func (s *ListControlDisplayOptions) SetSelectAllOptions(v *ListControlSelectAllOptions) *ListControlDisplayOptions { + s.SelectAllOptions = v + return s +} + +// SetTitleOptions sets the TitleOptions field's value. +func (s *ListControlDisplayOptions) SetTitleOptions(v *LabelOptions) *ListControlDisplayOptions { + s.TitleOptions = v + return s +} + +// The configuration of the search options in a list control. +type ListControlSearchOptions struct { + _ struct{} `type:"structure"` + + // The visibility configuration of the search options in a list control. + Visibility *string `type:"string" enum:"Visibility"` +} + +// 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 ListControlSearchOptions) 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 ListControlSearchOptions) GoString() string { + return s.String() +} + +// SetVisibility sets the Visibility field's value. +func (s *ListControlSearchOptions) SetVisibility(v string) *ListControlSearchOptions { + s.Visibility = &v + return s +} + +// The configuration of the Select all options in a list control. +type ListControlSelectAllOptions struct { + _ struct{} `type:"structure"` + + // The visibility configuration of the Select all options in a list control. + Visibility *string `type:"string" enum:"Visibility"` +} + +// 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 ListControlSelectAllOptions) 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 ListControlSelectAllOptions) GoString() string { + return s.String() +} + +// SetVisibility sets the Visibility field's value. +func (s *ListControlSelectAllOptions) SetVisibility(v string) *ListControlSelectAllOptions { + s.Visibility = &v + return s +} + +type ListDashboardVersionsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID of the Amazon Web Services account that contains the dashboard that + // you're listing versions for. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The ID for the dashboard. + // + // DashboardId is a required field + DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"` + + // The maximum number of results to be returned per request. + MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` + + // The token for the next set of results, or null if there are no more results. + NextToken *string `location:"querystring" locationName:"next-token" 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 ListDashboardVersionsInput) 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 ListDashboardVersionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListDashboardVersionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListDashboardVersionsInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.DashboardId == nil { + invalidParams.Add(request.NewErrParamRequired("DashboardId")) + } + if s.DashboardId != nil && len(*s.DashboardId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *ListDashboardVersionsInput) SetAwsAccountId(v string) *ListDashboardVersionsInput { + s.AwsAccountId = &v + return s +} + +// SetDashboardId sets the DashboardId field's value. +func (s *ListDashboardVersionsInput) SetDashboardId(v string) *ListDashboardVersionsInput { + s.DashboardId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListDashboardVersionsInput) SetMaxResults(v int64) *ListDashboardVersionsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListDashboardVersionsInput) SetNextToken(v string) *ListDashboardVersionsInput { + s.NextToken = &v + return s +} + +type ListDashboardVersionsOutput struct { + _ struct{} `type:"structure"` + + // A structure that contains information about each version of the dashboard. + DashboardVersionSummaryList []*DashboardVersionSummary `type:"list"` + + // The token for the next set of results, or null if there are no more results. + NextToken *string `type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 ListDashboardVersionsOutput) 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 ListDashboardVersionsOutput) GoString() string { + return s.String() +} + +// SetDashboardVersionSummaryList sets the DashboardVersionSummaryList field's value. +func (s *ListDashboardVersionsOutput) SetDashboardVersionSummaryList(v []*DashboardVersionSummary) *ListDashboardVersionsOutput { + s.DashboardVersionSummaryList = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListDashboardVersionsOutput) SetNextToken(v string) *ListDashboardVersionsOutput { + s.NextToken = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *ListDashboardVersionsOutput) SetRequestId(v string) *ListDashboardVersionsOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ListDashboardVersionsOutput) SetStatus(v int64) *ListDashboardVersionsOutput { + s.Status = &v + return s +} + +type ListDashboardsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID of the Amazon Web Services account that contains the dashboards that + // you're listing. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The maximum number of results to be returned per request. + MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` + + // The token for the next set of results, or null if there are no more results. + NextToken *string `location:"querystring" locationName:"next-token" 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 ListDashboardsInput) 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 ListDashboardsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListDashboardsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListDashboardsInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *ListDashboardsInput) SetAwsAccountId(v string) *ListDashboardsInput { + s.AwsAccountId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListDashboardsInput) SetMaxResults(v int64) *ListDashboardsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListDashboardsInput) SetNextToken(v string) *ListDashboardsInput { + s.NextToken = &v + return s +} + +type ListDashboardsOutput struct { + _ struct{} `type:"structure"` + + // A structure that contains all of the dashboards in your Amazon Web Services + // account. This structure provides basic information about the dashboards. + DashboardSummaryList []*DashboardSummary `type:"list"` + + // The token for the next set of results, or null if there are no more results. + NextToken *string `type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 ListDashboardsOutput) 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 ListDashboardsOutput) GoString() string { + return s.String() +} + +// SetDashboardSummaryList sets the DashboardSummaryList field's value. +func (s *ListDashboardsOutput) SetDashboardSummaryList(v []*DashboardSummary) *ListDashboardsOutput { + s.DashboardSummaryList = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListDashboardsOutput) SetNextToken(v string) *ListDashboardsOutput { + s.NextToken = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *ListDashboardsOutput) SetRequestId(v string) *ListDashboardsOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ListDashboardsOutput) SetStatus(v int64) *ListDashboardsOutput { + s.Status = &v + return s +} + +type ListDataSetsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The Amazon Web Services account ID. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The maximum number of results to be returned per request. + MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` + + // The token for the next set of results, or null if there are no more results. + NextToken *string `location:"querystring" locationName:"next-token" 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 ListDataSetsInput) 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 ListDataSetsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListDataSetsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListDataSetsInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *ListDataSetsInput) SetAwsAccountId(v string) *ListDataSetsInput { + s.AwsAccountId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListDataSetsInput) SetMaxResults(v int64) *ListDataSetsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListDataSetsInput) SetNextToken(v string) *ListDataSetsInput { + s.NextToken = &v + return s +} + +type ListDataSetsOutput struct { + _ struct{} `type:"structure"` + + // The list of dataset summaries. + DataSetSummaries []*DataSetSummary `type:"list"` + + // The token for the next set of results, or null if there are no more results. + NextToken *string `type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 ListDataSetsOutput) 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 ListDataSetsOutput) GoString() string { + return s.String() +} + +// SetDataSetSummaries sets the DataSetSummaries field's value. +func (s *ListDataSetsOutput) SetDataSetSummaries(v []*DataSetSummary) *ListDataSetsOutput { + s.DataSetSummaries = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListDataSetsOutput) SetNextToken(v string) *ListDataSetsOutput { + s.NextToken = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *ListDataSetsOutput) SetRequestId(v string) *ListDataSetsOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ListDataSetsOutput) SetStatus(v int64) *ListDataSetsOutput { + s.Status = &v + return s +} + +type ListDataSourcesInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The Amazon Web Services account ID. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The maximum number of results to be returned per request. + MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` + + // The token for the next set of results, or null if there are no more results. + NextToken *string `location:"querystring" locationName:"next-token" 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 ListDataSourcesInput) 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 ListDataSourcesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListDataSourcesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListDataSourcesInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *ListDataSourcesInput) SetAwsAccountId(v string) *ListDataSourcesInput { + s.AwsAccountId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListDataSourcesInput) SetMaxResults(v int64) *ListDataSourcesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListDataSourcesInput) SetNextToken(v string) *ListDataSourcesInput { + s.NextToken = &v + return s +} + +type ListDataSourcesOutput struct { + _ struct{} `type:"structure"` + + // A list of data sources. + DataSources []*DataSource `type:"list"` + + // The token for the next set of results, or null if there are no more results. + NextToken *string `type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 ListDataSourcesOutput) 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 ListDataSourcesOutput) GoString() string { + return s.String() +} + +// SetDataSources sets the DataSources field's value. +func (s *ListDataSourcesOutput) SetDataSources(v []*DataSource) *ListDataSourcesOutput { + s.DataSources = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListDataSourcesOutput) SetNextToken(v string) *ListDataSourcesOutput { + s.NextToken = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *ListDataSourcesOutput) SetRequestId(v string) *ListDataSourcesOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ListDataSourcesOutput) SetStatus(v int64) *ListDataSourcesOutput { + s.Status = &v + return s +} + +type ListFolderMembersInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID for the Amazon Web Services account that contains the folder. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The ID of the folder. + // + // FolderId is a required field + FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"` + + // The maximum number of results to be returned per request. + MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` + + // The token for the next set of results, or null if there are no more results. + NextToken *string `location:"querystring" locationName:"next-token" 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 ListFolderMembersInput) 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 ListFolderMembersInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListFolderMembersInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListFolderMembersInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.FolderId == nil { + invalidParams.Add(request.NewErrParamRequired("FolderId")) + } + if s.FolderId != nil && len(*s.FolderId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FolderId", 1)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *ListFolderMembersInput) SetAwsAccountId(v string) *ListFolderMembersInput { + s.AwsAccountId = &v + return s +} + +// SetFolderId sets the FolderId field's value. +func (s *ListFolderMembersInput) SetFolderId(v string) *ListFolderMembersInput { + s.FolderId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListFolderMembersInput) SetMaxResults(v int64) *ListFolderMembersInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListFolderMembersInput) SetNextToken(v string) *ListFolderMembersInput { + s.NextToken = &v + return s +} + +type ListFolderMembersOutput struct { + _ struct{} `type:"structure"` + + // A structure that contains all of the folder members (dashboards, analyses, + // and datasets) in the folder. + FolderMemberList []*MemberIdArnPair `type:"list"` + + // The token for the next set of results, or null if there are no more results. + NextToken *string `type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 ListFolderMembersOutput) 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 ListFolderMembersOutput) GoString() string { + return s.String() +} + +// SetFolderMemberList sets the FolderMemberList field's value. +func (s *ListFolderMembersOutput) SetFolderMemberList(v []*MemberIdArnPair) *ListFolderMembersOutput { + s.FolderMemberList = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListFolderMembersOutput) SetNextToken(v string) *ListFolderMembersOutput { + s.NextToken = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *ListFolderMembersOutput) SetRequestId(v string) *ListFolderMembersOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ListFolderMembersOutput) SetStatus(v int64) *ListFolderMembersOutput { + s.Status = &v + return s +} + +type ListFoldersInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID for the Amazon Web Services account that contains the folder. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The maximum number of results to be returned per request. + MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` + + // The token for the next set of results, or null if there are no more results. + NextToken *string `location:"querystring" locationName:"next-token" 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 ListFoldersInput) 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 ListFoldersInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListFoldersInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListFoldersInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *ListFoldersInput) SetAwsAccountId(v string) *ListFoldersInput { + s.AwsAccountId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListFoldersInput) SetMaxResults(v int64) *ListFoldersInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListFoldersInput) SetNextToken(v string) *ListFoldersInput { + s.NextToken = &v + return s +} + +type ListFoldersOutput struct { + _ struct{} `type:"structure"` + + // A structure that contains all of the folders in the Amazon Web Services account. + // This structure provides basic information about the folders. + FolderSummaryList []*FolderSummary `type:"list"` + + // The token for the next set of results, or null if there are no more results. + NextToken *string `type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 ListFoldersOutput) 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 ListFoldersOutput) GoString() string { + return s.String() +} + +// SetFolderSummaryList sets the FolderSummaryList field's value. +func (s *ListFoldersOutput) SetFolderSummaryList(v []*FolderSummary) *ListFoldersOutput { + s.FolderSummaryList = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListFoldersOutput) SetNextToken(v string) *ListFoldersOutput { + s.NextToken = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *ListFoldersOutput) SetRequestId(v string) *ListFoldersOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ListFoldersOutput) SetStatus(v int64) *ListFoldersOutput { + s.Status = &v + return s +} + +type ListGroupMembershipsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID for the Amazon Web Services account that the group is in. Currently, + // you use the ID for the Amazon Web Services account that contains your Amazon + // QuickSight account. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The name of the group that you want to see a membership list of. + // + // GroupName is a required field + GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"` + + // The maximum number of results to return from this request. + MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` + + // The namespace of the group that you want a list of users from. + // + // Namespace is a required field + Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` + + // A pagination token that can be used in a subsequent request. + NextToken *string `location:"querystring" locationName:"next-token" 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 ListGroupMembershipsInput) 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 ListGroupMembershipsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListGroupMembershipsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListGroupMembershipsInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.GroupName == nil { + invalidParams.Add(request.NewErrParamRequired("GroupName")) + } + if s.GroupName != nil && len(*s.GroupName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("GroupName", 1)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.Namespace == nil { + invalidParams.Add(request.NewErrParamRequired("Namespace")) + } + if s.Namespace != nil && len(*s.Namespace) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *ListGroupMembershipsInput) SetAwsAccountId(v string) *ListGroupMembershipsInput { + s.AwsAccountId = &v + return s +} + +// SetGroupName sets the GroupName field's value. +func (s *ListGroupMembershipsInput) SetGroupName(v string) *ListGroupMembershipsInput { + s.GroupName = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListGroupMembershipsInput) SetMaxResults(v int64) *ListGroupMembershipsInput { + s.MaxResults = &v + return s +} + +// SetNamespace sets the Namespace field's value. +func (s *ListGroupMembershipsInput) SetNamespace(v string) *ListGroupMembershipsInput { + s.Namespace = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListGroupMembershipsInput) SetNextToken(v string) *ListGroupMembershipsInput { + s.NextToken = &v + return s +} + +type ListGroupMembershipsOutput struct { + _ struct{} `type:"structure"` + + // The list of the members of the group. + GroupMemberList []*GroupMember `type:"list"` + + // A pagination token that can be used in a subsequent request. + NextToken *string `type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 ListGroupMembershipsOutput) 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 ListGroupMembershipsOutput) GoString() string { + return s.String() +} + +// SetGroupMemberList sets the GroupMemberList field's value. +func (s *ListGroupMembershipsOutput) SetGroupMemberList(v []*GroupMember) *ListGroupMembershipsOutput { + s.GroupMemberList = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListGroupMembershipsOutput) SetNextToken(v string) *ListGroupMembershipsOutput { + s.NextToken = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *ListGroupMembershipsOutput) SetRequestId(v string) *ListGroupMembershipsOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ListGroupMembershipsOutput) SetStatus(v int64) *ListGroupMembershipsOutput { + s.Status = &v + return s +} + +type ListGroupsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID for the Amazon Web Services account that the group is in. Currently, + // you use the ID for the Amazon Web Services account that contains your Amazon + // QuickSight account. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The maximum number of results to return. + MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` + + // The namespace that you want a list of groups from. + // + // Namespace is a required field + Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` + + // A pagination token that can be used in a subsequent request. + NextToken *string `location:"querystring" locationName:"next-token" 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 ListGroupsInput) 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 ListGroupsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListGroupsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListGroupsInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.Namespace == nil { + invalidParams.Add(request.NewErrParamRequired("Namespace")) + } + if s.Namespace != nil && len(*s.Namespace) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *ListGroupsInput) SetAwsAccountId(v string) *ListGroupsInput { + s.AwsAccountId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListGroupsInput) SetMaxResults(v int64) *ListGroupsInput { + s.MaxResults = &v + return s +} + +// SetNamespace sets the Namespace field's value. +func (s *ListGroupsInput) SetNamespace(v string) *ListGroupsInput { + s.Namespace = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListGroupsInput) SetNextToken(v string) *ListGroupsInput { + s.NextToken = &v + return s +} + +type ListGroupsOutput struct { + _ struct{} `type:"structure"` + + // The list of the groups. + GroupList []*Group `type:"list"` + + // A pagination token that can be used in a subsequent request. + NextToken *string `type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 ListGroupsOutput) 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 ListGroupsOutput) GoString() string { + return s.String() +} + +// SetGroupList sets the GroupList field's value. +func (s *ListGroupsOutput) SetGroupList(v []*Group) *ListGroupsOutput { + s.GroupList = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListGroupsOutput) SetNextToken(v string) *ListGroupsOutput { + s.NextToken = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *ListGroupsOutput) SetRequestId(v string) *ListGroupsOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ListGroupsOutput) SetStatus(v int64) *ListGroupsOutput { + s.Status = &v + return s +} + +type ListIAMPolicyAssignmentsForUserInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID of the Amazon Web Services account that contains the assignments. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The maximum number of results to be returned per request. + MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` + + // The namespace of the assignment. + // + // Namespace is a required field + Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` + + // The token for the next set of results, or null if there are no more results. + NextToken *string `location:"querystring" locationName:"next-token" type:"string"` + + // The name of the user. + // + // UserName is a required field + UserName *string `location:"uri" locationName:"UserName" min:"1" type:"string" required:"true"` +} + +// 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 ListIAMPolicyAssignmentsForUserInput) 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 ListIAMPolicyAssignmentsForUserInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListIAMPolicyAssignmentsForUserInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListIAMPolicyAssignmentsForUserInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.Namespace == nil { + invalidParams.Add(request.NewErrParamRequired("Namespace")) + } + if s.Namespace != nil && len(*s.Namespace) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + } + if s.UserName == nil { + invalidParams.Add(request.NewErrParamRequired("UserName")) + } + if s.UserName != nil && len(*s.UserName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *ListIAMPolicyAssignmentsForUserInput) SetAwsAccountId(v string) *ListIAMPolicyAssignmentsForUserInput { + s.AwsAccountId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListIAMPolicyAssignmentsForUserInput) SetMaxResults(v int64) *ListIAMPolicyAssignmentsForUserInput { + s.MaxResults = &v + return s +} + +// SetNamespace sets the Namespace field's value. +func (s *ListIAMPolicyAssignmentsForUserInput) SetNamespace(v string) *ListIAMPolicyAssignmentsForUserInput { + s.Namespace = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListIAMPolicyAssignmentsForUserInput) SetNextToken(v string) *ListIAMPolicyAssignmentsForUserInput { + s.NextToken = &v + return s +} + +// SetUserName sets the UserName field's value. +func (s *ListIAMPolicyAssignmentsForUserInput) SetUserName(v string) *ListIAMPolicyAssignmentsForUserInput { + s.UserName = &v + return s +} + +type ListIAMPolicyAssignmentsForUserOutput struct { + _ struct{} `type:"structure"` + + // The active assignments for this user. + ActiveAssignments []*ActiveIAMPolicyAssignment `type:"list"` + + // The token for the next set of results, or null if there are no more results. + NextToken *string `type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 ListIAMPolicyAssignmentsForUserOutput) 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 ListIAMPolicyAssignmentsForUserOutput) GoString() string { + return s.String() +} + +// SetActiveAssignments sets the ActiveAssignments field's value. +func (s *ListIAMPolicyAssignmentsForUserOutput) SetActiveAssignments(v []*ActiveIAMPolicyAssignment) *ListIAMPolicyAssignmentsForUserOutput { + s.ActiveAssignments = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListIAMPolicyAssignmentsForUserOutput) SetNextToken(v string) *ListIAMPolicyAssignmentsForUserOutput { + s.NextToken = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *ListIAMPolicyAssignmentsForUserOutput) SetRequestId(v string) *ListIAMPolicyAssignmentsForUserOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ListIAMPolicyAssignmentsForUserOutput) SetStatus(v int64) *ListIAMPolicyAssignmentsForUserOutput { + s.Status = &v + return s +} + +type ListIAMPolicyAssignmentsInput struct { + _ struct{} `type:"structure"` + + // The status of the assignments. + AssignmentStatus *string `type:"string" enum:"AssignmentStatus"` + + // The ID of the Amazon Web Services account that contains these IAM policy + // assignments. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The maximum number of results to be returned per request. + MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` + + // The namespace for the assignments. + // + // Namespace is a required field + Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` + + // The token for the next set of results, or null if there are no more results. + NextToken *string `location:"querystring" locationName:"next-token" 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 ListIAMPolicyAssignmentsInput) 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 ListIAMPolicyAssignmentsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListIAMPolicyAssignmentsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListIAMPolicyAssignmentsInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.Namespace == nil { + invalidParams.Add(request.NewErrParamRequired("Namespace")) + } + if s.Namespace != nil && len(*s.Namespace) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAssignmentStatus sets the AssignmentStatus field's value. +func (s *ListIAMPolicyAssignmentsInput) SetAssignmentStatus(v string) *ListIAMPolicyAssignmentsInput { + s.AssignmentStatus = &v + return s +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *ListIAMPolicyAssignmentsInput) SetAwsAccountId(v string) *ListIAMPolicyAssignmentsInput { + s.AwsAccountId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListIAMPolicyAssignmentsInput) SetMaxResults(v int64) *ListIAMPolicyAssignmentsInput { + s.MaxResults = &v + return s +} + +// SetNamespace sets the Namespace field's value. +func (s *ListIAMPolicyAssignmentsInput) SetNamespace(v string) *ListIAMPolicyAssignmentsInput { + s.Namespace = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListIAMPolicyAssignmentsInput) SetNextToken(v string) *ListIAMPolicyAssignmentsInput { + s.NextToken = &v + return s +} + +type ListIAMPolicyAssignmentsOutput struct { + _ struct{} `type:"structure"` + + // Information describing the IAM policy assignments. + IAMPolicyAssignments []*IAMPolicyAssignmentSummary `type:"list"` + + // The token for the next set of results, or null if there are no more results. + NextToken *string `type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 ListIAMPolicyAssignmentsOutput) 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 ListIAMPolicyAssignmentsOutput) GoString() string { + return s.String() +} + +// SetIAMPolicyAssignments sets the IAMPolicyAssignments field's value. +func (s *ListIAMPolicyAssignmentsOutput) SetIAMPolicyAssignments(v []*IAMPolicyAssignmentSummary) *ListIAMPolicyAssignmentsOutput { + s.IAMPolicyAssignments = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListIAMPolicyAssignmentsOutput) SetNextToken(v string) *ListIAMPolicyAssignmentsOutput { + s.NextToken = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *ListIAMPolicyAssignmentsOutput) SetRequestId(v string) *ListIAMPolicyAssignmentsOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ListIAMPolicyAssignmentsOutput) SetStatus(v int64) *ListIAMPolicyAssignmentsOutput { + s.Status = &v + return s +} + +type ListIngestionsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The Amazon Web Services account ID. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The ID of the dataset used in the ingestion. + // + // DataSetId is a required field + DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"` + + // The maximum number of results to be returned per request. + MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` + + // The token for the next set of results, or null if there are no more results. + NextToken *string `location:"querystring" locationName:"next-token" 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 ListIngestionsInput) 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 ListIngestionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListIngestionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListIngestionsInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.DataSetId == nil { + invalidParams.Add(request.NewErrParamRequired("DataSetId")) + } + if s.DataSetId != nil && len(*s.DataSetId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *ListIngestionsInput) SetAwsAccountId(v string) *ListIngestionsInput { + s.AwsAccountId = &v + return s +} + +// SetDataSetId sets the DataSetId field's value. +func (s *ListIngestionsInput) SetDataSetId(v string) *ListIngestionsInput { + s.DataSetId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListIngestionsInput) SetMaxResults(v int64) *ListIngestionsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListIngestionsInput) SetNextToken(v string) *ListIngestionsInput { + s.NextToken = &v + return s +} + +type ListIngestionsOutput struct { + _ struct{} `type:"structure"` + + // A list of the ingestions. + Ingestions []*Ingestion `type:"list"` + + // The token for the next set of results, or null if there are no more results. + NextToken *string `type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 ListIngestionsOutput) 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 ListIngestionsOutput) GoString() string { + return s.String() +} + +// SetIngestions sets the Ingestions field's value. +func (s *ListIngestionsOutput) SetIngestions(v []*Ingestion) *ListIngestionsOutput { + s.Ingestions = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListIngestionsOutput) SetNextToken(v string) *ListIngestionsOutput { + s.NextToken = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *ListIngestionsOutput) SetRequestId(v string) *ListIngestionsOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ListIngestionsOutput) SetStatus(v int64) *ListIngestionsOutput { + s.Status = &v + return s +} + +type ListNamespacesInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID for the Amazon Web Services account that contains the Amazon QuickSight + // namespaces that you want to list. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The maximum number of results to return. + MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` + + // A unique pagination token that can be used in a subsequent request. You will + // receive a pagination token in the response body of a previous ListNameSpaces + // API call if there is more data that can be returned. To receive the data, + // make another ListNamespaces API call with the returned token to retrieve + // the next page of data. Each token is valid for 24 hours. If you try to make + // a ListNamespaces API call with an expired token, you will receive a HTTP + // 400 InvalidNextTokenException error. + NextToken *string `location:"querystring" locationName:"next-token" 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 ListNamespacesInput) 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 ListNamespacesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListNamespacesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListNamespacesInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *ListNamespacesInput) SetAwsAccountId(v string) *ListNamespacesInput { + s.AwsAccountId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListNamespacesInput) SetMaxResults(v int64) *ListNamespacesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListNamespacesInput) SetNextToken(v string) *ListNamespacesInput { + s.NextToken = &v + return s +} + +type ListNamespacesOutput struct { + _ struct{} `type:"structure"` + + // The information about the namespaces in this Amazon Web Services account. + // The response includes the namespace ARN, name, Amazon Web Services Region, + // notification email address, creation status, and identity store. + Namespaces []*NamespaceInfoV2 `type:"list"` + + // A unique pagination token that can be used in a subsequent request. Receiving + // NextToken in your response inticates that there is more data that can be + // returned. To receive the data, make another ListNamespaces API call with + // the returned token to retrieve the next page of data. Each token is valid + // for 24 hours. If you try to make a ListNamespaces API call with an expired + // token, you will receive a HTTP 400 InvalidNextTokenException error. + NextToken *string `type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 ListNamespacesOutput) 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 ListNamespacesOutput) GoString() string { + return s.String() +} + +// SetNamespaces sets the Namespaces field's value. +func (s *ListNamespacesOutput) SetNamespaces(v []*NamespaceInfoV2) *ListNamespacesOutput { + s.Namespaces = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListNamespacesOutput) SetNextToken(v string) *ListNamespacesOutput { + s.NextToken = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *ListNamespacesOutput) SetRequestId(v string) *ListNamespacesOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ListNamespacesOutput) SetStatus(v int64) *ListNamespacesOutput { + s.Status = &v + return s +} + +type ListTagsForResourceInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The Amazon Resource Name (ARN) of the resource that you want a list of tags + // for. + // + // ResourceArn is a required field + ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"` +} + +// 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 ListTagsForResourceInput) 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 ListTagsForResourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListTagsForResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"} + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput { + s.ResourceArn = &v + return s +} + +type ListTagsForResourceOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` + + // Contains a map of the key-value pairs for the resource tag or tags assigned + // to the resource. + Tags []*Tag `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 ListTagsForResourceOutput) 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 ListTagsForResourceOutput) GoString() string { + return s.String() +} + +// SetRequestId sets the RequestId field's value. +func (s *ListTagsForResourceOutput) SetRequestId(v string) *ListTagsForResourceOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ListTagsForResourceOutput) SetStatus(v int64) *ListTagsForResourceOutput { + s.Status = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput { + s.Tags = v + return s +} + +type ListTemplateAliasesInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID of the Amazon Web Services account that contains the template aliases + // that you're listing. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The maximum number of results to be returned per request. + MaxResults *int64 `location:"querystring" locationName:"max-result" min:"1" type:"integer"` + + // The token for the next set of results, or null if there are no more results. + NextToken *string `location:"querystring" locationName:"next-token" type:"string"` + + // The ID for the template. + // + // TemplateId is a required field + TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"` +} + +// 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 ListTemplateAliasesInput) 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 ListTemplateAliasesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListTemplateAliasesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListTemplateAliasesInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.TemplateId == nil { + invalidParams.Add(request.NewErrParamRequired("TemplateId")) + } + if s.TemplateId != nil && len(*s.TemplateId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *ListTemplateAliasesInput) SetAwsAccountId(v string) *ListTemplateAliasesInput { + s.AwsAccountId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListTemplateAliasesInput) SetMaxResults(v int64) *ListTemplateAliasesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListTemplateAliasesInput) SetNextToken(v string) *ListTemplateAliasesInput { + s.NextToken = &v + return s +} + +// SetTemplateId sets the TemplateId field's value. +func (s *ListTemplateAliasesInput) SetTemplateId(v string) *ListTemplateAliasesInput { + s.TemplateId = &v + return s +} + +type ListTemplateAliasesOutput struct { + _ struct{} `type:"structure"` + + // The token for the next set of results, or null if there are no more results. + NextToken *string `type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` + + // A structure containing the list of the template's aliases. + TemplateAliasList []*TemplateAlias `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 ListTemplateAliasesOutput) 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 ListTemplateAliasesOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListTemplateAliasesOutput) SetNextToken(v string) *ListTemplateAliasesOutput { + s.NextToken = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *ListTemplateAliasesOutput) SetRequestId(v string) *ListTemplateAliasesOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ListTemplateAliasesOutput) SetStatus(v int64) *ListTemplateAliasesOutput { + s.Status = &v + return s +} + +// SetTemplateAliasList sets the TemplateAliasList field's value. +func (s *ListTemplateAliasesOutput) SetTemplateAliasList(v []*TemplateAlias) *ListTemplateAliasesOutput { + s.TemplateAliasList = v + return s +} + +type ListTemplateVersionsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID of the Amazon Web Services account that contains the templates that + // you're listing. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The maximum number of results to be returned per request. + MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` + + // The token for the next set of results, or null if there are no more results. + NextToken *string `location:"querystring" locationName:"next-token" type:"string"` + + // The ID for the template. + // + // TemplateId is a required field + TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"` +} + +// 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 ListTemplateVersionsInput) 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 ListTemplateVersionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListTemplateVersionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListTemplateVersionsInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.TemplateId == nil { + invalidParams.Add(request.NewErrParamRequired("TemplateId")) + } + if s.TemplateId != nil && len(*s.TemplateId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *ListTemplateVersionsInput) SetAwsAccountId(v string) *ListTemplateVersionsInput { + s.AwsAccountId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListTemplateVersionsInput) SetMaxResults(v int64) *ListTemplateVersionsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListTemplateVersionsInput) SetNextToken(v string) *ListTemplateVersionsInput { + s.NextToken = &v + return s +} + +// SetTemplateId sets the TemplateId field's value. +func (s *ListTemplateVersionsInput) SetTemplateId(v string) *ListTemplateVersionsInput { + s.TemplateId = &v + return s +} + +type ListTemplateVersionsOutput struct { + _ struct{} `type:"structure"` + + // The token for the next set of results, or null if there are no more results. + NextToken *string `type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` + + // A structure containing a list of all the versions of the specified template. + TemplateVersionSummaryList []*TemplateVersionSummary `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 ListTemplateVersionsOutput) 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 ListTemplateVersionsOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListTemplateVersionsOutput) SetNextToken(v string) *ListTemplateVersionsOutput { + s.NextToken = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *ListTemplateVersionsOutput) SetRequestId(v string) *ListTemplateVersionsOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ListTemplateVersionsOutput) SetStatus(v int64) *ListTemplateVersionsOutput { + s.Status = &v + return s +} + +// SetTemplateVersionSummaryList sets the TemplateVersionSummaryList field's value. +func (s *ListTemplateVersionsOutput) SetTemplateVersionSummaryList(v []*TemplateVersionSummary) *ListTemplateVersionsOutput { + s.TemplateVersionSummaryList = v return s } -// SetName sets the Name field's value. -func (s *DataSetSummary) SetName(v string) *DataSetSummary { - s.Name = &v +type ListTemplatesInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID of the Amazon Web Services account that contains the templates that + // you're listing. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The maximum number of results to be returned per request. + MaxResults *int64 `location:"querystring" locationName:"max-result" min:"1" type:"integer"` + + // The token for the next set of results, or null if there are no more results. + NextToken *string `location:"querystring" locationName:"next-token" 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 ListTemplatesInput) 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 ListTemplatesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListTemplatesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListTemplatesInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *ListTemplatesInput) SetAwsAccountId(v string) *ListTemplatesInput { + s.AwsAccountId = &v return s } -// SetRowLevelPermissionDataSet sets the RowLevelPermissionDataSet field's value. -func (s *DataSetSummary) SetRowLevelPermissionDataSet(v *RowLevelPermissionDataSet) *DataSetSummary { - s.RowLevelPermissionDataSet = v +// SetMaxResults sets the MaxResults field's value. +func (s *ListTemplatesInput) SetMaxResults(v int64) *ListTemplatesInput { + s.MaxResults = &v return s } -// SetRowLevelPermissionTagConfigurationApplied sets the RowLevelPermissionTagConfigurationApplied field's value. -func (s *DataSetSummary) SetRowLevelPermissionTagConfigurationApplied(v bool) *DataSetSummary { - s.RowLevelPermissionTagConfigurationApplied = &v +// SetNextToken sets the NextToken field's value. +func (s *ListTemplatesInput) SetNextToken(v string) *ListTemplatesInput { + s.NextToken = &v return s } -// The usage configuration to apply to child datasets that reference this dataset -// as a source. -type DataSetUsageConfiguration struct { +type ListTemplatesOutput struct { _ struct{} `type:"structure"` - // An option that controls whether a child dataset of a direct query can use - // this dataset as a source. - DisableUseAsDirectQuerySource *bool `type:"boolean"` + // The token for the next set of results, or null if there are no more results. + NextToken *string `type:"string"` - // An option that controls whether a child dataset that's stored in QuickSight - // can use this dataset as a source. - DisableUseAsImportedSource *bool `type:"boolean"` + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` + + // A structure containing information about the templates in the list. + TemplateSummaryList []*TemplateSummary `type:"list"` } // String returns the string representation. @@ -21229,7 +52737,7 @@ type DataSetUsageConfiguration struct { // 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 DataSetUsageConfiguration) String() string { +func (s ListTemplatesOutput) String() string { return awsutil.Prettify(s) } @@ -21238,80 +52746,136 @@ func (s DataSetUsageConfiguration) String() string { // 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 DataSetUsageConfiguration) GoString() string { +func (s ListTemplatesOutput) GoString() string { return s.String() } -// SetDisableUseAsDirectQuerySource sets the DisableUseAsDirectQuerySource field's value. -func (s *DataSetUsageConfiguration) SetDisableUseAsDirectQuerySource(v bool) *DataSetUsageConfiguration { - s.DisableUseAsDirectQuerySource = &v +// SetNextToken sets the NextToken field's value. +func (s *ListTemplatesOutput) SetNextToken(v string) *ListTemplatesOutput { + s.NextToken = &v return s } -// SetDisableUseAsImportedSource sets the DisableUseAsImportedSource field's value. -func (s *DataSetUsageConfiguration) SetDisableUseAsImportedSource(v bool) *DataSetUsageConfiguration { - s.DisableUseAsImportedSource = &v +// SetRequestId sets the RequestId field's value. +func (s *ListTemplatesOutput) SetRequestId(v string) *ListTemplatesOutput { + s.RequestId = &v return s } -// The structure of a data source. -type DataSource struct { - _ struct{} `type:"structure"` +// SetStatus sets the Status field's value. +func (s *ListTemplatesOutput) SetStatus(v int64) *ListTemplatesOutput { + s.Status = &v + return s +} - // A set of alternate data source parameters that you want to share for the - // credentials stored with this data source. The credentials are applied in - // tandem with the data source parameters when you copy a data source by using - // a create or update request. The API operation compares the DataSourceParameters - // structure that's in the request with the structures in the AlternateDataSourceParameters - // allow list. If the structures are an exact match, the request is allowed - // to use the credentials from this existing data source. If the AlternateDataSourceParameters - // list is null, the Credentials originally used with this DataSourceParameters - // are automatically allowed. - AlternateDataSourceParameters []*DataSourceParameters `min:"1" type:"list"` +// SetTemplateSummaryList sets the TemplateSummaryList field's value. +func (s *ListTemplatesOutput) SetTemplateSummaryList(v []*TemplateSummary) *ListTemplatesOutput { + s.TemplateSummaryList = v + return s +} - // The Amazon Resource Name (ARN) of the data source. - Arn *string `type:"string"` +type ListThemeAliasesInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // The time that this data source was created. - CreatedTime *time.Time `type:"timestamp"` + // The ID of the Amazon Web Services account that contains the theme aliases + // that you're listing. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - // The ID of the data source. This ID is unique per Amazon Web Services Region - // for each Amazon Web Services account. - DataSourceId *string `type:"string"` + // The maximum number of results to be returned per request. + MaxResults *int64 `location:"querystring" locationName:"max-result" min:"1" type:"integer"` - // The parameters that Amazon QuickSight uses to connect to your underlying - // source. This is a variant type structure. For this structure to be valid, - // only one of the attributes can be non-null. - DataSourceParameters *DataSourceParameters `type:"structure"` + // The token for the next set of results, or null if there are no more results. + NextToken *string `location:"querystring" locationName:"next-token" type:"string"` - // Error information from the last update or the creation of the data source. - ErrorInfo *DataSourceErrorInfo `type:"structure"` + // The ID for the theme. + // + // ThemeId is a required field + ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"` +} - // The last time that this data source was updated. - LastUpdatedTime *time.Time `type:"timestamp"` +// 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 ListThemeAliasesInput) String() string { + return awsutil.Prettify(s) +} - // A display name for the data source. - Name *string `min:"1" type:"string"` +// 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 ListThemeAliasesInput) GoString() string { + return s.String() +} - // The Amazon Resource Name (ARN) of the secret associated with the data source - // in Amazon Secrets Manager. - SecretArn *string `min:"1" type:"string"` +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListThemeAliasesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListThemeAliasesInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.ThemeId == nil { + invalidParams.Add(request.NewErrParamRequired("ThemeId")) + } + if s.ThemeId != nil && len(*s.ThemeId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1)) + } - // Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects - // to your underlying source. - SslProperties *SslProperties `type:"structure"` + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} - // The HTTP status of the request. - Status *string `type:"string" enum:"ResourceStatus"` +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *ListThemeAliasesInput) SetAwsAccountId(v string) *ListThemeAliasesInput { + s.AwsAccountId = &v + return s +} - // The type of the data source. This type indicates which database engine the - // data source connects to. - Type *string `type:"string" enum:"DataSourceType"` +// SetMaxResults sets the MaxResults field's value. +func (s *ListThemeAliasesInput) SetMaxResults(v int64) *ListThemeAliasesInput { + s.MaxResults = &v + return s +} - // The VPC connection information. You need to use this parameter only when - // you want Amazon QuickSight to use a VPC connection when connecting to your - // underlying source. - VpcConnectionProperties *VpcConnectionProperties `type:"structure"` +// SetNextToken sets the NextToken field's value. +func (s *ListThemeAliasesInput) SetNextToken(v string) *ListThemeAliasesInput { + s.NextToken = &v + return s +} + +// SetThemeId sets the ThemeId field's value. +func (s *ListThemeAliasesInput) SetThemeId(v string) *ListThemeAliasesInput { + s.ThemeId = &v + return s +} + +type ListThemeAliasesOutput struct { + _ struct{} `type:"structure"` + + // The token for the next set of results, or null if there are no more results. + NextToken *string `type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` + + // A structure containing the list of the theme's aliases. + ThemeAliasList []*ThemeAlias `type:"list"` } // String returns the string representation. @@ -21319,7 +52883,7 @@ type DataSource struct { // 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 DataSource) String() string { +func (s ListThemeAliasesOutput) String() string { return awsutil.Prettify(s) } @@ -21328,105 +52892,203 @@ func (s DataSource) String() string { // 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 DataSource) GoString() string { +func (s ListThemeAliasesOutput) GoString() string { return s.String() } -// SetAlternateDataSourceParameters sets the AlternateDataSourceParameters field's value. -func (s *DataSource) SetAlternateDataSourceParameters(v []*DataSourceParameters) *DataSource { - s.AlternateDataSourceParameters = v +// SetNextToken sets the NextToken field's value. +func (s *ListThemeAliasesOutput) SetNextToken(v string) *ListThemeAliasesOutput { + s.NextToken = &v return s } -// SetArn sets the Arn field's value. -func (s *DataSource) SetArn(v string) *DataSource { - s.Arn = &v +// SetRequestId sets the RequestId field's value. +func (s *ListThemeAliasesOutput) SetRequestId(v string) *ListThemeAliasesOutput { + s.RequestId = &v return s } -// SetCreatedTime sets the CreatedTime field's value. -func (s *DataSource) SetCreatedTime(v time.Time) *DataSource { - s.CreatedTime = &v +// SetStatus sets the Status field's value. +func (s *ListThemeAliasesOutput) SetStatus(v int64) *ListThemeAliasesOutput { + s.Status = &v return s } -// SetDataSourceId sets the DataSourceId field's value. -func (s *DataSource) SetDataSourceId(v string) *DataSource { - s.DataSourceId = &v +// SetThemeAliasList sets the ThemeAliasList field's value. +func (s *ListThemeAliasesOutput) SetThemeAliasList(v []*ThemeAlias) *ListThemeAliasesOutput { + s.ThemeAliasList = v return s } -// SetDataSourceParameters sets the DataSourceParameters field's value. -func (s *DataSource) SetDataSourceParameters(v *DataSourceParameters) *DataSource { - s.DataSourceParameters = v +type ListThemeVersionsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID of the Amazon Web Services account that contains the themes that you're + // listing. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The maximum number of results to be returned per request. + MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` + + // The token for the next set of results, or null if there are no more results. + NextToken *string `location:"querystring" locationName:"next-token" type:"string"` + + // The ID for the theme. + // + // ThemeId is a required field + ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"` +} + +// 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 ListThemeVersionsInput) 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 ListThemeVersionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListThemeVersionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListThemeVersionsInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.ThemeId == nil { + invalidParams.Add(request.NewErrParamRequired("ThemeId")) + } + if s.ThemeId != nil && len(*s.ThemeId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *ListThemeVersionsInput) SetAwsAccountId(v string) *ListThemeVersionsInput { + s.AwsAccountId = &v return s } -// SetErrorInfo sets the ErrorInfo field's value. -func (s *DataSource) SetErrorInfo(v *DataSourceErrorInfo) *DataSource { - s.ErrorInfo = v +// SetMaxResults sets the MaxResults field's value. +func (s *ListThemeVersionsInput) SetMaxResults(v int64) *ListThemeVersionsInput { + s.MaxResults = &v return s } -// SetLastUpdatedTime sets the LastUpdatedTime field's value. -func (s *DataSource) SetLastUpdatedTime(v time.Time) *DataSource { - s.LastUpdatedTime = &v +// SetNextToken sets the NextToken field's value. +func (s *ListThemeVersionsInput) SetNextToken(v string) *ListThemeVersionsInput { + s.NextToken = &v return s } -// SetName sets the Name field's value. -func (s *DataSource) SetName(v string) *DataSource { - s.Name = &v +// SetThemeId sets the ThemeId field's value. +func (s *ListThemeVersionsInput) SetThemeId(v string) *ListThemeVersionsInput { + s.ThemeId = &v return s } -// SetSecretArn sets the SecretArn field's value. -func (s *DataSource) SetSecretArn(v string) *DataSource { - s.SecretArn = &v +type ListThemeVersionsOutput struct { + _ struct{} `type:"structure"` + + // The token for the next set of results, or null if there are no more results. + NextToken *string `type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` + + // A structure containing a list of all the versions of the specified theme. + ThemeVersionSummaryList []*ThemeVersionSummary `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 ListThemeVersionsOutput) 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 ListThemeVersionsOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListThemeVersionsOutput) SetNextToken(v string) *ListThemeVersionsOutput { + s.NextToken = &v return s } -// SetSslProperties sets the SslProperties field's value. -func (s *DataSource) SetSslProperties(v *SslProperties) *DataSource { - s.SslProperties = v +// SetRequestId sets the RequestId field's value. +func (s *ListThemeVersionsOutput) SetRequestId(v string) *ListThemeVersionsOutput { + s.RequestId = &v return s } // SetStatus sets the Status field's value. -func (s *DataSource) SetStatus(v string) *DataSource { +func (s *ListThemeVersionsOutput) SetStatus(v int64) *ListThemeVersionsOutput { s.Status = &v return s } -// SetType sets the Type field's value. -func (s *DataSource) SetType(v string) *DataSource { - s.Type = &v +// SetThemeVersionSummaryList sets the ThemeVersionSummaryList field's value. +func (s *ListThemeVersionsOutput) SetThemeVersionSummaryList(v []*ThemeVersionSummary) *ListThemeVersionsOutput { + s.ThemeVersionSummaryList = v return s } -// SetVpcConnectionProperties sets the VpcConnectionProperties field's value. -func (s *DataSource) SetVpcConnectionProperties(v *VpcConnectionProperties) *DataSource { - s.VpcConnectionProperties = v - return s -} +type ListThemesInput struct { + _ struct{} `type:"structure" nopayload:"true"` -// Data source credentials. This is a variant type structure. For this structure -// to be valid, only one of the attributes can be non-null. -type DataSourceCredentials struct { - _ struct{} `type:"structure" sensitive:"true"` + // The ID of the Amazon Web Services account that contains the themes that you're + // listing. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - // The Amazon Resource Name (ARN) of a data source that has the credential pair - // that you want to use. When CopySourceArn is not null, the credential pair - // from the data source in the ARN is used as the credentials for the DataSourceCredentials - // structure. - CopySourceArn *string `type:"string"` + // The maximum number of results to be returned per request. + MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` - // Credential pair. For more information, see CredentialPair (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_CredentialPair.html) . - CredentialPair *CredentialPair `type:"structure"` + // The token for the next set of results, or null if there are no more results. + NextToken *string `location:"querystring" locationName:"next-token" type:"string"` - // The Amazon Resource Name (ARN) of the secret associated with the data source - // in Amazon Secrets Manager. - SecretArn *string `min:"1" type:"string"` + // The type of themes that you want to list. Valid options include the following: + // + // * ALL (default)- Display all existing themes. + // + // * CUSTOM - Display only the themes created by people using Amazon QuickSight. + // + // * QUICKSIGHT - Display only the starting themes defined by Amazon QuickSight. + Type *string `location:"querystring" locationName:"type" type:"string" enum:"ThemeType"` } // String returns the string representation. @@ -21434,7 +53096,7 @@ type DataSourceCredentials struct { // 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 DataSourceCredentials) String() string { +func (s ListThemesInput) String() string { return awsutil.Prettify(s) } @@ -21443,20 +53105,21 @@ func (s DataSourceCredentials) String() string { // 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 DataSourceCredentials) GoString() string { +func (s ListThemesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DataSourceCredentials) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DataSourceCredentials"} - if s.SecretArn != nil && len(*s.SecretArn) < 1 { - invalidParams.Add(request.NewErrParamMinLen("SecretArn", 1)) +func (s *ListThemesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListThemesInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) } - if s.CredentialPair != nil { - if err := s.CredentialPair.Validate(); err != nil { - invalidParams.AddNested("CredentialPair", err.(request.ErrInvalidParams)) - } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } if invalidParams.Len() > 0 { @@ -21465,33 +53128,44 @@ func (s *DataSourceCredentials) Validate() error { return nil } -// SetCopySourceArn sets the CopySourceArn field's value. -func (s *DataSourceCredentials) SetCopySourceArn(v string) *DataSourceCredentials { - s.CopySourceArn = &v +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *ListThemesInput) SetAwsAccountId(v string) *ListThemesInput { + s.AwsAccountId = &v return s } -// SetCredentialPair sets the CredentialPair field's value. -func (s *DataSourceCredentials) SetCredentialPair(v *CredentialPair) *DataSourceCredentials { - s.CredentialPair = v +// SetMaxResults sets the MaxResults field's value. +func (s *ListThemesInput) SetMaxResults(v int64) *ListThemesInput { + s.MaxResults = &v return s } -// SetSecretArn sets the SecretArn field's value. -func (s *DataSourceCredentials) SetSecretArn(v string) *DataSourceCredentials { - s.SecretArn = &v +// SetNextToken sets the NextToken field's value. +func (s *ListThemesInput) SetNextToken(v string) *ListThemesInput { + s.NextToken = &v + return s +} + +// SetType sets the Type field's value. +func (s *ListThemesInput) SetType(v string) *ListThemesInput { + s.Type = &v return s } -// Error information for the data source creation or update. -type DataSourceErrorInfo struct { +type ListThemesOutput struct { _ struct{} `type:"structure"` - // Error message. - Message *string `type:"string"` + // The token for the next set of results, or null if there are no more results. + NextToken *string `type:"string"` - // Error type. - Type *string `type:"string" enum:"DataSourceErrorInfoType"` + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` + + // Information about the themes in the list. + ThemeSummaryList []*ThemeSummary `type:"list"` } // String returns the string representation. @@ -21499,7 +53173,7 @@ type DataSourceErrorInfo struct { // 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 DataSourceErrorInfo) String() string { +func (s ListThemesOutput) String() string { return awsutil.Prettify(s) } @@ -21508,96 +53182,59 @@ func (s DataSourceErrorInfo) String() string { // 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 DataSourceErrorInfo) GoString() string { +func (s ListThemesOutput) GoString() string { return s.String() } -// SetMessage sets the Message field's value. -func (s *DataSourceErrorInfo) SetMessage(v string) *DataSourceErrorInfo { - s.Message = &v +// SetNextToken sets the NextToken field's value. +func (s *ListThemesOutput) SetNextToken(v string) *ListThemesOutput { + s.NextToken = &v return s } -// SetType sets the Type field's value. -func (s *DataSourceErrorInfo) SetType(v string) *DataSourceErrorInfo { - s.Type = &v +// SetRequestId sets the RequestId field's value. +func (s *ListThemesOutput) SetRequestId(v string) *ListThemesOutput { + s.RequestId = &v return s } -// The parameters that Amazon QuickSight uses to connect to your underlying -// data source. This is a variant type structure. For this structure to be valid, -// only one of the attributes can be non-null. -type DataSourceParameters struct { - _ struct{} `type:"structure"` - - // The parameters for OpenSearch. - AmazonElasticsearchParameters *AmazonElasticsearchParameters `type:"structure"` - - // The parameters for OpenSearch. - AmazonOpenSearchParameters *AmazonOpenSearchParameters `type:"structure"` - - // The parameters for Amazon Athena. - AthenaParameters *AthenaParameters `type:"structure"` - - // The parameters for Amazon Aurora MySQL. - AuroraParameters *AuroraParameters `type:"structure"` - - // The parameters for Amazon Aurora. - AuroraPostgreSqlParameters *AuroraPostgreSqlParameters `type:"structure"` - - // The parameters for IoT Analytics. - AwsIotAnalyticsParameters *AwsIotAnalyticsParameters `type:"structure"` - - // The required parameters that are needed to connect to a Databricks data source. - DatabricksParameters *DatabricksParameters `type:"structure"` - - // The parameters for Exasol. - ExasolParameters *ExasolParameters `type:"structure"` - - // The parameters for Jira. - JiraParameters *JiraParameters `type:"structure"` - - // The parameters for MariaDB. - MariaDbParameters *MariaDbParameters `type:"structure"` - - // The parameters for MySQL. - MySqlParameters *MySqlParameters `type:"structure"` - - // The parameters for Oracle. - OracleParameters *OracleParameters `type:"structure"` - - // The parameters for PostgreSQL. - PostgreSqlParameters *PostgreSqlParameters `type:"structure"` - - // The parameters for Presto. - PrestoParameters *PrestoParameters `type:"structure"` - - // The parameters for Amazon RDS. - RdsParameters *RdsParameters `type:"structure"` - - // The parameters for Amazon Redshift. - RedshiftParameters *RedshiftParameters `type:"structure"` +// SetStatus sets the Status field's value. +func (s *ListThemesOutput) SetStatus(v int64) *ListThemesOutput { + s.Status = &v + return s +} - // The parameters for S3. - S3Parameters *S3Parameters `type:"structure"` +// SetThemeSummaryList sets the ThemeSummaryList field's value. +func (s *ListThemesOutput) SetThemeSummaryList(v []*ThemeSummary) *ListThemesOutput { + s.ThemeSummaryList = v + return s +} - // The parameters for ServiceNow. - ServiceNowParameters *ServiceNowParameters `type:"structure"` +type ListUserGroupsInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // The parameters for Snowflake. - SnowflakeParameters *SnowflakeParameters `type:"structure"` + // The Amazon Web Services account ID that the user is in. Currently, you use + // the ID for the Amazon Web Services account that contains your Amazon QuickSight + // account. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - // The parameters for Spark. - SparkParameters *SparkParameters `type:"structure"` + // The maximum number of results to return from this request. + MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` - // The parameters for SQL Server. - SqlServerParameters *SqlServerParameters `type:"structure"` + // The namespace. Currently, you should set this to default. + // + // Namespace is a required field + Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` - // The parameters for Teradata. - TeradataParameters *TeradataParameters `type:"structure"` + // A pagination token that can be used in a subsequent request. + NextToken *string `location:"querystring" locationName:"next-token" type:"string"` - // The parameters for Twitter. - TwitterParameters *TwitterParameters `type:"structure"` + // The Amazon QuickSight user name that you want to list group memberships for. + // + // UserName is a required field + UserName *string `location:"uri" locationName:"UserName" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -21605,7 +53242,7 @@ type DataSourceParameters struct { // 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 DataSourceParameters) String() string { +func (s ListUserGroupsInput) String() string { return awsutil.Prettify(s) } @@ -21614,127 +53251,33 @@ func (s DataSourceParameters) String() string { // 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 DataSourceParameters) GoString() string { +func (s ListUserGroupsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DataSourceParameters) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DataSourceParameters"} - if s.AmazonElasticsearchParameters != nil { - if err := s.AmazonElasticsearchParameters.Validate(); err != nil { - invalidParams.AddNested("AmazonElasticsearchParameters", err.(request.ErrInvalidParams)) - } - } - if s.AmazonOpenSearchParameters != nil { - if err := s.AmazonOpenSearchParameters.Validate(); err != nil { - invalidParams.AddNested("AmazonOpenSearchParameters", err.(request.ErrInvalidParams)) - } - } - if s.AthenaParameters != nil { - if err := s.AthenaParameters.Validate(); err != nil { - invalidParams.AddNested("AthenaParameters", err.(request.ErrInvalidParams)) - } - } - if s.AuroraParameters != nil { - if err := s.AuroraParameters.Validate(); err != nil { - invalidParams.AddNested("AuroraParameters", err.(request.ErrInvalidParams)) - } - } - if s.AuroraPostgreSqlParameters != nil { - if err := s.AuroraPostgreSqlParameters.Validate(); err != nil { - invalidParams.AddNested("AuroraPostgreSqlParameters", err.(request.ErrInvalidParams)) - } - } - if s.AwsIotAnalyticsParameters != nil { - if err := s.AwsIotAnalyticsParameters.Validate(); err != nil { - invalidParams.AddNested("AwsIotAnalyticsParameters", err.(request.ErrInvalidParams)) - } - } - if s.DatabricksParameters != nil { - if err := s.DatabricksParameters.Validate(); err != nil { - invalidParams.AddNested("DatabricksParameters", err.(request.ErrInvalidParams)) - } - } - if s.ExasolParameters != nil { - if err := s.ExasolParameters.Validate(); err != nil { - invalidParams.AddNested("ExasolParameters", err.(request.ErrInvalidParams)) - } - } - if s.JiraParameters != nil { - if err := s.JiraParameters.Validate(); err != nil { - invalidParams.AddNested("JiraParameters", err.(request.ErrInvalidParams)) - } - } - if s.MariaDbParameters != nil { - if err := s.MariaDbParameters.Validate(); err != nil { - invalidParams.AddNested("MariaDbParameters", err.(request.ErrInvalidParams)) - } - } - if s.MySqlParameters != nil { - if err := s.MySqlParameters.Validate(); err != nil { - invalidParams.AddNested("MySqlParameters", err.(request.ErrInvalidParams)) - } - } - if s.OracleParameters != nil { - if err := s.OracleParameters.Validate(); err != nil { - invalidParams.AddNested("OracleParameters", err.(request.ErrInvalidParams)) - } - } - if s.PostgreSqlParameters != nil { - if err := s.PostgreSqlParameters.Validate(); err != nil { - invalidParams.AddNested("PostgreSqlParameters", err.(request.ErrInvalidParams)) - } - } - if s.PrestoParameters != nil { - if err := s.PrestoParameters.Validate(); err != nil { - invalidParams.AddNested("PrestoParameters", err.(request.ErrInvalidParams)) - } - } - if s.RdsParameters != nil { - if err := s.RdsParameters.Validate(); err != nil { - invalidParams.AddNested("RdsParameters", err.(request.ErrInvalidParams)) - } - } - if s.RedshiftParameters != nil { - if err := s.RedshiftParameters.Validate(); err != nil { - invalidParams.AddNested("RedshiftParameters", err.(request.ErrInvalidParams)) - } - } - if s.S3Parameters != nil { - if err := s.S3Parameters.Validate(); err != nil { - invalidParams.AddNested("S3Parameters", err.(request.ErrInvalidParams)) - } +func (s *ListUserGroupsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListUserGroupsInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) } - if s.ServiceNowParameters != nil { - if err := s.ServiceNowParameters.Validate(); err != nil { - invalidParams.AddNested("ServiceNowParameters", err.(request.ErrInvalidParams)) - } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) } - if s.SnowflakeParameters != nil { - if err := s.SnowflakeParameters.Validate(); err != nil { - invalidParams.AddNested("SnowflakeParameters", err.(request.ErrInvalidParams)) - } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } - if s.SparkParameters != nil { - if err := s.SparkParameters.Validate(); err != nil { - invalidParams.AddNested("SparkParameters", err.(request.ErrInvalidParams)) - } + if s.Namespace == nil { + invalidParams.Add(request.NewErrParamRequired("Namespace")) } - if s.SqlServerParameters != nil { - if err := s.SqlServerParameters.Validate(); err != nil { - invalidParams.AddNested("SqlServerParameters", err.(request.ErrInvalidParams)) - } + if s.Namespace != nil && len(*s.Namespace) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) } - if s.TeradataParameters != nil { - if err := s.TeradataParameters.Validate(); err != nil { - invalidParams.AddNested("TeradataParameters", err.(request.ErrInvalidParams)) - } + if s.UserName == nil { + invalidParams.Add(request.NewErrParamRequired("UserName")) } - if s.TwitterParameters != nil { - if err := s.TwitterParameters.Validate(); err != nil { - invalidParams.AddNested("TwitterParameters", err.(request.ErrInvalidParams)) - } + if s.UserName != nil && len(*s.UserName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserName", 1)) } if invalidParams.Len() > 0 { @@ -21743,193 +53286,114 @@ func (s *DataSourceParameters) Validate() error { return nil } -// SetAmazonElasticsearchParameters sets the AmazonElasticsearchParameters field's value. -func (s *DataSourceParameters) SetAmazonElasticsearchParameters(v *AmazonElasticsearchParameters) *DataSourceParameters { - s.AmazonElasticsearchParameters = v - return s -} - -// SetAmazonOpenSearchParameters sets the AmazonOpenSearchParameters field's value. -func (s *DataSourceParameters) SetAmazonOpenSearchParameters(v *AmazonOpenSearchParameters) *DataSourceParameters { - s.AmazonOpenSearchParameters = v - return s -} - -// SetAthenaParameters sets the AthenaParameters field's value. -func (s *DataSourceParameters) SetAthenaParameters(v *AthenaParameters) *DataSourceParameters { - s.AthenaParameters = v - return s -} - -// SetAuroraParameters sets the AuroraParameters field's value. -func (s *DataSourceParameters) SetAuroraParameters(v *AuroraParameters) *DataSourceParameters { - s.AuroraParameters = v - return s -} - -// SetAuroraPostgreSqlParameters sets the AuroraPostgreSqlParameters field's value. -func (s *DataSourceParameters) SetAuroraPostgreSqlParameters(v *AuroraPostgreSqlParameters) *DataSourceParameters { - s.AuroraPostgreSqlParameters = v - return s -} - -// SetAwsIotAnalyticsParameters sets the AwsIotAnalyticsParameters field's value. -func (s *DataSourceParameters) SetAwsIotAnalyticsParameters(v *AwsIotAnalyticsParameters) *DataSourceParameters { - s.AwsIotAnalyticsParameters = v - return s -} - -// SetDatabricksParameters sets the DatabricksParameters field's value. -func (s *DataSourceParameters) SetDatabricksParameters(v *DatabricksParameters) *DataSourceParameters { - s.DatabricksParameters = v - return s -} - -// SetExasolParameters sets the ExasolParameters field's value. -func (s *DataSourceParameters) SetExasolParameters(v *ExasolParameters) *DataSourceParameters { - s.ExasolParameters = v +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *ListUserGroupsInput) SetAwsAccountId(v string) *ListUserGroupsInput { + s.AwsAccountId = &v return s } -// SetJiraParameters sets the JiraParameters field's value. -func (s *DataSourceParameters) SetJiraParameters(v *JiraParameters) *DataSourceParameters { - s.JiraParameters = v +// SetMaxResults sets the MaxResults field's value. +func (s *ListUserGroupsInput) SetMaxResults(v int64) *ListUserGroupsInput { + s.MaxResults = &v return s } -// SetMariaDbParameters sets the MariaDbParameters field's value. -func (s *DataSourceParameters) SetMariaDbParameters(v *MariaDbParameters) *DataSourceParameters { - s.MariaDbParameters = v +// SetNamespace sets the Namespace field's value. +func (s *ListUserGroupsInput) SetNamespace(v string) *ListUserGroupsInput { + s.Namespace = &v return s } -// SetMySqlParameters sets the MySqlParameters field's value. -func (s *DataSourceParameters) SetMySqlParameters(v *MySqlParameters) *DataSourceParameters { - s.MySqlParameters = v +// SetNextToken sets the NextToken field's value. +func (s *ListUserGroupsInput) SetNextToken(v string) *ListUserGroupsInput { + s.NextToken = &v return s } -// SetOracleParameters sets the OracleParameters field's value. -func (s *DataSourceParameters) SetOracleParameters(v *OracleParameters) *DataSourceParameters { - s.OracleParameters = v +// SetUserName sets the UserName field's value. +func (s *ListUserGroupsInput) SetUserName(v string) *ListUserGroupsInput { + s.UserName = &v return s } -// SetPostgreSqlParameters sets the PostgreSqlParameters field's value. -func (s *DataSourceParameters) SetPostgreSqlParameters(v *PostgreSqlParameters) *DataSourceParameters { - s.PostgreSqlParameters = v - return s -} +type ListUserGroupsOutput struct { + _ struct{} `type:"structure"` -// SetPrestoParameters sets the PrestoParameters field's value. -func (s *DataSourceParameters) SetPrestoParameters(v *PrestoParameters) *DataSourceParameters { - s.PrestoParameters = v - return s -} + // The list of groups the user is a member of. + GroupList []*Group `type:"list"` -// SetRdsParameters sets the RdsParameters field's value. -func (s *DataSourceParameters) SetRdsParameters(v *RdsParameters) *DataSourceParameters { - s.RdsParameters = v - return s -} + // A pagination token that can be used in a subsequent request. + NextToken *string `type:"string"` -// SetRedshiftParameters sets the RedshiftParameters field's value. -func (s *DataSourceParameters) SetRedshiftParameters(v *RedshiftParameters) *DataSourceParameters { - s.RedshiftParameters = v - return s -} + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` -// SetS3Parameters sets the S3Parameters field's value. -func (s *DataSourceParameters) SetS3Parameters(v *S3Parameters) *DataSourceParameters { - s.S3Parameters = v - return s + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` } -// SetServiceNowParameters sets the ServiceNowParameters field's value. -func (s *DataSourceParameters) SetServiceNowParameters(v *ServiceNowParameters) *DataSourceParameters { - s.ServiceNowParameters = v - return s +// 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 ListUserGroupsOutput) String() string { + return awsutil.Prettify(s) } -// SetSnowflakeParameters sets the SnowflakeParameters field's value. -func (s *DataSourceParameters) SetSnowflakeParameters(v *SnowflakeParameters) *DataSourceParameters { - s.SnowflakeParameters = v - return 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 ListUserGroupsOutput) GoString() string { + return s.String() } -// SetSparkParameters sets the SparkParameters field's value. -func (s *DataSourceParameters) SetSparkParameters(v *SparkParameters) *DataSourceParameters { - s.SparkParameters = v +// SetGroupList sets the GroupList field's value. +func (s *ListUserGroupsOutput) SetGroupList(v []*Group) *ListUserGroupsOutput { + s.GroupList = v return s } -// SetSqlServerParameters sets the SqlServerParameters field's value. -func (s *DataSourceParameters) SetSqlServerParameters(v *SqlServerParameters) *DataSourceParameters { - s.SqlServerParameters = v +// SetNextToken sets the NextToken field's value. +func (s *ListUserGroupsOutput) SetNextToken(v string) *ListUserGroupsOutput { + s.NextToken = &v return s } -// SetTeradataParameters sets the TeradataParameters field's value. -func (s *DataSourceParameters) SetTeradataParameters(v *TeradataParameters) *DataSourceParameters { - s.TeradataParameters = v +// SetRequestId sets the RequestId field's value. +func (s *ListUserGroupsOutput) SetRequestId(v string) *ListUserGroupsOutput { + s.RequestId = &v return s } -// SetTwitterParameters sets the TwitterParameters field's value. -func (s *DataSourceParameters) SetTwitterParameters(v *TwitterParameters) *DataSourceParameters { - s.TwitterParameters = v +// SetStatus sets the Status field's value. +func (s *ListUserGroupsOutput) SetStatus(v int64) *ListUserGroupsOutput { + s.Status = &v return s } -// A filter that you apply when searching for data sources. -type DataSourceSearchFilter struct { - _ struct{} `type:"structure"` +type ListUsersInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // The name of the value that you want to use as a filter, for example, "Name": - // "DIRECT_QUICKSIGHT_OWNER". - // - // Valid values are defined as follows: - // - // * DIRECT_QUICKSIGHT_VIEWER_OR_OWNER: Provide an ARN of a user or group, - // and any data sources with that ARN listed as one of the owners or viewers - // of the data sources are returned. Implicit permissions from folders or - // groups are not considered. - // - // * DIRECT_QUICKSIGHT_OWNER: Provide an ARN of a user or group, and any - // data sources with that ARN listed as one of the owners if the data source - // are returned. Implicit permissions from folders or groups are not considered. - // - // * DIRECT_QUICKSIGHT_SOLE_OWNER: Provide an ARN of a user or group, and - // any data sources with that ARN listed as the only owner of the data source - // are returned. Implicit permissions from folders or groups are not considered. - // - // * DATASOURCE_NAME: Any data sources whose names have a substring match - // to the provided value are returned. + // The ID for the Amazon Web Services account that the user is in. Currently, + // you use the ID for the Amazon Web Services account that contains your Amazon + // QuickSight account. // - // Name is a required field - Name *string `type:"string" required:"true" enum:"DataSourceFilterAttribute"` + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - // The comparison operator that you want to use as a filter, for example "Operator": - // "StringEquals". Valid values are "StringEquals" and "StringLike". - // - // If you set the operator value to "StringEquals", you need to provide an ownership - // related filter in the "NAME" field and the arn of the user or group whose - // data sources you want to search in the "Value" field. For example, "Name":"DIRECT_QUICKSIGHT_OWNER", - // "Operator": "StringEquals", "Value": "arn:aws:quicksight:us-east-1:1:user/default/UserName1". - // - // If you set the value to "StringLike", you need to provide the name of the - // data sources you are searching for. For example, "Name":"DATASOURCE_NAME", - // "Operator": "StringLike", "Value": "Test". The "StringLike" operator only - // supports the NAME value DATASOURCE_NAME. - // - // Operator is a required field - Operator *string `type:"string" required:"true" enum:"FilterOperator"` + // The maximum number of results to return from this request. + MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` - // The value of the named item, for example DIRECT_QUICKSIGHT_OWNER, that you - // want to use as a filter, for example, "Value": "arn:aws:quicksight:us-east-1:1:user/default/UserName1". + // The namespace. Currently, you should set this to default. // - // Value is a required field - Value *string `type:"string" required:"true"` + // Namespace is a required field + Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` + + // A pagination token that can be used in a subsequent request. + NextToken *string `location:"querystring" locationName:"next-token" type:"string"` } // String returns the string representation. @@ -21937,7 +53401,7 @@ type DataSourceSearchFilter struct { // 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 DataSourceSearchFilter) String() string { +func (s ListUsersInput) String() string { return awsutil.Prettify(s) } @@ -21946,21 +53410,27 @@ func (s DataSourceSearchFilter) String() string { // 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 DataSourceSearchFilter) GoString() string { +func (s ListUsersInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DataSourceSearchFilter) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DataSourceSearchFilter"} - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) +func (s *ListUsersInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListUsersInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) } - if s.Operator == nil { - invalidParams.Add(request.NewErrParamRequired("Operator")) + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) } - if s.Value == nil { - invalidParams.Add(request.NewErrParamRequired("Value")) + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.Namespace == nil { + invalidParams.Add(request.NewErrParamRequired("Namespace")) + } + if s.Namespace != nil && len(*s.Namespace) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) } if invalidParams.Len() > 0 { @@ -21969,47 +53439,44 @@ func (s *DataSourceSearchFilter) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DataSourceSearchFilter) SetName(v string) *DataSourceSearchFilter { - s.Name = &v +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *ListUsersInput) SetAwsAccountId(v string) *ListUsersInput { + s.AwsAccountId = &v return s } -// SetOperator sets the Operator field's value. -func (s *DataSourceSearchFilter) SetOperator(v string) *DataSourceSearchFilter { - s.Operator = &v +// SetMaxResults sets the MaxResults field's value. +func (s *ListUsersInput) SetMaxResults(v int64) *ListUsersInput { + s.MaxResults = &v + return s +} + +// SetNamespace sets the Namespace field's value. +func (s *ListUsersInput) SetNamespace(v string) *ListUsersInput { + s.Namespace = &v return s } -// SetValue sets the Value field's value. -func (s *DataSourceSearchFilter) SetValue(v string) *DataSourceSearchFilter { - s.Value = &v +// SetNextToken sets the NextToken field's value. +func (s *ListUsersInput) SetNextToken(v string) *ListUsersInput { + s.NextToken = &v return s } -// A DataSourceSummary object that returns a summary of a data source. -type DataSourceSummary struct { +type ListUsersOutput struct { _ struct{} `type:"structure"` - // The arn of the datasource. - Arn *string `type:"string"` - - // The date and time that the data source was created. This value is expressed - // in MM-DD-YYYY HH:MM:SS format. - CreatedTime *time.Time `type:"timestamp"` - - // The unique ID of the data source. - DataSourceId *string `type:"string"` + // A pagination token that can be used in a subsequent request. + NextToken *string `type:"string"` - // The date and time the data source was last updated. This value is expressed - // in MM-DD-YYYY HH:MM:SS format. - LastUpdatedTime *time.Time `type:"timestamp"` + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` - // The name of the data source. - Name *string `min:"1" type:"string"` + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` - // The type of the data source. - Type *string `type:"string" enum:"DataSourceType"` + // The list of users. + UserList []*User `type:"list"` } // String returns the string representation. @@ -22017,7 +53484,7 @@ type DataSourceSummary struct { // 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 DataSourceSummary) String() string { +func (s ListUsersOutput) String() string { return awsutil.Prettify(s) } @@ -22026,64 +53493,40 @@ func (s DataSourceSummary) String() string { // 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 DataSourceSummary) GoString() string { +func (s ListUsersOutput) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *DataSourceSummary) SetArn(v string) *DataSourceSummary { - s.Arn = &v - return s -} - -// SetCreatedTime sets the CreatedTime field's value. -func (s *DataSourceSummary) SetCreatedTime(v time.Time) *DataSourceSummary { - s.CreatedTime = &v - return s -} - -// SetDataSourceId sets the DataSourceId field's value. -func (s *DataSourceSummary) SetDataSourceId(v string) *DataSourceSummary { - s.DataSourceId = &v +// SetNextToken sets the NextToken field's value. +func (s *ListUsersOutput) SetNextToken(v string) *ListUsersOutput { + s.NextToken = &v return s } -// SetLastUpdatedTime sets the LastUpdatedTime field's value. -func (s *DataSourceSummary) SetLastUpdatedTime(v time.Time) *DataSourceSummary { - s.LastUpdatedTime = &v +// SetRequestId sets the RequestId field's value. +func (s *ListUsersOutput) SetRequestId(v string) *ListUsersOutput { + s.RequestId = &v return s } -// SetName sets the Name field's value. -func (s *DataSourceSummary) SetName(v string) *DataSourceSummary { - s.Name = &v +// SetStatus sets the Status field's value. +func (s *ListUsersOutput) SetStatus(v int64) *ListUsersOutput { + s.Status = &v return s } -// SetType sets the Type field's value. -func (s *DataSourceSummary) SetType(v string) *DataSourceSummary { - s.Type = &v +// SetUserList sets the UserList field's value. +func (s *ListUsersOutput) SetUserList(v []*User) *ListUsersOutput { + s.UserList = v return s } -// The required parameters that are needed to connect to a Databricks data source. -type DatabricksParameters struct { +// The configuration of loading animation in free-form layout. +type LoadingAnimation struct { _ struct{} `type:"structure"` - // The host name of the Databricks data source. - // - // Host is a required field - Host *string `min:"1" type:"string" required:"true"` - - // The port for the Databricks data source. - // - // Port is a required field - Port *int64 `min:"1" type:"integer" required:"true"` - - // The HTTP path of the Databricks data source. - // - // SqlEndpointPath is a required field - SqlEndpointPath *string `min:"1" type:"string" required:"true"` + // The visibility configuration of LoadingAnimation. + Visibility *string `type:"string" enum:"Visibility"` } // String returns the string representation. @@ -22091,7 +53534,7 @@ type DatabricksParameters struct { // 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 DatabricksParameters) String() string { +func (s LoadingAnimation) String() string { return awsutil.Prettify(s) } @@ -22100,69 +53543,24 @@ func (s DatabricksParameters) String() string { // 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 DatabricksParameters) GoString() string { +func (s LoadingAnimation) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DatabricksParameters) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DatabricksParameters"} - if s.Host == nil { - invalidParams.Add(request.NewErrParamRequired("Host")) - } - if s.Host != nil && len(*s.Host) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Host", 1)) - } - if s.Port == nil { - invalidParams.Add(request.NewErrParamRequired("Port")) - } - if s.Port != nil && *s.Port < 1 { - invalidParams.Add(request.NewErrParamMinValue("Port", 1)) - } - if s.SqlEndpointPath == nil { - invalidParams.Add(request.NewErrParamRequired("SqlEndpointPath")) - } - if s.SqlEndpointPath != nil && len(*s.SqlEndpointPath) < 1 { - invalidParams.Add(request.NewErrParamMinLen("SqlEndpointPath", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetHost sets the Host field's value. -func (s *DatabricksParameters) SetHost(v string) *DatabricksParameters { - s.Host = &v - return s -} - -// SetPort sets the Port field's value. -func (s *DatabricksParameters) SetPort(v int64) *DatabricksParameters { - s.Port = &v - return s -} - -// SetSqlEndpointPath sets the SqlEndpointPath field's value. -func (s *DatabricksParameters) SetSqlEndpointPath(v string) *DatabricksParameters { - s.SqlEndpointPath = &v +// SetVisibility sets the Visibility field's value. +func (s *LoadingAnimation) SetVisibility(v string) *LoadingAnimation { + s.Visibility = &v return s } -// A date-time parameter. -type DateTimeParameter struct { +// The navigation configuration for CustomActionNavigationOperation. +type LocalNavigationConfiguration struct { _ struct{} `type:"structure"` - // A display name for the date-time parameter. - // - // Name is a required field - Name *string `type:"string" required:"true"` - - // The values for the date-time parameter. + // The sheet that is targeted for navigation in the same analysis. // - // Values is a required field - Values []*time.Time `type:"list" required:"true"` + // TargetSheetId is a required field + TargetSheetId *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -22170,7 +53568,7 @@ type DateTimeParameter struct { // 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 DateTimeParameter) String() string { +func (s LocalNavigationConfiguration) String() string { return awsutil.Prettify(s) } @@ -22179,18 +53577,18 @@ func (s DateTimeParameter) String() string { // 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 DateTimeParameter) GoString() string { +func (s LocalNavigationConfiguration) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DateTimeParameter) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DateTimeParameter"} - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) +func (s *LocalNavigationConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "LocalNavigationConfiguration"} + if s.TargetSheetId == nil { + invalidParams.Add(request.NewErrParamRequired("TargetSheetId")) } - if s.Values == nil { - invalidParams.Add(request.NewErrParamRequired("Values")) + if s.TargetSheetId != nil && len(*s.TargetSheetId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TargetSheetId", 1)) } if invalidParams.Len() > 0 { @@ -22199,31 +53597,31 @@ func (s *DateTimeParameter) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DateTimeParameter) SetName(v string) *DateTimeParameter { - s.Name = &v - return s -} - -// SetValues sets the Values field's value. -func (s *DateTimeParameter) SetValues(v []*time.Time) *DateTimeParameter { - s.Values = v +// SetTargetSheetId sets the TargetSheetId field's value. +func (s *LocalNavigationConfiguration) SetTargetSheetId(v string) *LocalNavigationConfiguration { + s.TargetSheetId = &v return s } -// A decimal parameter. -type DecimalParameter struct { +// A logical table is a unit that joins and that data transformations operate +// on. A logical table has a source, which can be either a physical table or +// result of a join. When a logical table points to a physical table, the logical +// table acts as a mutable copy of that physical table through transform operations. +type LogicalTable struct { _ struct{} `type:"structure"` - // A display name for the decimal parameter. + // A display name for the logical table. // - // Name is a required field - Name *string `type:"string" required:"true"` + // Alias is a required field + Alias *string `min:"1" type:"string" required:"true"` - // The values for the decimal parameter. + // Transform operations that act on this logical table. + DataTransforms []*TransformOperation `min:"1" type:"list"` + + // Source of this logical table. // - // Values is a required field - Values []*float64 `type:"list" required:"true"` + // Source is a required field + Source *LogicalTableSource `type:"structure" required:"true"` } // String returns the string representation. @@ -22231,7 +53629,7 @@ type DecimalParameter struct { // 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 DecimalParameter) String() string { +func (s LogicalTable) String() string { return awsutil.Prettify(s) } @@ -22240,18 +53638,39 @@ func (s DecimalParameter) String() string { // 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 DecimalParameter) GoString() string { +func (s LogicalTable) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DecimalParameter) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DecimalParameter"} - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) +func (s *LogicalTable) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "LogicalTable"} + if s.Alias == nil { + invalidParams.Add(request.NewErrParamRequired("Alias")) } - if s.Values == nil { - invalidParams.Add(request.NewErrParamRequired("Values")) + if s.Alias != nil && len(*s.Alias) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Alias", 1)) + } + if s.DataTransforms != nil && len(s.DataTransforms) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DataTransforms", 1)) + } + if s.Source == nil { + invalidParams.Add(request.NewErrParamRequired("Source")) + } + if s.DataTransforms != nil { + for i, v := range s.DataTransforms { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DataTransforms", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Source != nil { + if err := s.Source.Validate(); err != nil { + invalidParams.AddNested("Source", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -22260,29 +53679,37 @@ func (s *DecimalParameter) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DecimalParameter) SetName(v string) *DecimalParameter { - s.Name = &v +// SetAlias sets the Alias field's value. +func (s *LogicalTable) SetAlias(v string) *LogicalTable { + s.Alias = &v return s } -// SetValues sets the Values field's value. -func (s *DecimalParameter) SetValues(v []*float64) *DecimalParameter { - s.Values = v +// SetDataTransforms sets the DataTransforms field's value. +func (s *LogicalTable) SetDataTransforms(v []*TransformOperation) *LogicalTable { + s.DataTransforms = v return s } -type DeleteAccountCustomizationInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// SetSource sets the Source field's value. +func (s *LogicalTable) SetSource(v *LogicalTableSource) *LogicalTable { + s.Source = v + return s +} - // The ID for the Amazon Web Services account that you want to delete Amazon - // QuickSight customizations from in this Amazon Web Services Region. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` +// Information about the source of a logical table. This is a variant type structure. +// For this structure to be valid, only one of the attributes can be non-null. +type LogicalTableSource struct { + _ struct{} `type:"structure"` - // The Amazon QuickSight namespace that you're deleting the customizations from. - Namespace *string `location:"querystring" locationName:"namespace" type:"string"` + // The Amazon Resource Number (ARN) of the parent dataset. + DataSetArn *string `type:"string"` + + // Specifies the result of a join of two logical tables. + JoinInstruction *JoinInstruction `type:"structure"` + + // Physical table ID. + PhysicalTableId *string `min:"1" type:"string"` } // String returns the string representation. @@ -22290,7 +53717,7 @@ type DeleteAccountCustomizationInput struct { // 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 DeleteAccountCustomizationInput) String() string { +func (s LogicalTableSource) String() string { return awsutil.Prettify(s) } @@ -22299,18 +53726,20 @@ func (s DeleteAccountCustomizationInput) String() string { // 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 DeleteAccountCustomizationInput) GoString() string { +func (s LogicalTableSource) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteAccountCustomizationInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteAccountCustomizationInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) +func (s *LogicalTableSource) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "LogicalTableSource"} + if s.PhysicalTableId != nil && len(*s.PhysicalTableId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PhysicalTableId", 1)) } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + if s.JoinInstruction != nil { + if err := s.JoinInstruction.Validate(); err != nil { + invalidParams.AddNested("JoinInstruction", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -22319,26 +53748,36 @@ func (s *DeleteAccountCustomizationInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DeleteAccountCustomizationInput) SetAwsAccountId(v string) *DeleteAccountCustomizationInput { - s.AwsAccountId = &v +// SetDataSetArn sets the DataSetArn field's value. +func (s *LogicalTableSource) SetDataSetArn(v string) *LogicalTableSource { + s.DataSetArn = &v return s } -// SetNamespace sets the Namespace field's value. -func (s *DeleteAccountCustomizationInput) SetNamespace(v string) *DeleteAccountCustomizationInput { - s.Namespace = &v +// SetJoinInstruction sets the JoinInstruction field's value. +func (s *LogicalTableSource) SetJoinInstruction(v *JoinInstruction) *LogicalTableSource { + s.JoinInstruction = v return s } -type DeleteAccountCustomizationOutput struct { +// SetPhysicalTableId sets the PhysicalTableId field's value. +func (s *LogicalTableSource) SetPhysicalTableId(v string) *LogicalTableSource { + s.PhysicalTableId = &v + return s +} + +// The text format for a subtitle. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type LongFormatText struct { _ struct{} `type:"structure"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // Plain text format. + PlainText *string `min:"1" type:"string"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // Rich text. Examples of rich text include bold, underline, and italics. + RichText *string `min:"1" type:"string"` } // String returns the string representation. @@ -22346,7 +53785,7 @@ type DeleteAccountCustomizationOutput struct { // 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 DeleteAccountCustomizationOutput) String() string { +func (s LongFormatText) String() string { return awsutil.Prettify(s) } @@ -22355,29 +53794,51 @@ func (s DeleteAccountCustomizationOutput) String() string { // 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 DeleteAccountCustomizationOutput) GoString() string { +func (s LongFormatText) GoString() string { return s.String() } -// SetRequestId sets the RequestId field's value. -func (s *DeleteAccountCustomizationOutput) SetRequestId(v string) *DeleteAccountCustomizationOutput { - s.RequestId = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *LongFormatText) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "LongFormatText"} + if s.PlainText != nil && len(*s.PlainText) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PlainText", 1)) + } + if s.RichText != nil && len(*s.RichText) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RichText", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPlainText sets the PlainText field's value. +func (s *LongFormatText) SetPlainText(v string) *LongFormatText { + s.PlainText = &v return s } -// SetStatus sets the Status field's value. -func (s *DeleteAccountCustomizationOutput) SetStatus(v int64) *DeleteAccountCustomizationOutput { - s.Status = &v +// SetRichText sets the RichText field's value. +func (s *LongFormatText) SetRichText(v string) *LongFormatText { + s.RichText = &v return s } -type DeleteAccountSubscriptionInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// Amazon S3 manifest file location. +type ManifestFileLocation struct { + _ struct{} `type:"structure"` - // The Amazon Web Services account ID of the account that you want to delete. + // Amazon S3 bucket. // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // Bucket is a required field + Bucket *string `min:"1" type:"string" required:"true"` + + // Amazon S3 key that identifies an object. + // + // Key is a required field + Key *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -22385,7 +53846,7 @@ type DeleteAccountSubscriptionInput struct { // 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 DeleteAccountSubscriptionInput) String() string { +func (s ManifestFileLocation) String() string { return awsutil.Prettify(s) } @@ -22394,18 +53855,24 @@ func (s DeleteAccountSubscriptionInput) String() string { // 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 DeleteAccountSubscriptionInput) GoString() string { +func (s ManifestFileLocation) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteAccountSubscriptionInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteAccountSubscriptionInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) +func (s *ManifestFileLocation) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ManifestFileLocation"} + if s.Bucket == nil { + invalidParams.Add(request.NewErrParamRequired("Bucket")) } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + if s.Bucket != nil && len(*s.Bucket) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Bucket", 1)) + } + if s.Key == nil { + invalidParams.Add(request.NewErrParamRequired("Key")) + } + if s.Key != nil && len(*s.Key) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Key", 1)) } if invalidParams.Len() > 0 { @@ -22414,20 +53881,24 @@ func (s *DeleteAccountSubscriptionInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DeleteAccountSubscriptionInput) SetAwsAccountId(v string) *DeleteAccountSubscriptionInput { - s.AwsAccountId = &v +// SetBucket sets the Bucket field's value. +func (s *ManifestFileLocation) SetBucket(v string) *ManifestFileLocation { + s.Bucket = &v return s } -type DeleteAccountSubscriptionOutput struct { - _ struct{} `type:"structure"` +// SetKey sets the Key field's value. +func (s *ManifestFileLocation) SetKey(v string) *ManifestFileLocation { + s.Key = &v + return s +} - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` +// The display options for margins around the outside edge of sheets. +type MarginStyle struct { + _ struct{} `type:"structure"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // This Boolean value controls whether to display sheet margins. + Show *bool `type:"boolean"` } // String returns the string representation. @@ -22435,7 +53906,7 @@ type DeleteAccountSubscriptionOutput struct { // 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 DeleteAccountSubscriptionOutput) String() string { +func (s MarginStyle) String() string { return awsutil.Prettify(s) } @@ -22444,44 +53915,34 @@ func (s DeleteAccountSubscriptionOutput) String() string { // 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 DeleteAccountSubscriptionOutput) GoString() string { +func (s MarginStyle) GoString() string { return s.String() } -// SetRequestId sets the RequestId field's value. -func (s *DeleteAccountSubscriptionOutput) SetRequestId(v string) *DeleteAccountSubscriptionOutput { - s.RequestId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *DeleteAccountSubscriptionOutput) SetStatus(v int64) *DeleteAccountSubscriptionOutput { - s.Status = &v +// SetShow sets the Show field's value. +func (s *MarginStyle) SetShow(v bool) *MarginStyle { + s.Show = &v return s } -type DeleteAnalysisInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// The parameters for MariaDB. +type MariaDbParameters struct { + _ struct{} `type:"structure"` - // The ID of the analysis that you're deleting. + // Database. // - // AnalysisId is a required field - AnalysisId *string `location:"uri" locationName:"AnalysisId" min:"1" type:"string" required:"true"` + // Database is a required field + Database *string `min:"1" type:"string" required:"true"` - // The ID of the Amazon Web Services account where you want to delete an analysis. + // Host. // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - - // This option defaults to the value NoForceDeleteWithoutRecovery. To immediately - // delete the analysis, add the ForceDeleteWithoutRecovery option. You can't - // restore an analysis after it's deleted. - ForceDeleteWithoutRecovery *bool `location:"querystring" locationName:"force-delete-without-recovery" type:"boolean"` + // Host is a required field + Host *string `min:"1" type:"string" required:"true"` - // A value that specifies the number of days that Amazon QuickSight waits before - // it deletes the analysis. You can't use this parameter with the ForceDeleteWithoutRecovery - // option in the same API call. The default value is 30. - RecoveryWindowInDays *int64 `location:"querystring" locationName:"recovery-window-in-days" min:"7" type:"long"` + // Port. + // + // Port is a required field + Port *int64 `min:"1" type:"integer" required:"true"` } // String returns the string representation. @@ -22489,7 +53950,7 @@ type DeleteAnalysisInput struct { // 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 DeleteAnalysisInput) String() string { +func (s MariaDbParameters) String() string { return awsutil.Prettify(s) } @@ -22498,27 +53959,30 @@ func (s DeleteAnalysisInput) String() string { // 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 DeleteAnalysisInput) GoString() string { +func (s MariaDbParameters) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteAnalysisInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteAnalysisInput"} - if s.AnalysisId == nil { - invalidParams.Add(request.NewErrParamRequired("AnalysisId")) +func (s *MariaDbParameters) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "MariaDbParameters"} + if s.Database == nil { + invalidParams.Add(request.NewErrParamRequired("Database")) } - if s.AnalysisId != nil && len(*s.AnalysisId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("AnalysisId", 1)) + if s.Database != nil && len(*s.Database) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Database", 1)) } - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + if s.Host == nil { + invalidParams.Add(request.NewErrParamRequired("Host")) } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + if s.Host != nil && len(*s.Host) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Host", 1)) } - if s.RecoveryWindowInDays != nil && *s.RecoveryWindowInDays < 7 { - invalidParams.Add(request.NewErrParamMinValue("RecoveryWindowInDays", 7)) + if s.Port == nil { + invalidParams.Add(request.NewErrParamRequired("Port")) + } + if s.Port != nil && *s.Port < 1 { + invalidParams.Add(request.NewErrParamMinValue("Port", 1)) } if invalidParams.Len() > 0 { @@ -22527,47 +53991,84 @@ func (s *DeleteAnalysisInput) Validate() error { return nil } -// SetAnalysisId sets the AnalysisId field's value. -func (s *DeleteAnalysisInput) SetAnalysisId(v string) *DeleteAnalysisInput { - s.AnalysisId = &v +// SetDatabase sets the Database field's value. +func (s *MariaDbParameters) SetDatabase(v string) *MariaDbParameters { + s.Database = &v return s } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DeleteAnalysisInput) SetAwsAccountId(v string) *DeleteAnalysisInput { - s.AwsAccountId = &v +// SetHost sets the Host field's value. +func (s *MariaDbParameters) SetHost(v string) *MariaDbParameters { + s.Host = &v return s } -// SetForceDeleteWithoutRecovery sets the ForceDeleteWithoutRecovery field's value. -func (s *DeleteAnalysisInput) SetForceDeleteWithoutRecovery(v bool) *DeleteAnalysisInput { - s.ForceDeleteWithoutRecovery = &v +// SetPort sets the Port field's value. +func (s *MariaDbParameters) SetPort(v int64) *MariaDbParameters { + s.Port = &v return s } -// SetRecoveryWindowInDays sets the RecoveryWindowInDays field's value. -func (s *DeleteAnalysisInput) SetRecoveryWindowInDays(v int64) *DeleteAnalysisInput { - s.RecoveryWindowInDays = &v +// The maximum label of a data path label. +type MaximumLabelType struct { + _ struct{} `type:"structure"` + + // The visibility of the maximum label. + Visibility *string `type:"string" enum:"Visibility"` +} + +// 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 MaximumLabelType) 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 MaximumLabelType) GoString() string { + return s.String() +} + +// SetVisibility sets the Visibility field's value. +func (s *MaximumLabelType) SetVisibility(v string) *MaximumLabelType { + s.Visibility = &v return s } -type DeleteAnalysisOutput struct { +// The maximum and minimum computation configuration. +type MaximumMinimumComputation struct { _ struct{} `type:"structure"` - // The ID of the deleted analysis. - AnalysisId *string `min:"1" type:"string"` - - // The Amazon Resource Name (ARN) of the deleted analysis. - Arn *string `type:"string"` + // The ID for a computation. + // + // ComputationId is a required field + ComputationId *string `min:"1" type:"string" required:"true"` - // The date and time that the analysis is scheduled to be deleted. - DeletionTime *time.Time `type:"timestamp"` + // The name of a computation. + Name *string `type:"string"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The time field that is used in a computation. + // + // Time is a required field + Time *DimensionField `type:"structure" required:"true"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The type of computation. Choose one of the following options: + // + // * MAXIMUM: A maximum computation. + // + // * MINIMUM: A minimum computation. + // + // Type is a required field + Type *string `type:"string" required:"true" enum:"MaximumMinimumComputationType"` + + // The value field that is used in a computation. + Value *MeasureField `type:"structure"` } // String returns the string representation. @@ -22575,7 +54076,7 @@ type DeleteAnalysisOutput struct { // 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 DeleteAnalysisOutput) String() string { +func (s MaximumMinimumComputation) String() string { return awsutil.Prettify(s) } @@ -22584,57 +54085,87 @@ func (s DeleteAnalysisOutput) String() string { // 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 DeleteAnalysisOutput) GoString() string { +func (s MaximumMinimumComputation) GoString() string { return s.String() } -// SetAnalysisId sets the AnalysisId field's value. -func (s *DeleteAnalysisOutput) SetAnalysisId(v string) *DeleteAnalysisOutput { - s.AnalysisId = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *MaximumMinimumComputation) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "MaximumMinimumComputation"} + if s.ComputationId == nil { + invalidParams.Add(request.NewErrParamRequired("ComputationId")) + } + if s.ComputationId != nil && len(*s.ComputationId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ComputationId", 1)) + } + if s.Time == nil { + invalidParams.Add(request.NewErrParamRequired("Time")) + } + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) + } + if s.Time != nil { + if err := s.Time.Validate(); err != nil { + invalidParams.AddNested("Time", err.(request.ErrInvalidParams)) + } + } + if s.Value != nil { + if err := s.Value.Validate(); err != nil { + invalidParams.AddNested("Value", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetComputationId sets the ComputationId field's value. +func (s *MaximumMinimumComputation) SetComputationId(v string) *MaximumMinimumComputation { + s.ComputationId = &v return s } -// SetArn sets the Arn field's value. -func (s *DeleteAnalysisOutput) SetArn(v string) *DeleteAnalysisOutput { - s.Arn = &v +// SetName sets the Name field's value. +func (s *MaximumMinimumComputation) SetName(v string) *MaximumMinimumComputation { + s.Name = &v return s } -// SetDeletionTime sets the DeletionTime field's value. -func (s *DeleteAnalysisOutput) SetDeletionTime(v time.Time) *DeleteAnalysisOutput { - s.DeletionTime = &v +// SetTime sets the Time field's value. +func (s *MaximumMinimumComputation) SetTime(v *DimensionField) *MaximumMinimumComputation { + s.Time = v return s } -// SetRequestId sets the RequestId field's value. -func (s *DeleteAnalysisOutput) SetRequestId(v string) *DeleteAnalysisOutput { - s.RequestId = &v +// SetType sets the Type field's value. +func (s *MaximumMinimumComputation) SetType(v string) *MaximumMinimumComputation { + s.Type = &v return s } -// SetStatus sets the Status field's value. -func (s *DeleteAnalysisOutput) SetStatus(v int64) *DeleteAnalysisOutput { - s.Status = &v +// SetValue sets the Value field's value. +func (s *MaximumMinimumComputation) SetValue(v *MeasureField) *MaximumMinimumComputation { + s.Value = v return s } -type DeleteDashboardInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// The measure (metric) type field. +type MeasureField struct { + _ struct{} `type:"structure"` - // The ID of the Amazon Web Services account that contains the dashboard that - // you're deleting. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // The calculated measure field only used in pivot tables. + CalculatedMeasureField *CalculatedMeasureField `type:"structure"` - // The ID for the dashboard. - // - // DashboardId is a required field - DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"` + // The measure type field with categorical type columns. + CategoricalMeasureField *CategoricalMeasureField `type:"structure"` - // The version number of the dashboard. If the version number property is provided, - // only the specified version of the dashboard is deleted. - VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"` + // The measure type field with date type columns. + DateMeasureField *DateMeasureField `type:"structure"` + + // The measure type field with numerical type columns. + NumericalMeasureField *NumericalMeasureField `type:"structure"` } // String returns the string representation. @@ -22642,7 +54173,7 @@ type DeleteDashboardInput struct { // 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 DeleteDashboardInput) String() string { +func (s MeasureField) String() string { return awsutil.Prettify(s) } @@ -22651,27 +54182,32 @@ func (s DeleteDashboardInput) String() string { // 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 DeleteDashboardInput) GoString() string { +func (s MeasureField) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteDashboardInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteDashboardInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) +func (s *MeasureField) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "MeasureField"} + if s.CalculatedMeasureField != nil { + if err := s.CalculatedMeasureField.Validate(); err != nil { + invalidParams.AddNested("CalculatedMeasureField", err.(request.ErrInvalidParams)) + } } - if s.DashboardId == nil { - invalidParams.Add(request.NewErrParamRequired("DashboardId")) + if s.CategoricalMeasureField != nil { + if err := s.CategoricalMeasureField.Validate(); err != nil { + invalidParams.AddNested("CategoricalMeasureField", err.(request.ErrInvalidParams)) + } } - if s.DashboardId != nil && len(*s.DashboardId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1)) + if s.DateMeasureField != nil { + if err := s.DateMeasureField.Validate(); err != nil { + invalidParams.AddNested("DateMeasureField", err.(request.ErrInvalidParams)) + } } - if s.VersionNumber != nil && *s.VersionNumber < 1 { - invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1)) + if s.NumericalMeasureField != nil { + if err := s.NumericalMeasureField.Validate(); err != nil { + invalidParams.AddNested("NumericalMeasureField", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -22680,38 +54216,40 @@ func (s *DeleteDashboardInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DeleteDashboardInput) SetAwsAccountId(v string) *DeleteDashboardInput { - s.AwsAccountId = &v +// SetCalculatedMeasureField sets the CalculatedMeasureField field's value. +func (s *MeasureField) SetCalculatedMeasureField(v *CalculatedMeasureField) *MeasureField { + s.CalculatedMeasureField = v return s } -// SetDashboardId sets the DashboardId field's value. -func (s *DeleteDashboardInput) SetDashboardId(v string) *DeleteDashboardInput { - s.DashboardId = &v +// SetCategoricalMeasureField sets the CategoricalMeasureField field's value. +func (s *MeasureField) SetCategoricalMeasureField(v *CategoricalMeasureField) *MeasureField { + s.CategoricalMeasureField = v return s } -// SetVersionNumber sets the VersionNumber field's value. -func (s *DeleteDashboardInput) SetVersionNumber(v int64) *DeleteDashboardInput { - s.VersionNumber = &v +// SetDateMeasureField sets the DateMeasureField field's value. +func (s *MeasureField) SetDateMeasureField(v *DateMeasureField) *MeasureField { + s.DateMeasureField = v return s } -type DeleteDashboardOutput struct { - _ struct{} `type:"structure"` - - // The Secure Socket Layer (SSL) properties that apply for the resource. - Arn *string `type:"string"` +// SetNumericalMeasureField sets the NumericalMeasureField field's value. +func (s *MeasureField) SetNumericalMeasureField(v *NumericalMeasureField) *MeasureField { + s.NumericalMeasureField = v + return s +} - // The ID of the dashboard. - DashboardId *string `min:"1" type:"string"` +// An object that consists of a member Amazon Resource Name (ARN) and a member +// ID. +type MemberIdArnPair struct { + _ struct{} `type:"structure"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The Amazon Resource Name (ARN) of the member. + MemberArn *string `type:"string"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The ID of the member. + MemberId *string `min:"1" type:"string"` } // String returns the string representation. @@ -22719,7 +54257,7 @@ type DeleteDashboardOutput struct { // 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 DeleteDashboardOutput) String() string { +func (s MemberIdArnPair) String() string { return awsutil.Prettify(s) } @@ -22728,47 +54266,48 @@ func (s DeleteDashboardOutput) String() string { // 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 DeleteDashboardOutput) GoString() string { +func (s MemberIdArnPair) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *DeleteDashboardOutput) SetArn(v string) *DeleteDashboardOutput { - s.Arn = &v +// SetMemberArn sets the MemberArn field's value. +func (s *MemberIdArnPair) SetMemberArn(v string) *MemberIdArnPair { + s.MemberArn = &v return s } -// SetDashboardId sets the DashboardId field's value. -func (s *DeleteDashboardOutput) SetDashboardId(v string) *DeleteDashboardOutput { - s.DashboardId = &v +// SetMemberId sets the MemberId field's value. +func (s *MemberIdArnPair) SetMemberId(v string) *MemberIdArnPair { + s.MemberId = &v return s } -// SetRequestId sets the RequestId field's value. -func (s *DeleteDashboardOutput) SetRequestId(v string) *DeleteDashboardOutput { - s.RequestId = &v - return s -} +// The metric comparison computation configuration. +type MetricComparisonComputation struct { + _ struct{} `type:"structure"` -// SetStatus sets the Status field's value. -func (s *DeleteDashboardOutput) SetStatus(v int64) *DeleteDashboardOutput { - s.Status = &v - return s -} + // The ID for a computation. + // + // ComputationId is a required field + ComputationId *string `min:"1" type:"string" required:"true"` -type DeleteDataSetInput struct { - _ struct{} `type:"structure" nopayload:"true"` + // The field that is used in a metric comparison from value setup. + // + // FromValue is a required field + FromValue *MeasureField `type:"structure" required:"true"` - // The Amazon Web Services account ID. + // The name of a computation. + Name *string `type:"string"` + + // The field that is used in a metric comparison to value setup. // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // TargetValue is a required field + TargetValue *MeasureField `type:"structure" required:"true"` - // The ID for the dataset that you want to create. This ID is unique per Amazon - // Web Services Region for each Amazon Web Services account. + // The time field that is used in a computation. // - // DataSetId is a required field - DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"` + // Time is a required field + Time *DimensionField `type:"structure" required:"true"` } // String returns the string representation. @@ -22776,7 +54315,7 @@ type DeleteDataSetInput struct { // 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 DeleteDataSetInput) String() string { +func (s MetricComparisonComputation) String() string { return awsutil.Prettify(s) } @@ -22785,24 +54324,42 @@ func (s DeleteDataSetInput) String() string { // 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 DeleteDataSetInput) GoString() string { +func (s MetricComparisonComputation) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteDataSetInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteDataSetInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) +func (s *MetricComparisonComputation) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "MetricComparisonComputation"} + if s.ComputationId == nil { + invalidParams.Add(request.NewErrParamRequired("ComputationId")) } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + if s.ComputationId != nil && len(*s.ComputationId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ComputationId", 1)) } - if s.DataSetId == nil { - invalidParams.Add(request.NewErrParamRequired("DataSetId")) + if s.FromValue == nil { + invalidParams.Add(request.NewErrParamRequired("FromValue")) } - if s.DataSetId != nil && len(*s.DataSetId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1)) + if s.TargetValue == nil { + invalidParams.Add(request.NewErrParamRequired("TargetValue")) + } + if s.Time == nil { + invalidParams.Add(request.NewErrParamRequired("Time")) + } + if s.FromValue != nil { + if err := s.FromValue.Validate(); err != nil { + invalidParams.AddNested("FromValue", err.(request.ErrInvalidParams)) + } + } + if s.TargetValue != nil { + if err := s.TargetValue.Validate(); err != nil { + invalidParams.AddNested("TargetValue", err.(request.ErrInvalidParams)) + } + } + if s.Time != nil { + if err := s.Time.Validate(); err != nil { + invalidParams.AddNested("Time", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -22811,33 +54368,42 @@ func (s *DeleteDataSetInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DeleteDataSetInput) SetAwsAccountId(v string) *DeleteDataSetInput { - s.AwsAccountId = &v +// SetComputationId sets the ComputationId field's value. +func (s *MetricComparisonComputation) SetComputationId(v string) *MetricComparisonComputation { + s.ComputationId = &v return s } -// SetDataSetId sets the DataSetId field's value. -func (s *DeleteDataSetInput) SetDataSetId(v string) *DeleteDataSetInput { - s.DataSetId = &v +// SetFromValue sets the FromValue field's value. +func (s *MetricComparisonComputation) SetFromValue(v *MeasureField) *MetricComparisonComputation { + s.FromValue = v return s } -type DeleteDataSetOutput struct { - _ struct{} `type:"structure"` +// SetName sets the Name field's value. +func (s *MetricComparisonComputation) SetName(v string) *MetricComparisonComputation { + s.Name = &v + return s +} - // The Amazon Resource Name (ARN) of the dataset. - Arn *string `type:"string"` +// SetTargetValue sets the TargetValue field's value. +func (s *MetricComparisonComputation) SetTargetValue(v *MeasureField) *MetricComparisonComputation { + s.TargetValue = v + return s +} - // The ID for the dataset that you want to create. This ID is unique per Amazon - // Web Services Region for each Amazon Web Services account. - DataSetId *string `type:"string"` +// SetTime sets the Time field's value. +func (s *MetricComparisonComputation) SetTime(v *DimensionField) *MetricComparisonComputation { + s.Time = v + return s +} - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` +// The minimum label of a data path label. +type MinimumLabelType struct { + _ struct{} `type:"structure"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The visibility of the minimum label. + Visibility *string `type:"string" enum:"Visibility"` } // String returns the string representation. @@ -22845,7 +54411,7 @@ type DeleteDataSetOutput struct { // 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 DeleteDataSetOutput) String() string { +func (s MinimumLabelType) String() string { return awsutil.Prettify(s) } @@ -22854,47 +54420,31 @@ func (s DeleteDataSetOutput) String() string { // 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 DeleteDataSetOutput) GoString() string { +func (s MinimumLabelType) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *DeleteDataSetOutput) SetArn(v string) *DeleteDataSetOutput { - s.Arn = &v - return s -} - -// SetDataSetId sets the DataSetId field's value. -func (s *DeleteDataSetOutput) SetDataSetId(v string) *DeleteDataSetOutput { - s.DataSetId = &v - return s -} - -// SetRequestId sets the RequestId field's value. -func (s *DeleteDataSetOutput) SetRequestId(v string) *DeleteDataSetOutput { - s.RequestId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *DeleteDataSetOutput) SetStatus(v int64) *DeleteDataSetOutput { - s.Status = &v +// SetVisibility sets the Visibility field's value. +func (s *MinimumLabelType) SetVisibility(v string) *MinimumLabelType { + s.Visibility = &v return s } -type DeleteDataSourceInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// The configuration options that determine how missing data is treated during +// the rendering of a line chart. +type MissingDataConfiguration struct { + _ struct{} `type:"structure"` - // The Amazon Web Services account ID. + // The treatment option that determines how missing data should be rendered. + // Choose from the following options: // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - - // The ID of the data source. This ID is unique per Amazon Web Services Region - // for each Amazon Web Services account. + // * INTERPOLATE: Interpolate missing values between the prior and the next + // known value. // - // DataSourceId is a required field - DataSourceId *string `location:"uri" locationName:"DataSourceId" type:"string" required:"true"` + // * SHOW_AS_ZERO: Show missing values as the value 0. + // + // * SHOW_AS_BLANK: Display a blank space when rendering missing data. + TreatmentOption *string `type:"string" enum:"MissingDataTreatmentOption"` } // String returns the string representation. @@ -22902,7 +54452,7 @@ type DeleteDataSourceInput struct { // 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 DeleteDataSourceInput) String() string { +func (s MissingDataConfiguration) String() string { return awsutil.Prettify(s) } @@ -22911,59 +54461,34 @@ func (s DeleteDataSourceInput) String() string { // 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 DeleteDataSourceInput) GoString() string { +func (s MissingDataConfiguration) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteDataSourceInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteDataSourceInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.DataSourceId == nil { - invalidParams.Add(request.NewErrParamRequired("DataSourceId")) - } - if s.DataSourceId != nil && len(*s.DataSourceId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DataSourceId", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DeleteDataSourceInput) SetAwsAccountId(v string) *DeleteDataSourceInput { - s.AwsAccountId = &v - return s -} - -// SetDataSourceId sets the DataSourceId field's value. -func (s *DeleteDataSourceInput) SetDataSourceId(v string) *DeleteDataSourceInput { - s.DataSourceId = &v +// SetTreatmentOption sets the TreatmentOption field's value. +func (s *MissingDataConfiguration) SetTreatmentOption(v string) *MissingDataConfiguration { + s.TreatmentOption = &v return s } -type DeleteDataSourceOutput struct { +// The parameters for MySQL. +type MySqlParameters struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the data source that you deleted. - Arn *string `type:"string"` - - // The ID of the data source. This ID is unique per Amazon Web Services Region - // for each Amazon Web Services account. - DataSourceId *string `type:"string"` + // Database. + // + // Database is a required field + Database *string `min:"1" type:"string" required:"true"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // Host. + // + // Host is a required field + Host *string `min:"1" type:"string" required:"true"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // Port. + // + // Port is a required field + Port *int64 `min:"1" type:"integer" required:"true"` } // String returns the string representation. @@ -22971,7 +54496,7 @@ type DeleteDataSourceOutput struct { // 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 DeleteDataSourceOutput) String() string { +func (s MySqlParameters) String() string { return awsutil.Prettify(s) } @@ -22980,46 +54505,65 @@ func (s DeleteDataSourceOutput) String() string { // 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 DeleteDataSourceOutput) GoString() string { +func (s MySqlParameters) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *DeleteDataSourceOutput) SetArn(v string) *DeleteDataSourceOutput { - s.Arn = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *MySqlParameters) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "MySqlParameters"} + if s.Database == nil { + invalidParams.Add(request.NewErrParamRequired("Database")) + } + if s.Database != nil && len(*s.Database) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Database", 1)) + } + if s.Host == nil { + invalidParams.Add(request.NewErrParamRequired("Host")) + } + if s.Host != nil && len(*s.Host) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Host", 1)) + } + if s.Port == nil { + invalidParams.Add(request.NewErrParamRequired("Port")) + } + if s.Port != nil && *s.Port < 1 { + invalidParams.Add(request.NewErrParamMinValue("Port", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetDataSourceId sets the DataSourceId field's value. -func (s *DeleteDataSourceOutput) SetDataSourceId(v string) *DeleteDataSourceOutput { - s.DataSourceId = &v +// SetDatabase sets the Database field's value. +func (s *MySqlParameters) SetDatabase(v string) *MySqlParameters { + s.Database = &v return s } -// SetRequestId sets the RequestId field's value. -func (s *DeleteDataSourceOutput) SetRequestId(v string) *DeleteDataSourceOutput { - s.RequestId = &v +// SetHost sets the Host field's value. +func (s *MySqlParameters) SetHost(v string) *MySqlParameters { + s.Host = &v return s } -// SetStatus sets the Status field's value. -func (s *DeleteDataSourceOutput) SetStatus(v int64) *DeleteDataSourceOutput { - s.Status = &v +// SetPort sets the Port field's value. +func (s *MySqlParameters) SetPort(v int64) *MySqlParameters { + s.Port = &v return s } -type DeleteFolderInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// Errors that occur during namespace creation. +type NamespaceError struct { + _ struct{} `type:"structure"` - // The ID for the Amazon Web Services account that contains the folder. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // The message for the error. + Message *string `type:"string"` - // The ID of the folder. - // - // FolderId is a required field - FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"` + // The error type. + Type *string `type:"string" enum:"NamespaceErrorType"` } // String returns the string representation. @@ -23027,7 +54571,7 @@ type DeleteFolderInput struct { // 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 DeleteFolderInput) String() string { +func (s NamespaceError) String() string { return awsutil.Prettify(s) } @@ -23036,67 +54580,43 @@ func (s DeleteFolderInput) String() string { // 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 DeleteFolderInput) GoString() string { +func (s NamespaceError) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteFolderInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteFolderInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.FolderId == nil { - invalidParams.Add(request.NewErrParamRequired("FolderId")) - } - if s.FolderId != nil && len(*s.FolderId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("FolderId", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DeleteFolderInput) SetAwsAccountId(v string) *DeleteFolderInput { - s.AwsAccountId = &v +// SetMessage sets the Message field's value. +func (s *NamespaceError) SetMessage(v string) *NamespaceError { + s.Message = &v return s } -// SetFolderId sets the FolderId field's value. -func (s *DeleteFolderInput) SetFolderId(v string) *DeleteFolderInput { - s.FolderId = &v +// SetType sets the Type field's value. +func (s *NamespaceError) SetType(v string) *NamespaceError { + s.Type = &v return s } -type DeleteFolderMembershipInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// The error type. +type NamespaceInfoV2 struct { + _ struct{} `type:"structure"` - // The ID for the Amazon Web Services account that contains the folder. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // The namespace ARN. + Arn *string `type:"string"` - // The Folder ID. - // - // FolderId is a required field - FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"` + // The namespace Amazon Web Services Region. + CapacityRegion *string `type:"string"` - // The ID of the asset (the dashboard, analysis, or dataset) that you want to - // delete. - // - // MemberId is a required field - MemberId *string `location:"uri" locationName:"MemberId" min:"1" type:"string" required:"true"` + // The creation status of a namespace that is not yet completely created. + CreationStatus *string `type:"string" enum:"NamespaceStatus"` - // The type of the member, including DASHBOARD, ANALYSIS, and DATASET - // - // MemberType is a required field - MemberType *string `location:"uri" locationName:"MemberType" type:"string" required:"true" enum:"MemberType"` + // The identity store used for the namespace. + IdentityStore *string `type:"string" enum:"IdentityStore"` + + // The name of the error. + Name *string `type:"string"` + + // An error that occurred when the namespace was created. + NamespaceError *NamespaceError `type:"structure"` } // String returns the string representation. @@ -23104,7 +54624,7 @@ type DeleteFolderMembershipInput struct { // 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 DeleteFolderMembershipInput) String() string { +func (s NamespaceInfoV2) String() string { return awsutil.Prettify(s) } @@ -23113,76 +54633,54 @@ func (s DeleteFolderMembershipInput) String() string { // 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 DeleteFolderMembershipInput) GoString() string { +func (s NamespaceInfoV2) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteFolderMembershipInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteFolderMembershipInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.FolderId == nil { - invalidParams.Add(request.NewErrParamRequired("FolderId")) - } - if s.FolderId != nil && len(*s.FolderId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("FolderId", 1)) - } - if s.MemberId == nil { - invalidParams.Add(request.NewErrParamRequired("MemberId")) - } - if s.MemberId != nil && len(*s.MemberId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("MemberId", 1)) - } - if s.MemberType == nil { - invalidParams.Add(request.NewErrParamRequired("MemberType")) - } - if s.MemberType != nil && len(*s.MemberType) < 1 { - invalidParams.Add(request.NewErrParamMinLen("MemberType", 1)) - } +// SetArn sets the Arn field's value. +func (s *NamespaceInfoV2) SetArn(v string) *NamespaceInfoV2 { + s.Arn = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetCapacityRegion sets the CapacityRegion field's value. +func (s *NamespaceInfoV2) SetCapacityRegion(v string) *NamespaceInfoV2 { + s.CapacityRegion = &v + return s } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DeleteFolderMembershipInput) SetAwsAccountId(v string) *DeleteFolderMembershipInput { - s.AwsAccountId = &v +// SetCreationStatus sets the CreationStatus field's value. +func (s *NamespaceInfoV2) SetCreationStatus(v string) *NamespaceInfoV2 { + s.CreationStatus = &v return s } -// SetFolderId sets the FolderId field's value. -func (s *DeleteFolderMembershipInput) SetFolderId(v string) *DeleteFolderMembershipInput { - s.FolderId = &v +// SetIdentityStore sets the IdentityStore field's value. +func (s *NamespaceInfoV2) SetIdentityStore(v string) *NamespaceInfoV2 { + s.IdentityStore = &v return s } -// SetMemberId sets the MemberId field's value. -func (s *DeleteFolderMembershipInput) SetMemberId(v string) *DeleteFolderMembershipInput { - s.MemberId = &v +// SetName sets the Name field's value. +func (s *NamespaceInfoV2) SetName(v string) *NamespaceInfoV2 { + s.Name = &v return s } -// SetMemberType sets the MemberType field's value. -func (s *DeleteFolderMembershipInput) SetMemberType(v string) *DeleteFolderMembershipInput { - s.MemberType = &v +// SetNamespaceError sets the NamespaceError field's value. +func (s *NamespaceInfoV2) SetNamespaceError(v *NamespaceError) *NamespaceInfoV2 { + s.NamespaceError = v return s } -type DeleteFolderMembershipOutput struct { +// The options that determine the negative value configuration. +type NegativeValueConfiguration struct { _ struct{} `type:"structure"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` - - // The HTTP status of the request. - Status *int64 `type:"integer"` + // Determines the display mode of the negative value configuration. + // + // DisplayMode is a required field + DisplayMode *string `type:"string" required:"true" enum:"NegativeValueDisplayMode"` } // String returns the string representation. @@ -23190,7 +54688,7 @@ type DeleteFolderMembershipOutput struct { // 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 DeleteFolderMembershipOutput) String() string { +func (s NegativeValueConfiguration) String() string { return awsutil.Prettify(s) } @@ -23199,36 +54697,41 @@ func (s DeleteFolderMembershipOutput) String() string { // 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 DeleteFolderMembershipOutput) GoString() string { +func (s NegativeValueConfiguration) GoString() string { return s.String() } -// SetRequestId sets the RequestId field's value. -func (s *DeleteFolderMembershipOutput) SetRequestId(v string) *DeleteFolderMembershipOutput { - s.RequestId = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *NegativeValueConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "NegativeValueConfiguration"} + if s.DisplayMode == nil { + invalidParams.Add(request.NewErrParamRequired("DisplayMode")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetStatus sets the Status field's value. -func (s *DeleteFolderMembershipOutput) SetStatus(v int64) *DeleteFolderMembershipOutput { - s.Status = &v +// SetDisplayMode sets the DisplayMode field's value. +func (s *NegativeValueConfiguration) SetDisplayMode(v string) *NegativeValueConfiguration { + s.DisplayMode = &v return s } -type DeleteFolderOutput struct { +// The options that determine the null value format configuration. +type NullValueFormatConfiguration struct { _ struct{} `type:"structure"` - // The Amazon Resource Name of the deleted folder. - Arn *string `type:"string"` - - // The ID of the folder. - FolderId *string `min:"1" type:"string"` - - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` - - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // Determines the null string of null values. + // + // NullString is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by NullValueFormatConfiguration's + // String and GoString methods. + // + // NullString is a required field + NullString *string `min:"1" type:"string" required:"true" sensitive:"true"` } // String returns the string representation. @@ -23236,7 +54739,7 @@ type DeleteFolderOutput struct { // 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 DeleteFolderOutput) String() string { +func (s NullValueFormatConfiguration) String() string { return awsutil.Prettify(s) } @@ -23245,53 +54748,64 @@ func (s DeleteFolderOutput) String() string { // 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 DeleteFolderOutput) GoString() string { +func (s NullValueFormatConfiguration) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *DeleteFolderOutput) SetArn(v string) *DeleteFolderOutput { - s.Arn = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *NullValueFormatConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "NullValueFormatConfiguration"} + if s.NullString == nil { + invalidParams.Add(request.NewErrParamRequired("NullString")) + } + if s.NullString != nil && len(*s.NullString) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NullString", 1)) + } -// SetFolderId sets the FolderId field's value. -func (s *DeleteFolderOutput) SetFolderId(v string) *DeleteFolderOutput { - s.FolderId = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetRequestId sets the RequestId field's value. -func (s *DeleteFolderOutput) SetRequestId(v string) *DeleteFolderOutput { - s.RequestId = &v +// SetNullString sets the NullString field's value. +func (s *NullValueFormatConfiguration) SetNullString(v string) *NullValueFormatConfiguration { + s.NullString = &v return s } -// SetStatus sets the Status field's value. -func (s *DeleteFolderOutput) SetStatus(v int64) *DeleteFolderOutput { - s.Status = &v - return s -} +// The options that determine the number display format configuration. +type NumberDisplayFormatConfiguration struct { + _ struct{} `type:"structure"` -type DeleteGroupInput struct { - _ struct{} `type:"structure" nopayload:"true"` + // The option that determines the decimal places configuration. + DecimalPlacesConfiguration *DecimalPlacesConfiguration `type:"structure"` - // The ID for the Amazon Web Services account that the group is in. Currently, - // you use the ID for the Amazon Web Services account that contains your Amazon - // QuickSight account. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // The options that determine the negative value configuration. + NegativeValueConfiguration *NegativeValueConfiguration `type:"structure"` - // The name of the group that you want to delete. + // The options that determine the null value format configuration. + NullValueFormatConfiguration *NullValueFormatConfiguration `type:"structure"` + + // Determines the number scale value of the number format. + NumberScale *string `type:"string" enum:"NumberScale"` + + // Determines the prefix value of the number format. // - // GroupName is a required field - GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"` + // Prefix is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by NumberDisplayFormatConfiguration's + // String and GoString methods. + Prefix *string `min:"1" type:"string" sensitive:"true"` - // The namespace of the group that you want to delete. + // The options that determine the numeric separator configuration. + SeparatorConfiguration *NumericSeparatorConfiguration `type:"structure"` + + // Determines the suffix value of the number format. // - // Namespace is a required field - Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` + // Suffix is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by NumberDisplayFormatConfiguration's + // String and GoString methods. + Suffix *string `min:"1" type:"string" sensitive:"true"` } // String returns the string representation. @@ -23299,7 +54813,7 @@ type DeleteGroupInput struct { // 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 DeleteGroupInput) String() string { +func (s NumberDisplayFormatConfiguration) String() string { return awsutil.Prettify(s) } @@ -23308,30 +54822,33 @@ func (s DeleteGroupInput) String() string { // 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 DeleteGroupInput) GoString() string { +func (s NumberDisplayFormatConfiguration) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteGroupInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteGroupInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) +func (s *NumberDisplayFormatConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "NumberDisplayFormatConfiguration"} + if s.Prefix != nil && len(*s.Prefix) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Prefix", 1)) } - if s.GroupName == nil { - invalidParams.Add(request.NewErrParamRequired("GroupName")) + if s.Suffix != nil && len(*s.Suffix) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Suffix", 1)) } - if s.GroupName != nil && len(*s.GroupName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("GroupName", 1)) + if s.DecimalPlacesConfiguration != nil { + if err := s.DecimalPlacesConfiguration.Validate(); err != nil { + invalidParams.AddNested("DecimalPlacesConfiguration", err.(request.ErrInvalidParams)) + } } - if s.Namespace == nil { - invalidParams.Add(request.NewErrParamRequired("Namespace")) + if s.NegativeValueConfiguration != nil { + if err := s.NegativeValueConfiguration.Validate(); err != nil { + invalidParams.AddNested("NegativeValueConfiguration", err.(request.ErrInvalidParams)) + } } - if s.Namespace != nil && len(*s.Namespace) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + if s.NullValueFormatConfiguration != nil { + if err := s.NullValueFormatConfiguration.Validate(); err != nil { + invalidParams.AddNested("NullValueFormatConfiguration", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -23340,48 +54857,54 @@ func (s *DeleteGroupInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DeleteGroupInput) SetAwsAccountId(v string) *DeleteGroupInput { - s.AwsAccountId = &v +// SetDecimalPlacesConfiguration sets the DecimalPlacesConfiguration field's value. +func (s *NumberDisplayFormatConfiguration) SetDecimalPlacesConfiguration(v *DecimalPlacesConfiguration) *NumberDisplayFormatConfiguration { + s.DecimalPlacesConfiguration = v return s } -// SetGroupName sets the GroupName field's value. -func (s *DeleteGroupInput) SetGroupName(v string) *DeleteGroupInput { - s.GroupName = &v +// SetNegativeValueConfiguration sets the NegativeValueConfiguration field's value. +func (s *NumberDisplayFormatConfiguration) SetNegativeValueConfiguration(v *NegativeValueConfiguration) *NumberDisplayFormatConfiguration { + s.NegativeValueConfiguration = v return s } -// SetNamespace sets the Namespace field's value. -func (s *DeleteGroupInput) SetNamespace(v string) *DeleteGroupInput { - s.Namespace = &v +// SetNullValueFormatConfiguration sets the NullValueFormatConfiguration field's value. +func (s *NumberDisplayFormatConfiguration) SetNullValueFormatConfiguration(v *NullValueFormatConfiguration) *NumberDisplayFormatConfiguration { + s.NullValueFormatConfiguration = v return s } -type DeleteGroupMembershipInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// SetNumberScale sets the NumberScale field's value. +func (s *NumberDisplayFormatConfiguration) SetNumberScale(v string) *NumberDisplayFormatConfiguration { + s.NumberScale = &v + return s +} - // The ID for the Amazon Web Services account that the group is in. Currently, - // you use the ID for the Amazon Web Services account that contains your Amazon - // QuickSight account. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` +// SetPrefix sets the Prefix field's value. +func (s *NumberDisplayFormatConfiguration) SetPrefix(v string) *NumberDisplayFormatConfiguration { + s.Prefix = &v + return s +} - // The name of the group that you want to delete the user from. - // - // GroupName is a required field - GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"` +// SetSeparatorConfiguration sets the SeparatorConfiguration field's value. +func (s *NumberDisplayFormatConfiguration) SetSeparatorConfiguration(v *NumericSeparatorConfiguration) *NumberDisplayFormatConfiguration { + s.SeparatorConfiguration = v + return s +} - // The name of the user that you want to delete from the group membership. - // - // MemberName is a required field - MemberName *string `location:"uri" locationName:"MemberName" min:"1" type:"string" required:"true"` +// SetSuffix sets the Suffix field's value. +func (s *NumberDisplayFormatConfiguration) SetSuffix(v string) *NumberDisplayFormatConfiguration { + s.Suffix = &v + return s +} - // The namespace of the group that you want to remove a user from. - // - // Namespace is a required field - Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` +// Formatting configuration for number fields. +type NumberFormatConfiguration struct { + _ struct{} `type:"structure"` + + // The options that determine the numeric format configuration. + FormatConfiguration *NumericFormatConfiguration `type:"structure"` } // String returns the string representation. @@ -23389,7 +54912,7 @@ type DeleteGroupMembershipInput struct { // 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 DeleteGroupMembershipInput) String() string { +func (s NumberFormatConfiguration) String() string { return awsutil.Prettify(s) } @@ -23398,36 +54921,17 @@ func (s DeleteGroupMembershipInput) String() string { // 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 DeleteGroupMembershipInput) GoString() string { +func (s NumberFormatConfiguration) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteGroupMembershipInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteGroupMembershipInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.GroupName == nil { - invalidParams.Add(request.NewErrParamRequired("GroupName")) - } - if s.GroupName != nil && len(*s.GroupName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("GroupName", 1)) - } - if s.MemberName == nil { - invalidParams.Add(request.NewErrParamRequired("MemberName")) - } - if s.MemberName != nil && len(*s.MemberName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("MemberName", 1)) - } - if s.Namespace == nil { - invalidParams.Add(request.NewErrParamRequired("Namespace")) - } - if s.Namespace != nil && len(*s.Namespace) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) +func (s *NumberFormatConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "NumberFormatConfiguration"} + if s.FormatConfiguration != nil { + if err := s.FormatConfiguration.Validate(); err != nil { + invalidParams.AddNested("FormatConfiguration", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -23436,38 +54940,21 @@ func (s *DeleteGroupMembershipInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DeleteGroupMembershipInput) SetAwsAccountId(v string) *DeleteGroupMembershipInput { - s.AwsAccountId = &v - return s -} - -// SetGroupName sets the GroupName field's value. -func (s *DeleteGroupMembershipInput) SetGroupName(v string) *DeleteGroupMembershipInput { - s.GroupName = &v - return s -} - -// SetMemberName sets the MemberName field's value. -func (s *DeleteGroupMembershipInput) SetMemberName(v string) *DeleteGroupMembershipInput { - s.MemberName = &v - return s -} - -// SetNamespace sets the Namespace field's value. -func (s *DeleteGroupMembershipInput) SetNamespace(v string) *DeleteGroupMembershipInput { - s.Namespace = &v +// SetFormatConfiguration sets the FormatConfiguration field's value. +func (s *NumberFormatConfiguration) SetFormatConfiguration(v *NumericFormatConfiguration) *NumberFormatConfiguration { + s.FormatConfiguration = v return s } -type DeleteGroupMembershipOutput struct { +// The options for an axis with a numeric field. +type NumericAxisOptions struct { _ struct{} `type:"structure"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The range setup of a numeric axis. + Range *AxisDisplayRange `type:"structure"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The scale setup of a numeric axis. + Scale *AxisScale `type:"structure"` } // String returns the string representation. @@ -23475,7 +54962,7 @@ type DeleteGroupMembershipOutput struct { // 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 DeleteGroupMembershipOutput) String() string { +func (s NumericAxisOptions) String() string { return awsutil.Prettify(s) } @@ -23484,30 +54971,35 @@ func (s DeleteGroupMembershipOutput) String() string { // 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 DeleteGroupMembershipOutput) GoString() string { +func (s NumericAxisOptions) GoString() string { return s.String() } -// SetRequestId sets the RequestId field's value. -func (s *DeleteGroupMembershipOutput) SetRequestId(v string) *DeleteGroupMembershipOutput { - s.RequestId = &v +// SetRange sets the Range field's value. +func (s *NumericAxisOptions) SetRange(v *AxisDisplayRange) *NumericAxisOptions { + s.Range = v return s } -// SetStatus sets the Status field's value. -func (s *DeleteGroupMembershipOutput) SetStatus(v int64) *DeleteGroupMembershipOutput { - s.Status = &v +// SetScale sets the Scale field's value. +func (s *NumericAxisOptions) SetScale(v *AxisScale) *NumericAxisOptions { + s.Scale = v return s } -type DeleteGroupOutput struct { +// The category drill down filter. +type NumericEqualityDrillDownFilter struct { _ struct{} `type:"structure"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The column that the filter is applied to. + // + // Column is a required field + Column *ColumnIdentifier `type:"structure" required:"true"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The value of the double input numeric drill down filter. + // + // Value is a required field + Value *float64 `type:"double" required:"true"` } // String returns the string representation. @@ -23515,7 +55007,7 @@ type DeleteGroupOutput struct { // 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 DeleteGroupOutput) String() string { +func (s NumericEqualityDrillDownFilter) String() string { return awsutil.Prettify(s) } @@ -23524,40 +55016,87 @@ func (s DeleteGroupOutput) String() string { // 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 DeleteGroupOutput) GoString() string { +func (s NumericEqualityDrillDownFilter) GoString() string { return s.String() } -// SetRequestId sets the RequestId field's value. -func (s *DeleteGroupOutput) SetRequestId(v string) *DeleteGroupOutput { - s.RequestId = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *NumericEqualityDrillDownFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "NumericEqualityDrillDownFilter"} + if s.Column == nil { + invalidParams.Add(request.NewErrParamRequired("Column")) + } + if s.Value == nil { + invalidParams.Add(request.NewErrParamRequired("Value")) + } + if s.Column != nil { + if err := s.Column.Validate(); err != nil { + invalidParams.AddNested("Column", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetColumn sets the Column field's value. +func (s *NumericEqualityDrillDownFilter) SetColumn(v *ColumnIdentifier) *NumericEqualityDrillDownFilter { + s.Column = v return s } -// SetStatus sets the Status field's value. -func (s *DeleteGroupOutput) SetStatus(v int64) *DeleteGroupOutput { - s.Status = &v +// SetValue sets the Value field's value. +func (s *NumericEqualityDrillDownFilter) SetValue(v float64) *NumericEqualityDrillDownFilter { + s.Value = &v return s } -type DeleteIAMPolicyAssignmentInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// A NumericEqualityFilter filters values that are equal to the specified value. +type NumericEqualityFilter struct { + _ struct{} `type:"structure"` - // The name of the assignment. + // The aggregation function of the filter. + AggregationFunction *AggregationFunction `type:"structure"` + + // The column that the filter is applied to. // - // AssignmentName is a required field - AssignmentName *string `location:"uri" locationName:"AssignmentName" min:"1" type:"string" required:"true"` + // Column is a required field + Column *ColumnIdentifier `type:"structure" required:"true"` - // The Amazon Web Services account ID where you want to delete the IAM policy - // assignment. + // An identifier that uniquely identifies a filter within a dashboard, analysis, + // or template. // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // FilterId is a required field + FilterId *string `min:"1" type:"string" required:"true"` - // The namespace that contains the assignment. + // The match operator that is used to determine if a filter should be applied. // - // Namespace is a required field - Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` + // MatchOperator is a required field + MatchOperator *string `type:"string" required:"true" enum:"NumericEqualityMatchOperator"` + + // This option determines how null values should be treated when filtering data. + // + // * ALL_VALUES: Include null values in filtered results. + // + // * NULLS_ONLY: Only include null values in filtered results. + // + // * NON_NULLS_ONLY: Exclude null values from filtered results. + // + // NullOption is a required field + NullOption *string `type:"string" required:"true" enum:"FilterNullOption"` + + // The parameter whose value should be used for the filter value. + ParameterName *string `min:"1" type:"string"` + + // Select all of the values. Null is not the assigned value of select all. + // + // * FILTER_ALL_VALUES + SelectAllOptions *string `type:"string" enum:"NumericFilterSelectAllOptions"` + + // The input value. + Value *float64 `type:"double"` } // String returns the string representation. @@ -23565,7 +55104,7 @@ type DeleteIAMPolicyAssignmentInput struct { // 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 DeleteIAMPolicyAssignmentInput) String() string { +func (s NumericEqualityFilter) String() string { return awsutil.Prettify(s) } @@ -23574,30 +55113,35 @@ func (s DeleteIAMPolicyAssignmentInput) String() string { // 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 DeleteIAMPolicyAssignmentInput) GoString() string { +func (s NumericEqualityFilter) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteIAMPolicyAssignmentInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteIAMPolicyAssignmentInput"} - if s.AssignmentName == nil { - invalidParams.Add(request.NewErrParamRequired("AssignmentName")) +func (s *NumericEqualityFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "NumericEqualityFilter"} + if s.Column == nil { + invalidParams.Add(request.NewErrParamRequired("Column")) } - if s.AssignmentName != nil && len(*s.AssignmentName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("AssignmentName", 1)) + if s.FilterId == nil { + invalidParams.Add(request.NewErrParamRequired("FilterId")) } - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + if s.FilterId != nil && len(*s.FilterId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FilterId", 1)) } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + if s.MatchOperator == nil { + invalidParams.Add(request.NewErrParamRequired("MatchOperator")) } - if s.Namespace == nil { - invalidParams.Add(request.NewErrParamRequired("Namespace")) + if s.NullOption == nil { + invalidParams.Add(request.NewErrParamRequired("NullOption")) } - if s.Namespace != nil && len(*s.Namespace) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + if s.ParameterName != nil && len(*s.ParameterName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ParameterName", 1)) + } + if s.Column != nil { + if err := s.Column.Validate(); err != nil { + invalidParams.AddNested("Column", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -23606,35 +55150,69 @@ func (s *DeleteIAMPolicyAssignmentInput) Validate() error { return nil } -// SetAssignmentName sets the AssignmentName field's value. -func (s *DeleteIAMPolicyAssignmentInput) SetAssignmentName(v string) *DeleteIAMPolicyAssignmentInput { - s.AssignmentName = &v +// SetAggregationFunction sets the AggregationFunction field's value. +func (s *NumericEqualityFilter) SetAggregationFunction(v *AggregationFunction) *NumericEqualityFilter { + s.AggregationFunction = v return s } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DeleteIAMPolicyAssignmentInput) SetAwsAccountId(v string) *DeleteIAMPolicyAssignmentInput { - s.AwsAccountId = &v +// SetColumn sets the Column field's value. +func (s *NumericEqualityFilter) SetColumn(v *ColumnIdentifier) *NumericEqualityFilter { + s.Column = v return s } -// SetNamespace sets the Namespace field's value. -func (s *DeleteIAMPolicyAssignmentInput) SetNamespace(v string) *DeleteIAMPolicyAssignmentInput { - s.Namespace = &v +// SetFilterId sets the FilterId field's value. +func (s *NumericEqualityFilter) SetFilterId(v string) *NumericEqualityFilter { + s.FilterId = &v return s } -type DeleteIAMPolicyAssignmentOutput struct { +// SetMatchOperator sets the MatchOperator field's value. +func (s *NumericEqualityFilter) SetMatchOperator(v string) *NumericEqualityFilter { + s.MatchOperator = &v + return s +} + +// SetNullOption sets the NullOption field's value. +func (s *NumericEqualityFilter) SetNullOption(v string) *NumericEqualityFilter { + s.NullOption = &v + return s +} + +// SetParameterName sets the ParameterName field's value. +func (s *NumericEqualityFilter) SetParameterName(v string) *NumericEqualityFilter { + s.ParameterName = &v + return s +} + +// SetSelectAllOptions sets the SelectAllOptions field's value. +func (s *NumericEqualityFilter) SetSelectAllOptions(v string) *NumericEqualityFilter { + s.SelectAllOptions = &v + return s +} + +// SetValue sets the Value field's value. +func (s *NumericEqualityFilter) SetValue(v float64) *NumericEqualityFilter { + s.Value = &v + return s +} + +// The options that determine the numeric format configuration. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type NumericFormatConfiguration struct { _ struct{} `type:"structure"` - // The name of the assignment. - AssignmentName *string `min:"1" type:"string"` + // The options that determine the currency display format configuration. + CurrencyDisplayFormatConfiguration *CurrencyDisplayFormatConfiguration `type:"structure"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The options that determine the number display format configuration. + NumberDisplayFormatConfiguration *NumberDisplayFormatConfiguration `type:"structure"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The options that determine the percentage display format configuration. + PercentageDisplayFormatConfiguration *PercentageDisplayFormatConfiguration `type:"structure"` } // String returns the string representation. @@ -23642,7 +55220,7 @@ type DeleteIAMPolicyAssignmentOutput struct { // 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 DeleteIAMPolicyAssignmentOutput) String() string { +func (s NumericFormatConfiguration) String() string { return awsutil.Prettify(s) } @@ -23651,41 +55229,100 @@ func (s DeleteIAMPolicyAssignmentOutput) String() string { // 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 DeleteIAMPolicyAssignmentOutput) GoString() string { +func (s NumericFormatConfiguration) GoString() string { return s.String() } -// SetAssignmentName sets the AssignmentName field's value. -func (s *DeleteIAMPolicyAssignmentOutput) SetAssignmentName(v string) *DeleteIAMPolicyAssignmentOutput { - s.AssignmentName = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *NumericFormatConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "NumericFormatConfiguration"} + if s.CurrencyDisplayFormatConfiguration != nil { + if err := s.CurrencyDisplayFormatConfiguration.Validate(); err != nil { + invalidParams.AddNested("CurrencyDisplayFormatConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.NumberDisplayFormatConfiguration != nil { + if err := s.NumberDisplayFormatConfiguration.Validate(); err != nil { + invalidParams.AddNested("NumberDisplayFormatConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.PercentageDisplayFormatConfiguration != nil { + if err := s.PercentageDisplayFormatConfiguration.Validate(); err != nil { + invalidParams.AddNested("PercentageDisplayFormatConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCurrencyDisplayFormatConfiguration sets the CurrencyDisplayFormatConfiguration field's value. +func (s *NumericFormatConfiguration) SetCurrencyDisplayFormatConfiguration(v *CurrencyDisplayFormatConfiguration) *NumericFormatConfiguration { + s.CurrencyDisplayFormatConfiguration = v return s } -// SetRequestId sets the RequestId field's value. -func (s *DeleteIAMPolicyAssignmentOutput) SetRequestId(v string) *DeleteIAMPolicyAssignmentOutput { - s.RequestId = &v +// SetNumberDisplayFormatConfiguration sets the NumberDisplayFormatConfiguration field's value. +func (s *NumericFormatConfiguration) SetNumberDisplayFormatConfiguration(v *NumberDisplayFormatConfiguration) *NumericFormatConfiguration { + s.NumberDisplayFormatConfiguration = v return s } -// SetStatus sets the Status field's value. -func (s *DeleteIAMPolicyAssignmentOutput) SetStatus(v int64) *DeleteIAMPolicyAssignmentOutput { - s.Status = &v +// SetPercentageDisplayFormatConfiguration sets the PercentageDisplayFormatConfiguration field's value. +func (s *NumericFormatConfiguration) SetPercentageDisplayFormatConfiguration(v *PercentageDisplayFormatConfiguration) *NumericFormatConfiguration { + s.PercentageDisplayFormatConfiguration = v return s } -type DeleteNamespaceInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// A NumericRangeFilter filters values that are within the value range. +type NumericRangeFilter struct { + _ struct{} `type:"structure"` - // The ID for the Amazon Web Services account that you want to delete the Amazon - // QuickSight namespace from. + // The aggregation function of the filter. + AggregationFunction *AggregationFunction `type:"structure"` + + // The column that the filter is applied to. // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // Column is a required field + Column *ColumnIdentifier `type:"structure" required:"true"` - // The namespace that you want to delete. + // An identifier that uniquely identifies a filter within a dashboard, analysis, + // or template. // - // Namespace is a required field - Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` + // FilterId is a required field + FilterId *string `min:"1" type:"string" required:"true"` + + // Determines whether the maximum value in the filter value range should be + // included in the filtered results. + IncludeMaximum *bool `type:"boolean"` + + // Determines whether the minimum value in the filter value range should be + // included in the filtered results. + IncludeMinimum *bool `type:"boolean"` + + // This option determines how null values should be treated when filtering data. + // + // * ALL_VALUES: Include null values in filtered results. + // + // * NULLS_ONLY: Only include null values in filtered results. + // + // * NON_NULLS_ONLY: Exclude null values from filtered results. + // + // NullOption is a required field + NullOption *string `type:"string" required:"true" enum:"FilterNullOption"` + + // The maximum value for the filter value range. + RangeMaximum *NumericRangeFilterValue `type:"structure"` + + // The minimum value for the filter value range. + RangeMinimum *NumericRangeFilterValue `type:"structure"` + + // Select all of the values. Null is not the assigned value of select all. + // + // * FILTER_ALL_VALUES + SelectAllOptions *string `type:"string" enum:"NumericFilterSelectAllOptions"` } // String returns the string representation. @@ -23693,7 +55330,7 @@ type DeleteNamespaceInput struct { // 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 DeleteNamespaceInput) String() string { +func (s NumericRangeFilter) String() string { return awsutil.Prettify(s) } @@ -23702,24 +55339,39 @@ func (s DeleteNamespaceInput) String() string { // 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 DeleteNamespaceInput) GoString() string { +func (s NumericRangeFilter) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteNamespaceInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteNamespaceInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) +func (s *NumericRangeFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "NumericRangeFilter"} + if s.Column == nil { + invalidParams.Add(request.NewErrParamRequired("Column")) } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + if s.FilterId == nil { + invalidParams.Add(request.NewErrParamRequired("FilterId")) } - if s.Namespace == nil { - invalidParams.Add(request.NewErrParamRequired("Namespace")) + if s.FilterId != nil && len(*s.FilterId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FilterId", 1)) } - if s.Namespace != nil && len(*s.Namespace) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + if s.NullOption == nil { + invalidParams.Add(request.NewErrParamRequired("NullOption")) + } + if s.Column != nil { + if err := s.Column.Validate(); err != nil { + invalidParams.AddNested("Column", err.(request.ErrInvalidParams)) + } + } + if s.RangeMaximum != nil { + if err := s.RangeMaximum.Validate(); err != nil { + invalidParams.AddNested("RangeMaximum", err.(request.ErrInvalidParams)) + } + } + if s.RangeMinimum != nil { + if err := s.RangeMinimum.Validate(); err != nil { + invalidParams.AddNested("RangeMinimum", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -23728,78 +55380,69 @@ func (s *DeleteNamespaceInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DeleteNamespaceInput) SetAwsAccountId(v string) *DeleteNamespaceInput { - s.AwsAccountId = &v +// SetAggregationFunction sets the AggregationFunction field's value. +func (s *NumericRangeFilter) SetAggregationFunction(v *AggregationFunction) *NumericRangeFilter { + s.AggregationFunction = v return s } -// SetNamespace sets the Namespace field's value. -func (s *DeleteNamespaceInput) SetNamespace(v string) *DeleteNamespaceInput { - s.Namespace = &v +// SetColumn sets the Column field's value. +func (s *NumericRangeFilter) SetColumn(v *ColumnIdentifier) *NumericRangeFilter { + s.Column = v return s } -type DeleteNamespaceOutput struct { - _ struct{} `type:"structure"` - - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` +// SetFilterId sets the FilterId field's value. +func (s *NumericRangeFilter) SetFilterId(v string) *NumericRangeFilter { + s.FilterId = &v + return s +} - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` +// SetIncludeMaximum sets the IncludeMaximum field's value. +func (s *NumericRangeFilter) SetIncludeMaximum(v bool) *NumericRangeFilter { + s.IncludeMaximum = &v + return s } -// 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 DeleteNamespaceOutput) String() string { - return awsutil.Prettify(s) +// SetIncludeMinimum sets the IncludeMinimum field's value. +func (s *NumericRangeFilter) SetIncludeMinimum(v bool) *NumericRangeFilter { + s.IncludeMinimum = &v + return 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 DeleteNamespaceOutput) GoString() string { - return s.String() +// SetNullOption sets the NullOption field's value. +func (s *NumericRangeFilter) SetNullOption(v string) *NumericRangeFilter { + s.NullOption = &v + return s } -// SetRequestId sets the RequestId field's value. -func (s *DeleteNamespaceOutput) SetRequestId(v string) *DeleteNamespaceOutput { - s.RequestId = &v +// SetRangeMaximum sets the RangeMaximum field's value. +func (s *NumericRangeFilter) SetRangeMaximum(v *NumericRangeFilterValue) *NumericRangeFilter { + s.RangeMaximum = v return s } -// SetStatus sets the Status field's value. -func (s *DeleteNamespaceOutput) SetStatus(v int64) *DeleteNamespaceOutput { - s.Status = &v +// SetRangeMinimum sets the RangeMinimum field's value. +func (s *NumericRangeFilter) SetRangeMinimum(v *NumericRangeFilterValue) *NumericRangeFilter { + s.RangeMinimum = v return s } -type DeleteTemplateAliasInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// SetSelectAllOptions sets the SelectAllOptions field's value. +func (s *NumericRangeFilter) SetSelectAllOptions(v string) *NumericRangeFilter { + s.SelectAllOptions = &v + return s +} - // The name for the template alias. To delete a specific alias, you delete the - // version that the alias points to. You can specify the alias name, or specify - // the latest version of the template by providing the keyword $LATEST in the - // AliasName parameter. - // - // AliasName is a required field - AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"` +// The value input pf the numeric range filter. +type NumericRangeFilterValue struct { + _ struct{} `type:"structure"` - // The ID of the Amazon Web Services account that contains the item to delete. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // The parameter that is used in the numeric range. + Parameter *string `min:"1" type:"string"` - // The ID for the template that the specified alias is for. - // - // TemplateId is a required field - TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"` + // The static value of the numeric range filter. + StaticValue *float64 `type:"double"` } // String returns the string representation. @@ -23807,7 +55450,7 @@ type DeleteTemplateAliasInput struct { // 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 DeleteTemplateAliasInput) String() string { +func (s NumericRangeFilterValue) String() string { return awsutil.Prettify(s) } @@ -23816,30 +55459,15 @@ func (s DeleteTemplateAliasInput) String() string { // 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 DeleteTemplateAliasInput) GoString() string { +func (s NumericRangeFilterValue) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteTemplateAliasInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteTemplateAliasInput"} - if s.AliasName == nil { - invalidParams.Add(request.NewErrParamRequired("AliasName")) - } - if s.AliasName != nil && len(*s.AliasName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("AliasName", 1)) - } - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.TemplateId == nil { - invalidParams.Add(request.NewErrParamRequired("TemplateId")) - } - if s.TemplateId != nil && len(*s.TemplateId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1)) +func (s *NumericRangeFilterValue) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "NumericRangeFilterValue"} + if s.Parameter != nil && len(*s.Parameter) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Parameter", 1)) } if invalidParams.Len() > 0 { @@ -23848,41 +55476,27 @@ func (s *DeleteTemplateAliasInput) Validate() error { return nil } -// SetAliasName sets the AliasName field's value. -func (s *DeleteTemplateAliasInput) SetAliasName(v string) *DeleteTemplateAliasInput { - s.AliasName = &v - return s -} - -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DeleteTemplateAliasInput) SetAwsAccountId(v string) *DeleteTemplateAliasInput { - s.AwsAccountId = &v +// SetParameter sets the Parameter field's value. +func (s *NumericRangeFilterValue) SetParameter(v string) *NumericRangeFilterValue { + s.Parameter = &v return s } -// SetTemplateId sets the TemplateId field's value. -func (s *DeleteTemplateAliasInput) SetTemplateId(v string) *DeleteTemplateAliasInput { - s.TemplateId = &v +// SetStaticValue sets the StaticValue field's value. +func (s *NumericRangeFilterValue) SetStaticValue(v float64) *NumericRangeFilterValue { + s.StaticValue = &v return s } -type DeleteTemplateAliasOutput struct { +// The options that determine the numeric separator configuration. +type NumericSeparatorConfiguration struct { _ struct{} `type:"structure"` - // The name for the template alias. - AliasName *string `min:"1" type:"string"` - - // The Amazon Resource Name (ARN) of the template you want to delete. - Arn *string `type:"string"` - - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` - - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // Determines the decimal separator. + DecimalSeparator *string `type:"string" enum:"NumericSeparatorSymbol"` - // An ID for the template associated with the deletion. - TemplateId *string `min:"1" type:"string"` + // The options that determine the thousands separator configuration. + ThousandsSeparator *ThousandSeparatorOptions `type:"structure"` } // String returns the string representation. @@ -23890,7 +55504,7 @@ type DeleteTemplateAliasOutput struct { // 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 DeleteTemplateAliasOutput) String() string { +func (s NumericSeparatorConfiguration) String() string { return awsutil.Prettify(s) } @@ -23899,57 +55513,104 @@ func (s DeleteTemplateAliasOutput) String() string { // 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 DeleteTemplateAliasOutput) GoString() string { +func (s NumericSeparatorConfiguration) GoString() string { return s.String() } -// SetAliasName sets the AliasName field's value. -func (s *DeleteTemplateAliasOutput) SetAliasName(v string) *DeleteTemplateAliasOutput { - s.AliasName = &v +// SetDecimalSeparator sets the DecimalSeparator field's value. +func (s *NumericSeparatorConfiguration) SetDecimalSeparator(v string) *NumericSeparatorConfiguration { + s.DecimalSeparator = &v return s } -// SetArn sets the Arn field's value. -func (s *DeleteTemplateAliasOutput) SetArn(v string) *DeleteTemplateAliasOutput { - s.Arn = &v +// SetThousandsSeparator sets the ThousandsSeparator field's value. +func (s *NumericSeparatorConfiguration) SetThousandsSeparator(v *ThousandSeparatorOptions) *NumericSeparatorConfiguration { + s.ThousandsSeparator = v return s } -// SetRequestId sets the RequestId field's value. -func (s *DeleteTemplateAliasOutput) SetRequestId(v string) *DeleteTemplateAliasOutput { - s.RequestId = &v - return s +// Aggregation for numerical values. +type NumericalAggregationFunction struct { + _ struct{} `type:"structure"` + + // An aggregation based on the percentile of values in a dimension or measure. + PercentileAggregation *PercentileAggregation `type:"structure"` + + // Built-in aggregation functions for numerical values. + // + // * SUM: The sum of a dimension or measure. + // + // * AVERAGE: The average of a dimension or measure. + // + // * MIN: The minimum value of a dimension or measure. + // + // * MAX: The maximum value of a dimension or measure. + // + // * COUNT: The count of a dimension or measure. + // + // * DISTINCT_COUNT: The count of distinct values in a dimension or measure. + // + // * VAR: The variance of a dimension or measure. + // + // * VARP: The partitioned variance of a dimension or measure. + // + // * STDEV: The standard deviation of a dimension or measure. + // + // * STDEVP: The partitioned standard deviation of a dimension or measure. + // + // * MEDIAN: The median value of a dimension or measure. + SimpleNumericalAggregation *string `type:"string" enum:"SimpleNumericalAggregationFunction"` +} + +// 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 NumericalAggregationFunction) 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 NumericalAggregationFunction) GoString() string { + return s.String() } -// SetStatus sets the Status field's value. -func (s *DeleteTemplateAliasOutput) SetStatus(v int64) *DeleteTemplateAliasOutput { - s.Status = &v +// SetPercentileAggregation sets the PercentileAggregation field's value. +func (s *NumericalAggregationFunction) SetPercentileAggregation(v *PercentileAggregation) *NumericalAggregationFunction { + s.PercentileAggregation = v return s } -// SetTemplateId sets the TemplateId field's value. -func (s *DeleteTemplateAliasOutput) SetTemplateId(v string) *DeleteTemplateAliasOutput { - s.TemplateId = &v +// SetSimpleNumericalAggregation sets the SimpleNumericalAggregation field's value. +func (s *NumericalAggregationFunction) SetSimpleNumericalAggregation(v string) *NumericalAggregationFunction { + s.SimpleNumericalAggregation = &v return s } -type DeleteTemplateInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// The dimension type field with numerical type columns. +type NumericalDimensionField struct { + _ struct{} `type:"structure"` - // The ID of the Amazon Web Services account that contains the template that - // you're deleting. + // The column that is used in the NumericalDimensionField. // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // Column is a required field + Column *ColumnIdentifier `type:"structure" required:"true"` - // An ID for the template you want to delete. + // The custom field ID. // - // TemplateId is a required field - TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"` + // FieldId is a required field + FieldId *string `min:"1" type:"string" required:"true"` - // Specifies the version of the template that you want to delete. If you don't - // provide a version number, DeleteTemplate deletes all versions of the template. - VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"` + // The format configuration of the field. + FormatConfiguration *NumberFormatConfiguration `type:"structure"` + + // The custom hierarchy ID. + HierarchyId *string `min:"1" type:"string"` } // String returns the string representation. @@ -23957,7 +55618,7 @@ type DeleteTemplateInput struct { // 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 DeleteTemplateInput) String() string { +func (s NumericalDimensionField) String() string { return awsutil.Prettify(s) } @@ -23966,27 +55627,34 @@ func (s DeleteTemplateInput) String() string { // 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 DeleteTemplateInput) GoString() string { +func (s NumericalDimensionField) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteTemplateInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteTemplateInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) +func (s *NumericalDimensionField) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "NumericalDimensionField"} + if s.Column == nil { + invalidParams.Add(request.NewErrParamRequired("Column")) } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + if s.FieldId == nil { + invalidParams.Add(request.NewErrParamRequired("FieldId")) } - if s.TemplateId == nil { - invalidParams.Add(request.NewErrParamRequired("TemplateId")) + if s.FieldId != nil && len(*s.FieldId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FieldId", 1)) } - if s.TemplateId != nil && len(*s.TemplateId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1)) + if s.HierarchyId != nil && len(*s.HierarchyId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("HierarchyId", 1)) } - if s.VersionNumber != nil && *s.VersionNumber < 1 { - invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1)) + if s.Column != nil { + if err := s.Column.Validate(); err != nil { + invalidParams.AddNested("Column", err.(request.ErrInvalidParams)) + } + } + if s.FormatConfiguration != nil { + if err := s.FormatConfiguration.Validate(); err != nil { + invalidParams.AddNested("FormatConfiguration", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -23995,38 +55663,49 @@ func (s *DeleteTemplateInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DeleteTemplateInput) SetAwsAccountId(v string) *DeleteTemplateInput { - s.AwsAccountId = &v +// SetColumn sets the Column field's value. +func (s *NumericalDimensionField) SetColumn(v *ColumnIdentifier) *NumericalDimensionField { + s.Column = v return s } -// SetTemplateId sets the TemplateId field's value. -func (s *DeleteTemplateInput) SetTemplateId(v string) *DeleteTemplateInput { - s.TemplateId = &v +// SetFieldId sets the FieldId field's value. +func (s *NumericalDimensionField) SetFieldId(v string) *NumericalDimensionField { + s.FieldId = &v return s } -// SetVersionNumber sets the VersionNumber field's value. -func (s *DeleteTemplateInput) SetVersionNumber(v int64) *DeleteTemplateInput { - s.VersionNumber = &v +// SetFormatConfiguration sets the FormatConfiguration field's value. +func (s *NumericalDimensionField) SetFormatConfiguration(v *NumberFormatConfiguration) *NumericalDimensionField { + s.FormatConfiguration = v return s } -type DeleteTemplateOutput struct { +// SetHierarchyId sets the HierarchyId field's value. +func (s *NumericalDimensionField) SetHierarchyId(v string) *NumericalDimensionField { + s.HierarchyId = &v + return s +} + +// The measure type field with numerical type columns. +type NumericalMeasureField struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the resource. - Arn *string `type:"string"` + // The aggregation function of the measure field. + AggregationFunction *NumericalAggregationFunction `type:"structure"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The column that is used in the NumericalMeasureField. + // + // Column is a required field + Column *ColumnIdentifier `type:"structure" required:"true"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The custom field ID. + // + // FieldId is a required field + FieldId *string `min:"1" type:"string" required:"true"` - // An ID for the template. - TemplateId *string `min:"1" type:"string"` + // The format configuration of the field. + FormatConfiguration *NumberFormatConfiguration `type:"structure"` } // String returns the string representation. @@ -24034,7 +55713,7 @@ type DeleteTemplateOutput struct { // 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 DeleteTemplateOutput) String() string { +func (s NumericalMeasureField) String() string { return awsutil.Prettify(s) } @@ -24043,52 +55722,81 @@ func (s DeleteTemplateOutput) String() string { // 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 DeleteTemplateOutput) GoString() string { +func (s NumericalMeasureField) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *DeleteTemplateOutput) SetArn(v string) *DeleteTemplateOutput { - s.Arn = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *NumericalMeasureField) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "NumericalMeasureField"} + if s.Column == nil { + invalidParams.Add(request.NewErrParamRequired("Column")) + } + if s.FieldId == nil { + invalidParams.Add(request.NewErrParamRequired("FieldId")) + } + if s.FieldId != nil && len(*s.FieldId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FieldId", 1)) + } + if s.Column != nil { + if err := s.Column.Validate(); err != nil { + invalidParams.AddNested("Column", err.(request.ErrInvalidParams)) + } + } + if s.FormatConfiguration != nil { + if err := s.FormatConfiguration.Validate(); err != nil { + invalidParams.AddNested("FormatConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAggregationFunction sets the AggregationFunction field's value. +func (s *NumericalMeasureField) SetAggregationFunction(v *NumericalAggregationFunction) *NumericalMeasureField { + s.AggregationFunction = v return s } -// SetRequestId sets the RequestId field's value. -func (s *DeleteTemplateOutput) SetRequestId(v string) *DeleteTemplateOutput { - s.RequestId = &v +// SetColumn sets the Column field's value. +func (s *NumericalMeasureField) SetColumn(v *ColumnIdentifier) *NumericalMeasureField { + s.Column = v return s } -// SetStatus sets the Status field's value. -func (s *DeleteTemplateOutput) SetStatus(v int64) *DeleteTemplateOutput { - s.Status = &v +// SetFieldId sets the FieldId field's value. +func (s *NumericalMeasureField) SetFieldId(v string) *NumericalMeasureField { + s.FieldId = &v return s } -// SetTemplateId sets the TemplateId field's value. -func (s *DeleteTemplateOutput) SetTemplateId(v string) *DeleteTemplateOutput { - s.TemplateId = &v +// SetFormatConfiguration sets the FormatConfiguration field's value. +func (s *NumericalMeasureField) SetFormatConfiguration(v *NumberFormatConfiguration) *NumericalMeasureField { + s.FormatConfiguration = v return s } -type DeleteThemeAliasInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// The parameters for Oracle. +type OracleParameters struct { + _ struct{} `type:"structure"` - // The unique name for the theme alias to delete. + // Database. // - // AliasName is a required field - AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"` + // Database is a required field + Database *string `min:"1" type:"string" required:"true"` - // The ID of the Amazon Web Services account that contains the theme alias to - // delete. + // An Oracle host. // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // Host is a required field + Host *string `min:"1" type:"string" required:"true"` - // The ID for the theme that the specified alias is for. + // Port. // - // ThemeId is a required field - ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"` + // Port is a required field + Port *int64 `min:"1" type:"integer" required:"true"` } // String returns the string representation. @@ -24096,7 +55804,7 @@ type DeleteThemeAliasInput struct { // 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 DeleteThemeAliasInput) String() string { +func (s OracleParameters) String() string { return awsutil.Prettify(s) } @@ -24105,30 +55813,30 @@ func (s DeleteThemeAliasInput) String() string { // 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 DeleteThemeAliasInput) GoString() string { +func (s OracleParameters) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteThemeAliasInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteThemeAliasInput"} - if s.AliasName == nil { - invalidParams.Add(request.NewErrParamRequired("AliasName")) +func (s *OracleParameters) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "OracleParameters"} + if s.Database == nil { + invalidParams.Add(request.NewErrParamRequired("Database")) } - if s.AliasName != nil && len(*s.AliasName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("AliasName", 1)) + if s.Database != nil && len(*s.Database) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Database", 1)) } - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + if s.Host == nil { + invalidParams.Add(request.NewErrParamRequired("Host")) } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + if s.Host != nil && len(*s.Host) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Host", 1)) } - if s.ThemeId == nil { - invalidParams.Add(request.NewErrParamRequired("ThemeId")) + if s.Port == nil { + invalidParams.Add(request.NewErrParamRequired("Port")) } - if s.ThemeId != nil && len(*s.ThemeId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1)) + if s.Port != nil && *s.Port < 1 { + invalidParams.Add(request.NewErrParamMinValue("Port", 1)) } if invalidParams.Len() > 0 { @@ -24137,41 +55845,36 @@ func (s *DeleteThemeAliasInput) Validate() error { return nil } -// SetAliasName sets the AliasName field's value. -func (s *DeleteThemeAliasInput) SetAliasName(v string) *DeleteThemeAliasInput { - s.AliasName = &v +// SetDatabase sets the Database field's value. +func (s *OracleParameters) SetDatabase(v string) *OracleParameters { + s.Database = &v return s } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DeleteThemeAliasInput) SetAwsAccountId(v string) *DeleteThemeAliasInput { - s.AwsAccountId = &v +// SetHost sets the Host field's value. +func (s *OracleParameters) SetHost(v string) *OracleParameters { + s.Host = &v return s } -// SetThemeId sets the ThemeId field's value. -func (s *DeleteThemeAliasInput) SetThemeId(v string) *DeleteThemeAliasInput { - s.ThemeId = &v +// SetPort sets the Port field's value. +func (s *OracleParameters) SetPort(v int64) *OracleParameters { + s.Port = &v return s } -type DeleteThemeAliasOutput struct { +// Output column. +type OutputColumn struct { _ struct{} `type:"structure"` - // The name for the theme alias. - AliasName *string `min:"1" type:"string"` - - // The Amazon Resource Name (ARN) of the theme resource using the deleted alias. - Arn *string `type:"string"` - - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // A description for a column. + Description *string `type:"string"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // A display name for the dataset. + Name *string `min:"1" type:"string"` - // An ID for the theme associated with the deletion. - ThemeId *string `min:"1" type:"string"` + // Type. + Type *string `type:"string" enum:"ColumnDataType"` } // String returns the string representation. @@ -24179,7 +55882,7 @@ type DeleteThemeAliasOutput struct { // 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 DeleteThemeAliasOutput) String() string { +func (s OutputColumn) String() string { return awsutil.Prettify(s) } @@ -24188,59 +55891,41 @@ func (s DeleteThemeAliasOutput) String() string { // 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 DeleteThemeAliasOutput) GoString() string { +func (s OutputColumn) GoString() string { return s.String() } -// SetAliasName sets the AliasName field's value. -func (s *DeleteThemeAliasOutput) SetAliasName(v string) *DeleteThemeAliasOutput { - s.AliasName = &v - return s -} - -// SetArn sets the Arn field's value. -func (s *DeleteThemeAliasOutput) SetArn(v string) *DeleteThemeAliasOutput { - s.Arn = &v - return s -} - -// SetRequestId sets the RequestId field's value. -func (s *DeleteThemeAliasOutput) SetRequestId(v string) *DeleteThemeAliasOutput { - s.RequestId = &v +// SetDescription sets the Description field's value. +func (s *OutputColumn) SetDescription(v string) *OutputColumn { + s.Description = &v return s } -// SetStatus sets the Status field's value. -func (s *DeleteThemeAliasOutput) SetStatus(v int64) *DeleteThemeAliasOutput { - s.Status = &v +// SetName sets the Name field's value. +func (s *OutputColumn) SetName(v string) *OutputColumn { + s.Name = &v return s } -// SetThemeId sets the ThemeId field's value. -func (s *DeleteThemeAliasOutput) SetThemeId(v string) *DeleteThemeAliasOutput { - s.ThemeId = &v +// SetType sets the Type field's value. +func (s *OutputColumn) SetType(v string) *OutputColumn { + s.Type = &v return s } -type DeleteThemeInput struct { - _ struct{} `type:"structure" nopayload:"true"` - - // The ID of the Amazon Web Services account that contains the theme that you're - // deleting. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` +// The pagination configuration for a table visual or boxplot. +type PaginationConfiguration struct { + _ struct{} `type:"structure"` - // An ID for the theme that you want to delete. + // Indicates the page number. // - // ThemeId is a required field - ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"` + // PageNumber is a required field + PageNumber *int64 `type:"long" required:"true"` - // The version of the theme that you want to delete. + // Indicates how many items render in one page. // - // Note: If you don't provide a version number, you're using this call to DeleteTheme - // to delete all versions of the theme. - VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"` + // PageSize is a required field + PageSize *int64 `type:"long" required:"true"` } // String returns the string representation. @@ -24248,7 +55933,7 @@ type DeleteThemeInput struct { // 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 DeleteThemeInput) String() string { +func (s PaginationConfiguration) String() string { return awsutil.Prettify(s) } @@ -24257,27 +55942,18 @@ func (s DeleteThemeInput) String() string { // 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 DeleteThemeInput) GoString() string { +func (s PaginationConfiguration) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteThemeInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteThemeInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.ThemeId == nil { - invalidParams.Add(request.NewErrParamRequired("ThemeId")) - } - if s.ThemeId != nil && len(*s.ThemeId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1)) +func (s *PaginationConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PaginationConfiguration"} + if s.PageNumber == nil { + invalidParams.Add(request.NewErrParamRequired("PageNumber")) } - if s.VersionNumber != nil && *s.VersionNumber < 1 { - invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1)) + if s.PageSize == nil { + invalidParams.Add(request.NewErrParamRequired("PageSize")) } if invalidParams.Len() > 0 { @@ -24286,38 +55962,50 @@ func (s *DeleteThemeInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DeleteThemeInput) SetAwsAccountId(v string) *DeleteThemeInput { - s.AwsAccountId = &v - return s -} - -// SetThemeId sets the ThemeId field's value. -func (s *DeleteThemeInput) SetThemeId(v string) *DeleteThemeInput { - s.ThemeId = &v +// SetPageNumber sets the PageNumber field's value. +func (s *PaginationConfiguration) SetPageNumber(v int64) *PaginationConfiguration { + s.PageNumber = &v return s } -// SetVersionNumber sets the VersionNumber field's value. -func (s *DeleteThemeInput) SetVersionNumber(v int64) *DeleteThemeInput { - s.VersionNumber = &v +// SetPageSize sets the PageSize field's value. +func (s *PaginationConfiguration) SetPageSize(v int64) *PaginationConfiguration { + s.PageSize = &v return s } -type DeleteThemeOutput struct { +// A collection of options that configure how each panel displays in a small +// multiples chart. +type PanelConfiguration struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the resource. - Arn *string `type:"string"` + // Sets the background color for each panel. + BackgroundColor *string `type:"string"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // Determines whether or not a background for each small multiples panel is + // rendered. + BackgroundVisibility *string `type:"string" enum:"Visibility"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // Sets the line color of panel borders. + BorderColor *string `type:"string"` - // An ID for the theme. - ThemeId *string `min:"1" type:"string"` + // Sets the line style of panel borders. + BorderStyle *string `type:"string" enum:"PanelBorderStyle"` + + // Sets the line thickness of panel borders. + BorderThickness *string `type:"string"` + + // Determines whether or not each panel displays a border. + BorderVisibility *string `type:"string" enum:"Visibility"` + + // Sets the total amount of negative space to display between sibling panels. + GutterSpacing *string `type:"string"` + + // Determines whether or not negative space between sibling panels is rendered. + GutterVisibility *string `type:"string" enum:"Visibility"` + + // Configures the title display within each small multiples panel. + Title *PanelTitleOptions `type:"structure"` } // String returns the string representation. @@ -24325,7 +56013,7 @@ type DeleteThemeOutput struct { // 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 DeleteThemeOutput) String() string { +func (s PanelConfiguration) String() string { return awsutil.Prettify(s) } @@ -24334,127 +56022,76 @@ func (s DeleteThemeOutput) String() string { // 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 DeleteThemeOutput) GoString() string { +func (s PanelConfiguration) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *DeleteThemeOutput) SetArn(v string) *DeleteThemeOutput { - s.Arn = &v +// SetBackgroundColor sets the BackgroundColor field's value. +func (s *PanelConfiguration) SetBackgroundColor(v string) *PanelConfiguration { + s.BackgroundColor = &v return s } -// SetRequestId sets the RequestId field's value. -func (s *DeleteThemeOutput) SetRequestId(v string) *DeleteThemeOutput { - s.RequestId = &v +// SetBackgroundVisibility sets the BackgroundVisibility field's value. +func (s *PanelConfiguration) SetBackgroundVisibility(v string) *PanelConfiguration { + s.BackgroundVisibility = &v return s } -// SetStatus sets the Status field's value. -func (s *DeleteThemeOutput) SetStatus(v int64) *DeleteThemeOutput { - s.Status = &v +// SetBorderColor sets the BorderColor field's value. +func (s *PanelConfiguration) SetBorderColor(v string) *PanelConfiguration { + s.BorderColor = &v return s } -// SetThemeId sets the ThemeId field's value. -func (s *DeleteThemeOutput) SetThemeId(v string) *DeleteThemeOutput { - s.ThemeId = &v +// SetBorderStyle sets the BorderStyle field's value. +func (s *PanelConfiguration) SetBorderStyle(v string) *PanelConfiguration { + s.BorderStyle = &v return s } -type DeleteUserByPrincipalIdInput struct { - _ struct{} `type:"structure" nopayload:"true"` - - // The ID for the Amazon Web Services account that the user is in. Currently, - // you use the ID for the Amazon Web Services account that contains your Amazon - // QuickSight account. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - - // The namespace. Currently, you should set this to default. - // - // Namespace is a required field - Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` - - // The principal ID of the user. - // - // PrincipalId is a required field - PrincipalId *string `location:"uri" locationName:"PrincipalId" type:"string" required:"true"` -} - -// 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 DeleteUserByPrincipalIdInput) 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 DeleteUserByPrincipalIdInput) GoString() string { - return s.String() +// SetBorderThickness sets the BorderThickness field's value. +func (s *PanelConfiguration) SetBorderThickness(v string) *PanelConfiguration { + s.BorderThickness = &v + return s } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteUserByPrincipalIdInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteUserByPrincipalIdInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.Namespace == nil { - invalidParams.Add(request.NewErrParamRequired("Namespace")) - } - if s.Namespace != nil && len(*s.Namespace) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) - } - if s.PrincipalId == nil { - invalidParams.Add(request.NewErrParamRequired("PrincipalId")) - } - if s.PrincipalId != nil && len(*s.PrincipalId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("PrincipalId", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetBorderVisibility sets the BorderVisibility field's value. +func (s *PanelConfiguration) SetBorderVisibility(v string) *PanelConfiguration { + s.BorderVisibility = &v + return s } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DeleteUserByPrincipalIdInput) SetAwsAccountId(v string) *DeleteUserByPrincipalIdInput { - s.AwsAccountId = &v +// SetGutterSpacing sets the GutterSpacing field's value. +func (s *PanelConfiguration) SetGutterSpacing(v string) *PanelConfiguration { + s.GutterSpacing = &v return s } -// SetNamespace sets the Namespace field's value. -func (s *DeleteUserByPrincipalIdInput) SetNamespace(v string) *DeleteUserByPrincipalIdInput { - s.Namespace = &v +// SetGutterVisibility sets the GutterVisibility field's value. +func (s *PanelConfiguration) SetGutterVisibility(v string) *PanelConfiguration { + s.GutterVisibility = &v return s } -// SetPrincipalId sets the PrincipalId field's value. -func (s *DeleteUserByPrincipalIdInput) SetPrincipalId(v string) *DeleteUserByPrincipalIdInput { - s.PrincipalId = &v +// SetTitle sets the Title field's value. +func (s *PanelConfiguration) SetTitle(v *PanelTitleOptions) *PanelConfiguration { + s.Title = v return s } -type DeleteUserByPrincipalIdOutput struct { +// The options that determine the title styles for each small multiples panel. +type PanelTitleOptions struct { _ struct{} `type:"structure"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // Configures the display properties of the given text. + FontConfiguration *FontConfiguration `type:"structure"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // Sets the horizontal text alignment of the title within each panel. + HorizontalTextAlignment *string `type:"string" enum:"HorizontalTextAlignment"` + + // Determines whether or not panel titles are displayed. + Visibility *string `type:"string" enum:"Visibility"` } // String returns the string representation. @@ -24462,7 +56099,7 @@ type DeleteUserByPrincipalIdOutput struct { // 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 DeleteUserByPrincipalIdOutput) String() string { +func (s PanelTitleOptions) String() string { return awsutil.Prettify(s) } @@ -24471,41 +56108,56 @@ func (s DeleteUserByPrincipalIdOutput) String() string { // 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 DeleteUserByPrincipalIdOutput) GoString() string { +func (s PanelTitleOptions) GoString() string { return s.String() } -// SetRequestId sets the RequestId field's value. -func (s *DeleteUserByPrincipalIdOutput) SetRequestId(v string) *DeleteUserByPrincipalIdOutput { - s.RequestId = &v +// SetFontConfiguration sets the FontConfiguration field's value. +func (s *PanelTitleOptions) SetFontConfiguration(v *FontConfiguration) *PanelTitleOptions { + s.FontConfiguration = v return s } -// SetStatus sets the Status field's value. -func (s *DeleteUserByPrincipalIdOutput) SetStatus(v int64) *DeleteUserByPrincipalIdOutput { - s.Status = &v +// SetHorizontalTextAlignment sets the HorizontalTextAlignment field's value. +func (s *PanelTitleOptions) SetHorizontalTextAlignment(v string) *PanelTitleOptions { + s.HorizontalTextAlignment = &v return s } -type DeleteUserInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// SetVisibility sets the Visibility field's value. +func (s *PanelTitleOptions) SetVisibility(v string) *PanelTitleOptions { + s.Visibility = &v + return s +} - // The ID for the Amazon Web Services account that the user is in. Currently, - // you use the ID for the Amazon Web Services account that contains your Amazon - // QuickSight account. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` +// The control of a parameter that users can interact with in a dashboard or +// an analysis. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type ParameterControl struct { + _ struct{} `type:"structure"` - // The namespace. Currently, you should set this to default. - // - // Namespace is a required field - Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` + // A control from a date parameter that specifies date and time. + DateTimePicker *ParameterDateTimePickerControl `type:"structure"` - // The name of the user that you want to delete. - // - // UserName is a required field - UserName *string `location:"uri" locationName:"UserName" min:"1" type:"string" required:"true"` + // A control to display a dropdown list with buttons that are used to select + // a single value. + Dropdown *ParameterDropDownControl `type:"structure"` + + // A control to display a list with buttons or boxes that are used to select + // either a single value or multiple values. + List *ParameterListControl `type:"structure"` + + // A control to display a horizontal toggle bar. This is used to change a value + // by sliding the toggle. + Slider *ParameterSliderControl `type:"structure"` + + // A control to display a text box that is used to enter multiple entries. + TextArea *ParameterTextAreaControl `type:"structure"` + + // A control to display a text box that is used to enter a single entry. + TextField *ParameterTextFieldControl `type:"structure"` } // String returns the string representation. @@ -24513,7 +56165,7 @@ type DeleteUserInput struct { // 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 DeleteUserInput) String() string { +func (s ParameterControl) String() string { return awsutil.Prettify(s) } @@ -24522,30 +56174,42 @@ func (s DeleteUserInput) String() string { // 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 DeleteUserInput) GoString() string { +func (s ParameterControl) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteUserInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteUserInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) +func (s *ParameterControl) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ParameterControl"} + if s.DateTimePicker != nil { + if err := s.DateTimePicker.Validate(); err != nil { + invalidParams.AddNested("DateTimePicker", err.(request.ErrInvalidParams)) + } } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + if s.Dropdown != nil { + if err := s.Dropdown.Validate(); err != nil { + invalidParams.AddNested("Dropdown", err.(request.ErrInvalidParams)) + } } - if s.Namespace == nil { - invalidParams.Add(request.NewErrParamRequired("Namespace")) + if s.List != nil { + if err := s.List.Validate(); err != nil { + invalidParams.AddNested("List", err.(request.ErrInvalidParams)) + } } - if s.Namespace != nil && len(*s.Namespace) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + if s.Slider != nil { + if err := s.Slider.Validate(); err != nil { + invalidParams.AddNested("Slider", err.(request.ErrInvalidParams)) + } } - if s.UserName == nil { - invalidParams.Add(request.NewErrParamRequired("UserName")) + if s.TextArea != nil { + if err := s.TextArea.Validate(); err != nil { + invalidParams.AddNested("TextArea", err.(request.ErrInvalidParams)) + } } - if s.UserName != nil && len(*s.UserName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UserName", 1)) + if s.TextField != nil { + if err := s.TextField.Validate(); err != nil { + invalidParams.AddNested("TextField", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -24554,32 +56218,63 @@ func (s *DeleteUserInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DeleteUserInput) SetAwsAccountId(v string) *DeleteUserInput { - s.AwsAccountId = &v +// SetDateTimePicker sets the DateTimePicker field's value. +func (s *ParameterControl) SetDateTimePicker(v *ParameterDateTimePickerControl) *ParameterControl { + s.DateTimePicker = v return s } -// SetNamespace sets the Namespace field's value. -func (s *DeleteUserInput) SetNamespace(v string) *DeleteUserInput { - s.Namespace = &v +// SetDropdown sets the Dropdown field's value. +func (s *ParameterControl) SetDropdown(v *ParameterDropDownControl) *ParameterControl { + s.Dropdown = v return s } -// SetUserName sets the UserName field's value. -func (s *DeleteUserInput) SetUserName(v string) *DeleteUserInput { - s.UserName = &v +// SetList sets the List field's value. +func (s *ParameterControl) SetList(v *ParameterListControl) *ParameterControl { + s.List = v return s } -type DeleteUserOutput struct { +// SetSlider sets the Slider field's value. +func (s *ParameterControl) SetSlider(v *ParameterSliderControl) *ParameterControl { + s.Slider = v + return s +} + +// SetTextArea sets the TextArea field's value. +func (s *ParameterControl) SetTextArea(v *ParameterTextAreaControl) *ParameterControl { + s.TextArea = v + return s +} + +// SetTextField sets the TextField field's value. +func (s *ParameterControl) SetTextField(v *ParameterTextFieldControl) *ParameterControl { + s.TextField = v + return s +} + +// A control from a date parameter that specifies date and time. +type ParameterDateTimePickerControl struct { _ struct{} `type:"structure"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The display options of a control. + DisplayOptions *DateTimePickerControlDisplayOptions `type:"structure"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The ID of the ParameterDateTimePickerControl. + // + // ParameterControlId is a required field + ParameterControlId *string `min:"1" type:"string" required:"true"` + + // The name of the ParameterDateTimePickerControl. + // + // SourceParameterName is a required field + SourceParameterName *string `min:"1" type:"string" required:"true"` + + // The title of the ParameterDateTimePickerControl. + // + // Title is a required field + Title *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -24587,7 +56282,7 @@ type DeleteUserOutput struct { // 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 DeleteUserOutput) String() string { +func (s ParameterDateTimePickerControl) String() string { return awsutil.Prettify(s) } @@ -24596,41 +56291,88 @@ func (s DeleteUserOutput) String() string { // 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 DeleteUserOutput) GoString() string { +func (s ParameterDateTimePickerControl) GoString() string { return s.String() } -// SetRequestId sets the RequestId field's value. -func (s *DeleteUserOutput) SetRequestId(v string) *DeleteUserOutput { - s.RequestId = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *ParameterDateTimePickerControl) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ParameterDateTimePickerControl"} + if s.ParameterControlId == nil { + invalidParams.Add(request.NewErrParamRequired("ParameterControlId")) + } + if s.ParameterControlId != nil && len(*s.ParameterControlId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ParameterControlId", 1)) + } + if s.SourceParameterName == nil { + invalidParams.Add(request.NewErrParamRequired("SourceParameterName")) + } + if s.SourceParameterName != nil && len(*s.SourceParameterName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SourceParameterName", 1)) + } + if s.Title == nil { + invalidParams.Add(request.NewErrParamRequired("Title")) + } + if s.Title != nil && len(*s.Title) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Title", 1)) + } + if s.DisplayOptions != nil { + if err := s.DisplayOptions.Validate(); err != nil { + invalidParams.AddNested("DisplayOptions", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDisplayOptions sets the DisplayOptions field's value. +func (s *ParameterDateTimePickerControl) SetDisplayOptions(v *DateTimePickerControlDisplayOptions) *ParameterDateTimePickerControl { + s.DisplayOptions = v return s } -// SetStatus sets the Status field's value. -func (s *DeleteUserOutput) SetStatus(v int64) *DeleteUserOutput { - s.Status = &v +// SetParameterControlId sets the ParameterControlId field's value. +func (s *ParameterDateTimePickerControl) SetParameterControlId(v string) *ParameterDateTimePickerControl { + s.ParameterControlId = &v return s } -type DescribeAccountCustomizationInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// SetSourceParameterName sets the SourceParameterName field's value. +func (s *ParameterDateTimePickerControl) SetSourceParameterName(v string) *ParameterDateTimePickerControl { + s.SourceParameterName = &v + return s +} - // The ID for the Amazon Web Services account that you want to describe Amazon - // QuickSight customizations for. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` +// SetTitle sets the Title field's value. +func (s *ParameterDateTimePickerControl) SetTitle(v string) *ParameterDateTimePickerControl { + s.Title = &v + return s +} - // The Amazon QuickSight namespace that you want to describe Amazon QuickSight - // customizations for. - Namespace *string `location:"querystring" locationName:"namespace" type:"string"` +// The declaration definition of a parameter. +// +// For more information, see Parameters in Amazon QuickSight (https://docs.aws.amazon.com/quicksight/latest/user/parameters-in-quicksight.html) +// in the Amazon QuickSight User Guide. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type ParameterDeclaration struct { + _ struct{} `type:"structure"` - // The Resolved flag works with the other parameters to determine which view - // of Amazon QuickSight customizations is returned. You can add this flag to - // your command to use the same view that Amazon QuickSight uses to identify - // which customizations to apply to the console. Omit this flag, or set it to - // no-resolved, to reveal customizations that are configured at different levels. - Resolved *bool `location:"querystring" locationName:"resolved" type:"boolean"` + // A parameter declaration for the DateTime data type. + DateTimeParameterDeclaration *DateTimeParameterDeclaration `type:"structure"` + + // A parameter declaration for the Decimal data type. + DecimalParameterDeclaration *DecimalParameterDeclaration `type:"structure"` + + // A parameter declaration for the Integer data type. + IntegerParameterDeclaration *IntegerParameterDeclaration `type:"structure"` + + // A parameter declaration for the String data type. + StringParameterDeclaration *StringParameterDeclaration `type:"structure"` } // String returns the string representation. @@ -24638,7 +56380,7 @@ type DescribeAccountCustomizationInput struct { // 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 DescribeAccountCustomizationInput) String() string { +func (s ParameterDeclaration) String() string { return awsutil.Prettify(s) } @@ -24647,18 +56389,32 @@ func (s DescribeAccountCustomizationInput) String() string { // 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 DescribeAccountCustomizationInput) GoString() string { +func (s ParameterDeclaration) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeAccountCustomizationInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeAccountCustomizationInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) +func (s *ParameterDeclaration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ParameterDeclaration"} + if s.DateTimeParameterDeclaration != nil { + if err := s.DateTimeParameterDeclaration.Validate(); err != nil { + invalidParams.AddNested("DateTimeParameterDeclaration", err.(request.ErrInvalidParams)) + } } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + if s.DecimalParameterDeclaration != nil { + if err := s.DecimalParameterDeclaration.Validate(); err != nil { + invalidParams.AddNested("DecimalParameterDeclaration", err.(request.ErrInvalidParams)) + } + } + if s.IntegerParameterDeclaration != nil { + if err := s.IntegerParameterDeclaration.Validate(); err != nil { + invalidParams.AddNested("IntegerParameterDeclaration", err.(request.ErrInvalidParams)) + } + } + if s.StringParameterDeclaration != nil { + if err := s.StringParameterDeclaration.Validate(); err != nil { + invalidParams.AddNested("StringParameterDeclaration", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -24667,46 +56423,62 @@ func (s *DescribeAccountCustomizationInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DescribeAccountCustomizationInput) SetAwsAccountId(v string) *DescribeAccountCustomizationInput { - s.AwsAccountId = &v +// SetDateTimeParameterDeclaration sets the DateTimeParameterDeclaration field's value. +func (s *ParameterDeclaration) SetDateTimeParameterDeclaration(v *DateTimeParameterDeclaration) *ParameterDeclaration { + s.DateTimeParameterDeclaration = v return s } -// SetNamespace sets the Namespace field's value. -func (s *DescribeAccountCustomizationInput) SetNamespace(v string) *DescribeAccountCustomizationInput { - s.Namespace = &v +// SetDecimalParameterDeclaration sets the DecimalParameterDeclaration field's value. +func (s *ParameterDeclaration) SetDecimalParameterDeclaration(v *DecimalParameterDeclaration) *ParameterDeclaration { + s.DecimalParameterDeclaration = v return s } -// SetResolved sets the Resolved field's value. -func (s *DescribeAccountCustomizationInput) SetResolved(v bool) *DescribeAccountCustomizationInput { - s.Resolved = &v +// SetIntegerParameterDeclaration sets the IntegerParameterDeclaration field's value. +func (s *ParameterDeclaration) SetIntegerParameterDeclaration(v *IntegerParameterDeclaration) *ParameterDeclaration { + s.IntegerParameterDeclaration = v return s } -type DescribeAccountCustomizationOutput struct { +// SetStringParameterDeclaration sets the StringParameterDeclaration field's value. +func (s *ParameterDeclaration) SetStringParameterDeclaration(v *StringParameterDeclaration) *ParameterDeclaration { + s.StringParameterDeclaration = v + return s +} + +// A control to display a dropdown list with buttons that are used to select +// a single value. +type ParameterDropDownControl struct { _ struct{} `type:"structure"` - // The Amazon QuickSight customizations that exist in the current Amazon Web - // Services Region. - AccountCustomization *AccountCustomization `type:"structure"` + // The values that are displayed in a control can be configured to only show + // values that are valid based on what's selected in other controls. + CascadingControlConfiguration *CascadingControlConfiguration `type:"structure"` - // The Amazon Resource Name (ARN) of the customization that's associated with - // this Amazon Web Services account. - Arn *string `type:"string"` + // The display options of a control. + DisplayOptions *DropDownControlDisplayOptions `type:"structure"` - // The ID for the Amazon Web Services account that you're describing. - AwsAccountId *string `min:"12" type:"string"` + // The ID of the ParameterDropDownControl. + // + // ParameterControlId is a required field + ParameterControlId *string `min:"1" type:"string" required:"true"` - // The Amazon QuickSight namespace that you're describing. - Namespace *string `type:"string"` + // A list of selectable values that are used in a control. + SelectableValues *ParameterSelectableValues `type:"structure"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The source parameter name of the ParameterDropDownControl. + // + // SourceParameterName is a required field + SourceParameterName *string `min:"1" type:"string" required:"true"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The title of the ParameterDropDownControl. + // + // Title is a required field + Title *string `min:"1" type:"string" required:"true"` + + // The type parameter name of the ParameterDropDownControl. + Type *string `type:"string" enum:"SheetControlListType"` } // String returns the string representation. @@ -24714,7 +56486,7 @@ type DescribeAccountCustomizationOutput struct { // 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 DescribeAccountCustomizationOutput) String() string { +func (s ParameterDropDownControl) String() string { return awsutil.Prettify(s) } @@ -24723,54 +56495,122 @@ func (s DescribeAccountCustomizationOutput) String() string { // 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 DescribeAccountCustomizationOutput) GoString() string { +func (s ParameterDropDownControl) GoString() string { return s.String() } -// SetAccountCustomization sets the AccountCustomization field's value. -func (s *DescribeAccountCustomizationOutput) SetAccountCustomization(v *AccountCustomization) *DescribeAccountCustomizationOutput { - s.AccountCustomization = v +// Validate inspects the fields of the type to determine if they are valid. +func (s *ParameterDropDownControl) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ParameterDropDownControl"} + if s.ParameterControlId == nil { + invalidParams.Add(request.NewErrParamRequired("ParameterControlId")) + } + if s.ParameterControlId != nil && len(*s.ParameterControlId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ParameterControlId", 1)) + } + if s.SourceParameterName == nil { + invalidParams.Add(request.NewErrParamRequired("SourceParameterName")) + } + if s.SourceParameterName != nil && len(*s.SourceParameterName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SourceParameterName", 1)) + } + if s.Title == nil { + invalidParams.Add(request.NewErrParamRequired("Title")) + } + if s.Title != nil && len(*s.Title) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Title", 1)) + } + if s.CascadingControlConfiguration != nil { + if err := s.CascadingControlConfiguration.Validate(); err != nil { + invalidParams.AddNested("CascadingControlConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.SelectableValues != nil { + if err := s.SelectableValues.Validate(); err != nil { + invalidParams.AddNested("SelectableValues", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCascadingControlConfiguration sets the CascadingControlConfiguration field's value. +func (s *ParameterDropDownControl) SetCascadingControlConfiguration(v *CascadingControlConfiguration) *ParameterDropDownControl { + s.CascadingControlConfiguration = v return s } -// SetArn sets the Arn field's value. -func (s *DescribeAccountCustomizationOutput) SetArn(v string) *DescribeAccountCustomizationOutput { - s.Arn = &v +// SetDisplayOptions sets the DisplayOptions field's value. +func (s *ParameterDropDownControl) SetDisplayOptions(v *DropDownControlDisplayOptions) *ParameterDropDownControl { + s.DisplayOptions = v return s } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DescribeAccountCustomizationOutput) SetAwsAccountId(v string) *DescribeAccountCustomizationOutput { - s.AwsAccountId = &v +// SetParameterControlId sets the ParameterControlId field's value. +func (s *ParameterDropDownControl) SetParameterControlId(v string) *ParameterDropDownControl { + s.ParameterControlId = &v return s } -// SetNamespace sets the Namespace field's value. -func (s *DescribeAccountCustomizationOutput) SetNamespace(v string) *DescribeAccountCustomizationOutput { - s.Namespace = &v +// SetSelectableValues sets the SelectableValues field's value. +func (s *ParameterDropDownControl) SetSelectableValues(v *ParameterSelectableValues) *ParameterDropDownControl { + s.SelectableValues = v return s } -// SetRequestId sets the RequestId field's value. -func (s *DescribeAccountCustomizationOutput) SetRequestId(v string) *DescribeAccountCustomizationOutput { - s.RequestId = &v +// SetSourceParameterName sets the SourceParameterName field's value. +func (s *ParameterDropDownControl) SetSourceParameterName(v string) *ParameterDropDownControl { + s.SourceParameterName = &v return s } -// SetStatus sets the Status field's value. -func (s *DescribeAccountCustomizationOutput) SetStatus(v int64) *DescribeAccountCustomizationOutput { - s.Status = &v +// SetTitle sets the Title field's value. +func (s *ParameterDropDownControl) SetTitle(v string) *ParameterDropDownControl { + s.Title = &v return s } -type DescribeAccountSettingsInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// SetType sets the Type field's value. +func (s *ParameterDropDownControl) SetType(v string) *ParameterDropDownControl { + s.Type = &v + return s +} - // The ID for the Amazon Web Services account that contains the settings that - // you want to list. +// A control to display a list with buttons or boxes that are used to select +// either a single value or multiple values. +type ParameterListControl struct { + _ struct{} `type:"structure"` + + // The values that are displayed in a control can be configured to only show + // values that are valid based on what's selected in other controls. + CascadingControlConfiguration *CascadingControlConfiguration `type:"structure"` + + // The display options of a control. + DisplayOptions *ListControlDisplayOptions `type:"structure"` + + // The ID of the ParameterListControl. // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // ParameterControlId is a required field + ParameterControlId *string `min:"1" type:"string" required:"true"` + + // A list of selectable values that are used in a control. + SelectableValues *ParameterSelectableValues `type:"structure"` + + // The source parameter name of the ParameterListControl. + // + // SourceParameterName is a required field + SourceParameterName *string `min:"1" type:"string" required:"true"` + + // The title of the ParameterListControl. + // + // Title is a required field + Title *string `min:"1" type:"string" required:"true"` + + // The type of ParameterListControl. + Type *string `type:"string" enum:"SheetControlListType"` } // String returns the string representation. @@ -24778,7 +56618,7 @@ type DescribeAccountSettingsInput struct { // 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 DescribeAccountSettingsInput) String() string { +func (s ParameterListControl) String() string { return awsutil.Prettify(s) } @@ -24787,18 +56627,40 @@ func (s DescribeAccountSettingsInput) String() string { // 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 DescribeAccountSettingsInput) GoString() string { +func (s ParameterListControl) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeAccountSettingsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeAccountSettingsInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) +func (s *ParameterListControl) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ParameterListControl"} + if s.ParameterControlId == nil { + invalidParams.Add(request.NewErrParamRequired("ParameterControlId")) } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + if s.ParameterControlId != nil && len(*s.ParameterControlId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ParameterControlId", 1)) + } + if s.SourceParameterName == nil { + invalidParams.Add(request.NewErrParamRequired("SourceParameterName")) + } + if s.SourceParameterName != nil && len(*s.SourceParameterName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SourceParameterName", 1)) + } + if s.Title == nil { + invalidParams.Add(request.NewErrParamRequired("Title")) + } + if s.Title != nil && len(*s.Title) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Title", 1)) + } + if s.CascadingControlConfiguration != nil { + if err := s.CascadingControlConfiguration.Validate(); err != nil { + invalidParams.AddNested("CascadingControlConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.SelectableValues != nil { + if err := s.SelectableValues.Validate(); err != nil { + invalidParams.AddNested("SelectableValues", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -24807,79 +56669,57 @@ func (s *DescribeAccountSettingsInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DescribeAccountSettingsInput) SetAwsAccountId(v string) *DescribeAccountSettingsInput { - s.AwsAccountId = &v +// SetCascadingControlConfiguration sets the CascadingControlConfiguration field's value. +func (s *ParameterListControl) SetCascadingControlConfiguration(v *CascadingControlConfiguration) *ParameterListControl { + s.CascadingControlConfiguration = v return s } -type DescribeAccountSettingsOutput struct { - _ struct{} `type:"structure"` - - // The Amazon QuickSight settings for this Amazon Web Services account. This - // information includes the edition of Amazon Amazon QuickSight that you subscribed - // to (Standard or Enterprise) and the notification email for the Amazon QuickSight - // subscription. - // - // In the QuickSight console, the Amazon QuickSight subscription is sometimes - // referred to as a QuickSight "account" even though it's technically not an - // account by itself. Instead, it's a subscription to the Amazon QuickSight - // service for your Amazon Web Services account. The edition that you subscribe - // to applies to Amazon QuickSight in every Amazon Web Services Region where - // you use it. - AccountSettings *AccountSettings `type:"structure"` - - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` - - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` +// SetDisplayOptions sets the DisplayOptions field's value. +func (s *ParameterListControl) SetDisplayOptions(v *ListControlDisplayOptions) *ParameterListControl { + s.DisplayOptions = v + return s } -// 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 DescribeAccountSettingsOutput) String() string { - return awsutil.Prettify(s) +// SetParameterControlId sets the ParameterControlId field's value. +func (s *ParameterListControl) SetParameterControlId(v string) *ParameterListControl { + s.ParameterControlId = &v + return 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 DescribeAccountSettingsOutput) GoString() string { - return s.String() +// SetSelectableValues sets the SelectableValues field's value. +func (s *ParameterListControl) SetSelectableValues(v *ParameterSelectableValues) *ParameterListControl { + s.SelectableValues = v + return s } -// SetAccountSettings sets the AccountSettings field's value. -func (s *DescribeAccountSettingsOutput) SetAccountSettings(v *AccountSettings) *DescribeAccountSettingsOutput { - s.AccountSettings = v +// SetSourceParameterName sets the SourceParameterName field's value. +func (s *ParameterListControl) SetSourceParameterName(v string) *ParameterListControl { + s.SourceParameterName = &v return s } -// SetRequestId sets the RequestId field's value. -func (s *DescribeAccountSettingsOutput) SetRequestId(v string) *DescribeAccountSettingsOutput { - s.RequestId = &v +// SetTitle sets the Title field's value. +func (s *ParameterListControl) SetTitle(v string) *ParameterListControl { + s.Title = &v return s } -// SetStatus sets the Status field's value. -func (s *DescribeAccountSettingsOutput) SetStatus(v int64) *DescribeAccountSettingsOutput { - s.Status = &v +// SetType sets the Type field's value. +func (s *ParameterListControl) SetType(v string) *ParameterListControl { + s.Type = &v return s } -type DescribeAccountSubscriptionInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// A list of selectable values that are used in a control. +type ParameterSelectableValues struct { + _ struct{} `type:"structure"` - // The Amazon Web Services account ID associated with your Amazon QuickSight - // account. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // The column identifier that fetches values from the data set. + LinkToDataSetColumn *ColumnIdentifier `type:"structure"` + + // The values that are used in ParameterSelectableValues. + Values []*string `type:"list"` } // String returns the string representation. @@ -24887,7 +56727,7 @@ type DescribeAccountSubscriptionInput struct { // 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 DescribeAccountSubscriptionInput) String() string { +func (s ParameterSelectableValues) String() string { return awsutil.Prettify(s) } @@ -24896,18 +56736,17 @@ func (s DescribeAccountSubscriptionInput) String() string { // 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 DescribeAccountSubscriptionInput) GoString() string { +func (s ParameterSelectableValues) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeAccountSubscriptionInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeAccountSubscriptionInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) +func (s *ParameterSelectableValues) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ParameterSelectableValues"} + if s.LinkToDataSetColumn != nil { + if err := s.LinkToDataSetColumn.Validate(); err != nil { + invalidParams.AddNested("LinkToDataSetColumn", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -24916,34 +56755,55 @@ func (s *DescribeAccountSubscriptionInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DescribeAccountSubscriptionInput) SetAwsAccountId(v string) *DescribeAccountSubscriptionInput { - s.AwsAccountId = &v +// SetLinkToDataSetColumn sets the LinkToDataSetColumn field's value. +func (s *ParameterSelectableValues) SetLinkToDataSetColumn(v *ColumnIdentifier) *ParameterSelectableValues { + s.LinkToDataSetColumn = v return s } -type DescribeAccountSubscriptionOutput struct { +// SetValues sets the Values field's value. +func (s *ParameterSelectableValues) SetValues(v []*string) *ParameterSelectableValues { + s.Values = v + return s +} + +// A control to display a horizontal toggle bar. This is used to change a value +// by sliding the toggle. +type ParameterSliderControl struct { _ struct{} `type:"structure"` - // A structure that contains the following elements: - // - // * Your Amazon QuickSight account name. + // The display options of a control. + DisplayOptions *SliderControlDisplayOptions `type:"structure"` + + // The smaller value that is displayed at the left of the slider. // - // * The edition of Amazon QuickSight that your account is using. + // MaximumValue is a required field + MaximumValue *float64 `type:"double" required:"true"` + + // The larger value that is displayed at the right of the slider. // - // * The notification email address that is associated with the Amazon QuickSight - // account. + // MinimumValue is a required field + MinimumValue *float64 `type:"double" required:"true"` + + // The ID of the ParameterSliderControl. // - // * The authentication type of the Amazon QuickSight account. + // ParameterControlId is a required field + ParameterControlId *string `min:"1" type:"string" required:"true"` + + // The source parameter name of the ParameterSliderControl. // - // * The status of the Amazon QuickSight account's subscription. - AccountInfo *AccountInfo `type:"structure"` + // SourceParameterName is a required field + SourceParameterName *string `min:"1" type:"string" required:"true"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The number of increments that the slider bar is divided into. + // + // StepSize is a required field + StepSize *float64 `type:"double" required:"true"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The title of the ParameterSliderControl. + // + // Title is a required field + Title *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -24951,7 +56811,7 @@ type DescribeAccountSubscriptionOutput struct { // 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 DescribeAccountSubscriptionOutput) String() string { +func (s ParameterSliderControl) String() string { return awsutil.Prettify(s) } @@ -24960,42 +56820,113 @@ func (s DescribeAccountSubscriptionOutput) String() string { // 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 DescribeAccountSubscriptionOutput) GoString() string { +func (s ParameterSliderControl) GoString() string { return s.String() } -// SetAccountInfo sets the AccountInfo field's value. -func (s *DescribeAccountSubscriptionOutput) SetAccountInfo(v *AccountInfo) *DescribeAccountSubscriptionOutput { - s.AccountInfo = v +// Validate inspects the fields of the type to determine if they are valid. +func (s *ParameterSliderControl) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ParameterSliderControl"} + if s.MaximumValue == nil { + invalidParams.Add(request.NewErrParamRequired("MaximumValue")) + } + if s.MinimumValue == nil { + invalidParams.Add(request.NewErrParamRequired("MinimumValue")) + } + if s.ParameterControlId == nil { + invalidParams.Add(request.NewErrParamRequired("ParameterControlId")) + } + if s.ParameterControlId != nil && len(*s.ParameterControlId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ParameterControlId", 1)) + } + if s.SourceParameterName == nil { + invalidParams.Add(request.NewErrParamRequired("SourceParameterName")) + } + if s.SourceParameterName != nil && len(*s.SourceParameterName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SourceParameterName", 1)) + } + if s.StepSize == nil { + invalidParams.Add(request.NewErrParamRequired("StepSize")) + } + if s.Title == nil { + invalidParams.Add(request.NewErrParamRequired("Title")) + } + if s.Title != nil && len(*s.Title) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Title", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDisplayOptions sets the DisplayOptions field's value. +func (s *ParameterSliderControl) SetDisplayOptions(v *SliderControlDisplayOptions) *ParameterSliderControl { + s.DisplayOptions = v return s } -// SetRequestId sets the RequestId field's value. -func (s *DescribeAccountSubscriptionOutput) SetRequestId(v string) *DescribeAccountSubscriptionOutput { - s.RequestId = &v +// SetMaximumValue sets the MaximumValue field's value. +func (s *ParameterSliderControl) SetMaximumValue(v float64) *ParameterSliderControl { + s.MaximumValue = &v return s } -// SetStatus sets the Status field's value. -func (s *DescribeAccountSubscriptionOutput) SetStatus(v int64) *DescribeAccountSubscriptionOutput { - s.Status = &v +// SetMinimumValue sets the MinimumValue field's value. +func (s *ParameterSliderControl) SetMinimumValue(v float64) *ParameterSliderControl { + s.MinimumValue = &v return s } -type DescribeAnalysisInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// SetParameterControlId sets the ParameterControlId field's value. +func (s *ParameterSliderControl) SetParameterControlId(v string) *ParameterSliderControl { + s.ParameterControlId = &v + return s +} - // The ID of the analysis that you're describing. The ID is part of the URL - // of the analysis. +// SetSourceParameterName sets the SourceParameterName field's value. +func (s *ParameterSliderControl) SetSourceParameterName(v string) *ParameterSliderControl { + s.SourceParameterName = &v + return s +} + +// SetStepSize sets the StepSize field's value. +func (s *ParameterSliderControl) SetStepSize(v float64) *ParameterSliderControl { + s.StepSize = &v + return s +} + +// SetTitle sets the Title field's value. +func (s *ParameterSliderControl) SetTitle(v string) *ParameterSliderControl { + s.Title = &v + return s +} + +// A control to display a text box that is used to enter multiple entries. +type ParameterTextAreaControl struct { + _ struct{} `type:"structure"` + + // The delimiter that is used to separate the lines in text. + Delimiter *string `min:"1" type:"string"` + + // The display options of a control. + DisplayOptions *TextAreaControlDisplayOptions `type:"structure"` + + // The ID of the ParameterTextAreaControl. // - // AnalysisId is a required field - AnalysisId *string `location:"uri" locationName:"AnalysisId" min:"1" type:"string" required:"true"` + // ParameterControlId is a required field + ParameterControlId *string `min:"1" type:"string" required:"true"` - // The ID of the Amazon Web Services account that contains the analysis. You - // must be using the Amazon Web Services account that the analysis is in. + // The source parameter name of the ParameterTextAreaControl. // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // SourceParameterName is a required field + SourceParameterName *string `min:"1" type:"string" required:"true"` + + // The title of the ParameterTextAreaControl. + // + // Title is a required field + Title *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -25003,7 +56934,7 @@ type DescribeAnalysisInput struct { // 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 DescribeAnalysisInput) String() string { +func (s ParameterTextAreaControl) String() string { return awsutil.Prettify(s) } @@ -25012,24 +56943,33 @@ func (s DescribeAnalysisInput) String() string { // 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 DescribeAnalysisInput) GoString() string { +func (s ParameterTextAreaControl) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeAnalysisInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeAnalysisInput"} - if s.AnalysisId == nil { - invalidParams.Add(request.NewErrParamRequired("AnalysisId")) +func (s *ParameterTextAreaControl) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ParameterTextAreaControl"} + if s.Delimiter != nil && len(*s.Delimiter) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Delimiter", 1)) } - if s.AnalysisId != nil && len(*s.AnalysisId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("AnalysisId", 1)) + if s.ParameterControlId == nil { + invalidParams.Add(request.NewErrParamRequired("ParameterControlId")) } - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + if s.ParameterControlId != nil && len(*s.ParameterControlId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ParameterControlId", 1)) } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + if s.SourceParameterName == nil { + invalidParams.Add(request.NewErrParamRequired("SourceParameterName")) + } + if s.SourceParameterName != nil && len(*s.SourceParameterName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SourceParameterName", 1)) + } + if s.Title == nil { + invalidParams.Add(request.NewErrParamRequired("Title")) + } + if s.Title != nil && len(*s.Title) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Title", 1)) } if invalidParams.Len() > 0 { @@ -25038,30 +56978,57 @@ func (s *DescribeAnalysisInput) Validate() error { return nil } -// SetAnalysisId sets the AnalysisId field's value. -func (s *DescribeAnalysisInput) SetAnalysisId(v string) *DescribeAnalysisInput { - s.AnalysisId = &v +// SetDelimiter sets the Delimiter field's value. +func (s *ParameterTextAreaControl) SetDelimiter(v string) *ParameterTextAreaControl { + s.Delimiter = &v return s } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DescribeAnalysisInput) SetAwsAccountId(v string) *DescribeAnalysisInput { - s.AwsAccountId = &v +// SetDisplayOptions sets the DisplayOptions field's value. +func (s *ParameterTextAreaControl) SetDisplayOptions(v *TextAreaControlDisplayOptions) *ParameterTextAreaControl { + s.DisplayOptions = v return s } -type DescribeAnalysisOutput struct { +// SetParameterControlId sets the ParameterControlId field's value. +func (s *ParameterTextAreaControl) SetParameterControlId(v string) *ParameterTextAreaControl { + s.ParameterControlId = &v + return s +} + +// SetSourceParameterName sets the SourceParameterName field's value. +func (s *ParameterTextAreaControl) SetSourceParameterName(v string) *ParameterTextAreaControl { + s.SourceParameterName = &v + return s +} + +// SetTitle sets the Title field's value. +func (s *ParameterTextAreaControl) SetTitle(v string) *ParameterTextAreaControl { + s.Title = &v + return s +} + +// A control to display a text box that is used to enter a single entry. +type ParameterTextFieldControl struct { _ struct{} `type:"structure"` - // A metadata structure that contains summary information for the analysis that - // you're describing. - Analysis *Analysis `type:"structure"` + // The display options of a control. + DisplayOptions *TextFieldControlDisplayOptions `type:"structure"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The ID of the ParameterTextFieldControl. + // + // ParameterControlId is a required field + ParameterControlId *string `min:"1" type:"string" required:"true"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The source parameter name of the ParameterTextFieldControl. + // + // SourceParameterName is a required field + SourceParameterName *string `min:"1" type:"string" required:"true"` + + // The title of the ParameterTextFieldControl. + // + // Title is a required field + Title *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -25069,7 +57036,7 @@ type DescribeAnalysisOutput struct { // 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 DescribeAnalysisOutput) String() string { +func (s ParameterTextFieldControl) String() string { return awsutil.Prettify(s) } @@ -25078,43 +57045,77 @@ func (s DescribeAnalysisOutput) String() string { // 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 DescribeAnalysisOutput) GoString() string { +func (s ParameterTextFieldControl) GoString() string { return s.String() } -// SetAnalysis sets the Analysis field's value. -func (s *DescribeAnalysisOutput) SetAnalysis(v *Analysis) *DescribeAnalysisOutput { - s.Analysis = v +// Validate inspects the fields of the type to determine if they are valid. +func (s *ParameterTextFieldControl) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ParameterTextFieldControl"} + if s.ParameterControlId == nil { + invalidParams.Add(request.NewErrParamRequired("ParameterControlId")) + } + if s.ParameterControlId != nil && len(*s.ParameterControlId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ParameterControlId", 1)) + } + if s.SourceParameterName == nil { + invalidParams.Add(request.NewErrParamRequired("SourceParameterName")) + } + if s.SourceParameterName != nil && len(*s.SourceParameterName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SourceParameterName", 1)) + } + if s.Title == nil { + invalidParams.Add(request.NewErrParamRequired("Title")) + } + if s.Title != nil && len(*s.Title) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Title", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDisplayOptions sets the DisplayOptions field's value. +func (s *ParameterTextFieldControl) SetDisplayOptions(v *TextFieldControlDisplayOptions) *ParameterTextFieldControl { + s.DisplayOptions = v return s } -// SetRequestId sets the RequestId field's value. -func (s *DescribeAnalysisOutput) SetRequestId(v string) *DescribeAnalysisOutput { - s.RequestId = &v +// SetParameterControlId sets the ParameterControlId field's value. +func (s *ParameterTextFieldControl) SetParameterControlId(v string) *ParameterTextFieldControl { + s.ParameterControlId = &v return s } -// SetStatus sets the Status field's value. -func (s *DescribeAnalysisOutput) SetStatus(v int64) *DescribeAnalysisOutput { - s.Status = &v +// SetSourceParameterName sets the SourceParameterName field's value. +func (s *ParameterTextFieldControl) SetSourceParameterName(v string) *ParameterTextFieldControl { + s.SourceParameterName = &v return s } -type DescribeAnalysisPermissionsInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// SetTitle sets the Title field's value. +func (s *ParameterTextFieldControl) SetTitle(v string) *ParameterTextFieldControl { + s.Title = &v + return s +} - // The ID of the analysis whose permissions you're describing. The ID is part - // of the analysis URL. - // - // AnalysisId is a required field - AnalysisId *string `location:"uri" locationName:"AnalysisId" min:"1" type:"string" required:"true"` +// A list of Amazon QuickSight parameters and the list's override values. +type Parameters struct { + _ struct{} `type:"structure"` - // The ID of the Amazon Web Services account that contains the analysis whose - // permissions you're describing. You must be using the Amazon Web Services - // account that the analysis is in. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // The parameters that have a data type of date-time. + DateTimeParameters []*DateTimeParameter `type:"list"` + + // The parameters that have a data type of decimal. + DecimalParameters []*DecimalParameter `type:"list"` + + // The parameters that have a data type of integer. + IntegerParameters []*IntegerParameter `type:"list"` + + // The parameters that have a data type of string. + StringParameters []*StringParameter `type:"list"` } // String returns the string representation. @@ -25122,7 +57123,7 @@ type DescribeAnalysisPermissionsInput struct { // 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 DescribeAnalysisPermissionsInput) String() string { +func (s Parameters) String() string { return awsutil.Prettify(s) } @@ -25131,24 +57132,52 @@ func (s DescribeAnalysisPermissionsInput) String() string { // 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 DescribeAnalysisPermissionsInput) GoString() string { +func (s Parameters) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeAnalysisPermissionsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeAnalysisPermissionsInput"} - if s.AnalysisId == nil { - invalidParams.Add(request.NewErrParamRequired("AnalysisId")) +func (s *Parameters) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Parameters"} + if s.DateTimeParameters != nil { + for i, v := range s.DateTimeParameters { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DateTimeParameters", i), err.(request.ErrInvalidParams)) + } + } } - if s.AnalysisId != nil && len(*s.AnalysisId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("AnalysisId", 1)) + if s.DecimalParameters != nil { + for i, v := range s.DecimalParameters { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DecimalParameters", i), err.(request.ErrInvalidParams)) + } + } } - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + if s.IntegerParameters != nil { + for i, v := range s.IntegerParameters { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "IntegerParameters", i), err.(request.ErrInvalidParams)) + } + } } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + if s.StringParameters != nil { + for i, v := range s.StringParameters { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "StringParameters", i), err.(request.ErrInvalidParams)) + } + } } if invalidParams.Len() > 0 { @@ -25157,36 +57186,39 @@ func (s *DescribeAnalysisPermissionsInput) Validate() error { return nil } -// SetAnalysisId sets the AnalysisId field's value. -func (s *DescribeAnalysisPermissionsInput) SetAnalysisId(v string) *DescribeAnalysisPermissionsInput { - s.AnalysisId = &v +// SetDateTimeParameters sets the DateTimeParameters field's value. +func (s *Parameters) SetDateTimeParameters(v []*DateTimeParameter) *Parameters { + s.DateTimeParameters = v return s } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DescribeAnalysisPermissionsInput) SetAwsAccountId(v string) *DescribeAnalysisPermissionsInput { - s.AwsAccountId = &v +// SetDecimalParameters sets the DecimalParameters field's value. +func (s *Parameters) SetDecimalParameters(v []*DecimalParameter) *Parameters { + s.DecimalParameters = v return s } -type DescribeAnalysisPermissionsOutput struct { - _ struct{} `type:"structure"` - - // The Amazon Resource Name (ARN) of the analysis whose permissions you're describing. - AnalysisArn *string `type:"string"` +// SetIntegerParameters sets the IntegerParameters field's value. +func (s *Parameters) SetIntegerParameters(v []*IntegerParameter) *Parameters { + s.IntegerParameters = v + return s +} - // The ID of the analysis whose permissions you're describing. - AnalysisId *string `min:"1" type:"string"` +// SetStringParameters sets the StringParameters field's value. +func (s *Parameters) SetStringParameters(v []*StringParameter) *Parameters { + s.StringParameters = v + return s +} - // A structure that describes the principals and the resource-level permissions - // on an analysis. - Permissions []*ResourcePermission `min:"1" type:"list"` +// The percent range in the visible range. +type PercentVisibleRange struct { + _ struct{} `type:"structure"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The lower bound of the range. + From *float64 `type:"double"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The top bound of the range. + To *float64 `type:"double"` } // String returns the string representation. @@ -25194,7 +57226,7 @@ type DescribeAnalysisPermissionsOutput struct { // 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 DescribeAnalysisPermissionsOutput) String() string { +func (s PercentVisibleRange) String() string { return awsutil.Prettify(s) } @@ -25203,60 +57235,51 @@ func (s DescribeAnalysisPermissionsOutput) String() string { // 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 DescribeAnalysisPermissionsOutput) GoString() string { +func (s PercentVisibleRange) GoString() string { return s.String() } -// SetAnalysisArn sets the AnalysisArn field's value. -func (s *DescribeAnalysisPermissionsOutput) SetAnalysisArn(v string) *DescribeAnalysisPermissionsOutput { - s.AnalysisArn = &v - return s -} - -// SetAnalysisId sets the AnalysisId field's value. -func (s *DescribeAnalysisPermissionsOutput) SetAnalysisId(v string) *DescribeAnalysisPermissionsOutput { - s.AnalysisId = &v +// SetFrom sets the From field's value. +func (s *PercentVisibleRange) SetFrom(v float64) *PercentVisibleRange { + s.From = &v return s } -// SetPermissions sets the Permissions field's value. -func (s *DescribeAnalysisPermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeAnalysisPermissionsOutput { - s.Permissions = v +// SetTo sets the To field's value. +func (s *PercentVisibleRange) SetTo(v float64) *PercentVisibleRange { + s.To = &v return s } -// SetRequestId sets the RequestId field's value. -func (s *DescribeAnalysisPermissionsOutput) SetRequestId(v string) *DescribeAnalysisPermissionsOutput { - s.RequestId = &v - return s -} +// The options that determine the percentage display format configuration. +type PercentageDisplayFormatConfiguration struct { + _ struct{} `type:"structure"` -// SetStatus sets the Status field's value. -func (s *DescribeAnalysisPermissionsOutput) SetStatus(v int64) *DescribeAnalysisPermissionsOutput { - s.Status = &v - return s -} + // The option that determines the decimal places configuration. + DecimalPlacesConfiguration *DecimalPlacesConfiguration `type:"structure"` -type DescribeDashboardInput struct { - _ struct{} `type:"structure" nopayload:"true"` + // The options that determine the negative value configuration. + NegativeValueConfiguration *NegativeValueConfiguration `type:"structure"` - // The alias name. - AliasName *string `location:"querystring" locationName:"alias-name" min:"1" type:"string"` + // The options that determine the null value format configuration. + NullValueFormatConfiguration *NullValueFormatConfiguration `type:"structure"` - // The ID of the Amazon Web Services account that contains the dashboard that - // you're describing. + // Determines the prefix value of the percentage format. // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // Prefix is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by PercentageDisplayFormatConfiguration's + // String and GoString methods. + Prefix *string `min:"1" type:"string" sensitive:"true"` - // The ID for the dashboard. - // - // DashboardId is a required field - DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"` + // The options that determine the numeric separator configuration. + SeparatorConfiguration *NumericSeparatorConfiguration `type:"structure"` - // The version number for the dashboard. If a version number isn't passed, the - // latest published dashboard version is described. - VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"` + // Determines the suffix value of the percentage format. + // + // Suffix is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by PercentageDisplayFormatConfiguration's + // String and GoString methods. + Suffix *string `min:"1" type:"string" sensitive:"true"` } // String returns the string representation. @@ -25264,7 +57287,7 @@ type DescribeDashboardInput struct { // 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 DescribeDashboardInput) String() string { +func (s PercentageDisplayFormatConfiguration) String() string { return awsutil.Prettify(s) } @@ -25273,30 +57296,33 @@ func (s DescribeDashboardInput) String() string { // 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 DescribeDashboardInput) GoString() string { +func (s PercentageDisplayFormatConfiguration) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeDashboardInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeDashboardInput"} - if s.AliasName != nil && len(*s.AliasName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("AliasName", 1)) - } - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) +func (s *PercentageDisplayFormatConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PercentageDisplayFormatConfiguration"} + if s.Prefix != nil && len(*s.Prefix) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Prefix", 1)) } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + if s.Suffix != nil && len(*s.Suffix) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Suffix", 1)) } - if s.DashboardId == nil { - invalidParams.Add(request.NewErrParamRequired("DashboardId")) + if s.DecimalPlacesConfiguration != nil { + if err := s.DecimalPlacesConfiguration.Validate(); err != nil { + invalidParams.AddNested("DecimalPlacesConfiguration", err.(request.ErrInvalidParams)) + } } - if s.DashboardId != nil && len(*s.DashboardId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1)) + if s.NegativeValueConfiguration != nil { + if err := s.NegativeValueConfiguration.Validate(); err != nil { + invalidParams.AddNested("NegativeValueConfiguration", err.(request.ErrInvalidParams)) + } } - if s.VersionNumber != nil && *s.VersionNumber < 1 { - invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1)) + if s.NullValueFormatConfiguration != nil { + if err := s.NullValueFormatConfiguration.Validate(); err != nil { + invalidParams.AddNested("NullValueFormatConfiguration", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -25305,41 +57331,49 @@ func (s *DescribeDashboardInput) Validate() error { return nil } -// SetAliasName sets the AliasName field's value. -func (s *DescribeDashboardInput) SetAliasName(v string) *DescribeDashboardInput { - s.AliasName = &v +// SetDecimalPlacesConfiguration sets the DecimalPlacesConfiguration field's value. +func (s *PercentageDisplayFormatConfiguration) SetDecimalPlacesConfiguration(v *DecimalPlacesConfiguration) *PercentageDisplayFormatConfiguration { + s.DecimalPlacesConfiguration = v return s } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DescribeDashboardInput) SetAwsAccountId(v string) *DescribeDashboardInput { - s.AwsAccountId = &v +// SetNegativeValueConfiguration sets the NegativeValueConfiguration field's value. +func (s *PercentageDisplayFormatConfiguration) SetNegativeValueConfiguration(v *NegativeValueConfiguration) *PercentageDisplayFormatConfiguration { + s.NegativeValueConfiguration = v return s } -// SetDashboardId sets the DashboardId field's value. -func (s *DescribeDashboardInput) SetDashboardId(v string) *DescribeDashboardInput { - s.DashboardId = &v +// SetNullValueFormatConfiguration sets the NullValueFormatConfiguration field's value. +func (s *PercentageDisplayFormatConfiguration) SetNullValueFormatConfiguration(v *NullValueFormatConfiguration) *PercentageDisplayFormatConfiguration { + s.NullValueFormatConfiguration = v return s } -// SetVersionNumber sets the VersionNumber field's value. -func (s *DescribeDashboardInput) SetVersionNumber(v int64) *DescribeDashboardInput { - s.VersionNumber = &v +// SetPrefix sets the Prefix field's value. +func (s *PercentageDisplayFormatConfiguration) SetPrefix(v string) *PercentageDisplayFormatConfiguration { + s.Prefix = &v return s } -type DescribeDashboardOutput struct { - _ struct{} `type:"structure"` +// SetSeparatorConfiguration sets the SeparatorConfiguration field's value. +func (s *PercentageDisplayFormatConfiguration) SetSeparatorConfiguration(v *NumericSeparatorConfiguration) *PercentageDisplayFormatConfiguration { + s.SeparatorConfiguration = v + return s +} - // Information about the dashboard. - Dashboard *Dashboard `type:"structure"` +// SetSuffix sets the Suffix field's value. +func (s *PercentageDisplayFormatConfiguration) SetSuffix(v string) *PercentageDisplayFormatConfiguration { + s.Suffix = &v + return s +} - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` +// An aggregation based on the percentile of values in a dimension or measure. +type PercentileAggregation struct { + _ struct{} `type:"structure"` - // The HTTP status of this request. - Status *int64 `location:"statusCode" type:"integer"` + // The percentile value. This value can be any numeric constant 0–100. A percentile + // value of 50 computes the median value of the measure. + PercentileValue *float64 `type:"double"` } // String returns the string representation. @@ -25347,7 +57381,7 @@ type DescribeDashboardOutput struct { // 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 DescribeDashboardOutput) String() string { +func (s PercentileAggregation) String() string { return awsutil.Prettify(s) } @@ -25356,41 +57390,35 @@ func (s DescribeDashboardOutput) String() string { // 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 DescribeDashboardOutput) GoString() string { +func (s PercentileAggregation) GoString() string { return s.String() } -// SetDashboard sets the Dashboard field's value. -func (s *DescribeDashboardOutput) SetDashboard(v *Dashboard) *DescribeDashboardOutput { - s.Dashboard = v +// SetPercentileValue sets the PercentileValue field's value. +func (s *PercentileAggregation) SetPercentileValue(v float64) *PercentileAggregation { + s.PercentileValue = &v return s } -// SetRequestId sets the RequestId field's value. -func (s *DescribeDashboardOutput) SetRequestId(v string) *DescribeDashboardOutput { - s.RequestId = &v - return s -} +// The period over period computation configuration. +type PeriodOverPeriodComputation struct { + _ struct{} `type:"structure"` -// SetStatus sets the Status field's value. -func (s *DescribeDashboardOutput) SetStatus(v int64) *DescribeDashboardOutput { - s.Status = &v - return s -} + // The ID for a computation. + // + // ComputationId is a required field + ComputationId *string `min:"1" type:"string" required:"true"` -type DescribeDashboardPermissionsInput struct { - _ struct{} `type:"structure" nopayload:"true"` + // The name of a computation. + Name *string `type:"string"` - // The ID of the Amazon Web Services account that contains the dashboard that - // you're describing permissions for. + // The time field that is used in a computation. // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // Time is a required field + Time *DimensionField `type:"structure" required:"true"` - // The ID for the dashboard, also added to the IAM policy. - // - // DashboardId is a required field - DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"` + // The value field that is used in a computation. + Value *MeasureField `type:"structure"` } // String returns the string representation. @@ -25398,7 +57426,7 @@ type DescribeDashboardPermissionsInput struct { // 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 DescribeDashboardPermissionsInput) String() string { +func (s PeriodOverPeriodComputation) String() string { return awsutil.Prettify(s) } @@ -25407,24 +57435,31 @@ func (s DescribeDashboardPermissionsInput) String() string { // 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 DescribeDashboardPermissionsInput) GoString() string { +func (s PeriodOverPeriodComputation) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeDashboardPermissionsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeDashboardPermissionsInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) +func (s *PeriodOverPeriodComputation) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PeriodOverPeriodComputation"} + if s.ComputationId == nil { + invalidParams.Add(request.NewErrParamRequired("ComputationId")) } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + if s.ComputationId != nil && len(*s.ComputationId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ComputationId", 1)) } - if s.DashboardId == nil { - invalidParams.Add(request.NewErrParamRequired("DashboardId")) + if s.Time == nil { + invalidParams.Add(request.NewErrParamRequired("Time")) } - if s.DashboardId != nil && len(*s.DashboardId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1)) + if s.Time != nil { + if err := s.Time.Validate(); err != nil { + invalidParams.AddNested("Time", err.(request.ErrInvalidParams)) + } + } + if s.Value != nil { + if err := s.Value.Validate(); err != nil { + invalidParams.AddNested("Value", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -25433,41 +57468,57 @@ func (s *DescribeDashboardPermissionsInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DescribeDashboardPermissionsInput) SetAwsAccountId(v string) *DescribeDashboardPermissionsInput { - s.AwsAccountId = &v +// SetComputationId sets the ComputationId field's value. +func (s *PeriodOverPeriodComputation) SetComputationId(v string) *PeriodOverPeriodComputation { + s.ComputationId = &v return s } -// SetDashboardId sets the DashboardId field's value. -func (s *DescribeDashboardPermissionsInput) SetDashboardId(v string) *DescribeDashboardPermissionsInput { - s.DashboardId = &v +// SetName sets the Name field's value. +func (s *PeriodOverPeriodComputation) SetName(v string) *PeriodOverPeriodComputation { + s.Name = &v return s } -type DescribeDashboardPermissionsOutput struct { - _ struct{} `type:"structure"` +// SetTime sets the Time field's value. +func (s *PeriodOverPeriodComputation) SetTime(v *DimensionField) *PeriodOverPeriodComputation { + s.Time = v + return s +} - // The Amazon Resource Name (ARN) of the dashboard. - DashboardArn *string `type:"string"` +// SetValue sets the Value field's value. +func (s *PeriodOverPeriodComputation) SetValue(v *MeasureField) *PeriodOverPeriodComputation { + s.Value = v + return s +} - // The ID for the dashboard. - DashboardId *string `min:"1" type:"string"` +// The period to date computation configuration. +type PeriodToDateComputation struct { + _ struct{} `type:"structure"` - // A structure that contains the configuration of a shareable link that grants - // access to the dashboard. Your users can use the link to view and interact - // with the dashboard, if the dashboard has been shared with them. For more - // information about sharing dashboards, see Sharing Dashboards (https://docs.aws.amazon.com/quicksight/latest/user/sharing-a-dashboard.html). - LinkSharingConfiguration *LinkSharingConfiguration `type:"structure"` + // The ID for a computation. + // + // ComputationId is a required field + ComputationId *string `min:"1" type:"string" required:"true"` - // A structure that contains the permissions for the dashboard. - Permissions []*ResourcePermission `min:"1" type:"list"` + // The name of a computation. + Name *string `type:"string"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The time granularity setup of period to date computation. Choose from the + // following options: + // + // * YEAR: Year to date. + // + // * MONTH: Month to date. + PeriodTimeGranularity *string `type:"string" enum:"TimeGranularity"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The time field that is used in a computation. + // + // Time is a required field + Time *DimensionField `type:"structure" required:"true"` + + // The value field that is used in a computation. + Value *MeasureField `type:"structure"` } // String returns the string representation. @@ -25475,7 +57526,7 @@ type DescribeDashboardPermissionsOutput struct { // 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 DescribeDashboardPermissionsOutput) String() string { +func (s PeriodToDateComputation) String() string { return awsutil.Prettify(s) } @@ -25484,59 +57535,83 @@ func (s DescribeDashboardPermissionsOutput) String() string { // 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 DescribeDashboardPermissionsOutput) GoString() string { +func (s PeriodToDateComputation) GoString() string { return s.String() } -// SetDashboardArn sets the DashboardArn field's value. -func (s *DescribeDashboardPermissionsOutput) SetDashboardArn(v string) *DescribeDashboardPermissionsOutput { - s.DashboardArn = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *PeriodToDateComputation) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PeriodToDateComputation"} + if s.ComputationId == nil { + invalidParams.Add(request.NewErrParamRequired("ComputationId")) + } + if s.ComputationId != nil && len(*s.ComputationId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ComputationId", 1)) + } + if s.Time == nil { + invalidParams.Add(request.NewErrParamRequired("Time")) + } + if s.Time != nil { + if err := s.Time.Validate(); err != nil { + invalidParams.AddNested("Time", err.(request.ErrInvalidParams)) + } + } + if s.Value != nil { + if err := s.Value.Validate(); err != nil { + invalidParams.AddNested("Value", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetDashboardId sets the DashboardId field's value. -func (s *DescribeDashboardPermissionsOutput) SetDashboardId(v string) *DescribeDashboardPermissionsOutput { - s.DashboardId = &v +// SetComputationId sets the ComputationId field's value. +func (s *PeriodToDateComputation) SetComputationId(v string) *PeriodToDateComputation { + s.ComputationId = &v return s } -// SetLinkSharingConfiguration sets the LinkSharingConfiguration field's value. -func (s *DescribeDashboardPermissionsOutput) SetLinkSharingConfiguration(v *LinkSharingConfiguration) *DescribeDashboardPermissionsOutput { - s.LinkSharingConfiguration = v +// SetName sets the Name field's value. +func (s *PeriodToDateComputation) SetName(v string) *PeriodToDateComputation { + s.Name = &v return s } -// SetPermissions sets the Permissions field's value. -func (s *DescribeDashboardPermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeDashboardPermissionsOutput { - s.Permissions = v +// SetPeriodTimeGranularity sets the PeriodTimeGranularity field's value. +func (s *PeriodToDateComputation) SetPeriodTimeGranularity(v string) *PeriodToDateComputation { + s.PeriodTimeGranularity = &v return s } -// SetRequestId sets the RequestId field's value. -func (s *DescribeDashboardPermissionsOutput) SetRequestId(v string) *DescribeDashboardPermissionsOutput { - s.RequestId = &v +// SetTime sets the Time field's value. +func (s *PeriodToDateComputation) SetTime(v *DimensionField) *PeriodToDateComputation { + s.Time = v return s } -// SetStatus sets the Status field's value. -func (s *DescribeDashboardPermissionsOutput) SetStatus(v int64) *DescribeDashboardPermissionsOutput { - s.Status = &v +// SetValue sets the Value field's value. +func (s *PeriodToDateComputation) SetValue(v *MeasureField) *PeriodToDateComputation { + s.Value = v return s } -type DescribeDataSetInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// A view of a data source that contains information about the shape of the +// data in the underlying source. This is a variant type structure. For this +// structure to be valid, only one of the attributes can be non-null. +type PhysicalTable struct { + _ struct{} `type:"structure"` - // The Amazon Web Services account ID. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // A physical table type built from the results of the custom SQL query. + CustomSql *CustomSql `type:"structure"` - // The ID for the dataset that you want to create. This ID is unique per Amazon - // Web Services Region for each Amazon Web Services account. - // - // DataSetId is a required field - DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"` + // A physical table type for relational data sources. + RelationalTable *RelationalTable `type:"structure"` + + // A physical table type for as S3 data source. + S3Source *S3Source `type:"structure"` } // String returns the string representation. @@ -25544,7 +57619,7 @@ type DescribeDataSetInput struct { // 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 DescribeDataSetInput) String() string { +func (s PhysicalTable) String() string { return awsutil.Prettify(s) } @@ -25553,24 +57628,27 @@ func (s DescribeDataSetInput) String() string { // 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 DescribeDataSetInput) GoString() string { +func (s PhysicalTable) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeDataSetInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeDataSetInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) +func (s *PhysicalTable) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PhysicalTable"} + if s.CustomSql != nil { + if err := s.CustomSql.Validate(); err != nil { + invalidParams.AddNested("CustomSql", err.(request.ErrInvalidParams)) + } } - if s.DataSetId == nil { - invalidParams.Add(request.NewErrParamRequired("DataSetId")) + if s.RelationalTable != nil { + if err := s.RelationalTable.Validate(); err != nil { + invalidParams.AddNested("RelationalTable", err.(request.ErrInvalidParams)) + } } - if s.DataSetId != nil && len(*s.DataSetId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1)) + if s.S3Source != nil { + if err := s.S3Source.Validate(); err != nil { + invalidParams.AddNested("S3Source", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -25579,29 +57657,36 @@ func (s *DescribeDataSetInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DescribeDataSetInput) SetAwsAccountId(v string) *DescribeDataSetInput { - s.AwsAccountId = &v +// SetCustomSql sets the CustomSql field's value. +func (s *PhysicalTable) SetCustomSql(v *CustomSql) *PhysicalTable { + s.CustomSql = v return s } -// SetDataSetId sets the DataSetId field's value. -func (s *DescribeDataSetInput) SetDataSetId(v string) *DescribeDataSetInput { - s.DataSetId = &v +// SetRelationalTable sets the RelationalTable field's value. +func (s *PhysicalTable) SetRelationalTable(v *RelationalTable) *PhysicalTable { + s.RelationalTable = v return s } -type DescribeDataSetOutput struct { +// SetS3Source sets the S3Source field's value. +func (s *PhysicalTable) SetS3Source(v *S3Source) *PhysicalTable { + s.S3Source = v + return s +} + +// The field well configuration of a pie chart. +type PieChartAggregatedFieldWells struct { _ struct{} `type:"structure"` - // Information on the dataset. - DataSet *DataSet `type:"structure"` + // The category (group/color) field wells of a pie chart. + Category []*DimensionField `type:"list"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The small multiples field well of a pie chart. + SmallMultiples []*DimensionField `type:"list"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The value field wells of a pie chart. Values are aggregated based on categories. + Values []*MeasureField `type:"list"` } // String returns the string representation. @@ -25609,7 +57694,7 @@ type DescribeDataSetOutput struct { // 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 DescribeDataSetOutput) String() string { +func (s PieChartAggregatedFieldWells) String() string { return awsutil.Prettify(s) } @@ -25618,41 +57703,105 @@ func (s DescribeDataSetOutput) String() string { // 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 DescribeDataSetOutput) GoString() string { +func (s PieChartAggregatedFieldWells) GoString() string { return s.String() } -// SetDataSet sets the DataSet field's value. -func (s *DescribeDataSetOutput) SetDataSet(v *DataSet) *DescribeDataSetOutput { - s.DataSet = v +// Validate inspects the fields of the type to determine if they are valid. +func (s *PieChartAggregatedFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PieChartAggregatedFieldWells"} + if s.Category != nil { + for i, v := range s.Category { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Category", i), err.(request.ErrInvalidParams)) + } + } + } + if s.SmallMultiples != nil { + for i, v := range s.SmallMultiples { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SmallMultiples", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Values != nil { + for i, v := range s.Values { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Values", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCategory sets the Category field's value. +func (s *PieChartAggregatedFieldWells) SetCategory(v []*DimensionField) *PieChartAggregatedFieldWells { + s.Category = v return s } -// SetRequestId sets the RequestId field's value. -func (s *DescribeDataSetOutput) SetRequestId(v string) *DescribeDataSetOutput { - s.RequestId = &v +// SetSmallMultiples sets the SmallMultiples field's value. +func (s *PieChartAggregatedFieldWells) SetSmallMultiples(v []*DimensionField) *PieChartAggregatedFieldWells { + s.SmallMultiples = v return s } -// SetStatus sets the Status field's value. -func (s *DescribeDataSetOutput) SetStatus(v int64) *DescribeDataSetOutput { - s.Status = &v +// SetValues sets the Values field's value. +func (s *PieChartAggregatedFieldWells) SetValues(v []*MeasureField) *PieChartAggregatedFieldWells { + s.Values = v return s } -type DescribeDataSetPermissionsInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// The configuration of a pie chart. +type PieChartConfiguration struct { + _ struct{} `type:"structure"` - // The Amazon Web Services account ID. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // The label options of the group/color that is displayed in a pie chart. + CategoryLabelOptions *ChartAxisLabelOptions `type:"structure"` - // The ID for the dataset that you want to create. This ID is unique per Amazon - // Web Services Region for each Amazon Web Services account. - // - // DataSetId is a required field - DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"` + // The contribution analysis (anomaly configuration) setup of the visual. + ContributionAnalysisDefaults []*ContributionAnalysisDefault `min:"1" type:"list"` + + // The options that determine if visual data labels are displayed. + DataLabels *DataLabelOptions `type:"structure"` + + // The options that determine the shape of the chart. This option determines + // whether the chart is a pie chart or a donut chart. + DonutOptions *DonutOptions `type:"structure"` + + // The field wells of the visual. + FieldWells *PieChartFieldWells `type:"structure"` + + // The legend display setup of the visual. + Legend *LegendOptions `type:"structure"` + + // The small multiples setup for the visual. + SmallMultiplesOptions *SmallMultiplesOptions `type:"structure"` + + // The sort configuration of a pie chart. + SortConfiguration *PieChartSortConfiguration `type:"structure"` + + // The tooltip display setup of the visual. + Tooltip *TooltipOptions `type:"structure"` + + // The label options for the value that is displayed in a pie chart. + ValueLabelOptions *ChartAxisLabelOptions `type:"structure"` + + // The palette (chart color) display setup of the visual. + VisualPalette *VisualPalette `type:"structure"` } // String returns the string representation. @@ -25660,7 +57809,7 @@ type DescribeDataSetPermissionsInput struct { // 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 DescribeDataSetPermissionsInput) String() string { +func (s PieChartConfiguration) String() string { return awsutil.Prettify(s) } @@ -25669,24 +57818,65 @@ func (s DescribeDataSetPermissionsInput) String() string { // 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 DescribeDataSetPermissionsInput) GoString() string { +func (s PieChartConfiguration) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeDataSetPermissionsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeDataSetPermissionsInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) +func (s *PieChartConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PieChartConfiguration"} + if s.ContributionAnalysisDefaults != nil && len(s.ContributionAnalysisDefaults) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ContributionAnalysisDefaults", 1)) + } + if s.CategoryLabelOptions != nil { + if err := s.CategoryLabelOptions.Validate(); err != nil { + invalidParams.AddNested("CategoryLabelOptions", err.(request.ErrInvalidParams)) + } } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + if s.ContributionAnalysisDefaults != nil { + for i, v := range s.ContributionAnalysisDefaults { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ContributionAnalysisDefaults", i), err.(request.ErrInvalidParams)) + } + } } - if s.DataSetId == nil { - invalidParams.Add(request.NewErrParamRequired("DataSetId")) + if s.DataLabels != nil { + if err := s.DataLabels.Validate(); err != nil { + invalidParams.AddNested("DataLabels", err.(request.ErrInvalidParams)) + } } - if s.DataSetId != nil && len(*s.DataSetId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1)) + if s.FieldWells != nil { + if err := s.FieldWells.Validate(); err != nil { + invalidParams.AddNested("FieldWells", err.(request.ErrInvalidParams)) + } + } + if s.SmallMultiplesOptions != nil { + if err := s.SmallMultiplesOptions.Validate(); err != nil { + invalidParams.AddNested("SmallMultiplesOptions", err.(request.ErrInvalidParams)) + } + } + if s.SortConfiguration != nil { + if err := s.SortConfiguration.Validate(); err != nil { + invalidParams.AddNested("SortConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.Tooltip != nil { + if err := s.Tooltip.Validate(); err != nil { + invalidParams.AddNested("Tooltip", err.(request.ErrInvalidParams)) + } + } + if s.ValueLabelOptions != nil { + if err := s.ValueLabelOptions.Validate(); err != nil { + invalidParams.AddNested("ValueLabelOptions", err.(request.ErrInvalidParams)) + } + } + if s.VisualPalette != nil { + if err := s.VisualPalette.Validate(); err != nil { + invalidParams.AddNested("VisualPalette", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -25695,36 +57885,81 @@ func (s *DescribeDataSetPermissionsInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DescribeDataSetPermissionsInput) SetAwsAccountId(v string) *DescribeDataSetPermissionsInput { - s.AwsAccountId = &v +// SetCategoryLabelOptions sets the CategoryLabelOptions field's value. +func (s *PieChartConfiguration) SetCategoryLabelOptions(v *ChartAxisLabelOptions) *PieChartConfiguration { + s.CategoryLabelOptions = v return s } -// SetDataSetId sets the DataSetId field's value. -func (s *DescribeDataSetPermissionsInput) SetDataSetId(v string) *DescribeDataSetPermissionsInput { - s.DataSetId = &v +// SetContributionAnalysisDefaults sets the ContributionAnalysisDefaults field's value. +func (s *PieChartConfiguration) SetContributionAnalysisDefaults(v []*ContributionAnalysisDefault) *PieChartConfiguration { + s.ContributionAnalysisDefaults = v return s } -type DescribeDataSetPermissionsOutput struct { - _ struct{} `type:"structure"` +// SetDataLabels sets the DataLabels field's value. +func (s *PieChartConfiguration) SetDataLabels(v *DataLabelOptions) *PieChartConfiguration { + s.DataLabels = v + return s +} - // The Amazon Resource Name (ARN) of the dataset. - DataSetArn *string `type:"string"` +// SetDonutOptions sets the DonutOptions field's value. +func (s *PieChartConfiguration) SetDonutOptions(v *DonutOptions) *PieChartConfiguration { + s.DonutOptions = v + return s +} - // The ID for the dataset that you want to create. This ID is unique per Amazon - // Web Services Region for each Amazon Web Services account. - DataSetId *string `type:"string"` +// SetFieldWells sets the FieldWells field's value. +func (s *PieChartConfiguration) SetFieldWells(v *PieChartFieldWells) *PieChartConfiguration { + s.FieldWells = v + return s +} - // A list of resource permissions on the dataset. - Permissions []*ResourcePermission `min:"1" type:"list"` +// SetLegend sets the Legend field's value. +func (s *PieChartConfiguration) SetLegend(v *LegendOptions) *PieChartConfiguration { + s.Legend = v + return s +} - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` +// SetSmallMultiplesOptions sets the SmallMultiplesOptions field's value. +func (s *PieChartConfiguration) SetSmallMultiplesOptions(v *SmallMultiplesOptions) *PieChartConfiguration { + s.SmallMultiplesOptions = v + return s +} - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` +// SetSortConfiguration sets the SortConfiguration field's value. +func (s *PieChartConfiguration) SetSortConfiguration(v *PieChartSortConfiguration) *PieChartConfiguration { + s.SortConfiguration = v + return s +} + +// SetTooltip sets the Tooltip field's value. +func (s *PieChartConfiguration) SetTooltip(v *TooltipOptions) *PieChartConfiguration { + s.Tooltip = v + return s +} + +// SetValueLabelOptions sets the ValueLabelOptions field's value. +func (s *PieChartConfiguration) SetValueLabelOptions(v *ChartAxisLabelOptions) *PieChartConfiguration { + s.ValueLabelOptions = v + return s +} + +// SetVisualPalette sets the VisualPalette field's value. +func (s *PieChartConfiguration) SetVisualPalette(v *VisualPalette) *PieChartConfiguration { + s.VisualPalette = v + return s +} + +// The field well configuration of a pie chart. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type PieChartFieldWells struct { + _ struct{} `type:"structure"` + + // The field well configuration of a pie chart. + PieChartAggregatedFieldWells *PieChartAggregatedFieldWells `type:"structure"` } // String returns the string representation. @@ -25732,7 +57967,7 @@ type DescribeDataSetPermissionsOutput struct { // 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 DescribeDataSetPermissionsOutput) String() string { +func (s PieChartFieldWells) String() string { return awsutil.Prettify(s) } @@ -25741,53 +57976,46 @@ func (s DescribeDataSetPermissionsOutput) String() string { // 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 DescribeDataSetPermissionsOutput) GoString() string { +func (s PieChartFieldWells) GoString() string { return s.String() } -// SetDataSetArn sets the DataSetArn field's value. -func (s *DescribeDataSetPermissionsOutput) SetDataSetArn(v string) *DescribeDataSetPermissionsOutput { - s.DataSetArn = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *PieChartFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PieChartFieldWells"} + if s.PieChartAggregatedFieldWells != nil { + if err := s.PieChartAggregatedFieldWells.Validate(); err != nil { + invalidParams.AddNested("PieChartAggregatedFieldWells", err.(request.ErrInvalidParams)) + } + } -// SetDataSetId sets the DataSetId field's value. -func (s *DescribeDataSetPermissionsOutput) SetDataSetId(v string) *DescribeDataSetPermissionsOutput { - s.DataSetId = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetPermissions sets the Permissions field's value. -func (s *DescribeDataSetPermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeDataSetPermissionsOutput { - s.Permissions = v +// SetPieChartAggregatedFieldWells sets the PieChartAggregatedFieldWells field's value. +func (s *PieChartFieldWells) SetPieChartAggregatedFieldWells(v *PieChartAggregatedFieldWells) *PieChartFieldWells { + s.PieChartAggregatedFieldWells = v return s } -// SetRequestId sets the RequestId field's value. -func (s *DescribeDataSetPermissionsOutput) SetRequestId(v string) *DescribeDataSetPermissionsOutput { - s.RequestId = &v - return s -} +// The sort configuration of a pie chart. +type PieChartSortConfiguration struct { + _ struct{} `type:"structure"` -// SetStatus sets the Status field's value. -func (s *DescribeDataSetPermissionsOutput) SetStatus(v int64) *DescribeDataSetPermissionsOutput { - s.Status = &v - return s -} + // The limit on the number of categories that are displayed in a pie chart. + CategoryItemsLimit *ItemsLimitConfiguration `type:"structure"` -type DescribeDataSourceInput struct { - _ struct{} `type:"structure" nopayload:"true"` + // The sort configuration of the category fields. + CategorySort []*FieldSortOptions `type:"list"` - // The Amazon Web Services account ID. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // The limit on the number of small multiples panels that are displayed. + SmallMultiplesLimitConfiguration *ItemsLimitConfiguration `type:"structure"` - // The ID of the data source. This ID is unique per Amazon Web Services Region - // for each Amazon Web Services account. - // - // DataSourceId is a required field - DataSourceId *string `location:"uri" locationName:"DataSourceId" type:"string" required:"true"` + // The sort configuration of the small multiples field. + SmallMultiplesSort []*FieldSortOptions `type:"list"` } // String returns the string representation. @@ -25795,7 +58023,7 @@ type DescribeDataSourceInput struct { // 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 DescribeDataSourceInput) String() string { +func (s PieChartSortConfiguration) String() string { return awsutil.Prettify(s) } @@ -25804,24 +58032,32 @@ func (s DescribeDataSourceInput) String() string { // 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 DescribeDataSourceInput) GoString() string { +func (s PieChartSortConfiguration) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeDataSourceInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeDataSourceInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.DataSourceId == nil { - invalidParams.Add(request.NewErrParamRequired("DataSourceId")) +func (s *PieChartSortConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PieChartSortConfiguration"} + if s.CategorySort != nil { + for i, v := range s.CategorySort { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CategorySort", i), err.(request.ErrInvalidParams)) + } + } } - if s.DataSourceId != nil && len(*s.DataSourceId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DataSourceId", 1)) + if s.SmallMultiplesSort != nil { + for i, v := range s.SmallMultiplesSort { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SmallMultiplesSort", i), err.(request.ErrInvalidParams)) + } + } } if invalidParams.Len() > 0 { @@ -25830,29 +58066,70 @@ func (s *DescribeDataSourceInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DescribeDataSourceInput) SetAwsAccountId(v string) *DescribeDataSourceInput { - s.AwsAccountId = &v +// SetCategoryItemsLimit sets the CategoryItemsLimit field's value. +func (s *PieChartSortConfiguration) SetCategoryItemsLimit(v *ItemsLimitConfiguration) *PieChartSortConfiguration { + s.CategoryItemsLimit = v return s } -// SetDataSourceId sets the DataSourceId field's value. -func (s *DescribeDataSourceInput) SetDataSourceId(v string) *DescribeDataSourceInput { - s.DataSourceId = &v +// SetCategorySort sets the CategorySort field's value. +func (s *PieChartSortConfiguration) SetCategorySort(v []*FieldSortOptions) *PieChartSortConfiguration { + s.CategorySort = v return s } -type DescribeDataSourceOutput struct { +// SetSmallMultiplesLimitConfiguration sets the SmallMultiplesLimitConfiguration field's value. +func (s *PieChartSortConfiguration) SetSmallMultiplesLimitConfiguration(v *ItemsLimitConfiguration) *PieChartSortConfiguration { + s.SmallMultiplesLimitConfiguration = v + return s +} + +// SetSmallMultiplesSort sets the SmallMultiplesSort field's value. +func (s *PieChartSortConfiguration) SetSmallMultiplesSort(v []*FieldSortOptions) *PieChartSortConfiguration { + s.SmallMultiplesSort = v + return s +} + +// A pie or donut chart. +// +// The PieChartVisual structure describes a visual that is a member of the pie +// chart family. +// +// The following charts can be described by using this structure: +// +// - Pie charts +// +// - Donut charts +// +// For more information, see Using pie charts (https://docs.aws.amazon.com/quicksight/latest/user/pie-chart.html) +// in the Amazon QuickSight User Guide. +// +// For more information, see Using donut charts (https://docs.aws.amazon.com/quicksight/latest/user/donut-chart.html) +// in the Amazon QuickSight User Guide. +type PieChartVisual struct { _ struct{} `type:"structure"` - // The information on the data source. - DataSource *DataSource `type:"structure"` + // The list of custom actions that are configured for a visual. + Actions []*VisualCustomAction `type:"list"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The configuration of a pie chart. + ChartConfiguration *PieChartConfiguration `type:"structure"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The column hierarchy that is used during drill-downs and drill-ups. + ColumnHierarchies []*ColumnHierarchy `type:"list"` + + // The subtitle that is displayed on the visual. + Subtitle *VisualSubtitleLabelOptions `type:"structure"` + + // The title that is displayed on the visual. + Title *VisualTitleLabelOptions `type:"structure"` + + // The unique identifier of a visual. This identifier must be unique within + // the context of a dashboard, template, or analysis. Two dashboards, analyses, + // or templates can have visuals with the same identifiers. + // + // VisualId is a required field + VisualId *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -25860,50 +58137,119 @@ type DescribeDataSourceOutput struct { // 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 DescribeDataSourceOutput) String() string { +func (s PieChartVisual) 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 DescribeDataSourceOutput) GoString() string { - return s.String() +// 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 PieChartVisual) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PieChartVisual) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PieChartVisual"} + if s.VisualId == nil { + invalidParams.Add(request.NewErrParamRequired("VisualId")) + } + if s.VisualId != nil && len(*s.VisualId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("VisualId", 1)) + } + if s.Actions != nil { + for i, v := range s.Actions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Actions", i), err.(request.ErrInvalidParams)) + } + } + } + if s.ChartConfiguration != nil { + if err := s.ChartConfiguration.Validate(); err != nil { + invalidParams.AddNested("ChartConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.ColumnHierarchies != nil { + for i, v := range s.ColumnHierarchies { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnHierarchies", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Subtitle != nil { + if err := s.Subtitle.Validate(); err != nil { + invalidParams.AddNested("Subtitle", err.(request.ErrInvalidParams)) + } + } + if s.Title != nil { + if err := s.Title.Validate(); err != nil { + invalidParams.AddNested("Title", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetActions sets the Actions field's value. +func (s *PieChartVisual) SetActions(v []*VisualCustomAction) *PieChartVisual { + s.Actions = v + return s +} + +// SetChartConfiguration sets the ChartConfiguration field's value. +func (s *PieChartVisual) SetChartConfiguration(v *PieChartConfiguration) *PieChartVisual { + s.ChartConfiguration = v + return s } -// SetDataSource sets the DataSource field's value. -func (s *DescribeDataSourceOutput) SetDataSource(v *DataSource) *DescribeDataSourceOutput { - s.DataSource = v +// SetColumnHierarchies sets the ColumnHierarchies field's value. +func (s *PieChartVisual) SetColumnHierarchies(v []*ColumnHierarchy) *PieChartVisual { + s.ColumnHierarchies = v return s } -// SetRequestId sets the RequestId field's value. -func (s *DescribeDataSourceOutput) SetRequestId(v string) *DescribeDataSourceOutput { - s.RequestId = &v +// SetSubtitle sets the Subtitle field's value. +func (s *PieChartVisual) SetSubtitle(v *VisualSubtitleLabelOptions) *PieChartVisual { + s.Subtitle = v return s } -// SetStatus sets the Status field's value. -func (s *DescribeDataSourceOutput) SetStatus(v int64) *DescribeDataSourceOutput { - s.Status = &v +// SetTitle sets the Title field's value. +func (s *PieChartVisual) SetTitle(v *VisualTitleLabelOptions) *PieChartVisual { + s.Title = v return s } -type DescribeDataSourcePermissionsInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// SetVisualId sets the VisualId field's value. +func (s *PieChartVisual) SetVisualId(v string) *PieChartVisual { + s.VisualId = &v + return s +} - // The Amazon Web Services account ID. +// The field sort options for a pivot table sort configuration. +type PivotFieldSortOptions struct { + _ struct{} `type:"structure"` + + // The field ID for the field sort options. // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // FieldId is a required field + FieldId *string `min:"1" type:"string" required:"true"` - // The ID of the data source. This ID is unique per Amazon Web Services Region - // for each Amazon Web Services account. + // The sort by field for the field sort options. // - // DataSourceId is a required field - DataSourceId *string `location:"uri" locationName:"DataSourceId" type:"string" required:"true"` + // SortBy is a required field + SortBy *PivotTableSortBy `type:"structure" required:"true"` } // String returns the string representation. @@ -25911,7 +58257,7 @@ type DescribeDataSourcePermissionsInput struct { // 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 DescribeDataSourcePermissionsInput) String() string { +func (s PivotFieldSortOptions) String() string { return awsutil.Prettify(s) } @@ -25920,24 +58266,26 @@ func (s DescribeDataSourcePermissionsInput) String() string { // 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 DescribeDataSourcePermissionsInput) GoString() string { +func (s PivotFieldSortOptions) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeDataSourcePermissionsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeDataSourcePermissionsInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) +func (s *PivotFieldSortOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PivotFieldSortOptions"} + if s.FieldId == nil { + invalidParams.Add(request.NewErrParamRequired("FieldId")) } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + if s.FieldId != nil && len(*s.FieldId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FieldId", 1)) } - if s.DataSourceId == nil { - invalidParams.Add(request.NewErrParamRequired("DataSourceId")) + if s.SortBy == nil { + invalidParams.Add(request.NewErrParamRequired("SortBy")) } - if s.DataSourceId != nil && len(*s.DataSourceId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DataSourceId", 1)) + if s.SortBy != nil { + if err := s.SortBy.Validate(); err != nil { + invalidParams.AddNested("SortBy", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -25946,36 +58294,31 @@ func (s *DescribeDataSourcePermissionsInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DescribeDataSourcePermissionsInput) SetAwsAccountId(v string) *DescribeDataSourcePermissionsInput { - s.AwsAccountId = &v +// SetFieldId sets the FieldId field's value. +func (s *PivotFieldSortOptions) SetFieldId(v string) *PivotFieldSortOptions { + s.FieldId = &v return s } -// SetDataSourceId sets the DataSourceId field's value. -func (s *DescribeDataSourcePermissionsInput) SetDataSourceId(v string) *DescribeDataSourcePermissionsInput { - s.DataSourceId = &v +// SetSortBy sets the SortBy field's value. +func (s *PivotFieldSortOptions) SetSortBy(v *PivotTableSortBy) *PivotFieldSortOptions { + s.SortBy = v return s } -type DescribeDataSourcePermissionsOutput struct { +// The aggregated field well for the pivot table. +type PivotTableAggregatedFieldWells struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the data source. - DataSourceArn *string `type:"string"` - - // The ID of the data source. This ID is unique per Amazon Web Services Region - // for each Amazon Web Services account. - DataSourceId *string `type:"string"` - - // A list of resource permissions on the data source. - Permissions []*ResourcePermission `min:"1" type:"list"` + // The columns field well for a pivot table. Values are grouped by columns fields. + Columns []*DimensionField `type:"list"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The rows field well for a pivot table. Values are grouped by rows fields. + Rows []*DimensionField `type:"list"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The values field well for a pivot table. Values are aggregated based on rows + // and columns fields. + Values []*MeasureField `type:"list"` } // String returns the string representation. @@ -25983,7 +58326,7 @@ type DescribeDataSourcePermissionsOutput struct { // 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 DescribeDataSourcePermissionsOutput) String() string { +func (s PivotTableAggregatedFieldWells) String() string { return awsutil.Prettify(s) } @@ -25992,52 +58335,82 @@ func (s DescribeDataSourcePermissionsOutput) String() string { // 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 DescribeDataSourcePermissionsOutput) GoString() string { +func (s PivotTableAggregatedFieldWells) GoString() string { return s.String() } -// SetDataSourceArn sets the DataSourceArn field's value. -func (s *DescribeDataSourcePermissionsOutput) SetDataSourceArn(v string) *DescribeDataSourcePermissionsOutput { - s.DataSourceArn = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *PivotTableAggregatedFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PivotTableAggregatedFieldWells"} + if s.Columns != nil { + for i, v := range s.Columns { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Columns", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Rows != nil { + for i, v := range s.Rows { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Rows", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Values != nil { + for i, v := range s.Values { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Values", i), err.(request.ErrInvalidParams)) + } + } + } -// SetDataSourceId sets the DataSourceId field's value. -func (s *DescribeDataSourcePermissionsOutput) SetDataSourceId(v string) *DescribeDataSourcePermissionsOutput { - s.DataSourceId = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetPermissions sets the Permissions field's value. -func (s *DescribeDataSourcePermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeDataSourcePermissionsOutput { - s.Permissions = v +// SetColumns sets the Columns field's value. +func (s *PivotTableAggregatedFieldWells) SetColumns(v []*DimensionField) *PivotTableAggregatedFieldWells { + s.Columns = v return s } -// SetRequestId sets the RequestId field's value. -func (s *DescribeDataSourcePermissionsOutput) SetRequestId(v string) *DescribeDataSourcePermissionsOutput { - s.RequestId = &v +// SetRows sets the Rows field's value. +func (s *PivotTableAggregatedFieldWells) SetRows(v []*DimensionField) *PivotTableAggregatedFieldWells { + s.Rows = v return s } -// SetStatus sets the Status field's value. -func (s *DescribeDataSourcePermissionsOutput) SetStatus(v int64) *DescribeDataSourcePermissionsOutput { - s.Status = &v +// SetValues sets the Values field's value. +func (s *PivotTableAggregatedFieldWells) SetValues(v []*MeasureField) *PivotTableAggregatedFieldWells { + s.Values = v return s } -type DescribeFolderInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// The cell conditional formatting option for a pivot table. +type PivotTableCellConditionalFormatting struct { + _ struct{} `type:"structure"` - // The ID for the Amazon Web Services account that contains the folder. + // The field ID of the cell for conditional formatting. // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // FieldId is a required field + FieldId *string `min:"1" type:"string" required:"true"` - // The ID of the folder. - // - // FolderId is a required field - FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"` + // The scope of the cell for conditional formatting. + Scope *PivotTableConditionalFormattingScope `type:"structure"` + + // The text format of the cell for conditional formatting. + TextFormat *TextConditionalFormat `type:"structure"` } // String returns the string representation. @@ -26045,7 +58418,7 @@ type DescribeFolderInput struct { // 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 DescribeFolderInput) String() string { +func (s PivotTableCellConditionalFormatting) String() string { return awsutil.Prettify(s) } @@ -26054,24 +58427,23 @@ func (s DescribeFolderInput) String() string { // 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 DescribeFolderInput) GoString() string { +func (s PivotTableCellConditionalFormatting) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeFolderInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeFolderInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) +func (s *PivotTableCellConditionalFormatting) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PivotTableCellConditionalFormatting"} + if s.FieldId == nil { + invalidParams.Add(request.NewErrParamRequired("FieldId")) } - if s.FolderId == nil { - invalidParams.Add(request.NewErrParamRequired("FolderId")) + if s.FieldId != nil && len(*s.FieldId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FieldId", 1)) } - if s.FolderId != nil && len(*s.FolderId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("FolderId", 1)) + if s.TextFormat != nil { + if err := s.TextFormat.Validate(); err != nil { + invalidParams.AddNested("TextFormat", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -26080,29 +58452,30 @@ func (s *DescribeFolderInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DescribeFolderInput) SetAwsAccountId(v string) *DescribeFolderInput { - s.AwsAccountId = &v +// SetFieldId sets the FieldId field's value. +func (s *PivotTableCellConditionalFormatting) SetFieldId(v string) *PivotTableCellConditionalFormatting { + s.FieldId = &v return s } -// SetFolderId sets the FolderId field's value. -func (s *DescribeFolderInput) SetFolderId(v string) *DescribeFolderInput { - s.FolderId = &v +// SetScope sets the Scope field's value. +func (s *PivotTableCellConditionalFormatting) SetScope(v *PivotTableConditionalFormattingScope) *PivotTableCellConditionalFormatting { + s.Scope = v return s } -type DescribeFolderOutput struct { - _ struct{} `type:"structure"` - - // Information about the folder. - Folder *Folder `type:"structure"` +// SetTextFormat sets the TextFormat field's value. +func (s *PivotTableCellConditionalFormatting) SetTextFormat(v *TextConditionalFormat) *PivotTableCellConditionalFormatting { + s.TextFormat = v + return s +} - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` +// The conditional formatting for a PivotTableVisual. +type PivotTableConditionalFormatting struct { + _ struct{} `type:"structure"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // Conditional formatting options for a PivotTableVisual. + ConditionalFormattingOptions []*PivotTableConditionalFormattingOption `type:"list"` } // String returns the string representation. @@ -26110,7 +58483,7 @@ type DescribeFolderOutput struct { // 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 DescribeFolderOutput) String() string { +func (s PivotTableConditionalFormatting) String() string { return awsutil.Prettify(s) } @@ -26119,40 +58492,42 @@ func (s DescribeFolderOutput) String() string { // 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 DescribeFolderOutput) GoString() string { +func (s PivotTableConditionalFormatting) GoString() string { return s.String() } -// SetFolder sets the Folder field's value. -func (s *DescribeFolderOutput) SetFolder(v *Folder) *DescribeFolderOutput { - s.Folder = v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *PivotTableConditionalFormatting) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PivotTableConditionalFormatting"} + if s.ConditionalFormattingOptions != nil { + for i, v := range s.ConditionalFormattingOptions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ConditionalFormattingOptions", i), err.(request.ErrInvalidParams)) + } + } + } -// SetRequestId sets the RequestId field's value. -func (s *DescribeFolderOutput) SetRequestId(v string) *DescribeFolderOutput { - s.RequestId = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetStatus sets the Status field's value. -func (s *DescribeFolderOutput) SetStatus(v int64) *DescribeFolderOutput { - s.Status = &v +// SetConditionalFormattingOptions sets the ConditionalFormattingOptions field's value. +func (s *PivotTableConditionalFormatting) SetConditionalFormattingOptions(v []*PivotTableConditionalFormattingOption) *PivotTableConditionalFormatting { + s.ConditionalFormattingOptions = v return s } -type DescribeFolderPermissionsInput struct { - _ struct{} `type:"structure" nopayload:"true"` - - // The ID for the Amazon Web Services account that contains the folder. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` +// Conditional formatting options for a PivotTableVisual. +type PivotTableConditionalFormattingOption struct { + _ struct{} `type:"structure"` - // The ID of the folder. - // - // FolderId is a required field - FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"` + // The cell conditional formatting option for a pivot table. + Cell *PivotTableCellConditionalFormatting `type:"structure"` } // String returns the string representation. @@ -26160,7 +58535,7 @@ type DescribeFolderPermissionsInput struct { // 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 DescribeFolderPermissionsInput) String() string { +func (s PivotTableConditionalFormattingOption) String() string { return awsutil.Prettify(s) } @@ -26169,24 +58544,17 @@ func (s DescribeFolderPermissionsInput) String() string { // 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 DescribeFolderPermissionsInput) GoString() string { +func (s PivotTableConditionalFormattingOption) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeFolderPermissionsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeFolderPermissionsInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.FolderId == nil { - invalidParams.Add(request.NewErrParamRequired("FolderId")) - } - if s.FolderId != nil && len(*s.FolderId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("FolderId", 1)) +func (s *PivotTableConditionalFormattingOption) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PivotTableConditionalFormattingOption"} + if s.Cell != nil { + if err := s.Cell.Validate(); err != nil { + invalidParams.AddNested("Cell", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -26195,35 +58563,18 @@ func (s *DescribeFolderPermissionsInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DescribeFolderPermissionsInput) SetAwsAccountId(v string) *DescribeFolderPermissionsInput { - s.AwsAccountId = &v - return s -} - -// SetFolderId sets the FolderId field's value. -func (s *DescribeFolderPermissionsInput) SetFolderId(v string) *DescribeFolderPermissionsInput { - s.FolderId = &v +// SetCell sets the Cell field's value. +func (s *PivotTableConditionalFormattingOption) SetCell(v *PivotTableCellConditionalFormatting) *PivotTableConditionalFormattingOption { + s.Cell = v return s } -type DescribeFolderPermissionsOutput struct { +// The scope of the cell for conditional formatting. +type PivotTableConditionalFormattingScope struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) for the folder. - Arn *string `type:"string"` - - // The ID of the folder. - FolderId *string `min:"1" type:"string"` - - // Information about the permissions on the folder. - Permissions []*ResourcePermission `min:"1" type:"list"` - - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` - - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The role (field, field total, grand total) of the cell for conditional formatting. + Role *string `type:"string" enum:"PivotTableConditionalFormattingScopeRole"` } // String returns the string representation. @@ -26231,7 +58582,7 @@ type DescribeFolderPermissionsOutput struct { // 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 DescribeFolderPermissionsOutput) String() string { +func (s PivotTableConditionalFormattingScope) String() string { return awsutil.Prettify(s) } @@ -26240,52 +58591,37 @@ func (s DescribeFolderPermissionsOutput) String() string { // 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 DescribeFolderPermissionsOutput) GoString() string { +func (s PivotTableConditionalFormattingScope) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *DescribeFolderPermissionsOutput) SetArn(v string) *DescribeFolderPermissionsOutput { - s.Arn = &v +// SetRole sets the Role field's value. +func (s *PivotTableConditionalFormattingScope) SetRole(v string) *PivotTableConditionalFormattingScope { + s.Role = &v return s } -// SetFolderId sets the FolderId field's value. -func (s *DescribeFolderPermissionsOutput) SetFolderId(v string) *DescribeFolderPermissionsOutput { - s.FolderId = &v - return s -} +// The configuration for a PivotTableVisual. +type PivotTableConfiguration struct { + _ struct{} `type:"structure"` -// SetPermissions sets the Permissions field's value. -func (s *DescribeFolderPermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeFolderPermissionsOutput { - s.Permissions = v - return s -} + // The field options for a pivot table visual. + FieldOptions *PivotTableFieldOptions `type:"structure"` -// SetRequestId sets the RequestId field's value. -func (s *DescribeFolderPermissionsOutput) SetRequestId(v string) *DescribeFolderPermissionsOutput { - s.RequestId = &v - return s -} + // The field wells of the visual. + FieldWells *PivotTableFieldWells `type:"structure"` -// SetStatus sets the Status field's value. -func (s *DescribeFolderPermissionsOutput) SetStatus(v int64) *DescribeFolderPermissionsOutput { - s.Status = &v - return s -} + // The paginated report options for a pivot table visual. + PaginatedReportOptions *PivotTablePaginatedReportOptions `type:"structure"` -type DescribeFolderResolvedPermissionsInput struct { - _ struct{} `type:"structure" nopayload:"true"` + // The sort configuration for a PivotTableVisual. + SortConfiguration *PivotTableSortConfiguration `type:"structure"` - // The ID for the Amazon Web Services account that contains the folder. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // The table options for a pivot table visual. + TableOptions *PivotTableOptions `type:"structure"` - // The ID of the folder. - // - // FolderId is a required field - FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"` + // The total options for a pivot table visual. + TotalOptions *PivotTableTotalOptions `type:"structure"` } // String returns the string representation. @@ -26293,7 +58629,7 @@ type DescribeFolderResolvedPermissionsInput struct { // 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 DescribeFolderResolvedPermissionsInput) String() string { +func (s PivotTableConfiguration) String() string { return awsutil.Prettify(s) } @@ -26302,24 +58638,37 @@ func (s DescribeFolderResolvedPermissionsInput) String() string { // 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 DescribeFolderResolvedPermissionsInput) GoString() string { +func (s PivotTableConfiguration) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeFolderResolvedPermissionsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeFolderResolvedPermissionsInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) +func (s *PivotTableConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PivotTableConfiguration"} + if s.FieldOptions != nil { + if err := s.FieldOptions.Validate(); err != nil { + invalidParams.AddNested("FieldOptions", err.(request.ErrInvalidParams)) + } } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + if s.FieldWells != nil { + if err := s.FieldWells.Validate(); err != nil { + invalidParams.AddNested("FieldWells", err.(request.ErrInvalidParams)) + } } - if s.FolderId == nil { - invalidParams.Add(request.NewErrParamRequired("FolderId")) + if s.SortConfiguration != nil { + if err := s.SortConfiguration.Validate(); err != nil { + invalidParams.AddNested("SortConfiguration", err.(request.ErrInvalidParams)) + } } - if s.FolderId != nil && len(*s.FolderId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("FolderId", 1)) + if s.TableOptions != nil { + if err := s.TableOptions.Validate(); err != nil { + invalidParams.AddNested("TableOptions", err.(request.ErrInvalidParams)) + } + } + if s.TotalOptions != nil { + if err := s.TotalOptions.Validate(); err != nil { + invalidParams.AddNested("TotalOptions", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -26328,35 +58677,53 @@ func (s *DescribeFolderResolvedPermissionsInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DescribeFolderResolvedPermissionsInput) SetAwsAccountId(v string) *DescribeFolderResolvedPermissionsInput { - s.AwsAccountId = &v +// SetFieldOptions sets the FieldOptions field's value. +func (s *PivotTableConfiguration) SetFieldOptions(v *PivotTableFieldOptions) *PivotTableConfiguration { + s.FieldOptions = v return s } -// SetFolderId sets the FolderId field's value. -func (s *DescribeFolderResolvedPermissionsInput) SetFolderId(v string) *DescribeFolderResolvedPermissionsInput { - s.FolderId = &v +// SetFieldWells sets the FieldWells field's value. +func (s *PivotTableConfiguration) SetFieldWells(v *PivotTableFieldWells) *PivotTableConfiguration { + s.FieldWells = v return s } -type DescribeFolderResolvedPermissionsOutput struct { - _ struct{} `type:"structure"` +// SetPaginatedReportOptions sets the PaginatedReportOptions field's value. +func (s *PivotTableConfiguration) SetPaginatedReportOptions(v *PivotTablePaginatedReportOptions) *PivotTableConfiguration { + s.PaginatedReportOptions = v + return s +} - // The Amazon Resource Name (ARN) of the folder. - Arn *string `type:"string"` +// SetSortConfiguration sets the SortConfiguration field's value. +func (s *PivotTableConfiguration) SetSortConfiguration(v *PivotTableSortConfiguration) *PivotTableConfiguration { + s.SortConfiguration = v + return s +} - // The ID of the folder. - FolderId *string `min:"1" type:"string"` +// SetTableOptions sets the TableOptions field's value. +func (s *PivotTableConfiguration) SetTableOptions(v *PivotTableOptions) *PivotTableConfiguration { + s.TableOptions = v + return s +} - // Information about the permissions for the folder. - Permissions []*ResourcePermission `min:"1" type:"list"` +// SetTotalOptions sets the TotalOptions field's value. +func (s *PivotTableConfiguration) SetTotalOptions(v *PivotTableTotalOptions) *PivotTableConfiguration { + s.TotalOptions = v + return s +} - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` +// The data path options for the pivot table field options. +type PivotTableDataPathOption struct { + _ struct{} `type:"structure"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The list of data path values for the data path options. + // + // DataPathList is a required field + DataPathList []*DataPathValue `type:"list" required:"true"` + + // The width of the data path option. + Width *string `type:"string"` } // String returns the string representation. @@ -26364,7 +58731,7 @@ type DescribeFolderResolvedPermissionsOutput struct { // 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 DescribeFolderResolvedPermissionsOutput) String() string { +func (s PivotTableDataPathOption) String() string { return awsutil.Prettify(s) } @@ -26373,59 +58740,59 @@ func (s DescribeFolderResolvedPermissionsOutput) String() string { // 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 DescribeFolderResolvedPermissionsOutput) GoString() string { +func (s PivotTableDataPathOption) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *DescribeFolderResolvedPermissionsOutput) SetArn(v string) *DescribeFolderResolvedPermissionsOutput { - s.Arn = &v - return s -} - -// SetFolderId sets the FolderId field's value. -func (s *DescribeFolderResolvedPermissionsOutput) SetFolderId(v string) *DescribeFolderResolvedPermissionsOutput { - s.FolderId = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *PivotTableDataPathOption) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PivotTableDataPathOption"} + if s.DataPathList == nil { + invalidParams.Add(request.NewErrParamRequired("DataPathList")) + } + if s.DataPathList != nil { + for i, v := range s.DataPathList { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DataPathList", i), err.(request.ErrInvalidParams)) + } + } + } -// SetPermissions sets the Permissions field's value. -func (s *DescribeFolderResolvedPermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeFolderResolvedPermissionsOutput { - s.Permissions = v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetRequestId sets the RequestId field's value. -func (s *DescribeFolderResolvedPermissionsOutput) SetRequestId(v string) *DescribeFolderResolvedPermissionsOutput { - s.RequestId = &v +// SetDataPathList sets the DataPathList field's value. +func (s *PivotTableDataPathOption) SetDataPathList(v []*DataPathValue) *PivotTableDataPathOption { + s.DataPathList = v return s } -// SetStatus sets the Status field's value. -func (s *DescribeFolderResolvedPermissionsOutput) SetStatus(v int64) *DescribeFolderResolvedPermissionsOutput { - s.Status = &v +// SetWidth sets the Width field's value. +func (s *PivotTableDataPathOption) SetWidth(v string) *PivotTableDataPathOption { + s.Width = &v return s } -type DescribeGroupInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// The selected field options for the pivot table field options. +type PivotTableFieldOption struct { + _ struct{} `type:"structure"` - // The ID for the Amazon Web Services account that the group is in. Currently, - // you use the ID for the Amazon Web Services account that contains your Amazon - // QuickSight account. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // The custom label of the pivot table field. + CustomLabel *string `min:"1" type:"string"` - // The name of the group that you want to describe. + // The field ID of the pivot table field. // - // GroupName is a required field - GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"` + // FieldId is a required field + FieldId *string `min:"1" type:"string" required:"true"` - // The namespace of the group that you want described. - // - // Namespace is a required field - Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` + // The visibility of the pivot table field. + Visibility *string `type:"string" enum:"Visibility"` } // String returns the string representation. @@ -26433,7 +58800,7 @@ type DescribeGroupInput struct { // 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 DescribeGroupInput) String() string { +func (s PivotTableFieldOption) String() string { return awsutil.Prettify(s) } @@ -26442,30 +58809,21 @@ func (s DescribeGroupInput) String() string { // 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 DescribeGroupInput) GoString() string { +func (s PivotTableFieldOption) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeGroupInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeGroupInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) +func (s *PivotTableFieldOption) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PivotTableFieldOption"} + if s.CustomLabel != nil && len(*s.CustomLabel) < 1 { + invalidParams.Add(request.NewErrParamMinLen("CustomLabel", 1)) } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.GroupName == nil { - invalidParams.Add(request.NewErrParamRequired("GroupName")) - } - if s.GroupName != nil && len(*s.GroupName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("GroupName", 1)) + if s.FieldId == nil { + invalidParams.Add(request.NewErrParamRequired("FieldId")) } - if s.Namespace == nil { - invalidParams.Add(request.NewErrParamRequired("Namespace")) - } - if s.Namespace != nil && len(*s.Namespace) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + if s.FieldId != nil && len(*s.FieldId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FieldId", 1)) } if invalidParams.Len() > 0 { @@ -26474,48 +58832,33 @@ func (s *DescribeGroupInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DescribeGroupInput) SetAwsAccountId(v string) *DescribeGroupInput { - s.AwsAccountId = &v +// SetCustomLabel sets the CustomLabel field's value. +func (s *PivotTableFieldOption) SetCustomLabel(v string) *PivotTableFieldOption { + s.CustomLabel = &v return s } -// SetGroupName sets the GroupName field's value. -func (s *DescribeGroupInput) SetGroupName(v string) *DescribeGroupInput { - s.GroupName = &v +// SetFieldId sets the FieldId field's value. +func (s *PivotTableFieldOption) SetFieldId(v string) *PivotTableFieldOption { + s.FieldId = &v return s } -// SetNamespace sets the Namespace field's value. -func (s *DescribeGroupInput) SetNamespace(v string) *DescribeGroupInput { - s.Namespace = &v +// SetVisibility sets the Visibility field's value. +func (s *PivotTableFieldOption) SetVisibility(v string) *PivotTableFieldOption { + s.Visibility = &v return s } -type DescribeGroupMembershipInput struct { - _ struct{} `type:"structure" nopayload:"true"` - - // The ID for the Amazon Web Services account that the group is in. Currently, - // you use the ID for the Amazon Web Services account that contains your Amazon - // QuickSight account. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - - // The name of the group that you want to search. - // - // GroupName is a required field - GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"` +// The field options for a pivot table visual. +type PivotTableFieldOptions struct { + _ struct{} `type:"structure"` - // The user name of the user that you want to search for. - // - // MemberName is a required field - MemberName *string `location:"uri" locationName:"MemberName" min:"1" type:"string" required:"true"` + // The data path options for the pivot table field options. + DataPathOptions []*PivotTableDataPathOption `type:"list"` - // The namespace that includes the group you are searching within. - // - // Namespace is a required field - Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` + // The selected field options for the pivot table field options. + SelectedFieldOptions []*PivotTableFieldOption `type:"list"` } // String returns the string representation. @@ -26523,7 +58866,7 @@ type DescribeGroupMembershipInput struct { // 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 DescribeGroupMembershipInput) String() string { +func (s PivotTableFieldOptions) String() string { return awsutil.Prettify(s) } @@ -26532,36 +58875,32 @@ func (s DescribeGroupMembershipInput) String() string { // 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 DescribeGroupMembershipInput) GoString() string { +func (s PivotTableFieldOptions) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeGroupMembershipInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeGroupMembershipInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.GroupName == nil { - invalidParams.Add(request.NewErrParamRequired("GroupName")) - } - if s.GroupName != nil && len(*s.GroupName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("GroupName", 1)) - } - if s.MemberName == nil { - invalidParams.Add(request.NewErrParamRequired("MemberName")) - } - if s.MemberName != nil && len(*s.MemberName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("MemberName", 1)) - } - if s.Namespace == nil { - invalidParams.Add(request.NewErrParamRequired("Namespace")) +func (s *PivotTableFieldOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PivotTableFieldOptions"} + if s.DataPathOptions != nil { + for i, v := range s.DataPathOptions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DataPathOptions", i), err.(request.ErrInvalidParams)) + } + } } - if s.Namespace != nil && len(*s.Namespace) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + if s.SelectedFieldOptions != nil { + for i, v := range s.SelectedFieldOptions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SelectedFieldOptions", i), err.(request.ErrInvalidParams)) + } + } } if invalidParams.Len() > 0 { @@ -26570,42 +58909,24 @@ func (s *DescribeGroupMembershipInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DescribeGroupMembershipInput) SetAwsAccountId(v string) *DescribeGroupMembershipInput { - s.AwsAccountId = &v - return s -} - -// SetGroupName sets the GroupName field's value. -func (s *DescribeGroupMembershipInput) SetGroupName(v string) *DescribeGroupMembershipInput { - s.GroupName = &v - return s -} - -// SetMemberName sets the MemberName field's value. -func (s *DescribeGroupMembershipInput) SetMemberName(v string) *DescribeGroupMembershipInput { - s.MemberName = &v +// SetDataPathOptions sets the DataPathOptions field's value. +func (s *PivotTableFieldOptions) SetDataPathOptions(v []*PivotTableDataPathOption) *PivotTableFieldOptions { + s.DataPathOptions = v return s } -// SetNamespace sets the Namespace field's value. -func (s *DescribeGroupMembershipInput) SetNamespace(v string) *DescribeGroupMembershipInput { - s.Namespace = &v +// SetSelectedFieldOptions sets the SelectedFieldOptions field's value. +func (s *PivotTableFieldOptions) SetSelectedFieldOptions(v []*PivotTableFieldOption) *PivotTableFieldOptions { + s.SelectedFieldOptions = v return s } -type DescribeGroupMembershipOutput struct { +// The optional configuration of subtotals cells. +type PivotTableFieldSubtotalOptions struct { _ struct{} `type:"structure"` - // A member of an Amazon QuickSight group. Currently, group members must be - // users. Groups can't be members of another group. . - GroupMember *GroupMember `type:"structure"` - - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` - - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The field ID of the subtotal options. + FieldId *string `min:"1" type:"string"` } // String returns the string representation. @@ -26613,7 +58934,7 @@ type DescribeGroupMembershipOutput struct { // 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 DescribeGroupMembershipOutput) String() string { +func (s PivotTableFieldSubtotalOptions) String() string { return awsutil.Prettify(s) } @@ -26622,39 +58943,38 @@ func (s DescribeGroupMembershipOutput) String() string { // 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 DescribeGroupMembershipOutput) GoString() string { +func (s PivotTableFieldSubtotalOptions) GoString() string { return s.String() } -// SetGroupMember sets the GroupMember field's value. -func (s *DescribeGroupMembershipOutput) SetGroupMember(v *GroupMember) *DescribeGroupMembershipOutput { - s.GroupMember = v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *PivotTableFieldSubtotalOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PivotTableFieldSubtotalOptions"} + if s.FieldId != nil && len(*s.FieldId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FieldId", 1)) + } -// SetRequestId sets the RequestId field's value. -func (s *DescribeGroupMembershipOutput) SetRequestId(v string) *DescribeGroupMembershipOutput { - s.RequestId = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetStatus sets the Status field's value. -func (s *DescribeGroupMembershipOutput) SetStatus(v int64) *DescribeGroupMembershipOutput { - s.Status = &v +// SetFieldId sets the FieldId field's value. +func (s *PivotTableFieldSubtotalOptions) SetFieldId(v string) *PivotTableFieldSubtotalOptions { + s.FieldId = &v return s } -type DescribeGroupOutput struct { +// The field wells for a pivot table visual. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type PivotTableFieldWells struct { _ struct{} `type:"structure"` - // The name of the group. - Group *Group `type:"structure"` - - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` - - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The aggregated field well for the pivot table. + PivotTableAggregatedFieldWells *PivotTableAggregatedFieldWells `type:"structure"` } // String returns the string representation. @@ -26662,7 +58982,7 @@ type DescribeGroupOutput struct { // 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 DescribeGroupOutput) String() string { +func (s PivotTableFieldWells) String() string { return awsutil.Prettify(s) } @@ -26671,46 +58991,61 @@ func (s DescribeGroupOutput) String() string { // 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 DescribeGroupOutput) GoString() string { +func (s PivotTableFieldWells) GoString() string { return s.String() } -// SetGroup sets the Group field's value. -func (s *DescribeGroupOutput) SetGroup(v *Group) *DescribeGroupOutput { - s.Group = v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *PivotTableFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PivotTableFieldWells"} + if s.PivotTableAggregatedFieldWells != nil { + if err := s.PivotTableAggregatedFieldWells.Validate(); err != nil { + invalidParams.AddNested("PivotTableAggregatedFieldWells", err.(request.ErrInvalidParams)) + } + } -// SetRequestId sets the RequestId field's value. -func (s *DescribeGroupOutput) SetRequestId(v string) *DescribeGroupOutput { - s.RequestId = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetStatus sets the Status field's value. -func (s *DescribeGroupOutput) SetStatus(v int64) *DescribeGroupOutput { - s.Status = &v +// SetPivotTableAggregatedFieldWells sets the PivotTableAggregatedFieldWells field's value. +func (s *PivotTableFieldWells) SetPivotTableAggregatedFieldWells(v *PivotTableAggregatedFieldWells) *PivotTableFieldWells { + s.PivotTableAggregatedFieldWells = v return s } -type DescribeIAMPolicyAssignmentInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// The table options for a pivot table visual. +type PivotTableOptions struct { + _ struct{} `type:"structure"` - // The name of the assignment, also called a rule. - // - // AssignmentName is a required field - AssignmentName *string `location:"uri" locationName:"AssignmentName" min:"1" type:"string" required:"true"` + // The table cell style of cells. + CellStyle *TableCellStyle `type:"structure"` - // The ID of the Amazon Web Services account that contains the assignment that - // you want to describe. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // The table cell style of the column header. + ColumnHeaderStyle *TableCellStyle `type:"structure"` - // The namespace that contains the assignment. - // - // Namespace is a required field - Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` + // The visibility of the column names. + ColumnNamesVisibility *string `type:"string" enum:"Visibility"` + + // The metric placement (row, column) options. + MetricPlacement *string `type:"string" enum:"PivotTableMetricPlacement"` + + // The row alternate color options (widget status, row alternate colors). + RowAlternateColorOptions *RowAlternateColorOptions `type:"structure"` + + // The table cell style of row field names. + RowFieldNamesStyle *TableCellStyle `type:"structure"` + + // The table cell style of the row headers. + RowHeaderStyle *TableCellStyle `type:"structure"` + + // The visibility of the single metric options. + SingleMetricVisibility *string `type:"string" enum:"Visibility"` + + // Determines the visibility of the pivot table. + ToggleButtonsVisibility *string `type:"string" enum:"Visibility"` } // String returns the string representation. @@ -26718,7 +59053,7 @@ type DescribeIAMPolicyAssignmentInput struct { // 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 DescribeIAMPolicyAssignmentInput) String() string { +func (s PivotTableOptions) String() string { return awsutil.Prettify(s) } @@ -26727,30 +59062,32 @@ func (s DescribeIAMPolicyAssignmentInput) String() string { // 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 DescribeIAMPolicyAssignmentInput) GoString() string { +func (s PivotTableOptions) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeIAMPolicyAssignmentInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeIAMPolicyAssignmentInput"} - if s.AssignmentName == nil { - invalidParams.Add(request.NewErrParamRequired("AssignmentName")) - } - if s.AssignmentName != nil && len(*s.AssignmentName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("AssignmentName", 1)) - } - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) +func (s *PivotTableOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PivotTableOptions"} + if s.CellStyle != nil { + if err := s.CellStyle.Validate(); err != nil { + invalidParams.AddNested("CellStyle", err.(request.ErrInvalidParams)) + } } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + if s.ColumnHeaderStyle != nil { + if err := s.ColumnHeaderStyle.Validate(); err != nil { + invalidParams.AddNested("ColumnHeaderStyle", err.(request.ErrInvalidParams)) + } } - if s.Namespace == nil { - invalidParams.Add(request.NewErrParamRequired("Namespace")) + if s.RowFieldNamesStyle != nil { + if err := s.RowFieldNamesStyle.Validate(); err != nil { + invalidParams.AddNested("RowFieldNamesStyle", err.(request.ErrInvalidParams)) + } } - if s.Namespace != nil && len(*s.Namespace) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + if s.RowHeaderStyle != nil { + if err := s.RowHeaderStyle.Validate(); err != nil { + invalidParams.AddNested("RowHeaderStyle", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -26759,35 +59096,69 @@ func (s *DescribeIAMPolicyAssignmentInput) Validate() error { return nil } -// SetAssignmentName sets the AssignmentName field's value. -func (s *DescribeIAMPolicyAssignmentInput) SetAssignmentName(v string) *DescribeIAMPolicyAssignmentInput { - s.AssignmentName = &v +// SetCellStyle sets the CellStyle field's value. +func (s *PivotTableOptions) SetCellStyle(v *TableCellStyle) *PivotTableOptions { + s.CellStyle = v return s } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DescribeIAMPolicyAssignmentInput) SetAwsAccountId(v string) *DescribeIAMPolicyAssignmentInput { - s.AwsAccountId = &v +// SetColumnHeaderStyle sets the ColumnHeaderStyle field's value. +func (s *PivotTableOptions) SetColumnHeaderStyle(v *TableCellStyle) *PivotTableOptions { + s.ColumnHeaderStyle = v return s } -// SetNamespace sets the Namespace field's value. -func (s *DescribeIAMPolicyAssignmentInput) SetNamespace(v string) *DescribeIAMPolicyAssignmentInput { - s.Namespace = &v +// SetColumnNamesVisibility sets the ColumnNamesVisibility field's value. +func (s *PivotTableOptions) SetColumnNamesVisibility(v string) *PivotTableOptions { + s.ColumnNamesVisibility = &v return s } -type DescribeIAMPolicyAssignmentOutput struct { - _ struct{} `type:"structure"` +// SetMetricPlacement sets the MetricPlacement field's value. +func (s *PivotTableOptions) SetMetricPlacement(v string) *PivotTableOptions { + s.MetricPlacement = &v + return s +} - // Information describing the IAM policy assignment. - IAMPolicyAssignment *IAMPolicyAssignment `type:"structure"` +// SetRowAlternateColorOptions sets the RowAlternateColorOptions field's value. +func (s *PivotTableOptions) SetRowAlternateColorOptions(v *RowAlternateColorOptions) *PivotTableOptions { + s.RowAlternateColorOptions = v + return s +} - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` +// SetRowFieldNamesStyle sets the RowFieldNamesStyle field's value. +func (s *PivotTableOptions) SetRowFieldNamesStyle(v *TableCellStyle) *PivotTableOptions { + s.RowFieldNamesStyle = v + return s +} - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` +// SetRowHeaderStyle sets the RowHeaderStyle field's value. +func (s *PivotTableOptions) SetRowHeaderStyle(v *TableCellStyle) *PivotTableOptions { + s.RowHeaderStyle = v + return s +} + +// SetSingleMetricVisibility sets the SingleMetricVisibility field's value. +func (s *PivotTableOptions) SetSingleMetricVisibility(v string) *PivotTableOptions { + s.SingleMetricVisibility = &v + return s +} + +// SetToggleButtonsVisibility sets the ToggleButtonsVisibility field's value. +func (s *PivotTableOptions) SetToggleButtonsVisibility(v string) *PivotTableOptions { + s.ToggleButtonsVisibility = &v + return s +} + +// The paginated report options for a pivot table visual. +type PivotTablePaginatedReportOptions struct { + _ struct{} `type:"structure"` + + // The visibility of the repeating header rows on each page. + OverflowColumnHeaderVisibility *string `type:"string" enum:"Visibility"` + + // The visibility of the printing table overflow across pages. + VerticalOverflowVisibility *string `type:"string" enum:"Visibility"` } // String returns the string representation. @@ -26795,7 +59166,7 @@ type DescribeIAMPolicyAssignmentOutput struct { // 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 DescribeIAMPolicyAssignmentOutput) String() string { +func (s PivotTablePaginatedReportOptions) String() string { return awsutil.Prettify(s) } @@ -26804,45 +59175,35 @@ func (s DescribeIAMPolicyAssignmentOutput) String() string { // 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 DescribeIAMPolicyAssignmentOutput) GoString() string { +func (s PivotTablePaginatedReportOptions) GoString() string { return s.String() } -// SetIAMPolicyAssignment sets the IAMPolicyAssignment field's value. -func (s *DescribeIAMPolicyAssignmentOutput) SetIAMPolicyAssignment(v *IAMPolicyAssignment) *DescribeIAMPolicyAssignmentOutput { - s.IAMPolicyAssignment = v - return s -} - -// SetRequestId sets the RequestId field's value. -func (s *DescribeIAMPolicyAssignmentOutput) SetRequestId(v string) *DescribeIAMPolicyAssignmentOutput { - s.RequestId = &v +// SetOverflowColumnHeaderVisibility sets the OverflowColumnHeaderVisibility field's value. +func (s *PivotTablePaginatedReportOptions) SetOverflowColumnHeaderVisibility(v string) *PivotTablePaginatedReportOptions { + s.OverflowColumnHeaderVisibility = &v return s } -// SetStatus sets the Status field's value. -func (s *DescribeIAMPolicyAssignmentOutput) SetStatus(v int64) *DescribeIAMPolicyAssignmentOutput { - s.Status = &v +// SetVerticalOverflowVisibility sets the VerticalOverflowVisibility field's value. +func (s *PivotTablePaginatedReportOptions) SetVerticalOverflowVisibility(v string) *PivotTablePaginatedReportOptions { + s.VerticalOverflowVisibility = &v return s } -type DescribeIngestionInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// The sort by field for the field sort options. +type PivotTableSortBy struct { + _ struct{} `type:"structure"` - // The Amazon Web Services account ID. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // The column sort (field id, direction) for the pivot table sort by options. + Column *ColumnSort `type:"structure"` - // The ID of the dataset used in the ingestion. - // - // DataSetId is a required field - DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"` + // The data path sort (data path value, direction) for the pivot table sort + // by options. + DataPath *DataPathSort `type:"structure"` - // An ID for the ingestion. - // - // IngestionId is a required field - IngestionId *string `location:"uri" locationName:"IngestionId" min:"1" type:"string" required:"true"` + // The field sort (field id, direction) for the pivot table sort by options. + Field *FieldSort `type:"structure"` } // String returns the string representation. @@ -26850,7 +59211,7 @@ type DescribeIngestionInput struct { // 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 DescribeIngestionInput) String() string { +func (s PivotTableSortBy) String() string { return awsutil.Prettify(s) } @@ -26859,30 +59220,27 @@ func (s DescribeIngestionInput) String() string { // 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 DescribeIngestionInput) GoString() string { +func (s PivotTableSortBy) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeIngestionInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeIngestionInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.DataSetId == nil { - invalidParams.Add(request.NewErrParamRequired("DataSetId")) - } - if s.DataSetId != nil && len(*s.DataSetId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1)) +func (s *PivotTableSortBy) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PivotTableSortBy"} + if s.Column != nil { + if err := s.Column.Validate(); err != nil { + invalidParams.AddNested("Column", err.(request.ErrInvalidParams)) + } } - if s.IngestionId == nil { - invalidParams.Add(request.NewErrParamRequired("IngestionId")) + if s.DataPath != nil { + if err := s.DataPath.Validate(); err != nil { + invalidParams.AddNested("DataPath", err.(request.ErrInvalidParams)) + } } - if s.IngestionId != nil && len(*s.IngestionId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("IngestionId", 1)) + if s.Field != nil { + if err := s.Field.Validate(); err != nil { + invalidParams.AddNested("Field", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -26891,35 +59249,30 @@ func (s *DescribeIngestionInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DescribeIngestionInput) SetAwsAccountId(v string) *DescribeIngestionInput { - s.AwsAccountId = &v +// SetColumn sets the Column field's value. +func (s *PivotTableSortBy) SetColumn(v *ColumnSort) *PivotTableSortBy { + s.Column = v return s } -// SetDataSetId sets the DataSetId field's value. -func (s *DescribeIngestionInput) SetDataSetId(v string) *DescribeIngestionInput { - s.DataSetId = &v +// SetDataPath sets the DataPath field's value. +func (s *PivotTableSortBy) SetDataPath(v *DataPathSort) *PivotTableSortBy { + s.DataPath = v return s } -// SetIngestionId sets the IngestionId field's value. -func (s *DescribeIngestionInput) SetIngestionId(v string) *DescribeIngestionInput { - s.IngestionId = &v +// SetField sets the Field field's value. +func (s *PivotTableSortBy) SetField(v *FieldSort) *PivotTableSortBy { + s.Field = v return s } -type DescribeIngestionOutput struct { +// The sort configuration for a PivotTableVisual. +type PivotTableSortConfiguration struct { _ struct{} `type:"structure"` - // Information about the ingestion. - Ingestion *Ingestion `type:"structure"` - - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` - - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The field sort options for a pivot table sort configuration. + FieldSortOptions []*PivotFieldSortOptions `type:"list"` } // String returns the string representation. @@ -26927,7 +59280,7 @@ type DescribeIngestionOutput struct { // 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 DescribeIngestionOutput) String() string { +func (s PivotTableSortConfiguration) String() string { return awsutil.Prettify(s) } @@ -26936,35 +59289,51 @@ func (s DescribeIngestionOutput) String() string { // 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 DescribeIngestionOutput) GoString() string { +func (s PivotTableSortConfiguration) GoString() string { return s.String() } -// SetIngestion sets the Ingestion field's value. -func (s *DescribeIngestionOutput) SetIngestion(v *Ingestion) *DescribeIngestionOutput { - s.Ingestion = v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *PivotTableSortConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PivotTableSortConfiguration"} + if s.FieldSortOptions != nil { + for i, v := range s.FieldSortOptions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "FieldSortOptions", i), err.(request.ErrInvalidParams)) + } + } + } -// SetRequestId sets the RequestId field's value. -func (s *DescribeIngestionOutput) SetRequestId(v string) *DescribeIngestionOutput { - s.RequestId = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetStatus sets the Status field's value. -func (s *DescribeIngestionOutput) SetStatus(v int64) *DescribeIngestionOutput { - s.Status = &v +// SetFieldSortOptions sets the FieldSortOptions field's value. +func (s *PivotTableSortConfiguration) SetFieldSortOptions(v []*PivotFieldSortOptions) *PivotTableSortConfiguration { + s.FieldSortOptions = v return s } -type DescribeIpRestrictionInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// The total options for a pivot table visual. +type PivotTableTotalOptions struct { + _ struct{} `type:"structure"` - // The ID of the Amazon Web Services account that contains the IP rules. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // The column subtotal options. + ColumnSubtotalOptions *SubtotalOptions `type:"structure"` + + // The column total options. + ColumnTotalOptions *PivotTotalOptions `type:"structure"` + + // The row subtotal options. + RowSubtotalOptions *SubtotalOptions `type:"structure"` + + // The row total options. + RowTotalOptions *PivotTotalOptions `type:"structure"` } // String returns the string representation. @@ -26972,7 +59341,7 @@ type DescribeIpRestrictionInput struct { // 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 DescribeIpRestrictionInput) String() string { +func (s PivotTableTotalOptions) String() string { return awsutil.Prettify(s) } @@ -26981,18 +59350,32 @@ func (s DescribeIpRestrictionInput) String() string { // 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 DescribeIpRestrictionInput) GoString() string { +func (s PivotTableTotalOptions) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeIpRestrictionInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeIpRestrictionInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) +func (s *PivotTableTotalOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PivotTableTotalOptions"} + if s.ColumnSubtotalOptions != nil { + if err := s.ColumnSubtotalOptions.Validate(); err != nil { + invalidParams.AddNested("ColumnSubtotalOptions", err.(request.ErrInvalidParams)) + } } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + if s.ColumnTotalOptions != nil { + if err := s.ColumnTotalOptions.Validate(); err != nil { + invalidParams.AddNested("ColumnTotalOptions", err.(request.ErrInvalidParams)) + } + } + if s.RowSubtotalOptions != nil { + if err := s.RowSubtotalOptions.Validate(); err != nil { + invalidParams.AddNested("RowSubtotalOptions", err.(request.ErrInvalidParams)) + } + } + if s.RowTotalOptions != nil { + if err := s.RowTotalOptions.Validate(); err != nil { + invalidParams.AddNested("RowTotalOptions", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -27001,29 +59384,58 @@ func (s *DescribeIpRestrictionInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DescribeIpRestrictionInput) SetAwsAccountId(v string) *DescribeIpRestrictionInput { - s.AwsAccountId = &v +// SetColumnSubtotalOptions sets the ColumnSubtotalOptions field's value. +func (s *PivotTableTotalOptions) SetColumnSubtotalOptions(v *SubtotalOptions) *PivotTableTotalOptions { + s.ColumnSubtotalOptions = v return s } -type DescribeIpRestrictionOutput struct { +// SetColumnTotalOptions sets the ColumnTotalOptions field's value. +func (s *PivotTableTotalOptions) SetColumnTotalOptions(v *PivotTotalOptions) *PivotTableTotalOptions { + s.ColumnTotalOptions = v + return s +} + +// SetRowSubtotalOptions sets the RowSubtotalOptions field's value. +func (s *PivotTableTotalOptions) SetRowSubtotalOptions(v *SubtotalOptions) *PivotTableTotalOptions { + s.RowSubtotalOptions = v + return s +} + +// SetRowTotalOptions sets the RowTotalOptions field's value. +func (s *PivotTableTotalOptions) SetRowTotalOptions(v *PivotTotalOptions) *PivotTableTotalOptions { + s.RowTotalOptions = v + return s +} + +// A pivot table. +// +// For more information, see Using pivot tables (https://docs.aws.amazon.com/quicksight/latest/user/pivot-table.html) +// in the Amazon QuickSight User Guide. +type PivotTableVisual struct { _ struct{} `type:"structure"` - // The ID of the Amazon Web Services account that contains the IP rules. - AwsAccountId *string `min:"12" type:"string"` + // The list of custom actions that are configured for a visual. + Actions []*VisualCustomAction `type:"list"` - // A value that specifies whether IP rules are turned on. - Enabled *bool `type:"boolean"` + // The configuration settings of the visual. + ChartConfiguration *PivotTableConfiguration `type:"structure"` - // A map that describes the IP rules with CIDR range and description. - IpRestrictionRuleMap map[string]*string `type:"map"` + // The conditional formatting for a PivotTableVisual. + ConditionalFormatting *PivotTableConditionalFormatting `type:"structure"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The subtitle that is displayed on the visual. + Subtitle *VisualSubtitleLabelOptions `type:"structure"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The title that is displayed on the visual. + Title *VisualTitleLabelOptions `type:"structure"` + + // The unique identifier of a visual. This identifier must be unique within + // the context of a dashboard, template, or analysis. Two dashboards, analyses, + // or templates can have visuals with the same identifiers.. + // + // VisualId is a required field + VisualId *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -27031,7 +59443,7 @@ type DescribeIpRestrictionOutput struct { // 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 DescribeIpRestrictionOutput) String() string { +func (s PivotTableVisual) String() string { return awsutil.Prettify(s) } @@ -27040,53 +59452,116 @@ func (s DescribeIpRestrictionOutput) String() string { // 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 DescribeIpRestrictionOutput) GoString() string { +func (s PivotTableVisual) GoString() string { return s.String() } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DescribeIpRestrictionOutput) SetAwsAccountId(v string) *DescribeIpRestrictionOutput { - s.AwsAccountId = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *PivotTableVisual) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PivotTableVisual"} + if s.VisualId == nil { + invalidParams.Add(request.NewErrParamRequired("VisualId")) + } + if s.VisualId != nil && len(*s.VisualId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("VisualId", 1)) + } + if s.Actions != nil { + for i, v := range s.Actions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Actions", i), err.(request.ErrInvalidParams)) + } + } + } + if s.ChartConfiguration != nil { + if err := s.ChartConfiguration.Validate(); err != nil { + invalidParams.AddNested("ChartConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.ConditionalFormatting != nil { + if err := s.ConditionalFormatting.Validate(); err != nil { + invalidParams.AddNested("ConditionalFormatting", err.(request.ErrInvalidParams)) + } + } + if s.Subtitle != nil { + if err := s.Subtitle.Validate(); err != nil { + invalidParams.AddNested("Subtitle", err.(request.ErrInvalidParams)) + } + } + if s.Title != nil { + if err := s.Title.Validate(); err != nil { + invalidParams.AddNested("Title", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetActions sets the Actions field's value. +func (s *PivotTableVisual) SetActions(v []*VisualCustomAction) *PivotTableVisual { + s.Actions = v return s } -// SetEnabled sets the Enabled field's value. -func (s *DescribeIpRestrictionOutput) SetEnabled(v bool) *DescribeIpRestrictionOutput { - s.Enabled = &v +// SetChartConfiguration sets the ChartConfiguration field's value. +func (s *PivotTableVisual) SetChartConfiguration(v *PivotTableConfiguration) *PivotTableVisual { + s.ChartConfiguration = v return s } -// SetIpRestrictionRuleMap sets the IpRestrictionRuleMap field's value. -func (s *DescribeIpRestrictionOutput) SetIpRestrictionRuleMap(v map[string]*string) *DescribeIpRestrictionOutput { - s.IpRestrictionRuleMap = v +// SetConditionalFormatting sets the ConditionalFormatting field's value. +func (s *PivotTableVisual) SetConditionalFormatting(v *PivotTableConditionalFormatting) *PivotTableVisual { + s.ConditionalFormatting = v return s } -// SetRequestId sets the RequestId field's value. -func (s *DescribeIpRestrictionOutput) SetRequestId(v string) *DescribeIpRestrictionOutput { - s.RequestId = &v +// SetSubtitle sets the Subtitle field's value. +func (s *PivotTableVisual) SetSubtitle(v *VisualSubtitleLabelOptions) *PivotTableVisual { + s.Subtitle = v return s } -// SetStatus sets the Status field's value. -func (s *DescribeIpRestrictionOutput) SetStatus(v int64) *DescribeIpRestrictionOutput { - s.Status = &v +// SetTitle sets the Title field's value. +func (s *PivotTableVisual) SetTitle(v *VisualTitleLabelOptions) *PivotTableVisual { + s.Title = v return s } -type DescribeNamespaceInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// SetVisualId sets the VisualId field's value. +func (s *PivotTableVisual) SetVisualId(v string) *PivotTableVisual { + s.VisualId = &v + return s +} - // The ID for the Amazon Web Services account that contains the Amazon QuickSight - // namespace that you want to describe. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` +// The optional configuration of totals cells in a PivotTableVisual. +type PivotTotalOptions struct { + _ struct{} `type:"structure"` - // The namespace that you want to describe. - // - // Namespace is a required field - Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` + // The custom label string for the total cells. + CustomLabel *string `type:"string"` + + // The cell styling options for the total of header cells. + MetricHeaderCellStyle *TableCellStyle `type:"structure"` + + // The placement (start, end) for the total cells. + Placement *string `type:"string" enum:"TableTotalsPlacement"` + + // The scroll status (pinned, scrolled) for the total cells. + ScrollStatus *string `type:"string" enum:"TableTotalsScrollStatus"` + + // The cell styling options for the total cells. + TotalCellStyle *TableCellStyle `type:"structure"` + + // The visibility configuration for the total cells. + TotalsVisibility *string `type:"string" enum:"Visibility"` + + // The cell styling options for the totals of value cells. + ValueCellStyle *TableCellStyle `type:"structure"` } // String returns the string representation. @@ -27094,7 +59569,7 @@ type DescribeNamespaceInput struct { // 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 DescribeNamespaceInput) String() string { +func (s PivotTotalOptions) String() string { return awsutil.Prettify(s) } @@ -27103,24 +59578,27 @@ func (s DescribeNamespaceInput) String() string { // 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 DescribeNamespaceInput) GoString() string { +func (s PivotTotalOptions) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeNamespaceInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeNamespaceInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) +func (s *PivotTotalOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PivotTotalOptions"} + if s.MetricHeaderCellStyle != nil { + if err := s.MetricHeaderCellStyle.Validate(); err != nil { + invalidParams.AddNested("MetricHeaderCellStyle", err.(request.ErrInvalidParams)) + } } - if s.Namespace == nil { - invalidParams.Add(request.NewErrParamRequired("Namespace")) + if s.TotalCellStyle != nil { + if err := s.TotalCellStyle.Validate(); err != nil { + invalidParams.AddNested("TotalCellStyle", err.(request.ErrInvalidParams)) + } } - if s.Namespace != nil && len(*s.Namespace) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + if s.ValueCellStyle != nil { + if err := s.ValueCellStyle.Validate(); err != nil { + invalidParams.AddNested("ValueCellStyle", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -27129,34 +59607,66 @@ func (s *DescribeNamespaceInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DescribeNamespaceInput) SetAwsAccountId(v string) *DescribeNamespaceInput { - s.AwsAccountId = &v +// SetCustomLabel sets the CustomLabel field's value. +func (s *PivotTotalOptions) SetCustomLabel(v string) *PivotTotalOptions { + s.CustomLabel = &v return s } -// SetNamespace sets the Namespace field's value. -func (s *DescribeNamespaceInput) SetNamespace(v string) *DescribeNamespaceInput { - s.Namespace = &v +// SetMetricHeaderCellStyle sets the MetricHeaderCellStyle field's value. +func (s *PivotTotalOptions) SetMetricHeaderCellStyle(v *TableCellStyle) *PivotTotalOptions { + s.MetricHeaderCellStyle = v return s } -type DescribeNamespaceOutput struct { +// SetPlacement sets the Placement field's value. +func (s *PivotTotalOptions) SetPlacement(v string) *PivotTotalOptions { + s.Placement = &v + return s +} + +// SetScrollStatus sets the ScrollStatus field's value. +func (s *PivotTotalOptions) SetScrollStatus(v string) *PivotTotalOptions { + s.ScrollStatus = &v + return s +} + +// SetTotalCellStyle sets the TotalCellStyle field's value. +func (s *PivotTotalOptions) SetTotalCellStyle(v *TableCellStyle) *PivotTotalOptions { + s.TotalCellStyle = v + return s +} + +// SetTotalsVisibility sets the TotalsVisibility field's value. +func (s *PivotTotalOptions) SetTotalsVisibility(v string) *PivotTotalOptions { + s.TotalsVisibility = &v + return s +} + +// SetValueCellStyle sets the ValueCellStyle field's value. +func (s *PivotTotalOptions) SetValueCellStyle(v *TableCellStyle) *PivotTotalOptions { + s.ValueCellStyle = v + return s +} + +// The parameters for PostgreSQL. +type PostgreSqlParameters struct { _ struct{} `type:"structure"` - // The information about the namespace that you're describing. The response - // includes the namespace ARN, name, Amazon Web Services Region, creation status, - // and identity store. DescribeNamespace also works for namespaces that are - // in the process of being created. For incomplete namespaces, this API operation - // lists the namespace error types and messages associated with the creation - // process. - Namespace *NamespaceInfoV2 `type:"structure"` + // Database. + // + // Database is a required field + Database *string `min:"1" type:"string" required:"true"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // Host. + // + // Host is a required field + Host *string `min:"1" type:"string" required:"true"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // Port. + // + // Port is a required field + Port *int64 `min:"1" type:"integer" required:"true"` } // String returns the string representation. @@ -27164,7 +59674,7 @@ type DescribeNamespaceOutput struct { // 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 DescribeNamespaceOutput) String() string { +func (s PostgreSqlParameters) String() string { return awsutil.Prettify(s) } @@ -27173,49 +59683,65 @@ func (s DescribeNamespaceOutput) String() string { // 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 DescribeNamespaceOutput) GoString() string { +func (s PostgreSqlParameters) GoString() string { return s.String() } -// SetNamespace sets the Namespace field's value. -func (s *DescribeNamespaceOutput) SetNamespace(v *NamespaceInfoV2) *DescribeNamespaceOutput { - s.Namespace = v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *PostgreSqlParameters) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PostgreSqlParameters"} + if s.Database == nil { + invalidParams.Add(request.NewErrParamRequired("Database")) + } + if s.Database != nil && len(*s.Database) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Database", 1)) + } + if s.Host == nil { + invalidParams.Add(request.NewErrParamRequired("Host")) + } + if s.Host != nil && len(*s.Host) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Host", 1)) + } + if s.Port == nil { + invalidParams.Add(request.NewErrParamRequired("Port")) + } + if s.Port != nil && *s.Port < 1 { + invalidParams.Add(request.NewErrParamMinValue("Port", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetRequestId sets the RequestId field's value. -func (s *DescribeNamespaceOutput) SetRequestId(v string) *DescribeNamespaceOutput { - s.RequestId = &v +// SetDatabase sets the Database field's value. +func (s *PostgreSqlParameters) SetDatabase(v string) *PostgreSqlParameters { + s.Database = &v return s } -// SetStatus sets the Status field's value. -func (s *DescribeNamespaceOutput) SetStatus(v int64) *DescribeNamespaceOutput { - s.Status = &v +// SetHost sets the Host field's value. +func (s *PostgreSqlParameters) SetHost(v string) *PostgreSqlParameters { + s.Host = &v return s } -type DescribeTemplateAliasInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// SetPort sets the Port field's value. +func (s *PostgreSqlParameters) SetPort(v int64) *PostgreSqlParameters { + s.Port = &v + return s +} - // The name of the template alias that you want to describe. If you name a specific - // alias, you describe the version that the alias points to. You can specify - // the latest version of the template by providing the keyword $LATEST in the - // AliasName parameter. The keyword $PUBLISHED doesn't apply to templates. - // - // AliasName is a required field - AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"` +// One or more preconditions aren't met. +type PreconditionNotMetException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - // The ID of the Amazon Web Services account that contains the template alias - // that you're describing. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + Message_ *string `locationName:"Message" type:"string"` - // The ID for the template. - // - // TemplateId is a required field - TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"` + // The Amazon Web Services request ID for this request. + RequestId *string `type:"string"` } // String returns the string representation. @@ -27223,7 +59749,7 @@ type DescribeTemplateAliasInput struct { // 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 DescribeTemplateAliasInput) String() string { +func (s PreconditionNotMetException) String() string { return awsutil.Prettify(s) } @@ -27232,67 +59758,66 @@ func (s DescribeTemplateAliasInput) String() string { // 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 DescribeTemplateAliasInput) GoString() string { +func (s PreconditionNotMetException) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeTemplateAliasInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeTemplateAliasInput"} - if s.AliasName == nil { - invalidParams.Add(request.NewErrParamRequired("AliasName")) - } - if s.AliasName != nil && len(*s.AliasName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("AliasName", 1)) - } - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.TemplateId == nil { - invalidParams.Add(request.NewErrParamRequired("TemplateId")) - } - if s.TemplateId != nil && len(*s.TemplateId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1)) +func newErrorPreconditionNotMetException(v protocol.ResponseMetadata) error { + return &PreconditionNotMetException{ + RespMetadata: v, } +} - if invalidParams.Len() > 0 { - return invalidParams +// Code returns the exception type name. +func (s *PreconditionNotMetException) Code() string { + return "PreconditionNotMetException" +} + +// Message returns the exception's message. +func (s *PreconditionNotMetException) Message() string { + if s.Message_ != nil { + return *s.Message_ } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *PreconditionNotMetException) OrigErr() error { return nil } -// SetAliasName sets the AliasName field's value. -func (s *DescribeTemplateAliasInput) SetAliasName(v string) *DescribeTemplateAliasInput { - s.AliasName = &v - return s +func (s *PreconditionNotMetException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DescribeTemplateAliasInput) SetAwsAccountId(v string) *DescribeTemplateAliasInput { - s.AwsAccountId = &v - return s +// Status code returns the HTTP status code for the request's response error. +func (s *PreconditionNotMetException) StatusCode() int { + return s.RespMetadata.StatusCode } -// SetTemplateId sets the TemplateId field's value. -func (s *DescribeTemplateAliasInput) SetTemplateId(v string) *DescribeTemplateAliasInput { - s.TemplateId = &v - return s +// RequestID returns the service's response RequestID for request. +func (s *PreconditionNotMetException) RequestID() string { + return s.RespMetadata.RequestID } -type DescribeTemplateAliasOutput struct { +// The option that determines the hierarchy of the fields that are defined during +// data preparation. These fields are available to use in any analysis that +// uses the data source. +type PredefinedHierarchy struct { _ struct{} `type:"structure"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The list of columns that define the predefined hierarchy. + // + // Columns is a required field + Columns []*ColumnIdentifier `min:"1" type:"list" required:"true"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The option that determines the drill down filters for the predefined hierarchy. + DrillDownFilters []*DrillDownFilter `type:"list"` - // Information about the template alias. - TemplateAlias *TemplateAlias `type:"structure"` + // The hierarchy ID of the predefined hierarchy. + // + // HierarchyId is a required field + HierarchyId *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -27300,7 +59825,7 @@ type DescribeTemplateAliasOutput struct { // 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 DescribeTemplateAliasOutput) String() string { +func (s PredefinedHierarchy) String() string { return awsutil.Prettify(s) } @@ -27309,51 +59834,88 @@ func (s DescribeTemplateAliasOutput) String() string { // 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 DescribeTemplateAliasOutput) GoString() string { +func (s PredefinedHierarchy) GoString() string { return s.String() } -// SetRequestId sets the RequestId field's value. -func (s *DescribeTemplateAliasOutput) SetRequestId(v string) *DescribeTemplateAliasOutput { - s.RequestId = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *PredefinedHierarchy) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PredefinedHierarchy"} + if s.Columns == nil { + invalidParams.Add(request.NewErrParamRequired("Columns")) + } + if s.Columns != nil && len(s.Columns) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Columns", 1)) + } + if s.HierarchyId == nil { + invalidParams.Add(request.NewErrParamRequired("HierarchyId")) + } + if s.HierarchyId != nil && len(*s.HierarchyId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("HierarchyId", 1)) + } + if s.Columns != nil { + for i, v := range s.Columns { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Columns", i), err.(request.ErrInvalidParams)) + } + } + } + if s.DrillDownFilters != nil { + for i, v := range s.DrillDownFilters { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DrillDownFilters", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetStatus sets the Status field's value. -func (s *DescribeTemplateAliasOutput) SetStatus(v int64) *DescribeTemplateAliasOutput { - s.Status = &v +// SetColumns sets the Columns field's value. +func (s *PredefinedHierarchy) SetColumns(v []*ColumnIdentifier) *PredefinedHierarchy { + s.Columns = v return s } -// SetTemplateAlias sets the TemplateAlias field's value. -func (s *DescribeTemplateAliasOutput) SetTemplateAlias(v *TemplateAlias) *DescribeTemplateAliasOutput { - s.TemplateAlias = v +// SetDrillDownFilters sets the DrillDownFilters field's value. +func (s *PredefinedHierarchy) SetDrillDownFilters(v []*DrillDownFilter) *PredefinedHierarchy { + s.DrillDownFilters = v return s } -type DescribeTemplateInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// SetHierarchyId sets the HierarchyId field's value. +func (s *PredefinedHierarchy) SetHierarchyId(v string) *PredefinedHierarchy { + s.HierarchyId = &v + return s +} - // The alias of the template that you want to describe. If you name a specific - // alias, you describe the version that the alias points to. You can specify - // the latest version of the template by providing the keyword $LATEST in the - // AliasName parameter. The keyword $PUBLISHED doesn't apply to templates. - AliasName *string `location:"querystring" locationName:"alias-name" min:"1" type:"string"` +// The parameters for Presto. +type PrestoParameters struct { + _ struct{} `type:"structure"` - // The ID of the Amazon Web Services account that contains the template that - // you're describing. + // Catalog. // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // Catalog is a required field + Catalog *string `type:"string" required:"true"` - // The ID for the template. + // Host. // - // TemplateId is a required field - TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"` + // Host is a required field + Host *string `min:"1" type:"string" required:"true"` - // (Optional) The number for the version to describe. If a VersionNumber parameter - // value isn't provided, the latest version of the template is described. - VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"` + // Port. + // + // Port is a required field + Port *int64 `min:"1" type:"integer" required:"true"` } // String returns the string representation. @@ -27361,7 +59923,7 @@ type DescribeTemplateInput struct { // 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 DescribeTemplateInput) String() string { +func (s PrestoParameters) String() string { return awsutil.Prettify(s) } @@ -27370,30 +59932,27 @@ func (s DescribeTemplateInput) String() string { // 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 DescribeTemplateInput) GoString() string { +func (s PrestoParameters) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeTemplateInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeTemplateInput"} - if s.AliasName != nil && len(*s.AliasName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("AliasName", 1)) - } - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) +func (s *PrestoParameters) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PrestoParameters"} + if s.Catalog == nil { + invalidParams.Add(request.NewErrParamRequired("Catalog")) } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + if s.Host == nil { + invalidParams.Add(request.NewErrParamRequired("Host")) } - if s.TemplateId == nil { - invalidParams.Add(request.NewErrParamRequired("TemplateId")) + if s.Host != nil && len(*s.Host) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Host", 1)) } - if s.TemplateId != nil && len(*s.TemplateId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1)) + if s.Port == nil { + invalidParams.Add(request.NewErrParamRequired("Port")) } - if s.VersionNumber != nil && *s.VersionNumber < 1 { - invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1)) + if s.Port != nil && *s.Port < 1 { + invalidParams.Add(request.NewErrParamMinValue("Port", 1)) } if invalidParams.Len() > 0 { @@ -27402,41 +59961,31 @@ func (s *DescribeTemplateInput) Validate() error { return nil } -// SetAliasName sets the AliasName field's value. -func (s *DescribeTemplateInput) SetAliasName(v string) *DescribeTemplateInput { - s.AliasName = &v - return s -} - -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DescribeTemplateInput) SetAwsAccountId(v string) *DescribeTemplateInput { - s.AwsAccountId = &v +// SetCatalog sets the Catalog field's value. +func (s *PrestoParameters) SetCatalog(v string) *PrestoParameters { + s.Catalog = &v return s } -// SetTemplateId sets the TemplateId field's value. -func (s *DescribeTemplateInput) SetTemplateId(v string) *DescribeTemplateInput { - s.TemplateId = &v +// SetHost sets the Host field's value. +func (s *PrestoParameters) SetHost(v string) *PrestoParameters { + s.Host = &v return s } -// SetVersionNumber sets the VersionNumber field's value. -func (s *DescribeTemplateInput) SetVersionNumber(v int64) *DescribeTemplateInput { - s.VersionNumber = &v +// SetPort sets the Port field's value. +func (s *PrestoParameters) SetPort(v int64) *PrestoParameters { + s.Port = &v return s } -type DescribeTemplateOutput struct { +// The options that determine the presentation of the progress bar of a KPI +// visual. +type ProgressBarOptions struct { _ struct{} `type:"structure"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` - - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` - - // The template structure for the object you want to describe. - Template *Template `type:"structure"` + // The visibility of the progress bar. + Visibility *string `type:"string" enum:"Visibility"` } // String returns the string representation. @@ -27444,7 +59993,7 @@ type DescribeTemplateOutput struct { // 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 DescribeTemplateOutput) String() string { +func (s ProgressBarOptions) String() string { return awsutil.Prettify(s) } @@ -27453,41 +60002,25 @@ func (s DescribeTemplateOutput) String() string { // 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 DescribeTemplateOutput) GoString() string { +func (s ProgressBarOptions) GoString() string { return s.String() } -// SetRequestId sets the RequestId field's value. -func (s *DescribeTemplateOutput) SetRequestId(v string) *DescribeTemplateOutput { - s.RequestId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *DescribeTemplateOutput) SetStatus(v int64) *DescribeTemplateOutput { - s.Status = &v - return s -} - -// SetTemplate sets the Template field's value. -func (s *DescribeTemplateOutput) SetTemplate(v *Template) *DescribeTemplateOutput { - s.Template = v +// SetVisibility sets the Visibility field's value. +func (s *ProgressBarOptions) SetVisibility(v string) *ProgressBarOptions { + s.Visibility = &v return s } -type DescribeTemplatePermissionsInput struct { - _ struct{} `type:"structure" nopayload:"true"` - - // The ID of the Amazon Web Services account that contains the template that - // you're describing. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` +// A transform operation that projects columns. Operations that come after a +// projection can only refer to projected columns. +type ProjectOperation struct { + _ struct{} `type:"structure"` - // The ID for the template. + // Projected columns. // - // TemplateId is a required field - TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"` + // ProjectedColumns is a required field + ProjectedColumns []*string `min:"1" type:"list" required:"true"` } // String returns the string representation. @@ -27495,7 +60028,7 @@ type DescribeTemplatePermissionsInput struct { // 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 DescribeTemplatePermissionsInput) String() string { +func (s ProjectOperation) String() string { return awsutil.Prettify(s) } @@ -27504,24 +60037,18 @@ func (s DescribeTemplatePermissionsInput) String() string { // 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 DescribeTemplatePermissionsInput) GoString() string { +func (s ProjectOperation) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeTemplatePermissionsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeTemplatePermissionsInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.TemplateId == nil { - invalidParams.Add(request.NewErrParamRequired("TemplateId")) +func (s *ProjectOperation) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ProjectOperation"} + if s.ProjectedColumns == nil { + invalidParams.Add(request.NewErrParamRequired("ProjectedColumns")) } - if s.TemplateId != nil && len(*s.TemplateId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1)) + if s.ProjectedColumns != nil && len(s.ProjectedColumns) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ProjectedColumns", 1)) } if invalidParams.Len() > 0 { @@ -27530,35 +60057,26 @@ func (s *DescribeTemplatePermissionsInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DescribeTemplatePermissionsInput) SetAwsAccountId(v string) *DescribeTemplatePermissionsInput { - s.AwsAccountId = &v - return s -} - -// SetTemplateId sets the TemplateId field's value. -func (s *DescribeTemplatePermissionsInput) SetTemplateId(v string) *DescribeTemplatePermissionsInput { - s.TemplateId = &v +// SetProjectedColumns sets the ProjectedColumns field's value. +func (s *ProjectOperation) SetProjectedColumns(v []*string) *ProjectOperation { + s.ProjectedColumns = v return s } -type DescribeTemplatePermissionsOutput struct { +// Information about a queued dataset SPICE ingestion. +type QueueInfo struct { _ struct{} `type:"structure"` - // A list of resource permissions to be set on the template. - Permissions []*ResourcePermission `min:"1" type:"list"` - - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` - - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` - - // The Amazon Resource Name (ARN) of the template. - TemplateArn *string `type:"string"` + // The ID of the ongoing ingestion. The queued ingestion is waiting for the + // ongoing ingestion to complete. + // + // QueuedIngestion is a required field + QueuedIngestion *string `type:"string" required:"true"` - // The ID for the template. - TemplateId *string `min:"1" type:"string"` + // The ID of the queued ingestion. + // + // WaitingOnIngestion is a required field + WaitingOnIngestion *string `type:"string" required:"true"` } // String returns the string representation. @@ -27566,7 +60084,7 @@ type DescribeTemplatePermissionsOutput struct { // 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 DescribeTemplatePermissionsOutput) String() string { +func (s QueueInfo) String() string { return awsutil.Prettify(s) } @@ -27575,58 +60093,28 @@ func (s DescribeTemplatePermissionsOutput) String() string { // 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 DescribeTemplatePermissionsOutput) GoString() string { +func (s QueueInfo) GoString() string { return s.String() } -// SetPermissions sets the Permissions field's value. -func (s *DescribeTemplatePermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeTemplatePermissionsOutput { - s.Permissions = v - return s -} - -// SetRequestId sets the RequestId field's value. -func (s *DescribeTemplatePermissionsOutput) SetRequestId(v string) *DescribeTemplatePermissionsOutput { - s.RequestId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *DescribeTemplatePermissionsOutput) SetStatus(v int64) *DescribeTemplatePermissionsOutput { - s.Status = &v - return s -} - -// SetTemplateArn sets the TemplateArn field's value. -func (s *DescribeTemplatePermissionsOutput) SetTemplateArn(v string) *DescribeTemplatePermissionsOutput { - s.TemplateArn = &v +// SetQueuedIngestion sets the QueuedIngestion field's value. +func (s *QueueInfo) SetQueuedIngestion(v string) *QueueInfo { + s.QueuedIngestion = &v return s } -// SetTemplateId sets the TemplateId field's value. -func (s *DescribeTemplatePermissionsOutput) SetTemplateId(v string) *DescribeTemplatePermissionsOutput { - s.TemplateId = &v +// SetWaitingOnIngestion sets the WaitingOnIngestion field's value. +func (s *QueueInfo) SetWaitingOnIngestion(v string) *QueueInfo { + s.WaitingOnIngestion = &v return s } -type DescribeThemeAliasInput struct { - _ struct{} `type:"structure" nopayload:"true"` - - // The name of the theme alias that you want to describe. - // - // AliasName is a required field - AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"` - - // The ID of the Amazon Web Services account that contains the theme alias that - // you're describing. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` +// The range ends label type of a data path label. +type RangeEndsLabelType struct { + _ struct{} `type:"structure"` - // The ID for the theme. - // - // ThemeId is a required field - ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"` + // The visibility of the range ends label. + Visibility *string `type:"string" enum:"Visibility"` } // String returns the string representation. @@ -27634,7 +60122,7 @@ type DescribeThemeAliasInput struct { // 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 DescribeThemeAliasInput) String() string { +func (s RangeEndsLabelType) String() string { return awsutil.Prettify(s) } @@ -27643,67 +60131,29 @@ func (s DescribeThemeAliasInput) String() string { // 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 DescribeThemeAliasInput) GoString() string { +func (s RangeEndsLabelType) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeThemeAliasInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeThemeAliasInput"} - if s.AliasName == nil { - invalidParams.Add(request.NewErrParamRequired("AliasName")) - } - if s.AliasName != nil && len(*s.AliasName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("AliasName", 1)) - } - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.ThemeId == nil { - invalidParams.Add(request.NewErrParamRequired("ThemeId")) - } - if s.ThemeId != nil && len(*s.ThemeId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetAliasName sets the AliasName field's value. -func (s *DescribeThemeAliasInput) SetAliasName(v string) *DescribeThemeAliasInput { - s.AliasName = &v - return s -} - -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DescribeThemeAliasInput) SetAwsAccountId(v string) *DescribeThemeAliasInput { - s.AwsAccountId = &v - return s -} - -// SetThemeId sets the ThemeId field's value. -func (s *DescribeThemeAliasInput) SetThemeId(v string) *DescribeThemeAliasInput { - s.ThemeId = &v +// SetVisibility sets the Visibility field's value. +func (s *RangeEndsLabelType) SetVisibility(v string) *RangeEndsLabelType { + s.Visibility = &v return s } -type DescribeThemeAliasOutput struct { +// The parameters for Amazon RDS. +type RdsParameters struct { _ struct{} `type:"structure"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` - - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // Database. + // + // Database is a required field + Database *string `min:"1" type:"string" required:"true"` - // Information about the theme alias. - ThemeAlias *ThemeAlias `type:"structure"` + // Instance ID. + // + // InstanceId is a required field + InstanceId *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -27711,7 +60161,7 @@ type DescribeThemeAliasOutput struct { // 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 DescribeThemeAliasOutput) String() string { +func (s RdsParameters) String() string { return awsutil.Prettify(s) } @@ -27720,51 +60170,63 @@ func (s DescribeThemeAliasOutput) String() string { // 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 DescribeThemeAliasOutput) GoString() string { +func (s RdsParameters) GoString() string { return s.String() } -// SetRequestId sets the RequestId field's value. -func (s *DescribeThemeAliasOutput) SetRequestId(v string) *DescribeThemeAliasOutput { - s.RequestId = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *RdsParameters) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RdsParameters"} + if s.Database == nil { + invalidParams.Add(request.NewErrParamRequired("Database")) + } + if s.Database != nil && len(*s.Database) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Database", 1)) + } + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetStatus sets the Status field's value. -func (s *DescribeThemeAliasOutput) SetStatus(v int64) *DescribeThemeAliasOutput { - s.Status = &v +// SetDatabase sets the Database field's value. +func (s *RdsParameters) SetDatabase(v string) *RdsParameters { + s.Database = &v return s } -// SetThemeAlias sets the ThemeAlias field's value. -func (s *DescribeThemeAliasOutput) SetThemeAlias(v *ThemeAlias) *DescribeThemeAliasOutput { - s.ThemeAlias = v +// SetInstanceId sets the InstanceId field's value. +func (s *RdsParameters) SetInstanceId(v string) *RdsParameters { + s.InstanceId = &v return s } -type DescribeThemeInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// The parameters for Amazon Redshift. The ClusterId field can be blank if Host +// and Port are both set. The Host and Port fields can be blank if the ClusterId +// field is set. +type RedshiftParameters struct { + _ struct{} `type:"structure"` - // The alias of the theme that you want to describe. If you name a specific - // alias, you describe the version that the alias points to. You can specify - // the latest version of the theme by providing the keyword $LATEST in the AliasName - // parameter. The keyword $PUBLISHED doesn't apply to themes. - AliasName *string `location:"querystring" locationName:"alias-name" min:"1" type:"string"` + // Cluster ID. This field can be blank if the Host and Port are provided. + ClusterId *string `min:"1" type:"string"` - // The ID of the Amazon Web Services account that contains the theme that you're - // describing. + // Database. // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" type:"string" required:"true"` + // Database is a required field + Database *string `min:"1" type:"string" required:"true"` - // The ID for the theme. - // - // ThemeId is a required field - ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"` + // Host. This field can be blank if ClusterId is provided. + Host *string `min:"1" type:"string"` - // The version number for the version to describe. If a VersionNumber parameter - // value isn't provided, the latest version of the theme is described. - VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"` + // Port. This field can be blank if the ClusterId is provided. + Port *int64 `type:"integer"` } // String returns the string representation. @@ -27772,7 +60234,7 @@ type DescribeThemeInput struct { // 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 DescribeThemeInput) String() string { +func (s RedshiftParameters) String() string { return awsutil.Prettify(s) } @@ -27781,30 +60243,24 @@ func (s DescribeThemeInput) String() string { // 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 DescribeThemeInput) GoString() string { +func (s RedshiftParameters) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeThemeInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeThemeInput"} - if s.AliasName != nil && len(*s.AliasName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("AliasName", 1)) - } - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 1)) +func (s *RedshiftParameters) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RedshiftParameters"} + if s.ClusterId != nil && len(*s.ClusterId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClusterId", 1)) } - if s.ThemeId == nil { - invalidParams.Add(request.NewErrParamRequired("ThemeId")) + if s.Database == nil { + invalidParams.Add(request.NewErrParamRequired("Database")) } - if s.ThemeId != nil && len(*s.ThemeId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1)) + if s.Database != nil && len(*s.Database) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Database", 1)) } - if s.VersionNumber != nil && *s.VersionNumber < 1 { - invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1)) + if s.Host != nil && len(*s.Host) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Host", 1)) } if invalidParams.Len() > 0 { @@ -27813,41 +60269,51 @@ func (s *DescribeThemeInput) Validate() error { return nil } -// SetAliasName sets the AliasName field's value. -func (s *DescribeThemeInput) SetAliasName(v string) *DescribeThemeInput { - s.AliasName = &v +// SetClusterId sets the ClusterId field's value. +func (s *RedshiftParameters) SetClusterId(v string) *RedshiftParameters { + s.ClusterId = &v return s } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DescribeThemeInput) SetAwsAccountId(v string) *DescribeThemeInput { - s.AwsAccountId = &v +// SetDatabase sets the Database field's value. +func (s *RedshiftParameters) SetDatabase(v string) *RedshiftParameters { + s.Database = &v return s } -// SetThemeId sets the ThemeId field's value. -func (s *DescribeThemeInput) SetThemeId(v string) *DescribeThemeInput { - s.ThemeId = &v +// SetHost sets the Host field's value. +func (s *RedshiftParameters) SetHost(v string) *RedshiftParameters { + s.Host = &v return s } -// SetVersionNumber sets the VersionNumber field's value. -func (s *DescribeThemeInput) SetVersionNumber(v int64) *DescribeThemeInput { - s.VersionNumber = &v +// SetPort sets the Port field's value. +func (s *RedshiftParameters) SetPort(v int64) *RedshiftParameters { + s.Port = &v return s } -type DescribeThemeOutput struct { +// The reference line visual display options. +type ReferenceLine struct { _ struct{} `type:"structure"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The data configuration of the reference line. + // + // DataConfiguration is a required field + DataConfiguration *ReferenceLineDataConfiguration `type:"structure" required:"true"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The label configuration of the reference line. + LabelConfiguration *ReferenceLineLabelConfiguration `type:"structure"` - // The information about the theme that you are describing. - Theme *Theme `type:"structure"` + // The status of the reference line. Choose one of the following options: + // + // * ENABLE + // + // * DISABLE + Status *string `type:"string" enum:"WidgetStatus"` + + // The style configuration of the reference line. + StyleConfiguration *ReferenceLineStyleConfiguration `type:"structure"` } // String returns the string representation. @@ -27855,7 +60321,7 @@ type DescribeThemeOutput struct { // 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 DescribeThemeOutput) String() string { +func (s ReferenceLine) String() string { return awsutil.Prettify(s) } @@ -27864,41 +60330,65 @@ func (s DescribeThemeOutput) String() string { // 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 DescribeThemeOutput) GoString() string { +func (s ReferenceLine) GoString() string { return s.String() } -// SetRequestId sets the RequestId field's value. -func (s *DescribeThemeOutput) SetRequestId(v string) *DescribeThemeOutput { - s.RequestId = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *ReferenceLine) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ReferenceLine"} + if s.DataConfiguration == nil { + invalidParams.Add(request.NewErrParamRequired("DataConfiguration")) + } + if s.DataConfiguration != nil { + if err := s.DataConfiguration.Validate(); err != nil { + invalidParams.AddNested("DataConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.LabelConfiguration != nil { + if err := s.LabelConfiguration.Validate(); err != nil { + invalidParams.AddNested("LabelConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDataConfiguration sets the DataConfiguration field's value. +func (s *ReferenceLine) SetDataConfiguration(v *ReferenceLineDataConfiguration) *ReferenceLine { + s.DataConfiguration = v + return s +} + +// SetLabelConfiguration sets the LabelConfiguration field's value. +func (s *ReferenceLine) SetLabelConfiguration(v *ReferenceLineLabelConfiguration) *ReferenceLine { + s.LabelConfiguration = v return s } // SetStatus sets the Status field's value. -func (s *DescribeThemeOutput) SetStatus(v int64) *DescribeThemeOutput { +func (s *ReferenceLine) SetStatus(v string) *ReferenceLine { s.Status = &v return s } -// SetTheme sets the Theme field's value. -func (s *DescribeThemeOutput) SetTheme(v *Theme) *DescribeThemeOutput { - s.Theme = v +// SetStyleConfiguration sets the StyleConfiguration field's value. +func (s *ReferenceLine) SetStyleConfiguration(v *ReferenceLineStyleConfiguration) *ReferenceLine { + s.StyleConfiguration = v return s } -type DescribeThemePermissionsInput struct { - _ struct{} `type:"structure" nopayload:"true"` - - // The ID of the Amazon Web Services account that contains the theme that you're - // describing. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` +// The configuration for a custom label on a ReferenceLine. +type ReferenceLineCustomLabelConfiguration struct { + _ struct{} `type:"structure"` - // The ID for the theme that you want to describe permissions for. + // The string text of the custom label. // - // ThemeId is a required field - ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"` + // CustomLabel is a required field + CustomLabel *string `type:"string" required:"true"` } // String returns the string representation. @@ -27906,7 +60396,7 @@ type DescribeThemePermissionsInput struct { // 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 DescribeThemePermissionsInput) String() string { +func (s ReferenceLineCustomLabelConfiguration) String() string { return awsutil.Prettify(s) } @@ -27915,24 +60405,15 @@ func (s DescribeThemePermissionsInput) String() string { // 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 DescribeThemePermissionsInput) GoString() string { +func (s ReferenceLineCustomLabelConfiguration) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeThemePermissionsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeThemePermissionsInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.ThemeId == nil { - invalidParams.Add(request.NewErrParamRequired("ThemeId")) - } - if s.ThemeId != nil && len(*s.ThemeId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1)) +func (s *ReferenceLineCustomLabelConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ReferenceLineCustomLabelConfiguration"} + if s.CustomLabel == nil { + invalidParams.Add(request.NewErrParamRequired("CustomLabel")) } if invalidParams.Len() > 0 { @@ -27941,35 +60422,29 @@ func (s *DescribeThemePermissionsInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DescribeThemePermissionsInput) SetAwsAccountId(v string) *DescribeThemePermissionsInput { - s.AwsAccountId = &v - return s -} - -// SetThemeId sets the ThemeId field's value. -func (s *DescribeThemePermissionsInput) SetThemeId(v string) *DescribeThemePermissionsInput { - s.ThemeId = &v +// SetCustomLabel sets the CustomLabel field's value. +func (s *ReferenceLineCustomLabelConfiguration) SetCustomLabel(v string) *ReferenceLineCustomLabelConfiguration { + s.CustomLabel = &v return s } -type DescribeThemePermissionsOutput struct { +// The data configuration of the reference line. +type ReferenceLineDataConfiguration struct { _ struct{} `type:"structure"` - // A list of resource permissions set on the theme. - Permissions []*ResourcePermission `min:"1" type:"list"` - - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` - - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The axis binding type of the reference line. Choose one of the following + // options: + // + // * PrimaryY + // + // * SecondaryY + AxisBinding *string `type:"string" enum:"AxisBinding"` - // The Amazon Resource Name (ARN) of the theme. - ThemeArn *string `type:"string"` + // The dynamic configuration of the reference line data configuration. + DynamicConfiguration *ReferenceLineDynamicDataConfiguration `type:"structure"` - // The ID for the theme. - ThemeId *string `min:"1" type:"string"` + // The static data configuration of the reference line data configuration. + StaticConfiguration *ReferenceLineStaticDataConfiguration `type:"structure"` } // String returns the string representation. @@ -27977,7 +60452,7 @@ type DescribeThemePermissionsOutput struct { // 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 DescribeThemePermissionsOutput) String() string { +func (s ReferenceLineDataConfiguration) String() string { return awsutil.Prettify(s) } @@ -27986,59 +60461,66 @@ func (s DescribeThemePermissionsOutput) String() string { // 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 DescribeThemePermissionsOutput) GoString() string { +func (s ReferenceLineDataConfiguration) GoString() string { return s.String() } -// SetPermissions sets the Permissions field's value. -func (s *DescribeThemePermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeThemePermissionsOutput { - s.Permissions = v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *ReferenceLineDataConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ReferenceLineDataConfiguration"} + if s.DynamicConfiguration != nil { + if err := s.DynamicConfiguration.Validate(); err != nil { + invalidParams.AddNested("DynamicConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.StaticConfiguration != nil { + if err := s.StaticConfiguration.Validate(); err != nil { + invalidParams.AddNested("StaticConfiguration", err.(request.ErrInvalidParams)) + } + } -// SetRequestId sets the RequestId field's value. -func (s *DescribeThemePermissionsOutput) SetRequestId(v string) *DescribeThemePermissionsOutput { - s.RequestId = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetStatus sets the Status field's value. -func (s *DescribeThemePermissionsOutput) SetStatus(v int64) *DescribeThemePermissionsOutput { - s.Status = &v +// SetAxisBinding sets the AxisBinding field's value. +func (s *ReferenceLineDataConfiguration) SetAxisBinding(v string) *ReferenceLineDataConfiguration { + s.AxisBinding = &v return s } -// SetThemeArn sets the ThemeArn field's value. -func (s *DescribeThemePermissionsOutput) SetThemeArn(v string) *DescribeThemePermissionsOutput { - s.ThemeArn = &v +// SetDynamicConfiguration sets the DynamicConfiguration field's value. +func (s *ReferenceLineDataConfiguration) SetDynamicConfiguration(v *ReferenceLineDynamicDataConfiguration) *ReferenceLineDataConfiguration { + s.DynamicConfiguration = v return s } -// SetThemeId sets the ThemeId field's value. -func (s *DescribeThemePermissionsOutput) SetThemeId(v string) *DescribeThemePermissionsOutput { - s.ThemeId = &v +// SetStaticConfiguration sets the StaticConfiguration field's value. +func (s *ReferenceLineDataConfiguration) SetStaticConfiguration(v *ReferenceLineStaticDataConfiguration) *ReferenceLineDataConfiguration { + s.StaticConfiguration = v return s } -type DescribeUserInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// The dynamic configuration of the reference line data configuration. +type ReferenceLineDynamicDataConfiguration struct { + _ struct{} `type:"structure"` - // The ID for the Amazon Web Services account that the user is in. Currently, - // you use the ID for the Amazon Web Services account that contains your Amazon - // QuickSight account. + // The calculation that is used in the dynamic data. // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // Calculation is a required field + Calculation *NumericalAggregationFunction `type:"structure" required:"true"` - // The namespace. Currently, you should set this to default. + // The column that the dynamic data targets. // - // Namespace is a required field - Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` + // Column is a required field + Column *ColumnIdentifier `type:"structure" required:"true"` - // The name of the user that you want to describe. + // The aggregation function that is used in the dynamic data. // - // UserName is a required field - UserName *string `location:"uri" locationName:"UserName" min:"1" type:"string" required:"true"` + // MeasureAggregationFunction is a required field + MeasureAggregationFunction *AggregationFunction `type:"structure" required:"true"` } // String returns the string representation. @@ -28046,7 +60528,7 @@ type DescribeUserInput struct { // 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 DescribeUserInput) String() string { +func (s ReferenceLineDynamicDataConfiguration) String() string { return awsutil.Prettify(s) } @@ -28055,30 +60537,26 @@ func (s DescribeUserInput) String() string { // 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 DescribeUserInput) GoString() string { +func (s ReferenceLineDynamicDataConfiguration) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeUserInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeUserInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.Namespace == nil { - invalidParams.Add(request.NewErrParamRequired("Namespace")) +func (s *ReferenceLineDynamicDataConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ReferenceLineDynamicDataConfiguration"} + if s.Calculation == nil { + invalidParams.Add(request.NewErrParamRequired("Calculation")) } - if s.Namespace != nil && len(*s.Namespace) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + if s.Column == nil { + invalidParams.Add(request.NewErrParamRequired("Column")) } - if s.UserName == nil { - invalidParams.Add(request.NewErrParamRequired("UserName")) + if s.MeasureAggregationFunction == nil { + invalidParams.Add(request.NewErrParamRequired("MeasureAggregationFunction")) } - if s.UserName != nil && len(*s.UserName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UserName", 1)) + if s.Column != nil { + if err := s.Column.Validate(); err != nil { + invalidParams.AddNested("Column", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -28087,35 +60565,57 @@ func (s *DescribeUserInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *DescribeUserInput) SetAwsAccountId(v string) *DescribeUserInput { - s.AwsAccountId = &v +// SetCalculation sets the Calculation field's value. +func (s *ReferenceLineDynamicDataConfiguration) SetCalculation(v *NumericalAggregationFunction) *ReferenceLineDynamicDataConfiguration { + s.Calculation = v return s } -// SetNamespace sets the Namespace field's value. -func (s *DescribeUserInput) SetNamespace(v string) *DescribeUserInput { - s.Namespace = &v +// SetColumn sets the Column field's value. +func (s *ReferenceLineDynamicDataConfiguration) SetColumn(v *ColumnIdentifier) *ReferenceLineDynamicDataConfiguration { + s.Column = v return s } -// SetUserName sets the UserName field's value. -func (s *DescribeUserInput) SetUserName(v string) *DescribeUserInput { - s.UserName = &v +// SetMeasureAggregationFunction sets the MeasureAggregationFunction field's value. +func (s *ReferenceLineDynamicDataConfiguration) SetMeasureAggregationFunction(v *AggregationFunction) *ReferenceLineDynamicDataConfiguration { + s.MeasureAggregationFunction = v return s } -type DescribeUserOutput struct { +// The label configuration of a reference line. +type ReferenceLineLabelConfiguration struct { _ struct{} `type:"structure"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The custom label configuration of the label in a reference line. + CustomLabelConfiguration *ReferenceLineCustomLabelConfiguration `type:"structure"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The font color configuration of the label in a reference line. + FontColor *string `type:"string"` - // The user name. - User *User `type:"structure"` + // The font configuration of the label in a reference line. + FontConfiguration *FontConfiguration `type:"structure"` + + // The horizontal position configuration of the label in a reference line. Choose + // one of the following options: + // + // * LEFT + // + // * CENTER + // + // * RIGHT + HorizontalPosition *string `type:"string" enum:"ReferenceLineLabelHorizontalPosition"` + + // The value label configuration of the label in a reference line. + ValueLabelConfiguration *ReferenceLineValueLabelConfiguration `type:"structure"` + + // The vertical position configuration of the label in a reference line. Choose + // one of the following options: + // + // * ABOVE + // + // * BELOW + VerticalPosition *string `type:"string" enum:"ReferenceLineLabelVerticalPosition"` } // String returns the string representation. @@ -28123,7 +60623,7 @@ type DescribeUserOutput struct { // 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 DescribeUserOutput) String() string { +func (s ReferenceLineLabelConfiguration) String() string { return awsutil.Prettify(s) } @@ -28132,38 +60632,78 @@ func (s DescribeUserOutput) String() string { // 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 DescribeUserOutput) GoString() string { +func (s ReferenceLineLabelConfiguration) GoString() string { return s.String() } -// SetRequestId sets the RequestId field's value. -func (s *DescribeUserOutput) SetRequestId(v string) *DescribeUserOutput { - s.RequestId = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *ReferenceLineLabelConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ReferenceLineLabelConfiguration"} + if s.CustomLabelConfiguration != nil { + if err := s.CustomLabelConfiguration.Validate(); err != nil { + invalidParams.AddNested("CustomLabelConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.ValueLabelConfiguration != nil { + if err := s.ValueLabelConfiguration.Validate(); err != nil { + invalidParams.AddNested("ValueLabelConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCustomLabelConfiguration sets the CustomLabelConfiguration field's value. +func (s *ReferenceLineLabelConfiguration) SetCustomLabelConfiguration(v *ReferenceLineCustomLabelConfiguration) *ReferenceLineLabelConfiguration { + s.CustomLabelConfiguration = v return s } -// SetStatus sets the Status field's value. -func (s *DescribeUserOutput) SetStatus(v int64) *DescribeUserOutput { - s.Status = &v +// SetFontColor sets the FontColor field's value. +func (s *ReferenceLineLabelConfiguration) SetFontColor(v string) *ReferenceLineLabelConfiguration { + s.FontColor = &v return s } -// SetUser sets the User field's value. -func (s *DescribeUserOutput) SetUser(v *User) *DescribeUserOutput { - s.User = v +// SetFontConfiguration sets the FontConfiguration field's value. +func (s *ReferenceLineLabelConfiguration) SetFontConfiguration(v *FontConfiguration) *ReferenceLineLabelConfiguration { + s.FontConfiguration = v return s } -// The domain specified isn't on the allow list. All domains for embedded dashboards -// must be added to the approved list by an Amazon QuickSight admin. -type DomainNotWhitelistedException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +// SetHorizontalPosition sets the HorizontalPosition field's value. +func (s *ReferenceLineLabelConfiguration) SetHorizontalPosition(v string) *ReferenceLineLabelConfiguration { + s.HorizontalPosition = &v + return s +} - Message_ *string `locationName:"Message" type:"string"` +// SetValueLabelConfiguration sets the ValueLabelConfiguration field's value. +func (s *ReferenceLineLabelConfiguration) SetValueLabelConfiguration(v *ReferenceLineValueLabelConfiguration) *ReferenceLineLabelConfiguration { + s.ValueLabelConfiguration = v + return s +} - // The Amazon Web Services request ID for this request. - RequestId *string `type:"string"` +// SetVerticalPosition sets the VerticalPosition field's value. +func (s *ReferenceLineLabelConfiguration) SetVerticalPosition(v string) *ReferenceLineLabelConfiguration { + s.VerticalPosition = &v + return s +} + +// The static data configuration of the reference line data configuration. +type ReferenceLineStaticDataConfiguration struct { + _ struct{} `type:"structure"` + + // The double input of the static data. + // + // Value is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by ReferenceLineStaticDataConfiguration's + // String and GoString methods. + // + // Value is a required field + Value *float64 `type:"double" required:"true" sensitive:"true"` } // String returns the string representation. @@ -28171,7 +60711,7 @@ type DomainNotWhitelistedException struct { // 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 DomainNotWhitelistedException) String() string { +func (s ReferenceLineStaticDataConfiguration) String() string { return awsutil.Prettify(s) } @@ -28180,57 +60720,89 @@ func (s DomainNotWhitelistedException) String() string { // 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 DomainNotWhitelistedException) GoString() string { +func (s ReferenceLineStaticDataConfiguration) GoString() string { return s.String() } -func newErrorDomainNotWhitelistedException(v protocol.ResponseMetadata) error { - return &DomainNotWhitelistedException{ - RespMetadata: v, +// Validate inspects the fields of the type to determine if they are valid. +func (s *ReferenceLineStaticDataConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ReferenceLineStaticDataConfiguration"} + if s.Value == nil { + invalidParams.Add(request.NewErrParamRequired("Value")) + } + + if invalidParams.Len() > 0 { + return invalidParams } + return nil } -// Code returns the exception type name. -func (s *DomainNotWhitelistedException) Code() string { - return "DomainNotWhitelistedException" +// SetValue sets the Value field's value. +func (s *ReferenceLineStaticDataConfiguration) SetValue(v float64) *ReferenceLineStaticDataConfiguration { + s.Value = &v + return s } -// Message returns the exception's message. -func (s *DomainNotWhitelistedException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" +// The style configuration of the reference line. +type ReferenceLineStyleConfiguration struct { + _ struct{} `type:"structure"` + + // The hex color of the reference line. + Color *string `type:"string"` + + // The pattern type of the line style. Choose one of the following options: + // + // * SOLID + // + // * DASHED + // + // * DOTTED + Pattern *string `type:"string" enum:"ReferenceLinePatternType"` } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *DomainNotWhitelistedException) OrigErr() error { - return nil +// 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 ReferenceLineStyleConfiguration) String() string { + return awsutil.Prettify(s) } -func (s *DomainNotWhitelistedException) Error() string { - return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +// 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 ReferenceLineStyleConfiguration) GoString() string { + return s.String() } -// Status code returns the HTTP status code for the request's response error. -func (s *DomainNotWhitelistedException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetColor sets the Color field's value. +func (s *ReferenceLineStyleConfiguration) SetColor(v string) *ReferenceLineStyleConfiguration { + s.Color = &v + return s } -// RequestID returns the service's response RequestID for request. -func (s *DomainNotWhitelistedException) RequestID() string { - return s.RespMetadata.RequestID +// SetPattern sets the Pattern field's value. +func (s *ReferenceLineStyleConfiguration) SetPattern(v string) *ReferenceLineStyleConfiguration { + s.Pattern = &v + return s } -// Error information for the SPICE ingestion of a dataset. -type ErrorInfo struct { +// The value label configuration of the label in a reference line. +type ReferenceLineValueLabelConfiguration struct { _ struct{} `type:"structure"` - // Error message. - Message *string `type:"string"` + // The format configuration of the value label. + FormatConfiguration *NumericFormatConfiguration `type:"structure"` - // Error type. - Type *string `type:"string" enum:"IngestionErrorType"` + // The relative position of the value label. Choose one of the following options: + // + // * BEFORE_CUSTOM_LABEL + // + // * AFTER_CUSTOM_LABEL + RelativePosition *string `type:"string" enum:"ReferenceLineValueLabelRelativePosition"` } // String returns the string representation. @@ -28238,7 +60810,7 @@ type ErrorInfo struct { // 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 ErrorInfo) String() string { +func (s ReferenceLineValueLabelConfiguration) String() string { return awsutil.Prettify(s) } @@ -28247,35 +60819,152 @@ func (s ErrorInfo) String() string { // 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 ErrorInfo) GoString() string { +func (s ReferenceLineValueLabelConfiguration) GoString() string { return s.String() } -// SetMessage sets the Message field's value. -func (s *ErrorInfo) SetMessage(v string) *ErrorInfo { - s.Message = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *ReferenceLineValueLabelConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ReferenceLineValueLabelConfiguration"} + if s.FormatConfiguration != nil { + if err := s.FormatConfiguration.Validate(); err != nil { + invalidParams.AddNested("FormatConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFormatConfiguration sets the FormatConfiguration field's value. +func (s *ReferenceLineValueLabelConfiguration) SetFormatConfiguration(v *NumericFormatConfiguration) *ReferenceLineValueLabelConfiguration { + s.FormatConfiguration = v return s } -// SetType sets the Type field's value. -func (s *ErrorInfo) SetType(v string) *ErrorInfo { - s.Type = &v +// SetRelativePosition sets the RelativePosition field's value. +func (s *ReferenceLineValueLabelConfiguration) SetRelativePosition(v string) *ReferenceLineValueLabelConfiguration { + s.RelativePosition = &v return s } -// The required parameters for connecting to an Exasol data source. -type ExasolParameters struct { +type RegisterUserInput struct { _ struct{} `type:"structure"` - // The hostname or IP address of the Exasol data source. + // The ID for the Amazon Web Services account that the user is in. Currently, + // you use the ID for the Amazon Web Services account that contains your Amazon + // QuickSight account. // - // Host is a required field - Host *string `min:"1" type:"string" required:"true"` + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - // The port for the Exasol data source. + // The URL of the custom OpenID Connect (OIDC) provider that provides identity + // to let a user federate into Amazon QuickSight with an associated Identity + // and Access Management(IAM) role. This parameter should only be used when + // ExternalLoginFederationProviderType parameter is set to CUSTOM_OIDC. + CustomFederationProviderUrl *string `type:"string"` + + // (Enterprise edition only) The name of the custom permissions profile that + // you want to assign to this user. Customized permissions allows you to control + // a user's access by restricting access the following operations: // - // Port is a required field - Port *int64 `min:"1" type:"integer" required:"true"` + // * Create and update data sources + // + // * Create and update datasets + // + // * Create and update email reports + // + // * Subscribe to email reports + // + // To add custom permissions to an existing user, use UpdateUser (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_UpdateUser.html) + // instead. + // + // A set of custom permissions includes any combination of these restrictions. + // Currently, you need to create the profile names for custom permission sets + // by using the Amazon QuickSight console. Then, you use the RegisterUser API + // operation to assign the named set of permissions to a Amazon QuickSight user. + // + // Amazon QuickSight custom permissions are applied through IAM policies. Therefore, + // they override the permissions typically granted by assigning Amazon QuickSight + // users to one of the default security cohorts in Amazon QuickSight (admin, + // author, reader). + // + // This feature is available only to Amazon QuickSight Enterprise edition subscriptions. + CustomPermissionsName *string `min:"1" type:"string"` + + // The email address of the user that you want to register. + // + // Email is a required field + Email *string `type:"string" required:"true"` + + // The type of supported external login provider that provides identity to let + // a user federate into Amazon QuickSight with an associated Identity and Access + // Management(IAM) role. The type of supported external login provider can be + // one of the following. + // + // * COGNITO: Amazon Cognito. The provider URL is cognito-identity.amazonaws.com. + // When choosing the COGNITO provider type, don’t use the "CustomFederationProviderUrl" + // parameter which is only needed when the external provider is custom. + // + // * CUSTOM_OIDC: Custom OpenID Connect (OIDC) provider. When choosing CUSTOM_OIDC + // type, use the CustomFederationProviderUrl parameter to provide the custom + // OIDC provider URL. + ExternalLoginFederationProviderType *string `type:"string"` + + // The identity ID for a user in the external login provider. + ExternalLoginId *string `type:"string"` + + // The ARN of the IAM user or role that you are registering with Amazon QuickSight. + IamArn *string `type:"string"` + + // Amazon QuickSight supports several ways of managing the identity of users. + // This parameter accepts two values: + // + // * IAM: A user whose identity maps to an existing IAM user or role. + // + // * QUICKSIGHT: A user whose identity is owned and managed internally by + // Amazon QuickSight. + // + // IdentityType is a required field + IdentityType *string `type:"string" required:"true" enum:"IdentityType"` + + // The namespace. Currently, you should set this to default. + // + // Namespace is a required field + Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` + + // You need to use this parameter only when you register one or more users using + // an assumed IAM role. You don't need to provide the session name for other + // scenarios, for example when you are registering an IAM user or an Amazon + // QuickSight user. You can register multiple users using the same IAM role + // if each user has a different session name. For more information on assuming + // IAM roles, see assume-role (https://docs.aws.amazon.com/cli/latest/reference/sts/assume-role.html) + // in the CLI Reference. + SessionName *string `min:"2" type:"string"` + + // The Amazon QuickSight user name that you want to create for the user you + // are registering. + UserName *string `min:"1" type:"string"` + + // The Amazon QuickSight role for the user. The user role can be one of the + // following: + // + // * READER: A user who has read-only access to dashboards. + // + // * AUTHOR: A user who can create data sources, datasets, analyses, and + // dashboards. + // + // * ADMIN: A user who is an author, who can also manage Amazon QuickSight + // settings. + // + // * RESTRICTED_READER: This role isn't currently available for use. + // + // * RESTRICTED_AUTHOR: This role isn't currently available for use. + // + // UserRole is a required field + UserRole *string `type:"string" required:"true" enum:"UserRole"` } // String returns the string representation. @@ -28283,7 +60972,7 @@ type ExasolParameters struct { // 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 ExasolParameters) String() string { +func (s RegisterUserInput) String() string { return awsutil.Prettify(s) } @@ -28292,24 +60981,42 @@ func (s ExasolParameters) String() string { // 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 ExasolParameters) GoString() string { +func (s RegisterUserInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ExasolParameters) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ExasolParameters"} - if s.Host == nil { - invalidParams.Add(request.NewErrParamRequired("Host")) +func (s *RegisterUserInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RegisterUserInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) } - if s.Host != nil && len(*s.Host) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Host", 1)) + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) } - if s.Port == nil { - invalidParams.Add(request.NewErrParamRequired("Port")) + if s.CustomPermissionsName != nil && len(*s.CustomPermissionsName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("CustomPermissionsName", 1)) } - if s.Port != nil && *s.Port < 1 { - invalidParams.Add(request.NewErrParamMinValue("Port", 1)) + if s.Email == nil { + invalidParams.Add(request.NewErrParamRequired("Email")) + } + if s.IdentityType == nil { + invalidParams.Add(request.NewErrParamRequired("IdentityType")) + } + if s.Namespace == nil { + invalidParams.Add(request.NewErrParamRequired("Namespace")) + } + if s.Namespace != nil && len(*s.Namespace) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + } + if s.SessionName != nil && len(*s.SessionName) < 2 { + invalidParams.Add(request.NewErrParamMinLen("SessionName", 2)) + } + if s.UserName != nil && len(*s.UserName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserName", 1)) + } + if s.UserRole == nil { + invalidParams.Add(request.NewErrParamRequired("UserRole")) } if invalidParams.Len() > 0 { @@ -28318,24 +61025,93 @@ func (s *ExasolParameters) Validate() error { return nil } -// SetHost sets the Host field's value. -func (s *ExasolParameters) SetHost(v string) *ExasolParameters { - s.Host = &v +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *RegisterUserInput) SetAwsAccountId(v string) *RegisterUserInput { + s.AwsAccountId = &v + return s +} + +// SetCustomFederationProviderUrl sets the CustomFederationProviderUrl field's value. +func (s *RegisterUserInput) SetCustomFederationProviderUrl(v string) *RegisterUserInput { + s.CustomFederationProviderUrl = &v + return s +} + +// SetCustomPermissionsName sets the CustomPermissionsName field's value. +func (s *RegisterUserInput) SetCustomPermissionsName(v string) *RegisterUserInput { + s.CustomPermissionsName = &v + return s +} + +// SetEmail sets the Email field's value. +func (s *RegisterUserInput) SetEmail(v string) *RegisterUserInput { + s.Email = &v + return s +} + +// SetExternalLoginFederationProviderType sets the ExternalLoginFederationProviderType field's value. +func (s *RegisterUserInput) SetExternalLoginFederationProviderType(v string) *RegisterUserInput { + s.ExternalLoginFederationProviderType = &v + return s +} + +// SetExternalLoginId sets the ExternalLoginId field's value. +func (s *RegisterUserInput) SetExternalLoginId(v string) *RegisterUserInput { + s.ExternalLoginId = &v + return s +} + +// SetIamArn sets the IamArn field's value. +func (s *RegisterUserInput) SetIamArn(v string) *RegisterUserInput { + s.IamArn = &v + return s +} + +// SetIdentityType sets the IdentityType field's value. +func (s *RegisterUserInput) SetIdentityType(v string) *RegisterUserInput { + s.IdentityType = &v + return s +} + +// SetNamespace sets the Namespace field's value. +func (s *RegisterUserInput) SetNamespace(v string) *RegisterUserInput { + s.Namespace = &v + return s +} + +// SetSessionName sets the SessionName field's value. +func (s *RegisterUserInput) SetSessionName(v string) *RegisterUserInput { + s.SessionName = &v + return s +} + +// SetUserName sets the UserName field's value. +func (s *RegisterUserInput) SetUserName(v string) *RegisterUserInput { + s.UserName = &v return s } -// SetPort sets the Port field's value. -func (s *ExasolParameters) SetPort(v int64) *ExasolParameters { - s.Port = &v +// SetUserRole sets the UserRole field's value. +func (s *RegisterUserInput) SetUserRole(v string) *RegisterUserInput { + s.UserRole = &v return s } -// Export to .csv option. -type ExportToCSVOption struct { +type RegisterUserOutput struct { _ struct{} `type:"structure"` - // Availability status. - AvailabilityStatus *string `type:"string" enum:"DashboardBehavior"` + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` + + // The user's user name. + User *User `type:"structure"` + + // The URL the user visits to complete registration and provide a password. + // This is returned only for users with an identity type of QUICKSIGHT. + UserInvitationUrl *string `type:"string"` } // String returns the string representation. @@ -28343,7 +61119,7 @@ type ExportToCSVOption struct { // 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 ExportToCSVOption) String() string { +func (s RegisterUserOutput) String() string { return awsutil.Prettify(s) } @@ -28352,25 +61128,47 @@ func (s ExportToCSVOption) String() string { // 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 ExportToCSVOption) GoString() string { +func (s RegisterUserOutput) GoString() string { return s.String() } -// SetAvailabilityStatus sets the AvailabilityStatus field's value. -func (s *ExportToCSVOption) SetAvailabilityStatus(v string) *ExportToCSVOption { - s.AvailabilityStatus = &v +// SetRequestId sets the RequestId field's value. +func (s *RegisterUserOutput) SetRequestId(v string) *RegisterUserOutput { + s.RequestId = &v return s } -// A FieldFolder element is a folder that contains fields and nested subfolders. -type FieldFolder struct { - _ struct{} `type:"structure"` +// SetStatus sets the Status field's value. +func (s *RegisterUserOutput) SetStatus(v int64) *RegisterUserOutput { + s.Status = &v + return s +} - // A folder has a list of columns. A column can only be in one folder. - Columns []*string `locationName:"columns" type:"list"` +// SetUser sets the User field's value. +func (s *RegisterUserOutput) SetUser(v *User) *RegisterUserOutput { + s.User = v + return s +} - // The description for a field folder. - Description *string `locationName:"description" type:"string"` +// SetUserInvitationUrl sets the UserInvitationUrl field's value. +func (s *RegisterUserOutput) SetUserInvitationUrl(v string) *RegisterUserOutput { + s.UserInvitationUrl = &v + return s +} + +// Information about the dashboard you want to embed. +type RegisteredUserDashboardEmbeddingConfiguration struct { + _ struct{} `type:"structure"` + + // The dashboard ID for the dashboard that you want the user to see first. This + // ID is included in the output URL. When the URL in response is accessed, Amazon + // QuickSight renders this dashboard if the user has permissions to view it. + // + // If the user does not have permission to view this dashboard, they see a permissions + // error message. + // + // InitialDashboardId is a required field + InitialDashboardId *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -28378,7 +61176,7 @@ type FieldFolder struct { // 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 FieldFolder) String() string { +func (s RegisteredUserDashboardEmbeddingConfiguration) String() string { return awsutil.Prettify(s) } @@ -28387,31 +61185,47 @@ func (s FieldFolder) String() string { // 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 FieldFolder) GoString() string { +func (s RegisteredUserDashboardEmbeddingConfiguration) GoString() string { return s.String() } -// SetColumns sets the Columns field's value. -func (s *FieldFolder) SetColumns(v []*string) *FieldFolder { - s.Columns = v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *RegisteredUserDashboardEmbeddingConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RegisteredUserDashboardEmbeddingConfiguration"} + if s.InitialDashboardId == nil { + invalidParams.Add(request.NewErrParamRequired("InitialDashboardId")) + } + if s.InitialDashboardId != nil && len(*s.InitialDashboardId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InitialDashboardId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetDescription sets the Description field's value. -func (s *FieldFolder) SetDescription(v string) *FieldFolder { - s.Description = &v +// SetInitialDashboardId sets the InitialDashboardId field's value. +func (s *RegisteredUserDashboardEmbeddingConfiguration) SetInitialDashboardId(v string) *RegisteredUserDashboardEmbeddingConfiguration { + s.InitialDashboardId = &v return s } -// A transform operation that filters rows based on a condition. -type FilterOperation struct { +// The experience that you are embedding. You can use this object to generate +// a url that embeds a visual into your application. +type RegisteredUserDashboardVisualEmbeddingConfiguration struct { _ struct{} `type:"structure"` - // An expression that must evaluate to a Boolean value. Rows for which the expression - // evaluates to true are kept in the dataset. + // The visual ID for the visual that you want the user to embed. This ID is + // included in the output URL. When the URL in response is accessed, Amazon + // QuickSight renders this visual. // - // ConditionExpression is a required field - ConditionExpression *string `min:"1" type:"string" required:"true"` + // The Amazon Resource Name (ARN) of the dashboard that the visual belongs to + // must be included in the AuthorizedResourceArns parameter. Otherwise, the + // request will fail with InvalidParameterValueException. + // + // InitialDashboardVisualId is a required field + InitialDashboardVisualId *DashboardVisualId `type:"structure" required:"true"` } // String returns the string representation. @@ -28419,7 +61233,7 @@ type FilterOperation struct { // 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 FilterOperation) String() string { +func (s RegisteredUserDashboardVisualEmbeddingConfiguration) String() string { return awsutil.Prettify(s) } @@ -28428,18 +61242,20 @@ func (s FilterOperation) String() string { // 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 FilterOperation) GoString() string { +func (s RegisteredUserDashboardVisualEmbeddingConfiguration) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *FilterOperation) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "FilterOperation"} - if s.ConditionExpression == nil { - invalidParams.Add(request.NewErrParamRequired("ConditionExpression")) +func (s *RegisteredUserDashboardVisualEmbeddingConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RegisteredUserDashboardVisualEmbeddingConfiguration"} + if s.InitialDashboardVisualId == nil { + invalidParams.Add(request.NewErrParamRequired("InitialDashboardVisualId")) } - if s.ConditionExpression != nil && len(*s.ConditionExpression) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ConditionExpression", 1)) + if s.InitialDashboardVisualId != nil { + if err := s.InitialDashboardVisualId.Validate(); err != nil { + invalidParams.AddNested("InitialDashboardVisualId", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -28448,36 +61264,60 @@ func (s *FilterOperation) Validate() error { return nil } -// SetConditionExpression sets the ConditionExpression field's value. -func (s *FilterOperation) SetConditionExpression(v string) *FilterOperation { - s.ConditionExpression = &v +// SetInitialDashboardVisualId sets the InitialDashboardVisualId field's value. +func (s *RegisteredUserDashboardVisualEmbeddingConfiguration) SetInitialDashboardVisualId(v *DashboardVisualId) *RegisteredUserDashboardVisualEmbeddingConfiguration { + s.InitialDashboardVisualId = v return s } -// A folder in Amazon QuickSight. -type Folder struct { +// The type of experience you want to embed. For registered users, you can embed +// Amazon QuickSight dashboards or the Amazon QuickSight console. +// +// Exactly one of the experience configurations is required. You can choose +// Dashboard or QuickSightConsole. You cannot choose more than one experience +// configuration. +type RegisteredUserEmbeddingExperienceConfiguration struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) for the folder. - Arn *string `type:"string"` - - // The time that the folder was created. - CreatedTime *time.Time `type:"timestamp"` - - // The ID of the folder. - FolderId *string `min:"1" type:"string"` - - // An array of ancestor ARN strings for the folder. - FolderPath []*string `min:"1" type:"list"` + // The configuration details for providing a dashboard embedding experience. + Dashboard *RegisteredUserDashboardEmbeddingConfiguration `type:"structure"` - // The type of folder it is. - FolderType *string `type:"string" enum:"FolderType"` + // The type of embedding experience. In this case, Amazon QuickSight visuals. + DashboardVisual *RegisteredUserDashboardVisualEmbeddingConfiguration `type:"structure"` - // The time that the folder was last updated. - LastUpdatedTime *time.Time `type:"timestamp"` + // The configuration details for embedding the Q search bar. + // + // For more information about embedding the Q search bar, see Embedding Overview + // (https://docs.aws.amazon.com/quicksight/latest/user/embedding-overview.html) + // in the Amazon QuickSight User Guide. + QSearchBar *RegisteredUserQSearchBarEmbeddingConfiguration `type:"structure"` - // A display name for the folder. - Name *string `min:"1" type:"string"` + // The configuration details for providing each Amazon QuickSight console embedding + // experience. This can be used along with custom permissions to restrict access + // to certain features. For more information, see Customizing Access to the + // Amazon QuickSight Console (https://docs.aws.amazon.com/quicksight/latest/user/customizing-permissions-to-the-quicksight-console.html) + // in the Amazon QuickSight User Guide. + // + // Use GenerateEmbedUrlForRegisteredUser (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_GenerateEmbedUrlForRegisteredUser.html) + // where you want to provide an authoring portal that allows users to create + // data sources, datasets, analyses, and dashboards. The users who accesses + // an embedded Amazon QuickSight console needs to belong to the author or admin + // security cohort. If you want to restrict permissions to some of these features, + // add a custom permissions profile to the user with the UpdateUser (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_UpdateUser.html) + // API operation. Use the RegisterUser (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_RegisterUser.html) + // API operation to add a new user with a custom permission profile attached. + // For more information, see the following sections in the Amazon QuickSight + // User Guide: + // + // * Embedding the Full Functionality of the Amazon QuickSight Console for + // Authenticated Users (https://docs.aws.amazon.com/quicksight/latest/user/embedded-analytics-full-console-for-authenticated-users.html) + // + // * Customizing Access to the Amazon QuickSight Console (https://docs.aws.amazon.com/quicksight/latest/user/customizing-permissions-to-the-quicksight-console.html) + // + // For more information about the high-level steps for embedding and for an + // interactive demo of the ways you can customize embedding, visit the Amazon + // QuickSight Developer Portal (https://docs.aws.amazon.com/quicksight/latest/user/quicksight-dev-portal.html). + QuickSightConsole *RegisteredUserQuickSightConsoleEmbeddingConfiguration `type:"structure"` } // String returns the string representation. @@ -28485,7 +61325,7 @@ type Folder struct { // 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 Folder) String() string { +func (s RegisteredUserEmbeddingExperienceConfiguration) String() string { return awsutil.Prettify(s) } @@ -28494,62 +61334,78 @@ func (s Folder) String() string { // 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 Folder) GoString() string { +func (s RegisteredUserEmbeddingExperienceConfiguration) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Folder) SetArn(v string) *Folder { - s.Arn = &v - return s -} - -// SetCreatedTime sets the CreatedTime field's value. -func (s *Folder) SetCreatedTime(v time.Time) *Folder { - s.CreatedTime = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *RegisteredUserEmbeddingExperienceConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RegisteredUserEmbeddingExperienceConfiguration"} + if s.Dashboard != nil { + if err := s.Dashboard.Validate(); err != nil { + invalidParams.AddNested("Dashboard", err.(request.ErrInvalidParams)) + } + } + if s.DashboardVisual != nil { + if err := s.DashboardVisual.Validate(); err != nil { + invalidParams.AddNested("DashboardVisual", err.(request.ErrInvalidParams)) + } + } + if s.QSearchBar != nil { + if err := s.QSearchBar.Validate(); err != nil { + invalidParams.AddNested("QSearchBar", err.(request.ErrInvalidParams)) + } + } + if s.QuickSightConsole != nil { + if err := s.QuickSightConsole.Validate(); err != nil { + invalidParams.AddNested("QuickSightConsole", err.(request.ErrInvalidParams)) + } + } -// SetFolderId sets the FolderId field's value. -func (s *Folder) SetFolderId(v string) *Folder { - s.FolderId = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetFolderPath sets the FolderPath field's value. -func (s *Folder) SetFolderPath(v []*string) *Folder { - s.FolderPath = v +// SetDashboard sets the Dashboard field's value. +func (s *RegisteredUserEmbeddingExperienceConfiguration) SetDashboard(v *RegisteredUserDashboardEmbeddingConfiguration) *RegisteredUserEmbeddingExperienceConfiguration { + s.Dashboard = v return s } -// SetFolderType sets the FolderType field's value. -func (s *Folder) SetFolderType(v string) *Folder { - s.FolderType = &v +// SetDashboardVisual sets the DashboardVisual field's value. +func (s *RegisteredUserEmbeddingExperienceConfiguration) SetDashboardVisual(v *RegisteredUserDashboardVisualEmbeddingConfiguration) *RegisteredUserEmbeddingExperienceConfiguration { + s.DashboardVisual = v return s } -// SetLastUpdatedTime sets the LastUpdatedTime field's value. -func (s *Folder) SetLastUpdatedTime(v time.Time) *Folder { - s.LastUpdatedTime = &v +// SetQSearchBar sets the QSearchBar field's value. +func (s *RegisteredUserEmbeddingExperienceConfiguration) SetQSearchBar(v *RegisteredUserQSearchBarEmbeddingConfiguration) *RegisteredUserEmbeddingExperienceConfiguration { + s.QSearchBar = v return s } -// SetName sets the Name field's value. -func (s *Folder) SetName(v string) *Folder { - s.Name = &v +// SetQuickSightConsole sets the QuickSightConsole field's value. +func (s *RegisteredUserEmbeddingExperienceConfiguration) SetQuickSightConsole(v *RegisteredUserQuickSightConsoleEmbeddingConfiguration) *RegisteredUserEmbeddingExperienceConfiguration { + s.QuickSightConsole = v return s } -// An asset in a Amazon QuickSight folder, such as a dashboard, analysis, or -// dataset. -type FolderMember struct { +// Information about the Q search bar embedding experience. +type RegisteredUserQSearchBarEmbeddingConfiguration struct { _ struct{} `type:"structure"` - // The ID of an asset in the folder. - MemberId *string `min:"1" type:"string"` - - // The type of asset that it is. - MemberType *string `type:"string" enum:"MemberType"` + // The ID of the Q topic that you want to make the starting topic in the Q search + // bar. You can find a topic ID by navigating to the Topics pane in the Amazon + // QuickSight application and opening a topic. The ID is in the URL for the + // topic that you open. + // + // If you don't specify an initial topic, a list of all shared topics is shown + // in the Q bar for your readers. When you select an initial topic, you can + // specify whether or not readers are allowed to select other topics from the + // available ones in the list. + InitialTopicId *string `min:"1" type:"string"` } // String returns the string representation. @@ -28557,7 +61413,7 @@ type FolderMember struct { // 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 FolderMember) String() string { +func (s RegisteredUserQSearchBarEmbeddingConfiguration) String() string { return awsutil.Prettify(s) } @@ -28566,78 +61422,114 @@ func (s FolderMember) String() string { // 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 FolderMember) GoString() string { +func (s RegisteredUserQSearchBarEmbeddingConfiguration) GoString() string { return s.String() } -// SetMemberId sets the MemberId field's value. -func (s *FolderMember) SetMemberId(v string) *FolderMember { - s.MemberId = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *RegisteredUserQSearchBarEmbeddingConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RegisteredUserQSearchBarEmbeddingConfiguration"} + if s.InitialTopicId != nil && len(*s.InitialTopicId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InitialTopicId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetMemberType sets the MemberType field's value. -func (s *FolderMember) SetMemberType(v string) *FolderMember { - s.MemberType = &v +// SetInitialTopicId sets the InitialTopicId field's value. +func (s *RegisteredUserQSearchBarEmbeddingConfiguration) SetInitialTopicId(v string) *RegisteredUserQSearchBarEmbeddingConfiguration { + s.InitialTopicId = &v return s } -// A filter to use to search an Amazon QuickSight folder. -type FolderSearchFilter struct { +// Information about the Amazon QuickSight console that you want to embed. +type RegisteredUserQuickSightConsoleEmbeddingConfiguration struct { _ struct{} `type:"structure"` - // The name of a value that you want to use in the filter. For example, "Name": - // "QUICKSIGHT_OWNER". + // The initial URL path for the Amazon QuickSight console. InitialPath is required. // - // Valid values are defined as follows: + // The entry point URL is constrained to the following paths: // - // * QUICKSIGHT_VIEWER_OR_OWNER: Provide an ARN of a user or group, and any - // folders with that ARN listed as one of the folder's owners or viewers - // are returned. Implicit permissions from folders or groups are considered. + // * /start // - // * QUICKSIGHT_OWNER: Provide an ARN of a user or group, and any folders - // with that ARN listed as one of the owners of the folders are returned. - // Implicit permissions from folders or groups are considered. + // * /start/analyses // - // * DIRECT_QUICKSIGHT_SOLE_OWNER: Provide an ARN of a user or group, and - // any folders with that ARN listed as the only owner of the folder are returned. - // Implicit permissions from folders or groups are not considered. + // * /start/dashboards // - // * DIRECT_QUICKSIGHT_OWNER: Provide an ARN of a user or group, and any - // folders with that ARN listed as one of the owners of the folders are returned. - // Implicit permissions from folders or groups are not considered. + // * /start/favorites // - // * DIRECT_QUICKSIGHT_VIEWER_OR_OWNER: Provide an ARN of a user or group, - // and any folders with that ARN listed as one of the owners or viewers of - // the folders are returned. Implicit permissions from folders or groups - // are not considered. + // * /dashboards/DashboardId. DashboardId is the actual ID key from the Amazon + // QuickSight console URL of the dashboard. // - // * FOLDER_NAME: Any folders whose names have a substring match to this - // value will be returned. + // * /analyses/AnalysisId. AnalysisId is the actual ID key from the Amazon + // QuickSight console URL of the analysis. + InitialPath *string `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 RegisteredUserQuickSightConsoleEmbeddingConfiguration) 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 RegisteredUserQuickSightConsoleEmbeddingConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *RegisteredUserQuickSightConsoleEmbeddingConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RegisteredUserQuickSightConsoleEmbeddingConfiguration"} + if s.InitialPath != nil && len(*s.InitialPath) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InitialPath", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInitialPath sets the InitialPath field's value. +func (s *RegisteredUserQuickSightConsoleEmbeddingConfiguration) SetInitialPath(v string) *RegisteredUserQuickSightConsoleEmbeddingConfiguration { + s.InitialPath = &v + return s +} + +// A physical table type for relational data sources. +type RelationalTable struct { + _ struct{} `type:"structure"` + + // The catalog associated with a table. + Catalog *string `type:"string"` + + // The Amazon Resource Name (ARN) for the data source. // - // * PARENT_FOLDER_ARN: Provide an ARN of a folder, and any folders that - // are directly under that parent folder are returned. If you choose to use - // this option and leave the value blank, all root-level folders in the account - // are returned. - Name *string `type:"string" enum:"FolderFilterAttribute"` + // DataSourceArn is a required field + DataSourceArn *string `type:"string" required:"true"` - // The comparison operator that you want to use as a filter, for example "Operator": - // "StringEquals". Valid values are "StringEquals" and "StringLike". + // The column schema of the table. // - // If you set the operator value to "StringEquals", you need to provide an ownership - // related filter in the "NAME" field and the arn of the user or group whose - // folders you want to search in the "Value" field. For example, "Name":"DIRECT_QUICKSIGHT_OWNER", - // "Operator": "StringEquals", "Value": "arn:aws:quicksight:us-east-1:1:user/default/UserName1". + // InputColumns is a required field + InputColumns []*InputColumn `min:"1" type:"list" required:"true"` + + // The name of the relational table. // - // If you set the value to "StringLike", you need to provide the name of the - // folders you are searching for. For example, "Name":"FOLDER_NAME", "Operator": - // "StringLike", "Value": "Test". The "StringLike" operator only supports the - // NAME value FOLDER_NAME. - Operator *string `type:"string" enum:"FilterOperator"` + // Name is a required field + Name *string `min:"1" type:"string" required:"true"` - // The value of the named item (in this example, PARENT_FOLDER_ARN), that you - // want to use as a filter. For example, "Value": "arn:aws:quicksight:us-east-1:1:folder/folderId". - Value *string `type:"string"` + // The schema name. This name applies to certain relational database engines. + Schema *string `type:"string"` } // String returns the string representation. @@ -28645,7 +61537,7 @@ type FolderSearchFilter struct { // 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 FolderSearchFilter) String() string { +func (s RelationalTable) String() string { return awsutil.Prettify(s) } @@ -28654,49 +61546,84 @@ func (s FolderSearchFilter) String() string { // 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 FolderSearchFilter) GoString() string { +func (s RelationalTable) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *FolderSearchFilter) SetName(v string) *FolderSearchFilter { - s.Name = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *RelationalTable) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RelationalTable"} + if s.DataSourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("DataSourceArn")) + } + if s.InputColumns == nil { + invalidParams.Add(request.NewErrParamRequired("InputColumns")) + } + if s.InputColumns != nil && len(s.InputColumns) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InputColumns", 1)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.InputColumns != nil { + for i, v := range s.InputColumns { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputColumns", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetOperator sets the Operator field's value. -func (s *FolderSearchFilter) SetOperator(v string) *FolderSearchFilter { - s.Operator = &v +// SetCatalog sets the Catalog field's value. +func (s *RelationalTable) SetCatalog(v string) *RelationalTable { + s.Catalog = &v return s } -// SetValue sets the Value field's value. -func (s *FolderSearchFilter) SetValue(v string) *FolderSearchFilter { - s.Value = &v +// SetDataSourceArn sets the DataSourceArn field's value. +func (s *RelationalTable) SetDataSourceArn(v string) *RelationalTable { + s.DataSourceArn = &v return s } -// A summary of information about an existing Amazon QuickSight folder. -type FolderSummary struct { - _ struct{} `type:"structure"` - - // The Amazon Resource Name (ARN) of the folder. - Arn *string `type:"string"` +// SetInputColumns sets the InputColumns field's value. +func (s *RelationalTable) SetInputColumns(v []*InputColumn) *RelationalTable { + s.InputColumns = v + return s +} - // The time that the folder was created. - CreatedTime *time.Time `type:"timestamp"` +// SetName sets the Name field's value. +func (s *RelationalTable) SetName(v string) *RelationalTable { + s.Name = &v + return s +} - // The ID of the folder. - FolderId *string `min:"1" type:"string"` +// SetSchema sets the Schema field's value. +func (s *RelationalTable) SetSchema(v string) *RelationalTable { + s.Schema = &v + return s +} - // The type of folder. - FolderType *string `type:"string" enum:"FolderType"` +// The display options of a control. +type RelativeDateTimeControlDisplayOptions struct { + _ struct{} `type:"structure"` - // The time that the folder was last updated. - LastUpdatedTime *time.Time `type:"timestamp"` + // Customize how dates are formatted in controls. + DateTimeFormat *string `min:"1" type:"string"` - // The display name of the folder. - Name *string `min:"1" type:"string"` + // The options to configure the title visibility, name, and font size. + TitleOptions *LabelOptions `type:"structure"` } // String returns the string representation. @@ -28704,7 +61631,7 @@ type FolderSummary struct { // 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 FolderSummary) String() string { +func (s RelativeDateTimeControlDisplayOptions) String() string { return awsutil.Prettify(s) } @@ -28713,99 +61640,97 @@ func (s FolderSummary) String() string { // 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 FolderSummary) GoString() string { +func (s RelativeDateTimeControlDisplayOptions) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *FolderSummary) SetArn(v string) *FolderSummary { - s.Arn = &v - return s -} - -// SetCreatedTime sets the CreatedTime field's value. -func (s *FolderSummary) SetCreatedTime(v time.Time) *FolderSummary { - s.CreatedTime = &v - return s -} - -// SetFolderId sets the FolderId field's value. -func (s *FolderSummary) SetFolderId(v string) *FolderSummary { - s.FolderId = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *RelativeDateTimeControlDisplayOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RelativeDateTimeControlDisplayOptions"} + if s.DateTimeFormat != nil && len(*s.DateTimeFormat) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DateTimeFormat", 1)) + } -// SetFolderType sets the FolderType field's value. -func (s *FolderSummary) SetFolderType(v string) *FolderSummary { - s.FolderType = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetLastUpdatedTime sets the LastUpdatedTime field's value. -func (s *FolderSummary) SetLastUpdatedTime(v time.Time) *FolderSummary { - s.LastUpdatedTime = &v +// SetDateTimeFormat sets the DateTimeFormat field's value. +func (s *RelativeDateTimeControlDisplayOptions) SetDateTimeFormat(v string) *RelativeDateTimeControlDisplayOptions { + s.DateTimeFormat = &v return s } -// SetName sets the Name field's value. -func (s *FolderSummary) SetName(v string) *FolderSummary { - s.Name = &v +// SetTitleOptions sets the TitleOptions field's value. +func (s *RelativeDateTimeControlDisplayOptions) SetTitleOptions(v *LabelOptions) *RelativeDateTimeControlDisplayOptions { + s.TitleOptions = v return s } -type GenerateEmbedUrlForAnonymousUserInput struct { +// A RelativeDatesFilter filters relative dates values. +type RelativeDatesFilter struct { _ struct{} `type:"structure"` - // The domains that you want to add to the allow list for access to the generated - // URL that is then embedded. This optional parameter overrides the static domains - // that are configured in the Manage QuickSight menu in the Amazon QuickSight - // console. Instead, it allows only the domains that you include in this parameter. - // You can list up to three domains or subdomains in each API call. + // The date configuration of the filter. // - // To include all subdomains under a specific domain to the allow list, use - // *. For example, https://*.sapp.amazon.com includes all subdomains under https://sapp.amazon.com. - AllowedDomains []*string `type:"list"` + // AnchorDateConfiguration is a required field + AnchorDateConfiguration *AnchorDateConfiguration `type:"structure" required:"true"` - // The Amazon Resource Names (ARNs) for the Amazon QuickSight resources that - // the user is authorized to access during the lifetime of the session. If you - // choose Dashboard embedding experience, pass the list of dashboard ARNs in - // the account that you want the user to be able to view. Currently, you can - // pass up to 25 dashboard ARNs in each API call. + // The column that the filter is applied to. // - // AuthorizedResourceArns is a required field - AuthorizedResourceArns []*string `type:"list" required:"true"` + // Column is a required field + Column *ColumnIdentifier `type:"structure" required:"true"` - // The ID for the Amazon Web Services account that contains the dashboard that - // you're embedding. + // The configuration for the exclude period of the filter. + ExcludePeriodConfiguration *ExcludePeriodConfiguration `type:"structure"` + + // An identifier that uniquely identifies a filter within a dashboard, analysis, + // or template. // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // FilterId is a required field + FilterId *string `min:"1" type:"string" required:"true"` - // The configuration of the experience that you are embedding. + // The minimum granularity (period granularity) of the relative dates filter. + MinimumGranularity *string `type:"string" enum:"TimeGranularity"` + + // This option determines how null values should be treated when filtering data. // - // ExperienceConfiguration is a required field - ExperienceConfiguration *AnonymousUserEmbeddingExperienceConfiguration `type:"structure" required:"true"` + // * ALL_VALUES: Include null values in filtered results. + // + // * NULLS_ONLY: Only include null values in filtered results. + // + // * NON_NULLS_ONLY: Exclude null values from filtered results. + // + // NullOption is a required field + NullOption *string `type:"string" required:"true" enum:"FilterNullOption"` - // The Amazon QuickSight namespace that the anonymous user virtually belongs - // to. If you are not using an Amazon QuickSight custom namespace, set this - // to default. + // The parameter whose value should be used for the filter value. + ParameterName *string `min:"1" type:"string"` + + // The range date type of the filter. Choose one of the options below: // - // Namespace is a required field - Namespace *string `type:"string" required:"true"` + // * PREVIOUS + // + // * THIS + // + // * LAST + // + // * NOW + // + // * NEXT + // + // RelativeDateType is a required field + RelativeDateType *string `type:"string" required:"true" enum:"RelativeDateType"` - // How many minutes the session is valid. The session lifetime must be in [15-600] - // minutes range. - SessionLifetimeInMinutes *int64 `min:"15" type:"long"` + // The date value of the filter. + RelativeDateValue *int64 `type:"integer"` - // The session tags used for row-level security. Before you use this parameter, - // make sure that you have configured the relevant datasets using the DataSet$RowLevelPermissionTagConfiguration - // parameter so that session tags can be used to provide row-level security. + // The level of time precision that is used to aggregate DateTime values. // - // These are not the tags used for the Amazon Web Services resource tagging - // feature. For more information, see Using Row-Level Security (RLS) with Tags - // (https://docs.aws.amazon.com/quicksight/latest/user/quicksight-dev-rls-tags.html)in - // the Amazon QuickSight User Guide. - SessionTags []*SessionTag `min:"1" type:"list"` + // TimeGranularity is a required field + TimeGranularity *string `type:"string" required:"true" enum:"TimeGranularity"` } // String returns the string representation. @@ -28813,7 +61738,7 @@ type GenerateEmbedUrlForAnonymousUserInput struct { // 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 GenerateEmbedUrlForAnonymousUserInput) String() string { +func (s RelativeDatesFilter) String() string { return awsutil.Prettify(s) } @@ -28822,47 +61747,50 @@ func (s GenerateEmbedUrlForAnonymousUserInput) String() string { // 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 GenerateEmbedUrlForAnonymousUserInput) GoString() string { +func (s RelativeDatesFilter) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GenerateEmbedUrlForAnonymousUserInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GenerateEmbedUrlForAnonymousUserInput"} - if s.AuthorizedResourceArns == nil { - invalidParams.Add(request.NewErrParamRequired("AuthorizedResourceArns")) +func (s *RelativeDatesFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RelativeDatesFilter"} + if s.AnchorDateConfiguration == nil { + invalidParams.Add(request.NewErrParamRequired("AnchorDateConfiguration")) } - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + if s.Column == nil { + invalidParams.Add(request.NewErrParamRequired("Column")) } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + if s.FilterId == nil { + invalidParams.Add(request.NewErrParamRequired("FilterId")) } - if s.ExperienceConfiguration == nil { - invalidParams.Add(request.NewErrParamRequired("ExperienceConfiguration")) + if s.FilterId != nil && len(*s.FilterId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FilterId", 1)) } - if s.Namespace == nil { - invalidParams.Add(request.NewErrParamRequired("Namespace")) + if s.NullOption == nil { + invalidParams.Add(request.NewErrParamRequired("NullOption")) } - if s.SessionLifetimeInMinutes != nil && *s.SessionLifetimeInMinutes < 15 { - invalidParams.Add(request.NewErrParamMinValue("SessionLifetimeInMinutes", 15)) + if s.ParameterName != nil && len(*s.ParameterName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ParameterName", 1)) } - if s.SessionTags != nil && len(s.SessionTags) < 1 { - invalidParams.Add(request.NewErrParamMinLen("SessionTags", 1)) + if s.RelativeDateType == nil { + invalidParams.Add(request.NewErrParamRequired("RelativeDateType")) } - if s.ExperienceConfiguration != nil { - if err := s.ExperienceConfiguration.Validate(); err != nil { - invalidParams.AddNested("ExperienceConfiguration", err.(request.ErrInvalidParams)) + if s.TimeGranularity == nil { + invalidParams.Add(request.NewErrParamRequired("TimeGranularity")) + } + if s.AnchorDateConfiguration != nil { + if err := s.AnchorDateConfiguration.Validate(); err != nil { + invalidParams.AddNested("AnchorDateConfiguration", err.(request.ErrInvalidParams)) } } - if s.SessionTags != nil { - for i, v := range s.SessionTags { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SessionTags", i), err.(request.ErrInvalidParams)) - } + if s.Column != nil { + if err := s.Column.Validate(); err != nil { + invalidParams.AddNested("Column", err.(request.ErrInvalidParams)) + } + } + if s.ExcludePeriodConfiguration != nil { + if err := s.ExcludePeriodConfiguration.Validate(); err != nil { + invalidParams.AddNested("ExcludePeriodConfiguration", err.(request.ErrInvalidParams)) } } @@ -28872,75 +61800,79 @@ func (s *GenerateEmbedUrlForAnonymousUserInput) Validate() error { return nil } -// SetAllowedDomains sets the AllowedDomains field's value. -func (s *GenerateEmbedUrlForAnonymousUserInput) SetAllowedDomains(v []*string) *GenerateEmbedUrlForAnonymousUserInput { - s.AllowedDomains = v +// SetAnchorDateConfiguration sets the AnchorDateConfiguration field's value. +func (s *RelativeDatesFilter) SetAnchorDateConfiguration(v *AnchorDateConfiguration) *RelativeDatesFilter { + s.AnchorDateConfiguration = v return s } -// SetAuthorizedResourceArns sets the AuthorizedResourceArns field's value. -func (s *GenerateEmbedUrlForAnonymousUserInput) SetAuthorizedResourceArns(v []*string) *GenerateEmbedUrlForAnonymousUserInput { - s.AuthorizedResourceArns = v +// SetColumn sets the Column field's value. +func (s *RelativeDatesFilter) SetColumn(v *ColumnIdentifier) *RelativeDatesFilter { + s.Column = v return s } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *GenerateEmbedUrlForAnonymousUserInput) SetAwsAccountId(v string) *GenerateEmbedUrlForAnonymousUserInput { - s.AwsAccountId = &v +// SetExcludePeriodConfiguration sets the ExcludePeriodConfiguration field's value. +func (s *RelativeDatesFilter) SetExcludePeriodConfiguration(v *ExcludePeriodConfiguration) *RelativeDatesFilter { + s.ExcludePeriodConfiguration = v return s } -// SetExperienceConfiguration sets the ExperienceConfiguration field's value. -func (s *GenerateEmbedUrlForAnonymousUserInput) SetExperienceConfiguration(v *AnonymousUserEmbeddingExperienceConfiguration) *GenerateEmbedUrlForAnonymousUserInput { - s.ExperienceConfiguration = v +// SetFilterId sets the FilterId field's value. +func (s *RelativeDatesFilter) SetFilterId(v string) *RelativeDatesFilter { + s.FilterId = &v return s } -// SetNamespace sets the Namespace field's value. -func (s *GenerateEmbedUrlForAnonymousUserInput) SetNamespace(v string) *GenerateEmbedUrlForAnonymousUserInput { - s.Namespace = &v +// SetMinimumGranularity sets the MinimumGranularity field's value. +func (s *RelativeDatesFilter) SetMinimumGranularity(v string) *RelativeDatesFilter { + s.MinimumGranularity = &v return s } -// SetSessionLifetimeInMinutes sets the SessionLifetimeInMinutes field's value. -func (s *GenerateEmbedUrlForAnonymousUserInput) SetSessionLifetimeInMinutes(v int64) *GenerateEmbedUrlForAnonymousUserInput { - s.SessionLifetimeInMinutes = &v +// SetNullOption sets the NullOption field's value. +func (s *RelativeDatesFilter) SetNullOption(v string) *RelativeDatesFilter { + s.NullOption = &v return s } -// SetSessionTags sets the SessionTags field's value. -func (s *GenerateEmbedUrlForAnonymousUserInput) SetSessionTags(v []*SessionTag) *GenerateEmbedUrlForAnonymousUserInput { - s.SessionTags = v +// SetParameterName sets the ParameterName field's value. +func (s *RelativeDatesFilter) SetParameterName(v string) *RelativeDatesFilter { + s.ParameterName = &v return s } -type GenerateEmbedUrlForAnonymousUserOutput struct { - _ struct{} `type:"structure"` +// SetRelativeDateType sets the RelativeDateType field's value. +func (s *RelativeDatesFilter) SetRelativeDateType(v string) *RelativeDatesFilter { + s.RelativeDateType = &v + return s +} - // The Amazon Resource Name (ARN) to use for the anonymous Amazon QuickSight - // user. - // - // AnonymousUserArn is a required field - AnonymousUserArn *string `type:"string" required:"true"` +// SetRelativeDateValue sets the RelativeDateValue field's value. +func (s *RelativeDatesFilter) SetRelativeDateValue(v int64) *RelativeDatesFilter { + s.RelativeDateValue = &v + return s +} - // The embed URL for the dashboard. - // - // EmbedUrl is a sensitive parameter and its value will be - // replaced with "sensitive" in string returned by GenerateEmbedUrlForAnonymousUserOutput's - // String and GoString methods. - // - // EmbedUrl is a required field - EmbedUrl *string `type:"string" required:"true" sensitive:"true"` +// SetTimeGranularity sets the TimeGranularity field's value. +func (s *RelativeDatesFilter) SetTimeGranularity(v string) *RelativeDatesFilter { + s.TimeGranularity = &v + return s +} - // The Amazon Web Services request ID for this operation. +// A transform operation that renames a column. +type RenameColumnOperation struct { + _ struct{} `type:"structure"` + + // The name of the column to be renamed. // - // RequestId is a required field - RequestId *string `type:"string" required:"true"` + // ColumnName is a required field + ColumnName *string `min:"1" type:"string" required:"true"` - // The HTTP status of the request. + // The new name for the column. // - // Status is a required field - Status *int64 `location:"statusCode" type:"integer" required:"true"` + // NewColumnName is a required field + NewColumnName *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -28948,7 +61880,7 @@ type GenerateEmbedUrlForAnonymousUserOutput struct { // 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 GenerateEmbedUrlForAnonymousUserOutput) String() string { +func (s RenameColumnOperation) String() string { return awsutil.Prettify(s) } @@ -28957,68 +61889,126 @@ func (s GenerateEmbedUrlForAnonymousUserOutput) String() string { // 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 GenerateEmbedUrlForAnonymousUserOutput) GoString() string { +func (s RenameColumnOperation) GoString() string { return s.String() } -// SetAnonymousUserArn sets the AnonymousUserArn field's value. -func (s *GenerateEmbedUrlForAnonymousUserOutput) SetAnonymousUserArn(v string) *GenerateEmbedUrlForAnonymousUserOutput { - s.AnonymousUserArn = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *RenameColumnOperation) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RenameColumnOperation"} + if s.ColumnName == nil { + invalidParams.Add(request.NewErrParamRequired("ColumnName")) + } + if s.ColumnName != nil && len(*s.ColumnName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ColumnName", 1)) + } + if s.NewColumnName == nil { + invalidParams.Add(request.NewErrParamRequired("NewColumnName")) + } + if s.NewColumnName != nil && len(*s.NewColumnName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NewColumnName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetEmbedUrl sets the EmbedUrl field's value. -func (s *GenerateEmbedUrlForAnonymousUserOutput) SetEmbedUrl(v string) *GenerateEmbedUrlForAnonymousUserOutput { - s.EmbedUrl = &v +// SetColumnName sets the ColumnName field's value. +func (s *RenameColumnOperation) SetColumnName(v string) *RenameColumnOperation { + s.ColumnName = &v return s } -// SetRequestId sets the RequestId field's value. -func (s *GenerateEmbedUrlForAnonymousUserOutput) SetRequestId(v string) *GenerateEmbedUrlForAnonymousUserOutput { - s.RequestId = &v +// SetNewColumnName sets the NewColumnName field's value. +func (s *RenameColumnOperation) SetNewColumnName(v string) *RenameColumnOperation { + s.NewColumnName = &v return s } -// SetStatus sets the Status field's value. -func (s *GenerateEmbedUrlForAnonymousUserOutput) SetStatus(v int64) *GenerateEmbedUrlForAnonymousUserOutput { - s.Status = &v - return s +// The resource specified already exists. +type ResourceExistsException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"Message" type:"string"` + + // The Amazon Web Services request ID for this request. + RequestId *string `type:"string"` + + // The resource type for this request. + ResourceType *string `type:"string" enum:"ExceptionResourceType"` } -type GenerateEmbedUrlForRegisteredUserInput struct { - _ struct{} `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 ResourceExistsException) String() string { + return awsutil.Prettify(s) +} - // The domains that you want to add to the allow list for access to the generated - // URL that is then embedded. This optional parameter overrides the static domains - // that are configured in the Manage QuickSight menu in the Amazon QuickSight - // console. Instead, it allows only the domains that you include in this parameter. - // You can list up to three domains or subdomains in each API call. - // - // To include all subdomains under a specific domain to the allow list, use - // *. For example, https://*.sapp.amazon.com includes all subdomains under https://sapp.amazon.com. - AllowedDomains []*string `type:"list"` +// 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 ResourceExistsException) GoString() string { + return s.String() +} - // The ID for the Amazon Web Services account that contains the dashboard that - // you're embedding. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` +func newErrorResourceExistsException(v protocol.ResponseMetadata) error { + return &ResourceExistsException{ + RespMetadata: v, + } +} - // The experience you are embedding. For registered users, you can embed Amazon - // QuickSight dashboards, Amazon QuickSight visuals, the Amazon QuickSight Q - // search bar, or the entire Amazon QuickSight console. - // - // ExperienceConfiguration is a required field - ExperienceConfiguration *RegisteredUserEmbeddingExperienceConfiguration `type:"structure" required:"true"` +// Code returns the exception type name. +func (s *ResourceExistsException) Code() string { + return "ResourceExistsException" +} - // How many minutes the session is valid. The session lifetime must be in [15-600] - // minutes range. - SessionLifetimeInMinutes *int64 `min:"15" type:"long"` +// Message returns the exception's message. +func (s *ResourceExistsException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} - // The Amazon Resource Name for the registered user. - // - // UserArn is a required field - UserArn *string `type:"string" required:"true"` +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ResourceExistsException) OrigErr() error { + return nil +} + +func (s *ResourceExistsException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ResourceExistsException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ResourceExistsException) RequestID() string { + return s.RespMetadata.RequestID +} + +// One or more resources can't be found. +type ResourceNotFoundException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"Message" type:"string"` + + // The Amazon Web Services request ID for this request. + RequestId *string `type:"string"` + + // The resource type for this request. + ResourceType *string `type:"string" enum:"ExceptionResourceType"` } // String returns the string representation. @@ -29026,7 +62016,7 @@ type GenerateEmbedUrlForRegisteredUserInput struct { // 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 GenerateEmbedUrlForRegisteredUserInput) String() string { +func (s ResourceNotFoundException) String() string { return awsutil.Prettify(s) } @@ -29035,92 +62025,71 @@ func (s GenerateEmbedUrlForRegisteredUserInput) String() string { // 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 GenerateEmbedUrlForRegisteredUserInput) GoString() string { +func (s ResourceNotFoundException) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *GenerateEmbedUrlForRegisteredUserInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GenerateEmbedUrlForRegisteredUserInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.ExperienceConfiguration == nil { - invalidParams.Add(request.NewErrParamRequired("ExperienceConfiguration")) - } - if s.SessionLifetimeInMinutes != nil && *s.SessionLifetimeInMinutes < 15 { - invalidParams.Add(request.NewErrParamMinValue("SessionLifetimeInMinutes", 15)) - } - if s.UserArn == nil { - invalidParams.Add(request.NewErrParamRequired("UserArn")) - } - if s.ExperienceConfiguration != nil { - if err := s.ExperienceConfiguration.Validate(); err != nil { - invalidParams.AddNested("ExperienceConfiguration", err.(request.ErrInvalidParams)) - } +func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error { + return &ResourceNotFoundException{ + RespMetadata: v, } +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// Code returns the exception type name. +func (s *ResourceNotFoundException) Code() string { + return "ResourceNotFoundException" } -// SetAllowedDomains sets the AllowedDomains field's value. -func (s *GenerateEmbedUrlForRegisteredUserInput) SetAllowedDomains(v []*string) *GenerateEmbedUrlForRegisteredUserInput { - s.AllowedDomains = v - return s +// Message returns the exception's message. +func (s *ResourceNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *GenerateEmbedUrlForRegisteredUserInput) SetAwsAccountId(v string) *GenerateEmbedUrlForRegisteredUserInput { - s.AwsAccountId = &v - return s +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ResourceNotFoundException) OrigErr() error { + return nil } -// SetExperienceConfiguration sets the ExperienceConfiguration field's value. -func (s *GenerateEmbedUrlForRegisteredUserInput) SetExperienceConfiguration(v *RegisteredUserEmbeddingExperienceConfiguration) *GenerateEmbedUrlForRegisteredUserInput { - s.ExperienceConfiguration = v - return s +func (s *ResourceNotFoundException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) } -// SetSessionLifetimeInMinutes sets the SessionLifetimeInMinutes field's value. -func (s *GenerateEmbedUrlForRegisteredUserInput) SetSessionLifetimeInMinutes(v int64) *GenerateEmbedUrlForRegisteredUserInput { - s.SessionLifetimeInMinutes = &v - return s +// Status code returns the HTTP status code for the request's response error. +func (s *ResourceNotFoundException) StatusCode() int { + return s.RespMetadata.StatusCode } -// SetUserArn sets the UserArn field's value. -func (s *GenerateEmbedUrlForRegisteredUserInput) SetUserArn(v string) *GenerateEmbedUrlForRegisteredUserInput { - s.UserArn = &v - return s +// RequestID returns the service's response RequestID for request. +func (s *ResourceNotFoundException) RequestID() string { + return s.RespMetadata.RequestID } -type GenerateEmbedUrlForRegisteredUserOutput struct { +// Permission for the resource. +type ResourcePermission struct { _ struct{} `type:"structure"` - // The embed URL for the Amazon QuickSight dashboard, visual, Q search bar, - // or console. - // - // EmbedUrl is a sensitive parameter and its value will be - // replaced with "sensitive" in string returned by GenerateEmbedUrlForRegisteredUserOutput's - // String and GoString methods. + // The IAM action to grant or revoke permissions on. // - // EmbedUrl is a required field - EmbedUrl *string `type:"string" required:"true" sensitive:"true"` + // Actions is a required field + Actions []*string `min:"1" type:"list" required:"true"` - // The Amazon Web Services request ID for this operation. + // The Amazon Resource Name (ARN) of the principal. This can be one of the following: // - // RequestId is a required field - RequestId *string `type:"string" required:"true"` - - // The HTTP status of the request. + // * The ARN of an Amazon QuickSight user or group associated with a data + // source or dataset. (This is common.) // - // Status is a required field - Status *int64 `location:"statusCode" type:"integer" required:"true"` + // * The ARN of an Amazon QuickSight user, group, or namespace associated + // with an analysis, dashboard, template, or theme. (This is common.) + // + // * The ARN of an Amazon Web Services account root: This is an IAM ARN rather + // than a QuickSight ARN. Use this option only to share resources (templates) + // across Amazon Web Services accounts. (This is less common.) + // + // Principal is a required field + Principal *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -29128,7 +62097,7 @@ type GenerateEmbedUrlForRegisteredUserOutput struct { // 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 GenerateEmbedUrlForRegisteredUserOutput) String() string { +func (s ResourcePermission) String() string { return awsutil.Prettify(s) } @@ -29137,44 +62106,56 @@ func (s GenerateEmbedUrlForRegisteredUserOutput) String() string { // 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 GenerateEmbedUrlForRegisteredUserOutput) GoString() string { +func (s ResourcePermission) GoString() string { return s.String() } -// SetEmbedUrl sets the EmbedUrl field's value. -func (s *GenerateEmbedUrlForRegisteredUserOutput) SetEmbedUrl(v string) *GenerateEmbedUrlForRegisteredUserOutput { - s.EmbedUrl = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *ResourcePermission) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ResourcePermission"} + if s.Actions == nil { + invalidParams.Add(request.NewErrParamRequired("Actions")) + } + if s.Actions != nil && len(s.Actions) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Actions", 1)) + } + if s.Principal == nil { + invalidParams.Add(request.NewErrParamRequired("Principal")) + } + if s.Principal != nil && len(*s.Principal) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Principal", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetRequestId sets the RequestId field's value. -func (s *GenerateEmbedUrlForRegisteredUserOutput) SetRequestId(v string) *GenerateEmbedUrlForRegisteredUserOutput { - s.RequestId = &v +// SetActions sets the Actions field's value. +func (s *ResourcePermission) SetActions(v []*string) *ResourcePermission { + s.Actions = v return s } -// SetStatus sets the Status field's value. -func (s *GenerateEmbedUrlForRegisteredUserOutput) SetStatus(v int64) *GenerateEmbedUrlForRegisteredUserOutput { - s.Status = &v +// SetPrincipal sets the Principal field's value. +func (s *ResourcePermission) SetPrincipal(v string) *ResourcePermission { + s.Principal = &v return s } -// Geospatial column group that denotes a hierarchy. -type GeoSpatialColumnGroup struct { - _ struct{} `type:"structure"` +// This resource is currently unavailable. +type ResourceUnavailableException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - // Columns in this hierarchy. - // - // Columns is a required field - Columns []*string `min:"1" type:"list" required:"true"` + Message_ *string `locationName:"Message" type:"string"` - // Country code. - CountryCode *string `type:"string" enum:"GeoSpatialCountryCode"` + // The Amazon Web Services request ID for this request. + RequestId *string `type:"string"` - // A display name for the hierarchy. - // - // Name is a required field - Name *string `min:"1" type:"string" required:"true"` + // The resource type for this request. + ResourceType *string `type:"string" enum:"ExceptionResourceType"` } // String returns the string representation. @@ -29182,7 +62163,7 @@ type GeoSpatialColumnGroup struct { // 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 GeoSpatialColumnGroup) String() string { +func (s ResourceUnavailableException) String() string { return awsutil.Prettify(s) } @@ -29191,117 +62172,60 @@ func (s GeoSpatialColumnGroup) String() string { // 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 GeoSpatialColumnGroup) GoString() string { +func (s ResourceUnavailableException) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *GeoSpatialColumnGroup) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GeoSpatialColumnGroup"} - if s.Columns == nil { - invalidParams.Add(request.NewErrParamRequired("Columns")) - } - if s.Columns != nil && len(s.Columns) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Columns", 1)) - } - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) - } - if s.Name != nil && len(*s.Name) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Name", 1)) - } +func newErrorResourceUnavailableException(v protocol.ResponseMetadata) error { + return &ResourceUnavailableException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ResourceUnavailableException) Code() string { + return "ResourceUnavailableException" +} - if invalidParams.Len() > 0 { - return invalidParams +// Message returns the exception's message. +func (s *ResourceUnavailableException) Message() string { + if s.Message_ != nil { + return *s.Message_ } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ResourceUnavailableException) OrigErr() error { return nil } -// SetColumns sets the Columns field's value. -func (s *GeoSpatialColumnGroup) SetColumns(v []*string) *GeoSpatialColumnGroup { - s.Columns = v - return s +func (s *ResourceUnavailableException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) } -// SetCountryCode sets the CountryCode field's value. -func (s *GeoSpatialColumnGroup) SetCountryCode(v string) *GeoSpatialColumnGroup { - s.CountryCode = &v - return s +// Status code returns the HTTP status code for the request's response error. +func (s *ResourceUnavailableException) StatusCode() int { + return s.RespMetadata.StatusCode } -// SetName sets the Name field's value. -func (s *GeoSpatialColumnGroup) SetName(v string) *GeoSpatialColumnGroup { - s.Name = &v - return s +// RequestID returns the service's response RequestID for request. +func (s *ResourceUnavailableException) RequestID() string { + return s.RespMetadata.RequestID } -type GetDashboardEmbedUrlInput struct { +type RestoreAnalysisInput struct { _ struct{} `type:"structure" nopayload:"true"` - // A list of one or more dashboard IDs that you want anonymous users to have - // tempporary access to. Currently, the IdentityType parameter must be set to - // ANONYMOUS because other identity types authenticate as Amazon QuickSight - // or IAM users. For example, if you set "--dashboard-id dash_id1 --dashboard-id - // dash_id2 dash_id3 identity-type ANONYMOUS", the session can access all three - // dashboards. - AdditionalDashboardIds []*string `location:"querystring" locationName:"additional-dashboard-ids" min:"1" type:"list"` + // The ID of the analysis that you're restoring. + // + // AnalysisId is a required field + AnalysisId *string `location:"uri" locationName:"AnalysisId" min:"1" type:"string" required:"true"` - // The ID for the Amazon Web Services account that contains the dashboard that - // you're embedding. + // The ID of the Amazon Web Services account that contains the analysis. // // AwsAccountId is a required field AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - - // The ID for the dashboard, also added to the Identity and Access Management - // (IAM) policy. - // - // DashboardId is a required field - DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"` - - // The authentication method that the user uses to sign in. - // - // IdentityType is a required field - IdentityType *string `location:"querystring" locationName:"creds-type" type:"string" required:"true" enum:"EmbeddingIdentityType"` - - // The Amazon QuickSight namespace that contains the dashboard IDs in this request. - // If you're not using a custom namespace, set Namespace = default. - Namespace *string `location:"querystring" locationName:"namespace" type:"string"` - - // Remove the reset button on the embedded dashboard. The default is FALSE, - // which enables the reset button. - ResetDisabled *bool `location:"querystring" locationName:"reset-disabled" type:"boolean"` - - // How many minutes the session is valid. The session lifetime must be 15-600 - // minutes. - SessionLifetimeInMinutes *int64 `location:"querystring" locationName:"session-lifetime" min:"15" type:"long"` - - // Adds persistence of state for the user session in an embedded dashboard. - // Persistence applies to the sheet and the parameter settings. These are control - // settings that the dashboard subscriber (Amazon QuickSight reader) chooses - // while viewing the dashboard. If this is set to TRUE, the settings are the - // same when the subscriber reopens the same dashboard URL. The state is stored - // in Amazon QuickSight, not in a browser cookie. If this is set to FALSE, the - // state of the user session is not persisted. The default is FALSE. - StatePersistenceEnabled *bool `location:"querystring" locationName:"state-persistence-enabled" type:"boolean"` - - // Remove the undo/redo button on the embedded dashboard. The default is FALSE, - // which enables the undo/redo button. - UndoRedoDisabled *bool `location:"querystring" locationName:"undo-redo-disabled" type:"boolean"` - - // The Amazon QuickSight user's Amazon Resource Name (ARN), for use with QUICKSIGHT - // identity type. You can use this for any Amazon QuickSight users in your account - // (readers, authors, or admins) authenticated as one of the following: - // - // * Active Directory (AD) users or group members - // - // * Invited nonfederated users - // - // * IAM users and IAM role-based sessions authenticated through Federated - // Single Sign-On using SAML, OpenID Connect, or IAM federation. - // - // Omit this parameter for users in the third group – IAM users and IAM role-based - // sessions. - UserArn *string `location:"querystring" locationName:"user-arn" type:"string"` } // String returns the string representation. @@ -29309,7 +62233,7 @@ type GetDashboardEmbedUrlInput struct { // 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 GetDashboardEmbedUrlInput) String() string { +func (s RestoreAnalysisInput) String() string { return awsutil.Prettify(s) } @@ -29318,15 +62242,18 @@ func (s GetDashboardEmbedUrlInput) String() string { // 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 GetDashboardEmbedUrlInput) GoString() string { +func (s RestoreAnalysisInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetDashboardEmbedUrlInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetDashboardEmbedUrlInput"} - if s.AdditionalDashboardIds != nil && len(s.AdditionalDashboardIds) < 1 { - invalidParams.Add(request.NewErrParamMinLen("AdditionalDashboardIds", 1)) +func (s *RestoreAnalysisInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RestoreAnalysisInput"} + if s.AnalysisId == nil { + invalidParams.Add(request.NewErrParamRequired("AnalysisId")) + } + if s.AnalysisId != nil && len(*s.AnalysisId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AnalysisId", 1)) } if s.AwsAccountId == nil { invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) @@ -29334,18 +62261,6 @@ func (s *GetDashboardEmbedUrlInput) Validate() error { if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) } - if s.DashboardId == nil { - invalidParams.Add(request.NewErrParamRequired("DashboardId")) - } - if s.DashboardId != nil && len(*s.DashboardId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1)) - } - if s.IdentityType == nil { - invalidParams.Add(request.NewErrParamRequired("IdentityType")) - } - if s.SessionLifetimeInMinutes != nil && *s.SessionLifetimeInMinutes < 15 { - invalidParams.Add(request.NewErrParamMinValue("SessionLifetimeInMinutes", 15)) - } if invalidParams.Len() > 0 { return invalidParams @@ -29353,79 +62268,26 @@ func (s *GetDashboardEmbedUrlInput) Validate() error { return nil } -// SetAdditionalDashboardIds sets the AdditionalDashboardIds field's value. -func (s *GetDashboardEmbedUrlInput) SetAdditionalDashboardIds(v []*string) *GetDashboardEmbedUrlInput { - s.AdditionalDashboardIds = v +// SetAnalysisId sets the AnalysisId field's value. +func (s *RestoreAnalysisInput) SetAnalysisId(v string) *RestoreAnalysisInput { + s.AnalysisId = &v return s } // SetAwsAccountId sets the AwsAccountId field's value. -func (s *GetDashboardEmbedUrlInput) SetAwsAccountId(v string) *GetDashboardEmbedUrlInput { +func (s *RestoreAnalysisInput) SetAwsAccountId(v string) *RestoreAnalysisInput { s.AwsAccountId = &v return s } -// SetDashboardId sets the DashboardId field's value. -func (s *GetDashboardEmbedUrlInput) SetDashboardId(v string) *GetDashboardEmbedUrlInput { - s.DashboardId = &v - return s -} - -// SetIdentityType sets the IdentityType field's value. -func (s *GetDashboardEmbedUrlInput) SetIdentityType(v string) *GetDashboardEmbedUrlInput { - s.IdentityType = &v - return s -} - -// SetNamespace sets the Namespace field's value. -func (s *GetDashboardEmbedUrlInput) SetNamespace(v string) *GetDashboardEmbedUrlInput { - s.Namespace = &v - return s -} - -// SetResetDisabled sets the ResetDisabled field's value. -func (s *GetDashboardEmbedUrlInput) SetResetDisabled(v bool) *GetDashboardEmbedUrlInput { - s.ResetDisabled = &v - return s -} - -// SetSessionLifetimeInMinutes sets the SessionLifetimeInMinutes field's value. -func (s *GetDashboardEmbedUrlInput) SetSessionLifetimeInMinutes(v int64) *GetDashboardEmbedUrlInput { - s.SessionLifetimeInMinutes = &v - return s -} - -// SetStatePersistenceEnabled sets the StatePersistenceEnabled field's value. -func (s *GetDashboardEmbedUrlInput) SetStatePersistenceEnabled(v bool) *GetDashboardEmbedUrlInput { - s.StatePersistenceEnabled = &v - return s -} - -// SetUndoRedoDisabled sets the UndoRedoDisabled field's value. -func (s *GetDashboardEmbedUrlInput) SetUndoRedoDisabled(v bool) *GetDashboardEmbedUrlInput { - s.UndoRedoDisabled = &v - return s -} - -// SetUserArn sets the UserArn field's value. -func (s *GetDashboardEmbedUrlInput) SetUserArn(v string) *GetDashboardEmbedUrlInput { - s.UserArn = &v - return s -} - -// Output returned from the GetDashboardEmbedUrl operation. -type GetDashboardEmbedUrlOutput struct { +type RestoreAnalysisOutput struct { _ struct{} `type:"structure"` - // A single-use URL that you can put into your server-side webpage to embed - // your dashboard. This URL is valid for 5 minutes. The API operation provides - // the URL with an auth_code value that enables one (and only one) sign-on to - // a user session that is valid for 10 hours. - // - // EmbedUrl is a sensitive parameter and its value will be - // replaced with "sensitive" in string returned by GetDashboardEmbedUrlOutput's - // String and GoString methods. - EmbedUrl *string `type:"string" sensitive:"true"` + // The ID of the analysis that you're restoring. + AnalysisId *string `min:"1" type:"string"` + + // The Amazon Resource Name (ARN) of the analysis that you're restoring. + Arn *string `type:"string"` // The Amazon Web Services request ID for this operation. RequestId *string `type:"string"` @@ -29439,7 +62301,7 @@ type GetDashboardEmbedUrlOutput struct { // 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 GetDashboardEmbedUrlOutput) String() string { +func (s RestoreAnalysisOutput) String() string { return awsutil.Prettify(s) } @@ -29448,74 +62310,49 @@ func (s GetDashboardEmbedUrlOutput) String() string { // 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 GetDashboardEmbedUrlOutput) GoString() string { +func (s RestoreAnalysisOutput) GoString() string { return s.String() } -// SetEmbedUrl sets the EmbedUrl field's value. -func (s *GetDashboardEmbedUrlOutput) SetEmbedUrl(v string) *GetDashboardEmbedUrlOutput { - s.EmbedUrl = &v +// SetAnalysisId sets the AnalysisId field's value. +func (s *RestoreAnalysisOutput) SetAnalysisId(v string) *RestoreAnalysisOutput { + s.AnalysisId = &v + return s +} + +// SetArn sets the Arn field's value. +func (s *RestoreAnalysisOutput) SetArn(v string) *RestoreAnalysisOutput { + s.Arn = &v return s } // SetRequestId sets the RequestId field's value. -func (s *GetDashboardEmbedUrlOutput) SetRequestId(v string) *GetDashboardEmbedUrlOutput { +func (s *RestoreAnalysisOutput) SetRequestId(v string) *RestoreAnalysisOutput { s.RequestId = &v return s } // SetStatus sets the Status field's value. -func (s *GetDashboardEmbedUrlOutput) SetStatus(v int64) *GetDashboardEmbedUrlOutput { +func (s *RestoreAnalysisOutput) SetStatus(v int64) *RestoreAnalysisOutput { s.Status = &v return s } -type GetSessionEmbedUrlInput struct { - _ struct{} `type:"structure" nopayload:"true"` - - // The ID for the Amazon Web Services account associated with your Amazon QuickSight - // subscription. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - - // The URL you use to access the embedded session. The entry point URL is constrained - // to the following paths: - // - // * /start - // - // * /start/analyses - // - // * /start/dashboards - // - // * /start/favorites - // - // * /dashboards/DashboardId - where DashboardId is the actual ID key from - // the Amazon QuickSight console URL of the dashboard - // - // * /analyses/AnalysisId - where AnalysisId is the actual ID key from the - // Amazon QuickSight console URL of the analysis - EntryPoint *string `location:"querystring" locationName:"entry-point" min:"1" type:"string"` +// The rolling date configuration of a date time filter. +type RollingDateConfiguration struct { + _ struct{} `type:"structure"` - // How many minutes the session is valid. The session lifetime must be 15-600 - // minutes. - SessionLifetimeInMinutes *int64 `location:"querystring" locationName:"session-lifetime" min:"15" type:"long"` + // The data set that is used in the rolling date configuration. + DataSetIdentifier *string `min:"1" type:"string"` - // The Amazon QuickSight user's Amazon Resource Name (ARN), for use with QUICKSIGHT - // identity type. You can use this for any type of Amazon QuickSight users in - // your account (readers, authors, or admins). They need to be authenticated - // as one of the following: - // - // Active Directory (AD) users or group members - // - // Invited nonfederated users + // The expression of the rolling date configuration. // - // Identity and Access Management (IAM) users and IAM role-based sessions authenticated - // through Federated Single Sign-On using SAML, OpenID Connect, or IAM federation + // Expression is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by RollingDateConfiguration's + // String and GoString methods. // - // Omit this parameter for users in the third group, IAM users and IAM role-based - // sessions. - UserArn *string `location:"querystring" locationName:"user-arn" type:"string"` + // Expression is a required field + Expression *string `min:"1" type:"string" required:"true" sensitive:"true"` } // String returns the string representation. @@ -29523,7 +62360,7 @@ type GetSessionEmbedUrlInput struct { // 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 GetSessionEmbedUrlInput) String() string { +func (s RollingDateConfiguration) String() string { return awsutil.Prettify(s) } @@ -29532,24 +62369,21 @@ func (s GetSessionEmbedUrlInput) String() string { // 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 GetSessionEmbedUrlInput) GoString() string { +func (s RollingDateConfiguration) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetSessionEmbedUrlInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetSessionEmbedUrlInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) +func (s *RollingDateConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RollingDateConfiguration"} + if s.DataSetIdentifier != nil && len(*s.DataSetIdentifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DataSetIdentifier", 1)) } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.EntryPoint != nil && len(*s.EntryPoint) < 1 { - invalidParams.Add(request.NewErrParamMinLen("EntryPoint", 1)) + if s.Expression == nil { + invalidParams.Add(request.NewErrParamRequired("Expression")) } - if s.SessionLifetimeInMinutes != nil && *s.SessionLifetimeInMinutes < 15 { - invalidParams.Add(request.NewErrParamMinValue("SessionLifetimeInMinutes", 15)) + if s.Expression != nil && len(*s.Expression) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Expression", 1)) } if invalidParams.Len() > 0 { @@ -29558,48 +62392,71 @@ func (s *GetSessionEmbedUrlInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *GetSessionEmbedUrlInput) SetAwsAccountId(v string) *GetSessionEmbedUrlInput { - s.AwsAccountId = &v +// SetDataSetIdentifier sets the DataSetIdentifier field's value. +func (s *RollingDateConfiguration) SetDataSetIdentifier(v string) *RollingDateConfiguration { + s.DataSetIdentifier = &v return s } -// SetEntryPoint sets the EntryPoint field's value. -func (s *GetSessionEmbedUrlInput) SetEntryPoint(v string) *GetSessionEmbedUrlInput { - s.EntryPoint = &v +// SetExpression sets the Expression field's value. +func (s *RollingDateConfiguration) SetExpression(v string) *RollingDateConfiguration { + s.Expression = &v return s } -// SetSessionLifetimeInMinutes sets the SessionLifetimeInMinutes field's value. -func (s *GetSessionEmbedUrlInput) SetSessionLifetimeInMinutes(v int64) *GetSessionEmbedUrlInput { - s.SessionLifetimeInMinutes = &v +// Determines the row alternate color options. +type RowAlternateColorOptions struct { + _ struct{} `type:"structure"` + + // Determines the list of row alternate colors. + RowAlternateColors []*string `type:"list"` + + // Determines the widget status. + Status *string `type:"string" enum:"WidgetStatus"` +} + +// 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 RowAlternateColorOptions) 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 RowAlternateColorOptions) GoString() string { + return s.String() +} + +// SetRowAlternateColors sets the RowAlternateColors field's value. +func (s *RowAlternateColorOptions) SetRowAlternateColors(v []*string) *RowAlternateColorOptions { + s.RowAlternateColors = v return s } -// SetUserArn sets the UserArn field's value. -func (s *GetSessionEmbedUrlInput) SetUserArn(v string) *GetSessionEmbedUrlInput { - s.UserArn = &v +// SetStatus sets the Status field's value. +func (s *RowAlternateColorOptions) SetStatus(v string) *RowAlternateColorOptions { + s.Status = &v return s } -type GetSessionEmbedUrlOutput struct { +// Information about rows for a data set SPICE ingestion. +type RowInfo struct { _ struct{} `type:"structure"` - // A single-use URL that you can put into your server-side web page to embed - // your Amazon QuickSight session. This URL is valid for 5 minutes. The API - // operation provides the URL with an auth_code value that enables one (and - // only one) sign-on to a user session that is valid for 10 hours. - // - // EmbedUrl is a sensitive parameter and its value will be - // replaced with "sensitive" in string returned by GetSessionEmbedUrlOutput's - // String and GoString methods. - EmbedUrl *string `type:"string" sensitive:"true"` + // The number of rows that were not ingested. + RowsDropped *int64 `type:"long"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The number of rows that were ingested. + RowsIngested *int64 `type:"long"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The total number of rows in the dataset. + TotalRowsInDataset *int64 `type:"long"` } // String returns the string representation. @@ -29607,7 +62464,7 @@ type GetSessionEmbedUrlOutput struct { // 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 GetSessionEmbedUrlOutput) String() string { +func (s RowInfo) String() string { return awsutil.Prettify(s) } @@ -29616,44 +62473,64 @@ func (s GetSessionEmbedUrlOutput) String() string { // 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 GetSessionEmbedUrlOutput) GoString() string { +func (s RowInfo) GoString() string { return s.String() } -// SetEmbedUrl sets the EmbedUrl field's value. -func (s *GetSessionEmbedUrlOutput) SetEmbedUrl(v string) *GetSessionEmbedUrlOutput { - s.EmbedUrl = &v +// SetRowsDropped sets the RowsDropped field's value. +func (s *RowInfo) SetRowsDropped(v int64) *RowInfo { + s.RowsDropped = &v return s } -// SetRequestId sets the RequestId field's value. -func (s *GetSessionEmbedUrlOutput) SetRequestId(v string) *GetSessionEmbedUrlOutput { - s.RequestId = &v +// SetRowsIngested sets the RowsIngested field's value. +func (s *RowInfo) SetRowsIngested(v int64) *RowInfo { + s.RowsIngested = &v return s } -// SetStatus sets the Status field's value. -func (s *GetSessionEmbedUrlOutput) SetStatus(v int64) *GetSessionEmbedUrlOutput { - s.Status = &v +// SetTotalRowsInDataset sets the TotalRowsInDataset field's value. +func (s *RowInfo) SetTotalRowsInDataset(v int64) *RowInfo { + s.TotalRowsInDataset = &v return s } -// A group in Amazon QuickSight consists of a set of users. You can use groups -// to make it easier to manage access and security. -type Group struct { +// Information about a dataset that contains permissions for row-level security +// (RLS). The permissions dataset maps fields to users or groups. For more information, +// see Using Row-Level Security (RLS) to Restrict Access to a Dataset (https://docs.aws.amazon.com/quicksight/latest/user/restrict-access-to-a-data-set-using-row-level-security.html) +// in the Amazon QuickSight User Guide. +// +// The option to deny permissions by setting PermissionPolicy to DENY_ACCESS +// is not supported for new RLS datasets. +type RowLevelPermissionDataSet struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) for the group. - Arn *string `type:"string"` + // The Amazon Resource Name (ARN) of the dataset that contains permissions for + // RLS. + // + // Arn is a required field + Arn *string `type:"string" required:"true"` - // The group description. - Description *string `min:"1" type:"string"` + // The user or group rules associated with the dataset that contains permissions + // for RLS. + // + // By default, FormatVersion is VERSION_1. When FormatVersion is VERSION_1, + // UserName and GroupName are required. When FormatVersion is VERSION_2, UserARN + // and GroupARN are required, and Namespace must not exist. + FormatVersion *string `type:"string" enum:"RowLevelPermissionFormatVersion"` - // The name of the group. - GroupName *string `min:"1" type:"string"` + // The namespace associated with the dataset that contains permissions for RLS. + Namespace *string `type:"string"` - // The principal ID of the group. - PrincipalId *string `type:"string"` + // The type of permissions to use when interpreting the permissions for RLS. + // DENY_ACCESS is included for backward compatibility only. + // + // PermissionPolicy is a required field + PermissionPolicy *string `type:"string" required:"true" enum:"RowLevelPermissionPolicy"` + + // The status of the row-level security permission dataset. If enabled, the + // status is ENABLED. If disabled, the status is DISABLED. + Status *string `type:"string" enum:"Status"` } // String returns the string representation. @@ -29661,7 +62538,7 @@ type Group struct { // 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 Group) String() string { +func (s RowLevelPermissionDataSet) String() string { return awsutil.Prettify(s) } @@ -29670,44 +62547,69 @@ func (s Group) String() string { // 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 Group) GoString() string { +func (s RowLevelPermissionDataSet) GoString() string { return s.String() } +// Validate inspects the fields of the type to determine if they are valid. +func (s *RowLevelPermissionDataSet) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RowLevelPermissionDataSet"} + if s.Arn == nil { + invalidParams.Add(request.NewErrParamRequired("Arn")) + } + if s.PermissionPolicy == nil { + invalidParams.Add(request.NewErrParamRequired("PermissionPolicy")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + // SetArn sets the Arn field's value. -func (s *Group) SetArn(v string) *Group { +func (s *RowLevelPermissionDataSet) SetArn(v string) *RowLevelPermissionDataSet { s.Arn = &v return s } -// SetDescription sets the Description field's value. -func (s *Group) SetDescription(v string) *Group { - s.Description = &v +// SetFormatVersion sets the FormatVersion field's value. +func (s *RowLevelPermissionDataSet) SetFormatVersion(v string) *RowLevelPermissionDataSet { + s.FormatVersion = &v return s } -// SetGroupName sets the GroupName field's value. -func (s *Group) SetGroupName(v string) *Group { - s.GroupName = &v +// SetNamespace sets the Namespace field's value. +func (s *RowLevelPermissionDataSet) SetNamespace(v string) *RowLevelPermissionDataSet { + s.Namespace = &v return s } -// SetPrincipalId sets the PrincipalId field's value. -func (s *Group) SetPrincipalId(v string) *Group { - s.PrincipalId = &v +// SetPermissionPolicy sets the PermissionPolicy field's value. +func (s *RowLevelPermissionDataSet) SetPermissionPolicy(v string) *RowLevelPermissionDataSet { + s.PermissionPolicy = &v return s } -// A member of an Amazon QuickSight group. Currently, group members must be -// users. Groups can't be members of another group. . -type GroupMember struct { +// SetStatus sets the Status field's value. +func (s *RowLevelPermissionDataSet) SetStatus(v string) *RowLevelPermissionDataSet { + s.Status = &v + return s +} + +// The configuration of tags on a dataset to set row-level security. +type RowLevelPermissionTagConfiguration struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) for the group member (user). - Arn *string `type:"string"` + // The status of row-level security tags. If enabled, the status is ENABLED. + // If disabled, the status is DISABLED. + Status *string `type:"string" enum:"Status"` - // The name of the group member (user). - MemberName *string `min:"1" type:"string"` + // A set of rules associated with row-level security, such as the tag names + // and columns that they are assigned to. + // + // TagRules is a required field + TagRules []*RowLevelPermissionTagRule `min:"1" type:"list" required:"true"` } // String returns the string representation. @@ -29715,52 +62617,83 @@ type GroupMember struct { // 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 GroupMember) String() string { +func (s RowLevelPermissionTagConfiguration) 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 GroupMember) GoString() string { - return s.String() +// 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 RowLevelPermissionTagConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *RowLevelPermissionTagConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RowLevelPermissionTagConfiguration"} + if s.TagRules == nil { + invalidParams.Add(request.NewErrParamRequired("TagRules")) + } + if s.TagRules != nil && len(s.TagRules) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TagRules", 1)) + } + if s.TagRules != nil { + for i, v := range s.TagRules { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "TagRules", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetArn sets the Arn field's value. -func (s *GroupMember) SetArn(v string) *GroupMember { - s.Arn = &v +// SetStatus sets the Status field's value. +func (s *RowLevelPermissionTagConfiguration) SetStatus(v string) *RowLevelPermissionTagConfiguration { + s.Status = &v return s } -// SetMemberName sets the MemberName field's value. -func (s *GroupMember) SetMemberName(v string) *GroupMember { - s.MemberName = &v +// SetTagRules sets the TagRules field's value. +func (s *RowLevelPermissionTagConfiguration) SetTagRules(v []*RowLevelPermissionTagRule) *RowLevelPermissionTagConfiguration { + s.TagRules = v return s } -// A GroupSearchFilter object that you want to apply to your search. -type GroupSearchFilter struct { +// A set of rules associated with a tag. +type RowLevelPermissionTagRule struct { _ struct{} `type:"structure"` - // The name of the value that you want to use as a filter, for example "Name": - // "GROUP_NAME". Currently, the only supported name is GROUP_NAME. + // The column name that a tag key is assigned to. // - // Name is a required field - Name *string `type:"string" required:"true" enum:"GroupFilterAttribute"` + // ColumnName is a required field + ColumnName *string `type:"string" required:"true"` - // The comparison operator that you want to use as a filter, for example "Operator": - // "StartsWith". Currently, the only supported operator is StartsWith. + // A string that you want to use to filter by all the values in a column in + // the dataset and don’t want to list the values one by one. For example, + // you can use an asterisk as your match all value. // - // Operator is a required field - Operator *string `type:"string" required:"true" enum:"GroupFilterOperator"` + // MatchAllValue is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by RowLevelPermissionTagRule's + // String and GoString methods. + MatchAllValue *string `min:"1" type:"string" sensitive:"true"` - // The value of the named item, in this case GROUP_NAME, that you want to use - // as a filter. + // The unique key for a tag. // - // Value is a required field - Value *string `type:"string" required:"true"` + // TagKey is a required field + TagKey *string `min:"1" type:"string" required:"true"` + + // A string that you want to use to delimit the values when you pass the values + // at run time. For example, you can delimit the values with a comma. + TagMultiValueDelimiter *string `type:"string"` } // String returns the string representation. @@ -29768,7 +62701,7 @@ type GroupSearchFilter struct { // 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 GroupSearchFilter) String() string { +func (s RowLevelPermissionTagRule) String() string { return awsutil.Prettify(s) } @@ -29777,21 +62710,24 @@ func (s GroupSearchFilter) String() string { // 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 GroupSearchFilter) GoString() string { +func (s RowLevelPermissionTagRule) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GroupSearchFilter) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GroupSearchFilter"} - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) +func (s *RowLevelPermissionTagRule) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RowLevelPermissionTagRule"} + if s.ColumnName == nil { + invalidParams.Add(request.NewErrParamRequired("ColumnName")) } - if s.Operator == nil { - invalidParams.Add(request.NewErrParamRequired("Operator")) + if s.MatchAllValue != nil && len(*s.MatchAllValue) < 1 { + invalidParams.Add(request.NewErrParamMinLen("MatchAllValue", 1)) } - if s.Value == nil { - invalidParams.Add(request.NewErrParamRequired("Value")) + if s.TagKey == nil { + invalidParams.Add(request.NewErrParamRequired("TagKey")) + } + if s.TagKey != nil && len(*s.TagKey) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TagKey", 1)) } if invalidParams.Len() > 0 { @@ -29800,31 +62736,39 @@ func (s *GroupSearchFilter) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *GroupSearchFilter) SetName(v string) *GroupSearchFilter { - s.Name = &v +// SetColumnName sets the ColumnName field's value. +func (s *RowLevelPermissionTagRule) SetColumnName(v string) *RowLevelPermissionTagRule { + s.ColumnName = &v return s } -// SetOperator sets the Operator field's value. -func (s *GroupSearchFilter) SetOperator(v string) *GroupSearchFilter { - s.Operator = &v +// SetMatchAllValue sets the MatchAllValue field's value. +func (s *RowLevelPermissionTagRule) SetMatchAllValue(v string) *RowLevelPermissionTagRule { + s.MatchAllValue = &v return s } -// SetValue sets the Value field's value. -func (s *GroupSearchFilter) SetValue(v string) *GroupSearchFilter { - s.Value = &v +// SetTagKey sets the TagKey field's value. +func (s *RowLevelPermissionTagRule) SetTagKey(v string) *RowLevelPermissionTagRule { + s.TagKey = &v return s } -// The display options for gutter spacing between tiles on a sheet. -type GutterStyle struct { +// SetTagMultiValueDelimiter sets the TagMultiValueDelimiter field's value. +func (s *RowLevelPermissionTagRule) SetTagMultiValueDelimiter(v string) *RowLevelPermissionTagRule { + s.TagMultiValueDelimiter = &v + return s +} + +// The parameters for S3. +type S3Parameters struct { _ struct{} `type:"structure"` - // This Boolean value controls whether to display a gutter space between sheet - // tiles. - Show *bool `type:"boolean"` + // Location of the Amazon S3 manifest file. This is NULL if the manifest file + // was uploaded into Amazon QuickSight. + // + // ManifestFileLocation is a required field + ManifestFileLocation *ManifestFileLocation `type:"structure" required:"true"` } // String returns the string representation. @@ -29832,7 +62776,7 @@ type GutterStyle struct { // 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 GutterStyle) String() string { +func (s S3Parameters) String() string { return awsutil.Prettify(s) } @@ -29841,37 +62785,53 @@ func (s GutterStyle) String() string { // 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 GutterStyle) GoString() string { +func (s S3Parameters) GoString() string { return s.String() } -// SetShow sets the Show field's value. -func (s *GutterStyle) SetShow(v bool) *GutterStyle { - s.Show = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *S3Parameters) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "S3Parameters"} + if s.ManifestFileLocation == nil { + invalidParams.Add(request.NewErrParamRequired("ManifestFileLocation")) + } + if s.ManifestFileLocation != nil { + if err := s.ManifestFileLocation.Validate(); err != nil { + invalidParams.AddNested("ManifestFileLocation", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetManifestFileLocation sets the ManifestFileLocation field's value. +func (s *S3Parameters) SetManifestFileLocation(v *ManifestFileLocation) *S3Parameters { + s.ManifestFileLocation = v return s } -// An Identity and Access Management (IAM) policy assignment. -type IAMPolicyAssignment struct { +// A physical table type for an S3 data source. +type S3Source struct { _ struct{} `type:"structure"` - // Assignment ID. - AssignmentId *string `type:"string"` - - // Assignment name. - AssignmentName *string `min:"1" type:"string"` - - // Assignment status. - AssignmentStatus *string `type:"string" enum:"AssignmentStatus"` - - // The Amazon Web Services account ID. - AwsAccountId *string `min:"12" type:"string"` + // The Amazon Resource Name (ARN) for the data source. + // + // DataSourceArn is a required field + DataSourceArn *string `type:"string" required:"true"` - // Identities. - Identities map[string][]*string `type:"map"` + // A physical table type for an S3 data source. + // + // For files that aren't JSON, only STRING data types are supported in input + // columns. + // + // InputColumns is a required field + InputColumns []*InputColumn `min:"1" type:"list" required:"true"` - // The Amazon Resource Name (ARN) for the IAM policy. - PolicyArn *string `type:"string"` + // Information about the format for the S3 source file or files. + UploadSettings *UploadSettings `type:"structure"` } // String returns the string representation. @@ -29879,7 +62839,7 @@ type IAMPolicyAssignment struct { // 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 IAMPolicyAssignment) String() string { +func (s S3Source) String() string { return awsutil.Prettify(s) } @@ -29888,55 +62848,80 @@ func (s IAMPolicyAssignment) String() string { // 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 IAMPolicyAssignment) GoString() string { +func (s S3Source) GoString() string { return s.String() } -// SetAssignmentId sets the AssignmentId field's value. -func (s *IAMPolicyAssignment) SetAssignmentId(v string) *IAMPolicyAssignment { - s.AssignmentId = &v - return s -} - -// SetAssignmentName sets the AssignmentName field's value. -func (s *IAMPolicyAssignment) SetAssignmentName(v string) *IAMPolicyAssignment { - s.AssignmentName = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *S3Source) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "S3Source"} + if s.DataSourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("DataSourceArn")) + } + if s.InputColumns == nil { + invalidParams.Add(request.NewErrParamRequired("InputColumns")) + } + if s.InputColumns != nil && len(s.InputColumns) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InputColumns", 1)) + } + if s.InputColumns != nil { + for i, v := range s.InputColumns { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputColumns", i), err.(request.ErrInvalidParams)) + } + } + } + if s.UploadSettings != nil { + if err := s.UploadSettings.Validate(); err != nil { + invalidParams.AddNested("UploadSettings", err.(request.ErrInvalidParams)) + } + } -// SetAssignmentStatus sets the AssignmentStatus field's value. -func (s *IAMPolicyAssignment) SetAssignmentStatus(v string) *IAMPolicyAssignment { - s.AssignmentStatus = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *IAMPolicyAssignment) SetAwsAccountId(v string) *IAMPolicyAssignment { - s.AwsAccountId = &v +// SetDataSourceArn sets the DataSourceArn field's value. +func (s *S3Source) SetDataSourceArn(v string) *S3Source { + s.DataSourceArn = &v return s } -// SetIdentities sets the Identities field's value. -func (s *IAMPolicyAssignment) SetIdentities(v map[string][]*string) *IAMPolicyAssignment { - s.Identities = v +// SetInputColumns sets the InputColumns field's value. +func (s *S3Source) SetInputColumns(v []*InputColumn) *S3Source { + s.InputColumns = v return s } -// SetPolicyArn sets the PolicyArn field's value. -func (s *IAMPolicyAssignment) SetPolicyArn(v string) *IAMPolicyAssignment { - s.PolicyArn = &v +// SetUploadSettings sets the UploadSettings field's value. +func (s *S3Source) SetUploadSettings(v *UploadSettings) *S3Source { + s.UploadSettings = v return s } -// IAM policy assignment summary. -type IAMPolicyAssignmentSummary struct { +// The configuration of the same-sheet target visuals that you want to be filtered. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type SameSheetTargetVisualConfiguration struct { _ struct{} `type:"structure"` - // Assignment name. - AssignmentName *string `min:"1" type:"string"` + // The options that choose the target visual in the same sheet. + // + // Valid values are defined as follows: + // + // * ALL_VISUALS: Applies the filter operation to all visuals in the same + // sheet. + TargetVisualOptions *string `type:"string" enum:"TargetVisualOptions"` - // Assignment status. - AssignmentStatus *string `type:"string" enum:"AssignmentStatus"` + // A list of the target visual IDs that are located in the same sheet of the + // analysis. + TargetVisuals []*string `min:"1" type:"list"` } // String returns the string representation. @@ -29944,7 +62929,7 @@ type IAMPolicyAssignmentSummary struct { // 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 IAMPolicyAssignmentSummary) String() string { +func (s SameSheetTargetVisualConfiguration) String() string { return awsutil.Prettify(s) } @@ -29953,32 +62938,47 @@ func (s IAMPolicyAssignmentSummary) String() string { // 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 IAMPolicyAssignmentSummary) GoString() string { +func (s SameSheetTargetVisualConfiguration) GoString() string { return s.String() } -// SetAssignmentName sets the AssignmentName field's value. -func (s *IAMPolicyAssignmentSummary) SetAssignmentName(v string) *IAMPolicyAssignmentSummary { - s.AssignmentName = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *SameSheetTargetVisualConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SameSheetTargetVisualConfiguration"} + if s.TargetVisuals != nil && len(s.TargetVisuals) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TargetVisuals", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetTargetVisualOptions sets the TargetVisualOptions field's value. +func (s *SameSheetTargetVisualConfiguration) SetTargetVisualOptions(v string) *SameSheetTargetVisualConfiguration { + s.TargetVisualOptions = &v return s } -// SetAssignmentStatus sets the AssignmentStatus field's value. -func (s *IAMPolicyAssignmentSummary) SetAssignmentStatus(v string) *IAMPolicyAssignmentSummary { - s.AssignmentStatus = &v +// SetTargetVisuals sets the TargetVisuals field's value. +func (s *SameSheetTargetVisualConfiguration) SetTargetVisuals(v []*string) *SameSheetTargetVisualConfiguration { + s.TargetVisuals = v return s } -// The identity type specified isn't supported. Supported identity types include -// IAM and QUICKSIGHT. -type IdentityTypeNotSupportedException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +// The field well configuration of a sankey diagram. +type SankeyDiagramAggregatedFieldWells struct { + _ struct{} `type:"structure"` - Message_ *string `locationName:"Message" type:"string"` + // The destination field wells of a sankey diagram. + Destination []*DimensionField `type:"list"` - // The Amazon Web Services request ID for this request. - RequestId *string `type:"string"` + // The source field wells of a sankey diagram. + Source []*DimensionField `type:"list"` + + // The weight field wells of a sankey diagram. + Weight []*MeasureField `type:"list"` } // String returns the string representation. @@ -29986,7 +62986,7 @@ type IdentityTypeNotSupportedException struct { // 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 IdentityTypeNotSupportedException) String() string { +func (s SankeyDiagramAggregatedFieldWells) String() string { return awsutil.Prettify(s) } @@ -29995,90 +62995,80 @@ func (s IdentityTypeNotSupportedException) String() string { // 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 IdentityTypeNotSupportedException) GoString() string { +func (s SankeyDiagramAggregatedFieldWells) GoString() string { return s.String() } -func newErrorIdentityTypeNotSupportedException(v protocol.ResponseMetadata) error { - return &IdentityTypeNotSupportedException{ - RespMetadata: v, +// Validate inspects the fields of the type to determine if they are valid. +func (s *SankeyDiagramAggregatedFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SankeyDiagramAggregatedFieldWells"} + if s.Destination != nil { + for i, v := range s.Destination { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Destination", i), err.(request.ErrInvalidParams)) + } + } } -} - -// Code returns the exception type name. -func (s *IdentityTypeNotSupportedException) Code() string { - return "IdentityTypeNotSupportedException" -} - -// Message returns the exception's message. -func (s *IdentityTypeNotSupportedException) Message() string { - if s.Message_ != nil { - return *s.Message_ + if s.Source != nil { + for i, v := range s.Source { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Source", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Weight != nil { + for i, v := range s.Weight { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Weight", i), err.(request.ErrInvalidParams)) + } + } } - return "" -} -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *IdentityTypeNotSupportedException) OrigErr() error { + if invalidParams.Len() > 0 { + return invalidParams + } return nil } -func (s *IdentityTypeNotSupportedException) Error() string { - return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +// SetDestination sets the Destination field's value. +func (s *SankeyDiagramAggregatedFieldWells) SetDestination(v []*DimensionField) *SankeyDiagramAggregatedFieldWells { + s.Destination = v + return s } -// Status code returns the HTTP status code for the request's response error. -func (s *IdentityTypeNotSupportedException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetSource sets the Source field's value. +func (s *SankeyDiagramAggregatedFieldWells) SetSource(v []*DimensionField) *SankeyDiagramAggregatedFieldWells { + s.Source = v + return s } -// RequestID returns the service's response RequestID for request. -func (s *IdentityTypeNotSupportedException) RequestID() string { - return s.RespMetadata.RequestID +// SetWeight sets the Weight field's value. +func (s *SankeyDiagramAggregatedFieldWells) SetWeight(v []*MeasureField) *SankeyDiagramAggregatedFieldWells { + s.Weight = v + return s } -// Information about the SPICE ingestion for a dataset. -type Ingestion struct { +// The configuration of a sankey diagram. +type SankeyDiagramChartConfiguration struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the resource. - // - // Arn is a required field - Arn *string `type:"string" required:"true"` - - // The time that this ingestion started. - // - // CreatedTime is a required field - CreatedTime *time.Time `type:"timestamp" required:"true"` - - // Error information for this ingestion. - ErrorInfo *ErrorInfo `type:"structure"` - - // Ingestion ID. - IngestionId *string `min:"1" type:"string"` - - // The size of the data ingested, in bytes. - IngestionSizeInBytes *int64 `type:"long"` - - // Ingestion status. - // - // IngestionStatus is a required field - IngestionStatus *string `type:"string" required:"true" enum:"IngestionStatus"` - - // The time that this ingestion took, measured in seconds. - IngestionTimeInSeconds *int64 `type:"long"` - - // Information about a queued dataset SPICE ingestion. - QueueInfo *QueueInfo `type:"structure"` - - // Event source for this ingestion. - RequestSource *string `type:"string" enum:"IngestionRequestSource"` + // The data label configuration of a sankey diagram. + DataLabels *DataLabelOptions `type:"structure"` - // Type of this ingestion. - RequestType *string `type:"string" enum:"IngestionRequestType"` + // The field well configuration of a sankey diagram. + FieldWells *SankeyDiagramFieldWells `type:"structure"` - // Information about rows for a data set SPICE ingestion. - RowInfo *RowInfo `type:"structure"` + // The sort configuration of a sankey diagram. + SortConfiguration *SankeyDiagramSortConfiguration `type:"structure"` } // String returns the string representation. @@ -30086,7 +63076,7 @@ type Ingestion struct { // 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 Ingestion) String() string { +func (s SankeyDiagramChartConfiguration) String() string { return awsutil.Prettify(s) } @@ -30095,89 +63085,59 @@ func (s Ingestion) String() string { // 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 Ingestion) GoString() string { +func (s SankeyDiagramChartConfiguration) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Ingestion) SetArn(v string) *Ingestion { - s.Arn = &v - return s -} - -// SetCreatedTime sets the CreatedTime field's value. -func (s *Ingestion) SetCreatedTime(v time.Time) *Ingestion { - s.CreatedTime = &v - return s -} - -// SetErrorInfo sets the ErrorInfo field's value. -func (s *Ingestion) SetErrorInfo(v *ErrorInfo) *Ingestion { - s.ErrorInfo = v - return s -} - -// SetIngestionId sets the IngestionId field's value. -func (s *Ingestion) SetIngestionId(v string) *Ingestion { - s.IngestionId = &v - return s -} - -// SetIngestionSizeInBytes sets the IngestionSizeInBytes field's value. -func (s *Ingestion) SetIngestionSizeInBytes(v int64) *Ingestion { - s.IngestionSizeInBytes = &v - return s -} - -// SetIngestionStatus sets the IngestionStatus field's value. -func (s *Ingestion) SetIngestionStatus(v string) *Ingestion { - s.IngestionStatus = &v - return s -} - -// SetIngestionTimeInSeconds sets the IngestionTimeInSeconds field's value. -func (s *Ingestion) SetIngestionTimeInSeconds(v int64) *Ingestion { - s.IngestionTimeInSeconds = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *SankeyDiagramChartConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SankeyDiagramChartConfiguration"} + if s.DataLabels != nil { + if err := s.DataLabels.Validate(); err != nil { + invalidParams.AddNested("DataLabels", err.(request.ErrInvalidParams)) + } + } + if s.FieldWells != nil { + if err := s.FieldWells.Validate(); err != nil { + invalidParams.AddNested("FieldWells", err.(request.ErrInvalidParams)) + } + } + if s.SortConfiguration != nil { + if err := s.SortConfiguration.Validate(); err != nil { + invalidParams.AddNested("SortConfiguration", err.(request.ErrInvalidParams)) + } + } -// SetQueueInfo sets the QueueInfo field's value. -func (s *Ingestion) SetQueueInfo(v *QueueInfo) *Ingestion { - s.QueueInfo = v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetRequestSource sets the RequestSource field's value. -func (s *Ingestion) SetRequestSource(v string) *Ingestion { - s.RequestSource = &v +// SetDataLabels sets the DataLabels field's value. +func (s *SankeyDiagramChartConfiguration) SetDataLabels(v *DataLabelOptions) *SankeyDiagramChartConfiguration { + s.DataLabels = v return s } -// SetRequestType sets the RequestType field's value. -func (s *Ingestion) SetRequestType(v string) *Ingestion { - s.RequestType = &v +// SetFieldWells sets the FieldWells field's value. +func (s *SankeyDiagramChartConfiguration) SetFieldWells(v *SankeyDiagramFieldWells) *SankeyDiagramChartConfiguration { + s.FieldWells = v return s } -// SetRowInfo sets the RowInfo field's value. -func (s *Ingestion) SetRowInfo(v *RowInfo) *Ingestion { - s.RowInfo = v +// SetSortConfiguration sets the SortConfiguration field's value. +func (s *SankeyDiagramChartConfiguration) SetSortConfiguration(v *SankeyDiagramSortConfiguration) *SankeyDiagramChartConfiguration { + s.SortConfiguration = v return s } -// Metadata for a column that is used as the input of a transform operation. -type InputColumn struct { +// The field well configuration of a sankey diagram. +type SankeyDiagramFieldWells struct { _ struct{} `type:"structure"` - // The name of this column in the underlying data source. - // - // Name is a required field - Name *string `min:"1" type:"string" required:"true"` - - // The data type of the column. - // - // Type is a required field - Type *string `type:"string" required:"true" enum:"InputColumnDataType"` + // The field well configuration of a sankey diagram. + SankeyDiagramAggregatedFieldWells *SankeyDiagramAggregatedFieldWells `type:"structure"` } // String returns the string representation. @@ -30185,7 +63145,7 @@ type InputColumn struct { // 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 InputColumn) String() string { +func (s SankeyDiagramFieldWells) String() string { return awsutil.Prettify(s) } @@ -30194,21 +63154,17 @@ func (s InputColumn) String() string { // 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 InputColumn) GoString() string { +func (s SankeyDiagramFieldWells) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *InputColumn) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "InputColumn"} - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) - } - if s.Name != nil && len(*s.Name) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Name", 1)) - } - if s.Type == nil { - invalidParams.Add(request.NewErrParamRequired("Type")) +func (s *SankeyDiagramFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SankeyDiagramFieldWells"} + if s.SankeyDiagramAggregatedFieldWells != nil { + if err := s.SankeyDiagramAggregatedFieldWells.Validate(); err != nil { + invalidParams.AddNested("SankeyDiagramAggregatedFieldWells", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -30217,31 +63173,25 @@ func (s *InputColumn) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *InputColumn) SetName(v string) *InputColumn { - s.Name = &v - return s -} - -// SetType sets the Type field's value. -func (s *InputColumn) SetType(v string) *InputColumn { - s.Type = &v +// SetSankeyDiagramAggregatedFieldWells sets the SankeyDiagramAggregatedFieldWells field's value. +func (s *SankeyDiagramFieldWells) SetSankeyDiagramAggregatedFieldWells(v *SankeyDiagramAggregatedFieldWells) *SankeyDiagramFieldWells { + s.SankeyDiagramAggregatedFieldWells = v return s } -// An integer parameter. -type IntegerParameter struct { +// The sort configuration of a sankey diagram. +type SankeyDiagramSortConfiguration struct { _ struct{} `type:"structure"` - // The name of the integer parameter. - // - // Name is a required field - Name *string `type:"string" required:"true"` + // The limit on the number of destination nodes that are displayed in a sankey + // diagram. + DestinationItemsLimit *ItemsLimitConfiguration `type:"structure"` - // The values for the integer parameter. - // - // Values is a required field - Values []*int64 `type:"list" required:"true"` + // The limit on the number of source nodes that are displayed in a sankey diagram. + SourceItemsLimit *ItemsLimitConfiguration `type:"structure"` + + // The sort configuration of the weight fields. + WeightSort []*FieldSortOptions `type:"list"` } // String returns the string representation. @@ -30249,7 +63199,7 @@ type IntegerParameter struct { // 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 IntegerParameter) String() string { +func (s SankeyDiagramSortConfiguration) String() string { return awsutil.Prettify(s) } @@ -30258,18 +63208,22 @@ func (s IntegerParameter) String() string { // 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 IntegerParameter) GoString() string { +func (s SankeyDiagramSortConfiguration) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *IntegerParameter) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "IntegerParameter"} - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) - } - if s.Values == nil { - invalidParams.Add(request.NewErrParamRequired("Values")) +func (s *SankeyDiagramSortConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SankeyDiagramSortConfiguration"} + if s.WeightSort != nil { + for i, v := range s.WeightSort { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "WeightSort", i), err.(request.ErrInvalidParams)) + } + } } if invalidParams.Len() > 0 { @@ -30278,27 +63232,49 @@ func (s *IntegerParameter) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *IntegerParameter) SetName(v string) *IntegerParameter { - s.Name = &v +// SetDestinationItemsLimit sets the DestinationItemsLimit field's value. +func (s *SankeyDiagramSortConfiguration) SetDestinationItemsLimit(v *ItemsLimitConfiguration) *SankeyDiagramSortConfiguration { + s.DestinationItemsLimit = v return s } -// SetValues sets the Values field's value. -func (s *IntegerParameter) SetValues(v []*int64) *IntegerParameter { - s.Values = v +// SetSourceItemsLimit sets the SourceItemsLimit field's value. +func (s *SankeyDiagramSortConfiguration) SetSourceItemsLimit(v *ItemsLimitConfiguration) *SankeyDiagramSortConfiguration { + s.SourceItemsLimit = v + return s +} + +// SetWeightSort sets the WeightSort field's value. +func (s *SankeyDiagramSortConfiguration) SetWeightSort(v []*FieldSortOptions) *SankeyDiagramSortConfiguration { + s.WeightSort = v return s } -// An internal failure occurred. -type InternalFailureException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +// A sankey diagram. +// +// For more information, see Using Sankey diagrams (https://docs.aws.amazon.com/quicksight/latest/user/sankey-diagram.html) +// in the Amazon QuickSight User Guide. +type SankeyDiagramVisual struct { + _ struct{} `type:"structure"` - Message_ *string `locationName:"Message" type:"string"` + // The list of custom actions that are configured for a visual. + Actions []*VisualCustomAction `type:"list"` - // The Amazon Web Services request ID for this request. - RequestId *string `type:"string"` + // The configuration of a sankey diagram. + ChartConfiguration *SankeyDiagramChartConfiguration `type:"structure"` + + // The subtitle that is displayed on the visual. + Subtitle *VisualSubtitleLabelOptions `type:"structure"` + + // The title that is displayed on the visual. + Title *VisualTitleLabelOptions `type:"structure"` + + // The unique identifier of a visual. This identifier must be unique within + // the context of a dashboard, template, or analysis. Two dashboards, analyses, + // or templates can have visuals with the same identifiers. + // + // VisualId is a required field + VisualId *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -30306,7 +63282,7 @@ type InternalFailureException struct { // 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 InternalFailureException) String() string { +func (s SankeyDiagramVisual) String() string { return awsutil.Prettify(s) } @@ -30315,57 +63291,100 @@ func (s InternalFailureException) String() string { // 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 InternalFailureException) GoString() string { +func (s SankeyDiagramVisual) GoString() string { return s.String() } -func newErrorInternalFailureException(v protocol.ResponseMetadata) error { - return &InternalFailureException{ - RespMetadata: v, +// Validate inspects the fields of the type to determine if they are valid. +func (s *SankeyDiagramVisual) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SankeyDiagramVisual"} + if s.VisualId == nil { + invalidParams.Add(request.NewErrParamRequired("VisualId")) + } + if s.VisualId != nil && len(*s.VisualId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("VisualId", 1)) + } + if s.Actions != nil { + for i, v := range s.Actions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Actions", i), err.(request.ErrInvalidParams)) + } + } + } + if s.ChartConfiguration != nil { + if err := s.ChartConfiguration.Validate(); err != nil { + invalidParams.AddNested("ChartConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.Subtitle != nil { + if err := s.Subtitle.Validate(); err != nil { + invalidParams.AddNested("Subtitle", err.(request.ErrInvalidParams)) + } + } + if s.Title != nil { + if err := s.Title.Validate(); err != nil { + invalidParams.AddNested("Title", err.(request.ErrInvalidParams)) + } } -} -// Code returns the exception type name. -func (s *InternalFailureException) Code() string { - return "InternalFailureException" + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// Message returns the exception's message. -func (s *InternalFailureException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" +// SetActions sets the Actions field's value. +func (s *SankeyDiagramVisual) SetActions(v []*VisualCustomAction) *SankeyDiagramVisual { + s.Actions = v + return s } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *InternalFailureException) OrigErr() error { - return nil +// SetChartConfiguration sets the ChartConfiguration field's value. +func (s *SankeyDiagramVisual) SetChartConfiguration(v *SankeyDiagramChartConfiguration) *SankeyDiagramVisual { + s.ChartConfiguration = v + return s } -func (s *InternalFailureException) Error() string { - return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +// SetSubtitle sets the Subtitle field's value. +func (s *SankeyDiagramVisual) SetSubtitle(v *VisualSubtitleLabelOptions) *SankeyDiagramVisual { + s.Subtitle = v + return s } -// Status code returns the HTTP status code for the request's response error. -func (s *InternalFailureException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetTitle sets the Title field's value. +func (s *SankeyDiagramVisual) SetTitle(v *VisualTitleLabelOptions) *SankeyDiagramVisual { + s.Title = v + return s } -// RequestID returns the service's response RequestID for request. -func (s *InternalFailureException) RequestID() string { - return s.RespMetadata.RequestID +// SetVisualId sets the VisualId field's value. +func (s *SankeyDiagramVisual) SetVisualId(v string) *SankeyDiagramVisual { + s.VisualId = &v + return s } -// The NextToken value isn't valid. -type InvalidNextTokenException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +// The aggregated field well of a scatter plot. +type ScatterPlotCategoricallyAggregatedFieldWells struct { + _ struct{} `type:"structure"` - Message_ *string `locationName:"Message" type:"string"` + // The category field well of a scatter plot. + Category []*DimensionField `type:"list"` - // The Amazon Web Services request ID for this request. - RequestId *string `type:"string"` + // The size field well of a scatter plot. + Size []*MeasureField `type:"list"` + + // The x-axis field well of a scatter plot. + // + // The x-axis is aggregated by category. + XAxis []*MeasureField `type:"list"` + + // The y-axis field well of a scatter plot. + // + // The y-axis is aggregated by category. + YAxis []*MeasureField `type:"list"` } // String returns the string representation. @@ -30373,7 +63392,7 @@ type InvalidNextTokenException struct { // 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 InvalidNextTokenException) String() string { +func (s ScatterPlotCategoricallyAggregatedFieldWells) String() string { return awsutil.Prettify(s) } @@ -30382,57 +63401,118 @@ func (s InvalidNextTokenException) String() string { // 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 InvalidNextTokenException) GoString() string { +func (s ScatterPlotCategoricallyAggregatedFieldWells) GoString() string { return s.String() } -func newErrorInvalidNextTokenException(v protocol.ResponseMetadata) error { - return &InvalidNextTokenException{ - RespMetadata: v, +// Validate inspects the fields of the type to determine if they are valid. +func (s *ScatterPlotCategoricallyAggregatedFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ScatterPlotCategoricallyAggregatedFieldWells"} + if s.Category != nil { + for i, v := range s.Category { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Category", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Size != nil { + for i, v := range s.Size { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Size", i), err.(request.ErrInvalidParams)) + } + } + } + if s.XAxis != nil { + for i, v := range s.XAxis { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "XAxis", i), err.(request.ErrInvalidParams)) + } + } + } + if s.YAxis != nil { + for i, v := range s.YAxis { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "YAxis", i), err.(request.ErrInvalidParams)) + } + } } -} - -// Code returns the exception type name. -func (s *InvalidNextTokenException) Code() string { - return "InvalidNextTokenException" -} -// Message returns the exception's message. -func (s *InvalidNextTokenException) Message() string { - if s.Message_ != nil { - return *s.Message_ + if invalidParams.Len() > 0 { + return invalidParams } - return "" + return nil } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *InvalidNextTokenException) OrigErr() error { - return nil +// SetCategory sets the Category field's value. +func (s *ScatterPlotCategoricallyAggregatedFieldWells) SetCategory(v []*DimensionField) *ScatterPlotCategoricallyAggregatedFieldWells { + s.Category = v + return s } -func (s *InvalidNextTokenException) Error() string { - return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +// SetSize sets the Size field's value. +func (s *ScatterPlotCategoricallyAggregatedFieldWells) SetSize(v []*MeasureField) *ScatterPlotCategoricallyAggregatedFieldWells { + s.Size = v + return s } -// Status code returns the HTTP status code for the request's response error. -func (s *InvalidNextTokenException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetXAxis sets the XAxis field's value. +func (s *ScatterPlotCategoricallyAggregatedFieldWells) SetXAxis(v []*MeasureField) *ScatterPlotCategoricallyAggregatedFieldWells { + s.XAxis = v + return s } -// RequestID returns the service's response RequestID for request. -func (s *InvalidNextTokenException) RequestID() string { - return s.RespMetadata.RequestID +// SetYAxis sets the YAxis field's value. +func (s *ScatterPlotCategoricallyAggregatedFieldWells) SetYAxis(v []*MeasureField) *ScatterPlotCategoricallyAggregatedFieldWells { + s.YAxis = v + return s } -// One or more parameters has a value that isn't valid. -type InvalidParameterValueException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +// The configuration of a scatter plot. +type ScatterPlotConfiguration struct { + _ struct{} `type:"structure"` - Message_ *string `locationName:"Message" type:"string"` + // The options that determine if visual data labels are displayed. + DataLabels *DataLabelOptions `type:"structure"` - // The Amazon Web Services request ID for this request. - RequestId *string `type:"string"` + // The field wells of the visual. + FieldWells *ScatterPlotFieldWells `type:"structure"` + + // The legend display setup of the visual. + Legend *LegendOptions `type:"structure"` + + // The legend display setup of the visual. + Tooltip *TooltipOptions `type:"structure"` + + // The palette (chart color) display setup of the visual. + VisualPalette *VisualPalette `type:"structure"` + + // The label display options (grid line, range, scale, and axis step) of the + // scatter plot's x-axis. + XAxisDisplayOptions *AxisDisplayOptions `type:"structure"` + + // The label options (label text, label visibility, and sort icon visibility) + // of the scatter plot's x-axis. + XAxisLabelOptions *ChartAxisLabelOptions `type:"structure"` + + // The label display options (grid line, range, scale, and axis step) of the + // scatter plot's y-axis. + YAxisDisplayOptions *AxisDisplayOptions `type:"structure"` + + // The label options (label text, label visibility, and sort icon visibility) + // of the scatter plot's y-axis. + YAxisLabelOptions *ChartAxisLabelOptions `type:"structure"` } // String returns the string representation. @@ -30440,7 +63520,7 @@ type InvalidParameterValueException struct { // 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 InvalidParameterValueException) String() string { +func (s ScatterPlotConfiguration) String() string { return awsutil.Prettify(s) } @@ -30449,58 +63529,120 @@ func (s InvalidParameterValueException) String() string { // 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 InvalidParameterValueException) GoString() string { +func (s ScatterPlotConfiguration) GoString() string { return s.String() } -func newErrorInvalidParameterValueException(v protocol.ResponseMetadata) error { - return &InvalidParameterValueException{ - RespMetadata: v, +// Validate inspects the fields of the type to determine if they are valid. +func (s *ScatterPlotConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ScatterPlotConfiguration"} + if s.DataLabels != nil { + if err := s.DataLabels.Validate(); err != nil { + invalidParams.AddNested("DataLabels", err.(request.ErrInvalidParams)) + } + } + if s.FieldWells != nil { + if err := s.FieldWells.Validate(); err != nil { + invalidParams.AddNested("FieldWells", err.(request.ErrInvalidParams)) + } + } + if s.Tooltip != nil { + if err := s.Tooltip.Validate(); err != nil { + invalidParams.AddNested("Tooltip", err.(request.ErrInvalidParams)) + } } + if s.VisualPalette != nil { + if err := s.VisualPalette.Validate(); err != nil { + invalidParams.AddNested("VisualPalette", err.(request.ErrInvalidParams)) + } + } + if s.XAxisLabelOptions != nil { + if err := s.XAxisLabelOptions.Validate(); err != nil { + invalidParams.AddNested("XAxisLabelOptions", err.(request.ErrInvalidParams)) + } + } + if s.YAxisLabelOptions != nil { + if err := s.YAxisLabelOptions.Validate(); err != nil { + invalidParams.AddNested("YAxisLabelOptions", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// Code returns the exception type name. -func (s *InvalidParameterValueException) Code() string { - return "InvalidParameterValueException" +// SetDataLabels sets the DataLabels field's value. +func (s *ScatterPlotConfiguration) SetDataLabels(v *DataLabelOptions) *ScatterPlotConfiguration { + s.DataLabels = v + return s } -// Message returns the exception's message. -func (s *InvalidParameterValueException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" +// SetFieldWells sets the FieldWells field's value. +func (s *ScatterPlotConfiguration) SetFieldWells(v *ScatterPlotFieldWells) *ScatterPlotConfiguration { + s.FieldWells = v + return s } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *InvalidParameterValueException) OrigErr() error { - return nil +// SetLegend sets the Legend field's value. +func (s *ScatterPlotConfiguration) SetLegend(v *LegendOptions) *ScatterPlotConfiguration { + s.Legend = v + return s } -func (s *InvalidParameterValueException) Error() string { - return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +// SetTooltip sets the Tooltip field's value. +func (s *ScatterPlotConfiguration) SetTooltip(v *TooltipOptions) *ScatterPlotConfiguration { + s.Tooltip = v + return s } -// Status code returns the HTTP status code for the request's response error. -func (s *InvalidParameterValueException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetVisualPalette sets the VisualPalette field's value. +func (s *ScatterPlotConfiguration) SetVisualPalette(v *VisualPalette) *ScatterPlotConfiguration { + s.VisualPalette = v + return s } -// RequestID returns the service's response RequestID for request. -func (s *InvalidParameterValueException) RequestID() string { - return s.RespMetadata.RequestID +// SetXAxisDisplayOptions sets the XAxisDisplayOptions field's value. +func (s *ScatterPlotConfiguration) SetXAxisDisplayOptions(v *AxisDisplayOptions) *ScatterPlotConfiguration { + s.XAxisDisplayOptions = v + return s } -// You don't have this feature activated for your account. To fix this issue, -// contact Amazon Web Services support. -type InvalidRequestException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +// SetXAxisLabelOptions sets the XAxisLabelOptions field's value. +func (s *ScatterPlotConfiguration) SetXAxisLabelOptions(v *ChartAxisLabelOptions) *ScatterPlotConfiguration { + s.XAxisLabelOptions = v + return s +} - Message_ *string `locationName:"Message" type:"string"` +// SetYAxisDisplayOptions sets the YAxisDisplayOptions field's value. +func (s *ScatterPlotConfiguration) SetYAxisDisplayOptions(v *AxisDisplayOptions) *ScatterPlotConfiguration { + s.YAxisDisplayOptions = v + return s +} - // The Amazon Web Services request ID for this request. - RequestId *string `type:"string"` +// SetYAxisLabelOptions sets the YAxisLabelOptions field's value. +func (s *ScatterPlotConfiguration) SetYAxisLabelOptions(v *ChartAxisLabelOptions) *ScatterPlotConfiguration { + s.YAxisLabelOptions = v + return s +} + +// The field well configuration of a scatter plot. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type ScatterPlotFieldWells struct { + _ struct{} `type:"structure"` + + // The aggregated field wells of a scatter plot. Scatter plots that have a field + // in the category (group/color) field will have aggregated field wells. The + // x and y-axes of these scatter plots are aggregated by category. + ScatterPlotCategoricallyAggregatedFieldWells *ScatterPlotCategoricallyAggregatedFieldWells `type:"structure"` + + // The unaggregated field wells of a scatter plot. Scatter plots without a category + // field well have unaggregated field wells. The x and y-axes of these scatter + // plots are unaggregated. + ScatterPlotUnaggregatedFieldWells *ScatterPlotUnaggregatedFieldWells `type:"structure"` } // String returns the string representation. @@ -30508,7 +63650,7 @@ type InvalidRequestException struct { // 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 InvalidRequestException) String() string { +func (s ScatterPlotFieldWells) String() string { return awsutil.Prettify(s) } @@ -30517,56 +63659,58 @@ func (s InvalidRequestException) String() string { // 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 InvalidRequestException) GoString() string { +func (s ScatterPlotFieldWells) GoString() string { return s.String() } -func newErrorInvalidRequestException(v protocol.ResponseMetadata) error { - return &InvalidRequestException{ - RespMetadata: v, +// Validate inspects the fields of the type to determine if they are valid. +func (s *ScatterPlotFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ScatterPlotFieldWells"} + if s.ScatterPlotCategoricallyAggregatedFieldWells != nil { + if err := s.ScatterPlotCategoricallyAggregatedFieldWells.Validate(); err != nil { + invalidParams.AddNested("ScatterPlotCategoricallyAggregatedFieldWells", err.(request.ErrInvalidParams)) + } } -} - -// Code returns the exception type name. -func (s *InvalidRequestException) Code() string { - return "InvalidRequestException" -} - -// Message returns the exception's message. -func (s *InvalidRequestException) Message() string { - if s.Message_ != nil { - return *s.Message_ + if s.ScatterPlotUnaggregatedFieldWells != nil { + if err := s.ScatterPlotUnaggregatedFieldWells.Validate(); err != nil { + invalidParams.AddNested("ScatterPlotUnaggregatedFieldWells", err.(request.ErrInvalidParams)) + } } - return "" -} -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *InvalidRequestException) OrigErr() error { + if invalidParams.Len() > 0 { + return invalidParams + } return nil } -func (s *InvalidRequestException) Error() string { - return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) -} - -// Status code returns the HTTP status code for the request's response error. -func (s *InvalidRequestException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetScatterPlotCategoricallyAggregatedFieldWells sets the ScatterPlotCategoricallyAggregatedFieldWells field's value. +func (s *ScatterPlotFieldWells) SetScatterPlotCategoricallyAggregatedFieldWells(v *ScatterPlotCategoricallyAggregatedFieldWells) *ScatterPlotFieldWells { + s.ScatterPlotCategoricallyAggregatedFieldWells = v + return s } -// RequestID returns the service's response RequestID for request. -func (s *InvalidRequestException) RequestID() string { - return s.RespMetadata.RequestID +// SetScatterPlotUnaggregatedFieldWells sets the ScatterPlotUnaggregatedFieldWells field's value. +func (s *ScatterPlotFieldWells) SetScatterPlotUnaggregatedFieldWells(v *ScatterPlotUnaggregatedFieldWells) *ScatterPlotFieldWells { + s.ScatterPlotUnaggregatedFieldWells = v + return s } -// The parameters for Jira. -type JiraParameters struct { +// The unaggregated field wells of a scatter plot. +type ScatterPlotUnaggregatedFieldWells struct { _ struct{} `type:"structure"` - // The base URL of the Jira site. + // The size field well of a scatter plot. + Size []*MeasureField `type:"list"` + + // The x-axis field well of a scatter plot. // - // SiteBaseUrl is a required field - SiteBaseUrl *string `min:"1" type:"string" required:"true"` + // The x-axis is a dimension field and cannot be aggregated. + XAxis []*DimensionField `type:"list"` + + // The y-axis field well of a scatter plot. + // + // The y-axis is a dimension field and cannot be aggregated. + YAxis []*DimensionField `type:"list"` } // String returns the string representation. @@ -30574,7 +63718,7 @@ type JiraParameters struct { // 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 JiraParameters) String() string { +func (s ScatterPlotUnaggregatedFieldWells) String() string { return awsutil.Prettify(s) } @@ -30583,18 +63727,42 @@ func (s JiraParameters) String() string { // 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 JiraParameters) GoString() string { +func (s ScatterPlotUnaggregatedFieldWells) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *JiraParameters) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "JiraParameters"} - if s.SiteBaseUrl == nil { - invalidParams.Add(request.NewErrParamRequired("SiteBaseUrl")) +func (s *ScatterPlotUnaggregatedFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ScatterPlotUnaggregatedFieldWells"} + if s.Size != nil { + for i, v := range s.Size { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Size", i), err.(request.ErrInvalidParams)) + } + } } - if s.SiteBaseUrl != nil && len(*s.SiteBaseUrl) < 1 { - invalidParams.Add(request.NewErrParamMinLen("SiteBaseUrl", 1)) + if s.XAxis != nil { + for i, v := range s.XAxis { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "XAxis", i), err.(request.ErrInvalidParams)) + } + } + } + if s.YAxis != nil { + for i, v := range s.YAxis { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "YAxis", i), err.(request.ErrInvalidParams)) + } + } } if invalidParams.Len() > 0 { @@ -30603,41 +63771,52 @@ func (s *JiraParameters) Validate() error { return nil } -// SetSiteBaseUrl sets the SiteBaseUrl field's value. -func (s *JiraParameters) SetSiteBaseUrl(v string) *JiraParameters { - s.SiteBaseUrl = &v +// SetSize sets the Size field's value. +func (s *ScatterPlotUnaggregatedFieldWells) SetSize(v []*MeasureField) *ScatterPlotUnaggregatedFieldWells { + s.Size = v return s } -// The instructions associated with a join. -type JoinInstruction struct { +// SetXAxis sets the XAxis field's value. +func (s *ScatterPlotUnaggregatedFieldWells) SetXAxis(v []*DimensionField) *ScatterPlotUnaggregatedFieldWells { + s.XAxis = v + return s +} + +// SetYAxis sets the YAxis field's value. +func (s *ScatterPlotUnaggregatedFieldWells) SetYAxis(v []*DimensionField) *ScatterPlotUnaggregatedFieldWells { + s.YAxis = v + return s +} + +// A scatter plot. +// +// For more information, see Using scatter plots (https://docs.aws.amazon.com/quicksight/latest/user/scatter-plot.html) +// in the Amazon QuickSight User Guide. +type ScatterPlotVisual struct { _ struct{} `type:"structure"` - // Join key properties of the left operand. - LeftJoinKeyProperties *JoinKeyProperties `type:"structure"` + // The list of custom actions that are configured for a visual. + Actions []*VisualCustomAction `type:"list"` - // The operand on the left side of a join. - // - // LeftOperand is a required field - LeftOperand *string `min:"1" type:"string" required:"true"` + // The configuration settings of the visual. + ChartConfiguration *ScatterPlotConfiguration `type:"structure"` - // The join instructions provided in the ON clause of a join. - // - // OnClause is a required field - OnClause *string `min:"1" type:"string" required:"true"` + // The column hierarchy that is used during drill-downs and drill-ups. + ColumnHierarchies []*ColumnHierarchy `type:"list"` - // Join key properties of the right operand. - RightJoinKeyProperties *JoinKeyProperties `type:"structure"` + // The subtitle that is displayed on the visual. + Subtitle *VisualSubtitleLabelOptions `type:"structure"` - // The operand on the right side of a join. - // - // RightOperand is a required field - RightOperand *string `min:"1" type:"string" required:"true"` + // The title that is displayed on the visual. + Title *VisualTitleLabelOptions `type:"structure"` - // The type of join that it is. + // The unique identifier of a visual. This identifier must be unique within + // the context of a dashboard, template, or analysis. Two dashboards, analyses, + // or templates can have visuals with the same identifiers. // - // Type is a required field - Type *string `type:"string" required:"true" enum:"JoinType"` + // VisualId is a required field + VisualId *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -30645,7 +63824,7 @@ type JoinInstruction struct { // 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 JoinInstruction) String() string { +func (s ScatterPlotVisual) String() string { return awsutil.Prettify(s) } @@ -30654,33 +63833,53 @@ func (s JoinInstruction) String() string { // 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 JoinInstruction) GoString() string { +func (s ScatterPlotVisual) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *JoinInstruction) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "JoinInstruction"} - if s.LeftOperand == nil { - invalidParams.Add(request.NewErrParamRequired("LeftOperand")) +func (s *ScatterPlotVisual) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ScatterPlotVisual"} + if s.VisualId == nil { + invalidParams.Add(request.NewErrParamRequired("VisualId")) } - if s.LeftOperand != nil && len(*s.LeftOperand) < 1 { - invalidParams.Add(request.NewErrParamMinLen("LeftOperand", 1)) + if s.VisualId != nil && len(*s.VisualId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("VisualId", 1)) } - if s.OnClause == nil { - invalidParams.Add(request.NewErrParamRequired("OnClause")) + if s.Actions != nil { + for i, v := range s.Actions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Actions", i), err.(request.ErrInvalidParams)) + } + } } - if s.OnClause != nil && len(*s.OnClause) < 1 { - invalidParams.Add(request.NewErrParamMinLen("OnClause", 1)) + if s.ChartConfiguration != nil { + if err := s.ChartConfiguration.Validate(); err != nil { + invalidParams.AddNested("ChartConfiguration", err.(request.ErrInvalidParams)) + } } - if s.RightOperand == nil { - invalidParams.Add(request.NewErrParamRequired("RightOperand")) + if s.ColumnHierarchies != nil { + for i, v := range s.ColumnHierarchies { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnHierarchies", i), err.(request.ErrInvalidParams)) + } + } } - if s.RightOperand != nil && len(*s.RightOperand) < 1 { - invalidParams.Add(request.NewErrParamMinLen("RightOperand", 1)) + if s.Subtitle != nil { + if err := s.Subtitle.Validate(); err != nil { + invalidParams.AddNested("Subtitle", err.(request.ErrInvalidParams)) + } } - if s.Type == nil { - invalidParams.Add(request.NewErrParamRequired("Type")) + if s.Title != nil { + if err := s.Title.Validate(); err != nil { + invalidParams.AddNested("Title", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -30689,50 +63888,51 @@ func (s *JoinInstruction) Validate() error { return nil } -// SetLeftJoinKeyProperties sets the LeftJoinKeyProperties field's value. -func (s *JoinInstruction) SetLeftJoinKeyProperties(v *JoinKeyProperties) *JoinInstruction { - s.LeftJoinKeyProperties = v +// SetActions sets the Actions field's value. +func (s *ScatterPlotVisual) SetActions(v []*VisualCustomAction) *ScatterPlotVisual { + s.Actions = v return s } -// SetLeftOperand sets the LeftOperand field's value. -func (s *JoinInstruction) SetLeftOperand(v string) *JoinInstruction { - s.LeftOperand = &v +// SetChartConfiguration sets the ChartConfiguration field's value. +func (s *ScatterPlotVisual) SetChartConfiguration(v *ScatterPlotConfiguration) *ScatterPlotVisual { + s.ChartConfiguration = v return s } -// SetOnClause sets the OnClause field's value. -func (s *JoinInstruction) SetOnClause(v string) *JoinInstruction { - s.OnClause = &v +// SetColumnHierarchies sets the ColumnHierarchies field's value. +func (s *ScatterPlotVisual) SetColumnHierarchies(v []*ColumnHierarchy) *ScatterPlotVisual { + s.ColumnHierarchies = v return s } -// SetRightJoinKeyProperties sets the RightJoinKeyProperties field's value. -func (s *JoinInstruction) SetRightJoinKeyProperties(v *JoinKeyProperties) *JoinInstruction { - s.RightJoinKeyProperties = v +// SetSubtitle sets the Subtitle field's value. +func (s *ScatterPlotVisual) SetSubtitle(v *VisualSubtitleLabelOptions) *ScatterPlotVisual { + s.Subtitle = v return s } -// SetRightOperand sets the RightOperand field's value. -func (s *JoinInstruction) SetRightOperand(v string) *JoinInstruction { - s.RightOperand = &v +// SetTitle sets the Title field's value. +func (s *ScatterPlotVisual) SetTitle(v *VisualTitleLabelOptions) *ScatterPlotVisual { + s.Title = v return s } -// SetType sets the Type field's value. -func (s *JoinInstruction) SetType(v string) *JoinInstruction { - s.Type = &v +// SetVisualId sets the VisualId field's value. +func (s *ScatterPlotVisual) SetVisualId(v string) *ScatterPlotVisual { + s.VisualId = &v return s } -// Properties associated with the columns participating in a join. -type JoinKeyProperties struct { +// The visual display options for a data zoom scroll bar. +type ScrollBarOptions struct { _ struct{} `type:"structure"` - // A value that indicates that a row in a table is uniquely identified by the - // columns in a join key. This is used by Amazon QuickSight to optimize query - // performance. - UniqueKey *bool `type:"boolean"` + // The visibility of the data zoom scroll bar. + Visibility *string `type:"string" enum:"Visibility"` + + // The visibility range for the data zoom scroll bar. + VisibleRange *VisibleRangeOptions `type:"structure"` } // String returns the string representation. @@ -30740,7 +63940,7 @@ type JoinKeyProperties struct { // 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 JoinKeyProperties) String() string { +func (s ScrollBarOptions) String() string { return awsutil.Prettify(s) } @@ -30749,28 +63949,41 @@ func (s JoinKeyProperties) String() string { // 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 JoinKeyProperties) GoString() string { +func (s ScrollBarOptions) GoString() string { return s.String() } -// SetUniqueKey sets the UniqueKey field's value. -func (s *JoinKeyProperties) SetUniqueKey(v bool) *JoinKeyProperties { - s.UniqueKey = &v +// SetVisibility sets the Visibility field's value. +func (s *ScrollBarOptions) SetVisibility(v string) *ScrollBarOptions { + s.Visibility = &v return s } -// A limit is exceeded. -type LimitExceededException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +// SetVisibleRange sets the VisibleRange field's value. +func (s *ScrollBarOptions) SetVisibleRange(v *VisibleRangeOptions) *ScrollBarOptions { + s.VisibleRange = v + return s +} - Message_ *string `locationName:"Message" type:"string"` +type SearchAnalysesInput struct { + _ struct{} `type:"structure"` - // The Amazon Web Services request ID for this request. - RequestId *string `type:"string"` + // The ID of the Amazon Web Services account that contains the analyses that + // you're searching for. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - // Limit exceeded. - ResourceType *string `type:"string" enum:"ExceptionResourceType"` + // The structure for the search filters that you want to apply to your search. + // + // Filters is a required field + Filters []*AnalysisSearchFilter `min:"1" type:"list" required:"true"` + + // The maximum number of results to return. + MaxResults *int64 `min:"1" type:"integer"` + + // A pagination token that can be used in a subsequent request. + NextToken *string `type:"string"` } // String returns the string representation. @@ -30778,7 +63991,7 @@ type LimitExceededException struct { // 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 LimitExceededException) String() string { +func (s SearchAnalysesInput) String() string { return awsutil.Prettify(s) } @@ -30787,54 +64000,73 @@ func (s LimitExceededException) String() string { // 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 LimitExceededException) GoString() string { +func (s SearchAnalysesInput) GoString() string { return s.String() } -func newErrorLimitExceededException(v protocol.ResponseMetadata) error { - return &LimitExceededException{ - RespMetadata: v, +// Validate inspects the fields of the type to determine if they are valid. +func (s *SearchAnalysesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SearchAnalysesInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.Filters == nil { + invalidParams.Add(request.NewErrParamRequired("Filters")) + } + if s.Filters != nil && len(s.Filters) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Filters", 1)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } -} - -// Code returns the exception type name. -func (s *LimitExceededException) Code() string { - return "LimitExceededException" -} -// Message returns the exception's message. -func (s *LimitExceededException) Message() string { - if s.Message_ != nil { - return *s.Message_ + if invalidParams.Len() > 0 { + return invalidParams } - return "" + return nil } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *LimitExceededException) OrigErr() error { - return nil +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *SearchAnalysesInput) SetAwsAccountId(v string) *SearchAnalysesInput { + s.AwsAccountId = &v + return s } -func (s *LimitExceededException) Error() string { - return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +// SetFilters sets the Filters field's value. +func (s *SearchAnalysesInput) SetFilters(v []*AnalysisSearchFilter) *SearchAnalysesInput { + s.Filters = v + return s } -// Status code returns the HTTP status code for the request's response error. -func (s *LimitExceededException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetMaxResults sets the MaxResults field's value. +func (s *SearchAnalysesInput) SetMaxResults(v int64) *SearchAnalysesInput { + s.MaxResults = &v + return s } -// RequestID returns the service's response RequestID for request. -func (s *LimitExceededException) RequestID() string { - return s.RespMetadata.RequestID +// SetNextToken sets the NextToken field's value. +func (s *SearchAnalysesInput) SetNextToken(v string) *SearchAnalysesInput { + s.NextToken = &v + return s } -// A structure that contains the configuration of a shareable link to the dashboard. -type LinkSharingConfiguration struct { - _ struct{} `type:"structure"` +type SearchAnalysesOutput struct { + _ struct{} `type:"structure"` + + // Metadata describing the analyses that you searched for. + AnalysisSummaryList []*AnalysisSummary `type:"list"` + + // A pagination token that can be used in a subsequent request. + NextToken *string `type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` - // A structure that contains the permissions of a shareable link. - Permissions []*ResourcePermission `min:"1" type:"list"` + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` } // String returns the string representation. @@ -30842,7 +64074,7 @@ type LinkSharingConfiguration struct { // 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 LinkSharingConfiguration) String() string { +func (s SearchAnalysesOutput) String() string { return awsutil.Prettify(s) } @@ -30851,29 +64083,56 @@ func (s LinkSharingConfiguration) String() string { // 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 LinkSharingConfiguration) GoString() string { +func (s SearchAnalysesOutput) GoString() string { return s.String() } -// SetPermissions sets the Permissions field's value. -func (s *LinkSharingConfiguration) SetPermissions(v []*ResourcePermission) *LinkSharingConfiguration { - s.Permissions = v +// SetAnalysisSummaryList sets the AnalysisSummaryList field's value. +func (s *SearchAnalysesOutput) SetAnalysisSummaryList(v []*AnalysisSummary) *SearchAnalysesOutput { + s.AnalysisSummaryList = v return s } -type ListAnalysesInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// SetNextToken sets the NextToken field's value. +func (s *SearchAnalysesOutput) SetNextToken(v string) *SearchAnalysesOutput { + s.NextToken = &v + return s +} - // The ID of the Amazon Web Services account that contains the analyses. +// SetRequestId sets the RequestId field's value. +func (s *SearchAnalysesOutput) SetRequestId(v string) *SearchAnalysesOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *SearchAnalysesOutput) SetStatus(v int64) *SearchAnalysesOutput { + s.Status = &v + return s +} + +type SearchDashboardsInput struct { + _ struct{} `type:"structure"` + + // The ID of the Amazon Web Services account that contains the user whose dashboards + // you're searching for. // // AwsAccountId is a required field AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - // The maximum number of results to return. - MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` + // The filters to apply to the search. Currently, you can search only by user + // name, for example, "Filters": [ { "Name": "QUICKSIGHT_USER", "Operator": + // "StringEquals", "Value": "arn:aws:quicksight:us-east-1:1:user/default/UserName1" + // } ] + // + // Filters is a required field + Filters []*DashboardSearchFilter `min:"1" type:"list" required:"true"` - // A pagination token that can be used in a subsequent request. - NextToken *string `location:"querystring" locationName:"next-token" type:"string"` + // The maximum number of results to be returned per request. + MaxResults *int64 `min:"1" type:"integer"` + + // The token for the next set of results, or null if there are no more results. + NextToken *string `type:"string"` } // String returns the string representation. @@ -30881,7 +64140,7 @@ type ListAnalysesInput struct { // 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 ListAnalysesInput) String() string { +func (s SearchDashboardsInput) String() string { return awsutil.Prettify(s) } @@ -30890,22 +64149,38 @@ func (s ListAnalysesInput) String() string { // 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 ListAnalysesInput) GoString() string { +func (s SearchDashboardsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListAnalysesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListAnalysesInput"} +func (s *SearchDashboardsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SearchDashboardsInput"} if s.AwsAccountId == nil { invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) } if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) } + if s.Filters == nil { + invalidParams.Add(request.NewErrParamRequired("Filters")) + } + if s.Filters != nil && len(s.Filters) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Filters", 1)) + } if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } + if s.Filters != nil { + for i, v := range s.Filters { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams)) + } + } + } if invalidParams.Len() > 0 { return invalidParams @@ -30914,30 +64189,36 @@ func (s *ListAnalysesInput) Validate() error { } // SetAwsAccountId sets the AwsAccountId field's value. -func (s *ListAnalysesInput) SetAwsAccountId(v string) *ListAnalysesInput { +func (s *SearchDashboardsInput) SetAwsAccountId(v string) *SearchDashboardsInput { s.AwsAccountId = &v return s } +// SetFilters sets the Filters field's value. +func (s *SearchDashboardsInput) SetFilters(v []*DashboardSearchFilter) *SearchDashboardsInput { + s.Filters = v + return s +} + // SetMaxResults sets the MaxResults field's value. -func (s *ListAnalysesInput) SetMaxResults(v int64) *ListAnalysesInput { +func (s *SearchDashboardsInput) SetMaxResults(v int64) *SearchDashboardsInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListAnalysesInput) SetNextToken(v string) *ListAnalysesInput { +func (s *SearchDashboardsInput) SetNextToken(v string) *SearchDashboardsInput { s.NextToken = &v return s } -type ListAnalysesOutput struct { +type SearchDashboardsOutput struct { _ struct{} `type:"structure"` - // Metadata describing each of the analyses that are listed. - AnalysisSummaryList []*AnalysisSummary `type:"list"` + // The list of dashboards owned by the user specified in Filters in your request. + DashboardSummaryList []*DashboardSummary `type:"list"` - // A pagination token that can be used in a subsequent request. + // The token for the next set of results, or null if there are no more results. NextToken *string `type:"string"` // The Amazon Web Services request ID for this operation. @@ -30952,7 +64233,7 @@ type ListAnalysesOutput struct { // 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 ListAnalysesOutput) String() string { +func (s SearchDashboardsOutput) String() string { return awsutil.Prettify(s) } @@ -30961,53 +64242,52 @@ func (s ListAnalysesOutput) String() string { // 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 ListAnalysesOutput) GoString() string { +func (s SearchDashboardsOutput) GoString() string { return s.String() } -// SetAnalysisSummaryList sets the AnalysisSummaryList field's value. -func (s *ListAnalysesOutput) SetAnalysisSummaryList(v []*AnalysisSummary) *ListAnalysesOutput { - s.AnalysisSummaryList = v +// SetDashboardSummaryList sets the DashboardSummaryList field's value. +func (s *SearchDashboardsOutput) SetDashboardSummaryList(v []*DashboardSummary) *SearchDashboardsOutput { + s.DashboardSummaryList = v return s } // SetNextToken sets the NextToken field's value. -func (s *ListAnalysesOutput) SetNextToken(v string) *ListAnalysesOutput { +func (s *SearchDashboardsOutput) SetNextToken(v string) *SearchDashboardsOutput { s.NextToken = &v return s } // SetRequestId sets the RequestId field's value. -func (s *ListAnalysesOutput) SetRequestId(v string) *ListAnalysesOutput { +func (s *SearchDashboardsOutput) SetRequestId(v string) *SearchDashboardsOutput { s.RequestId = &v return s } // SetStatus sets the Status field's value. -func (s *ListAnalysesOutput) SetStatus(v int64) *ListAnalysesOutput { +func (s *SearchDashboardsOutput) SetStatus(v int64) *SearchDashboardsOutput { s.Status = &v return s } -type ListDashboardVersionsInput struct { - _ struct{} `type:"structure" nopayload:"true"` +type SearchDataSetsInput struct { + _ struct{} `type:"structure"` - // The ID of the Amazon Web Services account that contains the dashboard that - // you're listing versions for. + // The Amazon Web Services account ID. // // AwsAccountId is a required field AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - // The ID for the dashboard. + // The filters to apply to the search. // - // DashboardId is a required field - DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"` + // Filters is a required field + Filters []*DataSetSearchFilter `min:"1" type:"list" required:"true"` // The maximum number of results to be returned per request. - MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` + MaxResults *int64 `min:"1" type:"integer"` - // The token for the next set of results, or null if there are no more results. - NextToken *string `location:"querystring" locationName:"next-token" type:"string"` + // A pagination token that can be used in a subsequent request. + NextToken *string `type:"string"` } // String returns the string representation. @@ -31015,7 +64295,7 @@ type ListDashboardVersionsInput struct { // 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 ListDashboardVersionsInput) String() string { +func (s SearchDataSetsInput) String() string { return awsutil.Prettify(s) } @@ -31024,28 +64304,38 @@ func (s ListDashboardVersionsInput) String() string { // 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 ListDashboardVersionsInput) GoString() string { +func (s SearchDataSetsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListDashboardVersionsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListDashboardVersionsInput"} +func (s *SearchDataSetsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SearchDataSetsInput"} if s.AwsAccountId == nil { invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) } if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) } - if s.DashboardId == nil { - invalidParams.Add(request.NewErrParamRequired("DashboardId")) + if s.Filters == nil { + invalidParams.Add(request.NewErrParamRequired("Filters")) } - if s.DashboardId != nil && len(*s.DashboardId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1)) + if s.Filters != nil && len(s.Filters) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Filters", 1)) } if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } + if s.Filters != nil { + for i, v := range s.Filters { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams)) + } + } + } if invalidParams.Len() > 0 { return invalidParams @@ -31054,36 +64344,36 @@ func (s *ListDashboardVersionsInput) Validate() error { } // SetAwsAccountId sets the AwsAccountId field's value. -func (s *ListDashboardVersionsInput) SetAwsAccountId(v string) *ListDashboardVersionsInput { +func (s *SearchDataSetsInput) SetAwsAccountId(v string) *SearchDataSetsInput { s.AwsAccountId = &v return s } -// SetDashboardId sets the DashboardId field's value. -func (s *ListDashboardVersionsInput) SetDashboardId(v string) *ListDashboardVersionsInput { - s.DashboardId = &v +// SetFilters sets the Filters field's value. +func (s *SearchDataSetsInput) SetFilters(v []*DataSetSearchFilter) *SearchDataSetsInput { + s.Filters = v return s } // SetMaxResults sets the MaxResults field's value. -func (s *ListDashboardVersionsInput) SetMaxResults(v int64) *ListDashboardVersionsInput { +func (s *SearchDataSetsInput) SetMaxResults(v int64) *SearchDataSetsInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListDashboardVersionsInput) SetNextToken(v string) *ListDashboardVersionsInput { +func (s *SearchDataSetsInput) SetNextToken(v string) *SearchDataSetsInput { s.NextToken = &v return s } -type ListDashboardVersionsOutput struct { +type SearchDataSetsOutput struct { _ struct{} `type:"structure"` - // A structure that contains information about each version of the dashboard. - DashboardVersionSummaryList []*DashboardVersionSummary `type:"list"` + // A DataSetSummaries object that returns a summary of a dataset. + DataSetSummaries []*DataSetSummary `type:"list"` - // The token for the next set of results, or null if there are no more results. + // A pagination token that can be used in a subsequent request. NextToken *string `type:"string"` // The Amazon Web Services request ID for this operation. @@ -31098,7 +64388,7 @@ type ListDashboardVersionsOutput struct { // 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 ListDashboardVersionsOutput) String() string { +func (s SearchDataSetsOutput) String() string { return awsutil.Prettify(s) } @@ -31107,48 +64397,52 @@ func (s ListDashboardVersionsOutput) String() string { // 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 ListDashboardVersionsOutput) GoString() string { +func (s SearchDataSetsOutput) GoString() string { return s.String() } -// SetDashboardVersionSummaryList sets the DashboardVersionSummaryList field's value. -func (s *ListDashboardVersionsOutput) SetDashboardVersionSummaryList(v []*DashboardVersionSummary) *ListDashboardVersionsOutput { - s.DashboardVersionSummaryList = v +// SetDataSetSummaries sets the DataSetSummaries field's value. +func (s *SearchDataSetsOutput) SetDataSetSummaries(v []*DataSetSummary) *SearchDataSetsOutput { + s.DataSetSummaries = v return s } // SetNextToken sets the NextToken field's value. -func (s *ListDashboardVersionsOutput) SetNextToken(v string) *ListDashboardVersionsOutput { +func (s *SearchDataSetsOutput) SetNextToken(v string) *SearchDataSetsOutput { s.NextToken = &v return s } // SetRequestId sets the RequestId field's value. -func (s *ListDashboardVersionsOutput) SetRequestId(v string) *ListDashboardVersionsOutput { +func (s *SearchDataSetsOutput) SetRequestId(v string) *SearchDataSetsOutput { s.RequestId = &v return s } // SetStatus sets the Status field's value. -func (s *ListDashboardVersionsOutput) SetStatus(v int64) *ListDashboardVersionsOutput { +func (s *SearchDataSetsOutput) SetStatus(v int64) *SearchDataSetsOutput { s.Status = &v return s } -type ListDashboardsInput struct { - _ struct{} `type:"structure" nopayload:"true"` +type SearchDataSourcesInput struct { + _ struct{} `type:"structure"` - // The ID of the Amazon Web Services account that contains the dashboards that - // you're listing. + // The Amazon Web Services account ID. // // AwsAccountId is a required field AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // The filters to apply to the search. + // + // Filters is a required field + Filters []*DataSourceSearchFilter `min:"1" type:"list" required:"true"` + // The maximum number of results to be returned per request. - MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` + MaxResults *int64 `min:"1" type:"integer"` - // The token for the next set of results, or null if there are no more results. - NextToken *string `location:"querystring" locationName:"next-token" type:"string"` + // A pagination token that can be used in a subsequent request. + NextToken *string `type:"string"` } // String returns the string representation. @@ -31156,7 +64450,7 @@ type ListDashboardsInput struct { // 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 ListDashboardsInput) String() string { +func (s SearchDataSourcesInput) String() string { return awsutil.Prettify(s) } @@ -31165,22 +64459,38 @@ func (s ListDashboardsInput) String() string { // 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 ListDashboardsInput) GoString() string { +func (s SearchDataSourcesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListDashboardsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListDashboardsInput"} +func (s *SearchDataSourcesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SearchDataSourcesInput"} if s.AwsAccountId == nil { invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) } if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) } + if s.Filters == nil { + invalidParams.Add(request.NewErrParamRequired("Filters")) + } + if s.Filters != nil && len(s.Filters) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Filters", 1)) + } if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } + if s.Filters != nil { + for i, v := range s.Filters { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams)) + } + } + } if invalidParams.Len() > 0 { return invalidParams @@ -31189,31 +64499,36 @@ func (s *ListDashboardsInput) Validate() error { } // SetAwsAccountId sets the AwsAccountId field's value. -func (s *ListDashboardsInput) SetAwsAccountId(v string) *ListDashboardsInput { +func (s *SearchDataSourcesInput) SetAwsAccountId(v string) *SearchDataSourcesInput { s.AwsAccountId = &v return s } +// SetFilters sets the Filters field's value. +func (s *SearchDataSourcesInput) SetFilters(v []*DataSourceSearchFilter) *SearchDataSourcesInput { + s.Filters = v + return s +} + // SetMaxResults sets the MaxResults field's value. -func (s *ListDashboardsInput) SetMaxResults(v int64) *ListDashboardsInput { +func (s *SearchDataSourcesInput) SetMaxResults(v int64) *SearchDataSourcesInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListDashboardsInput) SetNextToken(v string) *ListDashboardsInput { +func (s *SearchDataSourcesInput) SetNextToken(v string) *SearchDataSourcesInput { s.NextToken = &v return s } -type ListDashboardsOutput struct { +type SearchDataSourcesOutput struct { _ struct{} `type:"structure"` - // A structure that contains all of the dashboards in your Amazon Web Services - // account. This structure provides basic information about the dashboards. - DashboardSummaryList []*DashboardSummary `type:"list"` + // A DataSourceSummaries object that returns a summary of a data source. + DataSourceSummaries []*DataSourceSummary `type:"list"` - // The token for the next set of results, or null if there are no more results. + // A pagination token that can be used in a subsequent request. NextToken *string `type:"string"` // The Amazon Web Services request ID for this operation. @@ -31228,7 +64543,7 @@ type ListDashboardsOutput struct { // 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 ListDashboardsOutput) String() string { +func (s SearchDataSourcesOutput) String() string { return awsutil.Prettify(s) } @@ -31237,47 +64552,55 @@ func (s ListDashboardsOutput) String() string { // 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 ListDashboardsOutput) GoString() string { +func (s SearchDataSourcesOutput) GoString() string { return s.String() } -// SetDashboardSummaryList sets the DashboardSummaryList field's value. -func (s *ListDashboardsOutput) SetDashboardSummaryList(v []*DashboardSummary) *ListDashboardsOutput { - s.DashboardSummaryList = v +// SetDataSourceSummaries sets the DataSourceSummaries field's value. +func (s *SearchDataSourcesOutput) SetDataSourceSummaries(v []*DataSourceSummary) *SearchDataSourcesOutput { + s.DataSourceSummaries = v return s } // SetNextToken sets the NextToken field's value. -func (s *ListDashboardsOutput) SetNextToken(v string) *ListDashboardsOutput { +func (s *SearchDataSourcesOutput) SetNextToken(v string) *SearchDataSourcesOutput { s.NextToken = &v return s } // SetRequestId sets the RequestId field's value. -func (s *ListDashboardsOutput) SetRequestId(v string) *ListDashboardsOutput { +func (s *SearchDataSourcesOutput) SetRequestId(v string) *SearchDataSourcesOutput { s.RequestId = &v return s } // SetStatus sets the Status field's value. -func (s *ListDashboardsOutput) SetStatus(v int64) *ListDashboardsOutput { +func (s *SearchDataSourcesOutput) SetStatus(v int64) *SearchDataSourcesOutput { s.Status = &v return s } -type ListDataSetsInput struct { - _ struct{} `type:"structure" nopayload:"true"` +type SearchFoldersInput struct { + _ struct{} `type:"structure"` - // The Amazon Web Services account ID. + // The ID for the Amazon Web Services account that contains the folder. // // AwsAccountId is a required field AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // The filters to apply to the search. Currently, you can search only by the + // parent folder ARN. For example, "Filters": [ { "Name": "PARENT_FOLDER_ARN", + // "Operator": "StringEquals", "Value": "arn:aws:quicksight:us-east-1:1:folder/folderId" + // } ]. + // + // Filters is a required field + Filters []*FolderSearchFilter `type:"list" required:"true"` + // The maximum number of results to be returned per request. - MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` + MaxResults *int64 `min:"1" type:"integer"` // The token for the next set of results, or null if there are no more results. - NextToken *string `location:"querystring" locationName:"next-token" type:"string"` + NextToken *string `type:"string"` } // String returns the string representation. @@ -31285,7 +64608,7 @@ type ListDataSetsInput struct { // 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 ListDataSetsInput) String() string { +func (s SearchFoldersInput) String() string { return awsutil.Prettify(s) } @@ -31294,19 +64617,22 @@ func (s ListDataSetsInput) String() string { // 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 ListDataSetsInput) GoString() string { +func (s SearchFoldersInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListDataSetsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListDataSetsInput"} +func (s *SearchFoldersInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SearchFoldersInput"} if s.AwsAccountId == nil { invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) } if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) } + if s.Filters == nil { + invalidParams.Add(request.NewErrParamRequired("Filters")) + } if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } @@ -31318,28 +64644,35 @@ func (s *ListDataSetsInput) Validate() error { } // SetAwsAccountId sets the AwsAccountId field's value. -func (s *ListDataSetsInput) SetAwsAccountId(v string) *ListDataSetsInput { +func (s *SearchFoldersInput) SetAwsAccountId(v string) *SearchFoldersInput { s.AwsAccountId = &v return s } +// SetFilters sets the Filters field's value. +func (s *SearchFoldersInput) SetFilters(v []*FolderSearchFilter) *SearchFoldersInput { + s.Filters = v + return s +} + // SetMaxResults sets the MaxResults field's value. -func (s *ListDataSetsInput) SetMaxResults(v int64) *ListDataSetsInput { +func (s *SearchFoldersInput) SetMaxResults(v int64) *SearchFoldersInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListDataSetsInput) SetNextToken(v string) *ListDataSetsInput { +func (s *SearchFoldersInput) SetNextToken(v string) *SearchFoldersInput { s.NextToken = &v return s } -type ListDataSetsOutput struct { +type SearchFoldersOutput struct { _ struct{} `type:"structure"` - // The list of dataset summaries. - DataSetSummaries []*DataSetSummary `type:"list"` + // A structure that contains all of the folders in the Amazon Web Services account. + // This structure provides basic information about the folders. + FolderSummaryList []*FolderSummary `type:"list"` // The token for the next set of results, or null if there are no more results. NextToken *string `type:"string"` @@ -31356,7 +64689,7 @@ type ListDataSetsOutput struct { // 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 ListDataSetsOutput) String() string { +func (s SearchFoldersOutput) String() string { return awsutil.Prettify(s) } @@ -31365,46 +64698,58 @@ func (s ListDataSetsOutput) String() string { // 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 ListDataSetsOutput) GoString() string { +func (s SearchFoldersOutput) GoString() string { return s.String() } -// SetDataSetSummaries sets the DataSetSummaries field's value. -func (s *ListDataSetsOutput) SetDataSetSummaries(v []*DataSetSummary) *ListDataSetsOutput { - s.DataSetSummaries = v +// SetFolderSummaryList sets the FolderSummaryList field's value. +func (s *SearchFoldersOutput) SetFolderSummaryList(v []*FolderSummary) *SearchFoldersOutput { + s.FolderSummaryList = v return s } // SetNextToken sets the NextToken field's value. -func (s *ListDataSetsOutput) SetNextToken(v string) *ListDataSetsOutput { +func (s *SearchFoldersOutput) SetNextToken(v string) *SearchFoldersOutput { s.NextToken = &v return s } // SetRequestId sets the RequestId field's value. -func (s *ListDataSetsOutput) SetRequestId(v string) *ListDataSetsOutput { +func (s *SearchFoldersOutput) SetRequestId(v string) *SearchFoldersOutput { s.RequestId = &v return s } // SetStatus sets the Status field's value. -func (s *ListDataSetsOutput) SetStatus(v int64) *ListDataSetsOutput { +func (s *SearchFoldersOutput) SetStatus(v int64) *SearchFoldersOutput { s.Status = &v return s } -type ListDataSourcesInput struct { - _ struct{} `type:"structure" nopayload:"true"` +type SearchGroupsInput struct { + _ struct{} `type:"structure"` - // The Amazon Web Services account ID. + // The ID for the Amazon Web Services account that the group is in. Currently, + // you use the ID for the Amazon Web Services account that contains your Amazon + // QuickSight account. // // AwsAccountId is a required field AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - // The maximum number of results to be returned per request. + // The structure for the search filters that you want to apply to your search. + // + // Filters is a required field + Filters []*GroupSearchFilter `min:"1" type:"list" required:"true"` + + // The maximum number of results to return from this request. MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` - // The token for the next set of results, or null if there are no more results. + // The namespace that you want to search. + // + // Namespace is a required field + Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` + + // A pagination token that can be used in a subsequent request. NextToken *string `location:"querystring" locationName:"next-token" type:"string"` } @@ -31413,7 +64758,7 @@ type ListDataSourcesInput struct { // 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 ListDataSourcesInput) String() string { +func (s SearchGroupsInput) String() string { return awsutil.Prettify(s) } @@ -31422,22 +64767,44 @@ func (s ListDataSourcesInput) String() string { // 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 ListDataSourcesInput) GoString() string { +func (s SearchGroupsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListDataSourcesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListDataSourcesInput"} +func (s *SearchGroupsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SearchGroupsInput"} if s.AwsAccountId == nil { invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) } if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) } + if s.Filters == nil { + invalidParams.Add(request.NewErrParamRequired("Filters")) + } + if s.Filters != nil && len(s.Filters) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Filters", 1)) + } if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } + if s.Namespace == nil { + invalidParams.Add(request.NewErrParamRequired("Namespace")) + } + if s.Namespace != nil && len(*s.Namespace) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + } + if s.Filters != nil { + for i, v := range s.Filters { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams)) + } + } + } if invalidParams.Len() > 0 { return invalidParams @@ -31446,30 +64813,43 @@ func (s *ListDataSourcesInput) Validate() error { } // SetAwsAccountId sets the AwsAccountId field's value. -func (s *ListDataSourcesInput) SetAwsAccountId(v string) *ListDataSourcesInput { +func (s *SearchGroupsInput) SetAwsAccountId(v string) *SearchGroupsInput { s.AwsAccountId = &v return s } +// SetFilters sets the Filters field's value. +func (s *SearchGroupsInput) SetFilters(v []*GroupSearchFilter) *SearchGroupsInput { + s.Filters = v + return s +} + // SetMaxResults sets the MaxResults field's value. -func (s *ListDataSourcesInput) SetMaxResults(v int64) *ListDataSourcesInput { +func (s *SearchGroupsInput) SetMaxResults(v int64) *SearchGroupsInput { s.MaxResults = &v return s } +// SetNamespace sets the Namespace field's value. +func (s *SearchGroupsInput) SetNamespace(v string) *SearchGroupsInput { + s.Namespace = &v + return s +} + // SetNextToken sets the NextToken field's value. -func (s *ListDataSourcesInput) SetNextToken(v string) *ListDataSourcesInput { +func (s *SearchGroupsInput) SetNextToken(v string) *SearchGroupsInput { s.NextToken = &v return s } -type ListDataSourcesOutput struct { +type SearchGroupsOutput struct { _ struct{} `type:"structure"` - // A list of data sources. - DataSources []*DataSource `type:"list"` + // A list of groups in a specified namespace that match the filters you set + // in your SearchGroups request. + GroupList []*Group `type:"list"` - // The token for the next set of results, or null if there are no more results. + // A pagination token that can be used in a subsequent request. NextToken *string `type:"string"` // The Amazon Web Services request ID for this operation. @@ -31484,7 +64864,7 @@ type ListDataSourcesOutput struct { // 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 ListDataSourcesOutput) String() string { +func (s SearchGroupsOutput) String() string { return awsutil.Prettify(s) } @@ -31493,52 +64873,154 @@ func (s ListDataSourcesOutput) String() string { // 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 ListDataSourcesOutput) GoString() string { +func (s SearchGroupsOutput) GoString() string { return s.String() } -// SetDataSources sets the DataSources field's value. -func (s *ListDataSourcesOutput) SetDataSources(v []*DataSource) *ListDataSourcesOutput { - s.DataSources = v +// SetGroupList sets the GroupList field's value. +func (s *SearchGroupsOutput) SetGroupList(v []*Group) *SearchGroupsOutput { + s.GroupList = v return s } // SetNextToken sets the NextToken field's value. -func (s *ListDataSourcesOutput) SetNextToken(v string) *ListDataSourcesOutput { +func (s *SearchGroupsOutput) SetNextToken(v string) *SearchGroupsOutput { s.NextToken = &v return s } // SetRequestId sets the RequestId field's value. -func (s *ListDataSourcesOutput) SetRequestId(v string) *ListDataSourcesOutput { +func (s *SearchGroupsOutput) SetRequestId(v string) *SearchGroupsOutput { s.RequestId = &v return s } // SetStatus sets the Status field's value. -func (s *ListDataSourcesOutput) SetStatus(v int64) *ListDataSourcesOutput { +func (s *SearchGroupsOutput) SetStatus(v int64) *SearchGroupsOutput { s.Status = &v return s } -type ListFolderMembersInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// The options that determine the presentation of the secondary value of a KPI +// visual. +type SecondaryValueOptions struct { + _ struct{} `type:"structure"` + + // Determines the visibility of the secondary value. + Visibility *string `type:"string" enum:"Visibility"` +} + +// 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 SecondaryValueOptions) 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 SecondaryValueOptions) GoString() string { + return s.String() +} + +// SetVisibility sets the Visibility field's value. +func (s *SecondaryValueOptions) SetVisibility(v string) *SecondaryValueOptions { + s.Visibility = &v + return s +} + +// The configuration of a page break after a section. +type SectionAfterPageBreak struct { + _ struct{} `type:"structure"` + + // The option that enables or disables a page break at the end of a section. + Status *string `type:"string" enum:"SectionPageBreakStatus"` +} + +// 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 SectionAfterPageBreak) 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 SectionAfterPageBreak) GoString() string { + return s.String() +} + +// SetStatus sets the Status field's value. +func (s *SectionAfterPageBreak) SetStatus(v string) *SectionAfterPageBreak { + s.Status = &v + return s +} + +// The options for the canvas of a section-based layout. +type SectionBasedLayoutCanvasSizeOptions struct { + _ struct{} `type:"structure"` + + // The options for a paper canvas of a section-based layout. + PaperCanvasSizeOptions *SectionBasedLayoutPaperCanvasSizeOptions `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 SectionBasedLayoutCanvasSizeOptions) 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 SectionBasedLayoutCanvasSizeOptions) GoString() string { + return s.String() +} + +// SetPaperCanvasSizeOptions sets the PaperCanvasSizeOptions field's value. +func (s *SectionBasedLayoutCanvasSizeOptions) SetPaperCanvasSizeOptions(v *SectionBasedLayoutPaperCanvasSizeOptions) *SectionBasedLayoutCanvasSizeOptions { + s.PaperCanvasSizeOptions = v + return s +} + +// The configuration for a section-based layout. +type SectionBasedLayoutConfiguration struct { + _ struct{} `type:"structure"` - // The ID for the Amazon Web Services account that contains the folder. + // A list of body section configurations. // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // BodySections is a required field + BodySections []*BodySectionConfiguration `type:"list" required:"true"` - // The ID of the folder. + // The options for the canvas of a section-based layout. // - // FolderId is a required field - FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"` + // CanvasSizeOptions is a required field + CanvasSizeOptions *SectionBasedLayoutCanvasSizeOptions `type:"structure" required:"true"` - // The maximum number of results to be returned per request. - MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` + // A list of footer section configurations. + // + // FooterSections is a required field + FooterSections []*HeaderFooterSectionConfiguration `type:"list" required:"true"` - // The token for the next set of results, or null if there are no more results. - NextToken *string `location:"querystring" locationName:"next-token" type:"string"` + // A list of header section configurations. + // + // HeaderSections is a required field + HeaderSections []*HeaderFooterSectionConfiguration `type:"list" required:"true"` } // String returns the string representation. @@ -31546,7 +65028,7 @@ type ListFolderMembersInput struct { // 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 ListFolderMembersInput) String() string { +func (s SectionBasedLayoutConfiguration) String() string { return awsutil.Prettify(s) } @@ -31555,27 +65037,54 @@ func (s ListFolderMembersInput) String() string { // 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 ListFolderMembersInput) GoString() string { +func (s SectionBasedLayoutConfiguration) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListFolderMembersInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListFolderMembersInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) +func (s *SectionBasedLayoutConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SectionBasedLayoutConfiguration"} + if s.BodySections == nil { + invalidParams.Add(request.NewErrParamRequired("BodySections")) } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + if s.CanvasSizeOptions == nil { + invalidParams.Add(request.NewErrParamRequired("CanvasSizeOptions")) } - if s.FolderId == nil { - invalidParams.Add(request.NewErrParamRequired("FolderId")) + if s.FooterSections == nil { + invalidParams.Add(request.NewErrParamRequired("FooterSections")) } - if s.FolderId != nil && len(*s.FolderId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("FolderId", 1)) + if s.HeaderSections == nil { + invalidParams.Add(request.NewErrParamRequired("HeaderSections")) } - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + if s.BodySections != nil { + for i, v := range s.BodySections { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "BodySections", i), err.(request.ErrInvalidParams)) + } + } + } + if s.FooterSections != nil { + for i, v := range s.FooterSections { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "FooterSections", i), err.(request.ErrInvalidParams)) + } + } + } + if s.HeaderSections != nil { + for i, v := range s.HeaderSections { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "HeaderSections", i), err.(request.ErrInvalidParams)) + } + } } if invalidParams.Len() > 0 { @@ -31584,45 +65093,48 @@ func (s *ListFolderMembersInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *ListFolderMembersInput) SetAwsAccountId(v string) *ListFolderMembersInput { - s.AwsAccountId = &v +// SetBodySections sets the BodySections field's value. +func (s *SectionBasedLayoutConfiguration) SetBodySections(v []*BodySectionConfiguration) *SectionBasedLayoutConfiguration { + s.BodySections = v return s } -// SetFolderId sets the FolderId field's value. -func (s *ListFolderMembersInput) SetFolderId(v string) *ListFolderMembersInput { - s.FolderId = &v +// SetCanvasSizeOptions sets the CanvasSizeOptions field's value. +func (s *SectionBasedLayoutConfiguration) SetCanvasSizeOptions(v *SectionBasedLayoutCanvasSizeOptions) *SectionBasedLayoutConfiguration { + s.CanvasSizeOptions = v return s } -// SetMaxResults sets the MaxResults field's value. -func (s *ListFolderMembersInput) SetMaxResults(v int64) *ListFolderMembersInput { - s.MaxResults = &v +// SetFooterSections sets the FooterSections field's value. +func (s *SectionBasedLayoutConfiguration) SetFooterSections(v []*HeaderFooterSectionConfiguration) *SectionBasedLayoutConfiguration { + s.FooterSections = v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListFolderMembersInput) SetNextToken(v string) *ListFolderMembersInput { - s.NextToken = &v +// SetHeaderSections sets the HeaderSections field's value. +func (s *SectionBasedLayoutConfiguration) SetHeaderSections(v []*HeaderFooterSectionConfiguration) *SectionBasedLayoutConfiguration { + s.HeaderSections = v return s } -type ListFolderMembersOutput struct { +// The options for a paper canvas of a section-based layout. +type SectionBasedLayoutPaperCanvasSizeOptions struct { _ struct{} `type:"structure"` - // A structure that contains all of the folder members (dashboards, analyses, - // and datasets) in the folder. - FolderMemberList []*MemberIdArnPair `type:"list"` - - // The token for the next set of results, or null if there are no more results. - NextToken *string `type:"string"` + // Defines the spacing between the canvas content and the top, bottom, left, + // and right edges. + PaperMargin *Spacing `type:"structure"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The paper orientation that is used to define canvas dimensions. Choose one + // of the following options: + // + // * PORTRAIT + // + // * LANDSCAPE + PaperOrientation *string `type:"string" enum:"PaperOrientation"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The paper size that is used to define canvas dimensions. + PaperSize *string `type:"string" enum:"PaperSize"` } // String returns the string representation. @@ -31630,7 +65142,7 @@ type ListFolderMembersOutput struct { // 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 ListFolderMembersOutput) String() string { +func (s SectionBasedLayoutPaperCanvasSizeOptions) String() string { return awsutil.Prettify(s) } @@ -31639,47 +65151,36 @@ func (s ListFolderMembersOutput) String() string { // 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 ListFolderMembersOutput) GoString() string { +func (s SectionBasedLayoutPaperCanvasSizeOptions) GoString() string { return s.String() } -// SetFolderMemberList sets the FolderMemberList field's value. -func (s *ListFolderMembersOutput) SetFolderMemberList(v []*MemberIdArnPair) *ListFolderMembersOutput { - s.FolderMemberList = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListFolderMembersOutput) SetNextToken(v string) *ListFolderMembersOutput { - s.NextToken = &v +// SetPaperMargin sets the PaperMargin field's value. +func (s *SectionBasedLayoutPaperCanvasSizeOptions) SetPaperMargin(v *Spacing) *SectionBasedLayoutPaperCanvasSizeOptions { + s.PaperMargin = v return s } -// SetRequestId sets the RequestId field's value. -func (s *ListFolderMembersOutput) SetRequestId(v string) *ListFolderMembersOutput { - s.RequestId = &v +// SetPaperOrientation sets the PaperOrientation field's value. +func (s *SectionBasedLayoutPaperCanvasSizeOptions) SetPaperOrientation(v string) *SectionBasedLayoutPaperCanvasSizeOptions { + s.PaperOrientation = &v return s } -// SetStatus sets the Status field's value. -func (s *ListFolderMembersOutput) SetStatus(v int64) *ListFolderMembersOutput { - s.Status = &v +// SetPaperSize sets the PaperSize field's value. +func (s *SectionBasedLayoutPaperCanvasSizeOptions) SetPaperSize(v string) *SectionBasedLayoutPaperCanvasSizeOptions { + s.PaperSize = &v return s } -type ListFoldersInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// The layout configuration of a section. +type SectionLayoutConfiguration struct { + _ struct{} `type:"structure"` - // The ID for the Amazon Web Services account that contains the folder. + // The free-form layout configuration of a section. // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - - // The maximum number of results to be returned per request. - MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` - - // The token for the next set of results, or null if there are no more results. - NextToken *string `location:"querystring" locationName:"next-token" type:"string"` + // FreeFormLayout is a required field + FreeFormLayout *FreeFormSectionLayoutConfiguration `type:"structure" required:"true"` } // String returns the string representation. @@ -31687,7 +65188,7 @@ type ListFoldersInput struct { // 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 ListFoldersInput) String() string { +func (s SectionLayoutConfiguration) String() string { return awsutil.Prettify(s) } @@ -31696,21 +65197,20 @@ func (s ListFoldersInput) String() string { // 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 ListFoldersInput) GoString() string { +func (s SectionLayoutConfiguration) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListFoldersInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListFoldersInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) +func (s *SectionLayoutConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SectionLayoutConfiguration"} + if s.FreeFormLayout == nil { + invalidParams.Add(request.NewErrParamRequired("FreeFormLayout")) + } + if s.FreeFormLayout != nil { + if err := s.FreeFormLayout.Validate(); err != nil { + invalidParams.AddNested("FreeFormLayout", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -31719,39 +65219,59 @@ func (s *ListFoldersInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *ListFoldersInput) SetAwsAccountId(v string) *ListFoldersInput { - s.AwsAccountId = &v +// SetFreeFormLayout sets the FreeFormLayout field's value. +func (s *SectionLayoutConfiguration) SetFreeFormLayout(v *FreeFormSectionLayoutConfiguration) *SectionLayoutConfiguration { + s.FreeFormLayout = v return s } -// SetMaxResults sets the MaxResults field's value. -func (s *ListFoldersInput) SetMaxResults(v int64) *ListFoldersInput { - s.MaxResults = &v - return s +// The configuration of a page break for a section. +type SectionPageBreakConfiguration struct { + _ struct{} `type:"structure"` + + // The configuration of a page break after a section. + After *SectionAfterPageBreak `type:"structure"` } -// SetNextToken sets the NextToken field's value. -func (s *ListFoldersInput) SetNextToken(v string) *ListFoldersInput { - s.NextToken = &v - return s +// 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 SectionPageBreakConfiguration) String() string { + return awsutil.Prettify(s) } -type ListFoldersOutput struct { - _ struct{} `type:"structure"` +// 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 SectionPageBreakConfiguration) GoString() string { + return s.String() +} - // A structure that contains all of the folders in the Amazon Web Services account. - // This structure provides basic information about the folders. - FolderSummaryList []*FolderSummary `type:"list"` +// SetAfter sets the After field's value. +func (s *SectionPageBreakConfiguration) SetAfter(v *SectionAfterPageBreak) *SectionPageBreakConfiguration { + s.After = v + return s +} - // The token for the next set of results, or null if there are no more results. - NextToken *string `type:"string"` +// The options that style a section. +type SectionStyle struct { + _ struct{} `type:"structure"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The height of a section. + // + // Heights can only be defined for header and footer sections. The default height + // margin is 0.5 inches. + Height *string `type:"string"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The spacing between section content and its top, bottom, left, and right + // edges. + // + // There is no padding by default. + Padding *Spacing `type:"structure"` } // String returns the string representation. @@ -31759,7 +65279,7 @@ type ListFoldersOutput struct { // 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 ListFoldersOutput) String() string { +func (s SectionStyle) String() string { return awsutil.Prettify(s) } @@ -31768,59 +65288,34 @@ func (s ListFoldersOutput) String() string { // 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 ListFoldersOutput) GoString() string { +func (s SectionStyle) GoString() string { return s.String() } -// SetFolderSummaryList sets the FolderSummaryList field's value. -func (s *ListFoldersOutput) SetFolderSummaryList(v []*FolderSummary) *ListFoldersOutput { - s.FolderSummaryList = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListFoldersOutput) SetNextToken(v string) *ListFoldersOutput { - s.NextToken = &v - return s -} - -// SetRequestId sets the RequestId field's value. -func (s *ListFoldersOutput) SetRequestId(v string) *ListFoldersOutput { - s.RequestId = &v +// SetHeight sets the Height field's value. +func (s *SectionStyle) SetHeight(v string) *SectionStyle { + s.Height = &v return s } -// SetStatus sets the Status field's value. -func (s *ListFoldersOutput) SetStatus(v int64) *ListFoldersOutput { - s.Status = &v +// SetPadding sets the Padding field's value. +func (s *SectionStyle) SetPadding(v *Spacing) *SectionStyle { + s.Padding = v return s } -type ListGroupMembershipsInput struct { - _ struct{} `type:"structure" nopayload:"true"` - - // The ID for the Amazon Web Services account that the group is in. Currently, - // you use the ID for the Amazon Web Services account that contains your Amazon - // QuickSight account. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - - // The name of the group that you want to see a membership list of. - // - // GroupName is a required field - GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"` - - // The maximum number of results to return from this request. - MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` - - // The namespace of the group that you want a list of users from. - // - // Namespace is a required field - Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` +// The configuration for applying a filter to specific sheets or visuals. You +// can apply this filter to multiple visuals that are on one sheet or to all +// visuals on a sheet. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type SelectedSheetsFilterScopeConfiguration struct { + _ struct{} `type:"structure"` - // A pagination token that can be used in a subsequent request. - NextToken *string `location:"querystring" locationName:"next-token" type:"string"` + // The sheet ID and visual IDs of the sheet and visuals that the filter is applied + // to. + SheetVisualScopingConfigurations []*SheetVisualScopingConfiguration `min:"1" type:"list"` } // String returns the string representation. @@ -31828,7 +65323,7 @@ type ListGroupMembershipsInput struct { // 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 ListGroupMembershipsInput) String() string { +func (s SelectedSheetsFilterScopeConfiguration) String() string { return awsutil.Prettify(s) } @@ -31837,33 +65332,25 @@ func (s ListGroupMembershipsInput) String() string { // 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 ListGroupMembershipsInput) GoString() string { +func (s SelectedSheetsFilterScopeConfiguration) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListGroupMembershipsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListGroupMembershipsInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.GroupName == nil { - invalidParams.Add(request.NewErrParamRequired("GroupName")) - } - if s.GroupName != nil && len(*s.GroupName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("GroupName", 1)) - } - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) - } - if s.Namespace == nil { - invalidParams.Add(request.NewErrParamRequired("Namespace")) +func (s *SelectedSheetsFilterScopeConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SelectedSheetsFilterScopeConfiguration"} + if s.SheetVisualScopingConfigurations != nil && len(s.SheetVisualScopingConfigurations) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SheetVisualScopingConfigurations", 1)) } - if s.Namespace != nil && len(*s.Namespace) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + if s.SheetVisualScopingConfigurations != nil { + for i, v := range s.SheetVisualScopingConfigurations { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SheetVisualScopingConfigurations", i), err.(request.ErrInvalidParams)) + } + } } if invalidParams.Len() > 0 { @@ -31872,50 +65359,24 @@ func (s *ListGroupMembershipsInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *ListGroupMembershipsInput) SetAwsAccountId(v string) *ListGroupMembershipsInput { - s.AwsAccountId = &v - return s -} - -// SetGroupName sets the GroupName field's value. -func (s *ListGroupMembershipsInput) SetGroupName(v string) *ListGroupMembershipsInput { - s.GroupName = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListGroupMembershipsInput) SetMaxResults(v int64) *ListGroupMembershipsInput { - s.MaxResults = &v - return s -} - -// SetNamespace sets the Namespace field's value. -func (s *ListGroupMembershipsInput) SetNamespace(v string) *ListGroupMembershipsInput { - s.Namespace = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListGroupMembershipsInput) SetNextToken(v string) *ListGroupMembershipsInput { - s.NextToken = &v +// SetSheetVisualScopingConfigurations sets the SheetVisualScopingConfigurations field's value. +func (s *SelectedSheetsFilterScopeConfiguration) SetSheetVisualScopingConfigurations(v []*SheetVisualScopingConfiguration) *SelectedSheetsFilterScopeConfiguration { + s.SheetVisualScopingConfigurations = v return s } -type ListGroupMembershipsOutput struct { +// The series item configuration of a line chart. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type SeriesItem struct { _ struct{} `type:"structure"` - // The list of the members of the group. - GroupMemberList []*GroupMember `type:"list"` - - // A pagination token that can be used in a subsequent request. - NextToken *string `type:"string"` - - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The data field series item configuration of a line chart. + DataFieldSeriesItem *DataFieldSeriesItem `type:"structure"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The field series item configuration of a line chart. + FieldSeriesItem *FieldSeriesItem `type:"structure"` } // String returns the string representation. @@ -31923,7 +65384,7 @@ type ListGroupMembershipsOutput struct { // 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 ListGroupMembershipsOutput) String() string { +func (s SeriesItem) String() string { return awsutil.Prettify(s) } @@ -31932,54 +65393,50 @@ func (s ListGroupMembershipsOutput) String() string { // 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 ListGroupMembershipsOutput) GoString() string { +func (s SeriesItem) GoString() string { return s.String() } -// SetGroupMemberList sets the GroupMemberList field's value. -func (s *ListGroupMembershipsOutput) SetGroupMemberList(v []*GroupMember) *ListGroupMembershipsOutput { - s.GroupMemberList = v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *SeriesItem) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SeriesItem"} + if s.DataFieldSeriesItem != nil { + if err := s.DataFieldSeriesItem.Validate(); err != nil { + invalidParams.AddNested("DataFieldSeriesItem", err.(request.ErrInvalidParams)) + } + } + if s.FieldSeriesItem != nil { + if err := s.FieldSeriesItem.Validate(); err != nil { + invalidParams.AddNested("FieldSeriesItem", err.(request.ErrInvalidParams)) + } + } -// SetNextToken sets the NextToken field's value. -func (s *ListGroupMembershipsOutput) SetNextToken(v string) *ListGroupMembershipsOutput { - s.NextToken = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetRequestId sets the RequestId field's value. -func (s *ListGroupMembershipsOutput) SetRequestId(v string) *ListGroupMembershipsOutput { - s.RequestId = &v +// SetDataFieldSeriesItem sets the DataFieldSeriesItem field's value. +func (s *SeriesItem) SetDataFieldSeriesItem(v *DataFieldSeriesItem) *SeriesItem { + s.DataFieldSeriesItem = v return s } -// SetStatus sets the Status field's value. -func (s *ListGroupMembershipsOutput) SetStatus(v int64) *ListGroupMembershipsOutput { - s.Status = &v +// SetFieldSeriesItem sets the FieldSeriesItem field's value. +func (s *SeriesItem) SetFieldSeriesItem(v *FieldSeriesItem) *SeriesItem { + s.FieldSeriesItem = v return s } -type ListGroupsInput struct { - _ struct{} `type:"structure" nopayload:"true"` - - // The ID for the Amazon Web Services account that the group is in. Currently, - // you use the ID for the Amazon Web Services account that contains your Amazon - // QuickSight account. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - - // The maximum number of results to return. - MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` +// The parameters for ServiceNow. +type ServiceNowParameters struct { + _ struct{} `type:"structure"` - // The namespace that you want a list of groups from. + // URL of the base site. // - // Namespace is a required field - Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` - - // A pagination token that can be used in a subsequent request. - NextToken *string `location:"querystring" locationName:"next-token" type:"string"` + // SiteBaseUrl is a required field + SiteBaseUrl *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -31987,7 +65444,7 @@ type ListGroupsInput struct { // 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 ListGroupsInput) String() string { +func (s ServiceNowParameters) String() string { return awsutil.Prettify(s) } @@ -31996,27 +65453,18 @@ func (s ListGroupsInput) String() string { // 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 ListGroupsInput) GoString() string { +func (s ServiceNowParameters) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListGroupsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListGroupsInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) - } - if s.Namespace == nil { - invalidParams.Add(request.NewErrParamRequired("Namespace")) +func (s *ServiceNowParameters) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ServiceNowParameters"} + if s.SiteBaseUrl == nil { + invalidParams.Add(request.NewErrParamRequired("SiteBaseUrl")) } - if s.Namespace != nil && len(*s.Namespace) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + if s.SiteBaseUrl != nil && len(*s.SiteBaseUrl) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SiteBaseUrl", 1)) } if invalidParams.Len() > 0 { @@ -32025,44 +65473,97 @@ func (s *ListGroupsInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *ListGroupsInput) SetAwsAccountId(v string) *ListGroupsInput { - s.AwsAccountId = &v +// SetSiteBaseUrl sets the SiteBaseUrl field's value. +func (s *ServiceNowParameters) SetSiteBaseUrl(v string) *ServiceNowParameters { + s.SiteBaseUrl = &v return s } -// SetMaxResults sets the MaxResults field's value. -func (s *ListGroupsInput) SetMaxResults(v int64) *ListGroupsInput { - s.MaxResults = &v - return s +// The number of minutes specified for the lifetime of a session isn't valid. +// The session lifetime must be 15-600 minutes. +type SessionLifetimeInMinutesInvalidException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"Message" type:"string"` + + // The Amazon Web Services request ID for this request. + RequestId *string `type:"string"` } -// SetNamespace sets the Namespace field's value. -func (s *ListGroupsInput) SetNamespace(v string) *ListGroupsInput { - s.Namespace = &v - return s +// 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 SessionLifetimeInMinutesInvalidException) String() string { + return awsutil.Prettify(s) } -// SetNextToken sets the NextToken field's value. -func (s *ListGroupsInput) SetNextToken(v string) *ListGroupsInput { - s.NextToken = &v - return 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 SessionLifetimeInMinutesInvalidException) GoString() string { + return s.String() } -type ListGroupsOutput struct { - _ struct{} `type:"structure"` +func newErrorSessionLifetimeInMinutesInvalidException(v protocol.ResponseMetadata) error { + return &SessionLifetimeInMinutesInvalidException{ + RespMetadata: v, + } +} - // The list of the groups. - GroupList []*Group `type:"list"` +// Code returns the exception type name. +func (s *SessionLifetimeInMinutesInvalidException) Code() string { + return "SessionLifetimeInMinutesInvalidException" +} - // A pagination token that can be used in a subsequent request. - NextToken *string `type:"string"` +// Message returns the exception's message. +func (s *SessionLifetimeInMinutesInvalidException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *SessionLifetimeInMinutesInvalidException) OrigErr() error { + return nil +} - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` +func (s *SessionLifetimeInMinutesInvalidException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *SessionLifetimeInMinutesInvalidException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *SessionLifetimeInMinutesInvalidException) RequestID() string { + return s.RespMetadata.RequestID +} + +// The key-value pair used for the row-level security tags feature. +type SessionTag struct { + _ struct{} `type:"structure"` + + // The key for the tag. + // + // Key is a required field + Key *string `min:"1" type:"string" required:"true"` + + // The value that you want to assign the tag. + // + // Value is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by SessionTag's + // String and GoString methods. + // + // Value is a required field + Value *string `min:"1" type:"string" required:"true" sensitive:"true"` } // String returns the string representation. @@ -32070,7 +65571,7 @@ type ListGroupsOutput struct { // 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 ListGroupsOutput) String() string { +func (s SessionTag) String() string { return awsutil.Prettify(s) } @@ -32079,57 +65580,60 @@ func (s ListGroupsOutput) String() string { // 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 ListGroupsOutput) GoString() string { +func (s SessionTag) GoString() string { return s.String() } -// SetGroupList sets the GroupList field's value. -func (s *ListGroupsOutput) SetGroupList(v []*Group) *ListGroupsOutput { - s.GroupList = v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *SessionTag) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SessionTag"} + if s.Key == nil { + invalidParams.Add(request.NewErrParamRequired("Key")) + } + if s.Key != nil && len(*s.Key) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Key", 1)) + } + if s.Value == nil { + invalidParams.Add(request.NewErrParamRequired("Value")) + } + if s.Value != nil && len(*s.Value) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Value", 1)) + } -// SetNextToken sets the NextToken field's value. -func (s *ListGroupsOutput) SetNextToken(v string) *ListGroupsOutput { - s.NextToken = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetRequestId sets the RequestId field's value. -func (s *ListGroupsOutput) SetRequestId(v string) *ListGroupsOutput { - s.RequestId = &v +// SetKey sets the Key field's value. +func (s *SessionTag) SetKey(v string) *SessionTag { + s.Key = &v return s } -// SetStatus sets the Status field's value. -func (s *ListGroupsOutput) SetStatus(v int64) *ListGroupsOutput { - s.Status = &v +// SetValue sets the Value field's value. +func (s *SessionTag) SetValue(v string) *SessionTag { + s.Value = &v return s } -type ListIAMPolicyAssignmentsForUserInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// The configuration of adding parameters in action. +type SetParameterValueConfiguration struct { + _ struct{} `type:"structure"` - // The ID of the Amazon Web Services account that contains the assignments. + // The destination parameter name of the SetParameterValueConfiguration. // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - - // The maximum number of results to be returned per request. - MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` + // DestinationParameterName is a required field + DestinationParameterName *string `min:"1" type:"string" required:"true"` - // The namespace of the assignment. + // The configuration of destination parameter values. // - // Namespace is a required field - Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` - - // The token for the next set of results, or null if there are no more results. - NextToken *string `location:"querystring" locationName:"next-token" type:"string"` - - // The name of the user. + // This is a union type structure. For this structure to be valid, only one + // of the attributes can be defined. // - // UserName is a required field - UserName *string `location:"uri" locationName:"UserName" min:"1" type:"string" required:"true"` + // Value is a required field + Value *DestinationParameterValueConfiguration `type:"structure" required:"true"` } // String returns the string representation. @@ -32137,7 +65641,7 @@ type ListIAMPolicyAssignmentsForUserInput struct { // 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 ListIAMPolicyAssignmentsForUserInput) String() string { +func (s SetParameterValueConfiguration) String() string { return awsutil.Prettify(s) } @@ -32146,33 +65650,26 @@ func (s ListIAMPolicyAssignmentsForUserInput) String() string { // 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 ListIAMPolicyAssignmentsForUserInput) GoString() string { +func (s SetParameterValueConfiguration) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListIAMPolicyAssignmentsForUserInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListIAMPolicyAssignmentsForUserInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) - } - if s.Namespace == nil { - invalidParams.Add(request.NewErrParamRequired("Namespace")) +func (s *SetParameterValueConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SetParameterValueConfiguration"} + if s.DestinationParameterName == nil { + invalidParams.Add(request.NewErrParamRequired("DestinationParameterName")) } - if s.Namespace != nil && len(*s.Namespace) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + if s.DestinationParameterName != nil && len(*s.DestinationParameterName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DestinationParameterName", 1)) } - if s.UserName == nil { - invalidParams.Add(request.NewErrParamRequired("UserName")) + if s.Value == nil { + invalidParams.Add(request.NewErrParamRequired("Value")) } - if s.UserName != nil && len(*s.UserName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UserName", 1)) + if s.Value != nil { + if err := s.Value.Validate(); err != nil { + invalidParams.AddNested("Value", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -32181,50 +65678,85 @@ func (s *ListIAMPolicyAssignmentsForUserInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *ListIAMPolicyAssignmentsForUserInput) SetAwsAccountId(v string) *ListIAMPolicyAssignmentsForUserInput { - s.AwsAccountId = &v +// SetDestinationParameterName sets the DestinationParameterName field's value. +func (s *SetParameterValueConfiguration) SetDestinationParameterName(v string) *SetParameterValueConfiguration { + s.DestinationParameterName = &v return s } -// SetMaxResults sets the MaxResults field's value. -func (s *ListIAMPolicyAssignmentsForUserInput) SetMaxResults(v int64) *ListIAMPolicyAssignmentsForUserInput { - s.MaxResults = &v +// SetValue sets the Value field's value. +func (s *SetParameterValueConfiguration) SetValue(v *DestinationParameterValueConfiguration) *SetParameterValueConfiguration { + s.Value = v return s } -// SetNamespace sets the Namespace field's value. -func (s *ListIAMPolicyAssignmentsForUserInput) SetNamespace(v string) *ListIAMPolicyAssignmentsForUserInput { - s.Namespace = &v - return s +// The shape conditional formatting of a filled map visual. +type ShapeConditionalFormat struct { + _ struct{} `type:"structure"` + + // The conditional formatting for the shape background color of a filled map + // visual. + // + // BackgroundColor is a required field + BackgroundColor *ConditionalFormattingColor `type:"structure" required:"true"` } -// SetNextToken sets the NextToken field's value. -func (s *ListIAMPolicyAssignmentsForUserInput) SetNextToken(v string) *ListIAMPolicyAssignmentsForUserInput { - s.NextToken = &v - return s +// 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 ShapeConditionalFormat) String() string { + return awsutil.Prettify(s) } -// SetUserName sets the UserName field's value. -func (s *ListIAMPolicyAssignmentsForUserInput) SetUserName(v string) *ListIAMPolicyAssignmentsForUserInput { - s.UserName = &v - return 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 ShapeConditionalFormat) GoString() string { + return s.String() } -type ListIAMPolicyAssignmentsForUserOutput struct { - _ struct{} `type:"structure"` +// Validate inspects the fields of the type to determine if they are valid. +func (s *ShapeConditionalFormat) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ShapeConditionalFormat"} + if s.BackgroundColor == nil { + invalidParams.Add(request.NewErrParamRequired("BackgroundColor")) + } + if s.BackgroundColor != nil { + if err := s.BackgroundColor.Validate(); err != nil { + invalidParams.AddNested("BackgroundColor", err.(request.ErrInvalidParams)) + } + } - // The active assignments for this user. - ActiveAssignments []*ActiveIAMPolicyAssignment `type:"list"` + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} - // The token for the next set of results, or null if there are no more results. - NextToken *string `type:"string"` +// SetBackgroundColor sets the BackgroundColor field's value. +func (s *ShapeConditionalFormat) SetBackgroundColor(v *ConditionalFormattingColor) *ShapeConditionalFormat { + s.BackgroundColor = v + return s +} - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` +// A sheet, which is an object that contains a set of visuals that are viewed +// together on one page in Amazon QuickSight. Every analysis and dashboard contains +// at least one sheet. Each sheet contains at least one visualization widget, +// for example a chart, pivot table, or narrative insight. Sheets can be associated +// with other components, such as controls, filters, and so on. +type Sheet struct { + _ struct{} `type:"structure"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The name of a sheet. This name is displayed on the sheet's tab in the Amazon + // QuickSight console. + Name *string `min:"1" type:"string"` + + // The unique identifier associated with a sheet. + SheetId *string `min:"1" type:"string"` } // String returns the string representation. @@ -32232,7 +65764,7 @@ type ListIAMPolicyAssignmentsForUserOutput struct { // 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 ListIAMPolicyAssignmentsForUserOutput) String() string { +func (s Sheet) String() string { return awsutil.Prettify(s) } @@ -32241,56 +65773,31 @@ func (s ListIAMPolicyAssignmentsForUserOutput) String() string { // 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 ListIAMPolicyAssignmentsForUserOutput) GoString() string { +func (s Sheet) GoString() string { return s.String() } -// SetActiveAssignments sets the ActiveAssignments field's value. -func (s *ListIAMPolicyAssignmentsForUserOutput) SetActiveAssignments(v []*ActiveIAMPolicyAssignment) *ListIAMPolicyAssignmentsForUserOutput { - s.ActiveAssignments = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListIAMPolicyAssignmentsForUserOutput) SetNextToken(v string) *ListIAMPolicyAssignmentsForUserOutput { - s.NextToken = &v - return s -} - -// SetRequestId sets the RequestId field's value. -func (s *ListIAMPolicyAssignmentsForUserOutput) SetRequestId(v string) *ListIAMPolicyAssignmentsForUserOutput { - s.RequestId = &v +// SetName sets the Name field's value. +func (s *Sheet) SetName(v string) *Sheet { + s.Name = &v return s } -// SetStatus sets the Status field's value. -func (s *ListIAMPolicyAssignmentsForUserOutput) SetStatus(v int64) *ListIAMPolicyAssignmentsForUserOutput { - s.Status = &v +// SetSheetId sets the SheetId field's value. +func (s *Sheet) SetSheetId(v string) *Sheet { + s.SheetId = &v return s } -type ListIAMPolicyAssignmentsInput struct { +// A grid layout to define the placement of sheet control. +type SheetControlLayout struct { _ struct{} `type:"structure"` - // The status of the assignments. - AssignmentStatus *string `type:"string" enum:"AssignmentStatus"` - - // The ID of the Amazon Web Services account that contains these IAM policy - // assignments. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - - // The maximum number of results to be returned per request. - MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` - - // The namespace for the assignments. + // The configuration that determines the elements and canvas size options of + // sheet control. // - // Namespace is a required field - Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` - - // The token for the next set of results, or null if there are no more results. - NextToken *string `location:"querystring" locationName:"next-token" type:"string"` + // Configuration is a required field + Configuration *SheetControlLayoutConfiguration `type:"structure" required:"true"` } // String returns the string representation. @@ -32298,7 +65805,7 @@ type ListIAMPolicyAssignmentsInput struct { // 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 ListIAMPolicyAssignmentsInput) String() string { +func (s SheetControlLayout) String() string { return awsutil.Prettify(s) } @@ -32307,27 +65814,20 @@ func (s ListIAMPolicyAssignmentsInput) String() string { // 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 ListIAMPolicyAssignmentsInput) GoString() string { +func (s SheetControlLayout) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListIAMPolicyAssignmentsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListIAMPolicyAssignmentsInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) - } - if s.Namespace == nil { - invalidParams.Add(request.NewErrParamRequired("Namespace")) +func (s *SheetControlLayout) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SheetControlLayout"} + if s.Configuration == nil { + invalidParams.Add(request.NewErrParamRequired("Configuration")) } - if s.Namespace != nil && len(*s.Namespace) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + if s.Configuration != nil { + if err := s.Configuration.Validate(); err != nil { + invalidParams.AddNested("Configuration", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -32336,50 +65836,67 @@ func (s *ListIAMPolicyAssignmentsInput) Validate() error { return nil } -// SetAssignmentStatus sets the AssignmentStatus field's value. -func (s *ListIAMPolicyAssignmentsInput) SetAssignmentStatus(v string) *ListIAMPolicyAssignmentsInput { - s.AssignmentStatus = &v +// SetConfiguration sets the Configuration field's value. +func (s *SheetControlLayout) SetConfiguration(v *SheetControlLayoutConfiguration) *SheetControlLayout { + s.Configuration = v return s } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *ListIAMPolicyAssignmentsInput) SetAwsAccountId(v string) *ListIAMPolicyAssignmentsInput { - s.AwsAccountId = &v - return s -} +// The configuration that determines the elements and canvas size options of +// sheet control. +type SheetControlLayoutConfiguration struct { + _ struct{} `type:"structure"` -// SetMaxResults sets the MaxResults field's value. -func (s *ListIAMPolicyAssignmentsInput) SetMaxResults(v int64) *ListIAMPolicyAssignmentsInput { - s.MaxResults = &v - return s + // The configuration that determines the elements and canvas size options of + // sheet control. + GridLayout *GridLayoutConfiguration `type:"structure"` } -// SetNamespace sets the Namespace field's value. -func (s *ListIAMPolicyAssignmentsInput) SetNamespace(v string) *ListIAMPolicyAssignmentsInput { - s.Namespace = &v - return s +// 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 SheetControlLayoutConfiguration) String() string { + return awsutil.Prettify(s) } -// SetNextToken sets the NextToken field's value. -func (s *ListIAMPolicyAssignmentsInput) SetNextToken(v string) *ListIAMPolicyAssignmentsInput { - s.NextToken = &v - return 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 SheetControlLayoutConfiguration) GoString() string { + return s.String() } -type ListIAMPolicyAssignmentsOutput struct { - _ struct{} `type:"structure"` +// Validate inspects the fields of the type to determine if they are valid. +func (s *SheetControlLayoutConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SheetControlLayoutConfiguration"} + if s.GridLayout != nil { + if err := s.GridLayout.Validate(); err != nil { + invalidParams.AddNested("GridLayout", err.(request.ErrInvalidParams)) + } + } - // Information describing the IAM policy assignments. - IAMPolicyAssignments []*IAMPolicyAssignmentSummary `type:"list"` + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} - // The token for the next set of results, or null if there are no more results. - NextToken *string `type:"string"` +// SetGridLayout sets the GridLayout field's value. +func (s *SheetControlLayoutConfiguration) SetGridLayout(v *GridLayoutConfiguration) *SheetControlLayoutConfiguration { + s.GridLayout = v + return s +} - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` +// Sheet controls option. +type SheetControlsOption struct { + _ struct{} `type:"structure"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // Visibility state. + VisibilityState *string `type:"string" enum:"DashboardUIState"` } // String returns the string representation. @@ -32387,7 +65904,7 @@ type ListIAMPolicyAssignmentsOutput struct { // 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 ListIAMPolicyAssignmentsOutput) String() string { +func (s SheetControlsOption) String() string { return awsutil.Prettify(s) } @@ -32396,52 +65913,72 @@ func (s ListIAMPolicyAssignmentsOutput) String() string { // 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 ListIAMPolicyAssignmentsOutput) GoString() string { +func (s SheetControlsOption) GoString() string { return s.String() } -// SetIAMPolicyAssignments sets the IAMPolicyAssignments field's value. -func (s *ListIAMPolicyAssignmentsOutput) SetIAMPolicyAssignments(v []*IAMPolicyAssignmentSummary) *ListIAMPolicyAssignmentsOutput { - s.IAMPolicyAssignments = v +// SetVisibilityState sets the VisibilityState field's value. +func (s *SheetControlsOption) SetVisibilityState(v string) *SheetControlsOption { + s.VisibilityState = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListIAMPolicyAssignmentsOutput) SetNextToken(v string) *ListIAMPolicyAssignmentsOutput { - s.NextToken = &v - return s -} +// A sheet is an object that contains a set of visuals that are viewed together +// on one page in a paginated report. Every analysis and dashboard must contain +// at least one sheet. +type SheetDefinition struct { + _ struct{} `type:"structure"` -// SetRequestId sets the RequestId field's value. -func (s *ListIAMPolicyAssignmentsOutput) SetRequestId(v string) *ListIAMPolicyAssignmentsOutput { - s.RequestId = &v - return s -} + // The layout content type of the sheet. Choose one of the following options: + // + // * PAGINATED: Creates a sheet for a paginated report. + // + // * INTERACTIVE: Creates a sheet for an interactive dashboard. + ContentType *string `type:"string" enum:"SheetContentType"` -// SetStatus sets the Status field's value. -func (s *ListIAMPolicyAssignmentsOutput) SetStatus(v int64) *ListIAMPolicyAssignmentsOutput { - s.Status = &v - return s -} + // A description of the sheet. + Description *string `min:"1" type:"string"` -type ListIngestionsInput struct { - _ struct{} `type:"structure" nopayload:"true"` + // The list of filter controls that are on a sheet. + // + // For more information, see Adding filter controls to analysis sheets (https://docs.aws.amazon.com/quicksight/latest/user/filter-controls.html) + // in the Amazon QuickSight User Guide. + FilterControls []*FilterControl `type:"list"` - // The Amazon Web Services account ID. + // Layouts define how the components of a sheet are arranged. // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // For more information, see Types of layout (https://docs.aws.amazon.com/quicksight/latest/user/types-of-layout.html) + // in the Amazon QuickSight User Guide. + Layouts []*Layout `min:"1" type:"list"` - // The ID of the dataset used in the ingestion. + // The name of the sheet. This name is displayed on the sheet's tab in the Amazon + // QuickSight console. + Name *string `min:"1" type:"string"` + + // The list of parameter controls that are on a sheet. // - // DataSetId is a required field - DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"` + // For more information, see Using a Control with a Parameter in Amazon QuickSight + // (https://docs.aws.amazon.com/quicksight/latest/user/parameters-controls.html) + // in the Amazon QuickSight User Guide. + ParameterControls []*ParameterControl `type:"list"` - // The maximum number of results to be returned per request. - MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` + // The control layouts of the sheet. + SheetControlLayouts []*SheetControlLayout `type:"list"` - // The token for the next set of results, or null if there are no more results. - NextToken *string `location:"querystring" locationName:"next-token" type:"string"` + // The unique identifier of a sheet. + // + // SheetId is a required field + SheetId *string `min:"1" type:"string" required:"true"` + + // The text boxes that are on a sheet. + TextBoxes []*SheetTextBox `type:"list"` + + // The title of the sheet. + Title *string `min:"1" type:"string"` + + // A list of the visuals that are on a sheet. Visual placement is determined + // by the layout of the sheet. + Visuals []*Visual `type:"list"` } // String returns the string representation. @@ -32449,7 +65986,7 @@ type ListIngestionsInput struct { // 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 ListIngestionsInput) String() string { +func (s SheetDefinition) String() string { return awsutil.Prettify(s) } @@ -32458,27 +65995,90 @@ func (s ListIngestionsInput) String() string { // 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 ListIngestionsInput) GoString() string { +func (s SheetDefinition) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListIngestionsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListIngestionsInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) +func (s *SheetDefinition) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SheetDefinition"} + if s.Description != nil && len(*s.Description) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Description", 1)) } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + if s.Layouts != nil && len(s.Layouts) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Layouts", 1)) } - if s.DataSetId == nil { - invalidParams.Add(request.NewErrParamRequired("DataSetId")) + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) } - if s.DataSetId != nil && len(*s.DataSetId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1)) + if s.SheetId == nil { + invalidParams.Add(request.NewErrParamRequired("SheetId")) } - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + if s.SheetId != nil && len(*s.SheetId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SheetId", 1)) + } + if s.Title != nil && len(*s.Title) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Title", 1)) + } + if s.FilterControls != nil { + for i, v := range s.FilterControls { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "FilterControls", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Layouts != nil { + for i, v := range s.Layouts { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Layouts", i), err.(request.ErrInvalidParams)) + } + } + } + if s.ParameterControls != nil { + for i, v := range s.ParameterControls { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ParameterControls", i), err.(request.ErrInvalidParams)) + } + } + } + if s.SheetControlLayouts != nil { + for i, v := range s.SheetControlLayouts { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SheetControlLayouts", i), err.(request.ErrInvalidParams)) + } + } + } + if s.TextBoxes != nil { + for i, v := range s.TextBoxes { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "TextBoxes", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Visuals != nil { + for i, v := range s.Visuals { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Visuals", i), err.(request.ErrInvalidParams)) + } + } } if invalidParams.Len() > 0 { @@ -32487,108 +66087,83 @@ func (s *ListIngestionsInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *ListIngestionsInput) SetAwsAccountId(v string) *ListIngestionsInput { - s.AwsAccountId = &v +// SetContentType sets the ContentType field's value. +func (s *SheetDefinition) SetContentType(v string) *SheetDefinition { + s.ContentType = &v return s } -// SetDataSetId sets the DataSetId field's value. -func (s *ListIngestionsInput) SetDataSetId(v string) *ListIngestionsInput { - s.DataSetId = &v +// SetDescription sets the Description field's value. +func (s *SheetDefinition) SetDescription(v string) *SheetDefinition { + s.Description = &v return s } -// SetMaxResults sets the MaxResults field's value. -func (s *ListIngestionsInput) SetMaxResults(v int64) *ListIngestionsInput { - s.MaxResults = &v +// SetFilterControls sets the FilterControls field's value. +func (s *SheetDefinition) SetFilterControls(v []*FilterControl) *SheetDefinition { + s.FilterControls = v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListIngestionsInput) SetNextToken(v string) *ListIngestionsInput { - s.NextToken = &v +// SetLayouts sets the Layouts field's value. +func (s *SheetDefinition) SetLayouts(v []*Layout) *SheetDefinition { + s.Layouts = v return s } -type ListIngestionsOutput struct { - _ struct{} `type:"structure"` - - // A list of the ingestions. - Ingestions []*Ingestion `type:"list"` - - // The token for the next set of results, or null if there are no more results. - NextToken *string `type:"string"` - - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` - - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` +// SetName sets the Name field's value. +func (s *SheetDefinition) SetName(v string) *SheetDefinition { + s.Name = &v + return s } -// 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 ListIngestionsOutput) String() string { - return awsutil.Prettify(s) +// SetParameterControls sets the ParameterControls field's value. +func (s *SheetDefinition) SetParameterControls(v []*ParameterControl) *SheetDefinition { + s.ParameterControls = v + return 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 ListIngestionsOutput) GoString() string { - return s.String() +// SetSheetControlLayouts sets the SheetControlLayouts field's value. +func (s *SheetDefinition) SetSheetControlLayouts(v []*SheetControlLayout) *SheetDefinition { + s.SheetControlLayouts = v + return s } -// SetIngestions sets the Ingestions field's value. -func (s *ListIngestionsOutput) SetIngestions(v []*Ingestion) *ListIngestionsOutput { - s.Ingestions = v +// SetSheetId sets the SheetId field's value. +func (s *SheetDefinition) SetSheetId(v string) *SheetDefinition { + s.SheetId = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListIngestionsOutput) SetNextToken(v string) *ListIngestionsOutput { - s.NextToken = &v +// SetTextBoxes sets the TextBoxes field's value. +func (s *SheetDefinition) SetTextBoxes(v []*SheetTextBox) *SheetDefinition { + s.TextBoxes = v return s } -// SetRequestId sets the RequestId field's value. -func (s *ListIngestionsOutput) SetRequestId(v string) *ListIngestionsOutput { - s.RequestId = &v +// SetTitle sets the Title field's value. +func (s *SheetDefinition) SetTitle(v string) *SheetDefinition { + s.Title = &v return s } -// SetStatus sets the Status field's value. -func (s *ListIngestionsOutput) SetStatus(v int64) *ListIngestionsOutput { - s.Status = &v +// SetVisuals sets the Visuals field's value. +func (s *SheetDefinition) SetVisuals(v []*Visual) *SheetDefinition { + s.Visuals = v return s } -type ListNamespacesInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// The override configuration of the rendering rules of a sheet. +type SheetElementConfigurationOverrides struct { + _ struct{} `type:"structure"` - // The ID for the Amazon Web Services account that contains the Amazon QuickSight - // namespaces that you want to list. + // Determines whether or not the overrides are visible. Choose one of the following + // options: // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - - // The maximum number of results to return. - MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` - - // A unique pagination token that can be used in a subsequent request. You will - // receive a pagination token in the response body of a previous ListNameSpaces - // API call if there is more data that can be returned. To receive the data, - // make another ListNamespaces API call with the returned token to retrieve - // the next page of data. Each token is valid for 24 hours. If you try to make - // a ListNamespaces API call with an expired token, you will receive a HTTP - // 400 InvalidNextTokenException error. - NextToken *string `location:"querystring" locationName:"next-token" type:"string"` + // * VISIBLE + // + // * HIDDEN + Visibility *string `type:"string" enum:"Visibility"` } // String returns the string representation. @@ -32596,7 +66171,7 @@ type ListNamespacesInput struct { // 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 ListNamespacesInput) String() string { +func (s SheetElementConfigurationOverrides) String() string { return awsutil.Prettify(s) } @@ -32605,68 +66180,33 @@ func (s ListNamespacesInput) String() string { // 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 ListNamespacesInput) GoString() string { +func (s SheetElementConfigurationOverrides) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *ListNamespacesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListNamespacesInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *ListNamespacesInput) SetAwsAccountId(v string) *ListNamespacesInput { - s.AwsAccountId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListNamespacesInput) SetMaxResults(v int64) *ListNamespacesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListNamespacesInput) SetNextToken(v string) *ListNamespacesInput { - s.NextToken = &v +// SetVisibility sets the Visibility field's value. +func (s *SheetElementConfigurationOverrides) SetVisibility(v string) *SheetElementConfigurationOverrides { + s.Visibility = &v return s } -type ListNamespacesOutput struct { +// The rendering rules of a sheet that uses a free-form layout. +type SheetElementRenderingRule struct { _ struct{} `type:"structure"` - // The information about the namespaces in this Amazon Web Services account. - // The response includes the namespace ARN, name, Amazon Web Services Region, - // notification email address, creation status, and identity store. - Namespaces []*NamespaceInfoV2 `type:"list"` - - // A unique pagination token that can be used in a subsequent request. Receiving - // NextToken in your response inticates that there is more data that can be - // returned. To receive the data, make another ListNamespaces API call with - // the returned token to retrieve the next page of data. Each token is valid - // for 24 hours. If you try to make a ListNamespaces API call with an expired - // token, you will receive a HTTP 400 InvalidNextTokenException error. - NextToken *string `type:"string"` - - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The override configuration of the rendering rules of a sheet. + // + // ConfigurationOverrides is a required field + ConfigurationOverrides *SheetElementConfigurationOverrides `type:"structure" required:"true"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The expression of the rendering rules of a sheet. + // + // Expression is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by SheetElementRenderingRule's + // String and GoString methods. + // + // Expression is a required field + Expression *string `min:"1" type:"string" required:"true" sensitive:"true"` } // String returns the string representation. @@ -32674,7 +66214,7 @@ type ListNamespacesOutput struct { // 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 ListNamespacesOutput) String() string { +func (s SheetElementRenderingRule) String() string { return awsutil.Prettify(s) } @@ -32683,42 +66223,50 @@ func (s ListNamespacesOutput) String() string { // 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 ListNamespacesOutput) GoString() string { +func (s SheetElementRenderingRule) GoString() string { return s.String() } -// SetNamespaces sets the Namespaces field's value. -func (s *ListNamespacesOutput) SetNamespaces(v []*NamespaceInfoV2) *ListNamespacesOutput { - s.Namespaces = v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *SheetElementRenderingRule) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SheetElementRenderingRule"} + if s.ConfigurationOverrides == nil { + invalidParams.Add(request.NewErrParamRequired("ConfigurationOverrides")) + } + if s.Expression == nil { + invalidParams.Add(request.NewErrParamRequired("Expression")) + } + if s.Expression != nil && len(*s.Expression) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Expression", 1)) + } -// SetNextToken sets the NextToken field's value. -func (s *ListNamespacesOutput) SetNextToken(v string) *ListNamespacesOutput { - s.NextToken = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetRequestId sets the RequestId field's value. -func (s *ListNamespacesOutput) SetRequestId(v string) *ListNamespacesOutput { - s.RequestId = &v +// SetConfigurationOverrides sets the ConfigurationOverrides field's value. +func (s *SheetElementRenderingRule) SetConfigurationOverrides(v *SheetElementConfigurationOverrides) *SheetElementRenderingRule { + s.ConfigurationOverrides = v return s } -// SetStatus sets the Status field's value. -func (s *ListNamespacesOutput) SetStatus(v int64) *ListNamespacesOutput { - s.Status = &v +// SetExpression sets the Expression field's value. +func (s *SheetElementRenderingRule) SetExpression(v string) *SheetElementRenderingRule { + s.Expression = &v return s } -type ListTagsForResourceInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// The theme display options for sheets. +type SheetStyle struct { + _ struct{} `type:"structure"` + + // The display options for tiles. + Tile *TileStyle `type:"structure"` - // The Amazon Resource Name (ARN) of the resource that you want a list of tags - // for. - // - // ResourceArn is a required field - ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"` + // The layout options for tiles. + TileLayout *TileLayoutStyle `type:"structure"` } // String returns the string representation. @@ -32726,7 +66274,7 @@ type ListTagsForResourceInput struct { // 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 ListTagsForResourceInput) String() string { +func (s SheetStyle) String() string { return awsutil.Prettify(s) } @@ -32735,44 +66283,35 @@ func (s ListTagsForResourceInput) String() string { // 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 ListTagsForResourceInput) GoString() string { +func (s SheetStyle) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *ListTagsForResourceInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"} - if s.ResourceArn == nil { - invalidParams.Add(request.NewErrParamRequired("ResourceArn")) - } - if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetTile sets the Tile field's value. +func (s *SheetStyle) SetTile(v *TileStyle) *SheetStyle { + s.Tile = v + return s } -// SetResourceArn sets the ResourceArn field's value. -func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput { - s.ResourceArn = &v +// SetTileLayout sets the TileLayout field's value. +func (s *SheetStyle) SetTileLayout(v *TileLayoutStyle) *SheetStyle { + s.TileLayout = v return s } -type ListTagsForResourceOutput struct { +// A text box. +type SheetTextBox struct { _ struct{} `type:"structure"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` - - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The content that is displayed in the text box. + Content *string `type:"string"` - // Contains a map of the key-value pairs for the resource tag or tags assigned - // to the resource. - Tags []*Tag `min:"1" type:"list"` + // The unique identifier for a text box. This identifier must be unique within + // the context of a dashboard, template, or analysis. Two dashboards, analyses, + // or templates can have text boxes that share identifiers. + // + // SheetTextBoxId is a required field + SheetTextBoxId *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -32780,7 +66319,7 @@ type ListTagsForResourceOutput struct { // 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 ListTagsForResourceOutput) String() string { +func (s SheetTextBox) String() string { return awsutil.Prettify(s) } @@ -32789,47 +66328,58 @@ func (s ListTagsForResourceOutput) String() string { // 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 ListTagsForResourceOutput) GoString() string { +func (s SheetTextBox) GoString() string { return s.String() } -// SetRequestId sets the RequestId field's value. -func (s *ListTagsForResourceOutput) SetRequestId(v string) *ListTagsForResourceOutput { - s.RequestId = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *SheetTextBox) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SheetTextBox"} + if s.SheetTextBoxId == nil { + invalidParams.Add(request.NewErrParamRequired("SheetTextBoxId")) + } + if s.SheetTextBoxId != nil && len(*s.SheetTextBoxId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SheetTextBoxId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetStatus sets the Status field's value. -func (s *ListTagsForResourceOutput) SetStatus(v int64) *ListTagsForResourceOutput { - s.Status = &v +// SetContent sets the Content field's value. +func (s *SheetTextBox) SetContent(v string) *SheetTextBox { + s.Content = &v return s } -// SetTags sets the Tags field's value. -func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput { - s.Tags = v +// SetSheetTextBoxId sets the SheetTextBoxId field's value. +func (s *SheetTextBox) SetSheetTextBoxId(v string) *SheetTextBox { + s.SheetTextBoxId = &v return s } -type ListTemplateAliasesInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// The filter that is applied to the options. +type SheetVisualScopingConfiguration struct { + _ struct{} `type:"structure"` - // The ID of the Amazon Web Services account that contains the template aliases - // that you're listing. + // The scope of the applied entities. Choose one of the following options: // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - - // The maximum number of results to be returned per request. - MaxResults *int64 `location:"querystring" locationName:"max-result" min:"1" type:"integer"` - - // The token for the next set of results, or null if there are no more results. - NextToken *string `location:"querystring" locationName:"next-token" type:"string"` + // * ALL_VISUALS + // + // * SELECTED_VISUALS + // + // Scope is a required field + Scope *string `type:"string" required:"true" enum:"FilterVisualScope"` - // The ID for the template. + // The selected sheet that the filter is applied to. // - // TemplateId is a required field - TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"` + // SheetId is a required field + SheetId *string `min:"1" type:"string" required:"true"` + + // The selected visuals that the filter is applied to. + VisualIds []*string `type:"list"` } // String returns the string representation. @@ -32837,7 +66387,7 @@ type ListTemplateAliasesInput struct { // 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 ListTemplateAliasesInput) String() string { +func (s SheetVisualScopingConfiguration) String() string { return awsutil.Prettify(s) } @@ -32846,27 +66396,21 @@ func (s ListTemplateAliasesInput) String() string { // 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 ListTemplateAliasesInput) GoString() string { +func (s SheetVisualScopingConfiguration) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListTemplateAliasesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListTemplateAliasesInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) +func (s *SheetVisualScopingConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SheetVisualScopingConfiguration"} + if s.Scope == nil { + invalidParams.Add(request.NewErrParamRequired("Scope")) } - if s.TemplateId == nil { - invalidParams.Add(request.NewErrParamRequired("TemplateId")) + if s.SheetId == nil { + invalidParams.Add(request.NewErrParamRequired("SheetId")) } - if s.TemplateId != nil && len(*s.TemplateId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1)) + if s.SheetId != nil && len(*s.SheetId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SheetId", 1)) } if invalidParams.Len() > 0 { @@ -32875,44 +66419,36 @@ func (s *ListTemplateAliasesInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *ListTemplateAliasesInput) SetAwsAccountId(v string) *ListTemplateAliasesInput { - s.AwsAccountId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListTemplateAliasesInput) SetMaxResults(v int64) *ListTemplateAliasesInput { - s.MaxResults = &v +// SetScope sets the Scope field's value. +func (s *SheetVisualScopingConfiguration) SetScope(v string) *SheetVisualScopingConfiguration { + s.Scope = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListTemplateAliasesInput) SetNextToken(v string) *ListTemplateAliasesInput { - s.NextToken = &v +// SetSheetId sets the SheetId field's value. +func (s *SheetVisualScopingConfiguration) SetSheetId(v string) *SheetVisualScopingConfiguration { + s.SheetId = &v return s } -// SetTemplateId sets the TemplateId field's value. -func (s *ListTemplateAliasesInput) SetTemplateId(v string) *ListTemplateAliasesInput { - s.TemplateId = &v +// SetVisualIds sets the VisualIds field's value. +func (s *SheetVisualScopingConfiguration) SetVisualIds(v []*string) *SheetVisualScopingConfiguration { + s.VisualIds = v return s } -type ListTemplateAliasesOutput struct { +// The text format for the title. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type ShortFormatText struct { _ struct{} `type:"structure"` - // The token for the next set of results, or null if there are no more results. - NextToken *string `type:"string"` - - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` - - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // Plain text format. + PlainText *string `min:"1" type:"string"` - // A structure containing the list of the template's aliases. - TemplateAliasList []*TemplateAlias `type:"list"` + // Rich text. Examples of rich text include bold, underline, and italics. + RichText *string `min:"1" type:"string"` } // String returns the string representation. @@ -32920,7 +66456,7 @@ type ListTemplateAliasesOutput struct { // 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 ListTemplateAliasesOutput) String() string { +func (s ShortFormatText) String() string { return awsutil.Prettify(s) } @@ -32929,53 +66465,55 @@ func (s ListTemplateAliasesOutput) String() string { // 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 ListTemplateAliasesOutput) GoString() string { +func (s ShortFormatText) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListTemplateAliasesOutput) SetNextToken(v string) *ListTemplateAliasesOutput { - s.NextToken = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *ShortFormatText) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ShortFormatText"} + if s.PlainText != nil && len(*s.PlainText) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PlainText", 1)) + } + if s.RichText != nil && len(*s.RichText) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RichText", 1)) + } -// SetRequestId sets the RequestId field's value. -func (s *ListTemplateAliasesOutput) SetRequestId(v string) *ListTemplateAliasesOutput { - s.RequestId = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetStatus sets the Status field's value. -func (s *ListTemplateAliasesOutput) SetStatus(v int64) *ListTemplateAliasesOutput { - s.Status = &v +// SetPlainText sets the PlainText field's value. +func (s *ShortFormatText) SetPlainText(v string) *ShortFormatText { + s.PlainText = &v return s } -// SetTemplateAliasList sets the TemplateAliasList field's value. -func (s *ListTemplateAliasesOutput) SetTemplateAliasList(v []*TemplateAlias) *ListTemplateAliasesOutput { - s.TemplateAliasList = v +// SetRichText sets the RichText field's value. +func (s *ShortFormatText) SetRichText(v string) *ShortFormatText { + s.RichText = &v return s } -type ListTemplateVersionsInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// A SignupResponse object that contains a summary of a newly created account. +type SignupResponse struct { + _ struct{} `type:"structure"` - // The ID of the Amazon Web Services account that contains the templates that - // you're listing. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // The name of your Amazon QuickSight account. + AccountName *string `locationName:"accountName" type:"string"` - // The maximum number of results to be returned per request. - MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` + // The type of Active Directory that is being used to authenticate the Amazon + // QuickSight account. Valid values are SIMPLE_AD, AD_CONNECTOR, and MICROSOFT_AD. + DirectoryType *string `locationName:"directoryType" type:"string"` - // The token for the next set of results, or null if there are no more results. - NextToken *string `location:"querystring" locationName:"next-token" type:"string"` + // A Boolean that is TRUE if the Amazon QuickSight uses IAM as an authentication + // method. + IAMUser *bool `type:"boolean"` - // The ID for the template. - // - // TemplateId is a required field - TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"` + // The user login name for your Amazon QuickSight account. + UserLoginName *string `locationName:"userLoginName" type:"string"` } // String returns the string representation. @@ -32983,7 +66521,7 @@ type ListTemplateVersionsInput struct { // 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 ListTemplateVersionsInput) String() string { +func (s SignupResponse) String() string { return awsutil.Prettify(s) } @@ -32992,73 +66530,40 @@ func (s ListTemplateVersionsInput) String() string { // 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 ListTemplateVersionsInput) GoString() string { +func (s SignupResponse) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *ListTemplateVersionsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListTemplateVersionsInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) - } - if s.TemplateId == nil { - invalidParams.Add(request.NewErrParamRequired("TemplateId")) - } - if s.TemplateId != nil && len(*s.TemplateId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *ListTemplateVersionsInput) SetAwsAccountId(v string) *ListTemplateVersionsInput { - s.AwsAccountId = &v +// SetAccountName sets the AccountName field's value. +func (s *SignupResponse) SetAccountName(v string) *SignupResponse { + s.AccountName = &v return s } -// SetMaxResults sets the MaxResults field's value. -func (s *ListTemplateVersionsInput) SetMaxResults(v int64) *ListTemplateVersionsInput { - s.MaxResults = &v +// SetDirectoryType sets the DirectoryType field's value. +func (s *SignupResponse) SetDirectoryType(v string) *SignupResponse { + s.DirectoryType = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListTemplateVersionsInput) SetNextToken(v string) *ListTemplateVersionsInput { - s.NextToken = &v +// SetIAMUser sets the IAMUser field's value. +func (s *SignupResponse) SetIAMUser(v bool) *SignupResponse { + s.IAMUser = &v return s } -// SetTemplateId sets the TemplateId field's value. -func (s *ListTemplateVersionsInput) SetTemplateId(v string) *ListTemplateVersionsInput { - s.TemplateId = &v +// SetUserLoginName sets the UserLoginName field's value. +func (s *SignupResponse) SetUserLoginName(v string) *SignupResponse { + s.UserLoginName = &v return s } -type ListTemplateVersionsOutput struct { +// The simple cluster marker of the cluster marker. +type SimpleClusterMarker struct { _ struct{} `type:"structure"` - // The token for the next set of results, or null if there are no more results. - NextToken *string `type:"string"` - - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` - - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` - - // A structure containing a list of all the versions of the specified template. - TemplateVersionSummaryList []*TemplateVersionSummary `type:"list"` + // The color of the simple cluster marker. + Color *string `type:"string"` } // String returns the string representation. @@ -33066,7 +66571,7 @@ type ListTemplateVersionsOutput struct { // 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 ListTemplateVersionsOutput) String() string { +func (s SimpleClusterMarker) String() string { return awsutil.Prettify(s) } @@ -33075,48 +66580,69 @@ func (s ListTemplateVersionsOutput) String() string { // 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 ListTemplateVersionsOutput) GoString() string { +func (s SimpleClusterMarker) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListTemplateVersionsOutput) SetNextToken(v string) *ListTemplateVersionsOutput { - s.NextToken = &v +// SetColor sets the Color field's value. +func (s *SimpleClusterMarker) SetColor(v string) *SimpleClusterMarker { + s.Color = &v return s } -// SetRequestId sets the RequestId field's value. -func (s *ListTemplateVersionsOutput) SetRequestId(v string) *ListTemplateVersionsOutput { - s.RequestId = &v - return s +// The display options of a control. +type SliderControlDisplayOptions struct { + _ struct{} `type:"structure"` + + // The options to configure the title visibility, name, and font size. + TitleOptions *LabelOptions `type:"structure"` } -// SetStatus sets the Status field's value. -func (s *ListTemplateVersionsOutput) SetStatus(v int64) *ListTemplateVersionsOutput { - s.Status = &v - return s +// 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 SliderControlDisplayOptions) String() string { + return awsutil.Prettify(s) } -// SetTemplateVersionSummaryList sets the TemplateVersionSummaryList field's value. -func (s *ListTemplateVersionsOutput) SetTemplateVersionSummaryList(v []*TemplateVersionSummary) *ListTemplateVersionsOutput { - s.TemplateVersionSummaryList = v +// 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 SliderControlDisplayOptions) GoString() string { + return s.String() +} + +// SetTitleOptions sets the TitleOptions field's value. +func (s *SliderControlDisplayOptions) SetTitleOptions(v *LabelOptions) *SliderControlDisplayOptions { + s.TitleOptions = v return s } -type ListTemplatesInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// Options that determine the layout and display options of a chart's small +// multiples. +type SmallMultiplesOptions struct { + _ struct{} `type:"structure"` - // The ID of the Amazon Web Services account that contains the templates that - // you're listing. + // Sets the maximum number of visible columns to display in the grid of small + // multiples panels. // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // The default is Auto, which automatically adjusts the columns in the grid + // to fit the overall layout and size of the given chart. + MaxVisibleColumns *int64 `min:"1" type:"long"` - // The maximum number of results to be returned per request. - MaxResults *int64 `location:"querystring" locationName:"max-result" min:"1" type:"integer"` + // Sets the maximum number of visible rows to display in the grid of small multiples + // panels. + // + // The default value is Auto, which automatically adjusts the rows in the grid + // to fit the overall layout and size of the given chart. + MaxVisibleRows *int64 `min:"1" type:"long"` - // The token for the next set of results, or null if there are no more results. - NextToken *string `location:"querystring" locationName:"next-token" type:"string"` + // Configures the display options for each small multiples panel. + PanelConfiguration *PanelConfiguration `type:"structure"` } // String returns the string representation. @@ -33124,7 +66650,7 @@ type ListTemplatesInput struct { // 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 ListTemplatesInput) String() string { +func (s SmallMultiplesOptions) String() string { return awsutil.Prettify(s) } @@ -33133,21 +66659,18 @@ func (s ListTemplatesInput) String() string { // 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 ListTemplatesInput) GoString() string { +func (s SmallMultiplesOptions) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListTemplatesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListTemplatesInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) +func (s *SmallMultiplesOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SmallMultiplesOptions"} + if s.MaxVisibleColumns != nil && *s.MaxVisibleColumns < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxVisibleColumns", 1)) } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + if s.MaxVisibleRows != nil && *s.MaxVisibleRows < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxVisibleRows", 1)) } if invalidParams.Len() > 0 { @@ -33156,38 +66679,42 @@ func (s *ListTemplatesInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *ListTemplatesInput) SetAwsAccountId(v string) *ListTemplatesInput { - s.AwsAccountId = &v +// SetMaxVisibleColumns sets the MaxVisibleColumns field's value. +func (s *SmallMultiplesOptions) SetMaxVisibleColumns(v int64) *SmallMultiplesOptions { + s.MaxVisibleColumns = &v return s } -// SetMaxResults sets the MaxResults field's value. -func (s *ListTemplatesInput) SetMaxResults(v int64) *ListTemplatesInput { - s.MaxResults = &v +// SetMaxVisibleRows sets the MaxVisibleRows field's value. +func (s *SmallMultiplesOptions) SetMaxVisibleRows(v int64) *SmallMultiplesOptions { + s.MaxVisibleRows = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListTemplatesInput) SetNextToken(v string) *ListTemplatesInput { - s.NextToken = &v +// SetPanelConfiguration sets the PanelConfiguration field's value. +func (s *SmallMultiplesOptions) SetPanelConfiguration(v *PanelConfiguration) *SmallMultiplesOptions { + s.PanelConfiguration = v return s } -type ListTemplatesOutput struct { +// The parameters for Snowflake. +type SnowflakeParameters struct { _ struct{} `type:"structure"` - // The token for the next set of results, or null if there are no more results. - NextToken *string `type:"string"` - - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // Database. + // + // Database is a required field + Database *string `min:"1" type:"string" required:"true"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // Host. + // + // Host is a required field + Host *string `min:"1" type:"string" required:"true"` - // A structure containing information about the templates in the list. - TemplateSummaryList []*TemplateSummary `type:"list"` + // Warehouse. + // + // Warehouse is a required field + Warehouse *string `type:"string" required:"true"` } // String returns the string representation. @@ -33195,7 +66722,7 @@ type ListTemplatesOutput struct { // 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 ListTemplatesOutput) String() string { +func (s SnowflakeParameters) String() string { return awsutil.Prettify(s) } @@ -33204,53 +66731,68 @@ func (s ListTemplatesOutput) String() string { // 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 ListTemplatesOutput) GoString() string { +func (s SnowflakeParameters) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListTemplatesOutput) SetNextToken(v string) *ListTemplatesOutput { - s.NextToken = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *SnowflakeParameters) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SnowflakeParameters"} + if s.Database == nil { + invalidParams.Add(request.NewErrParamRequired("Database")) + } + if s.Database != nil && len(*s.Database) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Database", 1)) + } + if s.Host == nil { + invalidParams.Add(request.NewErrParamRequired("Host")) + } + if s.Host != nil && len(*s.Host) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Host", 1)) + } + if s.Warehouse == nil { + invalidParams.Add(request.NewErrParamRequired("Warehouse")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetRequestId sets the RequestId field's value. -func (s *ListTemplatesOutput) SetRequestId(v string) *ListTemplatesOutput { - s.RequestId = &v +// SetDatabase sets the Database field's value. +func (s *SnowflakeParameters) SetDatabase(v string) *SnowflakeParameters { + s.Database = &v return s } -// SetStatus sets the Status field's value. -func (s *ListTemplatesOutput) SetStatus(v int64) *ListTemplatesOutput { - s.Status = &v +// SetHost sets the Host field's value. +func (s *SnowflakeParameters) SetHost(v string) *SnowflakeParameters { + s.Host = &v return s } -// SetTemplateSummaryList sets the TemplateSummaryList field's value. -func (s *ListTemplatesOutput) SetTemplateSummaryList(v []*TemplateSummary) *ListTemplatesOutput { - s.TemplateSummaryList = v +// SetWarehouse sets the Warehouse field's value. +func (s *SnowflakeParameters) SetWarehouse(v string) *SnowflakeParameters { + s.Warehouse = &v return s } -type ListThemeAliasesInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// The configuration of spacing (often a margin or padding). +type Spacing struct { + _ struct{} `type:"structure"` - // The ID of the Amazon Web Services account that contains the theme aliases - // that you're listing. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // Define the bottom spacing. + Bottom *string `type:"string"` - // The maximum number of results to be returned per request. - MaxResults *int64 `location:"querystring" locationName:"max-result" min:"1" type:"integer"` + // Define the left spacing. + Left *string `type:"string"` - // The token for the next set of results, or null if there are no more results. - NextToken *string `location:"querystring" locationName:"next-token" type:"string"` + // Define the right spacing. + Right *string `type:"string"` - // The ID for the theme. - // - // ThemeId is a required field - ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"` + // Define the top spacing. + Top *string `type:"string"` } // String returns the string representation. @@ -33258,7 +66800,7 @@ type ListThemeAliasesInput struct { // 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 ListThemeAliasesInput) String() string { +func (s Spacing) String() string { return awsutil.Prettify(s) } @@ -33267,73 +66809,47 @@ func (s ListThemeAliasesInput) String() string { // 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 ListThemeAliasesInput) GoString() string { +func (s Spacing) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *ListThemeAliasesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListThemeAliasesInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) - } - if s.ThemeId == nil { - invalidParams.Add(request.NewErrParamRequired("ThemeId")) - } - if s.ThemeId != nil && len(*s.ThemeId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *ListThemeAliasesInput) SetAwsAccountId(v string) *ListThemeAliasesInput { - s.AwsAccountId = &v +// SetBottom sets the Bottom field's value. +func (s *Spacing) SetBottom(v string) *Spacing { + s.Bottom = &v return s } -// SetMaxResults sets the MaxResults field's value. -func (s *ListThemeAliasesInput) SetMaxResults(v int64) *ListThemeAliasesInput { - s.MaxResults = &v +// SetLeft sets the Left field's value. +func (s *Spacing) SetLeft(v string) *Spacing { + s.Left = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListThemeAliasesInput) SetNextToken(v string) *ListThemeAliasesInput { - s.NextToken = &v +// SetRight sets the Right field's value. +func (s *Spacing) SetRight(v string) *Spacing { + s.Right = &v return s } -// SetThemeId sets the ThemeId field's value. -func (s *ListThemeAliasesInput) SetThemeId(v string) *ListThemeAliasesInput { - s.ThemeId = &v +// SetTop sets the Top field's value. +func (s *Spacing) SetTop(v string) *Spacing { + s.Top = &v return s } -type ListThemeAliasesOutput struct { +// The parameters for Spark. +type SparkParameters struct { _ struct{} `type:"structure"` - // The token for the next set of results, or null if there are no more results. - NextToken *string `type:"string"` - - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` - - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // Host. + // + // Host is a required field + Host *string `min:"1" type:"string" required:"true"` - // A structure containing the list of the theme's aliases. - ThemeAliasList []*ThemeAlias `type:"list"` + // Port. + // + // Port is a required field + Port *int64 `min:"1" type:"integer" required:"true"` } // String returns the string representation. @@ -33341,7 +66857,7 @@ type ListThemeAliasesOutput struct { // 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 ListThemeAliasesOutput) String() string { +func (s SparkParameters) String() string { return awsutil.Prettify(s) } @@ -33350,53 +66866,62 @@ func (s ListThemeAliasesOutput) String() string { // 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 ListThemeAliasesOutput) GoString() string { +func (s SparkParameters) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListThemeAliasesOutput) SetNextToken(v string) *ListThemeAliasesOutput { - s.NextToken = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *SparkParameters) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SparkParameters"} + if s.Host == nil { + invalidParams.Add(request.NewErrParamRequired("Host")) + } + if s.Host != nil && len(*s.Host) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Host", 1)) + } + if s.Port == nil { + invalidParams.Add(request.NewErrParamRequired("Port")) + } + if s.Port != nil && *s.Port < 1 { + invalidParams.Add(request.NewErrParamMinValue("Port", 1)) + } -// SetRequestId sets the RequestId field's value. -func (s *ListThemeAliasesOutput) SetRequestId(v string) *ListThemeAliasesOutput { - s.RequestId = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetStatus sets the Status field's value. -func (s *ListThemeAliasesOutput) SetStatus(v int64) *ListThemeAliasesOutput { - s.Status = &v +// SetHost sets the Host field's value. +func (s *SparkParameters) SetHost(v string) *SparkParameters { + s.Host = &v return s } -// SetThemeAliasList sets the ThemeAliasList field's value. -func (s *ListThemeAliasesOutput) SetThemeAliasList(v []*ThemeAlias) *ListThemeAliasesOutput { - s.ThemeAliasList = v +// SetPort sets the Port field's value. +func (s *SparkParameters) SetPort(v int64) *SparkParameters { + s.Port = &v return s } -type ListThemeVersionsInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// The parameters for SQL Server. +type SqlServerParameters struct { + _ struct{} `type:"structure"` - // The ID of the Amazon Web Services account that contains the themes that you're - // listing. + // Database. // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - - // The maximum number of results to be returned per request. - MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` + // Database is a required field + Database *string `min:"1" type:"string" required:"true"` - // The token for the next set of results, or null if there are no more results. - NextToken *string `location:"querystring" locationName:"next-token" type:"string"` + // Host. + // + // Host is a required field + Host *string `min:"1" type:"string" required:"true"` - // The ID for the theme. + // Port. // - // ThemeId is a required field - ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"` + // Port is a required field + Port *int64 `min:"1" type:"integer" required:"true"` } // String returns the string representation. @@ -33404,7 +66929,7 @@ type ListThemeVersionsInput struct { // 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 ListThemeVersionsInput) String() string { +func (s SqlServerParameters) String() string { return awsutil.Prettify(s) } @@ -33413,27 +66938,30 @@ func (s ListThemeVersionsInput) String() string { // 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 ListThemeVersionsInput) GoString() string { +func (s SqlServerParameters) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListThemeVersionsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListThemeVersionsInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) +func (s *SqlServerParameters) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SqlServerParameters"} + if s.Database == nil { + invalidParams.Add(request.NewErrParamRequired("Database")) } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + if s.Database != nil && len(*s.Database) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Database", 1)) } - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + if s.Host == nil { + invalidParams.Add(request.NewErrParamRequired("Host")) } - if s.ThemeId == nil { - invalidParams.Add(request.NewErrParamRequired("ThemeId")) + if s.Host != nil && len(*s.Host) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Host", 1)) } - if s.ThemeId != nil && len(*s.ThemeId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1)) + if s.Port == nil { + invalidParams.Add(request.NewErrParamRequired("Port")) + } + if s.Port != nil && *s.Port < 1 { + invalidParams.Add(request.NewErrParamMinValue("Port", 1)) } if invalidParams.Len() > 0 { @@ -33442,44 +66970,67 @@ func (s *ListThemeVersionsInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *ListThemeVersionsInput) SetAwsAccountId(v string) *ListThemeVersionsInput { - s.AwsAccountId = &v +// SetDatabase sets the Database field's value. +func (s *SqlServerParameters) SetDatabase(v string) *SqlServerParameters { + s.Database = &v return s } -// SetMaxResults sets the MaxResults field's value. -func (s *ListThemeVersionsInput) SetMaxResults(v int64) *ListThemeVersionsInput { - s.MaxResults = &v +// SetHost sets the Host field's value. +func (s *SqlServerParameters) SetHost(v string) *SqlServerParameters { + s.Host = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListThemeVersionsInput) SetNextToken(v string) *ListThemeVersionsInput { - s.NextToken = &v +// SetPort sets the Port field's value. +func (s *SqlServerParameters) SetPort(v int64) *SqlServerParameters { + s.Port = &v return s } -// SetThemeId sets the ThemeId field's value. -func (s *ListThemeVersionsInput) SetThemeId(v string) *ListThemeVersionsInput { - s.ThemeId = &v - return s +// Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects +// to your underlying data source. +type SslProperties struct { + _ struct{} `type:"structure"` + + // A Boolean option to control whether SSL should be disabled. + DisableSsl *bool `type:"boolean"` } -type ListThemeVersionsOutput struct { - _ struct{} `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 SslProperties) String() string { + return awsutil.Prettify(s) +} - // The token for the next set of results, or null if there are no more results. - NextToken *string `type:"string"` +// 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 SslProperties) GoString() string { + return s.String() +} - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` +// SetDisableSsl sets the DisableSsl field's value. +func (s *SslProperties) SetDisableSsl(v bool) *SslProperties { + s.DisableSsl = &v + return s +} - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` +// The default values of the StringParameterDeclaration. +type StringDefaultValues struct { + _ struct{} `type:"structure"` - // A structure containing a list of all the versions of the specified theme. - ThemeVersionSummaryList []*ThemeVersionSummary `type:"list"` + // The dynamic value of the StringDefaultValues. Different defaults displayed + // according to users, groups, and values mapping. + DynamicValue *DynamicDefaultValue `type:"structure"` + + // The static values of the DecimalDefaultValues. + StaticValues []*string `type:"list"` } // String returns the string representation. @@ -33487,7 +67038,7 @@ type ListThemeVersionsOutput struct { // 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 ListThemeVersionsOutput) String() string { +func (s StringDefaultValues) String() string { return awsutil.Prettify(s) } @@ -33496,57 +67047,46 @@ func (s ListThemeVersionsOutput) String() string { // 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 ListThemeVersionsOutput) GoString() string { +func (s StringDefaultValues) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListThemeVersionsOutput) SetNextToken(v string) *ListThemeVersionsOutput { - s.NextToken = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *StringDefaultValues) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StringDefaultValues"} + if s.DynamicValue != nil { + if err := s.DynamicValue.Validate(); err != nil { + invalidParams.AddNested("DynamicValue", err.(request.ErrInvalidParams)) + } + } -// SetRequestId sets the RequestId field's value. -func (s *ListThemeVersionsOutput) SetRequestId(v string) *ListThemeVersionsOutput { - s.RequestId = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetStatus sets the Status field's value. -func (s *ListThemeVersionsOutput) SetStatus(v int64) *ListThemeVersionsOutput { - s.Status = &v +// SetDynamicValue sets the DynamicValue field's value. +func (s *StringDefaultValues) SetDynamicValue(v *DynamicDefaultValue) *StringDefaultValues { + s.DynamicValue = v return s } -// SetThemeVersionSummaryList sets the ThemeVersionSummaryList field's value. -func (s *ListThemeVersionsOutput) SetThemeVersionSummaryList(v []*ThemeVersionSummary) *ListThemeVersionsOutput { - s.ThemeVersionSummaryList = v +// SetStaticValues sets the StaticValues field's value. +func (s *StringDefaultValues) SetStaticValues(v []*string) *StringDefaultValues { + s.StaticValues = v return s } -type ListThemesInput struct { - _ struct{} `type:"structure" nopayload:"true"` - - // The ID of the Amazon Web Services account that contains the themes that you're - // listing. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - - // The maximum number of results to be returned per request. - MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` +// Formatting configuration for string fields. +type StringFormatConfiguration struct { + _ struct{} `type:"structure"` - // The token for the next set of results, or null if there are no more results. - NextToken *string `location:"querystring" locationName:"next-token" type:"string"` + // The options that determine the null value format configuration. + NullValueFormatConfiguration *NullValueFormatConfiguration `type:"structure"` - // The type of themes that you want to list. Valid options include the following: - // - // * ALL (default)- Display all existing themes. - // - // * CUSTOM - Display only the themes created by people using Amazon QuickSight. - // - // * QUICKSIGHT - Display only the starting themes defined by Amazon QuickSight. - Type *string `location:"querystring" locationName:"type" type:"string" enum:"ThemeType"` + // The formatting configuration for numeric strings. + NumericFormatConfiguration *NumericFormatConfiguration `type:"structure"` } // String returns the string representation. @@ -33554,7 +67094,7 @@ type ListThemesInput struct { // 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 ListThemesInput) String() string { +func (s StringFormatConfiguration) String() string { return awsutil.Prettify(s) } @@ -33563,21 +67103,22 @@ func (s ListThemesInput) String() string { // 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 ListThemesInput) GoString() string { +func (s StringFormatConfiguration) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListThemesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListThemesInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) +func (s *StringFormatConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StringFormatConfiguration"} + if s.NullValueFormatConfiguration != nil { + if err := s.NullValueFormatConfiguration.Validate(); err != nil { + invalidParams.AddNested("NullValueFormatConfiguration", err.(request.ErrInvalidParams)) + } } - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + if s.NumericFormatConfiguration != nil { + if err := s.NumericFormatConfiguration.Validate(); err != nil { + invalidParams.AddNested("NumericFormatConfiguration", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -33586,44 +67127,31 @@ func (s *ListThemesInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *ListThemesInput) SetAwsAccountId(v string) *ListThemesInput { - s.AwsAccountId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListThemesInput) SetMaxResults(v int64) *ListThemesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListThemesInput) SetNextToken(v string) *ListThemesInput { - s.NextToken = &v +// SetNullValueFormatConfiguration sets the NullValueFormatConfiguration field's value. +func (s *StringFormatConfiguration) SetNullValueFormatConfiguration(v *NullValueFormatConfiguration) *StringFormatConfiguration { + s.NullValueFormatConfiguration = v return s } -// SetType sets the Type field's value. -func (s *ListThemesInput) SetType(v string) *ListThemesInput { - s.Type = &v +// SetNumericFormatConfiguration sets the NumericFormatConfiguration field's value. +func (s *StringFormatConfiguration) SetNumericFormatConfiguration(v *NumericFormatConfiguration) *StringFormatConfiguration { + s.NumericFormatConfiguration = v return s } -type ListThemesOutput struct { +// A string parameter. +type StringParameter struct { _ struct{} `type:"structure"` - // The token for the next set of results, or null if there are no more results. - NextToken *string `type:"string"` - - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` - - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // A display name for a string parameter. + // + // Name is a required field + Name *string `type:"string" required:"true"` - // Information about the themes in the list. - ThemeSummaryList []*ThemeSummary `type:"list"` + // The values of a string parameter. + // + // Values is a required field + Values []*string `type:"list" required:"true"` } // String returns the string representation. @@ -33631,7 +67159,7 @@ type ListThemesOutput struct { // 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 ListThemesOutput) String() string { +func (s StringParameter) String() string { return awsutil.Prettify(s) } @@ -33640,59 +67168,60 @@ func (s ListThemesOutput) String() string { // 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 ListThemesOutput) GoString() string { +func (s StringParameter) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListThemesOutput) SetNextToken(v string) *ListThemesOutput { - s.NextToken = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *StringParameter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StringParameter"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Values == nil { + invalidParams.Add(request.NewErrParamRequired("Values")) + } -// SetRequestId sets the RequestId field's value. -func (s *ListThemesOutput) SetRequestId(v string) *ListThemesOutput { - s.RequestId = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetStatus sets the Status field's value. -func (s *ListThemesOutput) SetStatus(v int64) *ListThemesOutput { - s.Status = &v +// SetName sets the Name field's value. +func (s *StringParameter) SetName(v string) *StringParameter { + s.Name = &v return s } -// SetThemeSummaryList sets the ThemeSummaryList field's value. -func (s *ListThemesOutput) SetThemeSummaryList(v []*ThemeSummary) *ListThemesOutput { - s.ThemeSummaryList = v +// SetValues sets the Values field's value. +func (s *StringParameter) SetValues(v []*string) *StringParameter { + s.Values = v return s } -type ListUserGroupsInput struct { - _ struct{} `type:"structure" nopayload:"true"` - - // The Amazon Web Services account ID that the user is in. Currently, you use - // the ID for the Amazon Web Services account that contains your Amazon QuickSight - // account. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` +// A parameter declaration for the String data type. +type StringParameterDeclaration struct { + _ struct{} `type:"structure"` - // The maximum number of results to return from this request. - MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` + // The default values of a parameter. If the parameter is a single-value parameter, + // a maximum of one default value can be provided. + DefaultValues *StringDefaultValues `type:"structure"` - // The namespace. Currently, you should set this to default. + // The name of the parameter that is being declared. // - // Namespace is a required field - Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` - - // A pagination token that can be used in a subsequent request. - NextToken *string `location:"querystring" locationName:"next-token" type:"string"` + // Name is a required field + Name *string `min:"1" type:"string" required:"true"` - // The Amazon QuickSight user name that you want to list group memberships for. + // The value type determines whether the parameter is a single-value or multi-value + // parameter. // - // UserName is a required field - UserName *string `location:"uri" locationName:"UserName" min:"1" type:"string" required:"true"` + // ParameterValueType is a required field + ParameterValueType *string `type:"string" required:"true" enum:"ParameterValueType"` + + // The configuration that defines the default value of a String parameter when + // a value has not been set. + ValueWhenUnset *StringValueWhenUnsetConfiguration `type:"structure"` } // String returns the string representation. @@ -33700,7 +67229,7 @@ type ListUserGroupsInput struct { // 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 ListUserGroupsInput) String() string { +func (s StringParameterDeclaration) String() string { return awsutil.Prettify(s) } @@ -33709,33 +67238,26 @@ func (s ListUserGroupsInput) String() string { // 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 ListUserGroupsInput) GoString() string { +func (s StringParameterDeclaration) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListUserGroupsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListUserGroupsInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) - } - if s.Namespace == nil { - invalidParams.Add(request.NewErrParamRequired("Namespace")) +func (s *StringParameterDeclaration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StringParameterDeclaration"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) } - if s.Namespace != nil && len(*s.Namespace) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) } - if s.UserName == nil { - invalidParams.Add(request.NewErrParamRequired("UserName")) + if s.ParameterValueType == nil { + invalidParams.Add(request.NewErrParamRequired("ParameterValueType")) } - if s.UserName != nil && len(*s.UserName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UserName", 1)) + if s.DefaultValues != nil { + if err := s.DefaultValues.Validate(); err != nil { + invalidParams.AddNested("DefaultValues", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -33744,50 +67266,48 @@ func (s *ListUserGroupsInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *ListUserGroupsInput) SetAwsAccountId(v string) *ListUserGroupsInput { - s.AwsAccountId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListUserGroupsInput) SetMaxResults(v int64) *ListUserGroupsInput { - s.MaxResults = &v +// SetDefaultValues sets the DefaultValues field's value. +func (s *StringParameterDeclaration) SetDefaultValues(v *StringDefaultValues) *StringParameterDeclaration { + s.DefaultValues = v return s } -// SetNamespace sets the Namespace field's value. -func (s *ListUserGroupsInput) SetNamespace(v string) *ListUserGroupsInput { - s.Namespace = &v +// SetName sets the Name field's value. +func (s *StringParameterDeclaration) SetName(v string) *StringParameterDeclaration { + s.Name = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListUserGroupsInput) SetNextToken(v string) *ListUserGroupsInput { - s.NextToken = &v +// SetParameterValueType sets the ParameterValueType field's value. +func (s *StringParameterDeclaration) SetParameterValueType(v string) *StringParameterDeclaration { + s.ParameterValueType = &v return s } -// SetUserName sets the UserName field's value. -func (s *ListUserGroupsInput) SetUserName(v string) *ListUserGroupsInput { - s.UserName = &v +// SetValueWhenUnset sets the ValueWhenUnset field's value. +func (s *StringParameterDeclaration) SetValueWhenUnset(v *StringValueWhenUnsetConfiguration) *StringParameterDeclaration { + s.ValueWhenUnset = v return s } -type ListUserGroupsOutput struct { +// The configuration that defines the default value of a String parameter when +// a value has not been set. +type StringValueWhenUnsetConfiguration struct { _ struct{} `type:"structure"` - // The list of groups the user is a member of. - GroupList []*Group `type:"list"` - - // A pagination token that can be used in a subsequent request. - NextToken *string `type:"string"` - - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // A custom value that's used when the value of a parameter isn't set. + // + // CustomValue is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by StringValueWhenUnsetConfiguration's + // String and GoString methods. + CustomValue *string `type:"string" sensitive:"true"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The built-in options for default values. The value can be one of the following: + // + // * RECOMMENDED: The recommended value. + // + // * NULL: The NULL value. + ValueWhenUnsetOption *string `type:"string" enum:"ValueWhenUnsetOption"` } // String returns the string representation. @@ -33795,7 +67315,7 @@ type ListUserGroupsOutput struct { // 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 ListUserGroupsOutput) String() string { +func (s StringValueWhenUnsetConfiguration) String() string { return awsutil.Prettify(s) } @@ -33804,54 +67324,46 @@ func (s ListUserGroupsOutput) String() string { // 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 ListUserGroupsOutput) GoString() string { +func (s StringValueWhenUnsetConfiguration) GoString() string { return s.String() } -// SetGroupList sets the GroupList field's value. -func (s *ListUserGroupsOutput) SetGroupList(v []*Group) *ListUserGroupsOutput { - s.GroupList = v +// SetCustomValue sets the CustomValue field's value. +func (s *StringValueWhenUnsetConfiguration) SetCustomValue(v string) *StringValueWhenUnsetConfiguration { + s.CustomValue = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListUserGroupsOutput) SetNextToken(v string) *ListUserGroupsOutput { - s.NextToken = &v +// SetValueWhenUnsetOption sets the ValueWhenUnsetOption field's value. +func (s *StringValueWhenUnsetConfiguration) SetValueWhenUnsetOption(v string) *StringValueWhenUnsetConfiguration { + s.ValueWhenUnsetOption = &v return s } -// SetRequestId sets the RequestId field's value. -func (s *ListUserGroupsOutput) SetRequestId(v string) *ListUserGroupsOutput { - s.RequestId = &v - return s -} +// The subtotal options. +type SubtotalOptions struct { + _ struct{} `type:"structure"` -// SetStatus sets the Status field's value. -func (s *ListUserGroupsOutput) SetStatus(v int64) *ListUserGroupsOutput { - s.Status = &v - return s -} + // The custom label string for the subtotal cells. + CustomLabel *string `type:"string"` -type ListUsersInput struct { - _ struct{} `type:"structure" nopayload:"true"` + // The field level (all, custom, last) for the subtotal cells. + FieldLevel *string `type:"string" enum:"PivotTableSubtotalLevel"` - // The ID for the Amazon Web Services account that the user is in. Currently, - // you use the ID for the Amazon Web Services account that contains your Amazon - // QuickSight account. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // The optional configuration of subtotal cells. + FieldLevelOptions []*PivotTableFieldSubtotalOptions `type:"list"` - // The maximum number of results to return from this request. - MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` + // The cell styling options for the subtotals of header cells. + MetricHeaderCellStyle *TableCellStyle `type:"structure"` - // The namespace. Currently, you should set this to default. - // - // Namespace is a required field - Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` + // The cell styling options for the subtotal cells. + TotalCellStyle *TableCellStyle `type:"structure"` - // A pagination token that can be used in a subsequent request. - NextToken *string `location:"querystring" locationName:"next-token" type:"string"` + // The visibility configuration for the subtotal cells. + TotalsVisibility *string `type:"string" enum:"Visibility"` + + // The cell styling options for the subtotals of value cells. + ValueCellStyle *TableCellStyle `type:"structure"` } // String returns the string representation. @@ -33859,7 +67371,7 @@ type ListUsersInput struct { // 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 ListUsersInput) String() string { +func (s SubtotalOptions) String() string { return awsutil.Prettify(s) } @@ -33868,27 +67380,37 @@ func (s ListUsersInput) String() string { // 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 ListUsersInput) GoString() string { +func (s SubtotalOptions) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListUsersInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListUsersInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) +func (s *SubtotalOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SubtotalOptions"} + if s.FieldLevelOptions != nil { + for i, v := range s.FieldLevelOptions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "FieldLevelOptions", i), err.(request.ErrInvalidParams)) + } + } } - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + if s.MetricHeaderCellStyle != nil { + if err := s.MetricHeaderCellStyle.Validate(); err != nil { + invalidParams.AddNested("MetricHeaderCellStyle", err.(request.ErrInvalidParams)) + } } - if s.Namespace == nil { - invalidParams.Add(request.NewErrParamRequired("Namespace")) + if s.TotalCellStyle != nil { + if err := s.TotalCellStyle.Validate(); err != nil { + invalidParams.AddNested("TotalCellStyle", err.(request.ErrInvalidParams)) + } } - if s.Namespace != nil && len(*s.Namespace) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + if s.ValueCellStyle != nil { + if err := s.ValueCellStyle.Validate(); err != nil { + invalidParams.AddNested("ValueCellStyle", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -33897,155 +67419,100 @@ func (s *ListUsersInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *ListUsersInput) SetAwsAccountId(v string) *ListUsersInput { - s.AwsAccountId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListUsersInput) SetMaxResults(v int64) *ListUsersInput { - s.MaxResults = &v +// SetCustomLabel sets the CustomLabel field's value. +func (s *SubtotalOptions) SetCustomLabel(v string) *SubtotalOptions { + s.CustomLabel = &v return s } -// SetNamespace sets the Namespace field's value. -func (s *ListUsersInput) SetNamespace(v string) *ListUsersInput { - s.Namespace = &v +// SetFieldLevel sets the FieldLevel field's value. +func (s *SubtotalOptions) SetFieldLevel(v string) *SubtotalOptions { + s.FieldLevel = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListUsersInput) SetNextToken(v string) *ListUsersInput { - s.NextToken = &v +// SetFieldLevelOptions sets the FieldLevelOptions field's value. +func (s *SubtotalOptions) SetFieldLevelOptions(v []*PivotTableFieldSubtotalOptions) *SubtotalOptions { + s.FieldLevelOptions = v return s } -type ListUsersOutput struct { - _ struct{} `type:"structure"` - - // A pagination token that can be used in a subsequent request. - NextToken *string `type:"string"` - - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` - - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` - - // The list of users. - UserList []*User `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 ListUsersOutput) 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 ListUsersOutput) GoString() string { - return s.String() -} - -// SetNextToken sets the NextToken field's value. -func (s *ListUsersOutput) SetNextToken(v string) *ListUsersOutput { - s.NextToken = &v +// SetMetricHeaderCellStyle sets the MetricHeaderCellStyle field's value. +func (s *SubtotalOptions) SetMetricHeaderCellStyle(v *TableCellStyle) *SubtotalOptions { + s.MetricHeaderCellStyle = v return s } -// SetRequestId sets the RequestId field's value. -func (s *ListUsersOutput) SetRequestId(v string) *ListUsersOutput { - s.RequestId = &v +// SetTotalCellStyle sets the TotalCellStyle field's value. +func (s *SubtotalOptions) SetTotalCellStyle(v *TableCellStyle) *SubtotalOptions { + s.TotalCellStyle = v return s } -// SetStatus sets the Status field's value. -func (s *ListUsersOutput) SetStatus(v int64) *ListUsersOutput { - s.Status = &v +// SetTotalsVisibility sets the TotalsVisibility field's value. +func (s *SubtotalOptions) SetTotalsVisibility(v string) *SubtotalOptions { + s.TotalsVisibility = &v return s } -// SetUserList sets the UserList field's value. -func (s *ListUsersOutput) SetUserList(v []*User) *ListUsersOutput { - s.UserList = v +// SetValueCellStyle sets the ValueCellStyle field's value. +func (s *SubtotalOptions) SetValueCellStyle(v *TableCellStyle) *SubtotalOptions { + s.ValueCellStyle = v return s } -// A logical table is a unit that joins and that data transformations operate -// on. A logical table has a source, which can be either a physical table or -// result of a join. When a logical table points to a physical table, the logical -// table acts as a mutable copy of that physical table through transform operations. -type LogicalTable struct { +// The aggregated field well for the table. +type TableAggregatedFieldWells struct { _ struct{} `type:"structure"` - // A display name for the logical table. - // - // Alias is a required field - Alias *string `min:"1" type:"string" required:"true"` - - // Transform operations that act on this logical table. - DataTransforms []*TransformOperation `min:"1" type:"list"` + // The group by field well for a pivot table. Values are grouped by group by + // fields. + GroupBy []*DimensionField `type:"list"` - // Source of this logical table. - // - // Source is a required field - Source *LogicalTableSource `type:"structure" required:"true"` + // The values field well for a pivot table. Values are aggregated based on group + // by fields. + Values []*MeasureField `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 LogicalTable) 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 LogicalTable) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *LogicalTable) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "LogicalTable"} - if s.Alias == nil { - invalidParams.Add(request.NewErrParamRequired("Alias")) - } - if s.Alias != nil && len(*s.Alias) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Alias", 1)) - } - if s.DataTransforms != nil && len(s.DataTransforms) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DataTransforms", 1)) - } - if s.Source == nil { - invalidParams.Add(request.NewErrParamRequired("Source")) - } - if s.DataTransforms != nil { - for i, v := range s.DataTransforms { +// value will be replaced with "sensitive". +func (s TableAggregatedFieldWells) 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 TableAggregatedFieldWells) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TableAggregatedFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TableAggregatedFieldWells"} + if s.GroupBy != nil { + for i, v := range s.GroupBy { if v == nil { continue } if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DataTransforms", i), err.(request.ErrInvalidParams)) + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GroupBy", i), err.(request.ErrInvalidParams)) } } } - if s.Source != nil { - if err := s.Source.Validate(); err != nil { - invalidParams.AddNested("Source", err.(request.ErrInvalidParams)) + if s.Values != nil { + for i, v := range s.Values { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Values", i), err.(request.ErrInvalidParams)) + } } } @@ -34055,37 +67522,30 @@ func (s *LogicalTable) Validate() error { return nil } -// SetAlias sets the Alias field's value. -func (s *LogicalTable) SetAlias(v string) *LogicalTable { - s.Alias = &v - return s -} - -// SetDataTransforms sets the DataTransforms field's value. -func (s *LogicalTable) SetDataTransforms(v []*TransformOperation) *LogicalTable { - s.DataTransforms = v +// SetGroupBy sets the GroupBy field's value. +func (s *TableAggregatedFieldWells) SetGroupBy(v []*DimensionField) *TableAggregatedFieldWells { + s.GroupBy = v return s } -// SetSource sets the Source field's value. -func (s *LogicalTable) SetSource(v *LogicalTableSource) *LogicalTable { - s.Source = v +// SetValues sets the Values field's value. +func (s *TableAggregatedFieldWells) SetValues(v []*MeasureField) *TableAggregatedFieldWells { + s.Values = v return s } -// Information about the source of a logical table. This is a variant type structure. -// For this structure to be valid, only one of the attributes can be non-null. -type LogicalTableSource struct { +// The border options for a table border. +type TableBorderOptions struct { _ struct{} `type:"structure"` - // The Amazon Resource Number (ARN) of the parent dataset. - DataSetArn *string `type:"string"` + // The color of a table border. + Color *string `type:"string"` - // Specifies the result of a join of two logical tables. - JoinInstruction *JoinInstruction `type:"structure"` + // The style (none, solid) of a table border. + Style *string `type:"string" enum:"TableBorderStyle"` - // Physical table ID. - PhysicalTableId *string `min:"1" type:"string"` + // The thickness of a table border. + Thickness *int64 `min:"1" type:"integer"` } // String returns the string representation. @@ -34093,7 +67553,7 @@ type LogicalTableSource struct { // 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 LogicalTableSource) String() string { +func (s TableBorderOptions) String() string { return awsutil.Prettify(s) } @@ -34102,20 +67562,15 @@ func (s LogicalTableSource) String() string { // 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 LogicalTableSource) GoString() string { +func (s TableBorderOptions) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *LogicalTableSource) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "LogicalTableSource"} - if s.PhysicalTableId != nil && len(*s.PhysicalTableId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("PhysicalTableId", 1)) - } - if s.JoinInstruction != nil { - if err := s.JoinInstruction.Validate(); err != nil { - invalidParams.AddNested("JoinInstruction", err.(request.ErrInvalidParams)) - } +func (s *TableBorderOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TableBorderOptions"} + if s.Thickness != nil && *s.Thickness < 1 { + invalidParams.Add(request.NewErrParamMinValue("Thickness", 1)) } if invalidParams.Len() > 0 { @@ -34124,37 +67579,35 @@ func (s *LogicalTableSource) Validate() error { return nil } -// SetDataSetArn sets the DataSetArn field's value. -func (s *LogicalTableSource) SetDataSetArn(v string) *LogicalTableSource { - s.DataSetArn = &v +// SetColor sets the Color field's value. +func (s *TableBorderOptions) SetColor(v string) *TableBorderOptions { + s.Color = &v return s } -// SetJoinInstruction sets the JoinInstruction field's value. -func (s *LogicalTableSource) SetJoinInstruction(v *JoinInstruction) *LogicalTableSource { - s.JoinInstruction = v +// SetStyle sets the Style field's value. +func (s *TableBorderOptions) SetStyle(v string) *TableBorderOptions { + s.Style = &v return s } -// SetPhysicalTableId sets the PhysicalTableId field's value. -func (s *LogicalTableSource) SetPhysicalTableId(v string) *LogicalTableSource { - s.PhysicalTableId = &v +// SetThickness sets the Thickness field's value. +func (s *TableBorderOptions) SetThickness(v int64) *TableBorderOptions { + s.Thickness = &v return s } -// Amazon S3 manifest file location. -type ManifestFileLocation struct { +// The cell conditional formatting option for a table. +type TableCellConditionalFormatting struct { _ struct{} `type:"structure"` - // Amazon S3 bucket. + // The field ID of the cell for conditional formatting. // - // Bucket is a required field - Bucket *string `min:"1" type:"string" required:"true"` + // FieldId is a required field + FieldId *string `min:"1" type:"string" required:"true"` - // Amazon S3 key that identifies an object. - // - // Key is a required field - Key *string `min:"1" type:"string" required:"true"` + // The text format of the cell for conditional formatting. + TextFormat *TextConditionalFormat `type:"structure"` } // String returns the string representation. @@ -34162,7 +67615,7 @@ type ManifestFileLocation struct { // 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 ManifestFileLocation) String() string { +func (s TableCellConditionalFormatting) String() string { return awsutil.Prettify(s) } @@ -34171,24 +67624,23 @@ func (s ManifestFileLocation) String() string { // 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 ManifestFileLocation) GoString() string { +func (s TableCellConditionalFormatting) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ManifestFileLocation) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ManifestFileLocation"} - if s.Bucket == nil { - invalidParams.Add(request.NewErrParamRequired("Bucket")) +func (s *TableCellConditionalFormatting) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TableCellConditionalFormatting"} + if s.FieldId == nil { + invalidParams.Add(request.NewErrParamRequired("FieldId")) } - if s.Bucket != nil && len(*s.Bucket) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Bucket", 1)) - } - if s.Key == nil { - invalidParams.Add(request.NewErrParamRequired("Key")) + if s.FieldId != nil && len(*s.FieldId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FieldId", 1)) } - if s.Key != nil && len(*s.Key) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Key", 1)) + if s.TextFormat != nil { + if err := s.TextFormat.Validate(); err != nil { + invalidParams.AddNested("TextFormat", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -34197,24 +67649,25 @@ func (s *ManifestFileLocation) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *ManifestFileLocation) SetBucket(v string) *ManifestFileLocation { - s.Bucket = &v +// SetFieldId sets the FieldId field's value. +func (s *TableCellConditionalFormatting) SetFieldId(v string) *TableCellConditionalFormatting { + s.FieldId = &v return s } -// SetKey sets the Key field's value. -func (s *ManifestFileLocation) SetKey(v string) *ManifestFileLocation { - s.Key = &v +// SetTextFormat sets the TextFormat field's value. +func (s *TableCellConditionalFormatting) SetTextFormat(v *TextConditionalFormat) *TableCellConditionalFormatting { + s.TextFormat = v return s } -// The display options for margins around the outside edge of sheets. -type MarginStyle struct { +// The sizing options for the table image configuration. +type TableCellImageSizingConfiguration struct { _ struct{} `type:"structure"` - // This Boolean value controls whether to display sheet margins. - Show *bool `type:"boolean"` + // The cell scaling configuration of the sizing options for the table image + // configuration. + TableCellImageScalingConfiguration *string `type:"string" enum:"TableCellImageScalingConfiguration"` } // String returns the string representation. @@ -34222,7 +67675,7 @@ type MarginStyle struct { // 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 MarginStyle) String() string { +func (s TableCellImageSizingConfiguration) String() string { return awsutil.Prettify(s) } @@ -34231,34 +67684,43 @@ func (s MarginStyle) String() string { // 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 MarginStyle) GoString() string { +func (s TableCellImageSizingConfiguration) GoString() string { return s.String() } -// SetShow sets the Show field's value. -func (s *MarginStyle) SetShow(v bool) *MarginStyle { - s.Show = &v +// SetTableCellImageScalingConfiguration sets the TableCellImageScalingConfiguration field's value. +func (s *TableCellImageSizingConfiguration) SetTableCellImageScalingConfiguration(v string) *TableCellImageSizingConfiguration { + s.TableCellImageScalingConfiguration = &v return s } -// The parameters for MariaDB. -type MariaDbParameters struct { +// The table cell style for a cell in pivot table or table visual. +type TableCellStyle struct { _ struct{} `type:"structure"` - // Database. - // - // Database is a required field - Database *string `min:"1" type:"string" required:"true"` + // The background color for the table cells. + BackgroundColor *string `type:"string"` - // Host. - // - // Host is a required field - Host *string `min:"1" type:"string" required:"true"` + // The borders for the table cells. + Border *GlobalTableBorderOptions `type:"structure"` - // Port. - // - // Port is a required field - Port *int64 `min:"1" type:"integer" required:"true"` + // The font configuration of the table cells. + FontConfiguration *FontConfiguration `type:"structure"` + + // The height color for the table cells. + Height *int64 `min:"8" type:"integer"` + + // The horizontal text alignment (left, center, right, auto) for the table cells. + HorizontalTextAlignment *string `type:"string" enum:"HorizontalTextAlignment"` + + // The text wrap (none, wrap) for the table cells. + TextWrap *string `type:"string" enum:"TextWrap"` + + // The vertical text alignment (top, middle, bottom) for the table cells. + VerticalTextAlignment *string `type:"string" enum:"VerticalTextAlignment"` + + // The visibility of the table cells. + Visibility *string `type:"string" enum:"Visibility"` } // String returns the string representation. @@ -34266,7 +67728,7 @@ type MariaDbParameters struct { // 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 MariaDbParameters) String() string { +func (s TableCellStyle) String() string { return awsutil.Prettify(s) } @@ -34275,30 +67737,20 @@ func (s MariaDbParameters) String() string { // 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 MariaDbParameters) GoString() string { +func (s TableCellStyle) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *MariaDbParameters) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "MariaDbParameters"} - if s.Database == nil { - invalidParams.Add(request.NewErrParamRequired("Database")) - } - if s.Database != nil && len(*s.Database) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Database", 1)) - } - if s.Host == nil { - invalidParams.Add(request.NewErrParamRequired("Host")) - } - if s.Host != nil && len(*s.Host) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Host", 1)) - } - if s.Port == nil { - invalidParams.Add(request.NewErrParamRequired("Port")) - } - if s.Port != nil && *s.Port < 1 { - invalidParams.Add(request.NewErrParamMinValue("Port", 1)) +func (s *TableCellStyle) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TableCellStyle"} + if s.Height != nil && *s.Height < 8 { + invalidParams.Add(request.NewErrParamMinValue("Height", 8)) + } + if s.Border != nil { + if err := s.Border.Validate(); err != nil { + invalidParams.AddNested("Border", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -34307,84 +67759,60 @@ func (s *MariaDbParameters) Validate() error { return nil } -// SetDatabase sets the Database field's value. -func (s *MariaDbParameters) SetDatabase(v string) *MariaDbParameters { - s.Database = &v +// SetBackgroundColor sets the BackgroundColor field's value. +func (s *TableCellStyle) SetBackgroundColor(v string) *TableCellStyle { + s.BackgroundColor = &v return s } -// SetHost sets the Host field's value. -func (s *MariaDbParameters) SetHost(v string) *MariaDbParameters { - s.Host = &v +// SetBorder sets the Border field's value. +func (s *TableCellStyle) SetBorder(v *GlobalTableBorderOptions) *TableCellStyle { + s.Border = v return s } -// SetPort sets the Port field's value. -func (s *MariaDbParameters) SetPort(v int64) *MariaDbParameters { - s.Port = &v +// SetFontConfiguration sets the FontConfiguration field's value. +func (s *TableCellStyle) SetFontConfiguration(v *FontConfiguration) *TableCellStyle { + s.FontConfiguration = v return s } -// An object that consists of a member Amazon Resource Name (ARN) and a member -// ID. -type MemberIdArnPair struct { - _ struct{} `type:"structure"` - - // The Amazon Resource Name (ARN) of the member. - MemberArn *string `type:"string"` - - // The ID of the member. - MemberId *string `min:"1" type:"string"` +// SetHeight sets the Height field's value. +func (s *TableCellStyle) SetHeight(v int64) *TableCellStyle { + s.Height = &v + return s } -// 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 MemberIdArnPair) String() string { - return awsutil.Prettify(s) +// SetHorizontalTextAlignment sets the HorizontalTextAlignment field's value. +func (s *TableCellStyle) SetHorizontalTextAlignment(v string) *TableCellStyle { + s.HorizontalTextAlignment = &v + return 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 MemberIdArnPair) GoString() string { - return s.String() +// SetTextWrap sets the TextWrap field's value. +func (s *TableCellStyle) SetTextWrap(v string) *TableCellStyle { + s.TextWrap = &v + return s } -// SetMemberArn sets the MemberArn field's value. -func (s *MemberIdArnPair) SetMemberArn(v string) *MemberIdArnPair { - s.MemberArn = &v +// SetVerticalTextAlignment sets the VerticalTextAlignment field's value. +func (s *TableCellStyle) SetVerticalTextAlignment(v string) *TableCellStyle { + s.VerticalTextAlignment = &v return s } -// SetMemberId sets the MemberId field's value. -func (s *MemberIdArnPair) SetMemberId(v string) *MemberIdArnPair { - s.MemberId = &v +// SetVisibility sets the Visibility field's value. +func (s *TableCellStyle) SetVisibility(v string) *TableCellStyle { + s.Visibility = &v return s } -// The parameters for MySQL. -type MySqlParameters struct { +// The conditional formatting for a PivotTableVisual. +type TableConditionalFormatting struct { _ struct{} `type:"structure"` - // Database. - // - // Database is a required field - Database *string `min:"1" type:"string" required:"true"` - - // Host. - // - // Host is a required field - Host *string `min:"1" type:"string" required:"true"` - - // Port. - // - // Port is a required field - Port *int64 `min:"1" type:"integer" required:"true"` + // Conditional formatting options for a PivotTableVisual. + ConditionalFormattingOptions []*TableConditionalFormattingOption `type:"list"` } // String returns the string representation. @@ -34392,7 +67820,7 @@ type MySqlParameters struct { // 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 MySqlParameters) String() string { +func (s TableConditionalFormatting) String() string { return awsutil.Prettify(s) } @@ -34401,30 +67829,22 @@ func (s MySqlParameters) String() string { // 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 MySqlParameters) GoString() string { +func (s TableConditionalFormatting) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *MySqlParameters) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "MySqlParameters"} - if s.Database == nil { - invalidParams.Add(request.NewErrParamRequired("Database")) - } - if s.Database != nil && len(*s.Database) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Database", 1)) - } - if s.Host == nil { - invalidParams.Add(request.NewErrParamRequired("Host")) - } - if s.Host != nil && len(*s.Host) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Host", 1)) - } - if s.Port == nil { - invalidParams.Add(request.NewErrParamRequired("Port")) - } - if s.Port != nil && *s.Port < 1 { - invalidParams.Add(request.NewErrParamMinValue("Port", 1)) +func (s *TableConditionalFormatting) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TableConditionalFormatting"} + if s.ConditionalFormattingOptions != nil { + for i, v := range s.ConditionalFormattingOptions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ConditionalFormattingOptions", i), err.(request.ErrInvalidParams)) + } + } } if invalidParams.Len() > 0 { @@ -34433,33 +67853,21 @@ func (s *MySqlParameters) Validate() error { return nil } -// SetDatabase sets the Database field's value. -func (s *MySqlParameters) SetDatabase(v string) *MySqlParameters { - s.Database = &v - return s -} - -// SetHost sets the Host field's value. -func (s *MySqlParameters) SetHost(v string) *MySqlParameters { - s.Host = &v - return s -} - -// SetPort sets the Port field's value. -func (s *MySqlParameters) SetPort(v int64) *MySqlParameters { - s.Port = &v +// SetConditionalFormattingOptions sets the ConditionalFormattingOptions field's value. +func (s *TableConditionalFormatting) SetConditionalFormattingOptions(v []*TableConditionalFormattingOption) *TableConditionalFormatting { + s.ConditionalFormattingOptions = v return s } -// Errors that occur during namespace creation. -type NamespaceError struct { +// Conditional formatting options for a PivotTableVisual. +type TableConditionalFormattingOption struct { _ struct{} `type:"structure"` - // The message for the error. - Message *string `type:"string"` + // The cell conditional formatting option for a table. + Cell *TableCellConditionalFormatting `type:"structure"` - // The error type. - Type *string `type:"string" enum:"NamespaceErrorType"` + // The row conditional formatting option for a table. + Row *TableRowConditionalFormatting `type:"structure"` } // String returns the string representation. @@ -34467,7 +67875,7 @@ type NamespaceError struct { // 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 NamespaceError) String() string { +func (s TableConditionalFormattingOption) String() string { return awsutil.Prettify(s) } @@ -34476,43 +67884,63 @@ func (s NamespaceError) String() string { // 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 NamespaceError) GoString() string { +func (s TableConditionalFormattingOption) GoString() string { return s.String() } -// SetMessage sets the Message field's value. -func (s *NamespaceError) SetMessage(v string) *NamespaceError { - s.Message = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *TableConditionalFormattingOption) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TableConditionalFormattingOption"} + if s.Cell != nil { + if err := s.Cell.Validate(); err != nil { + invalidParams.AddNested("Cell", err.(request.ErrInvalidParams)) + } + } + if s.Row != nil { + if err := s.Row.Validate(); err != nil { + invalidParams.AddNested("Row", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCell sets the Cell field's value. +func (s *TableConditionalFormattingOption) SetCell(v *TableCellConditionalFormatting) *TableConditionalFormattingOption { + s.Cell = v return s } -// SetType sets the Type field's value. -func (s *NamespaceError) SetType(v string) *NamespaceError { - s.Type = &v +// SetRow sets the Row field's value. +func (s *TableConditionalFormattingOption) SetRow(v *TableRowConditionalFormatting) *TableConditionalFormattingOption { + s.Row = v return s } -// The error type. -type NamespaceInfoV2 struct { +// The configuration for a TableVisual. +type TableConfiguration struct { _ struct{} `type:"structure"` - // The namespace ARN. - Arn *string `type:"string"` + // The field options for a table visual. + FieldOptions *TableFieldOptions `type:"structure"` - // The namespace Amazon Web Services Region. - CapacityRegion *string `type:"string"` + // The field wells of the visual. + FieldWells *TableFieldWells `type:"structure"` - // The creation status of a namespace that is not yet completely created. - CreationStatus *string `type:"string" enum:"NamespaceStatus"` + // The paginated report options for a table visual. + PaginatedReportOptions *TablePaginatedReportOptions `type:"structure"` - // The identity store used for the namespace. - IdentityStore *string `type:"string" enum:"IdentityStore"` + // The sort configuration for a TableVisual. + SortConfiguration *TableSortConfiguration `type:"structure"` - // The name of the error. - Name *string `type:"string"` + // The table options for a table visual. + TableOptions *TableOptions `type:"structure"` - // An error that occurred when the namespace was created. - NamespaceError *NamespaceError `type:"structure"` + // The total options for a table visual. + TotalOptions *TotalOptions `type:"structure"` } // String returns the string representation. @@ -34520,7 +67948,7 @@ type NamespaceInfoV2 struct { // 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 NamespaceInfoV2) String() string { +func (s TableConfiguration) String() string { return awsutil.Prettify(s) } @@ -34529,64 +67957,126 @@ func (s NamespaceInfoV2) String() string { // 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 NamespaceInfoV2) GoString() string { +func (s TableConfiguration) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *NamespaceInfoV2) SetArn(v string) *NamespaceInfoV2 { - s.Arn = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *TableConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TableConfiguration"} + if s.FieldOptions != nil { + if err := s.FieldOptions.Validate(); err != nil { + invalidParams.AddNested("FieldOptions", err.(request.ErrInvalidParams)) + } + } + if s.FieldWells != nil { + if err := s.FieldWells.Validate(); err != nil { + invalidParams.AddNested("FieldWells", err.(request.ErrInvalidParams)) + } + } + if s.SortConfiguration != nil { + if err := s.SortConfiguration.Validate(); err != nil { + invalidParams.AddNested("SortConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.TableOptions != nil { + if err := s.TableOptions.Validate(); err != nil { + invalidParams.AddNested("TableOptions", err.(request.ErrInvalidParams)) + } + } + if s.TotalOptions != nil { + if err := s.TotalOptions.Validate(); err != nil { + invalidParams.AddNested("TotalOptions", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFieldOptions sets the FieldOptions field's value. +func (s *TableConfiguration) SetFieldOptions(v *TableFieldOptions) *TableConfiguration { + s.FieldOptions = v return s } -// SetCapacityRegion sets the CapacityRegion field's value. -func (s *NamespaceInfoV2) SetCapacityRegion(v string) *NamespaceInfoV2 { - s.CapacityRegion = &v +// SetFieldWells sets the FieldWells field's value. +func (s *TableConfiguration) SetFieldWells(v *TableFieldWells) *TableConfiguration { + s.FieldWells = v return s } -// SetCreationStatus sets the CreationStatus field's value. -func (s *NamespaceInfoV2) SetCreationStatus(v string) *NamespaceInfoV2 { - s.CreationStatus = &v +// SetPaginatedReportOptions sets the PaginatedReportOptions field's value. +func (s *TableConfiguration) SetPaginatedReportOptions(v *TablePaginatedReportOptions) *TableConfiguration { + s.PaginatedReportOptions = v return s } -// SetIdentityStore sets the IdentityStore field's value. -func (s *NamespaceInfoV2) SetIdentityStore(v string) *NamespaceInfoV2 { - s.IdentityStore = &v +// SetSortConfiguration sets the SortConfiguration field's value. +func (s *TableConfiguration) SetSortConfiguration(v *TableSortConfiguration) *TableConfiguration { + s.SortConfiguration = v return s } -// SetName sets the Name field's value. -func (s *NamespaceInfoV2) SetName(v string) *NamespaceInfoV2 { - s.Name = &v +// SetTableOptions sets the TableOptions field's value. +func (s *TableConfiguration) SetTableOptions(v *TableOptions) *TableConfiguration { + s.TableOptions = v return s } -// SetNamespaceError sets the NamespaceError field's value. -func (s *NamespaceInfoV2) SetNamespaceError(v *NamespaceError) *NamespaceInfoV2 { - s.NamespaceError = v +// SetTotalOptions sets the TotalOptions field's value. +func (s *TableConfiguration) SetTotalOptions(v *TotalOptions) *TableConfiguration { + s.TotalOptions = v return s } -// The parameters for Oracle. -type OracleParameters struct { +// The custom icon content for the table link content configuration. +type TableFieldCustomIconContent struct { _ struct{} `type:"structure"` - // Database. - // - // Database is a required field - Database *string `min:"1" type:"string" required:"true"` + // The icon set type (link) of the custom icon content for table URL link content. + Icon *string `type:"string" enum:"TableFieldIconSetType"` +} - // An Oracle host. - // - // Host is a required field - Host *string `min:"1" type:"string" required:"true"` +// 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 TableFieldCustomIconContent) String() string { + return awsutil.Prettify(s) +} - // Port. +// 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 TableFieldCustomIconContent) GoString() string { + return s.String() +} + +// SetIcon sets the Icon field's value. +func (s *TableFieldCustomIconContent) SetIcon(v string) *TableFieldCustomIconContent { + s.Icon = &v + return s +} + +// The custom text content (value, font configuration) for the table link content +// configuration. +type TableFieldCustomTextContent struct { + _ struct{} `type:"structure"` + + // The font configuration of the custom text content for the table URL link + // content. // - // Port is a required field - Port *int64 `min:"1" type:"integer" required:"true"` + // FontConfiguration is a required field + FontConfiguration *FontConfiguration `type:"structure" required:"true"` + + // The string value of the custom text content for the table URL link content. + Value *string `type:"string"` } // String returns the string representation. @@ -34594,7 +68084,7 @@ type OracleParameters struct { // 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 OracleParameters) String() string { +func (s TableFieldCustomTextContent) String() string { return awsutil.Prettify(s) } @@ -34603,30 +68093,15 @@ func (s OracleParameters) String() string { // 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 OracleParameters) GoString() string { +func (s TableFieldCustomTextContent) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *OracleParameters) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "OracleParameters"} - if s.Database == nil { - invalidParams.Add(request.NewErrParamRequired("Database")) - } - if s.Database != nil && len(*s.Database) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Database", 1)) - } - if s.Host == nil { - invalidParams.Add(request.NewErrParamRequired("Host")) - } - if s.Host != nil && len(*s.Host) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Host", 1)) - } - if s.Port == nil { - invalidParams.Add(request.NewErrParamRequired("Port")) - } - if s.Port != nil && *s.Port < 1 { - invalidParams.Add(request.NewErrParamMinValue("Port", 1)) +func (s *TableFieldCustomTextContent) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TableFieldCustomTextContent"} + if s.FontConfiguration == nil { + invalidParams.Add(request.NewErrParamRequired("FontConfiguration")) } if invalidParams.Len() > 0 { @@ -34635,36 +68110,24 @@ func (s *OracleParameters) Validate() error { return nil } -// SetDatabase sets the Database field's value. -func (s *OracleParameters) SetDatabase(v string) *OracleParameters { - s.Database = &v - return s -} - -// SetHost sets the Host field's value. -func (s *OracleParameters) SetHost(v string) *OracleParameters { - s.Host = &v +// SetFontConfiguration sets the FontConfiguration field's value. +func (s *TableFieldCustomTextContent) SetFontConfiguration(v *FontConfiguration) *TableFieldCustomTextContent { + s.FontConfiguration = v return s } -// SetPort sets the Port field's value. -func (s *OracleParameters) SetPort(v int64) *OracleParameters { - s.Port = &v +// SetValue sets the Value field's value. +func (s *TableFieldCustomTextContent) SetValue(v string) *TableFieldCustomTextContent { + s.Value = &v return s } -// Output column. -type OutputColumn struct { +// The image configuration of a table field URL. +type TableFieldImageConfiguration struct { _ struct{} `type:"structure"` - // A description for a column. - Description *string `type:"string"` - - // A display name for the dataset. - Name *string `min:"1" type:"string"` - - // Type. - Type *string `type:"string" enum:"ColumnDataType"` + // The sizing options for the table image configuration. + SizingOptions *TableCellImageSizingConfiguration `type:"structure"` } // String returns the string representation. @@ -34672,7 +68135,7 @@ type OutputColumn struct { // 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 OutputColumn) String() string { +func (s TableFieldImageConfiguration) String() string { return awsutil.Prettify(s) } @@ -34681,43 +68144,29 @@ func (s OutputColumn) String() string { // 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 OutputColumn) GoString() string { +func (s TableFieldImageConfiguration) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *OutputColumn) SetDescription(v string) *OutputColumn { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *OutputColumn) SetName(v string) *OutputColumn { - s.Name = &v - return s -} - -// SetType sets the Type field's value. -func (s *OutputColumn) SetType(v string) *OutputColumn { - s.Type = &v +// SetSizingOptions sets the SizingOptions field's value. +func (s *TableFieldImageConfiguration) SetSizingOptions(v *TableCellImageSizingConfiguration) *TableFieldImageConfiguration { + s.SizingOptions = v return s } -// A list of Amazon QuickSight parameters and the list's override values. -type Parameters struct { +// The link configuration of a table field URL. +type TableFieldLinkConfiguration struct { _ struct{} `type:"structure"` - // The parameters that have a data type of date-time. - DateTimeParameters []*DateTimeParameter `type:"list"` - - // The parameters that have a data type of decimal. - DecimalParameters []*DecimalParameter `type:"list"` - - // The parameters that have a data type of integer. - IntegerParameters []*IntegerParameter `type:"list"` + // The URL content (text, icon) for the table link configuration. + // + // Content is a required field + Content *TableFieldLinkContentConfiguration `type:"structure" required:"true"` - // The parameters that have a data type of string. - StringParameters []*StringParameter `type:"list"` + // The URL target (new tab, new window, same tab) for the table link configuration. + // + // Target is a required field + Target *string `type:"string" required:"true" enum:"URLTargetConfiguration"` } // String returns the string representation. @@ -34725,7 +68174,7 @@ type Parameters struct { // 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 Parameters) String() string { +func (s TableFieldLinkConfiguration) String() string { return awsutil.Prettify(s) } @@ -34734,51 +68183,22 @@ func (s Parameters) String() string { // 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 Parameters) GoString() string { +func (s TableFieldLinkConfiguration) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *Parameters) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "Parameters"} - if s.DateTimeParameters != nil { - for i, v := range s.DateTimeParameters { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DateTimeParameters", i), err.(request.ErrInvalidParams)) - } - } - } - if s.DecimalParameters != nil { - for i, v := range s.DecimalParameters { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DecimalParameters", i), err.(request.ErrInvalidParams)) - } - } +func (s *TableFieldLinkConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TableFieldLinkConfiguration"} + if s.Content == nil { + invalidParams.Add(request.NewErrParamRequired("Content")) } - if s.IntegerParameters != nil { - for i, v := range s.IntegerParameters { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "IntegerParameters", i), err.(request.ErrInvalidParams)) - } - } + if s.Target == nil { + invalidParams.Add(request.NewErrParamRequired("Target")) } - if s.StringParameters != nil { - for i, v := range s.StringParameters { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "StringParameters", i), err.(request.ErrInvalidParams)) - } + if s.Content != nil { + if err := s.Content.Validate(); err != nil { + invalidParams.AddNested("Content", err.(request.ErrInvalidParams)) } } @@ -34788,44 +68208,95 @@ func (s *Parameters) Validate() error { return nil } -// SetDateTimeParameters sets the DateTimeParameters field's value. -func (s *Parameters) SetDateTimeParameters(v []*DateTimeParameter) *Parameters { - s.DateTimeParameters = v +// SetContent sets the Content field's value. +func (s *TableFieldLinkConfiguration) SetContent(v *TableFieldLinkContentConfiguration) *TableFieldLinkConfiguration { + s.Content = v return s } -// SetDecimalParameters sets the DecimalParameters field's value. -func (s *Parameters) SetDecimalParameters(v []*DecimalParameter) *Parameters { - s.DecimalParameters = v +// SetTarget sets the Target field's value. +func (s *TableFieldLinkConfiguration) SetTarget(v string) *TableFieldLinkConfiguration { + s.Target = &v return s } -// SetIntegerParameters sets the IntegerParameters field's value. -func (s *Parameters) SetIntegerParameters(v []*IntegerParameter) *Parameters { - s.IntegerParameters = v +// The URL content (text, icon) for the table link configuration. +type TableFieldLinkContentConfiguration struct { + _ struct{} `type:"structure"` + + // The custom icon content for the table link content configuration. + CustomIconContent *TableFieldCustomIconContent `type:"structure"` + + // The custom text content (value, font configuration) for the table link content + // configuration. + CustomTextContent *TableFieldCustomTextContent `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 TableFieldLinkContentConfiguration) 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 TableFieldLinkContentConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TableFieldLinkContentConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TableFieldLinkContentConfiguration"} + if s.CustomTextContent != nil { + if err := s.CustomTextContent.Validate(); err != nil { + invalidParams.AddNested("CustomTextContent", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCustomIconContent sets the CustomIconContent field's value. +func (s *TableFieldLinkContentConfiguration) SetCustomIconContent(v *TableFieldCustomIconContent) *TableFieldLinkContentConfiguration { + s.CustomIconContent = v return s } -// SetStringParameters sets the StringParameters field's value. -func (s *Parameters) SetStringParameters(v []*StringParameter) *Parameters { - s.StringParameters = v +// SetCustomTextContent sets the CustomTextContent field's value. +func (s *TableFieldLinkContentConfiguration) SetCustomTextContent(v *TableFieldCustomTextContent) *TableFieldLinkContentConfiguration { + s.CustomTextContent = v return s } -// A view of a data source that contains information about the shape of the -// data in the underlying source. This is a variant type structure. For this -// structure to be valid, only one of the attributes can be non-null. -type PhysicalTable struct { +// The options for a table field. +type TableFieldOption struct { _ struct{} `type:"structure"` - // A physical table type built from the results of the custom SQL query. - CustomSql *CustomSql `type:"structure"` + // The custom label for a table field. + CustomLabel *string `min:"1" type:"string"` - // A physical table type for relational data sources. - RelationalTable *RelationalTable `type:"structure"` + // The field ID for a table field. + // + // FieldId is a required field + FieldId *string `min:"1" type:"string" required:"true"` - // A physical table type for as S3 data source. - S3Source *S3Source `type:"structure"` + // The URL configuration for a table field. + URLStyling *TableFieldURLConfiguration `type:"structure"` + + // The visibility of a table field. + Visibility *string `type:"string" enum:"Visibility"` + + // The width for a table field. + Width *string `type:"string"` } // String returns the string representation. @@ -34833,7 +68304,7 @@ type PhysicalTable struct { // 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 PhysicalTable) String() string { +func (s TableFieldOption) String() string { return awsutil.Prettify(s) } @@ -34842,26 +68313,25 @@ func (s PhysicalTable) String() string { // 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 PhysicalTable) GoString() string { +func (s TableFieldOption) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *PhysicalTable) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "PhysicalTable"} - if s.CustomSql != nil { - if err := s.CustomSql.Validate(); err != nil { - invalidParams.AddNested("CustomSql", err.(request.ErrInvalidParams)) - } +func (s *TableFieldOption) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TableFieldOption"} + if s.CustomLabel != nil && len(*s.CustomLabel) < 1 { + invalidParams.Add(request.NewErrParamMinLen("CustomLabel", 1)) } - if s.RelationalTable != nil { - if err := s.RelationalTable.Validate(); err != nil { - invalidParams.AddNested("RelationalTable", err.(request.ErrInvalidParams)) - } + if s.FieldId == nil { + invalidParams.Add(request.NewErrParamRequired("FieldId")) } - if s.S3Source != nil { - if err := s.S3Source.Validate(); err != nil { - invalidParams.AddNested("S3Source", err.(request.ErrInvalidParams)) + if s.FieldId != nil && len(*s.FieldId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FieldId", 1)) + } + if s.URLStyling != nil { + if err := s.URLStyling.Validate(); err != nil { + invalidParams.AddNested("URLStyling", err.(request.ErrInvalidParams)) } } @@ -34871,42 +68341,45 @@ func (s *PhysicalTable) Validate() error { return nil } -// SetCustomSql sets the CustomSql field's value. -func (s *PhysicalTable) SetCustomSql(v *CustomSql) *PhysicalTable { - s.CustomSql = v +// SetCustomLabel sets the CustomLabel field's value. +func (s *TableFieldOption) SetCustomLabel(v string) *TableFieldOption { + s.CustomLabel = &v return s } -// SetRelationalTable sets the RelationalTable field's value. -func (s *PhysicalTable) SetRelationalTable(v *RelationalTable) *PhysicalTable { - s.RelationalTable = v +// SetFieldId sets the FieldId field's value. +func (s *TableFieldOption) SetFieldId(v string) *TableFieldOption { + s.FieldId = &v return s } -// SetS3Source sets the S3Source field's value. -func (s *PhysicalTable) SetS3Source(v *S3Source) *PhysicalTable { - s.S3Source = v +// SetURLStyling sets the URLStyling field's value. +func (s *TableFieldOption) SetURLStyling(v *TableFieldURLConfiguration) *TableFieldOption { + s.URLStyling = v return s } -// The parameters for PostgreSQL. -type PostgreSqlParameters struct { - _ struct{} `type:"structure"` +// SetVisibility sets the Visibility field's value. +func (s *TableFieldOption) SetVisibility(v string) *TableFieldOption { + s.Visibility = &v + return s +} - // Database. - // - // Database is a required field - Database *string `min:"1" type:"string" required:"true"` +// SetWidth sets the Width field's value. +func (s *TableFieldOption) SetWidth(v string) *TableFieldOption { + s.Width = &v + return s +} - // Host. - // - // Host is a required field - Host *string `min:"1" type:"string" required:"true"` +// The field options for a table visual. +type TableFieldOptions struct { + _ struct{} `type:"structure"` - // Port. - // - // Port is a required field - Port *int64 `min:"1" type:"integer" required:"true"` + // The order of field IDs of the field options for a table visual. + Order []*string `type:"list"` + + // The selected field options for the table field options. + SelectedFieldOptions []*TableFieldOption `type:"list"` } // String returns the string representation. @@ -34914,7 +68387,7 @@ type PostgreSqlParameters struct { // 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 PostgreSqlParameters) String() string { +func (s TableFieldOptions) String() string { return awsutil.Prettify(s) } @@ -34923,30 +68396,22 @@ func (s PostgreSqlParameters) String() string { // 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 PostgreSqlParameters) GoString() string { +func (s TableFieldOptions) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *PostgreSqlParameters) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "PostgreSqlParameters"} - if s.Database == nil { - invalidParams.Add(request.NewErrParamRequired("Database")) - } - if s.Database != nil && len(*s.Database) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Database", 1)) - } - if s.Host == nil { - invalidParams.Add(request.NewErrParamRequired("Host")) - } - if s.Host != nil && len(*s.Host) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Host", 1)) - } - if s.Port == nil { - invalidParams.Add(request.NewErrParamRequired("Port")) - } - if s.Port != nil && *s.Port < 1 { - invalidParams.Add(request.NewErrParamMinValue("Port", 1)) +func (s *TableFieldOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TableFieldOptions"} + if s.SelectedFieldOptions != nil { + for i, v := range s.SelectedFieldOptions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SelectedFieldOptions", i), err.(request.ErrInvalidParams)) + } + } } if invalidParams.Len() > 0 { @@ -34955,33 +68420,27 @@ func (s *PostgreSqlParameters) Validate() error { return nil } -// SetDatabase sets the Database field's value. -func (s *PostgreSqlParameters) SetDatabase(v string) *PostgreSqlParameters { - s.Database = &v - return s -} - -// SetHost sets the Host field's value. -func (s *PostgreSqlParameters) SetHost(v string) *PostgreSqlParameters { - s.Host = &v +// SetOrder sets the Order field's value. +func (s *TableFieldOptions) SetOrder(v []*string) *TableFieldOptions { + s.Order = v return s } -// SetPort sets the Port field's value. -func (s *PostgreSqlParameters) SetPort(v int64) *PostgreSqlParameters { - s.Port = &v +// SetSelectedFieldOptions sets the SelectedFieldOptions field's value. +func (s *TableFieldOptions) SetSelectedFieldOptions(v []*TableFieldOption) *TableFieldOptions { + s.SelectedFieldOptions = v return s } -// One or more preconditions aren't met. -type PreconditionNotMetException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +// The URL configuration for a table field. +type TableFieldURLConfiguration struct { + _ struct{} `type:"structure"` - Message_ *string `locationName:"Message" type:"string"` + // The image configuration of a table field URL. + ImageConfiguration *TableFieldImageConfiguration `type:"structure"` - // The Amazon Web Services request ID for this request. - RequestId *string `type:"string"` + // The link configuration of a table field URL. + LinkConfiguration *TableFieldLinkConfiguration `type:"structure"` } // String returns the string representation. @@ -34989,7 +68448,7 @@ type PreconditionNotMetException struct { // 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 PreconditionNotMetException) String() string { +func (s TableFieldURLConfiguration) String() string { return awsutil.Prettify(s) } @@ -34998,66 +68457,49 @@ func (s PreconditionNotMetException) String() string { // 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 PreconditionNotMetException) GoString() string { +func (s TableFieldURLConfiguration) GoString() string { return s.String() } -func newErrorPreconditionNotMetException(v protocol.ResponseMetadata) error { - return &PreconditionNotMetException{ - RespMetadata: v, +// Validate inspects the fields of the type to determine if they are valid. +func (s *TableFieldURLConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TableFieldURLConfiguration"} + if s.LinkConfiguration != nil { + if err := s.LinkConfiguration.Validate(); err != nil { + invalidParams.AddNested("LinkConfiguration", err.(request.ErrInvalidParams)) + } } -} - -// Code returns the exception type name. -func (s *PreconditionNotMetException) Code() string { - return "PreconditionNotMetException" -} -// Message returns the exception's message. -func (s *PreconditionNotMetException) Message() string { - if s.Message_ != nil { - return *s.Message_ + if invalidParams.Len() > 0 { + return invalidParams } - return "" -} - -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *PreconditionNotMetException) OrigErr() error { return nil } -func (s *PreconditionNotMetException) Error() string { - return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) -} - -// Status code returns the HTTP status code for the request's response error. -func (s *PreconditionNotMetException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetImageConfiguration sets the ImageConfiguration field's value. +func (s *TableFieldURLConfiguration) SetImageConfiguration(v *TableFieldImageConfiguration) *TableFieldURLConfiguration { + s.ImageConfiguration = v + return s } -// RequestID returns the service's response RequestID for request. -func (s *PreconditionNotMetException) RequestID() string { - return s.RespMetadata.RequestID +// SetLinkConfiguration sets the LinkConfiguration field's value. +func (s *TableFieldURLConfiguration) SetLinkConfiguration(v *TableFieldLinkConfiguration) *TableFieldURLConfiguration { + s.LinkConfiguration = v + return s } -// The parameters for Presto. -type PrestoParameters struct { +// The field wells for a table visual. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type TableFieldWells struct { _ struct{} `type:"structure"` - // Catalog. - // - // Catalog is a required field - Catalog *string `type:"string" required:"true"` - - // Host. - // - // Host is a required field - Host *string `min:"1" type:"string" required:"true"` + // The aggregated field well for the table. + TableAggregatedFieldWells *TableAggregatedFieldWells `type:"structure"` - // Port. - // - // Port is a required field - Port *int64 `min:"1" type:"integer" required:"true"` + // The unaggregated field well for the table. + TableUnaggregatedFieldWells *TableUnaggregatedFieldWells `type:"structure"` } // String returns the string representation. @@ -35065,7 +68507,7 @@ type PrestoParameters struct { // 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 PrestoParameters) String() string { +func (s TableFieldWells) String() string { return awsutil.Prettify(s) } @@ -35074,27 +68516,22 @@ func (s PrestoParameters) String() string { // 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 PrestoParameters) GoString() string { +func (s TableFieldWells) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *PrestoParameters) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "PrestoParameters"} - if s.Catalog == nil { - invalidParams.Add(request.NewErrParamRequired("Catalog")) - } - if s.Host == nil { - invalidParams.Add(request.NewErrParamRequired("Host")) - } - if s.Host != nil && len(*s.Host) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Host", 1)) - } - if s.Port == nil { - invalidParams.Add(request.NewErrParamRequired("Port")) +func (s *TableFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TableFieldWells"} + if s.TableAggregatedFieldWells != nil { + if err := s.TableAggregatedFieldWells.Validate(); err != nil { + invalidParams.AddNested("TableAggregatedFieldWells", err.(request.ErrInvalidParams)) + } } - if s.Port != nil && *s.Port < 1 { - invalidParams.Add(request.NewErrParamMinValue("Port", 1)) + if s.TableUnaggregatedFieldWells != nil { + if err := s.TableUnaggregatedFieldWells.Validate(); err != nil { + invalidParams.AddNested("TableUnaggregatedFieldWells", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -35103,33 +68540,34 @@ func (s *PrestoParameters) Validate() error { return nil } -// SetCatalog sets the Catalog field's value. -func (s *PrestoParameters) SetCatalog(v string) *PrestoParameters { - s.Catalog = &v - return s -} - -// SetHost sets the Host field's value. -func (s *PrestoParameters) SetHost(v string) *PrestoParameters { - s.Host = &v +// SetTableAggregatedFieldWells sets the TableAggregatedFieldWells field's value. +func (s *TableFieldWells) SetTableAggregatedFieldWells(v *TableAggregatedFieldWells) *TableFieldWells { + s.TableAggregatedFieldWells = v return s } -// SetPort sets the Port field's value. -func (s *PrestoParameters) SetPort(v int64) *PrestoParameters { - s.Port = &v +// SetTableUnaggregatedFieldWells sets the TableUnaggregatedFieldWells field's value. +func (s *TableFieldWells) SetTableUnaggregatedFieldWells(v *TableUnaggregatedFieldWells) *TableFieldWells { + s.TableUnaggregatedFieldWells = v return s } -// A transform operation that projects columns. Operations that come after a -// projection can only refer to projected columns. -type ProjectOperation struct { +// The table options for a table visual. +type TableOptions struct { _ struct{} `type:"structure"` - // Projected columns. - // - // ProjectedColumns is a required field - ProjectedColumns []*string `min:"1" type:"list" required:"true"` + // The table cell style of table cells. + CellStyle *TableCellStyle `type:"structure"` + + // The table cell style of a table header. + HeaderStyle *TableCellStyle `type:"structure"` + + // The orientation (vertical, horizontal) for a table. + Orientation *string `type:"string" enum:"TableOrientation"` + + // The row alternate color options (widget status, row alternate colors) for + // a table. + RowAlternateColorOptions *RowAlternateColorOptions `type:"structure"` } // String returns the string representation. @@ -35137,7 +68575,7 @@ type ProjectOperation struct { // 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 ProjectOperation) String() string { +func (s TableOptions) String() string { return awsutil.Prettify(s) } @@ -35146,18 +68584,22 @@ func (s ProjectOperation) String() string { // 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 ProjectOperation) GoString() string { +func (s TableOptions) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ProjectOperation) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ProjectOperation"} - if s.ProjectedColumns == nil { - invalidParams.Add(request.NewErrParamRequired("ProjectedColumns")) +func (s *TableOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TableOptions"} + if s.CellStyle != nil { + if err := s.CellStyle.Validate(); err != nil { + invalidParams.AddNested("CellStyle", err.(request.ErrInvalidParams)) + } } - if s.ProjectedColumns != nil && len(s.ProjectedColumns) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ProjectedColumns", 1)) + if s.HeaderStyle != nil { + if err := s.HeaderStyle.Validate(); err != nil { + invalidParams.AddNested("HeaderStyle", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -35166,26 +68608,39 @@ func (s *ProjectOperation) Validate() error { return nil } -// SetProjectedColumns sets the ProjectedColumns field's value. -func (s *ProjectOperation) SetProjectedColumns(v []*string) *ProjectOperation { - s.ProjectedColumns = v +// SetCellStyle sets the CellStyle field's value. +func (s *TableOptions) SetCellStyle(v *TableCellStyle) *TableOptions { + s.CellStyle = v return s } -// Information about a queued dataset SPICE ingestion. -type QueueInfo struct { +// SetHeaderStyle sets the HeaderStyle field's value. +func (s *TableOptions) SetHeaderStyle(v *TableCellStyle) *TableOptions { + s.HeaderStyle = v + return s +} + +// SetOrientation sets the Orientation field's value. +func (s *TableOptions) SetOrientation(v string) *TableOptions { + s.Orientation = &v + return s +} + +// SetRowAlternateColorOptions sets the RowAlternateColorOptions field's value. +func (s *TableOptions) SetRowAlternateColorOptions(v *RowAlternateColorOptions) *TableOptions { + s.RowAlternateColorOptions = v + return s +} + +// The paginated report options for a table visual. +type TablePaginatedReportOptions struct { _ struct{} `type:"structure"` - // The ID of the ongoing ingestion. The queued ingestion is waiting for the - // ongoing ingestion to complete. - // - // QueuedIngestion is a required field - QueuedIngestion *string `type:"string" required:"true"` + // The visibility of repeating header rows on each page. + OverflowColumnHeaderVisibility *string `type:"string" enum:"Visibility"` - // The ID of the queued ingestion. - // - // WaitingOnIngestion is a required field - WaitingOnIngestion *string `type:"string" required:"true"` + // The visibility of printing table overflow across pages. + VerticalOverflowVisibility *string `type:"string" enum:"Visibility"` } // String returns the string representation. @@ -35193,7 +68648,7 @@ type QueueInfo struct { // 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 QueueInfo) String() string { +func (s TablePaginatedReportOptions) String() string { return awsutil.Prettify(s) } @@ -35202,35 +68657,33 @@ func (s QueueInfo) String() string { // 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 QueueInfo) GoString() string { +func (s TablePaginatedReportOptions) GoString() string { return s.String() } -// SetQueuedIngestion sets the QueuedIngestion field's value. -func (s *QueueInfo) SetQueuedIngestion(v string) *QueueInfo { - s.QueuedIngestion = &v +// SetOverflowColumnHeaderVisibility sets the OverflowColumnHeaderVisibility field's value. +func (s *TablePaginatedReportOptions) SetOverflowColumnHeaderVisibility(v string) *TablePaginatedReportOptions { + s.OverflowColumnHeaderVisibility = &v return s } -// SetWaitingOnIngestion sets the WaitingOnIngestion field's value. -func (s *QueueInfo) SetWaitingOnIngestion(v string) *QueueInfo { - s.WaitingOnIngestion = &v +// SetVerticalOverflowVisibility sets the VerticalOverflowVisibility field's value. +func (s *TablePaginatedReportOptions) SetVerticalOverflowVisibility(v string) *TablePaginatedReportOptions { + s.VerticalOverflowVisibility = &v return s } -// The parameters for Amazon RDS. -type RdsParameters struct { +// The conditional formatting of a table row. +type TableRowConditionalFormatting struct { _ struct{} `type:"structure"` - // Database. - // - // Database is a required field - Database *string `min:"1" type:"string" required:"true"` + // The conditional formatting color (solid, gradient) of the background for + // a table row. + BackgroundColor *ConditionalFormattingColor `type:"structure"` - // Instance ID. - // - // InstanceId is a required field - InstanceId *string `min:"1" type:"string" required:"true"` + // The conditional formatting color (solid, gradient) of the text for a table + // row. + TextColor *ConditionalFormattingColor `type:"structure"` } // String returns the string representation. @@ -35238,7 +68691,7 @@ type RdsParameters struct { // 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 RdsParameters) String() string { +func (s TableRowConditionalFormatting) String() string { return awsutil.Prettify(s) } @@ -35247,24 +68700,22 @@ func (s RdsParameters) String() string { // 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 RdsParameters) GoString() string { +func (s TableRowConditionalFormatting) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *RdsParameters) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RdsParameters"} - if s.Database == nil { - invalidParams.Add(request.NewErrParamRequired("Database")) - } - if s.Database != nil && len(*s.Database) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Database", 1)) - } - if s.InstanceId == nil { - invalidParams.Add(request.NewErrParamRequired("InstanceId")) +func (s *TableRowConditionalFormatting) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TableRowConditionalFormatting"} + if s.BackgroundColor != nil { + if err := s.BackgroundColor.Validate(); err != nil { + invalidParams.AddNested("BackgroundColor", err.(request.ErrInvalidParams)) + } } - if s.InstanceId != nil && len(*s.InstanceId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) + if s.TextColor != nil { + if err := s.TextColor.Validate(); err != nil { + invalidParams.AddNested("TextColor", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -35273,37 +68724,39 @@ func (s *RdsParameters) Validate() error { return nil } -// SetDatabase sets the Database field's value. -func (s *RdsParameters) SetDatabase(v string) *RdsParameters { - s.Database = &v +// SetBackgroundColor sets the BackgroundColor field's value. +func (s *TableRowConditionalFormatting) SetBackgroundColor(v *ConditionalFormattingColor) *TableRowConditionalFormatting { + s.BackgroundColor = v return s } -// SetInstanceId sets the InstanceId field's value. -func (s *RdsParameters) SetInstanceId(v string) *RdsParameters { - s.InstanceId = &v +// SetTextColor sets the TextColor field's value. +func (s *TableRowConditionalFormatting) SetTextColor(v *ConditionalFormattingColor) *TableRowConditionalFormatting { + s.TextColor = v return s } -// The parameters for Amazon Redshift. The ClusterId field can be blank if Host -// and Port are both set. The Host and Port fields can be blank if the ClusterId -// field is set. -type RedshiftParameters struct { +// The side border options for a table. +type TableSideBorderOptions struct { _ struct{} `type:"structure"` - // Cluster ID. This field can be blank if the Host and Port are provided. - ClusterId *string `min:"1" type:"string"` + // The table border options of the bottom border. + Bottom *TableBorderOptions `type:"structure"` - // Database. - // - // Database is a required field - Database *string `min:"1" type:"string" required:"true"` + // The table border options of the inner horizontal border. + InnerHorizontal *TableBorderOptions `type:"structure"` - // Host. This field can be blank if ClusterId is provided. - Host *string `min:"1" type:"string"` + // The table border options of the inner vertical border. + InnerVertical *TableBorderOptions `type:"structure"` - // Port. This field can be blank if the ClusterId is provided. - Port *int64 `type:"integer"` + // The table border options of the left border. + Left *TableBorderOptions `type:"structure"` + + // The table border options of the right border. + Right *TableBorderOptions `type:"structure"` + + // The table border options of the top border. + Top *TableBorderOptions `type:"structure"` } // String returns the string representation. @@ -35311,7 +68764,7 @@ type RedshiftParameters struct { // 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 RedshiftParameters) String() string { +func (s TableSideBorderOptions) String() string { return awsutil.Prettify(s) } @@ -35320,24 +68773,42 @@ func (s RedshiftParameters) String() string { // 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 RedshiftParameters) GoString() string { +func (s TableSideBorderOptions) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *RedshiftParameters) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RedshiftParameters"} - if s.ClusterId != nil && len(*s.ClusterId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ClusterId", 1)) +func (s *TableSideBorderOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TableSideBorderOptions"} + if s.Bottom != nil { + if err := s.Bottom.Validate(); err != nil { + invalidParams.AddNested("Bottom", err.(request.ErrInvalidParams)) + } } - if s.Database == nil { - invalidParams.Add(request.NewErrParamRequired("Database")) + if s.InnerHorizontal != nil { + if err := s.InnerHorizontal.Validate(); err != nil { + invalidParams.AddNested("InnerHorizontal", err.(request.ErrInvalidParams)) + } } - if s.Database != nil && len(*s.Database) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Database", 1)) + if s.InnerVertical != nil { + if err := s.InnerVertical.Validate(); err != nil { + invalidParams.AddNested("InnerVertical", err.(request.ErrInvalidParams)) + } } - if s.Host != nil && len(*s.Host) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Host", 1)) + if s.Left != nil { + if err := s.Left.Validate(); err != nil { + invalidParams.AddNested("Left", err.(request.ErrInvalidParams)) + } + } + if s.Right != nil { + if err := s.Right.Validate(); err != nil { + invalidParams.AddNested("Right", err.(request.ErrInvalidParams)) + } + } + if s.Top != nil { + if err := s.Top.Validate(); err != nil { + invalidParams.AddNested("Top", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -35346,145 +68817,189 @@ func (s *RedshiftParameters) Validate() error { return nil } -// SetClusterId sets the ClusterId field's value. -func (s *RedshiftParameters) SetClusterId(v string) *RedshiftParameters { - s.ClusterId = &v +// SetBottom sets the Bottom field's value. +func (s *TableSideBorderOptions) SetBottom(v *TableBorderOptions) *TableSideBorderOptions { + s.Bottom = v return s } -// SetDatabase sets the Database field's value. -func (s *RedshiftParameters) SetDatabase(v string) *RedshiftParameters { - s.Database = &v +// SetInnerHorizontal sets the InnerHorizontal field's value. +func (s *TableSideBorderOptions) SetInnerHorizontal(v *TableBorderOptions) *TableSideBorderOptions { + s.InnerHorizontal = v return s } -// SetHost sets the Host field's value. -func (s *RedshiftParameters) SetHost(v string) *RedshiftParameters { - s.Host = &v +// SetInnerVertical sets the InnerVertical field's value. +func (s *TableSideBorderOptions) SetInnerVertical(v *TableBorderOptions) *TableSideBorderOptions { + s.InnerVertical = v return s } -// SetPort sets the Port field's value. -func (s *RedshiftParameters) SetPort(v int64) *RedshiftParameters { - s.Port = &v +// SetLeft sets the Left field's value. +func (s *TableSideBorderOptions) SetLeft(v *TableBorderOptions) *TableSideBorderOptions { + s.Left = v return s } -type RegisterUserInput struct { +// SetRight sets the Right field's value. +func (s *TableSideBorderOptions) SetRight(v *TableBorderOptions) *TableSideBorderOptions { + s.Right = v + return s +} + +// SetTop sets the Top field's value. +func (s *TableSideBorderOptions) SetTop(v *TableBorderOptions) *TableSideBorderOptions { + s.Top = v + return s +} + +// The sort configuration for a TableVisual. +type TableSortConfiguration struct { _ struct{} `type:"structure"` - // The ID for the Amazon Web Services account that the user is in. Currently, - // you use the ID for the Amazon Web Services account that contains your Amazon - // QuickSight account. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // The pagination configuration (page size, page number) for the table. + PaginationConfiguration *PaginationConfiguration `type:"structure"` - // The URL of the custom OpenID Connect (OIDC) provider that provides identity - // to let a user federate into Amazon QuickSight with an associated Identity - // and Access Management(IAM) role. This parameter should only be used when - // ExternalLoginFederationProviderType parameter is set to CUSTOM_OIDC. - CustomFederationProviderUrl *string `type:"string"` + // The field sort options for rows in the table. + RowSort []*FieldSortOptions `type:"list"` +} - // (Enterprise edition only) The name of the custom permissions profile that - // you want to assign to this user. Customized permissions allows you to control - // a user's access by restricting access the following operations: - // - // * Create and update data sources - // - // * Create and update datasets - // - // * Create and update email reports - // - // * Subscribe to email reports - // - // To add custom permissions to an existing user, use UpdateUser (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_UpdateUser.html) - // instead. - // - // A set of custom permissions includes any combination of these restrictions. - // Currently, you need to create the profile names for custom permission sets - // by using the Amazon QuickSight console. Then, you use the RegisterUser API - // operation to assign the named set of permissions to a Amazon QuickSight user. - // - // Amazon QuickSight custom permissions are applied through IAM policies. Therefore, - // they override the permissions typically granted by assigning Amazon QuickSight - // users to one of the default security cohorts in Amazon QuickSight (admin, - // author, reader). - // - // This feature is available only to Amazon QuickSight Enterprise edition subscriptions. - CustomPermissionsName *string `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 TableSortConfiguration) String() string { + return awsutil.Prettify(s) +} - // The email address of the user that you want to register. - // - // Email is a required field - Email *string `type:"string" required:"true"` +// 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 TableSortConfiguration) GoString() string { + return s.String() +} - // The type of supported external login provider that provides identity to let - // a user federate into Amazon QuickSight with an associated Identity and Access - // Management(IAM) role. The type of supported external login provider can be - // one of the following. - // - // * COGNITO: Amazon Cognito. The provider URL is cognito-identity.amazonaws.com. - // When choosing the COGNITO provider type, don’t use the "CustomFederationProviderUrl" - // parameter which is only needed when the external provider is custom. - // - // * CUSTOM_OIDC: Custom OpenID Connect (OIDC) provider. When choosing CUSTOM_OIDC - // type, use the CustomFederationProviderUrl parameter to provide the custom - // OIDC provider URL. - ExternalLoginFederationProviderType *string `type:"string"` +// Validate inspects the fields of the type to determine if they are valid. +func (s *TableSortConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TableSortConfiguration"} + if s.PaginationConfiguration != nil { + if err := s.PaginationConfiguration.Validate(); err != nil { + invalidParams.AddNested("PaginationConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.RowSort != nil { + for i, v := range s.RowSort { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RowSort", i), err.(request.ErrInvalidParams)) + } + } + } - // The identity ID for a user in the external login provider. - ExternalLoginId *string `type:"string"` + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} - // The ARN of the IAM user or role that you are registering with Amazon QuickSight. - IamArn *string `type:"string"` +// SetPaginationConfiguration sets the PaginationConfiguration field's value. +func (s *TableSortConfiguration) SetPaginationConfiguration(v *PaginationConfiguration) *TableSortConfiguration { + s.PaginationConfiguration = v + return s +} - // Amazon QuickSight supports several ways of managing the identity of users. - // This parameter accepts two values: - // - // * IAM: A user whose identity maps to an existing IAM user or role. - // - // * QUICKSIGHT: A user whose identity is owned and managed internally by - // Amazon QuickSight. - // - // IdentityType is a required field - IdentityType *string `type:"string" required:"true" enum:"IdentityType"` +// SetRowSort sets the RowSort field's value. +func (s *TableSortConfiguration) SetRowSort(v []*FieldSortOptions) *TableSortConfiguration { + s.RowSort = v + return s +} - // The namespace. Currently, you should set this to default. - // - // Namespace is a required field - Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` +// The unaggregated field well for the table. +type TableUnaggregatedFieldWells struct { + _ struct{} `type:"structure"` - // You need to use this parameter only when you register one or more users using - // an assumed IAM role. You don't need to provide the session name for other - // scenarios, for example when you are registering an IAM user or an Amazon - // QuickSight user. You can register multiple users using the same IAM role - // if each user has a different session name. For more information on assuming - // IAM roles, see assume-role (https://docs.aws.amazon.com/cli/latest/reference/sts/assume-role.html) - // in the CLI Reference. - SessionName *string `min:"2" type:"string"` + // The values field well for a pivot table. Values are unaggregated for an unaggregated + // table. + Values []*UnaggregatedField `type:"list"` +} - // The Amazon QuickSight user name that you want to create for the user you - // are registering. - UserName *string `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 TableUnaggregatedFieldWells) String() string { + return awsutil.Prettify(s) +} - // The Amazon QuickSight role for the user. The user role can be one of the - // following: - // - // * READER: A user who has read-only access to dashboards. - // - // * AUTHOR: A user who can create data sources, datasets, analyses, and - // dashboards. - // - // * ADMIN: A user who is an author, who can also manage Amazon QuickSight - // settings. - // - // * RESTRICTED_READER: This role isn't currently available for use. - // - // * RESTRICTED_AUTHOR: This role isn't currently available for use. +// 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 TableUnaggregatedFieldWells) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TableUnaggregatedFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TableUnaggregatedFieldWells"} + if s.Values != nil { + for i, v := range s.Values { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Values", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetValues sets the Values field's value. +func (s *TableUnaggregatedFieldWells) SetValues(v []*UnaggregatedField) *TableUnaggregatedFieldWells { + s.Values = v + return s +} + +// A table visual. +// +// For more information, see Using tables as visuals (https://docs.aws.amazon.com/quicksight/latest/user/tabular.html) +// in the Amazon QuickSight User Guide. +type TableVisual struct { + _ struct{} `type:"structure"` + + // The list of custom actions that are configured for a visual. + Actions []*VisualCustomAction `type:"list"` + + // The configuration settings of the visual. + ChartConfiguration *TableConfiguration `type:"structure"` + + // The conditional formatting for a PivotTableVisual. + ConditionalFormatting *TableConditionalFormatting `type:"structure"` + + // The subtitle that is displayed on the visual. + Subtitle *VisualSubtitleLabelOptions `type:"structure"` + + // The title that is displayed on the visual. + Title *VisualTitleLabelOptions `type:"structure"` + + // The unique identifier of a visual. This identifier must be unique within + // the context of a dashboard, template, or analysis. Two dashboards, analyses, + // or templates can have visuals with the same identifiers.. // - // UserRole is a required field - UserRole *string `type:"string" required:"true" enum:"UserRole"` + // VisualId is a required field + VisualId *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -35492,7 +69007,7 @@ type RegisterUserInput struct { // 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 RegisterUserInput) String() string { +func (s TableVisual) String() string { return awsutil.Prettify(s) } @@ -35501,42 +69016,48 @@ func (s RegisterUserInput) String() string { // 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 RegisterUserInput) GoString() string { +func (s TableVisual) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *RegisterUserInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RegisterUserInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.CustomPermissionsName != nil && len(*s.CustomPermissionsName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("CustomPermissionsName", 1)) - } - if s.Email == nil { - invalidParams.Add(request.NewErrParamRequired("Email")) +func (s *TableVisual) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TableVisual"} + if s.VisualId == nil { + invalidParams.Add(request.NewErrParamRequired("VisualId")) } - if s.IdentityType == nil { - invalidParams.Add(request.NewErrParamRequired("IdentityType")) + if s.VisualId != nil && len(*s.VisualId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("VisualId", 1)) } - if s.Namespace == nil { - invalidParams.Add(request.NewErrParamRequired("Namespace")) + if s.Actions != nil { + for i, v := range s.Actions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Actions", i), err.(request.ErrInvalidParams)) + } + } } - if s.Namespace != nil && len(*s.Namespace) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + if s.ChartConfiguration != nil { + if err := s.ChartConfiguration.Validate(); err != nil { + invalidParams.AddNested("ChartConfiguration", err.(request.ErrInvalidParams)) + } } - if s.SessionName != nil && len(*s.SessionName) < 2 { - invalidParams.Add(request.NewErrParamMinLen("SessionName", 2)) + if s.ConditionalFormatting != nil { + if err := s.ConditionalFormatting.Validate(); err != nil { + invalidParams.AddNested("ConditionalFormatting", err.(request.ErrInvalidParams)) + } } - if s.UserName != nil && len(*s.UserName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UserName", 1)) + if s.Subtitle != nil { + if err := s.Subtitle.Validate(); err != nil { + invalidParams.AddNested("Subtitle", err.(request.ErrInvalidParams)) + } } - if s.UserRole == nil { - invalidParams.Add(request.NewErrParamRequired("UserRole")) + if s.Title != nil { + if err := s.Title.Validate(); err != nil { + invalidParams.AddNested("Title", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -35545,93 +69066,125 @@ func (s *RegisterUserInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *RegisterUserInput) SetAwsAccountId(v string) *RegisterUserInput { - s.AwsAccountId = &v +// SetActions sets the Actions field's value. +func (s *TableVisual) SetActions(v []*VisualCustomAction) *TableVisual { + s.Actions = v return s } -// SetCustomFederationProviderUrl sets the CustomFederationProviderUrl field's value. -func (s *RegisterUserInput) SetCustomFederationProviderUrl(v string) *RegisterUserInput { - s.CustomFederationProviderUrl = &v +// SetChartConfiguration sets the ChartConfiguration field's value. +func (s *TableVisual) SetChartConfiguration(v *TableConfiguration) *TableVisual { + s.ChartConfiguration = v return s } -// SetCustomPermissionsName sets the CustomPermissionsName field's value. -func (s *RegisterUserInput) SetCustomPermissionsName(v string) *RegisterUserInput { - s.CustomPermissionsName = &v +// SetConditionalFormatting sets the ConditionalFormatting field's value. +func (s *TableVisual) SetConditionalFormatting(v *TableConditionalFormatting) *TableVisual { + s.ConditionalFormatting = v return s } -// SetEmail sets the Email field's value. -func (s *RegisterUserInput) SetEmail(v string) *RegisterUserInput { - s.Email = &v +// SetSubtitle sets the Subtitle field's value. +func (s *TableVisual) SetSubtitle(v *VisualSubtitleLabelOptions) *TableVisual { + s.Subtitle = v return s } -// SetExternalLoginFederationProviderType sets the ExternalLoginFederationProviderType field's value. -func (s *RegisterUserInput) SetExternalLoginFederationProviderType(v string) *RegisterUserInput { - s.ExternalLoginFederationProviderType = &v +// SetTitle sets the Title field's value. +func (s *TableVisual) SetTitle(v *VisualTitleLabelOptions) *TableVisual { + s.Title = v return s } -// SetExternalLoginId sets the ExternalLoginId field's value. -func (s *RegisterUserInput) SetExternalLoginId(v string) *RegisterUserInput { - s.ExternalLoginId = &v +// SetVisualId sets the VisualId field's value. +func (s *TableVisual) SetVisualId(v string) *TableVisual { + s.VisualId = &v return s } -// SetIamArn sets the IamArn field's value. -func (s *RegisterUserInput) SetIamArn(v string) *RegisterUserInput { - s.IamArn = &v - return s +// The key or keys of the key-value pairs for the resource tag or tags assigned +// to the resource. +type Tag struct { + _ struct{} `type:"structure"` + + // Tag key. + // + // Key is a required field + Key *string `min:"1" type:"string" required:"true"` + + // Tag value. + // + // Value is a required field + Value *string `min:"1" type:"string" required:"true"` } -// SetIdentityType sets the IdentityType field's value. -func (s *RegisterUserInput) SetIdentityType(v string) *RegisterUserInput { - s.IdentityType = &v - return s +// 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 Tag) String() string { + return awsutil.Prettify(s) } -// SetNamespace sets the Namespace field's value. -func (s *RegisterUserInput) SetNamespace(v string) *RegisterUserInput { - s.Namespace = &v - return 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 Tag) GoString() string { + return s.String() } -// SetSessionName sets the SessionName field's value. -func (s *RegisterUserInput) SetSessionName(v string) *RegisterUserInput { - s.SessionName = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *Tag) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Tag"} + if s.Key == nil { + invalidParams.Add(request.NewErrParamRequired("Key")) + } + if s.Key != nil && len(*s.Key) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Key", 1)) + } + if s.Value == nil { + invalidParams.Add(request.NewErrParamRequired("Value")) + } + if s.Value != nil && len(*s.Value) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Value", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetUserName sets the UserName field's value. -func (s *RegisterUserInput) SetUserName(v string) *RegisterUserInput { - s.UserName = &v +// SetKey sets the Key field's value. +func (s *Tag) SetKey(v string) *Tag { + s.Key = &v return s } -// SetUserRole sets the UserRole field's value. -func (s *RegisterUserInput) SetUserRole(v string) *RegisterUserInput { - s.UserRole = &v +// SetValue sets the Value field's value. +func (s *Tag) SetValue(v string) *Tag { + s.Value = &v return s } -type RegisterUserOutput struct { +// A transform operation that tags a column with additional information. +type TagColumnOperation struct { _ struct{} `type:"structure"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` - - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` - - // The user's user name. - User *User `type:"structure"` + // The column that this operation acts on. + // + // ColumnName is a required field + ColumnName *string `min:"1" type:"string" required:"true"` - // The URL the user visits to complete registration and provide a password. - // This is returned only for users with an identity type of QUICKSIGHT. - UserInvitationUrl *string `type:"string"` + // The dataset column tag, currently only used for geospatial type tagging. + // + // This is not tags for the Amazon Web Services tagging feature. + // + // Tags is a required field + Tags []*ColumnTag `min:"1" type:"list" required:"true"` } // String returns the string representation. @@ -35639,7 +69192,7 @@ type RegisterUserOutput struct { // 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 RegisterUserOutput) String() string { +func (s TagColumnOperation) String() string { return awsutil.Prettify(s) } @@ -35648,47 +69201,57 @@ func (s RegisterUserOutput) String() string { // 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 RegisterUserOutput) GoString() string { +func (s TagColumnOperation) GoString() string { return s.String() } -// SetRequestId sets the RequestId field's value. -func (s *RegisterUserOutput) SetRequestId(v string) *RegisterUserOutput { - s.RequestId = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *TagColumnOperation) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TagColumnOperation"} + if s.ColumnName == nil { + invalidParams.Add(request.NewErrParamRequired("ColumnName")) + } + if s.ColumnName != nil && len(*s.ColumnName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ColumnName", 1)) + } + if s.Tags == nil { + invalidParams.Add(request.NewErrParamRequired("Tags")) + } + if s.Tags != nil && len(s.Tags) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) + } -// SetStatus sets the Status field's value. -func (s *RegisterUserOutput) SetStatus(v int64) *RegisterUserOutput { - s.Status = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetUser sets the User field's value. -func (s *RegisterUserOutput) SetUser(v *User) *RegisterUserOutput { - s.User = v +// SetColumnName sets the ColumnName field's value. +func (s *TagColumnOperation) SetColumnName(v string) *TagColumnOperation { + s.ColumnName = &v return s } -// SetUserInvitationUrl sets the UserInvitationUrl field's value. -func (s *RegisterUserOutput) SetUserInvitationUrl(v string) *RegisterUserOutput { - s.UserInvitationUrl = &v +// SetTags sets the Tags field's value. +func (s *TagColumnOperation) SetTags(v []*ColumnTag) *TagColumnOperation { + s.Tags = v return s } -// Information about the dashboard you want to embed. -type RegisteredUserDashboardEmbeddingConfiguration struct { +type TagResourceInput struct { _ struct{} `type:"structure"` - // The dashboard ID for the dashboard that you want the user to see first. This - // ID is included in the output URL. When the URL in response is accessed, Amazon - // QuickSight renders this dashboard if the user has permissions to view it. + // The Amazon Resource Name (ARN) of the resource that you want to tag. // - // If the user does not have permission to view this dashboard, they see a permissions - // error message. + // ResourceArn is a required field + ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"` + + // Contains a map of the key-value pairs for the resource tag or tags assigned + // to the resource. // - // InitialDashboardId is a required field - InitialDashboardId *string `min:"1" type:"string" required:"true"` + // Tags is a required field + Tags []*Tag `min:"1" type:"list" required:"true"` } // String returns the string representation. @@ -35696,7 +69259,7 @@ type RegisteredUserDashboardEmbeddingConfiguration struct { // 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 RegisteredUserDashboardEmbeddingConfiguration) String() string { +func (s TagResourceInput) String() string { return awsutil.Prettify(s) } @@ -35705,18 +69268,34 @@ func (s RegisteredUserDashboardEmbeddingConfiguration) String() string { // 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 RegisteredUserDashboardEmbeddingConfiguration) GoString() string { +func (s TagResourceInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *RegisteredUserDashboardEmbeddingConfiguration) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RegisteredUserDashboardEmbeddingConfiguration"} - if s.InitialDashboardId == nil { - invalidParams.Add(request.NewErrParamRequired("InitialDashboardId")) +func (s *TagResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"} + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) } - if s.InitialDashboardId != nil && len(*s.InitialDashboardId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InitialDashboardId", 1)) + if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) + } + if s.Tags == nil { + invalidParams.Add(request.NewErrParamRequired("Tags")) + } + if s.Tags != nil && len(s.Tags) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) + } + if s.Tags != nil { + for i, v := range s.Tags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) + } + } } if invalidParams.Len() > 0 { @@ -35725,27 +69304,26 @@ func (s *RegisteredUserDashboardEmbeddingConfiguration) Validate() error { return nil } -// SetInitialDashboardId sets the InitialDashboardId field's value. -func (s *RegisteredUserDashboardEmbeddingConfiguration) SetInitialDashboardId(v string) *RegisteredUserDashboardEmbeddingConfiguration { - s.InitialDashboardId = &v +// SetResourceArn sets the ResourceArn field's value. +func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput { + s.ResourceArn = &v return s } -// The experience that you are embedding. You can use this object to generate -// a url that embeds a visual into your application. -type RegisteredUserDashboardVisualEmbeddingConfiguration struct { +// SetTags sets the Tags field's value. +func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput { + s.Tags = v + return s +} + +type TagResourceOutput struct { _ struct{} `type:"structure"` - // The visual ID for the visual that you want the user to embed. This ID is - // included in the output URL. When the URL in response is accessed, Amazon - // QuickSight renders this visual. - // - // The Amazon Resource Name (ARN) of the dashboard that the visual belongs to - // must be included in the AuthorizedResourceArns parameter. Otherwise, the - // request will fail with InvalidParameterValueException. - // - // InitialDashboardVisualId is a required field - InitialDashboardVisualId *DashboardVisualId `type:"structure" required:"true"` + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` } // String returns the string representation. @@ -35753,7 +69331,7 @@ type RegisteredUserDashboardVisualEmbeddingConfiguration struct { // 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 RegisteredUserDashboardVisualEmbeddingConfiguration) String() string { +func (s TagResourceOutput) String() string { return awsutil.Prettify(s) } @@ -35762,82 +69340,53 @@ func (s RegisteredUserDashboardVisualEmbeddingConfiguration) String() string { // 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 RegisteredUserDashboardVisualEmbeddingConfiguration) GoString() string { +func (s TagResourceOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *RegisteredUserDashboardVisualEmbeddingConfiguration) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RegisteredUserDashboardVisualEmbeddingConfiguration"} - if s.InitialDashboardVisualId == nil { - invalidParams.Add(request.NewErrParamRequired("InitialDashboardVisualId")) - } - if s.InitialDashboardVisualId != nil { - if err := s.InitialDashboardVisualId.Validate(); err != nil { - invalidParams.AddNested("InitialDashboardVisualId", err.(request.ErrInvalidParams)) - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetRequestId sets the RequestId field's value. +func (s *TagResourceOutput) SetRequestId(v string) *TagResourceOutput { + s.RequestId = &v + return s } -// SetInitialDashboardVisualId sets the InitialDashboardVisualId field's value. -func (s *RegisteredUserDashboardVisualEmbeddingConfiguration) SetInitialDashboardVisualId(v *DashboardVisualId) *RegisteredUserDashboardVisualEmbeddingConfiguration { - s.InitialDashboardVisualId = v +// SetStatus sets the Status field's value. +func (s *TagResourceOutput) SetStatus(v int64) *TagResourceOutput { + s.Status = &v return s } -// The type of experience you want to embed. For registered users, you can embed -// Amazon QuickSight dashboards or the Amazon QuickSight console. +// A template object. A template is an entity in Amazon QuickSight that encapsulates +// the metadata required to create an analysis and that you can use to create +// a dashboard. A template adds a layer of abstraction by using placeholders +// to replace the dataset associated with an analysis. You can use templates +// to create dashboards by replacing dataset placeholders with datasets that +// follow the same schema that was used to create the source analysis and template. // -// Exactly one of the experience configurations is required. You can choose -// Dashboard or QuickSightConsole. You cannot choose more than one experience -// configuration. -type RegisteredUserEmbeddingExperienceConfiguration struct { +// You can share templates across Amazon Web Services accounts by allowing users +// in other Amazon Web Services accounts to create a template or a dashboard +// from an existing template. +type Template struct { _ struct{} `type:"structure"` - // The configuration details for providing a dashboard embedding experience. - Dashboard *RegisteredUserDashboardEmbeddingConfiguration `type:"structure"` + // The Amazon Resource Name (ARN) of the template. + Arn *string `type:"string"` - // The type of embedding experience. In this case, Amazon QuickSight visuals. - DashboardVisual *RegisteredUserDashboardVisualEmbeddingConfiguration `type:"structure"` + // Time when this was created. + CreatedTime *time.Time `type:"timestamp"` - // The configuration details for embedding the Q search bar. - // - // For more information about embedding the Q search bar, see Embedding Overview - // (https://docs.aws.amazon.com/quicksight/latest/user/embedding-overview.html) - // in the Amazon QuickSight User Guide. - QSearchBar *RegisteredUserQSearchBarEmbeddingConfiguration `type:"structure"` + // Time when this was last updated. + LastUpdatedTime *time.Time `type:"timestamp"` - // The configuration details for providing each Amazon QuickSight console embedding - // experience. This can be used along with custom permissions to restrict access - // to certain features. For more information, see Customizing Access to the - // Amazon QuickSight Console (https://docs.aws.amazon.com/quicksight/latest/user/customizing-permissions-to-the-quicksight-console.html) - // in the Amazon QuickSight User Guide. - // - // Use GenerateEmbedUrlForRegisteredUser (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_GenerateEmbedUrlForRegisteredUser.html) - // where you want to provide an authoring portal that allows users to create - // data sources, datasets, analyses, and dashboards. The users who accesses - // an embedded Amazon QuickSight console needs to belong to the author or admin - // security cohort. If you want to restrict permissions to some of these features, - // add a custom permissions profile to the user with the UpdateUser (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_UpdateUser.html) - // API operation. Use the RegisterUser (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_RegisterUser.html) - // API operation to add a new user with a custom permission profile attached. - // For more information, see the following sections in the Amazon QuickSight - // User Guide: - // - // * Embedding the Full Functionality of the Amazon QuickSight Console for - // Authenticated Users (https://docs.aws.amazon.com/quicksight/latest/user/embedded-analytics-full-console-for-authenticated-users.html) - // - // * Customizing Access to the Amazon QuickSight Console (https://docs.aws.amazon.com/quicksight/latest/user/customizing-permissions-to-the-quicksight-console.html) - // - // For more information about the high-level steps for embedding and for an - // interactive demo of the ways you can customize embedding, visit the Amazon - // QuickSight Developer Portal (https://docs.aws.amazon.com/quicksight/latest/user/quicksight-dev-portal.html). - QuickSightConsole *RegisteredUserQuickSightConsoleEmbeddingConfiguration `type:"structure"` + // The display name of the template. + Name *string `min:"1" type:"string"` + + // The ID for the template. This is unique per Amazon Web Services Region for + // each Amazon Web Services account. + TemplateId *string `min:"1" type:"string"` + + // A structure describing the versions of the template. + Version *TemplateVersion `type:"structure"` } // String returns the string representation. @@ -35845,7 +69394,7 @@ type RegisteredUserEmbeddingExperienceConfiguration struct { // 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 RegisteredUserEmbeddingExperienceConfiguration) String() string { +func (s Template) String() string { return awsutil.Prettify(s) } @@ -35854,78 +69403,58 @@ func (s RegisteredUserEmbeddingExperienceConfiguration) String() string { // 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 RegisteredUserEmbeddingExperienceConfiguration) GoString() string { +func (s Template) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *RegisteredUserEmbeddingExperienceConfiguration) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RegisteredUserEmbeddingExperienceConfiguration"} - if s.Dashboard != nil { - if err := s.Dashboard.Validate(); err != nil { - invalidParams.AddNested("Dashboard", err.(request.ErrInvalidParams)) - } - } - if s.DashboardVisual != nil { - if err := s.DashboardVisual.Validate(); err != nil { - invalidParams.AddNested("DashboardVisual", err.(request.ErrInvalidParams)) - } - } - if s.QSearchBar != nil { - if err := s.QSearchBar.Validate(); err != nil { - invalidParams.AddNested("QSearchBar", err.(request.ErrInvalidParams)) - } - } - if s.QuickSightConsole != nil { - if err := s.QuickSightConsole.Validate(); err != nil { - invalidParams.AddNested("QuickSightConsole", err.(request.ErrInvalidParams)) - } - } +// SetArn sets the Arn field's value. +func (s *Template) SetArn(v string) *Template { + s.Arn = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetCreatedTime sets the CreatedTime field's value. +func (s *Template) SetCreatedTime(v time.Time) *Template { + s.CreatedTime = &v + return s } -// SetDashboard sets the Dashboard field's value. -func (s *RegisteredUserEmbeddingExperienceConfiguration) SetDashboard(v *RegisteredUserDashboardEmbeddingConfiguration) *RegisteredUserEmbeddingExperienceConfiguration { - s.Dashboard = v +// SetLastUpdatedTime sets the LastUpdatedTime field's value. +func (s *Template) SetLastUpdatedTime(v time.Time) *Template { + s.LastUpdatedTime = &v return s } -// SetDashboardVisual sets the DashboardVisual field's value. -func (s *RegisteredUserEmbeddingExperienceConfiguration) SetDashboardVisual(v *RegisteredUserDashboardVisualEmbeddingConfiguration) *RegisteredUserEmbeddingExperienceConfiguration { - s.DashboardVisual = v +// SetName sets the Name field's value. +func (s *Template) SetName(v string) *Template { + s.Name = &v return s } -// SetQSearchBar sets the QSearchBar field's value. -func (s *RegisteredUserEmbeddingExperienceConfiguration) SetQSearchBar(v *RegisteredUserQSearchBarEmbeddingConfiguration) *RegisteredUserEmbeddingExperienceConfiguration { - s.QSearchBar = v +// SetTemplateId sets the TemplateId field's value. +func (s *Template) SetTemplateId(v string) *Template { + s.TemplateId = &v return s } -// SetQuickSightConsole sets the QuickSightConsole field's value. -func (s *RegisteredUserEmbeddingExperienceConfiguration) SetQuickSightConsole(v *RegisteredUserQuickSightConsoleEmbeddingConfiguration) *RegisteredUserEmbeddingExperienceConfiguration { - s.QuickSightConsole = v +// SetVersion sets the Version field's value. +func (s *Template) SetVersion(v *TemplateVersion) *Template { + s.Version = v return s } -// Information about the Q search bar embedding experience. -type RegisteredUserQSearchBarEmbeddingConfiguration struct { +// The template alias. +type TemplateAlias struct { _ struct{} `type:"structure"` - // The ID of the Q topic that you want to make the starting topic in the Q search - // bar. You can find a topic ID by navigating to the Topics pane in the Amazon - // QuickSight application and opening a topic. The ID is in the URL for the - // topic that you open. - // - // If you don't specify an initial topic, a list of all shared topics is shown - // in the Q bar for your readers. When you select an initial topic, you can - // specify whether or not readers are allowed to select other topics from the - // available ones in the list. - InitialTopicId *string `min:"1" type:"string"` + // The display name of the template alias. + AliasName *string `min:"1" type:"string"` + + // The Amazon Resource Name (ARN) of the template alias. + Arn *string `type:"string"` + + // The version number of the template alias. + TemplateVersionNumber *int64 `min:"1" type:"long"` } // String returns the string representation. @@ -35933,7 +69462,7 @@ type RegisteredUserQSearchBarEmbeddingConfiguration struct { // 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 RegisteredUserQSearchBarEmbeddingConfiguration) String() string { +func (s TemplateAlias) String() string { return awsutil.Prettify(s) } @@ -35942,51 +69471,39 @@ func (s RegisteredUserQSearchBarEmbeddingConfiguration) String() string { // 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 RegisteredUserQSearchBarEmbeddingConfiguration) GoString() string { +func (s TemplateAlias) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *RegisteredUserQSearchBarEmbeddingConfiguration) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RegisteredUserQSearchBarEmbeddingConfiguration"} - if s.InitialTopicId != nil && len(*s.InitialTopicId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InitialTopicId", 1)) - } +// SetAliasName sets the AliasName field's value. +func (s *TemplateAlias) SetAliasName(v string) *TemplateAlias { + s.AliasName = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetArn sets the Arn field's value. +func (s *TemplateAlias) SetArn(v string) *TemplateAlias { + s.Arn = &v + return s } -// SetInitialTopicId sets the InitialTopicId field's value. -func (s *RegisteredUserQSearchBarEmbeddingConfiguration) SetInitialTopicId(v string) *RegisteredUserQSearchBarEmbeddingConfiguration { - s.InitialTopicId = &v +// SetTemplateVersionNumber sets the TemplateVersionNumber field's value. +func (s *TemplateAlias) SetTemplateVersionNumber(v int64) *TemplateAlias { + s.TemplateVersionNumber = &v return s } -// Information about the Amazon QuickSight console that you want to embed. -type RegisteredUserQuickSightConsoleEmbeddingConfiguration struct { +// List of errors that occurred when the template version creation failed. +type TemplateError struct { _ struct{} `type:"structure"` - // The initial URL path for the Amazon QuickSight console. InitialPath is required. - // - // The entry point URL is constrained to the following paths: - // - // * /start - // - // * /start/analyses - // - // * /start/dashboards - // - // * /start/favorites - // - // * /dashboards/DashboardId. DashboardId is the actual ID key from the Amazon - // QuickSight console URL of the dashboard. - // - // * /analyses/AnalysisId. AnalysisId is the actual ID key from the Amazon - // QuickSight console URL of the analysis. - InitialPath *string `min:"1" type:"string"` + // Description of the error type. + Message *string `type:"string"` + + // Type of error. + Type *string `type:"string" enum:"TemplateErrorType"` + + ViolatedEntities []*Entity `type:"list"` } // String returns the string representation. @@ -35994,7 +69511,7 @@ type RegisteredUserQuickSightConsoleEmbeddingConfiguration struct { // 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 RegisteredUserQuickSightConsoleEmbeddingConfiguration) String() string { +func (s TemplateError) String() string { return awsutil.Prettify(s) } @@ -36003,53 +69520,42 @@ func (s RegisteredUserQuickSightConsoleEmbeddingConfiguration) String() string { // 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 RegisteredUserQuickSightConsoleEmbeddingConfiguration) GoString() string { +func (s TemplateError) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *RegisteredUserQuickSightConsoleEmbeddingConfiguration) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RegisteredUserQuickSightConsoleEmbeddingConfiguration"} - if s.InitialPath != nil && len(*s.InitialPath) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InitialPath", 1)) - } +// SetMessage sets the Message field's value. +func (s *TemplateError) SetMessage(v string) *TemplateError { + s.Message = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetType sets the Type field's value. +func (s *TemplateError) SetType(v string) *TemplateError { + s.Type = &v + return s } -// SetInitialPath sets the InitialPath field's value. -func (s *RegisteredUserQuickSightConsoleEmbeddingConfiguration) SetInitialPath(v string) *RegisteredUserQuickSightConsoleEmbeddingConfiguration { - s.InitialPath = &v +// SetViolatedEntities sets the ViolatedEntities field's value. +func (s *TemplateError) SetViolatedEntities(v []*Entity) *TemplateError { + s.ViolatedEntities = v return s } -// A physical table type for relational data sources. -type RelationalTable struct { +// The source analysis of the template. +type TemplateSourceAnalysis struct { _ struct{} `type:"structure"` - // The catalog associated with a table. - Catalog *string `type:"string"` - - // The Amazon Resource Name (ARN) for the data source. - // - // DataSourceArn is a required field - DataSourceArn *string `type:"string" required:"true"` - - // The column schema of the table. + // The Amazon Resource Name (ARN) of the resource. // - // InputColumns is a required field - InputColumns []*InputColumn `min:"1" type:"list" required:"true"` + // Arn is a required field + Arn *string `type:"string" required:"true"` - // The name of the relational table. + // A structure containing information about the dataset references used as placeholders + // in the template. // - // Name is a required field - Name *string `min:"1" type:"string" required:"true"` - - // The schema name. This name applies to certain relational database engines. - Schema *string `type:"string"` + // DataSetReferences is a required field + DataSetReferences []*DataSetReference `min:"1" type:"list" required:"true"` } // String returns the string representation. @@ -36057,7 +69563,7 @@ type RelationalTable struct { // 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 RelationalTable) String() string { +func (s TemplateSourceAnalysis) String() string { return awsutil.Prettify(s) } @@ -36066,35 +69572,29 @@ func (s RelationalTable) String() string { // 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 RelationalTable) GoString() string { +func (s TemplateSourceAnalysis) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *RelationalTable) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RelationalTable"} - if s.DataSourceArn == nil { - invalidParams.Add(request.NewErrParamRequired("DataSourceArn")) - } - if s.InputColumns == nil { - invalidParams.Add(request.NewErrParamRequired("InputColumns")) - } - if s.InputColumns != nil && len(s.InputColumns) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InputColumns", 1)) +func (s *TemplateSourceAnalysis) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TemplateSourceAnalysis"} + if s.Arn == nil { + invalidParams.Add(request.NewErrParamRequired("Arn")) } - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) + if s.DataSetReferences == nil { + invalidParams.Add(request.NewErrParamRequired("DataSetReferences")) } - if s.Name != nil && len(*s.Name) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + if s.DataSetReferences != nil && len(s.DataSetReferences) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DataSetReferences", 1)) } - if s.InputColumns != nil { - for i, v := range s.InputColumns { + if s.DataSetReferences != nil { + for i, v := range s.DataSetReferences { if v == nil { continue } if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputColumns", i), err.(request.ErrInvalidParams)) + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DataSetReferences", i), err.(request.ErrInvalidParams)) } } } @@ -36105,49 +69605,27 @@ func (s *RelationalTable) Validate() error { return nil } -// SetCatalog sets the Catalog field's value. -func (s *RelationalTable) SetCatalog(v string) *RelationalTable { - s.Catalog = &v - return s -} - -// SetDataSourceArn sets the DataSourceArn field's value. -func (s *RelationalTable) SetDataSourceArn(v string) *RelationalTable { - s.DataSourceArn = &v - return s -} - -// SetInputColumns sets the InputColumns field's value. -func (s *RelationalTable) SetInputColumns(v []*InputColumn) *RelationalTable { - s.InputColumns = v - return s -} - -// SetName sets the Name field's value. -func (s *RelationalTable) SetName(v string) *RelationalTable { - s.Name = &v +// SetArn sets the Arn field's value. +func (s *TemplateSourceAnalysis) SetArn(v string) *TemplateSourceAnalysis { + s.Arn = &v return s } -// SetSchema sets the Schema field's value. -func (s *RelationalTable) SetSchema(v string) *RelationalTable { - s.Schema = &v +// SetDataSetReferences sets the DataSetReferences field's value. +func (s *TemplateSourceAnalysis) SetDataSetReferences(v []*DataSetReference) *TemplateSourceAnalysis { + s.DataSetReferences = v return s } -// A transform operation that renames a column. -type RenameColumnOperation struct { +// The source entity of the template. +type TemplateSourceEntity struct { _ struct{} `type:"structure"` - // The name of the column to be renamed. - // - // ColumnName is a required field - ColumnName *string `min:"1" type:"string" required:"true"` + // The source analysis, if it is based on an analysis. + SourceAnalysis *TemplateSourceAnalysis `type:"structure"` - // The new name for the column. - // - // NewColumnName is a required field - NewColumnName *string `min:"1" type:"string" required:"true"` + // The source template, if it is based on an template. + SourceTemplate *TemplateSourceTemplate `type:"structure"` } // String returns the string representation. @@ -36155,7 +69633,7 @@ type RenameColumnOperation struct { // 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 RenameColumnOperation) String() string { +func (s TemplateSourceEntity) String() string { return awsutil.Prettify(s) } @@ -36164,24 +69642,22 @@ func (s RenameColumnOperation) String() string { // 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 RenameColumnOperation) GoString() string { +func (s TemplateSourceEntity) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *RenameColumnOperation) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RenameColumnOperation"} - if s.ColumnName == nil { - invalidParams.Add(request.NewErrParamRequired("ColumnName")) - } - if s.ColumnName != nil && len(*s.ColumnName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ColumnName", 1)) - } - if s.NewColumnName == nil { - invalidParams.Add(request.NewErrParamRequired("NewColumnName")) +func (s *TemplateSourceEntity) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TemplateSourceEntity"} + if s.SourceAnalysis != nil { + if err := s.SourceAnalysis.Validate(); err != nil { + invalidParams.AddNested("SourceAnalysis", err.(request.ErrInvalidParams)) + } } - if s.NewColumnName != nil && len(*s.NewColumnName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("NewColumnName", 1)) + if s.SourceTemplate != nil { + if err := s.SourceTemplate.Validate(); err != nil { + invalidParams.AddNested("SourceTemplate", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -36190,30 +69666,26 @@ func (s *RenameColumnOperation) Validate() error { return nil } -// SetColumnName sets the ColumnName field's value. -func (s *RenameColumnOperation) SetColumnName(v string) *RenameColumnOperation { - s.ColumnName = &v +// SetSourceAnalysis sets the SourceAnalysis field's value. +func (s *TemplateSourceEntity) SetSourceAnalysis(v *TemplateSourceAnalysis) *TemplateSourceEntity { + s.SourceAnalysis = v return s } -// SetNewColumnName sets the NewColumnName field's value. -func (s *RenameColumnOperation) SetNewColumnName(v string) *RenameColumnOperation { - s.NewColumnName = &v +// SetSourceTemplate sets the SourceTemplate field's value. +func (s *TemplateSourceEntity) SetSourceTemplate(v *TemplateSourceTemplate) *TemplateSourceEntity { + s.SourceTemplate = v return s } -// The resource specified already exists. -type ResourceExistsException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - - Message_ *string `locationName:"Message" type:"string"` - - // The Amazon Web Services request ID for this request. - RequestId *string `type:"string"` +// The source template of the template. +type TemplateSourceTemplate struct { + _ struct{} `type:"structure"` - // The resource type for this request. - ResourceType *string `type:"string" enum:"ExceptionResourceType"` + // The Amazon Resource Name (ARN) of the resource. + // + // Arn is a required field + Arn *string `type:"string" required:"true"` } // String returns the string representation. @@ -36221,7 +69693,7 @@ type ResourceExistsException struct { // 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 ResourceExistsException) String() string { +func (s TemplateSourceTemplate) String() string { return awsutil.Prettify(s) } @@ -36230,60 +69702,51 @@ func (s ResourceExistsException) String() string { // 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 ResourceExistsException) GoString() string { +func (s TemplateSourceTemplate) GoString() string { return s.String() } -func newErrorResourceExistsException(v protocol.ResponseMetadata) error { - return &ResourceExistsException{ - RespMetadata: v, +// Validate inspects the fields of the type to determine if they are valid. +func (s *TemplateSourceTemplate) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TemplateSourceTemplate"} + if s.Arn == nil { + invalidParams.Add(request.NewErrParamRequired("Arn")) } -} - -// Code returns the exception type name. -func (s *ResourceExistsException) Code() string { - return "ResourceExistsException" -} -// Message returns the exception's message. -func (s *ResourceExistsException) Message() string { - if s.Message_ != nil { - return *s.Message_ + if invalidParams.Len() > 0 { + return invalidParams } - return "" -} - -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *ResourceExistsException) OrigErr() error { return nil } -func (s *ResourceExistsException) Error() string { - return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +// SetArn sets the Arn field's value. +func (s *TemplateSourceTemplate) SetArn(v string) *TemplateSourceTemplate { + s.Arn = &v + return s } -// Status code returns the HTTP status code for the request's response error. -func (s *ResourceExistsException) StatusCode() int { - return s.RespMetadata.StatusCode -} +// The template summary. +type TemplateSummary struct { + _ struct{} `type:"structure"` -// RequestID returns the service's response RequestID for request. -func (s *ResourceExistsException) RequestID() string { - return s.RespMetadata.RequestID -} + // A summary of a template. + Arn *string `type:"string"` -// One or more resources can't be found. -type ResourceNotFoundException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + // The last time that this template was created. + CreatedTime *time.Time `type:"timestamp"` - Message_ *string `locationName:"Message" type:"string"` + // The last time that this template was updated. + LastUpdatedTime *time.Time `type:"timestamp"` - // The Amazon Web Services request ID for this request. - RequestId *string `type:"string"` + // A structure containing a list of version numbers for the template summary. + LatestVersionNumber *int64 `min:"1" type:"long"` - // The resource type for this request. - ResourceType *string `type:"string" enum:"ExceptionResourceType"` + // A display name for the template. + Name *string `min:"1" type:"string"` + + // The ID of the template. This ID is unique per Amazon Web Services Region + // for each Amazon Web Services account. + TemplateId *string `min:"1" type:"string"` } // String returns the string representation. @@ -36291,7 +69754,7 @@ type ResourceNotFoundException struct { // 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 ResourceNotFoundException) String() string { +func (s TemplateSummary) String() string { return awsutil.Prettify(s) } @@ -36300,71 +69763,80 @@ func (s ResourceNotFoundException) String() string { // 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 ResourceNotFoundException) GoString() string { +func (s TemplateSummary) GoString() string { return s.String() } -func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error { - return &ResourceNotFoundException{ - RespMetadata: v, - } -} - -// Code returns the exception type name. -func (s *ResourceNotFoundException) Code() string { - return "ResourceNotFoundException" +// SetArn sets the Arn field's value. +func (s *TemplateSummary) SetArn(v string) *TemplateSummary { + s.Arn = &v + return s } -// Message returns the exception's message. -func (s *ResourceNotFoundException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" +// SetCreatedTime sets the CreatedTime field's value. +func (s *TemplateSummary) SetCreatedTime(v time.Time) *TemplateSummary { + s.CreatedTime = &v + return s } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *ResourceNotFoundException) OrigErr() error { - return nil +// SetLastUpdatedTime sets the LastUpdatedTime field's value. +func (s *TemplateSummary) SetLastUpdatedTime(v time.Time) *TemplateSummary { + s.LastUpdatedTime = &v + return s } -func (s *ResourceNotFoundException) Error() string { - return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +// SetLatestVersionNumber sets the LatestVersionNumber field's value. +func (s *TemplateSummary) SetLatestVersionNumber(v int64) *TemplateSummary { + s.LatestVersionNumber = &v + return s } -// Status code returns the HTTP status code for the request's response error. -func (s *ResourceNotFoundException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetName sets the Name field's value. +func (s *TemplateSummary) SetName(v string) *TemplateSummary { + s.Name = &v + return s } -// RequestID returns the service's response RequestID for request. -func (s *ResourceNotFoundException) RequestID() string { - return s.RespMetadata.RequestID +// SetTemplateId sets the TemplateId field's value. +func (s *TemplateSummary) SetTemplateId(v string) *TemplateSummary { + s.TemplateId = &v + return s } -// Permission for the resource. -type ResourcePermission struct { +// A version of a template. +type TemplateVersion struct { _ struct{} `type:"structure"` - // The IAM action to grant or revoke permissions on. - // - // Actions is a required field - Actions []*string `min:"1" type:"list" required:"true"` + // The time that this template version was created. + CreatedTime *time.Time `type:"timestamp"` - // The Amazon Resource Name (ARN) of the principal. This can be one of the following: - // - // * The ARN of an Amazon QuickSight user or group associated with a data - // source or dataset. (This is common.) - // - // * The ARN of an Amazon QuickSight user, group, or namespace associated - // with an analysis, dashboard, template, or theme. (This is common.) - // - // * The ARN of an Amazon Web Services account root: This is an IAM ARN rather - // than a QuickSight ARN. Use this option only to share resources (templates) - // across Amazon Web Services accounts. (This is less common.) - // - // Principal is a required field - Principal *string `min:"1" type:"string" required:"true"` + // Schema of the dataset identified by the placeholder. Any dashboard created + // from this template should be bound to new datasets matching the same schema + // described through this API operation. + DataSetConfigurations []*DataSetConfiguration `type:"list"` + + // The description of the template. + Description *string `min:"1" type:"string"` + + // Errors associated with this template version. + Errors []*TemplateError `min:"1" type:"list"` + + // A list of the associated sheets with the unique identifier and name of each + // sheet. + Sheets []*Sheet `type:"list"` + + // The Amazon Resource Name (ARN) of an analysis or template that was used to + // create this template. + SourceEntityArn *string `type:"string"` + + // The HTTP status of the request. + Status *string `type:"string" enum:"ResourceStatus"` + + // The ARN of the theme associated with this version of the template. + ThemeArn *string `type:"string"` + + // The version number of the template version. + VersionNumber *int64 `min:"1" type:"long"` } // String returns the string representation. @@ -36372,7 +69844,7 @@ type ResourcePermission struct { // 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 ResourcePermission) String() string { +func (s TemplateVersion) String() string { return awsutil.Prettify(s) } @@ -36381,126 +69853,101 @@ func (s ResourcePermission) String() string { // 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 ResourcePermission) GoString() string { +func (s TemplateVersion) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *ResourcePermission) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ResourcePermission"} - if s.Actions == nil { - invalidParams.Add(request.NewErrParamRequired("Actions")) - } - if s.Actions != nil && len(s.Actions) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Actions", 1)) - } - if s.Principal == nil { - invalidParams.Add(request.NewErrParamRequired("Principal")) - } - if s.Principal != nil && len(*s.Principal) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Principal", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetCreatedTime sets the CreatedTime field's value. +func (s *TemplateVersion) SetCreatedTime(v time.Time) *TemplateVersion { + s.CreatedTime = &v + return s } -// SetActions sets the Actions field's value. -func (s *ResourcePermission) SetActions(v []*string) *ResourcePermission { - s.Actions = v +// SetDataSetConfigurations sets the DataSetConfigurations field's value. +func (s *TemplateVersion) SetDataSetConfigurations(v []*DataSetConfiguration) *TemplateVersion { + s.DataSetConfigurations = v return s } -// SetPrincipal sets the Principal field's value. -func (s *ResourcePermission) SetPrincipal(v string) *ResourcePermission { - s.Principal = &v +// SetDescription sets the Description field's value. +func (s *TemplateVersion) SetDescription(v string) *TemplateVersion { + s.Description = &v return s } -// This resource is currently unavailable. -type ResourceUnavailableException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - - Message_ *string `locationName:"Message" type:"string"` - - // The Amazon Web Services request ID for this request. - RequestId *string `type:"string"` - - // The resource type for this request. - ResourceType *string `type:"string" enum:"ExceptionResourceType"` +// SetErrors sets the Errors field's value. +func (s *TemplateVersion) SetErrors(v []*TemplateError) *TemplateVersion { + s.Errors = v + return s } -// 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 ResourceUnavailableException) String() string { - return awsutil.Prettify(s) +// SetSheets sets the Sheets field's value. +func (s *TemplateVersion) SetSheets(v []*Sheet) *TemplateVersion { + s.Sheets = v + return 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 ResourceUnavailableException) GoString() string { - return s.String() +// SetSourceEntityArn sets the SourceEntityArn field's value. +func (s *TemplateVersion) SetSourceEntityArn(v string) *TemplateVersion { + s.SourceEntityArn = &v + return s } -func newErrorResourceUnavailableException(v protocol.ResponseMetadata) error { - return &ResourceUnavailableException{ - RespMetadata: v, - } +// SetStatus sets the Status field's value. +func (s *TemplateVersion) SetStatus(v string) *TemplateVersion { + s.Status = &v + return s } -// Code returns the exception type name. -func (s *ResourceUnavailableException) Code() string { - return "ResourceUnavailableException" +// SetThemeArn sets the ThemeArn field's value. +func (s *TemplateVersion) SetThemeArn(v string) *TemplateVersion { + s.ThemeArn = &v + return s } -// Message returns the exception's message. -func (s *ResourceUnavailableException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" +// SetVersionNumber sets the VersionNumber field's value. +func (s *TemplateVersion) SetVersionNumber(v int64) *TemplateVersion { + s.VersionNumber = &v + return s } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *ResourceUnavailableException) OrigErr() error { - return nil -} +// The detailed definition of a template. +type TemplateVersionDefinition struct { + _ struct{} `type:"structure"` -func (s *ResourceUnavailableException) Error() string { - return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) -} + // The configuration for default analysis settings. + AnalysisDefaults *AnalysisDefaults `type:"structure"` -// Status code returns the HTTP status code for the request's response error. -func (s *ResourceUnavailableException) StatusCode() int { - return s.RespMetadata.StatusCode -} + // An array of calculated field definitions for the template. + CalculatedFields []*CalculatedField `type:"list"` -// RequestID returns the service's response RequestID for request. -func (s *ResourceUnavailableException) RequestID() string { - return s.RespMetadata.RequestID -} + // An array of template-level column configurations. Column configurations are + // used to set default formatting for a column that's used throughout a template. + ColumnConfigurations []*ColumnConfiguration `type:"list"` -type RestoreAnalysisInput struct { - _ struct{} `type:"structure" nopayload:"true"` + // An array of dataset configurations. These configurations define the required + // columns for each dataset used within a template. + // + // DataSetConfigurations is a required field + DataSetConfigurations []*DataSetConfiguration `type:"list" required:"true"` - // The ID of the analysis that you're restoring. + // Filter definitions for a template. // - // AnalysisId is a required field - AnalysisId *string `location:"uri" locationName:"AnalysisId" min:"1" type:"string" required:"true"` + // For more information, see Filtering Data (https://docs.aws.amazon.com/quicksight/latest/user/filtering-visual-data.html) + // in the Amazon QuickSight User Guide. + FilterGroups []*FilterGroup `type:"list"` - // The ID of the Amazon Web Services account that contains the analysis. + // An array of parameter declarations for a template. // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // Parameters are named variables that can transfer a value for use by an action + // or an object. + // + // For more information, see Parameters in Amazon QuickSight (https://docs.aws.amazon.com/quicksight/latest/user/parameters-in-quicksight.html) + // in the Amazon QuickSight User Guide. + ParameterDeclarations []*ParameterDeclaration `type:"list"` + + // An array of sheet definitions for a template. + Sheets []*SheetDefinition `type:"list"` } // String returns the string representation. @@ -36508,7 +69955,7 @@ type RestoreAnalysisInput struct { // 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 RestoreAnalysisInput) String() string { +func (s TemplateVersionDefinition) String() string { return awsutil.Prettify(s) } @@ -36517,24 +69964,70 @@ func (s RestoreAnalysisInput) String() string { // 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 RestoreAnalysisInput) GoString() string { +func (s TemplateVersionDefinition) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *RestoreAnalysisInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RestoreAnalysisInput"} - if s.AnalysisId == nil { - invalidParams.Add(request.NewErrParamRequired("AnalysisId")) +func (s *TemplateVersionDefinition) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TemplateVersionDefinition"} + if s.DataSetConfigurations == nil { + invalidParams.Add(request.NewErrParamRequired("DataSetConfigurations")) + } + if s.AnalysisDefaults != nil { + if err := s.AnalysisDefaults.Validate(); err != nil { + invalidParams.AddNested("AnalysisDefaults", err.(request.ErrInvalidParams)) + } } - if s.AnalysisId != nil && len(*s.AnalysisId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("AnalysisId", 1)) + if s.CalculatedFields != nil { + for i, v := range s.CalculatedFields { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CalculatedFields", i), err.(request.ErrInvalidParams)) + } + } } - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + if s.ColumnConfigurations != nil { + for i, v := range s.ColumnConfigurations { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnConfigurations", i), err.(request.ErrInvalidParams)) + } + } } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + if s.FilterGroups != nil { + for i, v := range s.FilterGroups { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "FilterGroups", i), err.(request.ErrInvalidParams)) + } + } + } + if s.ParameterDeclarations != nil { + for i, v := range s.ParameterDeclarations { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ParameterDeclarations", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Sheets != nil { + for i, v := range s.Sheets { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Sheets", i), err.(request.ErrInvalidParams)) + } + } } if invalidParams.Len() > 0 { @@ -36543,88 +70036,66 @@ func (s *RestoreAnalysisInput) Validate() error { return nil } -// SetAnalysisId sets the AnalysisId field's value. -func (s *RestoreAnalysisInput) SetAnalysisId(v string) *RestoreAnalysisInput { - s.AnalysisId = &v +// SetAnalysisDefaults sets the AnalysisDefaults field's value. +func (s *TemplateVersionDefinition) SetAnalysisDefaults(v *AnalysisDefaults) *TemplateVersionDefinition { + s.AnalysisDefaults = v return s } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *RestoreAnalysisInput) SetAwsAccountId(v string) *RestoreAnalysisInput { - s.AwsAccountId = &v +// SetCalculatedFields sets the CalculatedFields field's value. +func (s *TemplateVersionDefinition) SetCalculatedFields(v []*CalculatedField) *TemplateVersionDefinition { + s.CalculatedFields = v return s } -type RestoreAnalysisOutput struct { - _ struct{} `type:"structure"` - - // The ID of the analysis that you're restoring. - AnalysisId *string `min:"1" type:"string"` - - // The Amazon Resource Name (ARN) of the analysis that you're restoring. - Arn *string `type:"string"` - - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` - - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` -} - -// 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 RestoreAnalysisOutput) 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 RestoreAnalysisOutput) GoString() string { - return s.String() +// SetColumnConfigurations sets the ColumnConfigurations field's value. +func (s *TemplateVersionDefinition) SetColumnConfigurations(v []*ColumnConfiguration) *TemplateVersionDefinition { + s.ColumnConfigurations = v + return s } -// SetAnalysisId sets the AnalysisId field's value. -func (s *RestoreAnalysisOutput) SetAnalysisId(v string) *RestoreAnalysisOutput { - s.AnalysisId = &v +// SetDataSetConfigurations sets the DataSetConfigurations field's value. +func (s *TemplateVersionDefinition) SetDataSetConfigurations(v []*DataSetConfiguration) *TemplateVersionDefinition { + s.DataSetConfigurations = v return s } -// SetArn sets the Arn field's value. -func (s *RestoreAnalysisOutput) SetArn(v string) *RestoreAnalysisOutput { - s.Arn = &v +// SetFilterGroups sets the FilterGroups field's value. +func (s *TemplateVersionDefinition) SetFilterGroups(v []*FilterGroup) *TemplateVersionDefinition { + s.FilterGroups = v return s } -// SetRequestId sets the RequestId field's value. -func (s *RestoreAnalysisOutput) SetRequestId(v string) *RestoreAnalysisOutput { - s.RequestId = &v +// SetParameterDeclarations sets the ParameterDeclarations field's value. +func (s *TemplateVersionDefinition) SetParameterDeclarations(v []*ParameterDeclaration) *TemplateVersionDefinition { + s.ParameterDeclarations = v return s } -// SetStatus sets the Status field's value. -func (s *RestoreAnalysisOutput) SetStatus(v int64) *RestoreAnalysisOutput { - s.Status = &v +// SetSheets sets the Sheets field's value. +func (s *TemplateVersionDefinition) SetSheets(v []*SheetDefinition) *TemplateVersionDefinition { + s.Sheets = v return s } -// Information about rows for a data set SPICE ingestion. -type RowInfo struct { +// The template version. +type TemplateVersionSummary struct { _ struct{} `type:"structure"` - // The number of rows that were not ingested. - RowsDropped *int64 `type:"long"` + // The Amazon Resource Name (ARN) of the template version. + Arn *string `type:"string"` - // The number of rows that were ingested. - RowsIngested *int64 `type:"long"` + // The time that this template version was created. + CreatedTime *time.Time `type:"timestamp"` - // The total number of rows in the dataset. - TotalRowsInDataset *int64 `type:"long"` + // The description of the template version. + Description *string `min:"1" type:"string"` + + // The status of the template version. + Status *string `type:"string" enum:"ResourceStatus"` + + // The version number of the template version. + VersionNumber *int64 `min:"1" type:"long"` } // String returns the string representation. @@ -36632,7 +70103,7 @@ type RowInfo struct { // 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 RowInfo) String() string { +func (s TemplateVersionSummary) String() string { return awsutil.Prettify(s) } @@ -36641,64 +70112,58 @@ func (s RowInfo) String() string { // 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 RowInfo) GoString() string { +func (s TemplateVersionSummary) GoString() string { return s.String() } -// SetRowsDropped sets the RowsDropped field's value. -func (s *RowInfo) SetRowsDropped(v int64) *RowInfo { - s.RowsDropped = &v +// SetArn sets the Arn field's value. +func (s *TemplateVersionSummary) SetArn(v string) *TemplateVersionSummary { + s.Arn = &v return s } -// SetRowsIngested sets the RowsIngested field's value. -func (s *RowInfo) SetRowsIngested(v int64) *RowInfo { - s.RowsIngested = &v +// SetCreatedTime sets the CreatedTime field's value. +func (s *TemplateVersionSummary) SetCreatedTime(v time.Time) *TemplateVersionSummary { + s.CreatedTime = &v return s } -// SetTotalRowsInDataset sets the TotalRowsInDataset field's value. -func (s *RowInfo) SetTotalRowsInDataset(v int64) *RowInfo { - s.TotalRowsInDataset = &v +// SetDescription sets the Description field's value. +func (s *TemplateVersionSummary) SetDescription(v string) *TemplateVersionSummary { + s.Description = &v return s } -// Information about a dataset that contains permissions for row-level security -// (RLS). The permissions dataset maps fields to users or groups. For more information, -// see Using Row-Level Security (RLS) to Restrict Access to a Dataset (https://docs.aws.amazon.com/quicksight/latest/user/restrict-access-to-a-data-set-using-row-level-security.html) -// in the Amazon QuickSight User Guide. -// -// The option to deny permissions by setting PermissionPolicy to DENY_ACCESS -// is not supported for new RLS datasets. -type RowLevelPermissionDataSet struct { +// SetStatus sets the Status field's value. +func (s *TemplateVersionSummary) SetStatus(v string) *TemplateVersionSummary { + s.Status = &v + return s +} + +// SetVersionNumber sets the VersionNumber field's value. +func (s *TemplateVersionSummary) SetVersionNumber(v int64) *TemplateVersionSummary { + s.VersionNumber = &v + return s +} + +// The parameters for Teradata. +type TeradataParameters struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the dataset that contains permissions for - // RLS. + // Database. // - // Arn is a required field - Arn *string `type:"string" required:"true"` + // Database is a required field + Database *string `min:"1" type:"string" required:"true"` - // The user or group rules associated with the dataset that contains permissions - // for RLS. + // Host. // - // By default, FormatVersion is VERSION_1. When FormatVersion is VERSION_1, - // UserName and GroupName are required. When FormatVersion is VERSION_2, UserARN - // and GroupARN are required, and Namespace must not exist. - FormatVersion *string `type:"string" enum:"RowLevelPermissionFormatVersion"` - - // The namespace associated with the dataset that contains permissions for RLS. - Namespace *string `type:"string"` + // Host is a required field + Host *string `min:"1" type:"string" required:"true"` - // The type of permissions to use when interpreting the permissions for RLS. - // DENY_ACCESS is included for backward compatibility only. + // Port. // - // PermissionPolicy is a required field - PermissionPolicy *string `type:"string" required:"true" enum:"RowLevelPermissionPolicy"` - - // The status of the row-level security permission dataset. If enabled, the - // status is ENABLED. If disabled, the status is DISABLED. - Status *string `type:"string" enum:"Status"` + // Port is a required field + Port *int64 `min:"1" type:"integer" required:"true"` } // String returns the string representation. @@ -36706,7 +70171,7 @@ type RowLevelPermissionDataSet struct { // 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 RowLevelPermissionDataSet) String() string { +func (s TeradataParameters) String() string { return awsutil.Prettify(s) } @@ -36715,18 +70180,30 @@ func (s RowLevelPermissionDataSet) String() string { // 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 RowLevelPermissionDataSet) GoString() string { +func (s TeradataParameters) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *RowLevelPermissionDataSet) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RowLevelPermissionDataSet"} - if s.Arn == nil { - invalidParams.Add(request.NewErrParamRequired("Arn")) +func (s *TeradataParameters) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TeradataParameters"} + if s.Database == nil { + invalidParams.Add(request.NewErrParamRequired("Database")) } - if s.PermissionPolicy == nil { - invalidParams.Add(request.NewErrParamRequired("PermissionPolicy")) + if s.Database != nil && len(*s.Database) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Database", 1)) + } + if s.Host == nil { + invalidParams.Add(request.NewErrParamRequired("Host")) + } + if s.Host != nil && len(*s.Host) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Host", 1)) + } + if s.Port == nil { + invalidParams.Add(request.NewErrParamRequired("Port")) + } + if s.Port != nil && *s.Port < 1 { + invalidParams.Add(request.NewErrParamMinValue("Port", 1)) } if invalidParams.Len() > 0 { @@ -36735,49 +70212,33 @@ func (s *RowLevelPermissionDataSet) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *RowLevelPermissionDataSet) SetArn(v string) *RowLevelPermissionDataSet { - s.Arn = &v - return s -} - -// SetFormatVersion sets the FormatVersion field's value. -func (s *RowLevelPermissionDataSet) SetFormatVersion(v string) *RowLevelPermissionDataSet { - s.FormatVersion = &v - return s -} - -// SetNamespace sets the Namespace field's value. -func (s *RowLevelPermissionDataSet) SetNamespace(v string) *RowLevelPermissionDataSet { - s.Namespace = &v +// SetDatabase sets the Database field's value. +func (s *TeradataParameters) SetDatabase(v string) *TeradataParameters { + s.Database = &v return s } -// SetPermissionPolicy sets the PermissionPolicy field's value. -func (s *RowLevelPermissionDataSet) SetPermissionPolicy(v string) *RowLevelPermissionDataSet { - s.PermissionPolicy = &v +// SetHost sets the Host field's value. +func (s *TeradataParameters) SetHost(v string) *TeradataParameters { + s.Host = &v return s } -// SetStatus sets the Status field's value. -func (s *RowLevelPermissionDataSet) SetStatus(v string) *RowLevelPermissionDataSet { - s.Status = &v +// SetPort sets the Port field's value. +func (s *TeradataParameters) SetPort(v int64) *TeradataParameters { + s.Port = &v return s } -// The configuration of tags on a dataset to set row-level security. -type RowLevelPermissionTagConfiguration struct { +// The display options of a control. +type TextAreaControlDisplayOptions struct { _ struct{} `type:"structure"` - // The status of row-level security tags. If enabled, the status is ENABLED. - // If disabled, the status is DISABLED. - Status *string `type:"string" enum:"Status"` + // The configuration of the placeholder options in a text area control. + PlaceholderOptions *TextControlPlaceholderOptions `type:"structure"` - // A set of rules associated with row-level security, such as the tag names - // and columns that they are assigned to. - // - // TagRules is a required field - TagRules []*RowLevelPermissionTagRule `min:"1" type:"list" required:"true"` + // The options to configure the title visibility, name, and font size. + TitleOptions *LabelOptions `type:"structure"` } // String returns the string representation. @@ -36785,7 +70246,7 @@ type RowLevelPermissionTagConfiguration struct { // 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 RowLevelPermissionTagConfiguration) String() string { +func (s TextAreaControlDisplayOptions) String() string { return awsutil.Prettify(s) } @@ -36794,74 +70255,34 @@ func (s RowLevelPermissionTagConfiguration) String() string { // 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 RowLevelPermissionTagConfiguration) GoString() string { +func (s TextAreaControlDisplayOptions) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *RowLevelPermissionTagConfiguration) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RowLevelPermissionTagConfiguration"} - if s.TagRules == nil { - invalidParams.Add(request.NewErrParamRequired("TagRules")) - } - if s.TagRules != nil && len(s.TagRules) < 1 { - invalidParams.Add(request.NewErrParamMinLen("TagRules", 1)) - } - if s.TagRules != nil { - for i, v := range s.TagRules { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "TagRules", i), err.(request.ErrInvalidParams)) - } - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetStatus sets the Status field's value. -func (s *RowLevelPermissionTagConfiguration) SetStatus(v string) *RowLevelPermissionTagConfiguration { - s.Status = &v +// SetPlaceholderOptions sets the PlaceholderOptions field's value. +func (s *TextAreaControlDisplayOptions) SetPlaceholderOptions(v *TextControlPlaceholderOptions) *TextAreaControlDisplayOptions { + s.PlaceholderOptions = v return s } -// SetTagRules sets the TagRules field's value. -func (s *RowLevelPermissionTagConfiguration) SetTagRules(v []*RowLevelPermissionTagRule) *RowLevelPermissionTagConfiguration { - s.TagRules = v +// SetTitleOptions sets the TitleOptions field's value. +func (s *TextAreaControlDisplayOptions) SetTitleOptions(v *LabelOptions) *TextAreaControlDisplayOptions { + s.TitleOptions = v return s } -// A set of rules associated with a tag. -type RowLevelPermissionTagRule struct { +// The conditional formatting for the text. +type TextConditionalFormat struct { _ struct{} `type:"structure"` - // The column name that a tag key is assigned to. - // - // ColumnName is a required field - ColumnName *string `type:"string" required:"true"` - - // A string that you want to use to filter by all the values in a column in - // the dataset and don’t want to list the values one by one. For example, - // you can use an asterisk as your match all value. - // - // MatchAllValue is a sensitive parameter and its value will be - // replaced with "sensitive" in string returned by RowLevelPermissionTagRule's - // String and GoString methods. - MatchAllValue *string `min:"1" type:"string" sensitive:"true"` + // The conditional formatting for the text background color. + BackgroundColor *ConditionalFormattingColor `type:"structure"` - // The unique key for a tag. - // - // TagKey is a required field - TagKey *string `min:"1" type:"string" required:"true"` + // The conditional formatting for the icon. + Icon *ConditionalFormattingIcon `type:"structure"` - // A string that you want to use to delimit the values when you pass the values - // at run time. For example, you can delimit the values with a comma. - TagMultiValueDelimiter *string `type:"string"` + // The conditional formatting for the text color. + TextColor *ConditionalFormattingColor `type:"structure"` } // String returns the string representation. @@ -36869,7 +70290,7 @@ type RowLevelPermissionTagRule struct { // 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 RowLevelPermissionTagRule) String() string { +func (s TextConditionalFormat) String() string { return awsutil.Prettify(s) } @@ -36878,24 +70299,27 @@ func (s RowLevelPermissionTagRule) String() string { // 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 RowLevelPermissionTagRule) GoString() string { +func (s TextConditionalFormat) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *RowLevelPermissionTagRule) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RowLevelPermissionTagRule"} - if s.ColumnName == nil { - invalidParams.Add(request.NewErrParamRequired("ColumnName")) - } - if s.MatchAllValue != nil && len(*s.MatchAllValue) < 1 { - invalidParams.Add(request.NewErrParamMinLen("MatchAllValue", 1)) +func (s *TextConditionalFormat) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TextConditionalFormat"} + if s.BackgroundColor != nil { + if err := s.BackgroundColor.Validate(); err != nil { + invalidParams.AddNested("BackgroundColor", err.(request.ErrInvalidParams)) + } } - if s.TagKey == nil { - invalidParams.Add(request.NewErrParamRequired("TagKey")) + if s.Icon != nil { + if err := s.Icon.Validate(); err != nil { + invalidParams.AddNested("Icon", err.(request.ErrInvalidParams)) + } } - if s.TagKey != nil && len(*s.TagKey) < 1 { - invalidParams.Add(request.NewErrParamMinLen("TagKey", 1)) + if s.TextColor != nil { + if err := s.TextColor.Validate(); err != nil { + invalidParams.AddNested("TextColor", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -36904,39 +70328,30 @@ func (s *RowLevelPermissionTagRule) Validate() error { return nil } -// SetColumnName sets the ColumnName field's value. -func (s *RowLevelPermissionTagRule) SetColumnName(v string) *RowLevelPermissionTagRule { - s.ColumnName = &v - return s -} - -// SetMatchAllValue sets the MatchAllValue field's value. -func (s *RowLevelPermissionTagRule) SetMatchAllValue(v string) *RowLevelPermissionTagRule { - s.MatchAllValue = &v +// SetBackgroundColor sets the BackgroundColor field's value. +func (s *TextConditionalFormat) SetBackgroundColor(v *ConditionalFormattingColor) *TextConditionalFormat { + s.BackgroundColor = v return s } -// SetTagKey sets the TagKey field's value. -func (s *RowLevelPermissionTagRule) SetTagKey(v string) *RowLevelPermissionTagRule { - s.TagKey = &v +// SetIcon sets the Icon field's value. +func (s *TextConditionalFormat) SetIcon(v *ConditionalFormattingIcon) *TextConditionalFormat { + s.Icon = v return s } -// SetTagMultiValueDelimiter sets the TagMultiValueDelimiter field's value. -func (s *RowLevelPermissionTagRule) SetTagMultiValueDelimiter(v string) *RowLevelPermissionTagRule { - s.TagMultiValueDelimiter = &v +// SetTextColor sets the TextColor field's value. +func (s *TextConditionalFormat) SetTextColor(v *ConditionalFormattingColor) *TextConditionalFormat { + s.TextColor = v return s } -// The parameters for S3. -type S3Parameters struct { +// The configuration of the placeholder options in a text control. +type TextControlPlaceholderOptions struct { _ struct{} `type:"structure"` - // Location of the Amazon S3 manifest file. This is NULL if the manifest file - // was uploaded into Amazon QuickSight. - // - // ManifestFileLocation is a required field - ManifestFileLocation *ManifestFileLocation `type:"structure" required:"true"` + // The visibility configuration of the placeholder options in a text control. + Visibility *string `type:"string" enum:"Visibility"` } // String returns the string representation. @@ -36944,7 +70359,7 @@ type S3Parameters struct { // 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 S3Parameters) String() string { +func (s TextControlPlaceholderOptions) String() string { return awsutil.Prettify(s) } @@ -36953,53 +70368,25 @@ func (s S3Parameters) String() string { // 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 S3Parameters) GoString() string { +func (s TextControlPlaceholderOptions) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *S3Parameters) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "S3Parameters"} - if s.ManifestFileLocation == nil { - invalidParams.Add(request.NewErrParamRequired("ManifestFileLocation")) - } - if s.ManifestFileLocation != nil { - if err := s.ManifestFileLocation.Validate(); err != nil { - invalidParams.AddNested("ManifestFileLocation", err.(request.ErrInvalidParams)) - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetManifestFileLocation sets the ManifestFileLocation field's value. -func (s *S3Parameters) SetManifestFileLocation(v *ManifestFileLocation) *S3Parameters { - s.ManifestFileLocation = v +// SetVisibility sets the Visibility field's value. +func (s *TextControlPlaceholderOptions) SetVisibility(v string) *TextControlPlaceholderOptions { + s.Visibility = &v return s } -// A physical table type for an S3 data source. -type S3Source struct { +// The display options of a control. +type TextFieldControlDisplayOptions struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) for the data source. - // - // DataSourceArn is a required field - DataSourceArn *string `type:"string" required:"true"` - - // A physical table type for an S3 data source. - // - // For files that aren't JSON, only STRING data types are supported in input - // columns. - // - // InputColumns is a required field - InputColumns []*InputColumn `min:"1" type:"list" required:"true"` + // The configuration of the placeholder options in a text field control. + PlaceholderOptions *TextControlPlaceholderOptions `type:"structure"` - // Information about the format for the S3 source file or files. - UploadSettings *UploadSettings `type:"structure"` + // The options to configure the title visibility, name, and font size. + TitleOptions *LabelOptions `type:"structure"` } // String returns the string representation. @@ -37007,7 +70394,7 @@ type S3Source struct { // 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 S3Source) String() string { +func (s TextFieldControlDisplayOptions) String() string { return awsutil.Prettify(s) } @@ -37016,81 +70403,47 @@ func (s S3Source) String() string { // 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 S3Source) GoString() string { +func (s TextFieldControlDisplayOptions) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *S3Source) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "S3Source"} - if s.DataSourceArn == nil { - invalidParams.Add(request.NewErrParamRequired("DataSourceArn")) - } - if s.InputColumns == nil { - invalidParams.Add(request.NewErrParamRequired("InputColumns")) - } - if s.InputColumns != nil && len(s.InputColumns) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InputColumns", 1)) - } - if s.InputColumns != nil { - for i, v := range s.InputColumns { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputColumns", i), err.(request.ErrInvalidParams)) - } - } - } - if s.UploadSettings != nil { - if err := s.UploadSettings.Validate(); err != nil { - invalidParams.AddNested("UploadSettings", err.(request.ErrInvalidParams)) - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetDataSourceArn sets the DataSourceArn field's value. -func (s *S3Source) SetDataSourceArn(v string) *S3Source { - s.DataSourceArn = &v - return s -} - -// SetInputColumns sets the InputColumns field's value. -func (s *S3Source) SetInputColumns(v []*InputColumn) *S3Source { - s.InputColumns = v +// SetPlaceholderOptions sets the PlaceholderOptions field's value. +func (s *TextFieldControlDisplayOptions) SetPlaceholderOptions(v *TextControlPlaceholderOptions) *TextFieldControlDisplayOptions { + s.PlaceholderOptions = v return s } -// SetUploadSettings sets the UploadSettings field's value. -func (s *S3Source) SetUploadSettings(v *UploadSettings) *S3Source { - s.UploadSettings = v +// SetTitleOptions sets the TitleOptions field's value. +func (s *TextFieldControlDisplayOptions) SetTitleOptions(v *LabelOptions) *TextFieldControlDisplayOptions { + s.TitleOptions = v return s } -type SearchAnalysesInput struct { +// Summary information about a theme. +type Theme struct { _ struct{} `type:"structure"` - // The ID of the Amazon Web Services account that contains the analyses that - // you're searching for. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // The Amazon Resource Name (ARN) of the theme. + Arn *string `type:"string"` - // The structure for the search filters that you want to apply to your search. - // - // Filters is a required field - Filters []*AnalysisSearchFilter `min:"1" type:"list" required:"true"` + // The date and time that the theme was created. + CreatedTime *time.Time `type:"timestamp"` - // The maximum number of results to return. - MaxResults *int64 `min:"1" type:"integer"` + // The date and time that the theme was last updated. + LastUpdatedTime *time.Time `type:"timestamp"` - // A pagination token that can be used in a subsequent request. - NextToken *string `type:"string"` + // The name that the user gives to the theme. + Name *string `min:"1" type:"string"` + + // The identifier that the user gives to the theme. + ThemeId *string `min:"1" type:"string"` + + // The type of theme, based on how it was created. Valid values include: QUICKSIGHT + // and CUSTOM. + Type *string `type:"string" enum:"ThemeType"` + + // A version of a theme. + Version *ThemeVersion `type:"structure"` } // String returns the string representation. @@ -37098,7 +70451,7 @@ type SearchAnalysesInput struct { // 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 SearchAnalysesInput) String() string { +func (s Theme) String() string { return awsutil.Prettify(s) } @@ -37107,73 +70460,64 @@ func (s SearchAnalysesInput) String() string { // 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 SearchAnalysesInput) GoString() string { +func (s Theme) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *SearchAnalysesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "SearchAnalysesInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.Filters == nil { - invalidParams.Add(request.NewErrParamRequired("Filters")) - } - if s.Filters != nil && len(s.Filters) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Filters", 1)) - } - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) - } +// SetArn sets the Arn field's value. +func (s *Theme) SetArn(v string) *Theme { + s.Arn = &v + return s +} + +// SetCreatedTime sets the CreatedTime field's value. +func (s *Theme) SetCreatedTime(v time.Time) *Theme { + s.CreatedTime = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetLastUpdatedTime sets the LastUpdatedTime field's value. +func (s *Theme) SetLastUpdatedTime(v time.Time) *Theme { + s.LastUpdatedTime = &v + return s } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *SearchAnalysesInput) SetAwsAccountId(v string) *SearchAnalysesInput { - s.AwsAccountId = &v +// SetName sets the Name field's value. +func (s *Theme) SetName(v string) *Theme { + s.Name = &v return s } -// SetFilters sets the Filters field's value. -func (s *SearchAnalysesInput) SetFilters(v []*AnalysisSearchFilter) *SearchAnalysesInput { - s.Filters = v +// SetThemeId sets the ThemeId field's value. +func (s *Theme) SetThemeId(v string) *Theme { + s.ThemeId = &v return s } -// SetMaxResults sets the MaxResults field's value. -func (s *SearchAnalysesInput) SetMaxResults(v int64) *SearchAnalysesInput { - s.MaxResults = &v +// SetType sets the Type field's value. +func (s *Theme) SetType(v string) *Theme { + s.Type = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *SearchAnalysesInput) SetNextToken(v string) *SearchAnalysesInput { - s.NextToken = &v +// SetVersion sets the Version field's value. +func (s *Theme) SetVersion(v *ThemeVersion) *Theme { + s.Version = v return s } -type SearchAnalysesOutput struct { +// An alias for a theme. +type ThemeAlias struct { _ struct{} `type:"structure"` - // Metadata describing the analyses that you searched for. - AnalysisSummaryList []*AnalysisSummary `type:"list"` - - // A pagination token that can be used in a subsequent request. - NextToken *string `type:"string"` + // The display name of the theme alias. + AliasName *string `min:"1" type:"string"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The Amazon Resource Name (ARN) of the theme alias. + Arn *string `type:"string"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The version number of the theme alias. + ThemeVersionNumber *int64 `min:"1" type:"long"` } // String returns the string representation. @@ -37181,7 +70525,7 @@ type SearchAnalysesOutput struct { // 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 SearchAnalysesOutput) String() string { +func (s ThemeAlias) String() string { return awsutil.Prettify(s) } @@ -37190,56 +70534,45 @@ func (s SearchAnalysesOutput) String() string { // 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 SearchAnalysesOutput) GoString() string { +func (s ThemeAlias) GoString() string { return s.String() } -// SetAnalysisSummaryList sets the AnalysisSummaryList field's value. -func (s *SearchAnalysesOutput) SetAnalysisSummaryList(v []*AnalysisSummary) *SearchAnalysesOutput { - s.AnalysisSummaryList = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *SearchAnalysesOutput) SetNextToken(v string) *SearchAnalysesOutput { - s.NextToken = &v +// SetAliasName sets the AliasName field's value. +func (s *ThemeAlias) SetAliasName(v string) *ThemeAlias { + s.AliasName = &v return s } -// SetRequestId sets the RequestId field's value. -func (s *SearchAnalysesOutput) SetRequestId(v string) *SearchAnalysesOutput { - s.RequestId = &v +// SetArn sets the Arn field's value. +func (s *ThemeAlias) SetArn(v string) *ThemeAlias { + s.Arn = &v return s } -// SetStatus sets the Status field's value. -func (s *SearchAnalysesOutput) SetStatus(v int64) *SearchAnalysesOutput { - s.Status = &v +// SetThemeVersionNumber sets the ThemeVersionNumber field's value. +func (s *ThemeAlias) SetThemeVersionNumber(v int64) *ThemeAlias { + s.ThemeVersionNumber = &v return s } -type SearchDashboardsInput struct { +// The theme configuration. This configuration contains all of the display properties +// for a theme. +type ThemeConfiguration struct { _ struct{} `type:"structure"` - // The ID of the Amazon Web Services account that contains the user whose dashboards - // you're searching for. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // Color properties that apply to chart data colors. + DataColorPalette *DataColorPalette `type:"structure"` - // The filters to apply to the search. Currently, you can search only by user - // name, for example, "Filters": [ { "Name": "QUICKSIGHT_USER", "Operator": - // "StringEquals", "Value": "arn:aws:quicksight:us-east-1:1:user/default/UserName1" - // } ] - // - // Filters is a required field - Filters []*DashboardSearchFilter `min:"1" type:"list" required:"true"` + // Display options related to sheets. + Sheet *SheetStyle `type:"structure"` - // The maximum number of results to be returned per request. - MaxResults *int64 `min:"1" type:"integer"` + // Determines the typography options. + Typography *Typography `type:"structure"` - // The token for the next set of results, or null if there are no more results. - NextToken *string `type:"string"` + // Color properties that apply to the UI and to charts, excluding the colors + // that apply to data. + UIColorPalette *UIColorPalette `type:"structure"` } // String returns the string representation. @@ -37247,7 +70580,7 @@ type SearchDashboardsInput struct { // 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 SearchDashboardsInput) String() string { +func (s ThemeConfiguration) String() string { return awsutil.Prettify(s) } @@ -37256,83 +70589,43 @@ func (s SearchDashboardsInput) String() string { // 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 SearchDashboardsInput) GoString() string { +func (s ThemeConfiguration) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *SearchDashboardsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "SearchDashboardsInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.Filters == nil { - invalidParams.Add(request.NewErrParamRequired("Filters")) - } - if s.Filters != nil && len(s.Filters) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Filters", 1)) - } - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) - } - if s.Filters != nil { - for i, v := range s.Filters { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams)) - } - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *SearchDashboardsInput) SetAwsAccountId(v string) *SearchDashboardsInput { - s.AwsAccountId = &v +// SetDataColorPalette sets the DataColorPalette field's value. +func (s *ThemeConfiguration) SetDataColorPalette(v *DataColorPalette) *ThemeConfiguration { + s.DataColorPalette = v return s } -// SetFilters sets the Filters field's value. -func (s *SearchDashboardsInput) SetFilters(v []*DashboardSearchFilter) *SearchDashboardsInput { - s.Filters = v +// SetSheet sets the Sheet field's value. +func (s *ThemeConfiguration) SetSheet(v *SheetStyle) *ThemeConfiguration { + s.Sheet = v return s } -// SetMaxResults sets the MaxResults field's value. -func (s *SearchDashboardsInput) SetMaxResults(v int64) *SearchDashboardsInput { - s.MaxResults = &v +// SetTypography sets the Typography field's value. +func (s *ThemeConfiguration) SetTypography(v *Typography) *ThemeConfiguration { + s.Typography = v return s } -// SetNextToken sets the NextToken field's value. -func (s *SearchDashboardsInput) SetNextToken(v string) *SearchDashboardsInput { - s.NextToken = &v +// SetUIColorPalette sets the UIColorPalette field's value. +func (s *ThemeConfiguration) SetUIColorPalette(v *UIColorPalette) *ThemeConfiguration { + s.UIColorPalette = v return s } -type SearchDashboardsOutput struct { +// Theme error. +type ThemeError struct { _ struct{} `type:"structure"` - // The list of dashboards owned by the user specified in Filters in your request. - DashboardSummaryList []*DashboardSummary `type:"list"` - - // The token for the next set of results, or null if there are no more results. - NextToken *string `type:"string"` - - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The error message. + Message *string `type:"string"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The type of error. + Type *string `type:"string" enum:"ThemeErrorType"` } // String returns the string representation. @@ -37340,7 +70633,7 @@ type SearchDashboardsOutput struct { // 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 SearchDashboardsOutput) String() string { +func (s ThemeError) String() string { return awsutil.Prettify(s) } @@ -37349,52 +70642,44 @@ func (s SearchDashboardsOutput) String() string { // 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 SearchDashboardsOutput) GoString() string { +func (s ThemeError) GoString() string { return s.String() } -// SetDashboardSummaryList sets the DashboardSummaryList field's value. -func (s *SearchDashboardsOutput) SetDashboardSummaryList(v []*DashboardSummary) *SearchDashboardsOutput { - s.DashboardSummaryList = v +// SetMessage sets the Message field's value. +func (s *ThemeError) SetMessage(v string) *ThemeError { + s.Message = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *SearchDashboardsOutput) SetNextToken(v string) *SearchDashboardsOutput { - s.NextToken = &v +// SetType sets the Type field's value. +func (s *ThemeError) SetType(v string) *ThemeError { + s.Type = &v return s } -// SetRequestId sets the RequestId field's value. -func (s *SearchDashboardsOutput) SetRequestId(v string) *SearchDashboardsOutput { - s.RequestId = &v - return s -} +// The theme summary. +type ThemeSummary struct { + _ struct{} `type:"structure"` -// SetStatus sets the Status field's value. -func (s *SearchDashboardsOutput) SetStatus(v int64) *SearchDashboardsOutput { - s.Status = &v - return s -} + // The Amazon Resource Name (ARN) of the resource. + Arn *string `type:"string"` -type SearchDataSetsInput struct { - _ struct{} `type:"structure"` + // The date and time that this theme was created. + CreatedTime *time.Time `type:"timestamp"` - // The Amazon Web Services account ID. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // The last date and time that this theme was updated. + LastUpdatedTime *time.Time `type:"timestamp"` - // The filters to apply to the search. - // - // Filters is a required field - Filters []*DataSetSearchFilter `min:"1" type:"list" required:"true"` + // The latest version number for the theme. + LatestVersionNumber *int64 `min:"1" type:"long"` - // The maximum number of results to be returned per request. - MaxResults *int64 `min:"1" type:"integer"` + // the display name for the theme. + Name *string `min:"1" type:"string"` - // A pagination token that can be used in a subsequent request. - NextToken *string `type:"string"` + // The ID of the theme. This ID is unique per Amazon Web Services Region for + // each Amazon Web Services account. + ThemeId *string `min:"1" type:"string"` } // String returns the string representation. @@ -37402,7 +70687,7 @@ type SearchDataSetsInput struct { // 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 SearchDataSetsInput) String() string { +func (s ThemeSummary) String() string { return awsutil.Prettify(s) } @@ -37411,83 +70696,74 @@ func (s SearchDataSetsInput) String() string { // 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 SearchDataSetsInput) GoString() string { +func (s ThemeSummary) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *SearchDataSetsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "SearchDataSetsInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.Filters == nil { - invalidParams.Add(request.NewErrParamRequired("Filters")) - } - if s.Filters != nil && len(s.Filters) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Filters", 1)) - } - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) - } - if s.Filters != nil { - for i, v := range s.Filters { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams)) - } - } - } +// SetArn sets the Arn field's value. +func (s *ThemeSummary) SetArn(v string) *ThemeSummary { + s.Arn = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetCreatedTime sets the CreatedTime field's value. +func (s *ThemeSummary) SetCreatedTime(v time.Time) *ThemeSummary { + s.CreatedTime = &v + return s } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *SearchDataSetsInput) SetAwsAccountId(v string) *SearchDataSetsInput { - s.AwsAccountId = &v +// SetLastUpdatedTime sets the LastUpdatedTime field's value. +func (s *ThemeSummary) SetLastUpdatedTime(v time.Time) *ThemeSummary { + s.LastUpdatedTime = &v return s } -// SetFilters sets the Filters field's value. -func (s *SearchDataSetsInput) SetFilters(v []*DataSetSearchFilter) *SearchDataSetsInput { - s.Filters = v +// SetLatestVersionNumber sets the LatestVersionNumber field's value. +func (s *ThemeSummary) SetLatestVersionNumber(v int64) *ThemeSummary { + s.LatestVersionNumber = &v return s } -// SetMaxResults sets the MaxResults field's value. -func (s *SearchDataSetsInput) SetMaxResults(v int64) *SearchDataSetsInput { - s.MaxResults = &v +// SetName sets the Name field's value. +func (s *ThemeSummary) SetName(v string) *ThemeSummary { + s.Name = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *SearchDataSetsInput) SetNextToken(v string) *SearchDataSetsInput { - s.NextToken = &v +// SetThemeId sets the ThemeId field's value. +func (s *ThemeSummary) SetThemeId(v string) *ThemeSummary { + s.ThemeId = &v return s } -type SearchDataSetsOutput struct { +// A version of a theme. +type ThemeVersion struct { _ struct{} `type:"structure"` - // A DataSetSummaries object that returns a summary of a dataset. - DataSetSummaries []*DataSetSummary `type:"list"` + // The Amazon Resource Name (ARN) of the resource. + Arn *string `type:"string"` - // A pagination token that can be used in a subsequent request. - NextToken *string `type:"string"` + // The Amazon QuickSight-defined ID of the theme that a custom theme inherits + // from. All themes initially inherit from a default Amazon QuickSight theme. + BaseThemeId *string `min:"1" type:"string"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The theme configuration, which contains all the theme display properties. + Configuration *ThemeConfiguration `type:"structure"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The date and time that this theme version was created. + CreatedTime *time.Time `type:"timestamp"` + + // The description of the theme. + Description *string `min:"1" type:"string"` + + // Errors associated with the theme. + Errors []*ThemeError `min:"1" type:"list"` + + // The status of the theme version. + Status *string `type:"string" enum:"ResourceStatus"` + + // The version number of the theme. + VersionNumber *int64 `min:"1" type:"long"` } // String returns the string representation. @@ -37495,7 +70771,7 @@ type SearchDataSetsOutput struct { // 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 SearchDataSetsOutput) String() string { +func (s ThemeVersion) String() string { return awsutil.Prettify(s) } @@ -37504,52 +70780,76 @@ func (s SearchDataSetsOutput) String() string { // 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 SearchDataSetsOutput) GoString() string { +func (s ThemeVersion) GoString() string { return s.String() } -// SetDataSetSummaries sets the DataSetSummaries field's value. -func (s *SearchDataSetsOutput) SetDataSetSummaries(v []*DataSetSummary) *SearchDataSetsOutput { - s.DataSetSummaries = v +// SetArn sets the Arn field's value. +func (s *ThemeVersion) SetArn(v string) *ThemeVersion { + s.Arn = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *SearchDataSetsOutput) SetNextToken(v string) *SearchDataSetsOutput { - s.NextToken = &v +// SetBaseThemeId sets the BaseThemeId field's value. +func (s *ThemeVersion) SetBaseThemeId(v string) *ThemeVersion { + s.BaseThemeId = &v return s } -// SetRequestId sets the RequestId field's value. -func (s *SearchDataSetsOutput) SetRequestId(v string) *SearchDataSetsOutput { - s.RequestId = &v +// SetConfiguration sets the Configuration field's value. +func (s *ThemeVersion) SetConfiguration(v *ThemeConfiguration) *ThemeVersion { + s.Configuration = v + return s +} + +// SetCreatedTime sets the CreatedTime field's value. +func (s *ThemeVersion) SetCreatedTime(v time.Time) *ThemeVersion { + s.CreatedTime = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *ThemeVersion) SetDescription(v string) *ThemeVersion { + s.Description = &v + return s +} + +// SetErrors sets the Errors field's value. +func (s *ThemeVersion) SetErrors(v []*ThemeError) *ThemeVersion { + s.Errors = v return s } // SetStatus sets the Status field's value. -func (s *SearchDataSetsOutput) SetStatus(v int64) *SearchDataSetsOutput { +func (s *ThemeVersion) SetStatus(v string) *ThemeVersion { s.Status = &v return s } -type SearchDataSourcesInput struct { +// SetVersionNumber sets the VersionNumber field's value. +func (s *ThemeVersion) SetVersionNumber(v int64) *ThemeVersion { + s.VersionNumber = &v + return s +} + +// The theme version. +type ThemeVersionSummary struct { _ struct{} `type:"structure"` - // The Amazon Web Services account ID. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // The Amazon Resource Name (ARN) of the theme version. + Arn *string `type:"string"` - // The filters to apply to the search. - // - // Filters is a required field - Filters []*DataSourceSearchFilter `min:"1" type:"list" required:"true"` + // The date and time that this theme version was created. + CreatedTime *time.Time `type:"timestamp"` - // The maximum number of results to be returned per request. - MaxResults *int64 `min:"1" type:"integer"` + // The description of the theme version. + Description *string `min:"1" type:"string"` - // A pagination token that can be used in a subsequent request. - NextToken *string `type:"string"` + // The status of the theme version. + Status *string `type:"string" enum:"ResourceStatus"` + + // The version number of the theme version. + VersionNumber *int64 `min:"1" type:"long"` } // String returns the string representation. @@ -37557,7 +70857,7 @@ type SearchDataSourcesInput struct { // 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 SearchDataSourcesInput) String() string { +func (s ThemeVersionSummary) String() string { return awsutil.Prettify(s) } @@ -37566,83 +70866,49 @@ func (s SearchDataSourcesInput) String() string { // 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 SearchDataSourcesInput) GoString() string { +func (s ThemeVersionSummary) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *SearchDataSourcesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "SearchDataSourcesInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.Filters == nil { - invalidParams.Add(request.NewErrParamRequired("Filters")) - } - if s.Filters != nil && len(s.Filters) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Filters", 1)) - } - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) - } - if s.Filters != nil { - for i, v := range s.Filters { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams)) - } - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetArn sets the Arn field's value. +func (s *ThemeVersionSummary) SetArn(v string) *ThemeVersionSummary { + s.Arn = &v + return s } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *SearchDataSourcesInput) SetAwsAccountId(v string) *SearchDataSourcesInput { - s.AwsAccountId = &v +// SetCreatedTime sets the CreatedTime field's value. +func (s *ThemeVersionSummary) SetCreatedTime(v time.Time) *ThemeVersionSummary { + s.CreatedTime = &v return s } -// SetFilters sets the Filters field's value. -func (s *SearchDataSourcesInput) SetFilters(v []*DataSourceSearchFilter) *SearchDataSourcesInput { - s.Filters = v +// SetDescription sets the Description field's value. +func (s *ThemeVersionSummary) SetDescription(v string) *ThemeVersionSummary { + s.Description = &v return s } -// SetMaxResults sets the MaxResults field's value. -func (s *SearchDataSourcesInput) SetMaxResults(v int64) *SearchDataSourcesInput { - s.MaxResults = &v +// SetStatus sets the Status field's value. +func (s *ThemeVersionSummary) SetStatus(v string) *ThemeVersionSummary { + s.Status = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *SearchDataSourcesInput) SetNextToken(v string) *SearchDataSourcesInput { - s.NextToken = &v +// SetVersionNumber sets the VersionNumber field's value. +func (s *ThemeVersionSummary) SetVersionNumber(v int64) *ThemeVersionSummary { + s.VersionNumber = &v return s } -type SearchDataSourcesOutput struct { +// The options that determine the thousands separator configuration. +type ThousandSeparatorOptions struct { _ struct{} `type:"structure"` - // A DataSourceSummaries object that returns a summary of a data source. - DataSourceSummaries []*DataSourceSummary `type:"list"` - - // A pagination token that can be used in a subsequent request. - NextToken *string `type:"string"` - - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // Determines the thousands separator symbol. + Symbol *string `type:"string" enum:"NumericSeparatorSymbol"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // Determines the visibility of the thousands separator. + Visibility *string `type:"string" enum:"Visibility"` } // String returns the string representation. @@ -37650,7 +70916,7 @@ type SearchDataSourcesOutput struct { // 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 SearchDataSourcesOutput) String() string { +func (s ThousandSeparatorOptions) String() string { return awsutil.Prettify(s) } @@ -37659,55 +70925,31 @@ func (s SearchDataSourcesOutput) String() string { // 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 SearchDataSourcesOutput) GoString() string { +func (s ThousandSeparatorOptions) GoString() string { return s.String() } -// SetDataSourceSummaries sets the DataSourceSummaries field's value. -func (s *SearchDataSourcesOutput) SetDataSourceSummaries(v []*DataSourceSummary) *SearchDataSourcesOutput { - s.DataSourceSummaries = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *SearchDataSourcesOutput) SetNextToken(v string) *SearchDataSourcesOutput { - s.NextToken = &v - return s -} - -// SetRequestId sets the RequestId field's value. -func (s *SearchDataSourcesOutput) SetRequestId(v string) *SearchDataSourcesOutput { - s.RequestId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *SearchDataSourcesOutput) SetStatus(v int64) *SearchDataSourcesOutput { - s.Status = &v +// SetSymbol sets the Symbol field's value. +func (s *ThousandSeparatorOptions) SetSymbol(v string) *ThousandSeparatorOptions { + s.Symbol = &v return s } -type SearchFoldersInput struct { - _ struct{} `type:"structure"` - - // The ID for the Amazon Web Services account that contains the folder. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` +// SetVisibility sets the Visibility field's value. +func (s *ThousandSeparatorOptions) SetVisibility(v string) *ThousandSeparatorOptions { + s.Visibility = &v + return s +} - // The filters to apply to the search. Currently, you can search only by the - // parent folder ARN. For example, "Filters": [ { "Name": "PARENT_FOLDER_ARN", - // "Operator": "StringEquals", "Value": "arn:aws:quicksight:us-east-1:1:folder/folderId" - // } ]. - // - // Filters is a required field - Filters []*FolderSearchFilter `type:"list" required:"true"` +// Access is throttled. +type ThrottlingException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - // The maximum number of results to be returned per request. - MaxResults *int64 `min:"1" type:"integer"` + Message_ *string `locationName:"Message" type:"string"` - // The token for the next set of results, or null if there are no more results. - NextToken *string `type:"string"` + // The Amazon Web Services request ID for this request. + RequestId *string `type:"string"` } // String returns the string representation. @@ -37715,7 +70957,7 @@ type SearchFoldersInput struct { // 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 SearchFoldersInput) String() string { +func (s ThrottlingException) String() string { return awsutil.Prettify(s) } @@ -37724,71 +70966,57 @@ func (s SearchFoldersInput) String() string { // 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 SearchFoldersInput) GoString() string { +func (s ThrottlingException) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *SearchFoldersInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "SearchFoldersInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.Filters == nil { - invalidParams.Add(request.NewErrParamRequired("Filters")) - } - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) +func newErrorThrottlingException(v protocol.ResponseMetadata) error { + return &ThrottlingException{ + RespMetadata: v, } +} - if invalidParams.Len() > 0 { - return invalidParams +// Code returns the exception type name. +func (s *ThrottlingException) Code() string { + return "ThrottlingException" +} + +// Message returns the exception's message. +func (s *ThrottlingException) Message() string { + if s.Message_ != nil { + return *s.Message_ } - return nil + return "" } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *SearchFoldersInput) SetAwsAccountId(v string) *SearchFoldersInput { - s.AwsAccountId = &v - return s +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ThrottlingException) OrigErr() error { + return nil } -// SetFilters sets the Filters field's value. -func (s *SearchFoldersInput) SetFilters(v []*FolderSearchFilter) *SearchFoldersInput { - s.Filters = v - return s +func (s *ThrottlingException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) } -// SetMaxResults sets the MaxResults field's value. -func (s *SearchFoldersInput) SetMaxResults(v int64) *SearchFoldersInput { - s.MaxResults = &v - return s +// Status code returns the HTTP status code for the request's response error. +func (s *ThrottlingException) StatusCode() int { + return s.RespMetadata.StatusCode } -// SetNextToken sets the NextToken field's value. -func (s *SearchFoldersInput) SetNextToken(v string) *SearchFoldersInput { - s.NextToken = &v - return s +// RequestID returns the service's response RequestID for request. +func (s *ThrottlingException) RequestID() string { + return s.RespMetadata.RequestID } -type SearchFoldersOutput struct { +// The display options for the layout of tiles on a sheet. +type TileLayoutStyle struct { _ struct{} `type:"structure"` - // A structure that contains all of the folders in the Amazon Web Services account. - // This structure provides basic information about the folders. - FolderSummaryList []*FolderSummary `type:"list"` - - // The token for the next set of results, or null if there are no more results. - NextToken *string `type:"string"` - - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The gutter settings that apply between tiles. + Gutter *GutterStyle `type:"structure"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The margin settings that apply around the outside edge of sheets. + Margin *MarginStyle `type:"structure"` } // String returns the string representation. @@ -37796,7 +71024,7 @@ type SearchFoldersOutput struct { // 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 SearchFoldersOutput) String() string { +func (s TileLayoutStyle) String() string { return awsutil.Prettify(s) } @@ -37805,59 +71033,80 @@ func (s SearchFoldersOutput) String() string { // 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 SearchFoldersOutput) GoString() string { +func (s TileLayoutStyle) GoString() string { return s.String() } -// SetFolderSummaryList sets the FolderSummaryList field's value. -func (s *SearchFoldersOutput) SetFolderSummaryList(v []*FolderSummary) *SearchFoldersOutput { - s.FolderSummaryList = v +// SetGutter sets the Gutter field's value. +func (s *TileLayoutStyle) SetGutter(v *GutterStyle) *TileLayoutStyle { + s.Gutter = v return s } -// SetNextToken sets the NextToken field's value. -func (s *SearchFoldersOutput) SetNextToken(v string) *SearchFoldersOutput { - s.NextToken = &v +// SetMargin sets the Margin field's value. +func (s *TileLayoutStyle) SetMargin(v *MarginStyle) *TileLayoutStyle { + s.Margin = v return s } -// SetRequestId sets the RequestId field's value. -func (s *SearchFoldersOutput) SetRequestId(v string) *SearchFoldersOutput { - s.RequestId = &v - return s +// Display options related to tiles on a sheet. +type TileStyle struct { + _ struct{} `type:"structure"` + + // The border around a tile. + Border *BorderStyle `type:"structure"` } -// SetStatus sets the Status field's value. -func (s *SearchFoldersOutput) SetStatus(v int64) *SearchFoldersOutput { - s.Status = &v +// 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 TileStyle) 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 TileStyle) GoString() string { + return s.String() +} + +// SetBorder sets the Border field's value. +func (s *TileStyle) SetBorder(v *BorderStyle) *TileStyle { + s.Border = v return s } -type SearchGroupsInput struct { +// The forecast properties setup of a forecast in the line chart. +type TimeBasedForecastProperties struct { _ struct{} `type:"structure"` - // The ID for the Amazon Web Services account that the group is in. Currently, - // you use the ID for the Amazon Web Services account that contains your Amazon - // QuickSight account. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // The lower boundary setup of a forecast computation. + LowerBoundary *float64 `type:"double"` - // The structure for the search filters that you want to apply to your search. - // - // Filters is a required field - Filters []*GroupSearchFilter `min:"1" type:"list" required:"true"` + // The periods backward setup of a forecast computation. + PeriodsBackward *int64 `type:"integer"` - // The maximum number of results to return from this request. - MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` + // The periods forward setup of a forecast computation. + PeriodsForward *int64 `min:"1" type:"integer"` - // The namespace that you want to search. + // The prediction interval setup of a forecast computation. + PredictionInterval *int64 `min:"50" type:"integer"` + + // The seasonality setup of a forecast computation. Choose one of the following + // options: // - // Namespace is a required field - Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` + // * NULL: The input is set to NULL. + // + // * NON_NULL: The input is set to a custom value. + Seasonality *int64 `min:"1" type:"integer"` - // A pagination token that can be used in a subsequent request. - NextToken *string `location:"querystring" locationName:"next-token" type:"string"` + // The upper boundary setup of a forecast computation. + UpperBoundary *float64 `type:"double"` } // String returns the string representation. @@ -37865,7 +71114,7 @@ type SearchGroupsInput struct { // 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 SearchGroupsInput) String() string { +func (s TimeBasedForecastProperties) String() string { return awsutil.Prettify(s) } @@ -37874,43 +71123,21 @@ func (s SearchGroupsInput) String() string { // 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 SearchGroupsInput) GoString() string { +func (s TimeBasedForecastProperties) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *SearchGroupsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "SearchGroupsInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.Filters == nil { - invalidParams.Add(request.NewErrParamRequired("Filters")) +func (s *TimeBasedForecastProperties) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TimeBasedForecastProperties"} + if s.PeriodsForward != nil && *s.PeriodsForward < 1 { + invalidParams.Add(request.NewErrParamMinValue("PeriodsForward", 1)) } - if s.Filters != nil && len(s.Filters) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Filters", 1)) - } - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) - } - if s.Namespace == nil { - invalidParams.Add(request.NewErrParamRequired("Namespace")) + if s.PredictionInterval != nil && *s.PredictionInterval < 50 { + invalidParams.Add(request.NewErrParamMinValue("PredictionInterval", 50)) } - if s.Namespace != nil && len(*s.Namespace) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) - } - if s.Filters != nil { - for i, v := range s.Filters { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams)) - } - } + if s.Seasonality != nil && *s.Seasonality < 1 { + invalidParams.Add(request.NewErrParamMinValue("Seasonality", 1)) } if invalidParams.Len() > 0 { @@ -37919,51 +71146,69 @@ func (s *SearchGroupsInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *SearchGroupsInput) SetAwsAccountId(v string) *SearchGroupsInput { - s.AwsAccountId = &v +// SetLowerBoundary sets the LowerBoundary field's value. +func (s *TimeBasedForecastProperties) SetLowerBoundary(v float64) *TimeBasedForecastProperties { + s.LowerBoundary = &v return s } -// SetFilters sets the Filters field's value. -func (s *SearchGroupsInput) SetFilters(v []*GroupSearchFilter) *SearchGroupsInput { - s.Filters = v +// SetPeriodsBackward sets the PeriodsBackward field's value. +func (s *TimeBasedForecastProperties) SetPeriodsBackward(v int64) *TimeBasedForecastProperties { + s.PeriodsBackward = &v return s } -// SetMaxResults sets the MaxResults field's value. -func (s *SearchGroupsInput) SetMaxResults(v int64) *SearchGroupsInput { - s.MaxResults = &v +// SetPeriodsForward sets the PeriodsForward field's value. +func (s *TimeBasedForecastProperties) SetPeriodsForward(v int64) *TimeBasedForecastProperties { + s.PeriodsForward = &v return s } -// SetNamespace sets the Namespace field's value. -func (s *SearchGroupsInput) SetNamespace(v string) *SearchGroupsInput { - s.Namespace = &v +// SetPredictionInterval sets the PredictionInterval field's value. +func (s *TimeBasedForecastProperties) SetPredictionInterval(v int64) *TimeBasedForecastProperties { + s.PredictionInterval = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *SearchGroupsInput) SetNextToken(v string) *SearchGroupsInput { - s.NextToken = &v +// SetSeasonality sets the Seasonality field's value. +func (s *TimeBasedForecastProperties) SetSeasonality(v int64) *TimeBasedForecastProperties { + s.Seasonality = &v return s } -type SearchGroupsOutput struct { +// SetUpperBoundary sets the UpperBoundary field's value. +func (s *TimeBasedForecastProperties) SetUpperBoundary(v float64) *TimeBasedForecastProperties { + s.UpperBoundary = &v + return s +} + +// A TimeEqualityFilter filters values that are equal to a given value. +type TimeEqualityFilter struct { _ struct{} `type:"structure"` - // A list of groups in a specified namespace that match the filters you set - // in your SearchGroups request. - GroupList []*Group `type:"list"` + // The column that the filter is applied to. + // + // Column is a required field + Column *ColumnIdentifier `type:"structure" required:"true"` - // A pagination token that can be used in a subsequent request. - NextToken *string `type:"string"` + // An identifier that uniquely identifies a filter within a dashboard, analysis, + // or template. + // + // FilterId is a required field + FilterId *string `min:"1" type:"string" required:"true"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The parameter whose value should be used for the filter value. + // + // This field is mutually exclusive to Value. + ParameterName *string `min:"1" type:"string"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The level of time precision that is used to aggregate DateTime values. + TimeGranularity *string `type:"string" enum:"TimeGranularity"` + + // The value of a TimeEquality filter. + // + // This field is mutually exclusive to ParameterName. + Value *time.Time `type:"timestamp"` } // String returns the string representation. @@ -37971,7 +71216,7 @@ type SearchGroupsOutput struct { // 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 SearchGroupsOutput) String() string { +func (s TimeEqualityFilter) String() string { return awsutil.Prettify(s) } @@ -37980,42 +71225,90 @@ func (s SearchGroupsOutput) String() string { // 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 SearchGroupsOutput) GoString() string { +func (s TimeEqualityFilter) GoString() string { return s.String() } -// SetGroupList sets the GroupList field's value. -func (s *SearchGroupsOutput) SetGroupList(v []*Group) *SearchGroupsOutput { - s.GroupList = v +// Validate inspects the fields of the type to determine if they are valid. +func (s *TimeEqualityFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TimeEqualityFilter"} + if s.Column == nil { + invalidParams.Add(request.NewErrParamRequired("Column")) + } + if s.FilterId == nil { + invalidParams.Add(request.NewErrParamRequired("FilterId")) + } + if s.FilterId != nil && len(*s.FilterId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FilterId", 1)) + } + if s.ParameterName != nil && len(*s.ParameterName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ParameterName", 1)) + } + if s.Column != nil { + if err := s.Column.Validate(); err != nil { + invalidParams.AddNested("Column", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetColumn sets the Column field's value. +func (s *TimeEqualityFilter) SetColumn(v *ColumnIdentifier) *TimeEqualityFilter { + s.Column = v return s } -// SetNextToken sets the NextToken field's value. -func (s *SearchGroupsOutput) SetNextToken(v string) *SearchGroupsOutput { - s.NextToken = &v +// SetFilterId sets the FilterId field's value. +func (s *TimeEqualityFilter) SetFilterId(v string) *TimeEqualityFilter { + s.FilterId = &v return s } -// SetRequestId sets the RequestId field's value. -func (s *SearchGroupsOutput) SetRequestId(v string) *SearchGroupsOutput { - s.RequestId = &v +// SetParameterName sets the ParameterName field's value. +func (s *TimeEqualityFilter) SetParameterName(v string) *TimeEqualityFilter { + s.ParameterName = &v return s } -// SetStatus sets the Status field's value. -func (s *SearchGroupsOutput) SetStatus(v int64) *SearchGroupsOutput { - s.Status = &v +// SetTimeGranularity sets the TimeGranularity field's value. +func (s *TimeEqualityFilter) SetTimeGranularity(v string) *TimeEqualityFilter { + s.TimeGranularity = &v return s } -// The parameters for ServiceNow. -type ServiceNowParameters struct { +// SetValue sets the Value field's value. +func (s *TimeEqualityFilter) SetValue(v time.Time) *TimeEqualityFilter { + s.Value = &v + return s +} + +// The time range drill down filter. +type TimeRangeDrillDownFilter struct { _ struct{} `type:"structure"` - // URL of the base site. + // The column that the filter is applied to. // - // SiteBaseUrl is a required field - SiteBaseUrl *string `min:"1" type:"string" required:"true"` + // Column is a required field + Column *ColumnIdentifier `type:"structure" required:"true"` + + // The maximum value for the filter value range. + // + // RangeMaximum is a required field + RangeMaximum *time.Time `type:"timestamp" required:"true"` + + // The minimum value for the filter value range. + // + // RangeMinimum is a required field + RangeMinimum *time.Time `type:"timestamp" required:"true"` + + // The level of time precision that is used to aggregate DateTime values. + // + // TimeGranularity is a required field + TimeGranularity *string `type:"string" required:"true" enum:"TimeGranularity"` } // String returns the string representation. @@ -38023,7 +71316,7 @@ type ServiceNowParameters struct { // 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 ServiceNowParameters) String() string { +func (s TimeRangeDrillDownFilter) String() string { return awsutil.Prettify(s) } @@ -38032,18 +71325,29 @@ func (s ServiceNowParameters) String() string { // 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 ServiceNowParameters) GoString() string { +func (s TimeRangeDrillDownFilter) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ServiceNowParameters) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ServiceNowParameters"} - if s.SiteBaseUrl == nil { - invalidParams.Add(request.NewErrParamRequired("SiteBaseUrl")) +func (s *TimeRangeDrillDownFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TimeRangeDrillDownFilter"} + if s.Column == nil { + invalidParams.Add(request.NewErrParamRequired("Column")) } - if s.SiteBaseUrl != nil && len(*s.SiteBaseUrl) < 1 { - invalidParams.Add(request.NewErrParamMinLen("SiteBaseUrl", 1)) + if s.RangeMaximum == nil { + invalidParams.Add(request.NewErrParamRequired("RangeMaximum")) + } + if s.RangeMinimum == nil { + invalidParams.Add(request.NewErrParamRequired("RangeMinimum")) + } + if s.TimeGranularity == nil { + invalidParams.Add(request.NewErrParamRequired("TimeGranularity")) + } + if s.Column != nil { + if err := s.Column.Validate(); err != nil { + invalidParams.AddNested("Column", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -38052,97 +71356,75 @@ func (s *ServiceNowParameters) Validate() error { return nil } -// SetSiteBaseUrl sets the SiteBaseUrl field's value. -func (s *ServiceNowParameters) SetSiteBaseUrl(v string) *ServiceNowParameters { - s.SiteBaseUrl = &v +// SetColumn sets the Column field's value. +func (s *TimeRangeDrillDownFilter) SetColumn(v *ColumnIdentifier) *TimeRangeDrillDownFilter { + s.Column = v return s } -// The number of minutes specified for the lifetime of a session isn't valid. -// The session lifetime must be 15-600 minutes. -type SessionLifetimeInMinutesInvalidException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - - Message_ *string `locationName:"Message" type:"string"` - - // The Amazon Web Services request ID for this request. - RequestId *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 SessionLifetimeInMinutesInvalidException) 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 SessionLifetimeInMinutesInvalidException) GoString() string { - return s.String() +// SetRangeMaximum sets the RangeMaximum field's value. +func (s *TimeRangeDrillDownFilter) SetRangeMaximum(v time.Time) *TimeRangeDrillDownFilter { + s.RangeMaximum = &v + return s } -func newErrorSessionLifetimeInMinutesInvalidException(v protocol.ResponseMetadata) error { - return &SessionLifetimeInMinutesInvalidException{ - RespMetadata: v, - } +// SetRangeMinimum sets the RangeMinimum field's value. +func (s *TimeRangeDrillDownFilter) SetRangeMinimum(v time.Time) *TimeRangeDrillDownFilter { + s.RangeMinimum = &v + return s } -// Code returns the exception type name. -func (s *SessionLifetimeInMinutesInvalidException) Code() string { - return "SessionLifetimeInMinutesInvalidException" +// SetTimeGranularity sets the TimeGranularity field's value. +func (s *TimeRangeDrillDownFilter) SetTimeGranularity(v string) *TimeRangeDrillDownFilter { + s.TimeGranularity = &v + return s } -// Message returns the exception's message. -func (s *SessionLifetimeInMinutesInvalidException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" -} +// A TimeRangeFilter filters values that are between two specified values. +type TimeRangeFilter struct { + _ struct{} `type:"structure"` -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *SessionLifetimeInMinutesInvalidException) OrigErr() error { - return nil -} + // The column that the filter is applied to. + // + // Column is a required field + Column *ColumnIdentifier `type:"structure" required:"true"` -func (s *SessionLifetimeInMinutesInvalidException) Error() string { - return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) -} + // The exclude period of the time range filter. + ExcludePeriodConfiguration *ExcludePeriodConfiguration `type:"structure"` -// Status code returns the HTTP status code for the request's response error. -func (s *SessionLifetimeInMinutesInvalidException) StatusCode() int { - return s.RespMetadata.StatusCode -} + // An identifier that uniquely identifies a filter within a dashboard, analysis, + // or template. + // + // FilterId is a required field + FilterId *string `min:"1" type:"string" required:"true"` -// RequestID returns the service's response RequestID for request. -func (s *SessionLifetimeInMinutesInvalidException) RequestID() string { - return s.RespMetadata.RequestID -} + // Determines whether the maximum value in the filter value range should be + // included in the filtered results. + IncludeMaximum *bool `type:"boolean"` -// The key-value pair used for the row-level security tags feature. -type SessionTag struct { - _ struct{} `type:"structure"` + // Determines whether the minimum value in the filter value range should be + // included in the filtered results. + IncludeMinimum *bool `type:"boolean"` - // The key for the tag. + // This option determines how null values should be treated when filtering data. // - // Key is a required field - Key *string `min:"1" type:"string" required:"true"` - - // The value that you want to assign the tag. + // * ALL_VALUES: Include null values in filtered results. // - // Value is a sensitive parameter and its value will be - // replaced with "sensitive" in string returned by SessionTag's - // String and GoString methods. + // * NULLS_ONLY: Only include null values in filtered results. // - // Value is a required field - Value *string `min:"1" type:"string" required:"true" sensitive:"true"` + // * NON_NULLS_ONLY: Exclude null values from filtered results. + // + // NullOption is a required field + NullOption *string `type:"string" required:"true" enum:"FilterNullOption"` + + // The maximum value for the filter value range. + RangeMaximumValue *TimeRangeFilterValue `type:"structure"` + + // The minimum value for the filter value range. + RangeMinimumValue *TimeRangeFilterValue `type:"structure"` + + // The level of time precision that is used to aggregate DateTime values. + TimeGranularity *string `type:"string" enum:"TimeGranularity"` } // String returns the string representation. @@ -38150,7 +71432,7 @@ type SessionTag struct { // 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 SessionTag) String() string { +func (s TimeRangeFilter) String() string { return awsutil.Prettify(s) } @@ -38159,24 +71441,44 @@ func (s SessionTag) String() string { // 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 SessionTag) GoString() string { +func (s TimeRangeFilter) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *SessionTag) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "SessionTag"} - if s.Key == nil { - invalidParams.Add(request.NewErrParamRequired("Key")) +func (s *TimeRangeFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TimeRangeFilter"} + if s.Column == nil { + invalidParams.Add(request.NewErrParamRequired("Column")) } - if s.Key != nil && len(*s.Key) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Key", 1)) + if s.FilterId == nil { + invalidParams.Add(request.NewErrParamRequired("FilterId")) } - if s.Value == nil { - invalidParams.Add(request.NewErrParamRequired("Value")) + if s.FilterId != nil && len(*s.FilterId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FilterId", 1)) } - if s.Value != nil && len(*s.Value) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Value", 1)) + if s.NullOption == nil { + invalidParams.Add(request.NewErrParamRequired("NullOption")) + } + if s.Column != nil { + if err := s.Column.Validate(); err != nil { + invalidParams.AddNested("Column", err.(request.ErrInvalidParams)) + } + } + if s.ExcludePeriodConfiguration != nil { + if err := s.ExcludePeriodConfiguration.Validate(); err != nil { + invalidParams.AddNested("ExcludePeriodConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.RangeMaximumValue != nil { + if err := s.RangeMaximumValue.Validate(); err != nil { + invalidParams.AddNested("RangeMaximumValue", err.(request.ErrInvalidParams)) + } + } + if s.RangeMinimumValue != nil { + if err := s.RangeMinimumValue.Validate(); err != nil { + invalidParams.AddNested("RangeMinimumValue", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -38185,105 +71487,75 @@ func (s *SessionTag) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *SessionTag) SetKey(v string) *SessionTag { - s.Key = &v +// SetColumn sets the Column field's value. +func (s *TimeRangeFilter) SetColumn(v *ColumnIdentifier) *TimeRangeFilter { + s.Column = v return s } -// SetValue sets the Value field's value. -func (s *SessionTag) SetValue(v string) *SessionTag { - s.Value = &v +// SetExcludePeriodConfiguration sets the ExcludePeriodConfiguration field's value. +func (s *TimeRangeFilter) SetExcludePeriodConfiguration(v *ExcludePeriodConfiguration) *TimeRangeFilter { + s.ExcludePeriodConfiguration = v return s } -// A sheet, which is an object that contains a set of visuals that are viewed -// together on one page in Amazon QuickSight. Every analysis and dashboard contains -// at least one sheet. Each sheet contains at least one visualization widget, -// for example a chart, pivot table, or narrative insight. Sheets can be associated -// with other components, such as controls, filters, and so on. -type Sheet struct { - _ struct{} `type:"structure"` - - // The name of a sheet. This name is displayed on the sheet's tab in the Amazon - // QuickSight console. - Name *string `type:"string"` - - // The unique identifier associated with a sheet. - SheetId *string `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 Sheet) 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 Sheet) GoString() string { - return s.String() +// SetFilterId sets the FilterId field's value. +func (s *TimeRangeFilter) SetFilterId(v string) *TimeRangeFilter { + s.FilterId = &v + return s } -// SetName sets the Name field's value. -func (s *Sheet) SetName(v string) *Sheet { - s.Name = &v +// SetIncludeMaximum sets the IncludeMaximum field's value. +func (s *TimeRangeFilter) SetIncludeMaximum(v bool) *TimeRangeFilter { + s.IncludeMaximum = &v return s } -// SetSheetId sets the SheetId field's value. -func (s *Sheet) SetSheetId(v string) *Sheet { - s.SheetId = &v +// SetIncludeMinimum sets the IncludeMinimum field's value. +func (s *TimeRangeFilter) SetIncludeMinimum(v bool) *TimeRangeFilter { + s.IncludeMinimum = &v return s } -// Sheet controls option. -type SheetControlsOption struct { - _ struct{} `type:"structure"` - - // Visibility state. - VisibilityState *string `type:"string" enum:"DashboardUIState"` +// SetNullOption sets the NullOption field's value. +func (s *TimeRangeFilter) SetNullOption(v string) *TimeRangeFilter { + s.NullOption = &v + return s } -// 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 SheetControlsOption) String() string { - return awsutil.Prettify(s) +// SetRangeMaximumValue sets the RangeMaximumValue field's value. +func (s *TimeRangeFilter) SetRangeMaximumValue(v *TimeRangeFilterValue) *TimeRangeFilter { + s.RangeMaximumValue = v + return 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 SheetControlsOption) GoString() string { - return s.String() +// SetRangeMinimumValue sets the RangeMinimumValue field's value. +func (s *TimeRangeFilter) SetRangeMinimumValue(v *TimeRangeFilterValue) *TimeRangeFilter { + s.RangeMinimumValue = v + return s } -// SetVisibilityState sets the VisibilityState field's value. -func (s *SheetControlsOption) SetVisibilityState(v string) *SheetControlsOption { - s.VisibilityState = &v +// SetTimeGranularity sets the TimeGranularity field's value. +func (s *TimeRangeFilter) SetTimeGranularity(v string) *TimeRangeFilter { + s.TimeGranularity = &v return s } -// The theme display options for sheets. -type SheetStyle struct { +// The value of a time range filter. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type TimeRangeFilterValue struct { _ struct{} `type:"structure"` - // The display options for tiles. - Tile *TileStyle `type:"structure"` + // The parameter type input value. + Parameter *string `min:"1" type:"string"` - // The layout options for tiles. - TileLayout *TileLayoutStyle `type:"structure"` + // The rolling date input value. + RollingDate *RollingDateConfiguration `type:"structure"` + + // The static input value. + StaticValue *time.Time `type:"timestamp"` } // String returns the string representation. @@ -38291,7 +71563,7 @@ type SheetStyle struct { // 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 SheetStyle) String() string { +func (s TimeRangeFilterValue) String() string { return awsutil.Prettify(s) } @@ -38300,39 +71572,58 @@ func (s SheetStyle) String() string { // 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 SheetStyle) GoString() string { +func (s TimeRangeFilterValue) GoString() string { return s.String() } -// SetTile sets the Tile field's value. -func (s *SheetStyle) SetTile(v *TileStyle) *SheetStyle { - s.Tile = v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *TimeRangeFilterValue) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TimeRangeFilterValue"} + if s.Parameter != nil && len(*s.Parameter) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Parameter", 1)) + } + if s.RollingDate != nil { + if err := s.RollingDate.Validate(); err != nil { + invalidParams.AddNested("RollingDate", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetTileLayout sets the TileLayout field's value. -func (s *SheetStyle) SetTileLayout(v *TileLayoutStyle) *SheetStyle { - s.TileLayout = v +// SetParameter sets the Parameter field's value. +func (s *TimeRangeFilterValue) SetParameter(v string) *TimeRangeFilterValue { + s.Parameter = &v return s } -// A SignupResponse object that contains a summary of a newly created account. -type SignupResponse struct { - _ struct{} `type:"structure"` +// SetRollingDate sets the RollingDate field's value. +func (s *TimeRangeFilterValue) SetRollingDate(v *RollingDateConfiguration) *TimeRangeFilterValue { + s.RollingDate = v + return s +} - // The name of your Amazon QuickSight account. - AccountName *string `locationName:"accountName" type:"string"` +// SetStaticValue sets the StaticValue field's value. +func (s *TimeRangeFilterValue) SetStaticValue(v time.Time) *TimeRangeFilterValue { + s.StaticValue = &v + return s +} - // The type of Active Directory that is being used to authenticate the Amazon - // QuickSight account. Valid values are SIMPLE_AD, AD_CONNECTOR, and MICROSOFT_AD. - DirectoryType *string `locationName:"directoryType" type:"string"` +// The tooltip. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type TooltipItem struct { + _ struct{} `type:"structure"` - // A Boolean that is TRUE if the Amazon QuickSight uses IAM as an authentication - // method. - IAMUser *bool `type:"boolean"` + // The tooltip item for the columns that are not part of a field well. + ColumnTooltipItem *ColumnTooltipItem `type:"structure"` - // The user login name for your Amazon QuickSight account. - UserLoginName *string `locationName:"userLoginName" type:"string"` + // The tooltip item for the fields. + FieldTooltipItem *FieldTooltipItem `type:"structure"` } // String returns the string representation. @@ -38340,7 +71631,7 @@ type SignupResponse struct { // 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 SignupResponse) String() string { +func (s TooltipItem) String() string { return awsutil.Prettify(s) } @@ -38349,52 +71640,59 @@ func (s SignupResponse) String() string { // 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 SignupResponse) GoString() string { +func (s TooltipItem) GoString() string { return s.String() } -// SetAccountName sets the AccountName field's value. -func (s *SignupResponse) SetAccountName(v string) *SignupResponse { - s.AccountName = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *TooltipItem) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TooltipItem"} + if s.ColumnTooltipItem != nil { + if err := s.ColumnTooltipItem.Validate(); err != nil { + invalidParams.AddNested("ColumnTooltipItem", err.(request.ErrInvalidParams)) + } + } + if s.FieldTooltipItem != nil { + if err := s.FieldTooltipItem.Validate(); err != nil { + invalidParams.AddNested("FieldTooltipItem", err.(request.ErrInvalidParams)) + } + } -// SetDirectoryType sets the DirectoryType field's value. -func (s *SignupResponse) SetDirectoryType(v string) *SignupResponse { - s.DirectoryType = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetIAMUser sets the IAMUser field's value. -func (s *SignupResponse) SetIAMUser(v bool) *SignupResponse { - s.IAMUser = &v +// SetColumnTooltipItem sets the ColumnTooltipItem field's value. +func (s *TooltipItem) SetColumnTooltipItem(v *ColumnTooltipItem) *TooltipItem { + s.ColumnTooltipItem = v return s } -// SetUserLoginName sets the UserLoginName field's value. -func (s *SignupResponse) SetUserLoginName(v string) *SignupResponse { - s.UserLoginName = &v +// SetFieldTooltipItem sets the FieldTooltipItem field's value. +func (s *TooltipItem) SetFieldTooltipItem(v *FieldTooltipItem) *TooltipItem { + s.FieldTooltipItem = v return s } -// The parameters for Snowflake. -type SnowflakeParameters struct { +// The display options for the visual tooltip. +type TooltipOptions struct { _ struct{} `type:"structure"` - // Database. - // - // Database is a required field - Database *string `min:"1" type:"string" required:"true"` + // The setup for the detailed tooltip. The tooltip setup is always saved. The + // display type is decided based on the tooltip type. + FieldBasedTooltip *FieldBasedTooltip `type:"structure"` - // Host. + // The selected type for the tooltip. Choose one of the following options: // - // Host is a required field - Host *string `min:"1" type:"string" required:"true"` - - // Warehouse. + // * BASIC: A basic tooltip. // - // Warehouse is a required field - Warehouse *string `type:"string" required:"true"` + // * DETAILED: A detailed tooltip. + SelectedTooltipType *string `type:"string" enum:"SelectedTooltipType"` + + // Determines whether or not the tooltip is visible. + TooltipVisibility *string `type:"string" enum:"Visibility"` } // String returns the string representation. @@ -38402,7 +71700,7 @@ type SnowflakeParameters struct { // 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 SnowflakeParameters) String() string { +func (s TooltipOptions) String() string { return awsutil.Prettify(s) } @@ -38411,27 +71709,17 @@ func (s SnowflakeParameters) String() string { // 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 SnowflakeParameters) GoString() string { +func (s TooltipOptions) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *SnowflakeParameters) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "SnowflakeParameters"} - if s.Database == nil { - invalidParams.Add(request.NewErrParamRequired("Database")) - } - if s.Database != nil && len(*s.Database) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Database", 1)) - } - if s.Host == nil { - invalidParams.Add(request.NewErrParamRequired("Host")) - } - if s.Host != nil && len(*s.Host) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Host", 1)) - } - if s.Warehouse == nil { - invalidParams.Add(request.NewErrParamRequired("Warehouse")) +func (s *TooltipOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TooltipOptions"} + if s.FieldBasedTooltip != nil { + if err := s.FieldBasedTooltip.Validate(); err != nil { + invalidParams.AddNested("FieldBasedTooltip", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -38440,37 +71728,52 @@ func (s *SnowflakeParameters) Validate() error { return nil } -// SetDatabase sets the Database field's value. -func (s *SnowflakeParameters) SetDatabase(v string) *SnowflakeParameters { - s.Database = &v +// SetFieldBasedTooltip sets the FieldBasedTooltip field's value. +func (s *TooltipOptions) SetFieldBasedTooltip(v *FieldBasedTooltip) *TooltipOptions { + s.FieldBasedTooltip = v return s } -// SetHost sets the Host field's value. -func (s *SnowflakeParameters) SetHost(v string) *SnowflakeParameters { - s.Host = &v +// SetSelectedTooltipType sets the SelectedTooltipType field's value. +func (s *TooltipOptions) SetSelectedTooltipType(v string) *TooltipOptions { + s.SelectedTooltipType = &v return s } -// SetWarehouse sets the Warehouse field's value. -func (s *SnowflakeParameters) SetWarehouse(v string) *SnowflakeParameters { - s.Warehouse = &v +// SetTooltipVisibility sets the TooltipVisibility field's value. +func (s *TooltipOptions) SetTooltipVisibility(v string) *TooltipOptions { + s.TooltipVisibility = &v return s } -// The parameters for Spark. -type SparkParameters struct { +// A TopBottomFilter filters values that are at the top or the bottom. +type TopBottomFilter struct { _ struct{} `type:"structure"` - // Host. + // The aggregation and sort configuration of the top bottom filter. // - // Host is a required field - Host *string `min:"1" type:"string" required:"true"` + // AggregationSortConfigurations is a required field + AggregationSortConfigurations []*AggregationSortConfiguration `type:"list" required:"true"` - // Port. + // The column that the filter is applied to. // - // Port is a required field - Port *int64 `min:"1" type:"integer" required:"true"` + // Column is a required field + Column *ColumnIdentifier `type:"structure" required:"true"` + + // An identifier that uniquely identifies a filter within a dashboard, analysis, + // or template. + // + // FilterId is a required field + FilterId *string `min:"1" type:"string" required:"true"` + + // The number of items to include in the top bottom filter results. + Limit *int64 `type:"integer"` + + // The parameter whose value should be used for the filter value. + ParameterName *string `min:"1" type:"string"` + + // The level of time precision that is used to aggregate DateTime values. + TimeGranularity *string `type:"string" enum:"TimeGranularity"` } // String returns the string representation. @@ -38478,7 +71781,7 @@ type SparkParameters struct { // 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 SparkParameters) String() string { +func (s TopBottomFilter) String() string { return awsutil.Prettify(s) } @@ -38487,24 +71790,42 @@ func (s SparkParameters) String() string { // 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 SparkParameters) GoString() string { +func (s TopBottomFilter) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *SparkParameters) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "SparkParameters"} - if s.Host == nil { - invalidParams.Add(request.NewErrParamRequired("Host")) +func (s *TopBottomFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TopBottomFilter"} + if s.AggregationSortConfigurations == nil { + invalidParams.Add(request.NewErrParamRequired("AggregationSortConfigurations")) } - if s.Host != nil && len(*s.Host) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Host", 1)) + if s.Column == nil { + invalidParams.Add(request.NewErrParamRequired("Column")) } - if s.Port == nil { - invalidParams.Add(request.NewErrParamRequired("Port")) + if s.FilterId == nil { + invalidParams.Add(request.NewErrParamRequired("FilterId")) } - if s.Port != nil && *s.Port < 1 { - invalidParams.Add(request.NewErrParamMinValue("Port", 1)) + if s.FilterId != nil && len(*s.FilterId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FilterId", 1)) + } + if s.ParameterName != nil && len(*s.ParameterName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ParameterName", 1)) + } + if s.AggregationSortConfigurations != nil { + for i, v := range s.AggregationSortConfigurations { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "AggregationSortConfigurations", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Column != nil { + if err := s.Column.Validate(); err != nil { + invalidParams.AddNested("Column", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -38513,36 +71834,81 @@ func (s *SparkParameters) Validate() error { return nil } -// SetHost sets the Host field's value. -func (s *SparkParameters) SetHost(v string) *SparkParameters { - s.Host = &v +// SetAggregationSortConfigurations sets the AggregationSortConfigurations field's value. +func (s *TopBottomFilter) SetAggregationSortConfigurations(v []*AggregationSortConfiguration) *TopBottomFilter { + s.AggregationSortConfigurations = v return s } -// SetPort sets the Port field's value. -func (s *SparkParameters) SetPort(v int64) *SparkParameters { - s.Port = &v +// SetColumn sets the Column field's value. +func (s *TopBottomFilter) SetColumn(v *ColumnIdentifier) *TopBottomFilter { + s.Column = v return s } -// The parameters for SQL Server. -type SqlServerParameters struct { +// SetFilterId sets the FilterId field's value. +func (s *TopBottomFilter) SetFilterId(v string) *TopBottomFilter { + s.FilterId = &v + return s +} + +// SetLimit sets the Limit field's value. +func (s *TopBottomFilter) SetLimit(v int64) *TopBottomFilter { + s.Limit = &v + return s +} + +// SetParameterName sets the ParameterName field's value. +func (s *TopBottomFilter) SetParameterName(v string) *TopBottomFilter { + s.ParameterName = &v + return s +} + +// SetTimeGranularity sets the TimeGranularity field's value. +func (s *TopBottomFilter) SetTimeGranularity(v string) *TopBottomFilter { + s.TimeGranularity = &v + return s +} + +// The top movers and bottom movers computation setup. +type TopBottomMoversComputation struct { _ struct{} `type:"structure"` - // Database. + // The category field that is used in a computation. // - // Database is a required field - Database *string `min:"1" type:"string" required:"true"` + // Category is a required field + Category *DimensionField `type:"structure" required:"true"` - // Host. + // The ID for a computation. // - // Host is a required field - Host *string `min:"1" type:"string" required:"true"` + // ComputationId is a required field + ComputationId *string `min:"1" type:"string" required:"true"` - // Port. + // The mover size setup of the top and bottom movers computation. + MoverSize *int64 `min:"1" type:"integer"` + + // The name of a computation. + Name *string `type:"string"` + + // The sort order setup of the top and bottom movers computation. + SortOrder *string `type:"string" enum:"TopBottomSortOrder"` + + // The time field that is used in a computation. // - // Port is a required field - Port *int64 `min:"1" type:"integer" required:"true"` + // Time is a required field + Time *DimensionField `type:"structure" required:"true"` + + // The computation type. Choose from the following options: + // + // * TOP: Top movers computation. + // + // * BOTTOM: Bottom movers computation. + // + // Type is a required field + Type *string `type:"string" required:"true" enum:"TopBottomComputationType"` + + // The value field that is used in a computation. + Value *MeasureField `type:"structure"` } // String returns the string representation. @@ -38550,7 +71916,7 @@ type SqlServerParameters struct { // 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 SqlServerParameters) String() string { +func (s TopBottomMoversComputation) String() string { return awsutil.Prettify(s) } @@ -38559,30 +71925,45 @@ func (s SqlServerParameters) String() string { // 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 SqlServerParameters) GoString() string { +func (s TopBottomMoversComputation) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *SqlServerParameters) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "SqlServerParameters"} - if s.Database == nil { - invalidParams.Add(request.NewErrParamRequired("Database")) +func (s *TopBottomMoversComputation) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TopBottomMoversComputation"} + if s.Category == nil { + invalidParams.Add(request.NewErrParamRequired("Category")) } - if s.Database != nil && len(*s.Database) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Database", 1)) + if s.ComputationId == nil { + invalidParams.Add(request.NewErrParamRequired("ComputationId")) } - if s.Host == nil { - invalidParams.Add(request.NewErrParamRequired("Host")) + if s.ComputationId != nil && len(*s.ComputationId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ComputationId", 1)) } - if s.Host != nil && len(*s.Host) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Host", 1)) + if s.MoverSize != nil && *s.MoverSize < 1 { + invalidParams.Add(request.NewErrParamMinValue("MoverSize", 1)) } - if s.Port == nil { - invalidParams.Add(request.NewErrParamRequired("Port")) + if s.Time == nil { + invalidParams.Add(request.NewErrParamRequired("Time")) } - if s.Port != nil && *s.Port < 1 { - invalidParams.Add(request.NewErrParamMinValue("Port", 1)) + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) + } + if s.Category != nil { + if err := s.Category.Validate(); err != nil { + invalidParams.AddNested("Category", err.(request.ErrInvalidParams)) + } + } + if s.Time != nil { + if err := s.Time.Validate(); err != nil { + invalidParams.AddNested("Time", err.(request.ErrInvalidParams)) + } + } + if s.Value != nil { + if err := s.Value.Validate(); err != nil { + invalidParams.AddNested("Value", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -38591,70 +71972,85 @@ func (s *SqlServerParameters) Validate() error { return nil } -// SetDatabase sets the Database field's value. -func (s *SqlServerParameters) SetDatabase(v string) *SqlServerParameters { - s.Database = &v +// SetCategory sets the Category field's value. +func (s *TopBottomMoversComputation) SetCategory(v *DimensionField) *TopBottomMoversComputation { + s.Category = v return s } -// SetHost sets the Host field's value. -func (s *SqlServerParameters) SetHost(v string) *SqlServerParameters { - s.Host = &v +// SetComputationId sets the ComputationId field's value. +func (s *TopBottomMoversComputation) SetComputationId(v string) *TopBottomMoversComputation { + s.ComputationId = &v return s } -// SetPort sets the Port field's value. -func (s *SqlServerParameters) SetPort(v int64) *SqlServerParameters { - s.Port = &v +// SetMoverSize sets the MoverSize field's value. +func (s *TopBottomMoversComputation) SetMoverSize(v int64) *TopBottomMoversComputation { + s.MoverSize = &v return s } -// Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects -// to your underlying data source. -type SslProperties struct { - _ struct{} `type:"structure"` +// SetName sets the Name field's value. +func (s *TopBottomMoversComputation) SetName(v string) *TopBottomMoversComputation { + s.Name = &v + return s +} - // A Boolean option to control whether SSL should be disabled. - DisableSsl *bool `type:"boolean"` +// SetSortOrder sets the SortOrder field's value. +func (s *TopBottomMoversComputation) SetSortOrder(v string) *TopBottomMoversComputation { + s.SortOrder = &v + return s } -// 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 SslProperties) String() string { - return awsutil.Prettify(s) +// SetTime sets the Time field's value. +func (s *TopBottomMoversComputation) SetTime(v *DimensionField) *TopBottomMoversComputation { + s.Time = v + return 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 SslProperties) GoString() string { - return s.String() +// SetType sets the Type field's value. +func (s *TopBottomMoversComputation) SetType(v string) *TopBottomMoversComputation { + s.Type = &v + return s } -// SetDisableSsl sets the DisableSsl field's value. -func (s *SslProperties) SetDisableSsl(v bool) *SslProperties { - s.DisableSsl = &v +// SetValue sets the Value field's value. +func (s *TopBottomMoversComputation) SetValue(v *MeasureField) *TopBottomMoversComputation { + s.Value = v return s } -// A string parameter. -type StringParameter struct { +// The top ranked and bottom ranked computation configuration. +type TopBottomRankedComputation struct { _ struct{} `type:"structure"` - // A display name for a string parameter. + // The category field that is used in a computation. // - // Name is a required field - Name *string `type:"string" required:"true"` + // Category is a required field + Category *DimensionField `type:"structure" required:"true"` - // The values of a string parameter. + // The ID for a computation. // - // Values is a required field - Values []*string `type:"list" required:"true"` + // ComputationId is a required field + ComputationId *string `min:"1" type:"string" required:"true"` + + // The name of a computation. + Name *string `type:"string"` + + // The result size of a top and bottom ranked computation. + ResultSize *int64 `min:"1" type:"integer"` + + // The computation type. Choose one of the following options: + // + // * TOP: A top ranked computation. + // + // * BOTTOM: A bottom ranked computation. + // + // Type is a required field + Type *string `type:"string" required:"true" enum:"TopBottomComputationType"` + + // The value field that is used in a computation. + Value *MeasureField `type:"structure"` } // String returns the string representation. @@ -38662,7 +72058,7 @@ type StringParameter struct { // 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 StringParameter) String() string { +func (s TopBottomRankedComputation) String() string { return awsutil.Prettify(s) } @@ -38671,18 +72067,37 @@ func (s StringParameter) String() string { // 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 StringParameter) GoString() string { +func (s TopBottomRankedComputation) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *StringParameter) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "StringParameter"} - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) +func (s *TopBottomRankedComputation) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TopBottomRankedComputation"} + if s.Category == nil { + invalidParams.Add(request.NewErrParamRequired("Category")) } - if s.Values == nil { - invalidParams.Add(request.NewErrParamRequired("Values")) + if s.ComputationId == nil { + invalidParams.Add(request.NewErrParamRequired("ComputationId")) + } + if s.ComputationId != nil && len(*s.ComputationId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ComputationId", 1)) + } + if s.ResultSize != nil && *s.ResultSize < 1 { + invalidParams.Add(request.NewErrParamMinValue("ResultSize", 1)) + } + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) + } + if s.Category != nil { + if err := s.Category.Validate(); err != nil { + invalidParams.AddNested("Category", err.(request.ErrInvalidParams)) + } + } + if s.Value != nil { + if err := s.Value.Validate(); err != nil { + invalidParams.AddNested("Value", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -38691,32 +72106,58 @@ func (s *StringParameter) Validate() error { return nil } +// SetCategory sets the Category field's value. +func (s *TopBottomRankedComputation) SetCategory(v *DimensionField) *TopBottomRankedComputation { + s.Category = v + return s +} + +// SetComputationId sets the ComputationId field's value. +func (s *TopBottomRankedComputation) SetComputationId(v string) *TopBottomRankedComputation { + s.ComputationId = &v + return s +} + // SetName sets the Name field's value. -func (s *StringParameter) SetName(v string) *StringParameter { +func (s *TopBottomRankedComputation) SetName(v string) *TopBottomRankedComputation { s.Name = &v return s } -// SetValues sets the Values field's value. -func (s *StringParameter) SetValues(v []*string) *StringParameter { - s.Values = v +// SetResultSize sets the ResultSize field's value. +func (s *TopBottomRankedComputation) SetResultSize(v int64) *TopBottomRankedComputation { + s.ResultSize = &v return s } -// The key or keys of the key-value pairs for the resource tag or tags assigned -// to the resource. -type Tag struct { +// SetType sets the Type field's value. +func (s *TopBottomRankedComputation) SetType(v string) *TopBottomRankedComputation { + s.Type = &v + return s +} + +// SetValue sets the Value field's value. +func (s *TopBottomRankedComputation) SetValue(v *MeasureField) *TopBottomRankedComputation { + s.Value = v + return s +} + +// The total aggregation computation configuration. +type TotalAggregationComputation struct { _ struct{} `type:"structure"` - // Tag key. + // The ID for a computation. // - // Key is a required field - Key *string `min:"1" type:"string" required:"true"` + // ComputationId is a required field + ComputationId *string `min:"1" type:"string" required:"true"` - // Tag value. + // The name of a computation. + Name *string `type:"string"` + + // The value field that is used in a computation. // // Value is a required field - Value *string `min:"1" type:"string" required:"true"` + Value *MeasureField `type:"structure" required:"true"` } // String returns the string representation. @@ -38724,7 +72165,7 @@ type Tag struct { // 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 Tag) String() string { +func (s TotalAggregationComputation) String() string { return awsutil.Prettify(s) } @@ -38733,24 +72174,26 @@ func (s Tag) String() string { // 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 Tag) GoString() string { +func (s TotalAggregationComputation) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *Tag) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "Tag"} - if s.Key == nil { - invalidParams.Add(request.NewErrParamRequired("Key")) +func (s *TotalAggregationComputation) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TotalAggregationComputation"} + if s.ComputationId == nil { + invalidParams.Add(request.NewErrParamRequired("ComputationId")) } - if s.Key != nil && len(*s.Key) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Key", 1)) + if s.ComputationId != nil && len(*s.ComputationId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ComputationId", 1)) } if s.Value == nil { invalidParams.Add(request.NewErrParamRequired("Value")) } - if s.Value != nil && len(*s.Value) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Value", 1)) + if s.Value != nil { + if err := s.Value.Validate(); err != nil { + invalidParams.AddNested("Value", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -38759,33 +72202,42 @@ func (s *Tag) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v +// SetComputationId sets the ComputationId field's value. +func (s *TotalAggregationComputation) SetComputationId(v string) *TotalAggregationComputation { + s.ComputationId = &v + return s +} + +// SetName sets the Name field's value. +func (s *TotalAggregationComputation) SetName(v string) *TotalAggregationComputation { + s.Name = &v return s } // SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v +func (s *TotalAggregationComputation) SetValue(v *MeasureField) *TotalAggregationComputation { + s.Value = v return s } -// A transform operation that tags a column with additional information. -type TagColumnOperation struct { +// The total options for a table visual. +type TotalOptions struct { _ struct{} `type:"structure"` - // The column that this operation acts on. - // - // ColumnName is a required field - ColumnName *string `min:"1" type:"string" required:"true"` + // The custom label string for the total cells. + CustomLabel *string `type:"string"` - // The dataset column tag, currently only used for geospatial type tagging. - // - // This is not tags for the Amazon Web Services tagging feature. - // - // Tags is a required field - Tags []*ColumnTag `min:"1" type:"list" required:"true"` + // The placement (start, end) for the total cells. + Placement *string `type:"string" enum:"TableTotalsPlacement"` + + // The scroll status (pinned, scrolled) for the total cells. + ScrollStatus *string `type:"string" enum:"TableTotalsScrollStatus"` + + // Cell styling options for the total cells. + TotalCellStyle *TableCellStyle `type:"structure"` + + // The visibility configuration for the total cells. + TotalsVisibility *string `type:"string" enum:"Visibility"` } // String returns the string representation. @@ -38793,7 +72245,7 @@ type TagColumnOperation struct { // 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 TagColumnOperation) String() string { +func (s TotalOptions) String() string { return awsutil.Prettify(s) } @@ -38802,24 +72254,17 @@ func (s TagColumnOperation) String() string { // 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 TagColumnOperation) GoString() string { +func (s TotalOptions) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *TagColumnOperation) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "TagColumnOperation"} - if s.ColumnName == nil { - invalidParams.Add(request.NewErrParamRequired("ColumnName")) - } - if s.ColumnName != nil && len(*s.ColumnName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ColumnName", 1)) - } - if s.Tags == nil { - invalidParams.Add(request.NewErrParamRequired("Tags")) - } - if s.Tags != nil && len(s.Tags) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) +func (s *TotalOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TotalOptions"} + if s.TotalCellStyle != nil { + if err := s.TotalCellStyle.Validate(); err != nil { + invalidParams.AddNested("TotalCellStyle", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -38828,31 +72273,63 @@ func (s *TagColumnOperation) Validate() error { return nil } -// SetColumnName sets the ColumnName field's value. -func (s *TagColumnOperation) SetColumnName(v string) *TagColumnOperation { - s.ColumnName = &v +// SetCustomLabel sets the CustomLabel field's value. +func (s *TotalOptions) SetCustomLabel(v string) *TotalOptions { + s.CustomLabel = &v return s } -// SetTags sets the Tags field's value. -func (s *TagColumnOperation) SetTags(v []*ColumnTag) *TagColumnOperation { - s.Tags = v +// SetPlacement sets the Placement field's value. +func (s *TotalOptions) SetPlacement(v string) *TotalOptions { + s.Placement = &v return s } -type TagResourceInput struct { +// SetScrollStatus sets the ScrollStatus field's value. +func (s *TotalOptions) SetScrollStatus(v string) *TotalOptions { + s.ScrollStatus = &v + return s +} + +// SetTotalCellStyle sets the TotalCellStyle field's value. +func (s *TotalOptions) SetTotalCellStyle(v *TableCellStyle) *TotalOptions { + s.TotalCellStyle = v + return s +} + +// SetTotalsVisibility sets the TotalsVisibility field's value. +func (s *TotalOptions) SetTotalsVisibility(v string) *TotalOptions { + s.TotalsVisibility = &v + return s +} + +// A data transformation on a logical table. This is a variant type structure. +// For this structure to be valid, only one of the attributes can be non-null. +type TransformOperation struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the resource that you want to tag. - // - // ResourceArn is a required field - ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"` + // A transform operation that casts a column to a different type. + CastColumnTypeOperation *CastColumnTypeOperation `type:"structure"` - // Contains a map of the key-value pairs for the resource tag or tags assigned - // to the resource. - // - // Tags is a required field - Tags []*Tag `min:"1" type:"list" required:"true"` + // An operation that creates calculated columns. Columns created in one such + // operation form a lexical closure. + CreateColumnsOperation *CreateColumnsOperation `type:"structure"` + + // An operation that filters rows based on some condition. + FilterOperation *FilterOperation `type:"structure"` + + // An operation that projects columns. Operations that come after a projection + // can only refer to projected columns. + ProjectOperation *ProjectOperation `type:"structure"` + + // An operation that renames a column. + RenameColumnOperation *RenameColumnOperation `type:"structure"` + + // An operation that tags a column with additional information. + TagColumnOperation *TagColumnOperation `type:"structure"` + + // A transform operation that removes tags associated with a column. + UntagColumnOperation *UntagColumnOperation `type:"structure"` } // String returns the string representation. @@ -38860,7 +72337,7 @@ type TagResourceInput struct { // 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 TagResourceInput) String() string { +func (s TransformOperation) String() string { return awsutil.Prettify(s) } @@ -38869,33 +72346,46 @@ func (s TagResourceInput) String() string { // 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 TagResourceInput) GoString() string { +func (s TransformOperation) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *TagResourceInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"} - if s.ResourceArn == nil { - invalidParams.Add(request.NewErrParamRequired("ResourceArn")) +func (s *TransformOperation) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TransformOperation"} + if s.CastColumnTypeOperation != nil { + if err := s.CastColumnTypeOperation.Validate(); err != nil { + invalidParams.AddNested("CastColumnTypeOperation", err.(request.ErrInvalidParams)) + } } - if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) + if s.CreateColumnsOperation != nil { + if err := s.CreateColumnsOperation.Validate(); err != nil { + invalidParams.AddNested("CreateColumnsOperation", err.(request.ErrInvalidParams)) + } } - if s.Tags == nil { - invalidParams.Add(request.NewErrParamRequired("Tags")) + if s.FilterOperation != nil { + if err := s.FilterOperation.Validate(); err != nil { + invalidParams.AddNested("FilterOperation", err.(request.ErrInvalidParams)) + } } - if s.Tags != nil && len(s.Tags) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) + if s.ProjectOperation != nil { + if err := s.ProjectOperation.Validate(); err != nil { + invalidParams.AddNested("ProjectOperation", err.(request.ErrInvalidParams)) + } } - if s.Tags != nil { - for i, v := range s.Tags { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) - } + if s.RenameColumnOperation != nil { + if err := s.RenameColumnOperation.Validate(); err != nil { + invalidParams.AddNested("RenameColumnOperation", err.(request.ErrInvalidParams)) + } + } + if s.TagColumnOperation != nil { + if err := s.TagColumnOperation.Validate(); err != nil { + invalidParams.AddNested("TagColumnOperation", err.(request.ErrInvalidParams)) + } + } + if s.UntagColumnOperation != nil { + if err := s.UntagColumnOperation.Validate(); err != nil { + invalidParams.AddNested("UntagColumnOperation", err.(request.ErrInvalidParams)) } } @@ -38905,26 +72395,63 @@ func (s *TagResourceInput) Validate() error { return nil } -// SetResourceArn sets the ResourceArn field's value. -func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput { - s.ResourceArn = &v +// SetCastColumnTypeOperation sets the CastColumnTypeOperation field's value. +func (s *TransformOperation) SetCastColumnTypeOperation(v *CastColumnTypeOperation) *TransformOperation { + s.CastColumnTypeOperation = v return s } -// SetTags sets the Tags field's value. -func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput { - s.Tags = v +// SetCreateColumnsOperation sets the CreateColumnsOperation field's value. +func (s *TransformOperation) SetCreateColumnsOperation(v *CreateColumnsOperation) *TransformOperation { + s.CreateColumnsOperation = v return s } -type TagResourceOutput struct { +// SetFilterOperation sets the FilterOperation field's value. +func (s *TransformOperation) SetFilterOperation(v *FilterOperation) *TransformOperation { + s.FilterOperation = v + return s +} + +// SetProjectOperation sets the ProjectOperation field's value. +func (s *TransformOperation) SetProjectOperation(v *ProjectOperation) *TransformOperation { + s.ProjectOperation = v + return s +} + +// SetRenameColumnOperation sets the RenameColumnOperation field's value. +func (s *TransformOperation) SetRenameColumnOperation(v *RenameColumnOperation) *TransformOperation { + s.RenameColumnOperation = v + return s +} + +// SetTagColumnOperation sets the TagColumnOperation field's value. +func (s *TransformOperation) SetTagColumnOperation(v *TagColumnOperation) *TransformOperation { + s.TagColumnOperation = v + return s +} + +// SetUntagColumnOperation sets the UntagColumnOperation field's value. +func (s *TransformOperation) SetUntagColumnOperation(v *UntagColumnOperation) *TransformOperation { + s.UntagColumnOperation = v + return s +} + +// Aggregated field wells of a tree map. +type TreeMapAggregatedFieldWells struct { _ struct{} `type:"structure"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The color field well of a tree map. Values are grouped by aggregations based + // on group by fields. + Colors []*MeasureField `type:"list"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The group by field well of a tree map. Values are grouped based on group + // by fields. + Groups []*DimensionField `type:"list"` + + // The size field well of a tree map. Values are aggregated based on group by + // fields. + Sizes []*MeasureField `type:"list"` } // String returns the string representation. @@ -38932,7 +72459,7 @@ type TagResourceOutput struct { // 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 TagResourceOutput) String() string { +func (s TreeMapAggregatedFieldWells) String() string { return awsutil.Prettify(s) } @@ -38941,53 +72468,101 @@ func (s TagResourceOutput) String() string { // 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 TagResourceOutput) GoString() string { +func (s TreeMapAggregatedFieldWells) GoString() string { return s.String() } -// SetRequestId sets the RequestId field's value. -func (s *TagResourceOutput) SetRequestId(v string) *TagResourceOutput { - s.RequestId = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *TreeMapAggregatedFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TreeMapAggregatedFieldWells"} + if s.Colors != nil { + for i, v := range s.Colors { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Colors", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Groups != nil { + for i, v := range s.Groups { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Groups", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Sizes != nil { + for i, v := range s.Sizes { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Sizes", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetColors sets the Colors field's value. +func (s *TreeMapAggregatedFieldWells) SetColors(v []*MeasureField) *TreeMapAggregatedFieldWells { + s.Colors = v + return s +} + +// SetGroups sets the Groups field's value. +func (s *TreeMapAggregatedFieldWells) SetGroups(v []*DimensionField) *TreeMapAggregatedFieldWells { + s.Groups = v return s } -// SetStatus sets the Status field's value. -func (s *TagResourceOutput) SetStatus(v int64) *TagResourceOutput { - s.Status = &v +// SetSizes sets the Sizes field's value. +func (s *TreeMapAggregatedFieldWells) SetSizes(v []*MeasureField) *TreeMapAggregatedFieldWells { + s.Sizes = v return s } -// A template object. A template is an entity in Amazon QuickSight that encapsulates -// the metadata required to create an analysis and that you can use to create -// a dashboard. A template adds a layer of abstraction by using placeholders -// to replace the dataset associated with an analysis. You can use templates -// to create dashboards by replacing dataset placeholders with datasets that -// follow the same schema that was used to create the source analysis and template. -// -// You can share templates across Amazon Web Services accounts by allowing users -// in other Amazon Web Services accounts to create a template or a dashboard -// from an existing template. -type Template struct { +// The configuration of a tree map. +type TreeMapConfiguration struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the template. - Arn *string `type:"string"` + // The label options (label text, label visibility) for the colors displayed + // in a tree map. + ColorLabelOptions *ChartAxisLabelOptions `type:"structure"` - // Time when this was created. - CreatedTime *time.Time `type:"timestamp"` + // The color options (gradient color, point of divergence) of a tree map. + ColorScale *ColorScale `type:"structure"` - // Time when this was last updated. - LastUpdatedTime *time.Time `type:"timestamp"` + // The options that determine if visual data labels are displayed. + DataLabels *DataLabelOptions `type:"structure"` - // The display name of the template. - Name *string `min:"1" type:"string"` + // The field wells of the visual. + FieldWells *TreeMapFieldWells `type:"structure"` - // The ID for the template. This is unique per Amazon Web Services Region for - // each Amazon Web Services account. - TemplateId *string `min:"1" type:"string"` + // The label options (label text, label visibility) of the groups that are displayed + // in a tree map. + GroupLabelOptions *ChartAxisLabelOptions `type:"structure"` - // A structure describing the versions of the template. - Version *TemplateVersion `type:"structure"` + // The legend display setup of the visual. + Legend *LegendOptions `type:"structure"` + + // The label options (label text, label visibility) of the sizes that are displayed + // in a tree map. + SizeLabelOptions *ChartAxisLabelOptions `type:"structure"` + + // The sort configuration of a tree map. + SortConfiguration *TreeMapSortConfiguration `type:"structure"` + + // The tooltip display setup of the visual. + Tooltip *TooltipOptions `type:"structure"` } // String returns the string representation. @@ -38995,7 +72570,7 @@ type Template struct { // 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 Template) String() string { +func (s TreeMapConfiguration) String() string { return awsutil.Prettify(s) } @@ -39004,58 +72579,123 @@ func (s Template) String() string { // 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 Template) GoString() string { +func (s TreeMapConfiguration) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Template) SetArn(v string) *Template { - s.Arn = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *TreeMapConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TreeMapConfiguration"} + if s.ColorLabelOptions != nil { + if err := s.ColorLabelOptions.Validate(); err != nil { + invalidParams.AddNested("ColorLabelOptions", err.(request.ErrInvalidParams)) + } + } + if s.ColorScale != nil { + if err := s.ColorScale.Validate(); err != nil { + invalidParams.AddNested("ColorScale", err.(request.ErrInvalidParams)) + } + } + if s.DataLabels != nil { + if err := s.DataLabels.Validate(); err != nil { + invalidParams.AddNested("DataLabels", err.(request.ErrInvalidParams)) + } + } + if s.FieldWells != nil { + if err := s.FieldWells.Validate(); err != nil { + invalidParams.AddNested("FieldWells", err.(request.ErrInvalidParams)) + } + } + if s.GroupLabelOptions != nil { + if err := s.GroupLabelOptions.Validate(); err != nil { + invalidParams.AddNested("GroupLabelOptions", err.(request.ErrInvalidParams)) + } + } + if s.SizeLabelOptions != nil { + if err := s.SizeLabelOptions.Validate(); err != nil { + invalidParams.AddNested("SizeLabelOptions", err.(request.ErrInvalidParams)) + } + } + if s.SortConfiguration != nil { + if err := s.SortConfiguration.Validate(); err != nil { + invalidParams.AddNested("SortConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.Tooltip != nil { + if err := s.Tooltip.Validate(); err != nil { + invalidParams.AddNested("Tooltip", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetColorLabelOptions sets the ColorLabelOptions field's value. +func (s *TreeMapConfiguration) SetColorLabelOptions(v *ChartAxisLabelOptions) *TreeMapConfiguration { + s.ColorLabelOptions = v return s } -// SetCreatedTime sets the CreatedTime field's value. -func (s *Template) SetCreatedTime(v time.Time) *Template { - s.CreatedTime = &v +// SetColorScale sets the ColorScale field's value. +func (s *TreeMapConfiguration) SetColorScale(v *ColorScale) *TreeMapConfiguration { + s.ColorScale = v return s } -// SetLastUpdatedTime sets the LastUpdatedTime field's value. -func (s *Template) SetLastUpdatedTime(v time.Time) *Template { - s.LastUpdatedTime = &v +// SetDataLabels sets the DataLabels field's value. +func (s *TreeMapConfiguration) SetDataLabels(v *DataLabelOptions) *TreeMapConfiguration { + s.DataLabels = v return s } -// SetName sets the Name field's value. -func (s *Template) SetName(v string) *Template { - s.Name = &v +// SetFieldWells sets the FieldWells field's value. +func (s *TreeMapConfiguration) SetFieldWells(v *TreeMapFieldWells) *TreeMapConfiguration { + s.FieldWells = v return s } -// SetTemplateId sets the TemplateId field's value. -func (s *Template) SetTemplateId(v string) *Template { - s.TemplateId = &v +// SetGroupLabelOptions sets the GroupLabelOptions field's value. +func (s *TreeMapConfiguration) SetGroupLabelOptions(v *ChartAxisLabelOptions) *TreeMapConfiguration { + s.GroupLabelOptions = v return s } -// SetVersion sets the Version field's value. -func (s *Template) SetVersion(v *TemplateVersion) *Template { - s.Version = v +// SetLegend sets the Legend field's value. +func (s *TreeMapConfiguration) SetLegend(v *LegendOptions) *TreeMapConfiguration { + s.Legend = v return s } -// The template alias. -type TemplateAlias struct { - _ struct{} `type:"structure"` +// SetSizeLabelOptions sets the SizeLabelOptions field's value. +func (s *TreeMapConfiguration) SetSizeLabelOptions(v *ChartAxisLabelOptions) *TreeMapConfiguration { + s.SizeLabelOptions = v + return s +} - // The display name of the template alias. - AliasName *string `min:"1" type:"string"` +// SetSortConfiguration sets the SortConfiguration field's value. +func (s *TreeMapConfiguration) SetSortConfiguration(v *TreeMapSortConfiguration) *TreeMapConfiguration { + s.SortConfiguration = v + return s +} - // The Amazon Resource Name (ARN) of the template alias. - Arn *string `type:"string"` +// SetTooltip sets the Tooltip field's value. +func (s *TreeMapConfiguration) SetTooltip(v *TooltipOptions) *TreeMapConfiguration { + s.Tooltip = v + return s +} - // The version number of the template alias. - TemplateVersionNumber *int64 `min:"1" type:"long"` +// The field wells of a tree map. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type TreeMapFieldWells struct { + _ struct{} `type:"structure"` + + // The aggregated field wells of a tree map. + TreeMapAggregatedFieldWells *TreeMapAggregatedFieldWells `type:"structure"` } // String returns the string representation. @@ -39063,7 +72703,7 @@ type TemplateAlias struct { // 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 TemplateAlias) String() string { +func (s TreeMapFieldWells) String() string { return awsutil.Prettify(s) } @@ -39072,37 +72712,40 @@ func (s TemplateAlias) String() string { // 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 TemplateAlias) GoString() string { +func (s TreeMapFieldWells) GoString() string { return s.String() } -// SetAliasName sets the AliasName field's value. -func (s *TemplateAlias) SetAliasName(v string) *TemplateAlias { - s.AliasName = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *TreeMapFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TreeMapFieldWells"} + if s.TreeMapAggregatedFieldWells != nil { + if err := s.TreeMapAggregatedFieldWells.Validate(); err != nil { + invalidParams.AddNested("TreeMapAggregatedFieldWells", err.(request.ErrInvalidParams)) + } + } -// SetArn sets the Arn field's value. -func (s *TemplateAlias) SetArn(v string) *TemplateAlias { - s.Arn = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetTemplateVersionNumber sets the TemplateVersionNumber field's value. -func (s *TemplateAlias) SetTemplateVersionNumber(v int64) *TemplateAlias { - s.TemplateVersionNumber = &v +// SetTreeMapAggregatedFieldWells sets the TreeMapAggregatedFieldWells field's value. +func (s *TreeMapFieldWells) SetTreeMapAggregatedFieldWells(v *TreeMapAggregatedFieldWells) *TreeMapFieldWells { + s.TreeMapAggregatedFieldWells = v return s } -// List of errors that occurred when the template version creation failed. -type TemplateError struct { +// The sort configuration of a tree map. +type TreeMapSortConfiguration struct { _ struct{} `type:"structure"` - // Description of the error type. - Message *string `type:"string"` + // The limit on the number of groups that are displayed. + TreeMapGroupItemsLimitConfiguration *ItemsLimitConfiguration `type:"structure"` - // Type of error. - Type *string `type:"string" enum:"TemplateErrorType"` + // The sort configuration of group by fields. + TreeMapSort []*FieldSortOptions `type:"list"` } // String returns the string representation. @@ -39110,7 +72753,7 @@ type TemplateError struct { // 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 TemplateError) String() string { +func (s TreeMapSortConfiguration) String() string { return awsutil.Prettify(s) } @@ -39119,36 +72762,70 @@ func (s TemplateError) String() string { // 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 TemplateError) GoString() string { +func (s TreeMapSortConfiguration) GoString() string { return s.String() } -// SetMessage sets the Message field's value. -func (s *TemplateError) SetMessage(v string) *TemplateError { - s.Message = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *TreeMapSortConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TreeMapSortConfiguration"} + if s.TreeMapSort != nil { + for i, v := range s.TreeMapSort { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "TreeMapSort", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetTreeMapGroupItemsLimitConfiguration sets the TreeMapGroupItemsLimitConfiguration field's value. +func (s *TreeMapSortConfiguration) SetTreeMapGroupItemsLimitConfiguration(v *ItemsLimitConfiguration) *TreeMapSortConfiguration { + s.TreeMapGroupItemsLimitConfiguration = v return s } -// SetType sets the Type field's value. -func (s *TemplateError) SetType(v string) *TemplateError { - s.Type = &v +// SetTreeMapSort sets the TreeMapSort field's value. +func (s *TreeMapSortConfiguration) SetTreeMapSort(v []*FieldSortOptions) *TreeMapSortConfiguration { + s.TreeMapSort = v return s } -// The source analysis of the template. -type TemplateSourceAnalysis struct { +// A tree map. +// +// For more information, see Using tree maps (https://docs.aws.amazon.com/quicksight/latest/user/tree-map.html) +// in the Amazon QuickSight User Guide. +type TreeMapVisual struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the resource. - // - // Arn is a required field - Arn *string `type:"string" required:"true"` + // The list of custom actions that are configured for a visual. + Actions []*VisualCustomAction `type:"list"` - // A structure containing information about the dataset references used as placeholders - // in the template. + // The configuration settings of the visual. + ChartConfiguration *TreeMapConfiguration `type:"structure"` + + // The column hierarchy that is used during drill-downs and drill-ups. + ColumnHierarchies []*ColumnHierarchy `type:"list"` + + // The subtitle that is displayed on the visual. + Subtitle *VisualSubtitleLabelOptions `type:"structure"` + + // The title that is displayed on the visual. + Title *VisualTitleLabelOptions `type:"structure"` + + // The unique identifier of a visual. This identifier must be unique within + // the context of a dashboard, template, or analysis. Two dashboards, analyses, + // or templates can have visuals with the same identifiers.. // - // DataSetReferences is a required field - DataSetReferences []*DataSetReference `min:"1" type:"list" required:"true"` + // VisualId is a required field + VisualId *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -39156,7 +72833,7 @@ type TemplateSourceAnalysis struct { // 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 TemplateSourceAnalysis) String() string { +func (s TreeMapVisual) String() string { return awsutil.Prettify(s) } @@ -39165,32 +72842,54 @@ func (s TemplateSourceAnalysis) String() string { // 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 TemplateSourceAnalysis) GoString() string { +func (s TreeMapVisual) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *TemplateSourceAnalysis) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "TemplateSourceAnalysis"} - if s.Arn == nil { - invalidParams.Add(request.NewErrParamRequired("Arn")) +func (s *TreeMapVisual) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TreeMapVisual"} + if s.VisualId == nil { + invalidParams.Add(request.NewErrParamRequired("VisualId")) } - if s.DataSetReferences == nil { - invalidParams.Add(request.NewErrParamRequired("DataSetReferences")) + if s.VisualId != nil && len(*s.VisualId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("VisualId", 1)) } - if s.DataSetReferences != nil && len(s.DataSetReferences) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DataSetReferences", 1)) + if s.Actions != nil { + for i, v := range s.Actions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Actions", i), err.(request.ErrInvalidParams)) + } + } } - if s.DataSetReferences != nil { - for i, v := range s.DataSetReferences { + if s.ChartConfiguration != nil { + if err := s.ChartConfiguration.Validate(); err != nil { + invalidParams.AddNested("ChartConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.ColumnHierarchies != nil { + for i, v := range s.ColumnHierarchies { if v == nil { continue } if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DataSetReferences", i), err.(request.ErrInvalidParams)) + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnHierarchies", i), err.(request.ErrInvalidParams)) } } } + if s.Subtitle != nil { + if err := s.Subtitle.Validate(); err != nil { + invalidParams.AddNested("Subtitle", err.(request.ErrInvalidParams)) + } + } + if s.Title != nil { + if err := s.Title.Validate(); err != nil { + invalidParams.AddNested("Title", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -39198,27 +72897,48 @@ func (s *TemplateSourceAnalysis) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *TemplateSourceAnalysis) SetArn(v string) *TemplateSourceAnalysis { - s.Arn = &v +// SetActions sets the Actions field's value. +func (s *TreeMapVisual) SetActions(v []*VisualCustomAction) *TreeMapVisual { + s.Actions = v return s } -// SetDataSetReferences sets the DataSetReferences field's value. -func (s *TemplateSourceAnalysis) SetDataSetReferences(v []*DataSetReference) *TemplateSourceAnalysis { - s.DataSetReferences = v +// SetChartConfiguration sets the ChartConfiguration field's value. +func (s *TreeMapVisual) SetChartConfiguration(v *TreeMapConfiguration) *TreeMapVisual { + s.ChartConfiguration = v return s } -// The source entity of the template. -type TemplateSourceEntity struct { - _ struct{} `type:"structure"` +// SetColumnHierarchies sets the ColumnHierarchies field's value. +func (s *TreeMapVisual) SetColumnHierarchies(v []*ColumnHierarchy) *TreeMapVisual { + s.ColumnHierarchies = v + return s +} - // The source analysis, if it is based on an analysis. - SourceAnalysis *TemplateSourceAnalysis `type:"structure"` +// SetSubtitle sets the Subtitle field's value. +func (s *TreeMapVisual) SetSubtitle(v *VisualSubtitleLabelOptions) *TreeMapVisual { + s.Subtitle = v + return s +} - // The source template, if it is based on an template. - SourceTemplate *TemplateSourceTemplate `type:"structure"` +// SetTitle sets the Title field's value. +func (s *TreeMapVisual) SetTitle(v *VisualTitleLabelOptions) *TreeMapVisual { + s.Title = v + return s +} + +// SetVisualId sets the VisualId field's value. +func (s *TreeMapVisual) SetVisualId(v string) *TreeMapVisual { + s.VisualId = &v + return s +} + +// The options that determine the presentation of trend arrows in a KPI visual. +type TrendArrowOptions struct { + _ struct{} `type:"structure"` + + // The visibility of the trend arrows. + Visibility *string `type:"string" enum:"Visibility"` } // String returns the string representation. @@ -39226,7 +72946,7 @@ type TemplateSourceEntity struct { // 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 TemplateSourceEntity) String() string { +func (s TrendArrowOptions) String() string { return awsutil.Prettify(s) } @@ -39235,50 +72955,29 @@ func (s TemplateSourceEntity) String() string { // 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 TemplateSourceEntity) GoString() string { +func (s TrendArrowOptions) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *TemplateSourceEntity) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "TemplateSourceEntity"} - if s.SourceAnalysis != nil { - if err := s.SourceAnalysis.Validate(); err != nil { - invalidParams.AddNested("SourceAnalysis", err.(request.ErrInvalidParams)) - } - } - if s.SourceTemplate != nil { - if err := s.SourceTemplate.Validate(); err != nil { - invalidParams.AddNested("SourceTemplate", err.(request.ErrInvalidParams)) - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetSourceAnalysis sets the SourceAnalysis field's value. -func (s *TemplateSourceEntity) SetSourceAnalysis(v *TemplateSourceAnalysis) *TemplateSourceEntity { - s.SourceAnalysis = v - return s -} - -// SetSourceTemplate sets the SourceTemplate field's value. -func (s *TemplateSourceEntity) SetSourceTemplate(v *TemplateSourceTemplate) *TemplateSourceEntity { - s.SourceTemplate = v +// SetVisibility sets the Visibility field's value. +func (s *TrendArrowOptions) SetVisibility(v string) *TrendArrowOptions { + s.Visibility = &v return s } -// The source template of the template. -type TemplateSourceTemplate struct { +// The parameters for Twitter. +type TwitterParameters struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the resource. + // Maximum number of rows to query Twitter. // - // Arn is a required field - Arn *string `type:"string" required:"true"` + // MaxRows is a required field + MaxRows *int64 `min:"1" type:"integer" required:"true"` + + // Twitter query string. + // + // Query is a required field + Query *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -39286,7 +72985,7 @@ type TemplateSourceTemplate struct { // 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 TemplateSourceTemplate) String() string { +func (s TwitterParameters) String() string { return awsutil.Prettify(s) } @@ -39295,15 +72994,24 @@ func (s TemplateSourceTemplate) String() string { // 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 TemplateSourceTemplate) GoString() string { +func (s TwitterParameters) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *TemplateSourceTemplate) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "TemplateSourceTemplate"} - if s.Arn == nil { - invalidParams.Add(request.NewErrParamRequired("Arn")) +func (s *TwitterParameters) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TwitterParameters"} + if s.MaxRows == nil { + invalidParams.Add(request.NewErrParamRequired("MaxRows")) + } + if s.MaxRows != nil && *s.MaxRows < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxRows", 1)) + } + if s.Query == nil { + invalidParams.Add(request.NewErrParamRequired("Query")) + } + if s.Query != nil && len(*s.Query) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Query", 1)) } if invalidParams.Len() > 0 { @@ -39312,34 +73020,24 @@ func (s *TemplateSourceTemplate) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *TemplateSourceTemplate) SetArn(v string) *TemplateSourceTemplate { - s.Arn = &v +// SetMaxRows sets the MaxRows field's value. +func (s *TwitterParameters) SetMaxRows(v int64) *TwitterParameters { + s.MaxRows = &v return s } -// The template summary. -type TemplateSummary struct { - _ struct{} `type:"structure"` - - // A summary of a template. - Arn *string `type:"string"` - - // The last time that this template was created. - CreatedTime *time.Time `type:"timestamp"` - - // The last time that this template was updated. - LastUpdatedTime *time.Time `type:"timestamp"` - - // A structure containing a list of version numbers for the template summary. - LatestVersionNumber *int64 `min:"1" type:"long"` +// SetQuery sets the Query field's value. +func (s *TwitterParameters) SetQuery(v string) *TwitterParameters { + s.Query = &v + return s +} - // A display name for the template. - Name *string `min:"1" type:"string"` +// Determines the typography options. +type Typography struct { + _ struct{} `type:"structure"` - // The ID of the template. This ID is unique per Amazon Web Services Region - // for each Amazon Web Services account. - TemplateId *string `min:"1" type:"string"` + // Determines the list of font families. + FontFamilies []*Font `type:"list"` } // String returns the string representation. @@ -39347,7 +73045,7 @@ type TemplateSummary struct { // 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 TemplateSummary) String() string { +func (s Typography) String() string { return awsutil.Prettify(s) } @@ -39356,80 +73054,81 @@ func (s TemplateSummary) String() string { // 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 TemplateSummary) GoString() string { +func (s Typography) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *TemplateSummary) SetArn(v string) *TemplateSummary { - s.Arn = &v +// SetFontFamilies sets the FontFamilies field's value. +func (s *Typography) SetFontFamilies(v []*Font) *Typography { + s.FontFamilies = v return s } -// SetCreatedTime sets the CreatedTime field's value. -func (s *TemplateSummary) SetCreatedTime(v time.Time) *TemplateSummary { - s.CreatedTime = &v - return s -} +// The theme colors that apply to UI and to charts, excluding data colors. The +// colors description is a hexadecimal color code that consists of six alphanumerical +// characters, prefixed with #, for example #37BFF5. For more information, see +// Using Themes in Amazon QuickSight (https://docs.aws.amazon.com/quicksight/latest/user/themes-in-quicksight.html) +// in the Amazon QuickSight User Guide. +type UIColorPalette struct { + _ struct{} `type:"structure"` -// SetLastUpdatedTime sets the LastUpdatedTime field's value. -func (s *TemplateSummary) SetLastUpdatedTime(v time.Time) *TemplateSummary { - s.LastUpdatedTime = &v - return s -} + // This color is that applies to selected states and buttons. + Accent *string `type:"string"` -// SetLatestVersionNumber sets the LatestVersionNumber field's value. -func (s *TemplateSummary) SetLatestVersionNumber(v int64) *TemplateSummary { - s.LatestVersionNumber = &v - return s -} + // The foreground color that applies to any text or other elements that appear + // over the accent color. + AccentForeground *string `type:"string"` -// SetName sets the Name field's value. -func (s *TemplateSummary) SetName(v string) *TemplateSummary { - s.Name = &v - return s -} + // The color that applies to error messages. + Danger *string `type:"string"` -// SetTemplateId sets the TemplateId field's value. -func (s *TemplateSummary) SetTemplateId(v string) *TemplateSummary { - s.TemplateId = &v - return s -} + // The foreground color that applies to any text or other elements that appear + // over the error color. + DangerForeground *string `type:"string"` -// A version of a template. -type TemplateVersion struct { - _ struct{} `type:"structure"` + // The color that applies to the names of fields that are identified as dimensions. + Dimension *string `type:"string"` - // The time that this template version was created. - CreatedTime *time.Time `type:"timestamp"` + // The foreground color that applies to any text or other elements that appear + // over the dimension color. + DimensionForeground *string `type:"string"` - // Schema of the dataset identified by the placeholder. Any dashboard created - // from this template should be bound to new datasets matching the same schema - // described through this API operation. - DataSetConfigurations []*DataSetConfiguration `type:"list"` + // The color that applies to the names of fields that are identified as measures. + Measure *string `type:"string"` - // The description of the template. - Description *string `min:"1" type:"string"` + // The foreground color that applies to any text or other elements that appear + // over the measure color. + MeasureForeground *string `type:"string"` - // Errors associated with this template version. - Errors []*TemplateError `min:"1" type:"list"` + // The background color that applies to visuals and other high emphasis UI. + PrimaryBackground *string `type:"string"` - // A list of the associated sheets with the unique identifier and name of each - // sheet. - Sheets []*Sheet `type:"list"` + // The color of text and other foreground elements that appear over the primary + // background regions, such as grid lines, borders, table banding, icons, and + // so on. + PrimaryForeground *string `type:"string"` - // The Amazon Resource Name (ARN) of an analysis or template that was used to - // create this template. - SourceEntityArn *string `type:"string"` + // The background color that applies to the sheet background and sheet controls. + SecondaryBackground *string `type:"string"` - // The HTTP status of the request. - Status *string `type:"string" enum:"ResourceStatus"` + // The foreground color that applies to any sheet title, sheet control text, + // or UI that appears over the secondary background. + SecondaryForeground *string `type:"string"` - // The ARN of the theme associated with this version of the template. - ThemeArn *string `type:"string"` + // The color that applies to success messages, for example the check mark for + // a successful download. + Success *string `type:"string"` - // The version number of the template version. - VersionNumber *int64 `min:"1" type:"long"` + // The foreground color that applies to any text or other elements that appear + // over the success color. + SuccessForeground *string `type:"string"` + + // This color that applies to warning and informational messages. + Warning *string `type:"string"` + + // The foreground color that applies to any text or other elements that appear + // over the warning color. + WarningForeground *string `type:"string"` } // String returns the string representation. @@ -39437,7 +73136,7 @@ type TemplateVersion struct { // 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 TemplateVersion) String() string { +func (s UIColorPalette) String() string { return awsutil.Prettify(s) } @@ -39446,82 +73145,122 @@ func (s TemplateVersion) String() string { // 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 TemplateVersion) GoString() string { +func (s UIColorPalette) GoString() string { return s.String() } -// SetCreatedTime sets the CreatedTime field's value. -func (s *TemplateVersion) SetCreatedTime(v time.Time) *TemplateVersion { - s.CreatedTime = &v +// SetAccent sets the Accent field's value. +func (s *UIColorPalette) SetAccent(v string) *UIColorPalette { + s.Accent = &v return s } -// SetDataSetConfigurations sets the DataSetConfigurations field's value. -func (s *TemplateVersion) SetDataSetConfigurations(v []*DataSetConfiguration) *TemplateVersion { - s.DataSetConfigurations = v +// SetAccentForeground sets the AccentForeground field's value. +func (s *UIColorPalette) SetAccentForeground(v string) *UIColorPalette { + s.AccentForeground = &v return s } -// SetDescription sets the Description field's value. -func (s *TemplateVersion) SetDescription(v string) *TemplateVersion { - s.Description = &v +// SetDanger sets the Danger field's value. +func (s *UIColorPalette) SetDanger(v string) *UIColorPalette { + s.Danger = &v return s } -// SetErrors sets the Errors field's value. -func (s *TemplateVersion) SetErrors(v []*TemplateError) *TemplateVersion { - s.Errors = v +// SetDangerForeground sets the DangerForeground field's value. +func (s *UIColorPalette) SetDangerForeground(v string) *UIColorPalette { + s.DangerForeground = &v return s } -// SetSheets sets the Sheets field's value. -func (s *TemplateVersion) SetSheets(v []*Sheet) *TemplateVersion { - s.Sheets = v +// SetDimension sets the Dimension field's value. +func (s *UIColorPalette) SetDimension(v string) *UIColorPalette { + s.Dimension = &v return s } -// SetSourceEntityArn sets the SourceEntityArn field's value. -func (s *TemplateVersion) SetSourceEntityArn(v string) *TemplateVersion { - s.SourceEntityArn = &v +// SetDimensionForeground sets the DimensionForeground field's value. +func (s *UIColorPalette) SetDimensionForeground(v string) *UIColorPalette { + s.DimensionForeground = &v + return s +} + +// SetMeasure sets the Measure field's value. +func (s *UIColorPalette) SetMeasure(v string) *UIColorPalette { + s.Measure = &v + return s +} + +// SetMeasureForeground sets the MeasureForeground field's value. +func (s *UIColorPalette) SetMeasureForeground(v string) *UIColorPalette { + s.MeasureForeground = &v + return s +} + +// SetPrimaryBackground sets the PrimaryBackground field's value. +func (s *UIColorPalette) SetPrimaryBackground(v string) *UIColorPalette { + s.PrimaryBackground = &v + return s +} + +// SetPrimaryForeground sets the PrimaryForeground field's value. +func (s *UIColorPalette) SetPrimaryForeground(v string) *UIColorPalette { + s.PrimaryForeground = &v + return s +} + +// SetSecondaryBackground sets the SecondaryBackground field's value. +func (s *UIColorPalette) SetSecondaryBackground(v string) *UIColorPalette { + s.SecondaryBackground = &v + return s +} + +// SetSecondaryForeground sets the SecondaryForeground field's value. +func (s *UIColorPalette) SetSecondaryForeground(v string) *UIColorPalette { + s.SecondaryForeground = &v + return s +} + +// SetSuccess sets the Success field's value. +func (s *UIColorPalette) SetSuccess(v string) *UIColorPalette { + s.Success = &v return s } -// SetStatus sets the Status field's value. -func (s *TemplateVersion) SetStatus(v string) *TemplateVersion { - s.Status = &v +// SetSuccessForeground sets the SuccessForeground field's value. +func (s *UIColorPalette) SetSuccessForeground(v string) *UIColorPalette { + s.SuccessForeground = &v return s } -// SetThemeArn sets the ThemeArn field's value. -func (s *TemplateVersion) SetThemeArn(v string) *TemplateVersion { - s.ThemeArn = &v +// SetWarning sets the Warning field's value. +func (s *UIColorPalette) SetWarning(v string) *UIColorPalette { + s.Warning = &v return s } -// SetVersionNumber sets the VersionNumber field's value. -func (s *TemplateVersion) SetVersionNumber(v int64) *TemplateVersion { - s.VersionNumber = &v +// SetWarningForeground sets the WarningForeground field's value. +func (s *UIColorPalette) SetWarningForeground(v string) *UIColorPalette { + s.WarningForeground = &v return s } -// The template version. -type TemplateVersionSummary struct { +// The unaggregated field for a table. +type UnaggregatedField struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the template version. - Arn *string `type:"string"` - - // The time that this template version was created. - CreatedTime *time.Time `type:"timestamp"` - - // The description of the template version. - Description *string `min:"1" type:"string"` + // The column that is used in the UnaggregatedField. + // + // Column is a required field + Column *ColumnIdentifier `type:"structure" required:"true"` - // The status of the template version. - Status *string `type:"string" enum:"ResourceStatus"` + // The custom field ID. + // + // FieldId is a required field + FieldId *string `min:"1" type:"string" required:"true"` - // The version number of the template version. - VersionNumber *int64 `min:"1" type:"long"` + // The format configuration of the field. + FormatConfiguration *FormatConfiguration `type:"structure"` } // String returns the string representation. @@ -39529,7 +73268,7 @@ type TemplateVersionSummary struct { // 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 TemplateVersionSummary) String() string { +func (s UnaggregatedField) String() string { return awsutil.Prettify(s) } @@ -39538,58 +73277,73 @@ func (s TemplateVersionSummary) String() string { // 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 TemplateVersionSummary) GoString() string { +func (s UnaggregatedField) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *TemplateVersionSummary) SetArn(v string) *TemplateVersionSummary { - s.Arn = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *UnaggregatedField) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UnaggregatedField"} + if s.Column == nil { + invalidParams.Add(request.NewErrParamRequired("Column")) + } + if s.FieldId == nil { + invalidParams.Add(request.NewErrParamRequired("FieldId")) + } + if s.FieldId != nil && len(*s.FieldId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FieldId", 1)) + } + if s.Column != nil { + if err := s.Column.Validate(); err != nil { + invalidParams.AddNested("Column", err.(request.ErrInvalidParams)) + } + } + if s.FormatConfiguration != nil { + if err := s.FormatConfiguration.Validate(); err != nil { + invalidParams.AddNested("FormatConfiguration", err.(request.ErrInvalidParams)) + } + } -// SetCreatedTime sets the CreatedTime field's value. -func (s *TemplateVersionSummary) SetCreatedTime(v time.Time) *TemplateVersionSummary { - s.CreatedTime = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetDescription sets the Description field's value. -func (s *TemplateVersionSummary) SetDescription(v string) *TemplateVersionSummary { - s.Description = &v +// SetColumn sets the Column field's value. +func (s *UnaggregatedField) SetColumn(v *ColumnIdentifier) *UnaggregatedField { + s.Column = v return s } -// SetStatus sets the Status field's value. -func (s *TemplateVersionSummary) SetStatus(v string) *TemplateVersionSummary { - s.Status = &v +// SetFieldId sets the FieldId field's value. +func (s *UnaggregatedField) SetFieldId(v string) *UnaggregatedField { + s.FieldId = &v return s } -// SetVersionNumber sets the VersionNumber field's value. -func (s *TemplateVersionSummary) SetVersionNumber(v int64) *TemplateVersionSummary { - s.VersionNumber = &v +// SetFormatConfiguration sets the FormatConfiguration field's value. +func (s *UnaggregatedField) SetFormatConfiguration(v *FormatConfiguration) *UnaggregatedField { + s.FormatConfiguration = v return s } -// The parameters for Teradata. -type TeradataParameters struct { +// The unique values computation configuration. +type UniqueValuesComputation struct { _ struct{} `type:"structure"` - // Database. + // The category field that is used in a computation. // - // Database is a required field - Database *string `min:"1" type:"string" required:"true"` + // Category is a required field + Category *DimensionField `type:"structure" required:"true"` - // Host. + // The ID for a computation. // - // Host is a required field - Host *string `min:"1" type:"string" required:"true"` + // ComputationId is a required field + ComputationId *string `min:"1" type:"string" required:"true"` - // Port. - // - // Port is a required field - Port *int64 `min:"1" type:"integer" required:"true"` + // The name of a computation. + Name *string `type:"string"` } // String returns the string representation. @@ -39597,7 +73351,7 @@ type TeradataParameters struct { // 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 TeradataParameters) String() string { +func (s UniqueValuesComputation) String() string { return awsutil.Prettify(s) } @@ -39606,30 +73360,26 @@ func (s TeradataParameters) String() string { // 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 TeradataParameters) GoString() string { +func (s UniqueValuesComputation) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *TeradataParameters) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "TeradataParameters"} - if s.Database == nil { - invalidParams.Add(request.NewErrParamRequired("Database")) - } - if s.Database != nil && len(*s.Database) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Database", 1)) +func (s *UniqueValuesComputation) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UniqueValuesComputation"} + if s.Category == nil { + invalidParams.Add(request.NewErrParamRequired("Category")) } - if s.Host == nil { - invalidParams.Add(request.NewErrParamRequired("Host")) - } - if s.Host != nil && len(*s.Host) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Host", 1)) + if s.ComputationId == nil { + invalidParams.Add(request.NewErrParamRequired("ComputationId")) } - if s.Port == nil { - invalidParams.Add(request.NewErrParamRequired("Port")) + if s.ComputationId != nil && len(*s.ComputationId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ComputationId", 1)) } - if s.Port != nil && *s.Port < 1 { - invalidParams.Add(request.NewErrParamMinValue("Port", 1)) + if s.Category != nil { + if err := s.Category.Validate(); err != nil { + invalidParams.AddNested("Category", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -39638,49 +73388,110 @@ func (s *TeradataParameters) Validate() error { return nil } -// SetDatabase sets the Database field's value. -func (s *TeradataParameters) SetDatabase(v string) *TeradataParameters { - s.Database = &v +// SetCategory sets the Category field's value. +func (s *UniqueValuesComputation) SetCategory(v *DimensionField) *UniqueValuesComputation { + s.Category = v return s } -// SetHost sets the Host field's value. -func (s *TeradataParameters) SetHost(v string) *TeradataParameters { - s.Host = &v +// SetComputationId sets the ComputationId field's value. +func (s *UniqueValuesComputation) SetComputationId(v string) *UniqueValuesComputation { + s.ComputationId = &v return s } -// SetPort sets the Port field's value. -func (s *TeradataParameters) SetPort(v int64) *TeradataParameters { - s.Port = &v +// SetName sets the Name field's value. +func (s *UniqueValuesComputation) SetName(v string) *UniqueValuesComputation { + s.Name = &v return s } -// Summary information about a theme. -type Theme struct { - _ struct{} `type:"structure"` +// This error indicates that you are calling an embedding operation in Amazon +// QuickSight without the required pricing plan on your Amazon Web Services +// account. Before you can use embedding for anonymous users, a QuickSight administrator +// needs to add capacity pricing to Amazon QuickSight. You can do this on the +// Manage Amazon QuickSight page. +// +// After capacity pricing is added, you can use the GetDashboardEmbedUrl (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_GetDashboardEmbedUrl.html) +// API operation with the --identity-type ANONYMOUS option. +type UnsupportedPricingPlanException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - // The Amazon Resource Name (ARN) of the theme. - Arn *string `type:"string"` + Message_ *string `locationName:"Message" type:"string"` - // The date and time that the theme was created. - CreatedTime *time.Time `type:"timestamp"` + // The Amazon Web Services request ID for this request. + RequestId *string `type:"string"` +} - // The date and time that the theme was last updated. - LastUpdatedTime *time.Time `type:"timestamp"` +// 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 UnsupportedPricingPlanException) String() string { + return awsutil.Prettify(s) +} - // The name that the user gives to the theme. - Name *string `min:"1" type:"string"` +// 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 UnsupportedPricingPlanException) GoString() string { + return s.String() +} - // The identifier that the user gives to the theme. - ThemeId *string `min:"1" type:"string"` +func newErrorUnsupportedPricingPlanException(v protocol.ResponseMetadata) error { + return &UnsupportedPricingPlanException{ + RespMetadata: v, + } +} - // The type of theme, based on how it was created. Valid values include: QUICKSIGHT - // and CUSTOM. - Type *string `type:"string" enum:"ThemeType"` +// Code returns the exception type name. +func (s *UnsupportedPricingPlanException) Code() string { + return "UnsupportedPricingPlanException" +} - // A version of a theme. - Version *ThemeVersion `type:"structure"` +// Message returns the exception's message. +func (s *UnsupportedPricingPlanException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *UnsupportedPricingPlanException) OrigErr() error { + return nil +} + +func (s *UnsupportedPricingPlanException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *UnsupportedPricingPlanException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *UnsupportedPricingPlanException) RequestID() string { + return s.RespMetadata.RequestID +} + +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. +type UnsupportedUserEditionException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"Message" type:"string"` + + // The Amazon Web Services request ID for this request. + RequestId *string `type:"string"` } // String returns the string representation. @@ -39688,7 +73499,7 @@ type Theme struct { // 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 Theme) String() string { +func (s UnsupportedUserEditionException) String() string { return awsutil.Prettify(s) } @@ -39697,64 +73508,61 @@ func (s Theme) String() string { // 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 Theme) GoString() string { +func (s UnsupportedUserEditionException) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Theme) SetArn(v string) *Theme { - s.Arn = &v - return s +func newErrorUnsupportedUserEditionException(v protocol.ResponseMetadata) error { + return &UnsupportedUserEditionException{ + RespMetadata: v, + } } -// SetCreatedTime sets the CreatedTime field's value. -func (s *Theme) SetCreatedTime(v time.Time) *Theme { - s.CreatedTime = &v - return s +// Code returns the exception type name. +func (s *UnsupportedUserEditionException) Code() string { + return "UnsupportedUserEditionException" } -// SetLastUpdatedTime sets the LastUpdatedTime field's value. -func (s *Theme) SetLastUpdatedTime(v time.Time) *Theme { - s.LastUpdatedTime = &v - return s +// Message returns the exception's message. +func (s *UnsupportedUserEditionException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" } -// SetName sets the Name field's value. -func (s *Theme) SetName(v string) *Theme { - s.Name = &v - return s +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *UnsupportedUserEditionException) OrigErr() error { + return nil } -// SetThemeId sets the ThemeId field's value. -func (s *Theme) SetThemeId(v string) *Theme { - s.ThemeId = &v - return s +func (s *UnsupportedUserEditionException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) } -// SetType sets the Type field's value. -func (s *Theme) SetType(v string) *Theme { - s.Type = &v - return s +// Status code returns the HTTP status code for the request's response error. +func (s *UnsupportedUserEditionException) StatusCode() int { + return s.RespMetadata.StatusCode } -// SetVersion sets the Version field's value. -func (s *Theme) SetVersion(v *ThemeVersion) *Theme { - s.Version = v - return s +// RequestID returns the service's response RequestID for request. +func (s *UnsupportedUserEditionException) RequestID() string { + return s.RespMetadata.RequestID } -// An alias for a theme. -type ThemeAlias struct { +// A transform operation that removes tags associated with a column. +type UntagColumnOperation struct { _ struct{} `type:"structure"` - // The display name of the theme alias. - AliasName *string `min:"1" type:"string"` - - // The Amazon Resource Name (ARN) of the theme alias. - Arn *string `type:"string"` + // The column that this operation acts on. + // + // ColumnName is a required field + ColumnName *string `min:"1" type:"string" required:"true"` - // The version number of the theme alias. - ThemeVersionNumber *int64 `min:"1" type:"long"` + // The column tags to remove from this column. + // + // TagNames is a required field + TagNames []*string `type:"list" required:"true" enum:"ColumnTagName"` } // String returns the string representation. @@ -39762,7 +73570,7 @@ type ThemeAlias struct { // 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 ThemeAlias) String() string { +func (s UntagColumnOperation) String() string { return awsutil.Prettify(s) } @@ -39771,42 +73579,54 @@ func (s ThemeAlias) String() string { // 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 ThemeAlias) GoString() string { +func (s UntagColumnOperation) GoString() string { return s.String() } -// SetAliasName sets the AliasName field's value. -func (s *ThemeAlias) SetAliasName(v string) *ThemeAlias { - s.AliasName = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *UntagColumnOperation) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UntagColumnOperation"} + if s.ColumnName == nil { + invalidParams.Add(request.NewErrParamRequired("ColumnName")) + } + if s.ColumnName != nil && len(*s.ColumnName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ColumnName", 1)) + } + if s.TagNames == nil { + invalidParams.Add(request.NewErrParamRequired("TagNames")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetArn sets the Arn field's value. -func (s *ThemeAlias) SetArn(v string) *ThemeAlias { - s.Arn = &v +// SetColumnName sets the ColumnName field's value. +func (s *UntagColumnOperation) SetColumnName(v string) *UntagColumnOperation { + s.ColumnName = &v return s } -// SetThemeVersionNumber sets the ThemeVersionNumber field's value. -func (s *ThemeAlias) SetThemeVersionNumber(v int64) *ThemeAlias { - s.ThemeVersionNumber = &v +// SetTagNames sets the TagNames field's value. +func (s *UntagColumnOperation) SetTagNames(v []*string) *UntagColumnOperation { + s.TagNames = v return s } -// The theme configuration. This configuration contains all of the display properties -// for a theme. -type ThemeConfiguration struct { - _ struct{} `type:"structure"` - - // Color properties that apply to chart data colors. - DataColorPalette *DataColorPalette `type:"structure"` +type UntagResourceInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // Display options related to sheets. - Sheet *SheetStyle `type:"structure"` + // The Amazon Resource Name (ARN) of the resource that you want to untag. + // + // ResourceArn is a required field + ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"` - // Color properties that apply to the UI and to charts, excluding the colors - // that apply to data. - UIColorPalette *UIColorPalette `type:"structure"` + // The keys of the key-value pairs for the resource tag or tags assigned to + // the resource. + // + // TagKeys is a required field + TagKeys []*string `location:"querystring" locationName:"keys" min:"1" type:"list" required:"true"` } // String returns the string representation. @@ -39814,7 +73634,7 @@ type ThemeConfiguration struct { // 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 ThemeConfiguration) String() string { +func (s UntagResourceInput) String() string { return awsutil.Prettify(s) } @@ -39823,37 +73643,52 @@ func (s ThemeConfiguration) String() string { // 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 ThemeConfiguration) GoString() string { +func (s UntagResourceInput) GoString() string { return s.String() } -// SetDataColorPalette sets the DataColorPalette field's value. -func (s *ThemeConfiguration) SetDataColorPalette(v *DataColorPalette) *ThemeConfiguration { - s.DataColorPalette = v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *UntagResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"} + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) + } + if s.TagKeys == nil { + invalidParams.Add(request.NewErrParamRequired("TagKeys")) + } + if s.TagKeys != nil && len(s.TagKeys) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TagKeys", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetSheet sets the Sheet field's value. -func (s *ThemeConfiguration) SetSheet(v *SheetStyle) *ThemeConfiguration { - s.Sheet = v +// SetResourceArn sets the ResourceArn field's value. +func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput { + s.ResourceArn = &v return s } -// SetUIColorPalette sets the UIColorPalette field's value. -func (s *ThemeConfiguration) SetUIColorPalette(v *UIColorPalette) *ThemeConfiguration { - s.UIColorPalette = v +// SetTagKeys sets the TagKeys field's value. +func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput { + s.TagKeys = v return s } -// Theme error. -type ThemeError struct { +type UntagResourceOutput struct { _ struct{} `type:"structure"` - // The error message. - Message *string `type:"string"` + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` - // The type of error. - Type *string `type:"string" enum:"ThemeErrorType"` + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` } // String returns the string representation. @@ -39861,7 +73696,7 @@ type ThemeError struct { // 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 ThemeError) String() string { +func (s UntagResourceOutput) String() string { return awsutil.Prettify(s) } @@ -39870,44 +73705,39 @@ func (s ThemeError) String() string { // 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 ThemeError) GoString() string { +func (s UntagResourceOutput) GoString() string { return s.String() } -// SetMessage sets the Message field's value. -func (s *ThemeError) SetMessage(v string) *ThemeError { - s.Message = &v +// SetRequestId sets the RequestId field's value. +func (s *UntagResourceOutput) SetRequestId(v string) *UntagResourceOutput { + s.RequestId = &v return s } -// SetType sets the Type field's value. -func (s *ThemeError) SetType(v string) *ThemeError { - s.Type = &v +// SetStatus sets the Status field's value. +func (s *UntagResourceOutput) SetStatus(v int64) *UntagResourceOutput { + s.Status = &v return s } -// The theme summary. -type ThemeSummary struct { +type UpdateAccountCustomizationInput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the resource. - Arn *string `type:"string"` - - // The date and time that this theme was created. - CreatedTime *time.Time `type:"timestamp"` - - // The last date and time that this theme was updated. - LastUpdatedTime *time.Time `type:"timestamp"` - - // The latest version number for the theme. - LatestVersionNumber *int64 `min:"1" type:"long"` + // The Amazon QuickSight customizations you're updating in the current Amazon + // Web Services Region. + // + // AccountCustomization is a required field + AccountCustomization *AccountCustomization `type:"structure" required:"true"` - // the display name for the theme. - Name *string `min:"1" type:"string"` + // The ID for the Amazon Web Services account that you want to update Amazon + // QuickSight customizations for. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - // The ID of the theme. This ID is unique per Amazon Web Services Region for - // each Amazon Web Services account. - ThemeId *string `min:"1" type:"string"` + // The namespace that you want to update Amazon QuickSight customizations for. + Namespace *string `location:"querystring" locationName:"namespace" type:"string"` } // String returns the string representation. @@ -39915,7 +73745,7 @@ type ThemeSummary struct { // 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 ThemeSummary) String() string { +func (s UpdateAccountCustomizationInput) String() string { return awsutil.Prettify(s) } @@ -39924,74 +73754,70 @@ func (s ThemeSummary) String() string { // 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 ThemeSummary) GoString() string { +func (s UpdateAccountCustomizationInput) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *ThemeSummary) SetArn(v string) *ThemeSummary { - s.Arn = &v - return s -} - -// SetCreatedTime sets the CreatedTime field's value. -func (s *ThemeSummary) SetCreatedTime(v time.Time) *ThemeSummary { - s.CreatedTime = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateAccountCustomizationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateAccountCustomizationInput"} + if s.AccountCustomization == nil { + invalidParams.Add(request.NewErrParamRequired("AccountCustomization")) + } + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } -// SetLastUpdatedTime sets the LastUpdatedTime field's value. -func (s *ThemeSummary) SetLastUpdatedTime(v time.Time) *ThemeSummary { - s.LastUpdatedTime = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetLatestVersionNumber sets the LatestVersionNumber field's value. -func (s *ThemeSummary) SetLatestVersionNumber(v int64) *ThemeSummary { - s.LatestVersionNumber = &v +// SetAccountCustomization sets the AccountCustomization field's value. +func (s *UpdateAccountCustomizationInput) SetAccountCustomization(v *AccountCustomization) *UpdateAccountCustomizationInput { + s.AccountCustomization = v return s } -// SetName sets the Name field's value. -func (s *ThemeSummary) SetName(v string) *ThemeSummary { - s.Name = &v +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *UpdateAccountCustomizationInput) SetAwsAccountId(v string) *UpdateAccountCustomizationInput { + s.AwsAccountId = &v return s } -// SetThemeId sets the ThemeId field's value. -func (s *ThemeSummary) SetThemeId(v string) *ThemeSummary { - s.ThemeId = &v +// SetNamespace sets the Namespace field's value. +func (s *UpdateAccountCustomizationInput) SetNamespace(v string) *UpdateAccountCustomizationInput { + s.Namespace = &v return s } -// A version of a theme. -type ThemeVersion struct { +type UpdateAccountCustomizationOutput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the resource. - Arn *string `type:"string"` - - // The Amazon QuickSight-defined ID of the theme that a custom theme inherits - // from. All themes initially inherit from a default Amazon QuickSight theme. - BaseThemeId *string `min:"1" type:"string"` - - // The theme configuration, which contains all the theme display properties. - Configuration *ThemeConfiguration `type:"structure"` + // The Amazon QuickSight customizations you're updating in the current Amazon + // Web Services Region. + AccountCustomization *AccountCustomization `type:"structure"` - // The date and time that this theme version was created. - CreatedTime *time.Time `type:"timestamp"` + // The Amazon Resource Name (ARN) for the updated customization for this Amazon + // Web Services account. + Arn *string `type:"string"` - // The description of the theme. - Description *string `min:"1" type:"string"` + // The ID for the Amazon Web Services account that you want to update Amazon + // QuickSight customizations for. + AwsAccountId *string `min:"12" type:"string"` - // Errors associated with the theme. - Errors []*ThemeError `min:"1" type:"list"` + // The namespace associated with the customization that you're updating. + Namespace *string `type:"string"` - // The status of the theme version. - Status *string `type:"string" enum:"ResourceStatus"` + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` - // The version number of the theme. - VersionNumber *int64 `min:"1" type:"long"` + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` } // String returns the string representation. @@ -39999,7 +73825,7 @@ type ThemeVersion struct { // 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 ThemeVersion) String() string { +func (s UpdateAccountCustomizationOutput) String() string { return awsutil.Prettify(s) } @@ -40008,76 +73834,72 @@ func (s ThemeVersion) String() string { // 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 ThemeVersion) GoString() string { +func (s UpdateAccountCustomizationOutput) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *ThemeVersion) SetArn(v string) *ThemeVersion { - s.Arn = &v - return s -} - -// SetBaseThemeId sets the BaseThemeId field's value. -func (s *ThemeVersion) SetBaseThemeId(v string) *ThemeVersion { - s.BaseThemeId = &v +// SetAccountCustomization sets the AccountCustomization field's value. +func (s *UpdateAccountCustomizationOutput) SetAccountCustomization(v *AccountCustomization) *UpdateAccountCustomizationOutput { + s.AccountCustomization = v return s } -// SetConfiguration sets the Configuration field's value. -func (s *ThemeVersion) SetConfiguration(v *ThemeConfiguration) *ThemeVersion { - s.Configuration = v +// SetArn sets the Arn field's value. +func (s *UpdateAccountCustomizationOutput) SetArn(v string) *UpdateAccountCustomizationOutput { + s.Arn = &v return s } -// SetCreatedTime sets the CreatedTime field's value. -func (s *ThemeVersion) SetCreatedTime(v time.Time) *ThemeVersion { - s.CreatedTime = &v +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *UpdateAccountCustomizationOutput) SetAwsAccountId(v string) *UpdateAccountCustomizationOutput { + s.AwsAccountId = &v return s } -// SetDescription sets the Description field's value. -func (s *ThemeVersion) SetDescription(v string) *ThemeVersion { - s.Description = &v +// SetNamespace sets the Namespace field's value. +func (s *UpdateAccountCustomizationOutput) SetNamespace(v string) *UpdateAccountCustomizationOutput { + s.Namespace = &v return s } -// SetErrors sets the Errors field's value. -func (s *ThemeVersion) SetErrors(v []*ThemeError) *ThemeVersion { - s.Errors = v +// SetRequestId sets the RequestId field's value. +func (s *UpdateAccountCustomizationOutput) SetRequestId(v string) *UpdateAccountCustomizationOutput { + s.RequestId = &v return s } // SetStatus sets the Status field's value. -func (s *ThemeVersion) SetStatus(v string) *ThemeVersion { +func (s *UpdateAccountCustomizationOutput) SetStatus(v int64) *UpdateAccountCustomizationOutput { s.Status = &v return s } -// SetVersionNumber sets the VersionNumber field's value. -func (s *ThemeVersion) SetVersionNumber(v int64) *ThemeVersion { - s.VersionNumber = &v - return s -} - -// The theme version. -type ThemeVersionSummary struct { +type UpdateAccountSettingsInput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the theme version. - Arn *string `type:"string"` - - // The date and time that this theme version was created. - CreatedTime *time.Time `type:"timestamp"` + // The ID for the Amazon Web Services account that contains the Amazon QuickSight + // settings that you want to list. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - // The description of the theme version. - Description *string `min:"1" type:"string"` + // The default namespace for this Amazon Web Services account. Currently, the + // default is default. Identity and Access Management (IAM) users that register + // for the first time with Amazon QuickSight provide an email address that becomes + // associated with the default namespace. + // + // DefaultNamespace is a required field + DefaultNamespace *string `type:"string" required:"true"` - // The status of the theme version. - Status *string `type:"string" enum:"ResourceStatus"` + // The email address that you want Amazon QuickSight to send notifications to + // regarding your Amazon Web Services account or Amazon QuickSight subscription. + NotificationEmail *string `type:"string"` - // The version number of the theme version. - VersionNumber *int64 `min:"1" type:"long"` + // A boolean value that determines whether or not an Amazon QuickSight account + // can be deleted. A True value doesn't allow the account to be deleted and + // results in an error message if a user tries to make a DeleteAccountSubscription + // request. A False value will allow the account to be deleted. + TerminationProtectionEnabled *bool `type:"boolean"` } // String returns the string representation. @@ -40085,7 +73907,7 @@ type ThemeVersionSummary struct { // 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 ThemeVersionSummary) String() string { +func (s UpdateAccountSettingsInput) String() string { return awsutil.Prettify(s) } @@ -40094,49 +73916,61 @@ func (s ThemeVersionSummary) String() string { // 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 ThemeVersionSummary) GoString() string { +func (s UpdateAccountSettingsInput) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *ThemeVersionSummary) SetArn(v string) *ThemeVersionSummary { - s.Arn = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateAccountSettingsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateAccountSettingsInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.DefaultNamespace == nil { + invalidParams.Add(request.NewErrParamRequired("DefaultNamespace")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetCreatedTime sets the CreatedTime field's value. -func (s *ThemeVersionSummary) SetCreatedTime(v time.Time) *ThemeVersionSummary { - s.CreatedTime = &v +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *UpdateAccountSettingsInput) SetAwsAccountId(v string) *UpdateAccountSettingsInput { + s.AwsAccountId = &v return s } -// SetDescription sets the Description field's value. -func (s *ThemeVersionSummary) SetDescription(v string) *ThemeVersionSummary { - s.Description = &v +// SetDefaultNamespace sets the DefaultNamespace field's value. +func (s *UpdateAccountSettingsInput) SetDefaultNamespace(v string) *UpdateAccountSettingsInput { + s.DefaultNamespace = &v return s } -// SetStatus sets the Status field's value. -func (s *ThemeVersionSummary) SetStatus(v string) *ThemeVersionSummary { - s.Status = &v +// SetNotificationEmail sets the NotificationEmail field's value. +func (s *UpdateAccountSettingsInput) SetNotificationEmail(v string) *UpdateAccountSettingsInput { + s.NotificationEmail = &v return s } -// SetVersionNumber sets the VersionNumber field's value. -func (s *ThemeVersionSummary) SetVersionNumber(v int64) *ThemeVersionSummary { - s.VersionNumber = &v +// SetTerminationProtectionEnabled sets the TerminationProtectionEnabled field's value. +func (s *UpdateAccountSettingsInput) SetTerminationProtectionEnabled(v bool) *UpdateAccountSettingsInput { + s.TerminationProtectionEnabled = &v return s } -// Access is throttled. -type ThrottlingException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - - Message_ *string `locationName:"Message" type:"string"` +type UpdateAccountSettingsOutput struct { + _ struct{} `type:"structure"` - // The Amazon Web Services request ID for this request. + // The Amazon Web Services request ID for this operation. RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` } // String returns the string representation. @@ -40144,7 +73978,7 @@ type ThrottlingException struct { // 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 ThrottlingException) String() string { +func (s UpdateAccountSettingsOutput) String() string { return awsutil.Prettify(s) } @@ -40153,57 +73987,62 @@ func (s ThrottlingException) String() string { // 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 ThrottlingException) GoString() string { +func (s UpdateAccountSettingsOutput) GoString() string { return s.String() } -func newErrorThrottlingException(v protocol.ResponseMetadata) error { - return &ThrottlingException{ - RespMetadata: v, - } +// SetRequestId sets the RequestId field's value. +func (s *UpdateAccountSettingsOutput) SetRequestId(v string) *UpdateAccountSettingsOutput { + s.RequestId = &v + return s } -// Code returns the exception type name. -func (s *ThrottlingException) Code() string { - return "ThrottlingException" +// SetStatus sets the Status field's value. +func (s *UpdateAccountSettingsOutput) SetStatus(v int64) *UpdateAccountSettingsOutput { + s.Status = &v + return s } -// Message returns the exception's message. -func (s *ThrottlingException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" -} +type UpdateAnalysisInput struct { + _ struct{} `type:"structure"` -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *ThrottlingException) OrigErr() error { - return nil -} + // The ID for the analysis that you're updating. This ID displays in the URL + // of the analysis. + // + // AnalysisId is a required field + AnalysisId *string `location:"uri" locationName:"AnalysisId" min:"1" type:"string" required:"true"` -func (s *ThrottlingException) Error() string { - return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) -} + // The ID of the Amazon Web Services account that contains the analysis that + // you're updating. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` -// Status code returns the HTTP status code for the request's response error. -func (s *ThrottlingException) StatusCode() int { - return s.RespMetadata.StatusCode -} + // The definition of an analysis. + // + // A definition is the data model of all features in a Dashboard, Template, + // or Analysis. + Definition *AnalysisDefinition `type:"structure"` -// RequestID returns the service's response RequestID for request. -func (s *ThrottlingException) RequestID() string { - return s.RespMetadata.RequestID -} + // A descriptive name for the analysis that you're updating. This name displays + // for the analysis in the Amazon QuickSight console. + // + // Name is a required field + Name *string `min:"1" type:"string" required:"true"` -// The display options for the layout of tiles on a sheet. -type TileLayoutStyle struct { - _ struct{} `type:"structure"` + // The parameter names and override values that you want to use. An analysis + // can have any parameter type, and some parameters might accept multiple values. + Parameters *Parameters `type:"structure"` - // The gutter settings that apply between tiles. - Gutter *GutterStyle `type:"structure"` + // A source entity to use for the analysis that you're updating. This metadata + // structure contains details that describe a source template and one or more + // datasets. + SourceEntity *AnalysisSourceEntity `type:"structure"` - // The margin settings that apply around the outside edge of sheets. - Margin *MarginStyle `type:"structure"` + // The Amazon Resource Name (ARN) for the theme to apply to the analysis that + // you're creating. To see the theme in the Amazon QuickSight console, make + // sure that you have access to it. + ThemeArn *string `type:"string"` } // String returns the string representation. @@ -40211,7 +74050,7 @@ type TileLayoutStyle struct { // 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 TileLayoutStyle) String() string { +func (s UpdateAnalysisInput) String() string { return awsutil.Prettify(s) } @@ -40220,28 +74059,112 @@ func (s TileLayoutStyle) String() string { // 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 TileLayoutStyle) GoString() string { +func (s UpdateAnalysisInput) GoString() string { return s.String() } -// SetGutter sets the Gutter field's value. -func (s *TileLayoutStyle) SetGutter(v *GutterStyle) *TileLayoutStyle { - s.Gutter = v +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateAnalysisInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateAnalysisInput"} + if s.AnalysisId == nil { + invalidParams.Add(request.NewErrParamRequired("AnalysisId")) + } + if s.AnalysisId != nil && len(*s.AnalysisId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AnalysisId", 1)) + } + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.Definition != nil { + if err := s.Definition.Validate(); err != nil { + invalidParams.AddNested("Definition", err.(request.ErrInvalidParams)) + } + } + if s.Parameters != nil { + if err := s.Parameters.Validate(); err != nil { + invalidParams.AddNested("Parameters", err.(request.ErrInvalidParams)) + } + } + if s.SourceEntity != nil { + if err := s.SourceEntity.Validate(); err != nil { + invalidParams.AddNested("SourceEntity", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAnalysisId sets the AnalysisId field's value. +func (s *UpdateAnalysisInput) SetAnalysisId(v string) *UpdateAnalysisInput { + s.AnalysisId = &v return s } -// SetMargin sets the Margin field's value. -func (s *TileLayoutStyle) SetMargin(v *MarginStyle) *TileLayoutStyle { - s.Margin = v +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *UpdateAnalysisInput) SetAwsAccountId(v string) *UpdateAnalysisInput { + s.AwsAccountId = &v return s } -// Display options related to tiles on a sheet. -type TileStyle struct { +// SetDefinition sets the Definition field's value. +func (s *UpdateAnalysisInput) SetDefinition(v *AnalysisDefinition) *UpdateAnalysisInput { + s.Definition = v + return s +} + +// SetName sets the Name field's value. +func (s *UpdateAnalysisInput) SetName(v string) *UpdateAnalysisInput { + s.Name = &v + return s +} + +// SetParameters sets the Parameters field's value. +func (s *UpdateAnalysisInput) SetParameters(v *Parameters) *UpdateAnalysisInput { + s.Parameters = v + return s +} + +// SetSourceEntity sets the SourceEntity field's value. +func (s *UpdateAnalysisInput) SetSourceEntity(v *AnalysisSourceEntity) *UpdateAnalysisInput { + s.SourceEntity = v + return s +} + +// SetThemeArn sets the ThemeArn field's value. +func (s *UpdateAnalysisInput) SetThemeArn(v string) *UpdateAnalysisInput { + s.ThemeArn = &v + return s +} + +type UpdateAnalysisOutput struct { _ struct{} `type:"structure"` - // The border around a tile. - Border *BorderStyle `type:"structure"` + // The ID of the analysis. + AnalysisId *string `min:"1" type:"string"` + + // The ARN of the analysis that you're updating. + Arn *string `type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` + + // The update status of the last update that was made to the analysis. + UpdateStatus *string `type:"string" enum:"ResourceStatus"` } // String returns the string representation. @@ -40249,7 +74172,7 @@ type TileStyle struct { // 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 TileStyle) String() string { +func (s UpdateAnalysisOutput) String() string { return awsutil.Prettify(s) } @@ -40258,43 +74181,63 @@ func (s TileStyle) String() string { // 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 TileStyle) GoString() string { +func (s UpdateAnalysisOutput) GoString() string { return s.String() } -// SetBorder sets the Border field's value. -func (s *TileStyle) SetBorder(v *BorderStyle) *TileStyle { - s.Border = v +// SetAnalysisId sets the AnalysisId field's value. +func (s *UpdateAnalysisOutput) SetAnalysisId(v string) *UpdateAnalysisOutput { + s.AnalysisId = &v return s } -// A data transformation on a logical table. This is a variant type structure. -// For this structure to be valid, only one of the attributes can be non-null. -type TransformOperation struct { - _ struct{} `type:"structure"` +// SetArn sets the Arn field's value. +func (s *UpdateAnalysisOutput) SetArn(v string) *UpdateAnalysisOutput { + s.Arn = &v + return s +} - // A transform operation that casts a column to a different type. - CastColumnTypeOperation *CastColumnTypeOperation `type:"structure"` +// SetRequestId sets the RequestId field's value. +func (s *UpdateAnalysisOutput) SetRequestId(v string) *UpdateAnalysisOutput { + s.RequestId = &v + return s +} - // An operation that creates calculated columns. Columns created in one such - // operation form a lexical closure. - CreateColumnsOperation *CreateColumnsOperation `type:"structure"` +// SetStatus sets the Status field's value. +func (s *UpdateAnalysisOutput) SetStatus(v int64) *UpdateAnalysisOutput { + s.Status = &v + return s +} - // An operation that filters rows based on some condition. - FilterOperation *FilterOperation `type:"structure"` +// SetUpdateStatus sets the UpdateStatus field's value. +func (s *UpdateAnalysisOutput) SetUpdateStatus(v string) *UpdateAnalysisOutput { + s.UpdateStatus = &v + return s +} - // An operation that projects columns. Operations that come after a projection - // can only refer to projected columns. - ProjectOperation *ProjectOperation `type:"structure"` +type UpdateAnalysisPermissionsInput struct { + _ struct{} `type:"structure"` - // An operation that renames a column. - RenameColumnOperation *RenameColumnOperation `type:"structure"` + // The ID of the analysis whose permissions you're updating. The ID is part + // of the analysis URL. + // + // AnalysisId is a required field + AnalysisId *string `location:"uri" locationName:"AnalysisId" min:"1" type:"string" required:"true"` - // An operation that tags a column with additional information. - TagColumnOperation *TagColumnOperation `type:"structure"` + // The ID of the Amazon Web Services account that contains the analysis whose + // permissions you're updating. You must be using the Amazon Web Services account + // that the analysis is in. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - // A transform operation that removes tags associated with a column. - UntagColumnOperation *UntagColumnOperation `type:"structure"` + // A structure that describes the permissions to add and the principal to add + // them to. + GrantPermissions []*ResourcePermission `type:"list"` + + // A structure that describes the permissions to remove and the principal to + // remove them from. + RevokePermissions []*ResourcePermission `type:"list"` } // String returns the string representation. @@ -40302,7 +74245,7 @@ type TransformOperation struct { // 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 TransformOperation) String() string { +func (s UpdateAnalysisPermissionsInput) String() string { return awsutil.Prettify(s) } @@ -40311,46 +74254,43 @@ func (s TransformOperation) String() string { // 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 TransformOperation) GoString() string { +func (s UpdateAnalysisPermissionsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *TransformOperation) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "TransformOperation"} - if s.CastColumnTypeOperation != nil { - if err := s.CastColumnTypeOperation.Validate(); err != nil { - invalidParams.AddNested("CastColumnTypeOperation", err.(request.ErrInvalidParams)) - } - } - if s.CreateColumnsOperation != nil { - if err := s.CreateColumnsOperation.Validate(); err != nil { - invalidParams.AddNested("CreateColumnsOperation", err.(request.ErrInvalidParams)) - } +func (s *UpdateAnalysisPermissionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateAnalysisPermissionsInput"} + if s.AnalysisId == nil { + invalidParams.Add(request.NewErrParamRequired("AnalysisId")) } - if s.FilterOperation != nil { - if err := s.FilterOperation.Validate(); err != nil { - invalidParams.AddNested("FilterOperation", err.(request.ErrInvalidParams)) - } + if s.AnalysisId != nil && len(*s.AnalysisId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AnalysisId", 1)) } - if s.ProjectOperation != nil { - if err := s.ProjectOperation.Validate(); err != nil { - invalidParams.AddNested("ProjectOperation", err.(request.ErrInvalidParams)) - } + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) } - if s.RenameColumnOperation != nil { - if err := s.RenameColumnOperation.Validate(); err != nil { - invalidParams.AddNested("RenameColumnOperation", err.(request.ErrInvalidParams)) - } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) } - if s.TagColumnOperation != nil { - if err := s.TagColumnOperation.Validate(); err != nil { - invalidParams.AddNested("TagColumnOperation", err.(request.ErrInvalidParams)) + if s.GrantPermissions != nil { + for i, v := range s.GrantPermissions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GrantPermissions", i), err.(request.ErrInvalidParams)) + } } } - if s.UntagColumnOperation != nil { - if err := s.UntagColumnOperation.Validate(); err != nil { - invalidParams.AddNested("UntagColumnOperation", err.(request.ErrInvalidParams)) + if s.RevokePermissions != nil { + for i, v := range s.RevokePermissions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RevokePermissions", i), err.(request.ErrInvalidParams)) + } } } @@ -40360,61 +74300,48 @@ func (s *TransformOperation) Validate() error { return nil } -// SetCastColumnTypeOperation sets the CastColumnTypeOperation field's value. -func (s *TransformOperation) SetCastColumnTypeOperation(v *CastColumnTypeOperation) *TransformOperation { - s.CastColumnTypeOperation = v +// SetAnalysisId sets the AnalysisId field's value. +func (s *UpdateAnalysisPermissionsInput) SetAnalysisId(v string) *UpdateAnalysisPermissionsInput { + s.AnalysisId = &v return s } -// SetCreateColumnsOperation sets the CreateColumnsOperation field's value. -func (s *TransformOperation) SetCreateColumnsOperation(v *CreateColumnsOperation) *TransformOperation { - s.CreateColumnsOperation = v +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *UpdateAnalysisPermissionsInput) SetAwsAccountId(v string) *UpdateAnalysisPermissionsInput { + s.AwsAccountId = &v return s } -// SetFilterOperation sets the FilterOperation field's value. -func (s *TransformOperation) SetFilterOperation(v *FilterOperation) *TransformOperation { - s.FilterOperation = v +// SetGrantPermissions sets the GrantPermissions field's value. +func (s *UpdateAnalysisPermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateAnalysisPermissionsInput { + s.GrantPermissions = v return s } -// SetProjectOperation sets the ProjectOperation field's value. -func (s *TransformOperation) SetProjectOperation(v *ProjectOperation) *TransformOperation { - s.ProjectOperation = v +// SetRevokePermissions sets the RevokePermissions field's value. +func (s *UpdateAnalysisPermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateAnalysisPermissionsInput { + s.RevokePermissions = v return s } -// SetRenameColumnOperation sets the RenameColumnOperation field's value. -func (s *TransformOperation) SetRenameColumnOperation(v *RenameColumnOperation) *TransformOperation { - s.RenameColumnOperation = v - return s -} +type UpdateAnalysisPermissionsOutput struct { + _ struct{} `type:"structure"` -// SetTagColumnOperation sets the TagColumnOperation field's value. -func (s *TransformOperation) SetTagColumnOperation(v *TagColumnOperation) *TransformOperation { - s.TagColumnOperation = v - return s -} + // The Amazon Resource Name (ARN) of the analysis that you updated. + AnalysisArn *string `type:"string"` -// SetUntagColumnOperation sets the UntagColumnOperation field's value. -func (s *TransformOperation) SetUntagColumnOperation(v *UntagColumnOperation) *TransformOperation { - s.UntagColumnOperation = v - return s -} + // The ID of the analysis that you updated permissions for. + AnalysisId *string `min:"1" type:"string"` -// The parameters for Twitter. -type TwitterParameters struct { - _ struct{} `type:"structure"` + // A structure that describes the principals and the resource-level permissions + // on an analysis. + Permissions []*ResourcePermission `min:"1" type:"list"` - // Maximum number of rows to query Twitter. - // - // MaxRows is a required field - MaxRows *int64 `min:"1" type:"integer" required:"true"` + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` - // Twitter query string. - // - // Query is a required field - Query *string `min:"1" type:"string" required:"true"` + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` } // String returns the string representation. @@ -40422,7 +74349,7 @@ type TwitterParameters struct { // 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 TwitterParameters) String() string { +func (s UpdateAnalysisPermissionsOutput) String() string { return awsutil.Prettify(s) } @@ -40431,109 +74358,108 @@ func (s TwitterParameters) String() string { // 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 TwitterParameters) GoString() string { +func (s UpdateAnalysisPermissionsOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *TwitterParameters) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "TwitterParameters"} - if s.MaxRows == nil { - invalidParams.Add(request.NewErrParamRequired("MaxRows")) - } - if s.MaxRows != nil && *s.MaxRows < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxRows", 1)) - } - if s.Query == nil { - invalidParams.Add(request.NewErrParamRequired("Query")) - } - if s.Query != nil && len(*s.Query) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Query", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetAnalysisArn sets the AnalysisArn field's value. +func (s *UpdateAnalysisPermissionsOutput) SetAnalysisArn(v string) *UpdateAnalysisPermissionsOutput { + s.AnalysisArn = &v + return s } -// SetMaxRows sets the MaxRows field's value. -func (s *TwitterParameters) SetMaxRows(v int64) *TwitterParameters { - s.MaxRows = &v +// SetAnalysisId sets the AnalysisId field's value. +func (s *UpdateAnalysisPermissionsOutput) SetAnalysisId(v string) *UpdateAnalysisPermissionsOutput { + s.AnalysisId = &v return s } -// SetQuery sets the Query field's value. -func (s *TwitterParameters) SetQuery(v string) *TwitterParameters { - s.Query = &v +// SetPermissions sets the Permissions field's value. +func (s *UpdateAnalysisPermissionsOutput) SetPermissions(v []*ResourcePermission) *UpdateAnalysisPermissionsOutput { + s.Permissions = v return s } -// The theme colors that apply to UI and to charts, excluding data colors. The -// colors description is a hexadecimal color code that consists of six alphanumerical -// characters, prefixed with #, for example #37BFF5. For more information, see -// Using Themes in Amazon QuickSight (https://docs.aws.amazon.com/quicksight/latest/user/themes-in-quicksight.html) -// in the Amazon QuickSight User Guide. -type UIColorPalette struct { - _ struct{} `type:"structure"` - - // This color is that applies to selected states and buttons. - Accent *string `type:"string"` - - // The foreground color that applies to any text or other elements that appear - // over the accent color. - AccentForeground *string `type:"string"` - - // The color that applies to error messages. - Danger *string `type:"string"` - - // The foreground color that applies to any text or other elements that appear - // over the error color. - DangerForeground *string `type:"string"` - - // The color that applies to the names of fields that are identified as dimensions. - Dimension *string `type:"string"` +// SetRequestId sets the RequestId field's value. +func (s *UpdateAnalysisPermissionsOutput) SetRequestId(v string) *UpdateAnalysisPermissionsOutput { + s.RequestId = &v + return s +} - // The foreground color that applies to any text or other elements that appear - // over the dimension color. - DimensionForeground *string `type:"string"` +// SetStatus sets the Status field's value. +func (s *UpdateAnalysisPermissionsOutput) SetStatus(v int64) *UpdateAnalysisPermissionsOutput { + s.Status = &v + return s +} - // The color that applies to the names of fields that are identified as measures. - Measure *string `type:"string"` +type UpdateDashboardInput struct { + _ struct{} `type:"structure"` - // The foreground color that applies to any text or other elements that appear - // over the measure color. - MeasureForeground *string `type:"string"` + // The ID of the Amazon Web Services account that contains the dashboard that + // you're updating. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - // The background color that applies to visuals and other high emphasis UI. - PrimaryBackground *string `type:"string"` + // The ID for the dashboard. + // + // DashboardId is a required field + DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"` - // The color of text and other foreground elements that appear over the primary - // background regions, such as grid lines, borders, table banding, icons, and - // so on. - PrimaryForeground *string `type:"string"` + // Options for publishing the dashboard when you create it: + // + // * AvailabilityStatus for AdHocFilteringOption - This status can be either + // ENABLED or DISABLED. When this is set to DISABLED, Amazon QuickSight disables + // the left filter pane on the published dashboard, which can be used for + // ad hoc (one-time) filtering. This option is ENABLED by default. + // + // * AvailabilityStatus for ExportToCSVOption - This status can be either + // ENABLED or DISABLED. The visual option to export data to .CSV format isn't + // enabled when this is set to DISABLED. This option is ENABLED by default. + // + // * VisibilityState for SheetControlsOption - This visibility state can + // be either COLLAPSED or EXPANDED. This option is COLLAPSED by default. + DashboardPublishOptions *DashboardPublishOptions `type:"structure"` - // The background color that applies to the sheet background and sheet controls. - SecondaryBackground *string `type:"string"` + // The definition of a dashboard. + // + // A definition is the data model of all features in a Dashboard, Template, + // or Analysis. + Definition *DashboardVersionDefinition `type:"structure"` - // The foreground color that applies to any sheet title, sheet control text, - // or UI that appears over the secondary background. - SecondaryForeground *string `type:"string"` + // The display name of the dashboard. + // + // Name is a required field + Name *string `min:"1" type:"string" required:"true"` - // The color that applies to success messages, for example the check mark for - // a successful download. - Success *string `type:"string"` + // A structure that contains the parameters of the dashboard. These are parameter + // overrides for a dashboard. A dashboard can have any type of parameters, and + // some parameters might accept multiple values. + Parameters *Parameters `type:"structure"` - // The foreground color that applies to any text or other elements that appear - // over the success color. - SuccessForeground *string `type:"string"` + // The entity that you are using as a source when you update the dashboard. + // In SourceEntity, you specify the type of object you're using as source. You + // can only update a dashboard from a template, so you use a SourceTemplate + // entity. If you need to update a dashboard from an analysis, first convert + // the analysis to a template by using the CreateTemplate (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_CreateTemplate.html) + // API operation. For SourceTemplate, specify the Amazon Resource Name (ARN) + // of the source template. The SourceTemplate ARN can contain any Amazon Web + // Services account and any Amazon QuickSight-supported Amazon Web Services + // Region. + // + // Use the DataSetReferences entity within SourceTemplate to list the replacement + // datasets for the placeholders listed in the original. The schema in each + // dataset must match its placeholder. + SourceEntity *DashboardSourceEntity `type:"structure"` - // This color that applies to warning and informational messages. - Warning *string `type:"string"` + // The Amazon Resource Name (ARN) of the theme that is being used for this dashboard. + // If you add a value for this field, it overrides the value that was originally + // associated with the entity. The theme ARN must exist in the same Amazon Web + // Services account where you create the dashboard. + ThemeArn *string `type:"string"` - // The foreground color that applies to any text or other elements that appear - // over the warning color. - WarningForeground *string `type:"string"` + // A description for the first version of the dashboard being created. + VersionDescription *string `min:"1" type:"string"` } // String returns the string representation. @@ -40541,7 +74467,7 @@ type UIColorPalette struct { // 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 UIColorPalette) String() string { +func (s UpdateDashboardInput) String() string { return awsutil.Prettify(s) } @@ -40550,122 +74476,130 @@ func (s UIColorPalette) String() string { // 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 UIColorPalette) GoString() string { +func (s UpdateDashboardInput) GoString() string { return s.String() } -// SetAccent sets the Accent field's value. -func (s *UIColorPalette) SetAccent(v string) *UIColorPalette { - s.Accent = &v - return s -} - -// SetAccentForeground sets the AccentForeground field's value. -func (s *UIColorPalette) SetAccentForeground(v string) *UIColorPalette { - s.AccentForeground = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateDashboardInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateDashboardInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.DashboardId == nil { + invalidParams.Add(request.NewErrParamRequired("DashboardId")) + } + if s.DashboardId != nil && len(*s.DashboardId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.VersionDescription != nil && len(*s.VersionDescription) < 1 { + invalidParams.Add(request.NewErrParamMinLen("VersionDescription", 1)) + } + if s.Definition != nil { + if err := s.Definition.Validate(); err != nil { + invalidParams.AddNested("Definition", err.(request.ErrInvalidParams)) + } + } + if s.Parameters != nil { + if err := s.Parameters.Validate(); err != nil { + invalidParams.AddNested("Parameters", err.(request.ErrInvalidParams)) + } + } + if s.SourceEntity != nil { + if err := s.SourceEntity.Validate(); err != nil { + invalidParams.AddNested("SourceEntity", err.(request.ErrInvalidParams)) + } + } -// SetDanger sets the Danger field's value. -func (s *UIColorPalette) SetDanger(v string) *UIColorPalette { - s.Danger = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetDangerForeground sets the DangerForeground field's value. -func (s *UIColorPalette) SetDangerForeground(v string) *UIColorPalette { - s.DangerForeground = &v +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *UpdateDashboardInput) SetAwsAccountId(v string) *UpdateDashboardInput { + s.AwsAccountId = &v return s } -// SetDimension sets the Dimension field's value. -func (s *UIColorPalette) SetDimension(v string) *UIColorPalette { - s.Dimension = &v +// SetDashboardId sets the DashboardId field's value. +func (s *UpdateDashboardInput) SetDashboardId(v string) *UpdateDashboardInput { + s.DashboardId = &v return s } -// SetDimensionForeground sets the DimensionForeground field's value. -func (s *UIColorPalette) SetDimensionForeground(v string) *UIColorPalette { - s.DimensionForeground = &v +// SetDashboardPublishOptions sets the DashboardPublishOptions field's value. +func (s *UpdateDashboardInput) SetDashboardPublishOptions(v *DashboardPublishOptions) *UpdateDashboardInput { + s.DashboardPublishOptions = v return s } -// SetMeasure sets the Measure field's value. -func (s *UIColorPalette) SetMeasure(v string) *UIColorPalette { - s.Measure = &v +// SetDefinition sets the Definition field's value. +func (s *UpdateDashboardInput) SetDefinition(v *DashboardVersionDefinition) *UpdateDashboardInput { + s.Definition = v return s } -// SetMeasureForeground sets the MeasureForeground field's value. -func (s *UIColorPalette) SetMeasureForeground(v string) *UIColorPalette { - s.MeasureForeground = &v +// SetName sets the Name field's value. +func (s *UpdateDashboardInput) SetName(v string) *UpdateDashboardInput { + s.Name = &v return s } -// SetPrimaryBackground sets the PrimaryBackground field's value. -func (s *UIColorPalette) SetPrimaryBackground(v string) *UIColorPalette { - s.PrimaryBackground = &v +// SetParameters sets the Parameters field's value. +func (s *UpdateDashboardInput) SetParameters(v *Parameters) *UpdateDashboardInput { + s.Parameters = v return s } -// SetPrimaryForeground sets the PrimaryForeground field's value. -func (s *UIColorPalette) SetPrimaryForeground(v string) *UIColorPalette { - s.PrimaryForeground = &v +// SetSourceEntity sets the SourceEntity field's value. +func (s *UpdateDashboardInput) SetSourceEntity(v *DashboardSourceEntity) *UpdateDashboardInput { + s.SourceEntity = v return s } -// SetSecondaryBackground sets the SecondaryBackground field's value. -func (s *UIColorPalette) SetSecondaryBackground(v string) *UIColorPalette { - s.SecondaryBackground = &v +// SetThemeArn sets the ThemeArn field's value. +func (s *UpdateDashboardInput) SetThemeArn(v string) *UpdateDashboardInput { + s.ThemeArn = &v return s } -// SetSecondaryForeground sets the SecondaryForeground field's value. -func (s *UIColorPalette) SetSecondaryForeground(v string) *UIColorPalette { - s.SecondaryForeground = &v +// SetVersionDescription sets the VersionDescription field's value. +func (s *UpdateDashboardInput) SetVersionDescription(v string) *UpdateDashboardInput { + s.VersionDescription = &v return s } -// SetSuccess sets the Success field's value. -func (s *UIColorPalette) SetSuccess(v string) *UIColorPalette { - s.Success = &v - return s -} +type UpdateDashboardOutput struct { + _ struct{} `type:"structure"` -// SetSuccessForeground sets the SuccessForeground field's value. -func (s *UIColorPalette) SetSuccessForeground(v string) *UIColorPalette { - s.SuccessForeground = &v - return s -} + // The Amazon Resource Name (ARN) of the resource. + Arn *string `type:"string"` -// SetWarning sets the Warning field's value. -func (s *UIColorPalette) SetWarning(v string) *UIColorPalette { - s.Warning = &v - return s -} + // The creation status of the request. + CreationStatus *string `type:"string" enum:"ResourceStatus"` -// SetWarningForeground sets the WarningForeground field's value. -func (s *UIColorPalette) SetWarningForeground(v string) *UIColorPalette { - s.WarningForeground = &v - return s -} + // The ID for the dashboard. + DashboardId *string `min:"1" type:"string"` -// This error indicates that you are calling an embedding operation in Amazon -// QuickSight without the required pricing plan on your Amazon Web Services -// account. Before you can use embedding for anonymous users, a QuickSight administrator -// needs to add capacity pricing to Amazon QuickSight. You can do this on the -// Manage Amazon QuickSight page. -// -// After capacity pricing is added, you can use the GetDashboardEmbedUrl (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_GetDashboardEmbedUrl.html) -// API operation with the --identity-type ANONYMOUS option. -type UnsupportedPricingPlanException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` - Message_ *string `locationName:"Message" type:"string"` + // The HTTP status of the request. + Status *int64 `type:"integer"` - // The Amazon Web Services request ID for this request. - RequestId *string `type:"string"` + // The ARN of the dashboard, including the version number. + VersionArn *string `type:"string"` } // String returns the string representation. @@ -40673,7 +74607,7 @@ type UnsupportedPricingPlanException struct { // 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 UnsupportedPricingPlanException) String() string { +func (s UpdateDashboardOutput) String() string { return awsutil.Prettify(s) } @@ -40682,60 +74616,71 @@ func (s UnsupportedPricingPlanException) String() string { // 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 UnsupportedPricingPlanException) GoString() string { +func (s UpdateDashboardOutput) GoString() string { return s.String() } -func newErrorUnsupportedPricingPlanException(v protocol.ResponseMetadata) error { - return &UnsupportedPricingPlanException{ - RespMetadata: v, - } +// SetArn sets the Arn field's value. +func (s *UpdateDashboardOutput) SetArn(v string) *UpdateDashboardOutput { + s.Arn = &v + return s } -// Code returns the exception type name. -func (s *UnsupportedPricingPlanException) Code() string { - return "UnsupportedPricingPlanException" +// SetCreationStatus sets the CreationStatus field's value. +func (s *UpdateDashboardOutput) SetCreationStatus(v string) *UpdateDashboardOutput { + s.CreationStatus = &v + return s } -// Message returns the exception's message. -func (s *UnsupportedPricingPlanException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" +// SetDashboardId sets the DashboardId field's value. +func (s *UpdateDashboardOutput) SetDashboardId(v string) *UpdateDashboardOutput { + s.DashboardId = &v + return s } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *UnsupportedPricingPlanException) OrigErr() error { - return nil +// SetRequestId sets the RequestId field's value. +func (s *UpdateDashboardOutput) SetRequestId(v string) *UpdateDashboardOutput { + s.RequestId = &v + return s } -func (s *UnsupportedPricingPlanException) Error() string { - return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +// SetStatus sets the Status field's value. +func (s *UpdateDashboardOutput) SetStatus(v int64) *UpdateDashboardOutput { + s.Status = &v + return s } -// Status code returns the HTTP status code for the request's response error. -func (s *UnsupportedPricingPlanException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetVersionArn sets the VersionArn field's value. +func (s *UpdateDashboardOutput) SetVersionArn(v string) *UpdateDashboardOutput { + s.VersionArn = &v + return s } -// RequestID returns the service's response RequestID for request. -func (s *UnsupportedPricingPlanException) RequestID() string { - return s.RespMetadata.RequestID -} +type UpdateDashboardPermissionsInput struct { + _ struct{} `type:"structure"` -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. -type UnsupportedUserEditionException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + // The ID of the Amazon Web Services account that contains the dashboard whose + // permissions you're updating. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - Message_ *string `locationName:"Message" type:"string"` + // The ID for the dashboard. + // + // DashboardId is a required field + DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"` - // The Amazon Web Services request ID for this request. - RequestId *string `type:"string"` + // Grants link permissions to all users in a defined namespace. + GrantLinkPermissions []*ResourcePermission `type:"list"` + + // The permissions that you want to grant on this resource. + GrantPermissions []*ResourcePermission `type:"list"` + + // Revokes link permissions from all users in a defined namespace. + RevokeLinkPermissions []*ResourcePermission `type:"list"` + + // The permissions that you want to revoke from this resource. + RevokePermissions []*ResourcePermission `type:"list"` } // String returns the string representation. @@ -40743,7 +74688,7 @@ type UnsupportedUserEditionException struct { // 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 UnsupportedUserEditionException) String() string { +func (s UpdateDashboardPermissionsInput) String() string { return awsutil.Prettify(s) } @@ -40752,61 +74697,128 @@ func (s UnsupportedUserEditionException) String() string { // 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 UnsupportedUserEditionException) GoString() string { +func (s UpdateDashboardPermissionsInput) GoString() string { return s.String() } -func newErrorUnsupportedUserEditionException(v protocol.ResponseMetadata) error { - return &UnsupportedUserEditionException{ - RespMetadata: v, +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateDashboardPermissionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateDashboardPermissionsInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.DashboardId == nil { + invalidParams.Add(request.NewErrParamRequired("DashboardId")) + } + if s.DashboardId != nil && len(*s.DashboardId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1)) + } + if s.GrantLinkPermissions != nil { + for i, v := range s.GrantLinkPermissions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GrantLinkPermissions", i), err.(request.ErrInvalidParams)) + } + } + } + if s.GrantPermissions != nil { + for i, v := range s.GrantPermissions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GrantPermissions", i), err.(request.ErrInvalidParams)) + } + } + } + if s.RevokeLinkPermissions != nil { + for i, v := range s.RevokeLinkPermissions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RevokeLinkPermissions", i), err.(request.ErrInvalidParams)) + } + } + } + if s.RevokePermissions != nil { + for i, v := range s.RevokePermissions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RevokePermissions", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams } + return nil } -// Code returns the exception type name. -func (s *UnsupportedUserEditionException) Code() string { - return "UnsupportedUserEditionException" +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *UpdateDashboardPermissionsInput) SetAwsAccountId(v string) *UpdateDashboardPermissionsInput { + s.AwsAccountId = &v + return s } -// Message returns the exception's message. -func (s *UnsupportedUserEditionException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" +// SetDashboardId sets the DashboardId field's value. +func (s *UpdateDashboardPermissionsInput) SetDashboardId(v string) *UpdateDashboardPermissionsInput { + s.DashboardId = &v + return s } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *UnsupportedUserEditionException) OrigErr() error { - return nil +// SetGrantLinkPermissions sets the GrantLinkPermissions field's value. +func (s *UpdateDashboardPermissionsInput) SetGrantLinkPermissions(v []*ResourcePermission) *UpdateDashboardPermissionsInput { + s.GrantLinkPermissions = v + return s } -func (s *UnsupportedUserEditionException) Error() string { - return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +// SetGrantPermissions sets the GrantPermissions field's value. +func (s *UpdateDashboardPermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateDashboardPermissionsInput { + s.GrantPermissions = v + return s } -// Status code returns the HTTP status code for the request's response error. -func (s *UnsupportedUserEditionException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetRevokeLinkPermissions sets the RevokeLinkPermissions field's value. +func (s *UpdateDashboardPermissionsInput) SetRevokeLinkPermissions(v []*ResourcePermission) *UpdateDashboardPermissionsInput { + s.RevokeLinkPermissions = v + return s } -// RequestID returns the service's response RequestID for request. -func (s *UnsupportedUserEditionException) RequestID() string { - return s.RespMetadata.RequestID +// SetRevokePermissions sets the RevokePermissions field's value. +func (s *UpdateDashboardPermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateDashboardPermissionsInput { + s.RevokePermissions = v + return s } -// A transform operation that removes tags associated with a column. -type UntagColumnOperation struct { +type UpdateDashboardPermissionsOutput struct { _ struct{} `type:"structure"` - // The column that this operation acts on. - // - // ColumnName is a required field - ColumnName *string `min:"1" type:"string" required:"true"` + // The Amazon Resource Name (ARN) of the dashboard. + DashboardArn *string `type:"string"` - // The column tags to remove from this column. - // - // TagNames is a required field - TagNames []*string `type:"list" required:"true" enum:"ColumnTagName"` + // The ID for the dashboard. + DashboardId *string `min:"1" type:"string"` + + // Updates the permissions of a shared link to an Amazon QuickSight dashboard. + LinkSharingConfiguration *LinkSharingConfiguration `type:"structure"` + + // Information about the permissions on the dashboard. + Permissions []*ResourcePermission `min:"1" type:"list"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` } // String returns the string representation. @@ -40814,7 +74826,7 @@ type UntagColumnOperation struct { // 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 UntagColumnOperation) String() string { +func (s UpdateDashboardPermissionsOutput) String() string { return awsutil.Prettify(s) } @@ -40823,54 +74835,64 @@ func (s UntagColumnOperation) String() string { // 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 UntagColumnOperation) GoString() string { +func (s UpdateDashboardPermissionsOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *UntagColumnOperation) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UntagColumnOperation"} - if s.ColumnName == nil { - invalidParams.Add(request.NewErrParamRequired("ColumnName")) - } - if s.ColumnName != nil && len(*s.ColumnName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ColumnName", 1)) - } - if s.TagNames == nil { - invalidParams.Add(request.NewErrParamRequired("TagNames")) - } +// SetDashboardArn sets the DashboardArn field's value. +func (s *UpdateDashboardPermissionsOutput) SetDashboardArn(v string) *UpdateDashboardPermissionsOutput { + s.DashboardArn = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetDashboardId sets the DashboardId field's value. +func (s *UpdateDashboardPermissionsOutput) SetDashboardId(v string) *UpdateDashboardPermissionsOutput { + s.DashboardId = &v + return s } -// SetColumnName sets the ColumnName field's value. -func (s *UntagColumnOperation) SetColumnName(v string) *UntagColumnOperation { - s.ColumnName = &v +// SetLinkSharingConfiguration sets the LinkSharingConfiguration field's value. +func (s *UpdateDashboardPermissionsOutput) SetLinkSharingConfiguration(v *LinkSharingConfiguration) *UpdateDashboardPermissionsOutput { + s.LinkSharingConfiguration = v return s } -// SetTagNames sets the TagNames field's value. -func (s *UntagColumnOperation) SetTagNames(v []*string) *UntagColumnOperation { - s.TagNames = v +// SetPermissions sets the Permissions field's value. +func (s *UpdateDashboardPermissionsOutput) SetPermissions(v []*ResourcePermission) *UpdateDashboardPermissionsOutput { + s.Permissions = v return s } -type UntagResourceInput struct { +// SetRequestId sets the RequestId field's value. +func (s *UpdateDashboardPermissionsOutput) SetRequestId(v string) *UpdateDashboardPermissionsOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *UpdateDashboardPermissionsOutput) SetStatus(v int64) *UpdateDashboardPermissionsOutput { + s.Status = &v + return s +} + +type UpdateDashboardPublishedVersionInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The Amazon Resource Name (ARN) of the resource that you want to untag. + // The ID of the Amazon Web Services account that contains the dashboard that + // you're updating. // - // ResourceArn is a required field - ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"` + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - // The keys of the key-value pairs for the resource tag or tags assigned to - // the resource. + // The ID for the dashboard. // - // TagKeys is a required field - TagKeys []*string `location:"querystring" locationName:"keys" min:"1" type:"list" required:"true"` + // DashboardId is a required field + DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"` + + // The version number of the dashboard. + // + // VersionNumber is a required field + VersionNumber *int64 `location:"uri" locationName:"VersionNumber" min:"1" type:"long" required:"true"` } // String returns the string representation. @@ -40878,7 +74900,7 @@ type UntagResourceInput struct { // 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 UntagResourceInput) String() string { +func (s UpdateDashboardPublishedVersionInput) String() string { return awsutil.Prettify(s) } @@ -40887,24 +74909,30 @@ func (s UntagResourceInput) String() string { // 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 UntagResourceInput) GoString() string { +func (s UpdateDashboardPublishedVersionInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UntagResourceInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"} - if s.ResourceArn == nil { - invalidParams.Add(request.NewErrParamRequired("ResourceArn")) +func (s *UpdateDashboardPublishedVersionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateDashboardPublishedVersionInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) } - if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) } - if s.TagKeys == nil { - invalidParams.Add(request.NewErrParamRequired("TagKeys")) + if s.DashboardId == nil { + invalidParams.Add(request.NewErrParamRequired("DashboardId")) } - if s.TagKeys != nil && len(s.TagKeys) < 1 { - invalidParams.Add(request.NewErrParamMinLen("TagKeys", 1)) + if s.DashboardId != nil && len(*s.DashboardId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1)) + } + if s.VersionNumber == nil { + invalidParams.Add(request.NewErrParamRequired("VersionNumber")) + } + if s.VersionNumber != nil && *s.VersionNumber < 1 { + invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1)) } if invalidParams.Len() > 0 { @@ -40913,21 +74941,33 @@ func (s *UntagResourceInput) Validate() error { return nil } -// SetResourceArn sets the ResourceArn field's value. -func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput { - s.ResourceArn = &v +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *UpdateDashboardPublishedVersionInput) SetAwsAccountId(v string) *UpdateDashboardPublishedVersionInput { + s.AwsAccountId = &v return s } -// SetTagKeys sets the TagKeys field's value. -func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput { - s.TagKeys = v +// SetDashboardId sets the DashboardId field's value. +func (s *UpdateDashboardPublishedVersionInput) SetDashboardId(v string) *UpdateDashboardPublishedVersionInput { + s.DashboardId = &v return s } -type UntagResourceOutput struct { +// SetVersionNumber sets the VersionNumber field's value. +func (s *UpdateDashboardPublishedVersionInput) SetVersionNumber(v int64) *UpdateDashboardPublishedVersionInput { + s.VersionNumber = &v + return s +} + +type UpdateDashboardPublishedVersionOutput struct { _ struct{} `type:"structure"` + // The Amazon Resource Name (ARN) of the dashboard. + DashboardArn *string `type:"string"` + + // The ID for the dashboard. + DashboardId *string `min:"1" type:"string"` + // The Amazon Web Services request ID for this operation. RequestId *string `type:"string"` @@ -40940,7 +74980,7 @@ type UntagResourceOutput struct { // 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 UntagResourceOutput) String() string { +func (s UpdateDashboardPublishedVersionOutput) String() string { return awsutil.Prettify(s) } @@ -40949,39 +74989,87 @@ func (s UntagResourceOutput) String() string { // 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 UntagResourceOutput) GoString() string { +func (s UpdateDashboardPublishedVersionOutput) GoString() string { return s.String() } +// SetDashboardArn sets the DashboardArn field's value. +func (s *UpdateDashboardPublishedVersionOutput) SetDashboardArn(v string) *UpdateDashboardPublishedVersionOutput { + s.DashboardArn = &v + return s +} + +// SetDashboardId sets the DashboardId field's value. +func (s *UpdateDashboardPublishedVersionOutput) SetDashboardId(v string) *UpdateDashboardPublishedVersionOutput { + s.DashboardId = &v + return s +} + // SetRequestId sets the RequestId field's value. -func (s *UntagResourceOutput) SetRequestId(v string) *UntagResourceOutput { +func (s *UpdateDashboardPublishedVersionOutput) SetRequestId(v string) *UpdateDashboardPublishedVersionOutput { s.RequestId = &v return s } // SetStatus sets the Status field's value. -func (s *UntagResourceOutput) SetStatus(v int64) *UntagResourceOutput { +func (s *UpdateDashboardPublishedVersionOutput) SetStatus(v int64) *UpdateDashboardPublishedVersionOutput { s.Status = &v return s } -type UpdateAccountCustomizationInput struct { +type UpdateDataSetInput struct { _ struct{} `type:"structure"` - // The Amazon QuickSight customizations you're updating in the current Amazon - // Web Services Region. - // - // AccountCustomization is a required field - AccountCustomization *AccountCustomization `type:"structure" required:"true"` - - // The ID for the Amazon Web Services account that you want to update Amazon - // QuickSight customizations for. + // The Amazon Web Services account ID. // // AwsAccountId is a required field AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - // The namespace that you want to update Amazon QuickSight customizations for. - Namespace *string `location:"querystring" locationName:"namespace" type:"string"` + // Groupings of columns that work together in certain Amazon QuickSight features. + // Currently, only geospatial hierarchy is supported. + ColumnGroups []*ColumnGroup `min:"1" type:"list"` + + // A set of one or more definitions of a ColumnLevelPermissionRule (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_ColumnLevelPermissionRule.html) . + ColumnLevelPermissionRules []*ColumnLevelPermissionRule `min:"1" type:"list"` + + // The ID for the dataset that you want to update. This ID is unique per Amazon + // Web Services Region for each Amazon Web Services account. + // + // DataSetId is a required field + DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"` + + // The usage configuration to apply to child datasets that reference this dataset + // as a source. + DataSetUsageConfiguration *DataSetUsageConfiguration `type:"structure"` + + // The folder that contains fields and nested subfolders for your dataset. + FieldFolders map[string]*FieldFolder `type:"map"` + + // Indicates whether you want to import the data into SPICE. + // + // ImportMode is a required field + ImportMode *string `type:"string" required:"true" enum:"DataSetImportMode"` + + // Configures the combination and transformation of the data from the physical + // tables. + LogicalTableMap map[string]*LogicalTable `min:"1" type:"map"` + + // The display name for the dataset. + // + // Name is a required field + Name *string `min:"1" type:"string" required:"true"` + + // Declares the physical tables that are available in the underlying data sources. + // + // PhysicalTableMap is a required field + PhysicalTableMap map[string]*PhysicalTable `type:"map" required:"true"` + + // The row-level security configuration for the data you want to create. + RowLevelPermissionDataSet *RowLevelPermissionDataSet `type:"structure"` + + // The configuration of tags on a dataset to set row-level security. Row-level + // security tags are currently supported for anonymous embedding only. + RowLevelPermissionTagConfiguration *RowLevelPermissionTagConfiguration `type:"structure"` } // String returns the string representation. @@ -40989,7 +75077,7 @@ type UpdateAccountCustomizationInput struct { // 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 UpdateAccountCustomizationInput) String() string { +func (s UpdateDataSetInput) String() string { return awsutil.Prettify(s) } @@ -40998,22 +75086,96 @@ func (s UpdateAccountCustomizationInput) String() string { // 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 UpdateAccountCustomizationInput) GoString() string { +func (s UpdateDataSetInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateAccountCustomizationInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateAccountCustomizationInput"} - if s.AccountCustomization == nil { - invalidParams.Add(request.NewErrParamRequired("AccountCustomization")) - } +func (s *UpdateDataSetInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateDataSetInput"} if s.AwsAccountId == nil { invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) } if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) } + if s.ColumnGroups != nil && len(s.ColumnGroups) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ColumnGroups", 1)) + } + if s.ColumnLevelPermissionRules != nil && len(s.ColumnLevelPermissionRules) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ColumnLevelPermissionRules", 1)) + } + if s.DataSetId == nil { + invalidParams.Add(request.NewErrParamRequired("DataSetId")) + } + if s.DataSetId != nil && len(*s.DataSetId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1)) + } + if s.ImportMode == nil { + invalidParams.Add(request.NewErrParamRequired("ImportMode")) + } + if s.LogicalTableMap != nil && len(s.LogicalTableMap) < 1 { + invalidParams.Add(request.NewErrParamMinLen("LogicalTableMap", 1)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.PhysicalTableMap == nil { + invalidParams.Add(request.NewErrParamRequired("PhysicalTableMap")) + } + if s.ColumnGroups != nil { + for i, v := range s.ColumnGroups { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnGroups", i), err.(request.ErrInvalidParams)) + } + } + } + if s.ColumnLevelPermissionRules != nil { + for i, v := range s.ColumnLevelPermissionRules { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnLevelPermissionRules", i), err.(request.ErrInvalidParams)) + } + } + } + if s.LogicalTableMap != nil { + for i, v := range s.LogicalTableMap { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "LogicalTableMap", i), err.(request.ErrInvalidParams)) + } + } + } + if s.PhysicalTableMap != nil { + for i, v := range s.PhysicalTableMap { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PhysicalTableMap", i), err.(request.ErrInvalidParams)) + } + } + } + if s.RowLevelPermissionDataSet != nil { + if err := s.RowLevelPermissionDataSet.Validate(); err != nil { + invalidParams.AddNested("RowLevelPermissionDataSet", err.(request.ErrInvalidParams)) + } + } + if s.RowLevelPermissionTagConfiguration != nil { + if err := s.RowLevelPermissionTagConfiguration.Validate(); err != nil { + invalidParams.AddNested("RowLevelPermissionTagConfiguration", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -41021,41 +75183,95 @@ func (s *UpdateAccountCustomizationInput) Validate() error { return nil } -// SetAccountCustomization sets the AccountCustomization field's value. -func (s *UpdateAccountCustomizationInput) SetAccountCustomization(v *AccountCustomization) *UpdateAccountCustomizationInput { - s.AccountCustomization = v +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *UpdateDataSetInput) SetAwsAccountId(v string) *UpdateDataSetInput { + s.AwsAccountId = &v return s } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *UpdateAccountCustomizationInput) SetAwsAccountId(v string) *UpdateAccountCustomizationInput { - s.AwsAccountId = &v +// SetColumnGroups sets the ColumnGroups field's value. +func (s *UpdateDataSetInput) SetColumnGroups(v []*ColumnGroup) *UpdateDataSetInput { + s.ColumnGroups = v return s } -// SetNamespace sets the Namespace field's value. -func (s *UpdateAccountCustomizationInput) SetNamespace(v string) *UpdateAccountCustomizationInput { - s.Namespace = &v +// SetColumnLevelPermissionRules sets the ColumnLevelPermissionRules field's value. +func (s *UpdateDataSetInput) SetColumnLevelPermissionRules(v []*ColumnLevelPermissionRule) *UpdateDataSetInput { + s.ColumnLevelPermissionRules = v return s } -type UpdateAccountCustomizationOutput struct { - _ struct{} `type:"structure"` +// SetDataSetId sets the DataSetId field's value. +func (s *UpdateDataSetInput) SetDataSetId(v string) *UpdateDataSetInput { + s.DataSetId = &v + return s +} - // The Amazon QuickSight customizations you're updating in the current Amazon - // Web Services Region. - AccountCustomization *AccountCustomization `type:"structure"` +// SetDataSetUsageConfiguration sets the DataSetUsageConfiguration field's value. +func (s *UpdateDataSetInput) SetDataSetUsageConfiguration(v *DataSetUsageConfiguration) *UpdateDataSetInput { + s.DataSetUsageConfiguration = v + return s +} - // The Amazon Resource Name (ARN) for the updated customization for this Amazon - // Web Services account. +// SetFieldFolders sets the FieldFolders field's value. +func (s *UpdateDataSetInput) SetFieldFolders(v map[string]*FieldFolder) *UpdateDataSetInput { + s.FieldFolders = v + return s +} + +// SetImportMode sets the ImportMode field's value. +func (s *UpdateDataSetInput) SetImportMode(v string) *UpdateDataSetInput { + s.ImportMode = &v + return s +} + +// SetLogicalTableMap sets the LogicalTableMap field's value. +func (s *UpdateDataSetInput) SetLogicalTableMap(v map[string]*LogicalTable) *UpdateDataSetInput { + s.LogicalTableMap = v + return s +} + +// SetName sets the Name field's value. +func (s *UpdateDataSetInput) SetName(v string) *UpdateDataSetInput { + s.Name = &v + return s +} + +// SetPhysicalTableMap sets the PhysicalTableMap field's value. +func (s *UpdateDataSetInput) SetPhysicalTableMap(v map[string]*PhysicalTable) *UpdateDataSetInput { + s.PhysicalTableMap = v + return s +} + +// SetRowLevelPermissionDataSet sets the RowLevelPermissionDataSet field's value. +func (s *UpdateDataSetInput) SetRowLevelPermissionDataSet(v *RowLevelPermissionDataSet) *UpdateDataSetInput { + s.RowLevelPermissionDataSet = v + return s +} + +// SetRowLevelPermissionTagConfiguration sets the RowLevelPermissionTagConfiguration field's value. +func (s *UpdateDataSetInput) SetRowLevelPermissionTagConfiguration(v *RowLevelPermissionTagConfiguration) *UpdateDataSetInput { + s.RowLevelPermissionTagConfiguration = v + return s +} + +type UpdateDataSetOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the dataset. Arn *string `type:"string"` - // The ID for the Amazon Web Services account that you want to update Amazon - // QuickSight customizations for. - AwsAccountId *string `min:"12" type:"string"` + // The ID for the dataset that you want to create. This ID is unique per Amazon + // Web Services Region for each Amazon Web Services account. + DataSetId *string `type:"string"` - // The namespace associated with the customization that you're updating. - Namespace *string `type:"string"` + // The ARN for the ingestion, which is triggered as a result of dataset creation + // if the import mode is SPICE. + IngestionArn *string `type:"string"` + + // The ID of the ingestion, which is triggered as a result of dataset creation + // if the import mode is SPICE. + IngestionId *string `type:"string"` // The Amazon Web Services request ID for this operation. RequestId *string `type:"string"` @@ -41069,7 +75285,7 @@ type UpdateAccountCustomizationOutput struct { // 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 UpdateAccountCustomizationOutput) String() string { +func (s UpdateDataSetOutput) String() string { return awsutil.Prettify(s) } @@ -41078,72 +75294,65 @@ func (s UpdateAccountCustomizationOutput) String() string { // 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 UpdateAccountCustomizationOutput) GoString() string { +func (s UpdateDataSetOutput) GoString() string { return s.String() } -// SetAccountCustomization sets the AccountCustomization field's value. -func (s *UpdateAccountCustomizationOutput) SetAccountCustomization(v *AccountCustomization) *UpdateAccountCustomizationOutput { - s.AccountCustomization = v +// SetArn sets the Arn field's value. +func (s *UpdateDataSetOutput) SetArn(v string) *UpdateDataSetOutput { + s.Arn = &v return s } -// SetArn sets the Arn field's value. -func (s *UpdateAccountCustomizationOutput) SetArn(v string) *UpdateAccountCustomizationOutput { - s.Arn = &v +// SetDataSetId sets the DataSetId field's value. +func (s *UpdateDataSetOutput) SetDataSetId(v string) *UpdateDataSetOutput { + s.DataSetId = &v return s } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *UpdateAccountCustomizationOutput) SetAwsAccountId(v string) *UpdateAccountCustomizationOutput { - s.AwsAccountId = &v +// SetIngestionArn sets the IngestionArn field's value. +func (s *UpdateDataSetOutput) SetIngestionArn(v string) *UpdateDataSetOutput { + s.IngestionArn = &v return s } -// SetNamespace sets the Namespace field's value. -func (s *UpdateAccountCustomizationOutput) SetNamespace(v string) *UpdateAccountCustomizationOutput { - s.Namespace = &v +// SetIngestionId sets the IngestionId field's value. +func (s *UpdateDataSetOutput) SetIngestionId(v string) *UpdateDataSetOutput { + s.IngestionId = &v return s } // SetRequestId sets the RequestId field's value. -func (s *UpdateAccountCustomizationOutput) SetRequestId(v string) *UpdateAccountCustomizationOutput { +func (s *UpdateDataSetOutput) SetRequestId(v string) *UpdateDataSetOutput { s.RequestId = &v return s } // SetStatus sets the Status field's value. -func (s *UpdateAccountCustomizationOutput) SetStatus(v int64) *UpdateAccountCustomizationOutput { +func (s *UpdateDataSetOutput) SetStatus(v int64) *UpdateDataSetOutput { s.Status = &v return s } -type UpdateAccountSettingsInput struct { +type UpdateDataSetPermissionsInput struct { _ struct{} `type:"structure"` - // The ID for the Amazon Web Services account that contains the Amazon QuickSight - // settings that you want to list. + // The Amazon Web Services account ID. // // AwsAccountId is a required field AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - // The default namespace for this Amazon Web Services account. Currently, the - // default is default. Identity and Access Management (IAM) users that register - // for the first time with Amazon QuickSight provide an email address that becomes - // associated with the default namespace. + // The ID for the dataset whose permissions you want to update. This ID is unique + // per Amazon Web Services Region for each Amazon Web Services account. // - // DefaultNamespace is a required field - DefaultNamespace *string `type:"string" required:"true"` + // DataSetId is a required field + DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"` - // The email address that you want Amazon QuickSight to send notifications to - // regarding your Amazon Web Services account or Amazon QuickSight subscription. - NotificationEmail *string `type:"string"` + // The resource permissions that you want to grant to the dataset. + GrantPermissions []*ResourcePermission `min:"1" type:"list"` - // A boolean value that determines whether or not an Amazon QuickSight account - // can be deleted. A True value doesn't allow the account to be deleted and - // results in an error message if a user tries to make a DeleteAccountSubscription - // request. A False value will allow the account to be deleted. - TerminationProtectionEnabled *bool `type:"boolean"` + // The resource permissions that you want to revoke from the dataset. + RevokePermissions []*ResourcePermission `min:"1" type:"list"` } // String returns the string representation. @@ -41151,7 +75360,7 @@ type UpdateAccountSettingsInput struct { // 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 UpdateAccountSettingsInput) String() string { +func (s UpdateDataSetPermissionsInput) String() string { return awsutil.Prettify(s) } @@ -41160,21 +75369,50 @@ func (s UpdateAccountSettingsInput) String() string { // 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 UpdateAccountSettingsInput) GoString() string { +func (s UpdateDataSetPermissionsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateAccountSettingsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateAccountSettingsInput"} +func (s *UpdateDataSetPermissionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateDataSetPermissionsInput"} if s.AwsAccountId == nil { invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.DataSetId == nil { + invalidParams.Add(request.NewErrParamRequired("DataSetId")) + } + if s.DataSetId != nil && len(*s.DataSetId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1)) + } + if s.GrantPermissions != nil && len(s.GrantPermissions) < 1 { + invalidParams.Add(request.NewErrParamMinLen("GrantPermissions", 1)) } - if s.DefaultNamespace == nil { - invalidParams.Add(request.NewErrParamRequired("DefaultNamespace")) + if s.RevokePermissions != nil && len(s.RevokePermissions) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RevokePermissions", 1)) + } + if s.GrantPermissions != nil { + for i, v := range s.GrantPermissions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GrantPermissions", i), err.(request.ErrInvalidParams)) + } + } + } + if s.RevokePermissions != nil { + for i, v := range s.RevokePermissions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RevokePermissions", i), err.(request.ErrInvalidParams)) + } + } } if invalidParams.Len() > 0 { @@ -41184,32 +75422,39 @@ func (s *UpdateAccountSettingsInput) Validate() error { } // SetAwsAccountId sets the AwsAccountId field's value. -func (s *UpdateAccountSettingsInput) SetAwsAccountId(v string) *UpdateAccountSettingsInput { +func (s *UpdateDataSetPermissionsInput) SetAwsAccountId(v string) *UpdateDataSetPermissionsInput { s.AwsAccountId = &v return s } -// SetDefaultNamespace sets the DefaultNamespace field's value. -func (s *UpdateAccountSettingsInput) SetDefaultNamespace(v string) *UpdateAccountSettingsInput { - s.DefaultNamespace = &v +// SetDataSetId sets the DataSetId field's value. +func (s *UpdateDataSetPermissionsInput) SetDataSetId(v string) *UpdateDataSetPermissionsInput { + s.DataSetId = &v return s } -// SetNotificationEmail sets the NotificationEmail field's value. -func (s *UpdateAccountSettingsInput) SetNotificationEmail(v string) *UpdateAccountSettingsInput { - s.NotificationEmail = &v +// SetGrantPermissions sets the GrantPermissions field's value. +func (s *UpdateDataSetPermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateDataSetPermissionsInput { + s.GrantPermissions = v return s } -// SetTerminationProtectionEnabled sets the TerminationProtectionEnabled field's value. -func (s *UpdateAccountSettingsInput) SetTerminationProtectionEnabled(v bool) *UpdateAccountSettingsInput { - s.TerminationProtectionEnabled = &v +// SetRevokePermissions sets the RevokePermissions field's value. +func (s *UpdateDataSetPermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateDataSetPermissionsInput { + s.RevokePermissions = v return s } -type UpdateAccountSettingsOutput struct { +type UpdateDataSetPermissionsOutput struct { _ struct{} `type:"structure"` + // The Amazon Resource Name (ARN) of the dataset. + DataSetArn *string `type:"string"` + + // The ID for the dataset whose permissions you want to update. This ID is unique + // per Amazon Web Services Region for each Amazon Web Services account. + DataSetId *string `type:"string"` + // The Amazon Web Services request ID for this operation. RequestId *string `type:"string"` @@ -41222,7 +75467,7 @@ type UpdateAccountSettingsOutput struct { // 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 UpdateAccountSettingsOutput) String() string { +func (s UpdateDataSetPermissionsOutput) String() string { return awsutil.Prettify(s) } @@ -41231,58 +75476,72 @@ func (s UpdateAccountSettingsOutput) String() string { // 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 UpdateAccountSettingsOutput) GoString() string { +func (s UpdateDataSetPermissionsOutput) GoString() string { return s.String() } +// SetDataSetArn sets the DataSetArn field's value. +func (s *UpdateDataSetPermissionsOutput) SetDataSetArn(v string) *UpdateDataSetPermissionsOutput { + s.DataSetArn = &v + return s +} + +// SetDataSetId sets the DataSetId field's value. +func (s *UpdateDataSetPermissionsOutput) SetDataSetId(v string) *UpdateDataSetPermissionsOutput { + s.DataSetId = &v + return s +} + // SetRequestId sets the RequestId field's value. -func (s *UpdateAccountSettingsOutput) SetRequestId(v string) *UpdateAccountSettingsOutput { +func (s *UpdateDataSetPermissionsOutput) SetRequestId(v string) *UpdateDataSetPermissionsOutput { s.RequestId = &v return s } // SetStatus sets the Status field's value. -func (s *UpdateAccountSettingsOutput) SetStatus(v int64) *UpdateAccountSettingsOutput { +func (s *UpdateDataSetPermissionsOutput) SetStatus(v int64) *UpdateDataSetPermissionsOutput { s.Status = &v return s } -type UpdateAnalysisInput struct { +type UpdateDataSourceInput struct { _ struct{} `type:"structure"` - // The ID for the analysis that you're updating. This ID displays in the URL - // of the analysis. - // - // AnalysisId is a required field - AnalysisId *string `location:"uri" locationName:"AnalysisId" min:"1" type:"string" required:"true"` - - // The ID of the Amazon Web Services account that contains the analysis that - // you're updating. + // The Amazon Web Services account ID. // // AwsAccountId is a required field AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - // A descriptive name for the analysis that you're updating. This name displays - // for the analysis in the Amazon QuickSight console. + // The credentials that Amazon QuickSight that uses to connect to your underlying + // source. Currently, only credentials based on user name and password are supported. // - // Name is a required field - Name *string `min:"1" type:"string" required:"true"` + // Credentials is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by UpdateDataSourceInput's + // String and GoString methods. + Credentials *DataSourceCredentials `type:"structure" sensitive:"true"` - // The parameter names and override values that you want to use. An analysis - // can have any parameter type, and some parameters might accept multiple values. - Parameters *Parameters `type:"structure"` + // The ID of the data source. This ID is unique per Amazon Web Services Region + // for each Amazon Web Services account. + // + // DataSourceId is a required field + DataSourceId *string `location:"uri" locationName:"DataSourceId" type:"string" required:"true"` - // A source entity to use for the analysis that you're updating. This metadata - // structure contains details that describe a source template and one or more - // datasets. + // The parameters that Amazon QuickSight uses to connect to your underlying + // source. + DataSourceParameters *DataSourceParameters `type:"structure"` + + // A display name for the data source. // - // SourceEntity is a required field - SourceEntity *AnalysisSourceEntity `type:"structure" required:"true"` + // Name is a required field + Name *string `min:"1" type:"string" required:"true"` - // The Amazon Resource Name (ARN) for the theme to apply to the analysis that - // you're creating. To see the theme in the Amazon QuickSight console, make - // sure that you have access to it. - ThemeArn *string `type:"string"` + // Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects + // to your underlying source. + SslProperties *SslProperties `type:"structure"` + + // Use this parameter only when you want Amazon QuickSight to use a VPC connection + // when connecting to your underlying source. + VpcConnectionProperties *VpcConnectionProperties `type:"structure"` } // String returns the string representation. @@ -41290,7 +75549,7 @@ type UpdateAnalysisInput struct { // 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 UpdateAnalysisInput) String() string { +func (s UpdateDataSourceInput) String() string { return awsutil.Prettify(s) } @@ -41299,42 +75558,44 @@ func (s UpdateAnalysisInput) String() string { // 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 UpdateAnalysisInput) GoString() string { +func (s UpdateDataSourceInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateAnalysisInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateAnalysisInput"} - if s.AnalysisId == nil { - invalidParams.Add(request.NewErrParamRequired("AnalysisId")) - } - if s.AnalysisId != nil && len(*s.AnalysisId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("AnalysisId", 1)) - } +func (s *UpdateDataSourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateDataSourceInput"} if s.AwsAccountId == nil { invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) } if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) } + if s.DataSourceId == nil { + invalidParams.Add(request.NewErrParamRequired("DataSourceId")) + } + if s.DataSourceId != nil && len(*s.DataSourceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DataSourceId", 1)) + } if s.Name == nil { invalidParams.Add(request.NewErrParamRequired("Name")) } if s.Name != nil && len(*s.Name) < 1 { invalidParams.Add(request.NewErrParamMinLen("Name", 1)) } - if s.SourceEntity == nil { - invalidParams.Add(request.NewErrParamRequired("SourceEntity")) + if s.Credentials != nil { + if err := s.Credentials.Validate(); err != nil { + invalidParams.AddNested("Credentials", err.(request.ErrInvalidParams)) + } } - if s.Parameters != nil { - if err := s.Parameters.Validate(); err != nil { - invalidParams.AddNested("Parameters", err.(request.ErrInvalidParams)) + if s.DataSourceParameters != nil { + if err := s.DataSourceParameters.Validate(); err != nil { + invalidParams.AddNested("DataSourceParameters", err.(request.ErrInvalidParams)) } } - if s.SourceEntity != nil { - if err := s.SourceEntity.Validate(); err != nil { - invalidParams.AddNested("SourceEntity", err.(request.ErrInvalidParams)) + if s.VpcConnectionProperties != nil { + if err := s.VpcConnectionProperties.Validate(); err != nil { + invalidParams.AddNested("VpcConnectionProperties", err.(request.ErrInvalidParams)) } } @@ -41344,58 +75605,65 @@ func (s *UpdateAnalysisInput) Validate() error { return nil } -// SetAnalysisId sets the AnalysisId field's value. -func (s *UpdateAnalysisInput) SetAnalysisId(v string) *UpdateAnalysisInput { - s.AnalysisId = &v +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *UpdateDataSourceInput) SetAwsAccountId(v string) *UpdateDataSourceInput { + s.AwsAccountId = &v return s } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *UpdateAnalysisInput) SetAwsAccountId(v string) *UpdateAnalysisInput { - s.AwsAccountId = &v +// SetCredentials sets the Credentials field's value. +func (s *UpdateDataSourceInput) SetCredentials(v *DataSourceCredentials) *UpdateDataSourceInput { + s.Credentials = v return s } -// SetName sets the Name field's value. -func (s *UpdateAnalysisInput) SetName(v string) *UpdateAnalysisInput { - s.Name = &v +// SetDataSourceId sets the DataSourceId field's value. +func (s *UpdateDataSourceInput) SetDataSourceId(v string) *UpdateDataSourceInput { + s.DataSourceId = &v return s } -// SetParameters sets the Parameters field's value. -func (s *UpdateAnalysisInput) SetParameters(v *Parameters) *UpdateAnalysisInput { - s.Parameters = v +// SetDataSourceParameters sets the DataSourceParameters field's value. +func (s *UpdateDataSourceInput) SetDataSourceParameters(v *DataSourceParameters) *UpdateDataSourceInput { + s.DataSourceParameters = v return s } -// SetSourceEntity sets the SourceEntity field's value. -func (s *UpdateAnalysisInput) SetSourceEntity(v *AnalysisSourceEntity) *UpdateAnalysisInput { - s.SourceEntity = v +// SetName sets the Name field's value. +func (s *UpdateDataSourceInput) SetName(v string) *UpdateDataSourceInput { + s.Name = &v return s } -// SetThemeArn sets the ThemeArn field's value. -func (s *UpdateAnalysisInput) SetThemeArn(v string) *UpdateAnalysisInput { - s.ThemeArn = &v +// SetSslProperties sets the SslProperties field's value. +func (s *UpdateDataSourceInput) SetSslProperties(v *SslProperties) *UpdateDataSourceInput { + s.SslProperties = v return s } -type UpdateAnalysisOutput struct { - _ struct{} `type:"structure"` +// SetVpcConnectionProperties sets the VpcConnectionProperties field's value. +func (s *UpdateDataSourceInput) SetVpcConnectionProperties(v *VpcConnectionProperties) *UpdateDataSourceInput { + s.VpcConnectionProperties = v + return s +} - // The ID of the analysis. - AnalysisId *string `min:"1" type:"string"` +type UpdateDataSourceOutput struct { + _ struct{} `type:"structure"` - // The ARN of the analysis that you're updating. + // The Amazon Resource Name (ARN) of the data source. Arn *string `type:"string"` + // The ID of the data source. This ID is unique per Amazon Web Services Region + // for each Amazon Web Services account. + DataSourceId *string `type:"string"` + // The Amazon Web Services request ID for this operation. RequestId *string `type:"string"` // The HTTP status of the request. Status *int64 `location:"statusCode" type:"integer"` - // The update status of the last update that was made to the analysis. + // The update status of the data source's last update. UpdateStatus *string `type:"string" enum:"ResourceStatus"` } @@ -41404,7 +75672,7 @@ type UpdateAnalysisOutput struct { // 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 UpdateAnalysisOutput) String() string { +func (s UpdateDataSourceOutput) String() string { return awsutil.Prettify(s) } @@ -41413,63 +75681,59 @@ func (s UpdateAnalysisOutput) String() string { // 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 UpdateAnalysisOutput) GoString() string { +func (s UpdateDataSourceOutput) GoString() string { return s.String() } -// SetAnalysisId sets the AnalysisId field's value. -func (s *UpdateAnalysisOutput) SetAnalysisId(v string) *UpdateAnalysisOutput { - s.AnalysisId = &v +// SetArn sets the Arn field's value. +func (s *UpdateDataSourceOutput) SetArn(v string) *UpdateDataSourceOutput { + s.Arn = &v return s } -// SetArn sets the Arn field's value. -func (s *UpdateAnalysisOutput) SetArn(v string) *UpdateAnalysisOutput { - s.Arn = &v +// SetDataSourceId sets the DataSourceId field's value. +func (s *UpdateDataSourceOutput) SetDataSourceId(v string) *UpdateDataSourceOutput { + s.DataSourceId = &v return s } // SetRequestId sets the RequestId field's value. -func (s *UpdateAnalysisOutput) SetRequestId(v string) *UpdateAnalysisOutput { +func (s *UpdateDataSourceOutput) SetRequestId(v string) *UpdateDataSourceOutput { s.RequestId = &v return s } // SetStatus sets the Status field's value. -func (s *UpdateAnalysisOutput) SetStatus(v int64) *UpdateAnalysisOutput { +func (s *UpdateDataSourceOutput) SetStatus(v int64) *UpdateDataSourceOutput { s.Status = &v return s } // SetUpdateStatus sets the UpdateStatus field's value. -func (s *UpdateAnalysisOutput) SetUpdateStatus(v string) *UpdateAnalysisOutput { +func (s *UpdateDataSourceOutput) SetUpdateStatus(v string) *UpdateDataSourceOutput { s.UpdateStatus = &v return s } -type UpdateAnalysisPermissionsInput struct { +type UpdateDataSourcePermissionsInput struct { _ struct{} `type:"structure"` - // The ID of the analysis whose permissions you're updating. The ID is part - // of the analysis URL. - // - // AnalysisId is a required field - AnalysisId *string `location:"uri" locationName:"AnalysisId" min:"1" type:"string" required:"true"` - - // The ID of the Amazon Web Services account that contains the analysis whose - // permissions you're updating. You must be using the Amazon Web Services account - // that the analysis is in. + // The Amazon Web Services account ID. // // AwsAccountId is a required field AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - // A structure that describes the permissions to add and the principal to add - // them to. - GrantPermissions []*ResourcePermission `type:"list"` + // The ID of the data source. This ID is unique per Amazon Web Services Region + // for each Amazon Web Services account. + // + // DataSourceId is a required field + DataSourceId *string `location:"uri" locationName:"DataSourceId" type:"string" required:"true"` - // A structure that describes the permissions to remove and the principal to - // remove them from. - RevokePermissions []*ResourcePermission `type:"list"` + // A list of resource permissions that you want to grant on the data source. + GrantPermissions []*ResourcePermission `min:"1" type:"list"` + + // A list of resource permissions that you want to revoke on the data source. + RevokePermissions []*ResourcePermission `min:"1" type:"list"` } // String returns the string representation. @@ -41477,7 +75741,7 @@ type UpdateAnalysisPermissionsInput struct { // 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 UpdateAnalysisPermissionsInput) String() string { +func (s UpdateDataSourcePermissionsInput) String() string { return awsutil.Prettify(s) } @@ -41486,25 +75750,31 @@ func (s UpdateAnalysisPermissionsInput) String() string { // 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 UpdateAnalysisPermissionsInput) GoString() string { +func (s UpdateDataSourcePermissionsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateAnalysisPermissionsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateAnalysisPermissionsInput"} - if s.AnalysisId == nil { - invalidParams.Add(request.NewErrParamRequired("AnalysisId")) - } - if s.AnalysisId != nil && len(*s.AnalysisId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("AnalysisId", 1)) - } +func (s *UpdateDataSourcePermissionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateDataSourcePermissionsInput"} if s.AwsAccountId == nil { invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) } if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) } + if s.DataSourceId == nil { + invalidParams.Add(request.NewErrParamRequired("DataSourceId")) + } + if s.DataSourceId != nil && len(*s.DataSourceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DataSourceId", 1)) + } + if s.GrantPermissions != nil && len(s.GrantPermissions) < 1 { + invalidParams.Add(request.NewErrParamMinLen("GrantPermissions", 1)) + } + if s.RevokePermissions != nil && len(s.RevokePermissions) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RevokePermissions", 1)) + } if s.GrantPermissions != nil { for i, v := range s.GrantPermissions { if v == nil { @@ -41532,42 +75802,39 @@ func (s *UpdateAnalysisPermissionsInput) Validate() error { return nil } -// SetAnalysisId sets the AnalysisId field's value. -func (s *UpdateAnalysisPermissionsInput) SetAnalysisId(v string) *UpdateAnalysisPermissionsInput { - s.AnalysisId = &v +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *UpdateDataSourcePermissionsInput) SetAwsAccountId(v string) *UpdateDataSourcePermissionsInput { + s.AwsAccountId = &v return s } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *UpdateAnalysisPermissionsInput) SetAwsAccountId(v string) *UpdateAnalysisPermissionsInput { - s.AwsAccountId = &v +// SetDataSourceId sets the DataSourceId field's value. +func (s *UpdateDataSourcePermissionsInput) SetDataSourceId(v string) *UpdateDataSourcePermissionsInput { + s.DataSourceId = &v return s } // SetGrantPermissions sets the GrantPermissions field's value. -func (s *UpdateAnalysisPermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateAnalysisPermissionsInput { +func (s *UpdateDataSourcePermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateDataSourcePermissionsInput { s.GrantPermissions = v return s } // SetRevokePermissions sets the RevokePermissions field's value. -func (s *UpdateAnalysisPermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateAnalysisPermissionsInput { +func (s *UpdateDataSourcePermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateDataSourcePermissionsInput { s.RevokePermissions = v return s } -type UpdateAnalysisPermissionsOutput struct { +type UpdateDataSourcePermissionsOutput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the analysis that you updated. - AnalysisArn *string `type:"string"` - - // The ID of the analysis that you updated permissions for. - AnalysisId *string `min:"1" type:"string"` + // The Amazon Resource Name (ARN) of the data source. + DataSourceArn *string `type:"string"` - // A structure that describes the principals and the resource-level permissions - // on an analysis. - Permissions []*ResourcePermission `min:"1" type:"list"` + // The ID of the data source. This ID is unique per Amazon Web Services Region + // for each Amazon Web Services account. + DataSourceId *string `type:"string"` // The Amazon Web Services request ID for this operation. RequestId *string `type:"string"` @@ -41581,7 +75848,7 @@ type UpdateAnalysisPermissionsOutput struct { // 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 UpdateAnalysisPermissionsOutput) String() string { +func (s UpdateDataSourcePermissionsOutput) String() string { return awsutil.Prettify(s) } @@ -41590,104 +75857,51 @@ func (s UpdateAnalysisPermissionsOutput) String() string { // 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 UpdateAnalysisPermissionsOutput) GoString() string { +func (s UpdateDataSourcePermissionsOutput) GoString() string { return s.String() } -// SetAnalysisArn sets the AnalysisArn field's value. -func (s *UpdateAnalysisPermissionsOutput) SetAnalysisArn(v string) *UpdateAnalysisPermissionsOutput { - s.AnalysisArn = &v - return s -} - -// SetAnalysisId sets the AnalysisId field's value. -func (s *UpdateAnalysisPermissionsOutput) SetAnalysisId(v string) *UpdateAnalysisPermissionsOutput { - s.AnalysisId = &v +// SetDataSourceArn sets the DataSourceArn field's value. +func (s *UpdateDataSourcePermissionsOutput) SetDataSourceArn(v string) *UpdateDataSourcePermissionsOutput { + s.DataSourceArn = &v return s } -// SetPermissions sets the Permissions field's value. -func (s *UpdateAnalysisPermissionsOutput) SetPermissions(v []*ResourcePermission) *UpdateAnalysisPermissionsOutput { - s.Permissions = v +// SetDataSourceId sets the DataSourceId field's value. +func (s *UpdateDataSourcePermissionsOutput) SetDataSourceId(v string) *UpdateDataSourcePermissionsOutput { + s.DataSourceId = &v return s } // SetRequestId sets the RequestId field's value. -func (s *UpdateAnalysisPermissionsOutput) SetRequestId(v string) *UpdateAnalysisPermissionsOutput { +func (s *UpdateDataSourcePermissionsOutput) SetRequestId(v string) *UpdateDataSourcePermissionsOutput { s.RequestId = &v return s } // SetStatus sets the Status field's value. -func (s *UpdateAnalysisPermissionsOutput) SetStatus(v int64) *UpdateAnalysisPermissionsOutput { +func (s *UpdateDataSourcePermissionsOutput) SetStatus(v int64) *UpdateDataSourcePermissionsOutput { s.Status = &v return s } -type UpdateDashboardInput struct { +type UpdateFolderInput struct { _ struct{} `type:"structure"` - // The ID of the Amazon Web Services account that contains the dashboard that - // you're updating. + // The ID for the Amazon Web Services account that contains the folder to update. // // AwsAccountId is a required field AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - // The ID for the dashboard. - // - // DashboardId is a required field - DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"` - - // Options for publishing the dashboard when you create it: - // - // * AvailabilityStatus for AdHocFilteringOption - This status can be either - // ENABLED or DISABLED. When this is set to DISABLED, Amazon QuickSight disables - // the left filter pane on the published dashboard, which can be used for - // ad hoc (one-time) filtering. This option is ENABLED by default. - // - // * AvailabilityStatus for ExportToCSVOption - This status can be either - // ENABLED or DISABLED. The visual option to export data to .CSV format isn't - // enabled when this is set to DISABLED. This option is ENABLED by default. + // The ID of the folder. // - // * VisibilityState for SheetControlsOption - This visibility state can - // be either COLLAPSED or EXPANDED. This option is COLLAPSED by default. - DashboardPublishOptions *DashboardPublishOptions `type:"structure"` + // FolderId is a required field + FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"` - // The display name of the dashboard. + // The name of the folder. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` - - // A structure that contains the parameters of the dashboard. These are parameter - // overrides for a dashboard. A dashboard can have any type of parameters, and - // some parameters might accept multiple values. - Parameters *Parameters `type:"structure"` - - // The entity that you are using as a source when you update the dashboard. - // In SourceEntity, you specify the type of object you're using as source. You - // can only update a dashboard from a template, so you use a SourceTemplate - // entity. If you need to update a dashboard from an analysis, first convert - // the analysis to a template by using the CreateTemplate (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_CreateTemplate.html) - // API operation. For SourceTemplate, specify the Amazon Resource Name (ARN) - // of the source template. The SourceTemplate ARN can contain any Amazon Web - // Services account and any Amazon QuickSight-supported Amazon Web Services - // Region. - // - // Use the DataSetReferences entity within SourceTemplate to list the replacement - // datasets for the placeholders listed in the original. The schema in each - // dataset must match its placeholder. - // - // SourceEntity is a required field - SourceEntity *DashboardSourceEntity `type:"structure" required:"true"` - - // The Amazon Resource Name (ARN) of the theme that is being used for this dashboard. - // If you add a value for this field, it overrides the value that was originally - // associated with the entity. The theme ARN must exist in the same Amazon Web - // Services account where you create the dashboard. - ThemeArn *string `type:"string"` - - // A description for the first version of the dashboard being created. - VersionDescription *string `min:"1" type:"string"` } // String returns the string representation. @@ -41695,7 +75909,7 @@ type UpdateDashboardInput struct { // 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 UpdateDashboardInput) String() string { +func (s UpdateFolderInput) String() string { return awsutil.Prettify(s) } @@ -41704,24 +75918,24 @@ func (s UpdateDashboardInput) String() string { // 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 UpdateDashboardInput) GoString() string { +func (s UpdateFolderInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateDashboardInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateDashboardInput"} +func (s *UpdateFolderInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateFolderInput"} if s.AwsAccountId == nil { invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) } if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) } - if s.DashboardId == nil { - invalidParams.Add(request.NewErrParamRequired("DashboardId")) + if s.FolderId == nil { + invalidParams.Add(request.NewErrParamRequired("FolderId")) } - if s.DashboardId != nil && len(*s.DashboardId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1)) + if s.FolderId != nil && len(*s.FolderId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FolderId", 1)) } if s.Name == nil { invalidParams.Add(request.NewErrParamRequired("Name")) @@ -41729,22 +75943,6 @@ func (s *UpdateDashboardInput) Validate() error { if s.Name != nil && len(*s.Name) < 1 { invalidParams.Add(request.NewErrParamMinLen("Name", 1)) } - if s.SourceEntity == nil { - invalidParams.Add(request.NewErrParamRequired("SourceEntity")) - } - if s.VersionDescription != nil && len(*s.VersionDescription) < 1 { - invalidParams.Add(request.NewErrParamMinLen("VersionDescription", 1)) - } - if s.Parameters != nil { - if err := s.Parameters.Validate(); err != nil { - invalidParams.AddNested("Parameters", err.(request.ErrInvalidParams)) - } - } - if s.SourceEntity != nil { - if err := s.SourceEntity.Validate(); err != nil { - invalidParams.AddNested("SourceEntity", err.(request.ErrInvalidParams)) - } - } if invalidParams.Len() > 0 { return invalidParams @@ -41753,73 +75951,37 @@ func (s *UpdateDashboardInput) Validate() error { } // SetAwsAccountId sets the AwsAccountId field's value. -func (s *UpdateDashboardInput) SetAwsAccountId(v string) *UpdateDashboardInput { +func (s *UpdateFolderInput) SetAwsAccountId(v string) *UpdateFolderInput { s.AwsAccountId = &v return s } -// SetDashboardId sets the DashboardId field's value. -func (s *UpdateDashboardInput) SetDashboardId(v string) *UpdateDashboardInput { - s.DashboardId = &v - return s -} - -// SetDashboardPublishOptions sets the DashboardPublishOptions field's value. -func (s *UpdateDashboardInput) SetDashboardPublishOptions(v *DashboardPublishOptions) *UpdateDashboardInput { - s.DashboardPublishOptions = v +// SetFolderId sets the FolderId field's value. +func (s *UpdateFolderInput) SetFolderId(v string) *UpdateFolderInput { + s.FolderId = &v return s } // SetName sets the Name field's value. -func (s *UpdateDashboardInput) SetName(v string) *UpdateDashboardInput { +func (s *UpdateFolderInput) SetName(v string) *UpdateFolderInput { s.Name = &v return s } -// SetParameters sets the Parameters field's value. -func (s *UpdateDashboardInput) SetParameters(v *Parameters) *UpdateDashboardInput { - s.Parameters = v - return s -} - -// SetSourceEntity sets the SourceEntity field's value. -func (s *UpdateDashboardInput) SetSourceEntity(v *DashboardSourceEntity) *UpdateDashboardInput { - s.SourceEntity = v - return s -} - -// SetThemeArn sets the ThemeArn field's value. -func (s *UpdateDashboardInput) SetThemeArn(v string) *UpdateDashboardInput { - s.ThemeArn = &v - return s -} - -// SetVersionDescription sets the VersionDescription field's value. -func (s *UpdateDashboardInput) SetVersionDescription(v string) *UpdateDashboardInput { - s.VersionDescription = &v - return s -} - -type UpdateDashboardOutput struct { +type UpdateFolderOutput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the resource. + // The Amazon Resource Name (ARN) of the folder. Arn *string `type:"string"` - // The creation status of the request. - CreationStatus *string `type:"string" enum:"ResourceStatus"` - - // The ID for the dashboard. - DashboardId *string `min:"1" type:"string"` + // The ID of the folder. + FolderId *string `min:"1" type:"string"` // The Amazon Web Services request ID for this operation. RequestId *string `type:"string"` // The HTTP status of the request. - Status *int64 `type:"integer"` - - // The ARN of the dashboard, including the version number. - VersionArn *string `type:"string"` + Status *int64 `location:"statusCode" type:"integer"` } // String returns the string representation. @@ -41827,7 +75989,7 @@ type UpdateDashboardOutput struct { // 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 UpdateDashboardOutput) String() string { +func (s UpdateFolderOutput) String() string { return awsutil.Prettify(s) } @@ -41836,71 +75998,52 @@ func (s UpdateDashboardOutput) String() string { // 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 UpdateDashboardOutput) GoString() string { +func (s UpdateFolderOutput) GoString() string { return s.String() } // SetArn sets the Arn field's value. -func (s *UpdateDashboardOutput) SetArn(v string) *UpdateDashboardOutput { +func (s *UpdateFolderOutput) SetArn(v string) *UpdateFolderOutput { s.Arn = &v return s -} - -// SetCreationStatus sets the CreationStatus field's value. -func (s *UpdateDashboardOutput) SetCreationStatus(v string) *UpdateDashboardOutput { - s.CreationStatus = &v - return s -} - -// SetDashboardId sets the DashboardId field's value. -func (s *UpdateDashboardOutput) SetDashboardId(v string) *UpdateDashboardOutput { - s.DashboardId = &v +} + +// SetFolderId sets the FolderId field's value. +func (s *UpdateFolderOutput) SetFolderId(v string) *UpdateFolderOutput { + s.FolderId = &v return s } // SetRequestId sets the RequestId field's value. -func (s *UpdateDashboardOutput) SetRequestId(v string) *UpdateDashboardOutput { +func (s *UpdateFolderOutput) SetRequestId(v string) *UpdateFolderOutput { s.RequestId = &v return s } // SetStatus sets the Status field's value. -func (s *UpdateDashboardOutput) SetStatus(v int64) *UpdateDashboardOutput { +func (s *UpdateFolderOutput) SetStatus(v int64) *UpdateFolderOutput { s.Status = &v return s } -// SetVersionArn sets the VersionArn field's value. -func (s *UpdateDashboardOutput) SetVersionArn(v string) *UpdateDashboardOutput { - s.VersionArn = &v - return s -} - -type UpdateDashboardPermissionsInput struct { +type UpdateFolderPermissionsInput struct { _ struct{} `type:"structure"` - // The ID of the Amazon Web Services account that contains the dashboard whose - // permissions you're updating. + // The ID for the Amazon Web Services account that contains the folder to update. // // AwsAccountId is a required field AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - // The ID for the dashboard. + // The ID of the folder. // - // DashboardId is a required field - DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"` - - // Grants link permissions to all users in a defined namespace. - GrantLinkPermissions []*ResourcePermission `type:"list"` - - // The permissions that you want to grant on this resource. - GrantPermissions []*ResourcePermission `type:"list"` + // FolderId is a required field + FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"` - // Revokes link permissions from all users in a defined namespace. - RevokeLinkPermissions []*ResourcePermission `type:"list"` + // The permissions that you want to grant on a resource. + GrantPermissions []*ResourcePermission `min:"1" type:"list"` - // The permissions that you want to revoke from this resource. - RevokePermissions []*ResourcePermission `type:"list"` + // The permissions that you want to revoke from a resource. + RevokePermissions []*ResourcePermission `min:"1" type:"list"` } // String returns the string representation. @@ -41908,7 +76051,7 @@ type UpdateDashboardPermissionsInput struct { // 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 UpdateDashboardPermissionsInput) String() string { +func (s UpdateFolderPermissionsInput) String() string { return awsutil.Prettify(s) } @@ -41917,34 +76060,30 @@ func (s UpdateDashboardPermissionsInput) String() string { // 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 UpdateDashboardPermissionsInput) GoString() string { +func (s UpdateFolderPermissionsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateDashboardPermissionsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateDashboardPermissionsInput"} +func (s *UpdateFolderPermissionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateFolderPermissionsInput"} if s.AwsAccountId == nil { invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) } if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) } - if s.DashboardId == nil { - invalidParams.Add(request.NewErrParamRequired("DashboardId")) + if s.FolderId == nil { + invalidParams.Add(request.NewErrParamRequired("FolderId")) } - if s.DashboardId != nil && len(*s.DashboardId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1)) + if s.FolderId != nil && len(*s.FolderId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FolderId", 1)) } - if s.GrantLinkPermissions != nil { - for i, v := range s.GrantLinkPermissions { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GrantLinkPermissions", i), err.(request.ErrInvalidParams)) - } - } + if s.GrantPermissions != nil && len(s.GrantPermissions) < 1 { + invalidParams.Add(request.NewErrParamMinLen("GrantPermissions", 1)) + } + if s.RevokePermissions != nil && len(s.RevokePermissions) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RevokePermissions", 1)) } if s.GrantPermissions != nil { for i, v := range s.GrantPermissions { @@ -41956,16 +76095,6 @@ func (s *UpdateDashboardPermissionsInput) Validate() error { } } } - if s.RevokeLinkPermissions != nil { - for i, v := range s.RevokeLinkPermissions { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RevokeLinkPermissions", i), err.(request.ErrInvalidParams)) - } - } - } if s.RevokePermissions != nil { for i, v := range s.RevokePermissions { if v == nil { @@ -41984,61 +76113,46 @@ func (s *UpdateDashboardPermissionsInput) Validate() error { } // SetAwsAccountId sets the AwsAccountId field's value. -func (s *UpdateDashboardPermissionsInput) SetAwsAccountId(v string) *UpdateDashboardPermissionsInput { +func (s *UpdateFolderPermissionsInput) SetAwsAccountId(v string) *UpdateFolderPermissionsInput { s.AwsAccountId = &v return s } -// SetDashboardId sets the DashboardId field's value. -func (s *UpdateDashboardPermissionsInput) SetDashboardId(v string) *UpdateDashboardPermissionsInput { - s.DashboardId = &v - return s -} - -// SetGrantLinkPermissions sets the GrantLinkPermissions field's value. -func (s *UpdateDashboardPermissionsInput) SetGrantLinkPermissions(v []*ResourcePermission) *UpdateDashboardPermissionsInput { - s.GrantLinkPermissions = v +// SetFolderId sets the FolderId field's value. +func (s *UpdateFolderPermissionsInput) SetFolderId(v string) *UpdateFolderPermissionsInput { + s.FolderId = &v return s } // SetGrantPermissions sets the GrantPermissions field's value. -func (s *UpdateDashboardPermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateDashboardPermissionsInput { +func (s *UpdateFolderPermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateFolderPermissionsInput { s.GrantPermissions = v return s } -// SetRevokeLinkPermissions sets the RevokeLinkPermissions field's value. -func (s *UpdateDashboardPermissionsInput) SetRevokeLinkPermissions(v []*ResourcePermission) *UpdateDashboardPermissionsInput { - s.RevokeLinkPermissions = v - return s -} - // SetRevokePermissions sets the RevokePermissions field's value. -func (s *UpdateDashboardPermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateDashboardPermissionsInput { +func (s *UpdateFolderPermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateFolderPermissionsInput { s.RevokePermissions = v return s } -type UpdateDashboardPermissionsOutput struct { +type UpdateFolderPermissionsOutput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the dashboard. - DashboardArn *string `type:"string"` - - // The ID for the dashboard. - DashboardId *string `min:"1" type:"string"` + // The Amazon Resource Name (ARN) of the folder. + Arn *string `type:"string"` - // Updates the permissions of a shared link to an Amazon QuickSight dashboard. - LinkSharingConfiguration *LinkSharingConfiguration `type:"structure"` + // The ID of the folder. + FolderId *string `min:"1" type:"string"` - // Information about the permissions on the dashboard. + // Information about the permissions for the folder. Permissions []*ResourcePermission `min:"1" type:"list"` // The Amazon Web Services request ID for this operation. RequestId *string `type:"string"` // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + Status *int64 `type:"integer"` } // String returns the string representation. @@ -42046,7 +76160,7 @@ type UpdateDashboardPermissionsOutput struct { // 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 UpdateDashboardPermissionsOutput) String() string { +func (s UpdateFolderPermissionsOutput) String() string { return awsutil.Prettify(s) } @@ -42055,64 +76169,62 @@ func (s UpdateDashboardPermissionsOutput) String() string { // 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 UpdateDashboardPermissionsOutput) GoString() string { +func (s UpdateFolderPermissionsOutput) GoString() string { return s.String() } -// SetDashboardArn sets the DashboardArn field's value. -func (s *UpdateDashboardPermissionsOutput) SetDashboardArn(v string) *UpdateDashboardPermissionsOutput { - s.DashboardArn = &v - return s -} - -// SetDashboardId sets the DashboardId field's value. -func (s *UpdateDashboardPermissionsOutput) SetDashboardId(v string) *UpdateDashboardPermissionsOutput { - s.DashboardId = &v +// SetArn sets the Arn field's value. +func (s *UpdateFolderPermissionsOutput) SetArn(v string) *UpdateFolderPermissionsOutput { + s.Arn = &v return s } -// SetLinkSharingConfiguration sets the LinkSharingConfiguration field's value. -func (s *UpdateDashboardPermissionsOutput) SetLinkSharingConfiguration(v *LinkSharingConfiguration) *UpdateDashboardPermissionsOutput { - s.LinkSharingConfiguration = v +// SetFolderId sets the FolderId field's value. +func (s *UpdateFolderPermissionsOutput) SetFolderId(v string) *UpdateFolderPermissionsOutput { + s.FolderId = &v return s } // SetPermissions sets the Permissions field's value. -func (s *UpdateDashboardPermissionsOutput) SetPermissions(v []*ResourcePermission) *UpdateDashboardPermissionsOutput { +func (s *UpdateFolderPermissionsOutput) SetPermissions(v []*ResourcePermission) *UpdateFolderPermissionsOutput { s.Permissions = v return s } // SetRequestId sets the RequestId field's value. -func (s *UpdateDashboardPermissionsOutput) SetRequestId(v string) *UpdateDashboardPermissionsOutput { +func (s *UpdateFolderPermissionsOutput) SetRequestId(v string) *UpdateFolderPermissionsOutput { s.RequestId = &v return s } // SetStatus sets the Status field's value. -func (s *UpdateDashboardPermissionsOutput) SetStatus(v int64) *UpdateDashboardPermissionsOutput { +func (s *UpdateFolderPermissionsOutput) SetStatus(v int64) *UpdateFolderPermissionsOutput { s.Status = &v return s } -type UpdateDashboardPublishedVersionInput struct { - _ struct{} `type:"structure" nopayload:"true"` +type UpdateGroupInput struct { + _ struct{} `type:"structure"` - // The ID of the Amazon Web Services account that contains the dashboard that - // you're updating. + // The ID for the Amazon Web Services account that the group is in. Currently, + // you use the ID for the Amazon Web Services account that contains your Amazon + // QuickSight account. // // AwsAccountId is a required field AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - // The ID for the dashboard. + // The description for the group that you want to update. + Description *string `min:"1" type:"string"` + + // The name of the group that you want to update. // - // DashboardId is a required field - DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"` + // GroupName is a required field + GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"` - // The version number of the dashboard. + // The namespace of the group that you want to update. // - // VersionNumber is a required field - VersionNumber *int64 `location:"uri" locationName:"VersionNumber" min:"1" type:"long" required:"true"` + // Namespace is a required field + Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` } // String returns the string representation. @@ -42120,7 +76232,7 @@ type UpdateDashboardPublishedVersionInput struct { // 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 UpdateDashboardPublishedVersionInput) String() string { +func (s UpdateGroupInput) String() string { return awsutil.Prettify(s) } @@ -42129,30 +76241,33 @@ func (s UpdateDashboardPublishedVersionInput) String() string { // 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 UpdateDashboardPublishedVersionInput) GoString() string { +func (s UpdateGroupInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateDashboardPublishedVersionInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateDashboardPublishedVersionInput"} +func (s *UpdateGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateGroupInput"} if s.AwsAccountId == nil { invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) } if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) } - if s.DashboardId == nil { - invalidParams.Add(request.NewErrParamRequired("DashboardId")) + if s.Description != nil && len(*s.Description) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Description", 1)) } - if s.DashboardId != nil && len(*s.DashboardId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1)) + if s.GroupName == nil { + invalidParams.Add(request.NewErrParamRequired("GroupName")) } - if s.VersionNumber == nil { - invalidParams.Add(request.NewErrParamRequired("VersionNumber")) + if s.GroupName != nil && len(*s.GroupName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("GroupName", 1)) } - if s.VersionNumber != nil && *s.VersionNumber < 1 { - invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1)) + if s.Namespace == nil { + invalidParams.Add(request.NewErrParamRequired("Namespace")) + } + if s.Namespace != nil && len(*s.Namespace) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) } if invalidParams.Len() > 0 { @@ -42162,31 +76277,34 @@ func (s *UpdateDashboardPublishedVersionInput) Validate() error { } // SetAwsAccountId sets the AwsAccountId field's value. -func (s *UpdateDashboardPublishedVersionInput) SetAwsAccountId(v string) *UpdateDashboardPublishedVersionInput { +func (s *UpdateGroupInput) SetAwsAccountId(v string) *UpdateGroupInput { s.AwsAccountId = &v return s } -// SetDashboardId sets the DashboardId field's value. -func (s *UpdateDashboardPublishedVersionInput) SetDashboardId(v string) *UpdateDashboardPublishedVersionInput { - s.DashboardId = &v +// SetDescription sets the Description field's value. +func (s *UpdateGroupInput) SetDescription(v string) *UpdateGroupInput { + s.Description = &v return s } -// SetVersionNumber sets the VersionNumber field's value. -func (s *UpdateDashboardPublishedVersionInput) SetVersionNumber(v int64) *UpdateDashboardPublishedVersionInput { - s.VersionNumber = &v +// SetGroupName sets the GroupName field's value. +func (s *UpdateGroupInput) SetGroupName(v string) *UpdateGroupInput { + s.GroupName = &v return s } -type UpdateDashboardPublishedVersionOutput struct { - _ struct{} `type:"structure"` +// SetNamespace sets the Namespace field's value. +func (s *UpdateGroupInput) SetNamespace(v string) *UpdateGroupInput { + s.Namespace = &v + return s +} - // The Amazon Resource Name (ARN) of the dashboard. - DashboardArn *string `type:"string"` +type UpdateGroupOutput struct { + _ struct{} `type:"structure"` - // The ID for the dashboard. - DashboardId *string `min:"1" type:"string"` + // The name of the group. + Group *Group `type:"structure"` // The Amazon Web Services request ID for this operation. RequestId *string `type:"string"` @@ -42200,7 +76318,7 @@ type UpdateDashboardPublishedVersionOutput struct { // 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 UpdateDashboardPublishedVersionOutput) String() string { +func (s UpdateGroupOutput) String() string { return awsutil.Prettify(s) } @@ -42209,87 +76327,65 @@ func (s UpdateDashboardPublishedVersionOutput) String() string { // 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 UpdateDashboardPublishedVersionOutput) GoString() string { +func (s UpdateGroupOutput) GoString() string { return s.String() } -// SetDashboardArn sets the DashboardArn field's value. -func (s *UpdateDashboardPublishedVersionOutput) SetDashboardArn(v string) *UpdateDashboardPublishedVersionOutput { - s.DashboardArn = &v - return s -} - -// SetDashboardId sets the DashboardId field's value. -func (s *UpdateDashboardPublishedVersionOutput) SetDashboardId(v string) *UpdateDashboardPublishedVersionOutput { - s.DashboardId = &v +// SetGroup sets the Group field's value. +func (s *UpdateGroupOutput) SetGroup(v *Group) *UpdateGroupOutput { + s.Group = v return s } // SetRequestId sets the RequestId field's value. -func (s *UpdateDashboardPublishedVersionOutput) SetRequestId(v string) *UpdateDashboardPublishedVersionOutput { +func (s *UpdateGroupOutput) SetRequestId(v string) *UpdateGroupOutput { s.RequestId = &v return s } // SetStatus sets the Status field's value. -func (s *UpdateDashboardPublishedVersionOutput) SetStatus(v int64) *UpdateDashboardPublishedVersionOutput { +func (s *UpdateGroupOutput) SetStatus(v int64) *UpdateGroupOutput { s.Status = &v return s } -type UpdateDataSetInput struct { +type UpdateIAMPolicyAssignmentInput struct { _ struct{} `type:"structure"` - // The Amazon Web Services account ID. + // The name of the assignment, also called a rule. This name must be unique + // within an Amazon Web Services account. // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - - // Groupings of columns that work together in certain Amazon QuickSight features. - // Currently, only geospatial hierarchy is supported. - ColumnGroups []*ColumnGroup `min:"1" type:"list"` - - // A set of one or more definitions of a ColumnLevelPermissionRule (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_ColumnLevelPermissionRule.html) . - ColumnLevelPermissionRules []*ColumnLevelPermissionRule `min:"1" type:"list"` + // AssignmentName is a required field + AssignmentName *string `location:"uri" locationName:"AssignmentName" min:"1" type:"string" required:"true"` - // The ID for the dataset that you want to update. This ID is unique per Amazon - // Web Services Region for each Amazon Web Services account. + // The status of the assignment. Possible values are as follows: // - // DataSetId is a required field - DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"` - - // The usage configuration to apply to child datasets that reference this dataset - // as a source. - DataSetUsageConfiguration *DataSetUsageConfiguration `type:"structure"` - - // The folder that contains fields and nested subfolders for your dataset. - FieldFolders map[string]*FieldFolder `type:"map"` - - // Indicates whether you want to import the data into SPICE. + // * ENABLED - Anything specified in this assignment is used when creating + // the data source. // - // ImportMode is a required field - ImportMode *string `type:"string" required:"true" enum:"DataSetImportMode"` - - // Configures the combination and transformation of the data from the physical - // tables. - LogicalTableMap map[string]*LogicalTable `min:"1" type:"map"` - - // The display name for the dataset. + // * DISABLED - This assignment isn't used when creating the data source. // - // Name is a required field - Name *string `min:"1" type:"string" required:"true"` + // * DRAFT - This assignment is an unfinished draft and isn't used when creating + // the data source. + AssignmentStatus *string `type:"string" enum:"AssignmentStatus"` - // Declares the physical tables that are available in the underlying data sources. + // The ID of the Amazon Web Services account that contains the IAM policy assignment. // - // PhysicalTableMap is a required field - PhysicalTableMap map[string]*PhysicalTable `type:"map" required:"true"` + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - // The row-level security configuration for the data you want to create. - RowLevelPermissionDataSet *RowLevelPermissionDataSet `type:"structure"` + // The Amazon QuickSight users, groups, or both that you want to assign the + // policy to. + Identities map[string][]*string `type:"map"` - // The configuration of tags on a dataset to set row-level security. Row-level - // security tags are currently supported for anonymous embedding only. - RowLevelPermissionTagConfiguration *RowLevelPermissionTagConfiguration `type:"structure"` + // The namespace of the assignment. + // + // Namespace is a required field + Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` + + // The ARN for the IAM policy to apply to the Amazon QuickSight users and groups + // specified in this assignment. + PolicyArn *string `type:"string"` } // String returns the string representation. @@ -42297,7 +76393,7 @@ type UpdateDataSetInput struct { // 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 UpdateDataSetInput) String() string { +func (s UpdateIAMPolicyAssignmentInput) String() string { return awsutil.Prettify(s) } @@ -42306,95 +76402,30 @@ func (s UpdateDataSetInput) String() string { // 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 UpdateDataSetInput) GoString() string { +func (s UpdateIAMPolicyAssignmentInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateDataSetInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateDataSetInput"} +func (s *UpdateIAMPolicyAssignmentInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateIAMPolicyAssignmentInput"} + if s.AssignmentName == nil { + invalidParams.Add(request.NewErrParamRequired("AssignmentName")) + } + if s.AssignmentName != nil && len(*s.AssignmentName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AssignmentName", 1)) + } if s.AwsAccountId == nil { invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) } if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) } - if s.ColumnGroups != nil && len(s.ColumnGroups) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ColumnGroups", 1)) - } - if s.ColumnLevelPermissionRules != nil && len(s.ColumnLevelPermissionRules) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ColumnLevelPermissionRules", 1)) - } - if s.DataSetId == nil { - invalidParams.Add(request.NewErrParamRequired("DataSetId")) - } - if s.DataSetId != nil && len(*s.DataSetId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1)) - } - if s.ImportMode == nil { - invalidParams.Add(request.NewErrParamRequired("ImportMode")) - } - if s.LogicalTableMap != nil && len(s.LogicalTableMap) < 1 { - invalidParams.Add(request.NewErrParamMinLen("LogicalTableMap", 1)) - } - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) - } - if s.Name != nil && len(*s.Name) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Name", 1)) - } - if s.PhysicalTableMap == nil { - invalidParams.Add(request.NewErrParamRequired("PhysicalTableMap")) - } - if s.ColumnGroups != nil { - for i, v := range s.ColumnGroups { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnGroups", i), err.(request.ErrInvalidParams)) - } - } - } - if s.ColumnLevelPermissionRules != nil { - for i, v := range s.ColumnLevelPermissionRules { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnLevelPermissionRules", i), err.(request.ErrInvalidParams)) - } - } - } - if s.LogicalTableMap != nil { - for i, v := range s.LogicalTableMap { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "LogicalTableMap", i), err.(request.ErrInvalidParams)) - } - } - } - if s.PhysicalTableMap != nil { - for i, v := range s.PhysicalTableMap { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PhysicalTableMap", i), err.(request.ErrInvalidParams)) - } - } - } - if s.RowLevelPermissionDataSet != nil { - if err := s.RowLevelPermissionDataSet.Validate(); err != nil { - invalidParams.AddNested("RowLevelPermissionDataSet", err.(request.ErrInvalidParams)) - } + if s.Namespace == nil { + invalidParams.Add(request.NewErrParamRequired("Namespace")) } - if s.RowLevelPermissionTagConfiguration != nil { - if err := s.RowLevelPermissionTagConfiguration.Validate(); err != nil { - invalidParams.AddNested("RowLevelPermissionTagConfiguration", err.(request.ErrInvalidParams)) - } + if s.Namespace != nil && len(*s.Namespace) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) } if invalidParams.Len() > 0 { @@ -42403,95 +76434,209 @@ func (s *UpdateDataSetInput) Validate() error { return nil } +// SetAssignmentName sets the AssignmentName field's value. +func (s *UpdateIAMPolicyAssignmentInput) SetAssignmentName(v string) *UpdateIAMPolicyAssignmentInput { + s.AssignmentName = &v + return s +} + +// SetAssignmentStatus sets the AssignmentStatus field's value. +func (s *UpdateIAMPolicyAssignmentInput) SetAssignmentStatus(v string) *UpdateIAMPolicyAssignmentInput { + s.AssignmentStatus = &v + return s +} + // SetAwsAccountId sets the AwsAccountId field's value. -func (s *UpdateDataSetInput) SetAwsAccountId(v string) *UpdateDataSetInput { +func (s *UpdateIAMPolicyAssignmentInput) SetAwsAccountId(v string) *UpdateIAMPolicyAssignmentInput { s.AwsAccountId = &v return s } -// SetColumnGroups sets the ColumnGroups field's value. -func (s *UpdateDataSetInput) SetColumnGroups(v []*ColumnGroup) *UpdateDataSetInput { - s.ColumnGroups = v +// SetIdentities sets the Identities field's value. +func (s *UpdateIAMPolicyAssignmentInput) SetIdentities(v map[string][]*string) *UpdateIAMPolicyAssignmentInput { + s.Identities = v + return s +} + +// SetNamespace sets the Namespace field's value. +func (s *UpdateIAMPolicyAssignmentInput) SetNamespace(v string) *UpdateIAMPolicyAssignmentInput { + s.Namespace = &v + return s +} + +// SetPolicyArn sets the PolicyArn field's value. +func (s *UpdateIAMPolicyAssignmentInput) SetPolicyArn(v string) *UpdateIAMPolicyAssignmentInput { + s.PolicyArn = &v + return s +} + +type UpdateIAMPolicyAssignmentOutput struct { + _ struct{} `type:"structure"` + + // The ID of the assignment. + AssignmentId *string `type:"string"` + + // The name of the assignment or rule. + AssignmentName *string `min:"1" type:"string"` + + // The status of the assignment. Possible values are as follows: + // + // * ENABLED - Anything specified in this assignment is used when creating + // the data source. + // + // * DISABLED - This assignment isn't used when creating the data source. + // + // * DRAFT - This assignment is an unfinished draft and isn't used when creating + // the data source. + AssignmentStatus *string `type:"string" enum:"AssignmentStatus"` + + // The Amazon QuickSight users, groups, or both that the IAM policy is assigned + // to. + Identities map[string][]*string `type:"map"` + + // The ARN for the IAM policy applied to the Amazon QuickSight users and groups + // specified in this assignment. + PolicyArn *string `type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 UpdateIAMPolicyAssignmentOutput) 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 UpdateIAMPolicyAssignmentOutput) GoString() string { + return s.String() +} + +// SetAssignmentId sets the AssignmentId field's value. +func (s *UpdateIAMPolicyAssignmentOutput) SetAssignmentId(v string) *UpdateIAMPolicyAssignmentOutput { + s.AssignmentId = &v + return s +} + +// SetAssignmentName sets the AssignmentName field's value. +func (s *UpdateIAMPolicyAssignmentOutput) SetAssignmentName(v string) *UpdateIAMPolicyAssignmentOutput { + s.AssignmentName = &v + return s +} + +// SetAssignmentStatus sets the AssignmentStatus field's value. +func (s *UpdateIAMPolicyAssignmentOutput) SetAssignmentStatus(v string) *UpdateIAMPolicyAssignmentOutput { + s.AssignmentStatus = &v + return s +} + +// SetIdentities sets the Identities field's value. +func (s *UpdateIAMPolicyAssignmentOutput) SetIdentities(v map[string][]*string) *UpdateIAMPolicyAssignmentOutput { + s.Identities = v return s } -// SetColumnLevelPermissionRules sets the ColumnLevelPermissionRules field's value. -func (s *UpdateDataSetInput) SetColumnLevelPermissionRules(v []*ColumnLevelPermissionRule) *UpdateDataSetInput { - s.ColumnLevelPermissionRules = v +// SetPolicyArn sets the PolicyArn field's value. +func (s *UpdateIAMPolicyAssignmentOutput) SetPolicyArn(v string) *UpdateIAMPolicyAssignmentOutput { + s.PolicyArn = &v return s } -// SetDataSetId sets the DataSetId field's value. -func (s *UpdateDataSetInput) SetDataSetId(v string) *UpdateDataSetInput { - s.DataSetId = &v +// SetRequestId sets the RequestId field's value. +func (s *UpdateIAMPolicyAssignmentOutput) SetRequestId(v string) *UpdateIAMPolicyAssignmentOutput { + s.RequestId = &v return s } -// SetDataSetUsageConfiguration sets the DataSetUsageConfiguration field's value. -func (s *UpdateDataSetInput) SetDataSetUsageConfiguration(v *DataSetUsageConfiguration) *UpdateDataSetInput { - s.DataSetUsageConfiguration = v +// SetStatus sets the Status field's value. +func (s *UpdateIAMPolicyAssignmentOutput) SetStatus(v int64) *UpdateIAMPolicyAssignmentOutput { + s.Status = &v return s } -// SetFieldFolders sets the FieldFolders field's value. -func (s *UpdateDataSetInput) SetFieldFolders(v map[string]*FieldFolder) *UpdateDataSetInput { - s.FieldFolders = v - return s +type UpdateIpRestrictionInput struct { + _ struct{} `type:"structure"` + + // The ID of the Amazon Web Services account that contains the IP rules. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // A value that specifies whether IP rules are turned on. + Enabled *bool `type:"boolean"` + + // A map that describes the updated IP rules with CIDR ranges and descriptions. + IpRestrictionRuleMap map[string]*string `type:"map"` } -// SetImportMode sets the ImportMode field's value. -func (s *UpdateDataSetInput) SetImportMode(v string) *UpdateDataSetInput { - s.ImportMode = &v - return s +// 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 UpdateIpRestrictionInput) String() string { + return awsutil.Prettify(s) } -// SetLogicalTableMap sets the LogicalTableMap field's value. -func (s *UpdateDataSetInput) SetLogicalTableMap(v map[string]*LogicalTable) *UpdateDataSetInput { - s.LogicalTableMap = v - return 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 UpdateIpRestrictionInput) GoString() string { + return s.String() } -// SetName sets the Name field's value. -func (s *UpdateDataSetInput) SetName(v string) *UpdateDataSetInput { - s.Name = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateIpRestrictionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateIpRestrictionInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetPhysicalTableMap sets the PhysicalTableMap field's value. -func (s *UpdateDataSetInput) SetPhysicalTableMap(v map[string]*PhysicalTable) *UpdateDataSetInput { - s.PhysicalTableMap = v +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *UpdateIpRestrictionInput) SetAwsAccountId(v string) *UpdateIpRestrictionInput { + s.AwsAccountId = &v return s } -// SetRowLevelPermissionDataSet sets the RowLevelPermissionDataSet field's value. -func (s *UpdateDataSetInput) SetRowLevelPermissionDataSet(v *RowLevelPermissionDataSet) *UpdateDataSetInput { - s.RowLevelPermissionDataSet = v +// SetEnabled sets the Enabled field's value. +func (s *UpdateIpRestrictionInput) SetEnabled(v bool) *UpdateIpRestrictionInput { + s.Enabled = &v return s } -// SetRowLevelPermissionTagConfiguration sets the RowLevelPermissionTagConfiguration field's value. -func (s *UpdateDataSetInput) SetRowLevelPermissionTagConfiguration(v *RowLevelPermissionTagConfiguration) *UpdateDataSetInput { - s.RowLevelPermissionTagConfiguration = v +// SetIpRestrictionRuleMap sets the IpRestrictionRuleMap field's value. +func (s *UpdateIpRestrictionInput) SetIpRestrictionRuleMap(v map[string]*string) *UpdateIpRestrictionInput { + s.IpRestrictionRuleMap = v return s } -type UpdateDataSetOutput struct { +type UpdateIpRestrictionOutput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the dataset. - Arn *string `type:"string"` - - // The ID for the dataset that you want to create. This ID is unique per Amazon - // Web Services Region for each Amazon Web Services account. - DataSetId *string `type:"string"` - - // The ARN for the ingestion, which is triggered as a result of dataset creation - // if the import mode is SPICE. - IngestionArn *string `type:"string"` - - // The ID of the ingestion, which is triggered as a result of dataset creation - // if the import mode is SPICE. - IngestionId *string `type:"string"` + // The ID of the Amazon Web Services account that contains the IP rules. + AwsAccountId *string `min:"12" type:"string"` // The Amazon Web Services request ID for this operation. RequestId *string `type:"string"` @@ -42505,7 +76650,7 @@ type UpdateDataSetOutput struct { // 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 UpdateDataSetOutput) String() string { +func (s UpdateIpRestrictionOutput) String() string { return awsutil.Prettify(s) } @@ -42514,65 +76659,154 @@ func (s UpdateDataSetOutput) String() string { // 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 UpdateDataSetOutput) GoString() string { +func (s UpdateIpRestrictionOutput) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *UpdateDataSetOutput) SetArn(v string) *UpdateDataSetOutput { - s.Arn = &v +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *UpdateIpRestrictionOutput) SetAwsAccountId(v string) *UpdateIpRestrictionOutput { + s.AwsAccountId = &v return s } -// SetDataSetId sets the DataSetId field's value. -func (s *UpdateDataSetOutput) SetDataSetId(v string) *UpdateDataSetOutput { - s.DataSetId = &v +// SetRequestId sets the RequestId field's value. +func (s *UpdateIpRestrictionOutput) SetRequestId(v string) *UpdateIpRestrictionOutput { + s.RequestId = &v return s } -// SetIngestionArn sets the IngestionArn field's value. -func (s *UpdateDataSetOutput) SetIngestionArn(v string) *UpdateDataSetOutput { - s.IngestionArn = &v +// SetStatus sets the Status field's value. +func (s *UpdateIpRestrictionOutput) SetStatus(v int64) *UpdateIpRestrictionOutput { + s.Status = &v return s } -// SetIngestionId sets the IngestionId field's value. -func (s *UpdateDataSetOutput) SetIngestionId(v string) *UpdateDataSetOutput { - s.IngestionId = &v +type UpdatePublicSharingSettingsInput struct { + _ struct{} `type:"structure"` + + // The Amazon Web Services account ID associated with your Amazon QuickSight + // subscription. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // A Boolean value that indicates whether public sharing is turned on for an + // Amazon QuickSight account. + PublicSharingEnabled *bool `type:"boolean"` +} + +// 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 UpdatePublicSharingSettingsInput) 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 UpdatePublicSharingSettingsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdatePublicSharingSettingsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdatePublicSharingSettingsInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *UpdatePublicSharingSettingsInput) SetAwsAccountId(v string) *UpdatePublicSharingSettingsInput { + s.AwsAccountId = &v + return s +} + +// SetPublicSharingEnabled sets the PublicSharingEnabled field's value. +func (s *UpdatePublicSharingSettingsInput) SetPublicSharingEnabled(v bool) *UpdatePublicSharingSettingsInput { + s.PublicSharingEnabled = &v return s } +type UpdatePublicSharingSettingsOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// 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 UpdatePublicSharingSettingsOutput) 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 UpdatePublicSharingSettingsOutput) GoString() string { + return s.String() +} + // SetRequestId sets the RequestId field's value. -func (s *UpdateDataSetOutput) SetRequestId(v string) *UpdateDataSetOutput { +func (s *UpdatePublicSharingSettingsOutput) SetRequestId(v string) *UpdatePublicSharingSettingsOutput { s.RequestId = &v return s } // SetStatus sets the Status field's value. -func (s *UpdateDataSetOutput) SetStatus(v int64) *UpdateDataSetOutput { +func (s *UpdatePublicSharingSettingsOutput) SetStatus(v int64) *UpdatePublicSharingSettingsOutput { s.Status = &v return s } -type UpdateDataSetPermissionsInput struct { +type UpdateTemplateAliasInput struct { _ struct{} `type:"structure"` - // The Amazon Web Services account ID. + // The alias of the template that you want to update. If you name a specific + // alias, you update the version that the alias points to. You can specify the + // latest version of the template by providing the keyword $LATEST in the AliasName + // parameter. The keyword $PUBLISHED doesn't apply to templates. + // + // AliasName is a required field + AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"` + + // The ID of the Amazon Web Services account that contains the template alias + // that you're updating. // // AwsAccountId is a required field AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - // The ID for the dataset whose permissions you want to update. This ID is unique - // per Amazon Web Services Region for each Amazon Web Services account. + // The ID for the template. // - // DataSetId is a required field - DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"` - - // The resource permissions that you want to grant to the dataset. - GrantPermissions []*ResourcePermission `min:"1" type:"list"` + // TemplateId is a required field + TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"` - // The resource permissions that you want to revoke from the dataset. - RevokePermissions []*ResourcePermission `min:"1" type:"list"` + // The version number of the template. + // + // TemplateVersionNumber is a required field + TemplateVersionNumber *int64 `min:"1" type:"long" required:"true"` } // String returns the string representation. @@ -42580,7 +76814,7 @@ type UpdateDataSetPermissionsInput struct { // 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 UpdateDataSetPermissionsInput) String() string { +func (s UpdateTemplateAliasInput) String() string { return awsutil.Prettify(s) } @@ -42589,50 +76823,36 @@ func (s UpdateDataSetPermissionsInput) String() string { // 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 UpdateDataSetPermissionsInput) GoString() string { +func (s UpdateTemplateAliasInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateDataSetPermissionsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateDataSetPermissionsInput"} +func (s *UpdateTemplateAliasInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateTemplateAliasInput"} + if s.AliasName == nil { + invalidParams.Add(request.NewErrParamRequired("AliasName")) + } + if s.AliasName != nil && len(*s.AliasName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AliasName", 1)) + } if s.AwsAccountId == nil { invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) } if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) } - if s.DataSetId == nil { - invalidParams.Add(request.NewErrParamRequired("DataSetId")) - } - if s.DataSetId != nil && len(*s.DataSetId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1)) - } - if s.GrantPermissions != nil && len(s.GrantPermissions) < 1 { - invalidParams.Add(request.NewErrParamMinLen("GrantPermissions", 1)) + if s.TemplateId == nil { + invalidParams.Add(request.NewErrParamRequired("TemplateId")) } - if s.RevokePermissions != nil && len(s.RevokePermissions) < 1 { - invalidParams.Add(request.NewErrParamMinLen("RevokePermissions", 1)) + if s.TemplateId != nil && len(*s.TemplateId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1)) } - if s.GrantPermissions != nil { - for i, v := range s.GrantPermissions { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GrantPermissions", i), err.(request.ErrInvalidParams)) - } - } + if s.TemplateVersionNumber == nil { + invalidParams.Add(request.NewErrParamRequired("TemplateVersionNumber")) } - if s.RevokePermissions != nil { - for i, v := range s.RevokePermissions { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RevokePermissions", i), err.(request.ErrInvalidParams)) - } - } + if s.TemplateVersionNumber != nil && *s.TemplateVersionNumber < 1 { + invalidParams.Add(request.NewErrParamMinValue("TemplateVersionNumber", 1)) } if invalidParams.Len() > 0 { @@ -42641,45 +76861,41 @@ func (s *UpdateDataSetPermissionsInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *UpdateDataSetPermissionsInput) SetAwsAccountId(v string) *UpdateDataSetPermissionsInput { - s.AwsAccountId = &v +// SetAliasName sets the AliasName field's value. +func (s *UpdateTemplateAliasInput) SetAliasName(v string) *UpdateTemplateAliasInput { + s.AliasName = &v return s } -// SetDataSetId sets the DataSetId field's value. -func (s *UpdateDataSetPermissionsInput) SetDataSetId(v string) *UpdateDataSetPermissionsInput { - s.DataSetId = &v +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *UpdateTemplateAliasInput) SetAwsAccountId(v string) *UpdateTemplateAliasInput { + s.AwsAccountId = &v return s } -// SetGrantPermissions sets the GrantPermissions field's value. -func (s *UpdateDataSetPermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateDataSetPermissionsInput { - s.GrantPermissions = v +// SetTemplateId sets the TemplateId field's value. +func (s *UpdateTemplateAliasInput) SetTemplateId(v string) *UpdateTemplateAliasInput { + s.TemplateId = &v return s } -// SetRevokePermissions sets the RevokePermissions field's value. -func (s *UpdateDataSetPermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateDataSetPermissionsInput { - s.RevokePermissions = v +// SetTemplateVersionNumber sets the TemplateVersionNumber field's value. +func (s *UpdateTemplateAliasInput) SetTemplateVersionNumber(v int64) *UpdateTemplateAliasInput { + s.TemplateVersionNumber = &v return s } -type UpdateDataSetPermissionsOutput struct { +type UpdateTemplateAliasOutput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the dataset. - DataSetArn *string `type:"string"` - - // The ID for the dataset whose permissions you want to update. This ID is unique - // per Amazon Web Services Region for each Amazon Web Services account. - DataSetId *string `type:"string"` - // The Amazon Web Services request ID for this operation. RequestId *string `type:"string"` // The HTTP status of the request. Status *int64 `location:"statusCode" type:"integer"` + + // The template alias. + TemplateAlias *TemplateAlias `type:"structure"` } // String returns the string representation. @@ -42687,7 +76903,7 @@ type UpdateDataSetPermissionsOutput struct { // 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 UpdateDataSetPermissionsOutput) String() string { +func (s UpdateTemplateAliasOutput) String() string { return awsutil.Prettify(s) } @@ -42696,72 +76912,69 @@ func (s UpdateDataSetPermissionsOutput) String() string { // 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 UpdateDataSetPermissionsOutput) GoString() string { +func (s UpdateTemplateAliasOutput) GoString() string { return s.String() } -// SetDataSetArn sets the DataSetArn field's value. -func (s *UpdateDataSetPermissionsOutput) SetDataSetArn(v string) *UpdateDataSetPermissionsOutput { - s.DataSetArn = &v - return s -} - -// SetDataSetId sets the DataSetId field's value. -func (s *UpdateDataSetPermissionsOutput) SetDataSetId(v string) *UpdateDataSetPermissionsOutput { - s.DataSetId = &v - return s -} - // SetRequestId sets the RequestId field's value. -func (s *UpdateDataSetPermissionsOutput) SetRequestId(v string) *UpdateDataSetPermissionsOutput { +func (s *UpdateTemplateAliasOutput) SetRequestId(v string) *UpdateTemplateAliasOutput { s.RequestId = &v return s } // SetStatus sets the Status field's value. -func (s *UpdateDataSetPermissionsOutput) SetStatus(v int64) *UpdateDataSetPermissionsOutput { +func (s *UpdateTemplateAliasOutput) SetStatus(v int64) *UpdateTemplateAliasOutput { s.Status = &v return s } -type UpdateDataSourceInput struct { +// SetTemplateAlias sets the TemplateAlias field's value. +func (s *UpdateTemplateAliasOutput) SetTemplateAlias(v *TemplateAlias) *UpdateTemplateAliasOutput { + s.TemplateAlias = v + return s +} + +type UpdateTemplateInput struct { _ struct{} `type:"structure"` - // The Amazon Web Services account ID. + // The ID of the Amazon Web Services account that contains the template that + // you're updating. // // AwsAccountId is a required field AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - // The credentials that Amazon QuickSight that uses to connect to your underlying - // source. Currently, only credentials based on user name and password are supported. - // - // Credentials is a sensitive parameter and its value will be - // replaced with "sensitive" in string returned by UpdateDataSourceInput's - // String and GoString methods. - Credentials *DataSourceCredentials `type:"structure" sensitive:"true"` - - // The ID of the data source. This ID is unique per Amazon Web Services Region - // for each Amazon Web Services account. + // The definition of a template. // - // DataSourceId is a required field - DataSourceId *string `location:"uri" locationName:"DataSourceId" type:"string" required:"true"` + // A definition is the data model of all features in a Dashboard, Template, + // or Analysis. + Definition *TemplateVersionDefinition `type:"structure"` - // The parameters that Amazon QuickSight uses to connect to your underlying - // source. - DataSourceParameters *DataSourceParameters `type:"structure"` + // The name for the template. + Name *string `min:"1" type:"string"` - // A display name for the data source. + // The entity that you are using as a source when you update the template. In + // SourceEntity, you specify the type of object you're using as source: SourceTemplate + // for a template or SourceAnalysis for an analysis. Both of these require an + // Amazon Resource Name (ARN). For SourceTemplate, specify the ARN of the source + // template. For SourceAnalysis, specify the ARN of the source analysis. The + // SourceTemplate ARN can contain any Amazon Web Services account and any Amazon + // QuickSight-supported Amazon Web Services Region;. // - // Name is a required field - Name *string `min:"1" type:"string" required:"true"` + // Use the DataSetReferences entity within SourceTemplate or SourceAnalysis + // to list the replacement datasets for the placeholders listed in the original. + // The schema in each dataset must match its placeholder. + SourceEntity *TemplateSourceEntity `type:"structure"` - // Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects - // to your underlying source. - SslProperties *SslProperties `type:"structure"` + // The ID for the template. + // + // TemplateId is a required field + TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"` - // Use this parameter only when you want Amazon QuickSight to use a VPC connection - // when connecting to your underlying source. - VpcConnectionProperties *VpcConnectionProperties `type:"structure"` + // A description of the current template version that is being updated. Every + // time you call UpdateTemplate, you create a new version of the template. Each + // version of the template maintains a description of the version in the VersionDescription + // field. + VersionDescription *string `min:"1" type:"string"` } // String returns the string representation. @@ -42769,7 +76982,7 @@ type UpdateDataSourceInput struct { // 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 UpdateDataSourceInput) String() string { +func (s UpdateTemplateInput) String() string { return awsutil.Prettify(s) } @@ -42778,44 +76991,39 @@ func (s UpdateDataSourceInput) String() string { // 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 UpdateDataSourceInput) GoString() string { +func (s UpdateTemplateInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateDataSourceInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateDataSourceInput"} +func (s *UpdateTemplateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateTemplateInput"} if s.AwsAccountId == nil { invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) } if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) } - if s.DataSourceId == nil { - invalidParams.Add(request.NewErrParamRequired("DataSourceId")) - } - if s.DataSourceId != nil && len(*s.DataSourceId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DataSourceId", 1)) - } - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) - } if s.Name != nil && len(*s.Name) < 1 { invalidParams.Add(request.NewErrParamMinLen("Name", 1)) } - if s.Credentials != nil { - if err := s.Credentials.Validate(); err != nil { - invalidParams.AddNested("Credentials", err.(request.ErrInvalidParams)) - } + if s.TemplateId == nil { + invalidParams.Add(request.NewErrParamRequired("TemplateId")) } - if s.DataSourceParameters != nil { - if err := s.DataSourceParameters.Validate(); err != nil { - invalidParams.AddNested("DataSourceParameters", err.(request.ErrInvalidParams)) + if s.TemplateId != nil && len(*s.TemplateId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1)) + } + if s.VersionDescription != nil && len(*s.VersionDescription) < 1 { + invalidParams.Add(request.NewErrParamMinLen("VersionDescription", 1)) + } + if s.Definition != nil { + if err := s.Definition.Validate(); err != nil { + invalidParams.AddNested("Definition", err.(request.ErrInvalidParams)) } } - if s.VpcConnectionProperties != nil { - if err := s.VpcConnectionProperties.Validate(); err != nil { - invalidParams.AddNested("VpcConnectionProperties", err.(request.ErrInvalidParams)) + if s.SourceEntity != nil { + if err := s.SourceEntity.Validate(); err != nil { + invalidParams.AddNested("SourceEntity", err.(request.ErrInvalidParams)) } } @@ -42826,56 +77034,49 @@ func (s *UpdateDataSourceInput) Validate() error { } // SetAwsAccountId sets the AwsAccountId field's value. -func (s *UpdateDataSourceInput) SetAwsAccountId(v string) *UpdateDataSourceInput { +func (s *UpdateTemplateInput) SetAwsAccountId(v string) *UpdateTemplateInput { s.AwsAccountId = &v return s } -// SetCredentials sets the Credentials field's value. -func (s *UpdateDataSourceInput) SetCredentials(v *DataSourceCredentials) *UpdateDataSourceInput { - s.Credentials = v - return s -} - -// SetDataSourceId sets the DataSourceId field's value. -func (s *UpdateDataSourceInput) SetDataSourceId(v string) *UpdateDataSourceInput { - s.DataSourceId = &v +// SetDefinition sets the Definition field's value. +func (s *UpdateTemplateInput) SetDefinition(v *TemplateVersionDefinition) *UpdateTemplateInput { + s.Definition = v return s } -// SetDataSourceParameters sets the DataSourceParameters field's value. -func (s *UpdateDataSourceInput) SetDataSourceParameters(v *DataSourceParameters) *UpdateDataSourceInput { - s.DataSourceParameters = v +// SetName sets the Name field's value. +func (s *UpdateTemplateInput) SetName(v string) *UpdateTemplateInput { + s.Name = &v return s } -// SetName sets the Name field's value. -func (s *UpdateDataSourceInput) SetName(v string) *UpdateDataSourceInput { - s.Name = &v +// SetSourceEntity sets the SourceEntity field's value. +func (s *UpdateTemplateInput) SetSourceEntity(v *TemplateSourceEntity) *UpdateTemplateInput { + s.SourceEntity = v return s } -// SetSslProperties sets the SslProperties field's value. -func (s *UpdateDataSourceInput) SetSslProperties(v *SslProperties) *UpdateDataSourceInput { - s.SslProperties = v +// SetTemplateId sets the TemplateId field's value. +func (s *UpdateTemplateInput) SetTemplateId(v string) *UpdateTemplateInput { + s.TemplateId = &v return s } -// SetVpcConnectionProperties sets the VpcConnectionProperties field's value. -func (s *UpdateDataSourceInput) SetVpcConnectionProperties(v *VpcConnectionProperties) *UpdateDataSourceInput { - s.VpcConnectionProperties = v +// SetVersionDescription sets the VersionDescription field's value. +func (s *UpdateTemplateInput) SetVersionDescription(v string) *UpdateTemplateInput { + s.VersionDescription = &v return s } -type UpdateDataSourceOutput struct { +type UpdateTemplateOutput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the data source. + // The Amazon Resource Name (ARN) for the template. Arn *string `type:"string"` - // The ID of the data source. This ID is unique per Amazon Web Services Region - // for each Amazon Web Services account. - DataSourceId *string `type:"string"` + // The creation status of the template. + CreationStatus *string `type:"string" enum:"ResourceStatus"` // The Amazon Web Services request ID for this operation. RequestId *string `type:"string"` @@ -42883,8 +77084,12 @@ type UpdateDataSourceOutput struct { // The HTTP status of the request. Status *int64 `location:"statusCode" type:"integer"` - // The update status of the data source's last update. - UpdateStatus *string `type:"string" enum:"ResourceStatus"` + // The ID for the template. + TemplateId *string `min:"1" type:"string"` + + // The ARN for the template, including the version information of the first + // version. + VersionArn *string `type:"string"` } // String returns the string representation. @@ -42892,7 +77097,7 @@ type UpdateDataSourceOutput struct { // 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 UpdateDataSourceOutput) String() string { +func (s UpdateTemplateOutput) String() string { return awsutil.Prettify(s) } @@ -42901,59 +77106,64 @@ func (s UpdateDataSourceOutput) String() string { // 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 UpdateDataSourceOutput) GoString() string { +func (s UpdateTemplateOutput) GoString() string { return s.String() } // SetArn sets the Arn field's value. -func (s *UpdateDataSourceOutput) SetArn(v string) *UpdateDataSourceOutput { +func (s *UpdateTemplateOutput) SetArn(v string) *UpdateTemplateOutput { s.Arn = &v return s } -// SetDataSourceId sets the DataSourceId field's value. -func (s *UpdateDataSourceOutput) SetDataSourceId(v string) *UpdateDataSourceOutput { - s.DataSourceId = &v +// SetCreationStatus sets the CreationStatus field's value. +func (s *UpdateTemplateOutput) SetCreationStatus(v string) *UpdateTemplateOutput { + s.CreationStatus = &v return s } // SetRequestId sets the RequestId field's value. -func (s *UpdateDataSourceOutput) SetRequestId(v string) *UpdateDataSourceOutput { +func (s *UpdateTemplateOutput) SetRequestId(v string) *UpdateTemplateOutput { s.RequestId = &v return s } // SetStatus sets the Status field's value. -func (s *UpdateDataSourceOutput) SetStatus(v int64) *UpdateDataSourceOutput { +func (s *UpdateTemplateOutput) SetStatus(v int64) *UpdateTemplateOutput { s.Status = &v return s } -// SetUpdateStatus sets the UpdateStatus field's value. -func (s *UpdateDataSourceOutput) SetUpdateStatus(v string) *UpdateDataSourceOutput { - s.UpdateStatus = &v +// SetTemplateId sets the TemplateId field's value. +func (s *UpdateTemplateOutput) SetTemplateId(v string) *UpdateTemplateOutput { + s.TemplateId = &v return s } -type UpdateDataSourcePermissionsInput struct { +// SetVersionArn sets the VersionArn field's value. +func (s *UpdateTemplateOutput) SetVersionArn(v string) *UpdateTemplateOutput { + s.VersionArn = &v + return s +} + +type UpdateTemplatePermissionsInput struct { _ struct{} `type:"structure"` - // The Amazon Web Services account ID. + // The ID of the Amazon Web Services account that contains the template. // // AwsAccountId is a required field AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - // The ID of the data source. This ID is unique per Amazon Web Services Region - // for each Amazon Web Services account. - // - // DataSourceId is a required field - DataSourceId *string `location:"uri" locationName:"DataSourceId" type:"string" required:"true"` + // A list of resource permissions to be granted on the template. + GrantPermissions []*ResourcePermission `type:"list"` - // A list of resource permissions that you want to grant on the data source. - GrantPermissions []*ResourcePermission `min:"1" type:"list"` + // A list of resource permissions to be revoked from the template. + RevokePermissions []*ResourcePermission `type:"list"` - // A list of resource permissions that you want to revoke on the data source. - RevokePermissions []*ResourcePermission `min:"1" type:"list"` + // The ID for the template. + // + // TemplateId is a required field + TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -42961,7 +77171,7 @@ type UpdateDataSourcePermissionsInput struct { // 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 UpdateDataSourcePermissionsInput) String() string { +func (s UpdateTemplatePermissionsInput) String() string { return awsutil.Prettify(s) } @@ -42970,30 +77180,24 @@ func (s UpdateDataSourcePermissionsInput) String() string { // 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 UpdateDataSourcePermissionsInput) GoString() string { +func (s UpdateTemplatePermissionsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateDataSourcePermissionsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateDataSourcePermissionsInput"} +func (s *UpdateTemplatePermissionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateTemplatePermissionsInput"} if s.AwsAccountId == nil { invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) } if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) } - if s.DataSourceId == nil { - invalidParams.Add(request.NewErrParamRequired("DataSourceId")) - } - if s.DataSourceId != nil && len(*s.DataSourceId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DataSourceId", 1)) - } - if s.GrantPermissions != nil && len(s.GrantPermissions) < 1 { - invalidParams.Add(request.NewErrParamMinLen("GrantPermissions", 1)) + if s.TemplateId == nil { + invalidParams.Add(request.NewErrParamRequired("TemplateId")) } - if s.RevokePermissions != nil && len(s.RevokePermissions) < 1 { - invalidParams.Add(request.NewErrParamMinLen("RevokePermissions", 1)) + if s.TemplateId != nil && len(*s.TemplateId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1)) } if s.GrantPermissions != nil { for i, v := range s.GrantPermissions { @@ -43023,44 +77227,46 @@ func (s *UpdateDataSourcePermissionsInput) Validate() error { } // SetAwsAccountId sets the AwsAccountId field's value. -func (s *UpdateDataSourcePermissionsInput) SetAwsAccountId(v string) *UpdateDataSourcePermissionsInput { +func (s *UpdateTemplatePermissionsInput) SetAwsAccountId(v string) *UpdateTemplatePermissionsInput { s.AwsAccountId = &v return s } -// SetDataSourceId sets the DataSourceId field's value. -func (s *UpdateDataSourcePermissionsInput) SetDataSourceId(v string) *UpdateDataSourcePermissionsInput { - s.DataSourceId = &v - return s -} - // SetGrantPermissions sets the GrantPermissions field's value. -func (s *UpdateDataSourcePermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateDataSourcePermissionsInput { +func (s *UpdateTemplatePermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateTemplatePermissionsInput { s.GrantPermissions = v return s } // SetRevokePermissions sets the RevokePermissions field's value. -func (s *UpdateDataSourcePermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateDataSourcePermissionsInput { +func (s *UpdateTemplatePermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateTemplatePermissionsInput { s.RevokePermissions = v return s } -type UpdateDataSourcePermissionsOutput struct { - _ struct{} `type:"structure"` +// SetTemplateId sets the TemplateId field's value. +func (s *UpdateTemplatePermissionsInput) SetTemplateId(v string) *UpdateTemplatePermissionsInput { + s.TemplateId = &v + return s +} - // The Amazon Resource Name (ARN) of the data source. - DataSourceArn *string `type:"string"` +type UpdateTemplatePermissionsOutput struct { + _ struct{} `type:"structure"` - // The ID of the data source. This ID is unique per Amazon Web Services Region - // for each Amazon Web Services account. - DataSourceId *string `type:"string"` + // A list of resource permissions to be set on the template. + Permissions []*ResourcePermission `min:"1" type:"list"` // The Amazon Web Services request ID for this operation. RequestId *string `type:"string"` // The HTTP status of the request. Status *int64 `location:"statusCode" type:"integer"` + + // The Amazon Resource Name (ARN) of the template. + TemplateArn *string `type:"string"` + + // The ID for the template. + TemplateId *string `min:"1" type:"string"` } // String returns the string representation. @@ -43068,7 +77274,7 @@ type UpdateDataSourcePermissionsOutput struct { // 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 UpdateDataSourcePermissionsOutput) String() string { +func (s UpdateTemplatePermissionsOutput) String() string { return awsutil.Prettify(s) } @@ -43077,51 +77283,63 @@ func (s UpdateDataSourcePermissionsOutput) String() string { // 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 UpdateDataSourcePermissionsOutput) GoString() string { +func (s UpdateTemplatePermissionsOutput) GoString() string { return s.String() } -// SetDataSourceArn sets the DataSourceArn field's value. -func (s *UpdateDataSourcePermissionsOutput) SetDataSourceArn(v string) *UpdateDataSourcePermissionsOutput { - s.DataSourceArn = &v - return s -} - -// SetDataSourceId sets the DataSourceId field's value. -func (s *UpdateDataSourcePermissionsOutput) SetDataSourceId(v string) *UpdateDataSourcePermissionsOutput { - s.DataSourceId = &v +// SetPermissions sets the Permissions field's value. +func (s *UpdateTemplatePermissionsOutput) SetPermissions(v []*ResourcePermission) *UpdateTemplatePermissionsOutput { + s.Permissions = v return s } // SetRequestId sets the RequestId field's value. -func (s *UpdateDataSourcePermissionsOutput) SetRequestId(v string) *UpdateDataSourcePermissionsOutput { +func (s *UpdateTemplatePermissionsOutput) SetRequestId(v string) *UpdateTemplatePermissionsOutput { s.RequestId = &v return s } // SetStatus sets the Status field's value. -func (s *UpdateDataSourcePermissionsOutput) SetStatus(v int64) *UpdateDataSourcePermissionsOutput { +func (s *UpdateTemplatePermissionsOutput) SetStatus(v int64) *UpdateTemplatePermissionsOutput { s.Status = &v return s } -type UpdateFolderInput struct { +// SetTemplateArn sets the TemplateArn field's value. +func (s *UpdateTemplatePermissionsOutput) SetTemplateArn(v string) *UpdateTemplatePermissionsOutput { + s.TemplateArn = &v + return s +} + +// SetTemplateId sets the TemplateId field's value. +func (s *UpdateTemplatePermissionsOutput) SetTemplateId(v string) *UpdateTemplatePermissionsOutput { + s.TemplateId = &v + return s +} + +type UpdateThemeAliasInput struct { _ struct{} `type:"structure"` - // The ID for the Amazon Web Services account that contains the folder to update. + // The name of the theme alias that you want to update. + // + // AliasName is a required field + AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"` + + // The ID of the Amazon Web Services account that contains the theme alias that + // you're updating. // // AwsAccountId is a required field AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - // The ID of the folder. + // The ID for the theme. // - // FolderId is a required field - FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"` + // ThemeId is a required field + ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"` - // The name of the folder. + // The version number of the theme that the alias should reference. // - // Name is a required field - Name *string `min:"1" type:"string" required:"true"` + // ThemeVersionNumber is a required field + ThemeVersionNumber *int64 `min:"1" type:"long" required:"true"` } // String returns the string representation. @@ -43129,7 +77347,7 @@ type UpdateFolderInput struct { // 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 UpdateFolderInput) String() string { +func (s UpdateThemeAliasInput) String() string { return awsutil.Prettify(s) } @@ -43138,30 +77356,36 @@ func (s UpdateFolderInput) String() string { // 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 UpdateFolderInput) GoString() string { +func (s UpdateThemeAliasInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateFolderInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateFolderInput"} +func (s *UpdateThemeAliasInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateThemeAliasInput"} + if s.AliasName == nil { + invalidParams.Add(request.NewErrParamRequired("AliasName")) + } + if s.AliasName != nil && len(*s.AliasName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AliasName", 1)) + } if s.AwsAccountId == nil { invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) } if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) } - if s.FolderId == nil { - invalidParams.Add(request.NewErrParamRequired("FolderId")) + if s.ThemeId == nil { + invalidParams.Add(request.NewErrParamRequired("ThemeId")) } - if s.FolderId != nil && len(*s.FolderId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("FolderId", 1)) + if s.ThemeId != nil && len(*s.ThemeId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1)) } - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) + if s.ThemeVersionNumber == nil { + invalidParams.Add(request.NewErrParamRequired("ThemeVersionNumber")) } - if s.Name != nil && len(*s.Name) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + if s.ThemeVersionNumber != nil && *s.ThemeVersionNumber < 1 { + invalidParams.Add(request.NewErrParamMinValue("ThemeVersionNumber", 1)) } if invalidParams.Len() > 0 { @@ -43170,38 +77394,41 @@ func (s *UpdateFolderInput) Validate() error { return nil } +// SetAliasName sets the AliasName field's value. +func (s *UpdateThemeAliasInput) SetAliasName(v string) *UpdateThemeAliasInput { + s.AliasName = &v + return s +} + // SetAwsAccountId sets the AwsAccountId field's value. -func (s *UpdateFolderInput) SetAwsAccountId(v string) *UpdateFolderInput { +func (s *UpdateThemeAliasInput) SetAwsAccountId(v string) *UpdateThemeAliasInput { s.AwsAccountId = &v return s } -// SetFolderId sets the FolderId field's value. -func (s *UpdateFolderInput) SetFolderId(v string) *UpdateFolderInput { - s.FolderId = &v +// SetThemeId sets the ThemeId field's value. +func (s *UpdateThemeAliasInput) SetThemeId(v string) *UpdateThemeAliasInput { + s.ThemeId = &v return s } -// SetName sets the Name field's value. -func (s *UpdateFolderInput) SetName(v string) *UpdateFolderInput { - s.Name = &v +// SetThemeVersionNumber sets the ThemeVersionNumber field's value. +func (s *UpdateThemeAliasInput) SetThemeVersionNumber(v int64) *UpdateThemeAliasInput { + s.ThemeVersionNumber = &v return s } -type UpdateFolderOutput struct { +type UpdateThemeAliasOutput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the folder. - Arn *string `type:"string"` - - // The ID of the folder. - FolderId *string `min:"1" type:"string"` - // The Amazon Web Services request ID for this operation. RequestId *string `type:"string"` // The HTTP status of the request. Status *int64 `location:"statusCode" type:"integer"` + + // Information about the theme alias. + ThemeAlias *ThemeAlias `type:"structure"` } // String returns the string representation. @@ -43209,7 +77436,7 @@ type UpdateFolderOutput struct { // 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 UpdateFolderOutput) String() string { +func (s UpdateThemeAliasOutput) String() string { return awsutil.Prettify(s) } @@ -43218,52 +77445,58 @@ func (s UpdateFolderOutput) String() string { // 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 UpdateFolderOutput) GoString() string { +func (s UpdateThemeAliasOutput) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *UpdateFolderOutput) SetArn(v string) *UpdateFolderOutput { - s.Arn = &v - return s -} - -// SetFolderId sets the FolderId field's value. -func (s *UpdateFolderOutput) SetFolderId(v string) *UpdateFolderOutput { - s.FolderId = &v - return s -} - // SetRequestId sets the RequestId field's value. -func (s *UpdateFolderOutput) SetRequestId(v string) *UpdateFolderOutput { +func (s *UpdateThemeAliasOutput) SetRequestId(v string) *UpdateThemeAliasOutput { s.RequestId = &v return s } // SetStatus sets the Status field's value. -func (s *UpdateFolderOutput) SetStatus(v int64) *UpdateFolderOutput { +func (s *UpdateThemeAliasOutput) SetStatus(v int64) *UpdateThemeAliasOutput { s.Status = &v return s } -type UpdateFolderPermissionsInput struct { +// SetThemeAlias sets the ThemeAlias field's value. +func (s *UpdateThemeAliasOutput) SetThemeAlias(v *ThemeAlias) *UpdateThemeAliasOutput { + s.ThemeAlias = v + return s +} + +type UpdateThemeInput struct { _ struct{} `type:"structure"` - // The ID for the Amazon Web Services account that contains the folder to update. + // The ID of the Amazon Web Services account that contains the theme that you're + // updating. // // AwsAccountId is a required field AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - // The ID of the folder. + // The theme ID, defined by Amazon QuickSight, that a custom theme inherits + // from. All themes initially inherit from a default Amazon QuickSight theme. // - // FolderId is a required field - FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"` + // BaseThemeId is a required field + BaseThemeId *string `min:"1" type:"string" required:"true"` - // The permissions that you want to grant on a resource. - GrantPermissions []*ResourcePermission `min:"1" type:"list"` + // The theme configuration, which contains the theme display properties. + Configuration *ThemeConfiguration `type:"structure"` - // The permissions that you want to revoke from a resource. - RevokePermissions []*ResourcePermission `min:"1" type:"list"` + // The name for the theme. + Name *string `min:"1" type:"string"` + + // The ID for the theme. + // + // ThemeId is a required field + ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"` + + // A description of the theme version that you're updating Every time that you + // call UpdateTheme, you create a new version of the theme. Each version of + // the theme maintains a description of the version in VersionDescription. + VersionDescription *string `min:"1" type:"string"` } // String returns the string representation. @@ -43271,7 +77504,7 @@ type UpdateFolderPermissionsInput struct { // 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 UpdateFolderPermissionsInput) String() string { +func (s UpdateThemeInput) String() string { return awsutil.Prettify(s) } @@ -43280,50 +77513,36 @@ func (s UpdateFolderPermissionsInput) String() string { // 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 UpdateFolderPermissionsInput) GoString() string { +func (s UpdateThemeInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateFolderPermissionsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateFolderPermissionsInput"} +func (s *UpdateThemeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateThemeInput"} if s.AwsAccountId == nil { invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) } if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) } - if s.FolderId == nil { - invalidParams.Add(request.NewErrParamRequired("FolderId")) + if s.BaseThemeId == nil { + invalidParams.Add(request.NewErrParamRequired("BaseThemeId")) } - if s.FolderId != nil && len(*s.FolderId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("FolderId", 1)) + if s.BaseThemeId != nil && len(*s.BaseThemeId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("BaseThemeId", 1)) } - if s.GrantPermissions != nil && len(s.GrantPermissions) < 1 { - invalidParams.Add(request.NewErrParamMinLen("GrantPermissions", 1)) + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) } - if s.RevokePermissions != nil && len(s.RevokePermissions) < 1 { - invalidParams.Add(request.NewErrParamMinLen("RevokePermissions", 1)) + if s.ThemeId == nil { + invalidParams.Add(request.NewErrParamRequired("ThemeId")) } - if s.GrantPermissions != nil { - for i, v := range s.GrantPermissions { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GrantPermissions", i), err.(request.ErrInvalidParams)) - } - } + if s.ThemeId != nil && len(*s.ThemeId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1)) } - if s.RevokePermissions != nil { - for i, v := range s.RevokePermissions { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RevokePermissions", i), err.(request.ErrInvalidParams)) - } - } + if s.VersionDescription != nil && len(*s.VersionDescription) < 1 { + invalidParams.Add(request.NewErrParamMinLen("VersionDescription", 1)) } if invalidParams.Len() > 0 { @@ -43333,46 +77552,61 @@ func (s *UpdateFolderPermissionsInput) Validate() error { } // SetAwsAccountId sets the AwsAccountId field's value. -func (s *UpdateFolderPermissionsInput) SetAwsAccountId(v string) *UpdateFolderPermissionsInput { +func (s *UpdateThemeInput) SetAwsAccountId(v string) *UpdateThemeInput { s.AwsAccountId = &v return s } -// SetFolderId sets the FolderId field's value. -func (s *UpdateFolderPermissionsInput) SetFolderId(v string) *UpdateFolderPermissionsInput { - s.FolderId = &v +// SetBaseThemeId sets the BaseThemeId field's value. +func (s *UpdateThemeInput) SetBaseThemeId(v string) *UpdateThemeInput { + s.BaseThemeId = &v return s } -// SetGrantPermissions sets the GrantPermissions field's value. -func (s *UpdateFolderPermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateFolderPermissionsInput { - s.GrantPermissions = v +// SetConfiguration sets the Configuration field's value. +func (s *UpdateThemeInput) SetConfiguration(v *ThemeConfiguration) *UpdateThemeInput { + s.Configuration = v return s } -// SetRevokePermissions sets the RevokePermissions field's value. -func (s *UpdateFolderPermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateFolderPermissionsInput { - s.RevokePermissions = v +// SetName sets the Name field's value. +func (s *UpdateThemeInput) SetName(v string) *UpdateThemeInput { + s.Name = &v return s } -type UpdateFolderPermissionsOutput struct { +// SetThemeId sets the ThemeId field's value. +func (s *UpdateThemeInput) SetThemeId(v string) *UpdateThemeInput { + s.ThemeId = &v + return s +} + +// SetVersionDescription sets the VersionDescription field's value. +func (s *UpdateThemeInput) SetVersionDescription(v string) *UpdateThemeInput { + s.VersionDescription = &v + return s +} + +type UpdateThemeOutput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the folder. + // The Amazon Resource Name (ARN) for the theme. Arn *string `type:"string"` - // The ID of the folder. - FolderId *string `min:"1" type:"string"` - - // Information about the permissions for the folder. - Permissions []*ResourcePermission `min:"1" type:"list"` + // The creation status of the theme. + CreationStatus *string `type:"string" enum:"ResourceStatus"` // The Amazon Web Services request ID for this operation. RequestId *string `type:"string"` // The HTTP status of the request. - Status *int64 `type:"integer"` + Status *int64 `location:"statusCode" type:"integer"` + + // The ID for the theme. + ThemeId *string `min:"1" type:"string"` + + // The Amazon Resource Name (ARN) for the new version of the theme. + VersionArn *string `type:"string"` } // String returns the string representation. @@ -43380,7 +77614,7 @@ type UpdateFolderPermissionsOutput struct { // 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 UpdateFolderPermissionsOutput) String() string { +func (s UpdateThemeOutput) String() string { return awsutil.Prettify(s) } @@ -43389,62 +77623,64 @@ func (s UpdateFolderPermissionsOutput) String() string { // 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 UpdateFolderPermissionsOutput) GoString() string { +func (s UpdateThemeOutput) GoString() string { return s.String() } // SetArn sets the Arn field's value. -func (s *UpdateFolderPermissionsOutput) SetArn(v string) *UpdateFolderPermissionsOutput { +func (s *UpdateThemeOutput) SetArn(v string) *UpdateThemeOutput { s.Arn = &v return s } -// SetFolderId sets the FolderId field's value. -func (s *UpdateFolderPermissionsOutput) SetFolderId(v string) *UpdateFolderPermissionsOutput { - s.FolderId = &v - return s -} - -// SetPermissions sets the Permissions field's value. -func (s *UpdateFolderPermissionsOutput) SetPermissions(v []*ResourcePermission) *UpdateFolderPermissionsOutput { - s.Permissions = v +// SetCreationStatus sets the CreationStatus field's value. +func (s *UpdateThemeOutput) SetCreationStatus(v string) *UpdateThemeOutput { + s.CreationStatus = &v return s } // SetRequestId sets the RequestId field's value. -func (s *UpdateFolderPermissionsOutput) SetRequestId(v string) *UpdateFolderPermissionsOutput { +func (s *UpdateThemeOutput) SetRequestId(v string) *UpdateThemeOutput { s.RequestId = &v return s } // SetStatus sets the Status field's value. -func (s *UpdateFolderPermissionsOutput) SetStatus(v int64) *UpdateFolderPermissionsOutput { +func (s *UpdateThemeOutput) SetStatus(v int64) *UpdateThemeOutput { s.Status = &v return s } -type UpdateGroupInput struct { +// SetThemeId sets the ThemeId field's value. +func (s *UpdateThemeOutput) SetThemeId(v string) *UpdateThemeOutput { + s.ThemeId = &v + return s +} + +// SetVersionArn sets the VersionArn field's value. +func (s *UpdateThemeOutput) SetVersionArn(v string) *UpdateThemeOutput { + s.VersionArn = &v + return s +} + +type UpdateThemePermissionsInput struct { _ struct{} `type:"structure"` - // The ID for the Amazon Web Services account that the group is in. Currently, - // you use the ID for the Amazon Web Services account that contains your Amazon - // QuickSight account. + // The ID of the Amazon Web Services account that contains the theme. // // AwsAccountId is a required field AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - // The description for the group that you want to update. - Description *string `min:"1" type:"string"` + // A list of resource permissions to be granted for the theme. + GrantPermissions []*ResourcePermission `type:"list"` - // The name of the group that you want to update. - // - // GroupName is a required field - GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"` + // A list of resource permissions to be revoked from the theme. + RevokePermissions []*ResourcePermission `type:"list"` - // The namespace of the group that you want to update. + // The ID for the theme. // - // Namespace is a required field - Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` + // ThemeId is a required field + ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -43452,7 +77688,7 @@ type UpdateGroupInput struct { // 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 UpdateGroupInput) String() string { +func (s UpdateThemePermissionsInput) String() string { return awsutil.Prettify(s) } @@ -43461,33 +77697,44 @@ func (s UpdateGroupInput) String() string { // 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 UpdateGroupInput) GoString() string { +func (s UpdateThemePermissionsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateGroupInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateGroupInput"} +func (s *UpdateThemePermissionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateThemePermissionsInput"} if s.AwsAccountId == nil { invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) } if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) } - if s.Description != nil && len(*s.Description) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Description", 1)) - } - if s.GroupName == nil { - invalidParams.Add(request.NewErrParamRequired("GroupName")) + if s.ThemeId == nil { + invalidParams.Add(request.NewErrParamRequired("ThemeId")) } - if s.GroupName != nil && len(*s.GroupName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("GroupName", 1)) + if s.ThemeId != nil && len(*s.ThemeId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1)) } - if s.Namespace == nil { - invalidParams.Add(request.NewErrParamRequired("Namespace")) + if s.GrantPermissions != nil { + for i, v := range s.GrantPermissions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GrantPermissions", i), err.(request.ErrInvalidParams)) + } + } } - if s.Namespace != nil && len(*s.Namespace) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + if s.RevokePermissions != nil { + for i, v := range s.RevokePermissions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RevokePermissions", i), err.(request.ErrInvalidParams)) + } + } } if invalidParams.Len() > 0 { @@ -43497,40 +77744,46 @@ func (s *UpdateGroupInput) Validate() error { } // SetAwsAccountId sets the AwsAccountId field's value. -func (s *UpdateGroupInput) SetAwsAccountId(v string) *UpdateGroupInput { +func (s *UpdateThemePermissionsInput) SetAwsAccountId(v string) *UpdateThemePermissionsInput { s.AwsAccountId = &v return s } -// SetDescription sets the Description field's value. -func (s *UpdateGroupInput) SetDescription(v string) *UpdateGroupInput { - s.Description = &v +// SetGrantPermissions sets the GrantPermissions field's value. +func (s *UpdateThemePermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateThemePermissionsInput { + s.GrantPermissions = v return s } -// SetGroupName sets the GroupName field's value. -func (s *UpdateGroupInput) SetGroupName(v string) *UpdateGroupInput { - s.GroupName = &v +// SetRevokePermissions sets the RevokePermissions field's value. +func (s *UpdateThemePermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateThemePermissionsInput { + s.RevokePermissions = v return s } -// SetNamespace sets the Namespace field's value. -func (s *UpdateGroupInput) SetNamespace(v string) *UpdateGroupInput { - s.Namespace = &v +// SetThemeId sets the ThemeId field's value. +func (s *UpdateThemePermissionsInput) SetThemeId(v string) *UpdateThemePermissionsInput { + s.ThemeId = &v return s } -type UpdateGroupOutput struct { +type UpdateThemePermissionsOutput struct { _ struct{} `type:"structure"` - // The name of the group. - Group *Group `type:"structure"` + // The resulting list of resource permissions for the theme. + Permissions []*ResourcePermission `min:"1" type:"list"` // The Amazon Web Services request ID for this operation. RequestId *string `type:"string"` // The HTTP status of the request. Status *int64 `location:"statusCode" type:"integer"` + + // The Amazon Resource Name (ARN) of the theme. + ThemeArn *string `type:"string"` + + // The ID for the theme. + ThemeId *string `min:"1" type:"string"` } // String returns the string representation. @@ -43538,7 +77791,7 @@ type UpdateGroupOutput struct { // 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 UpdateGroupOutput) String() string { +func (s UpdateThemePermissionsOutput) String() string { return awsutil.Prettify(s) } @@ -43547,65 +77800,139 @@ func (s UpdateGroupOutput) String() string { // 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 UpdateGroupOutput) GoString() string { +func (s UpdateThemePermissionsOutput) GoString() string { return s.String() } -// SetGroup sets the Group field's value. -func (s *UpdateGroupOutput) SetGroup(v *Group) *UpdateGroupOutput { - s.Group = v +// SetPermissions sets the Permissions field's value. +func (s *UpdateThemePermissionsOutput) SetPermissions(v []*ResourcePermission) *UpdateThemePermissionsOutput { + s.Permissions = v return s } // SetRequestId sets the RequestId field's value. -func (s *UpdateGroupOutput) SetRequestId(v string) *UpdateGroupOutput { +func (s *UpdateThemePermissionsOutput) SetRequestId(v string) *UpdateThemePermissionsOutput { s.RequestId = &v return s } // SetStatus sets the Status field's value. -func (s *UpdateGroupOutput) SetStatus(v int64) *UpdateGroupOutput { +func (s *UpdateThemePermissionsOutput) SetStatus(v int64) *UpdateThemePermissionsOutput { s.Status = &v return s } -type UpdateIAMPolicyAssignmentInput struct { +// SetThemeArn sets the ThemeArn field's value. +func (s *UpdateThemePermissionsOutput) SetThemeArn(v string) *UpdateThemePermissionsOutput { + s.ThemeArn = &v + return s +} + +// SetThemeId sets the ThemeId field's value. +func (s *UpdateThemePermissionsOutput) SetThemeId(v string) *UpdateThemePermissionsOutput { + s.ThemeId = &v + return s +} + +type UpdateUserInput struct { _ struct{} `type:"structure"` - // The name of the assignment, also called a rule. This name must be unique - // within an Amazon Web Services account. + // The ID for the Amazon Web Services account that the user is in. Currently, + // you use the ID for the Amazon Web Services account that contains your Amazon + // QuickSight account. // - // AssignmentName is a required field - AssignmentName *string `location:"uri" locationName:"AssignmentName" min:"1" type:"string" required:"true"` + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - // The status of the assignment. Possible values are as follows: + // The URL of the custom OpenID Connect (OIDC) provider that provides identity + // to let a user federate into Amazon QuickSight with an associated Identity + // and Access Management(IAM) role. This parameter should only be used when + // ExternalLoginFederationProviderType parameter is set to CUSTOM_OIDC. + CustomFederationProviderUrl *string `type:"string"` + + // (Enterprise edition only) The name of the custom permissions profile that + // you want to assign to this user. Customized permissions allows you to control + // a user's access by restricting access the following operations: // - // * ENABLED - Anything specified in this assignment is used when creating - // the data source. + // * Create and update data sources // - // * DISABLED - This assignment isn't used when creating the data source. + // * Create and update datasets // - // * DRAFT - This assignment is an unfinished draft and isn't used when creating - // the data source. - AssignmentStatus *string `type:"string" enum:"AssignmentStatus"` + // * Create and update email reports + // + // * Subscribe to email reports + // + // A set of custom permissions includes any combination of these restrictions. + // Currently, you need to create the profile names for custom permission sets + // by using the Amazon QuickSight console. Then, you use the RegisterUser API + // operation to assign the named set of permissions to a Amazon QuickSight user. + // + // Amazon QuickSight custom permissions are applied through IAM policies. Therefore, + // they override the permissions typically granted by assigning Amazon QuickSight + // users to one of the default security cohorts in Amazon QuickSight (admin, + // author, reader). + // + // This feature is available only to Amazon QuickSight Enterprise edition subscriptions. + CustomPermissionsName *string `min:"1" type:"string"` - // The ID of the Amazon Web Services account that contains the IAM policy assignment. + // The email address of the user that you want to update. // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // Email is a required field + Email *string `type:"string" required:"true"` - // The Amazon QuickSight users, groups, or both that you want to assign the - // policy to. - Identities map[string][]*string `type:"map"` + // The type of supported external login provider that provides identity to let + // a user federate into Amazon QuickSight with an associated Identity and Access + // Management(IAM) role. The type of supported external login provider can be + // one of the following. + // + // * COGNITO: Amazon Cognito. The provider URL is cognito-identity.amazonaws.com. + // When choosing the COGNITO provider type, don’t use the "CustomFederationProviderUrl" + // parameter which is only needed when the external provider is custom. + // + // * CUSTOM_OIDC: Custom OpenID Connect (OIDC) provider. When choosing CUSTOM_OIDC + // type, use the CustomFederationProviderUrl parameter to provide the custom + // OIDC provider URL. + // + // * NONE: This clears all the previously saved external login information + // for a user. Use the DescribeUser (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_DescribeUser.html) + // API operation to check the external login information. + ExternalLoginFederationProviderType *string `type:"string"` - // The namespace of the assignment. + // The identity ID for a user in the external login provider. + ExternalLoginId *string `type:"string"` + + // The namespace. Currently, you should set this to default. // // Namespace is a required field Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` - // The ARN for the IAM policy to apply to the Amazon QuickSight users and groups - // specified in this assignment. - PolicyArn *string `type:"string"` + // The Amazon QuickSight role of the user. The role can be one of the following + // default security cohorts: + // + // * READER: A user who has read-only access to dashboards. + // + // * AUTHOR: A user who can create data sources, datasets, analyses, and + // dashboards. + // + // * ADMIN: A user who is an author, who can also manage Amazon QuickSight + // settings. + // + // The name of the Amazon QuickSight role is invisible to the user except for + // the console screens dealing with permissions. + // + // Role is a required field + Role *string `type:"string" required:"true" enum:"UserRole"` + + // A flag that you use to indicate that you want to remove all custom permissions + // from this user. Using this parameter resets the user to the state it was + // in before a custom permissions profile was applied. This parameter defaults + // to NULL and it doesn't accept any other value. + UnapplyCustomPermissions *bool `type:"boolean"` + + // The Amazon QuickSight user name that you want to update. + // + // UserName is a required field + UserName *string `location:"uri" locationName:"UserName" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -43613,7 +77940,7 @@ type UpdateIAMPolicyAssignmentInput struct { // 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 UpdateIAMPolicyAssignmentInput) String() string { +func (s UpdateUserInput) String() string { return awsutil.Prettify(s) } @@ -43622,31 +77949,40 @@ func (s UpdateIAMPolicyAssignmentInput) String() string { // 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 UpdateIAMPolicyAssignmentInput) GoString() string { +func (s UpdateUserInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateIAMPolicyAssignmentInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateIAMPolicyAssignmentInput"} - if s.AssignmentName == nil { - invalidParams.Add(request.NewErrParamRequired("AssignmentName")) - } - if s.AssignmentName != nil && len(*s.AssignmentName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("AssignmentName", 1)) - } +func (s *UpdateUserInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateUserInput"} if s.AwsAccountId == nil { invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) } if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) } + if s.CustomPermissionsName != nil && len(*s.CustomPermissionsName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("CustomPermissionsName", 1)) + } + if s.Email == nil { + invalidParams.Add(request.NewErrParamRequired("Email")) + } if s.Namespace == nil { invalidParams.Add(request.NewErrParamRequired("Namespace")) } if s.Namespace != nil && len(*s.Namespace) < 1 { invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) } + if s.Role == nil { + invalidParams.Add(request.NewErrParamRequired("Role")) + } + if s.UserName == nil { + invalidParams.Add(request.NewErrParamRequired("UserName")) + } + if s.UserName != nil && len(*s.UserName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserName", 1)) + } if invalidParams.Len() > 0 { return invalidParams @@ -43654,75 +77990,77 @@ func (s *UpdateIAMPolicyAssignmentInput) Validate() error { return nil } -// SetAssignmentName sets the AssignmentName field's value. -func (s *UpdateIAMPolicyAssignmentInput) SetAssignmentName(v string) *UpdateIAMPolicyAssignmentInput { - s.AssignmentName = &v +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *UpdateUserInput) SetAwsAccountId(v string) *UpdateUserInput { + s.AwsAccountId = &v return s } -// SetAssignmentStatus sets the AssignmentStatus field's value. -func (s *UpdateIAMPolicyAssignmentInput) SetAssignmentStatus(v string) *UpdateIAMPolicyAssignmentInput { - s.AssignmentStatus = &v +// SetCustomFederationProviderUrl sets the CustomFederationProviderUrl field's value. +func (s *UpdateUserInput) SetCustomFederationProviderUrl(v string) *UpdateUserInput { + s.CustomFederationProviderUrl = &v return s } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *UpdateIAMPolicyAssignmentInput) SetAwsAccountId(v string) *UpdateIAMPolicyAssignmentInput { - s.AwsAccountId = &v +// SetCustomPermissionsName sets the CustomPermissionsName field's value. +func (s *UpdateUserInput) SetCustomPermissionsName(v string) *UpdateUserInput { + s.CustomPermissionsName = &v return s } -// SetIdentities sets the Identities field's value. -func (s *UpdateIAMPolicyAssignmentInput) SetIdentities(v map[string][]*string) *UpdateIAMPolicyAssignmentInput { - s.Identities = v +// SetEmail sets the Email field's value. +func (s *UpdateUserInput) SetEmail(v string) *UpdateUserInput { + s.Email = &v return s } -// SetNamespace sets the Namespace field's value. -func (s *UpdateIAMPolicyAssignmentInput) SetNamespace(v string) *UpdateIAMPolicyAssignmentInput { - s.Namespace = &v +// SetExternalLoginFederationProviderType sets the ExternalLoginFederationProviderType field's value. +func (s *UpdateUserInput) SetExternalLoginFederationProviderType(v string) *UpdateUserInput { + s.ExternalLoginFederationProviderType = &v return s } -// SetPolicyArn sets the PolicyArn field's value. -func (s *UpdateIAMPolicyAssignmentInput) SetPolicyArn(v string) *UpdateIAMPolicyAssignmentInput { - s.PolicyArn = &v +// SetExternalLoginId sets the ExternalLoginId field's value. +func (s *UpdateUserInput) SetExternalLoginId(v string) *UpdateUserInput { + s.ExternalLoginId = &v return s } -type UpdateIAMPolicyAssignmentOutput struct { - _ struct{} `type:"structure"` - - // The ID of the assignment. - AssignmentId *string `type:"string"` +// SetNamespace sets the Namespace field's value. +func (s *UpdateUserInput) SetNamespace(v string) *UpdateUserInput { + s.Namespace = &v + return s +} - // The name of the assignment or rule. - AssignmentName *string `min:"1" type:"string"` +// SetRole sets the Role field's value. +func (s *UpdateUserInput) SetRole(v string) *UpdateUserInput { + s.Role = &v + return s +} - // The status of the assignment. Possible values are as follows: - // - // * ENABLED - Anything specified in this assignment is used when creating - // the data source. - // - // * DISABLED - This assignment isn't used when creating the data source. - // - // * DRAFT - This assignment is an unfinished draft and isn't used when creating - // the data source. - AssignmentStatus *string `type:"string" enum:"AssignmentStatus"` +// SetUnapplyCustomPermissions sets the UnapplyCustomPermissions field's value. +func (s *UpdateUserInput) SetUnapplyCustomPermissions(v bool) *UpdateUserInput { + s.UnapplyCustomPermissions = &v + return s +} - // The Amazon QuickSight users, groups, or both that the IAM policy is assigned - // to. - Identities map[string][]*string `type:"map"` +// SetUserName sets the UserName field's value. +func (s *UpdateUserInput) SetUserName(v string) *UpdateUserInput { + s.UserName = &v + return s +} - // The ARN for the IAM policy applied to the Amazon QuickSight users and groups - // specified in this assignment. - PolicyArn *string `type:"string"` +type UpdateUserOutput struct { + _ struct{} `type:"structure"` // The Amazon Web Services request ID for this operation. RequestId *string `type:"string"` // The HTTP status of the request. Status *int64 `location:"statusCode" type:"integer"` + + // The Amazon QuickSight user. + User *User `type:"structure"` } // String returns the string representation. @@ -43730,7 +78068,7 @@ type UpdateIAMPolicyAssignmentOutput struct { // 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 UpdateIAMPolicyAssignmentOutput) String() string { +func (s UpdateUserOutput) String() string { return awsutil.Prettify(s) } @@ -43739,65 +78077,46 @@ func (s UpdateIAMPolicyAssignmentOutput) String() string { // 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 UpdateIAMPolicyAssignmentOutput) GoString() string { +func (s UpdateUserOutput) GoString() string { return s.String() } -// SetAssignmentId sets the AssignmentId field's value. -func (s *UpdateIAMPolicyAssignmentOutput) SetAssignmentId(v string) *UpdateIAMPolicyAssignmentOutput { - s.AssignmentId = &v - return s -} - -// SetAssignmentName sets the AssignmentName field's value. -func (s *UpdateIAMPolicyAssignmentOutput) SetAssignmentName(v string) *UpdateIAMPolicyAssignmentOutput { - s.AssignmentName = &v - return s -} - -// SetAssignmentStatus sets the AssignmentStatus field's value. -func (s *UpdateIAMPolicyAssignmentOutput) SetAssignmentStatus(v string) *UpdateIAMPolicyAssignmentOutput { - s.AssignmentStatus = &v - return s -} - -// SetIdentities sets the Identities field's value. -func (s *UpdateIAMPolicyAssignmentOutput) SetIdentities(v map[string][]*string) *UpdateIAMPolicyAssignmentOutput { - s.Identities = v - return s -} - -// SetPolicyArn sets the PolicyArn field's value. -func (s *UpdateIAMPolicyAssignmentOutput) SetPolicyArn(v string) *UpdateIAMPolicyAssignmentOutput { - s.PolicyArn = &v - return s -} - // SetRequestId sets the RequestId field's value. -func (s *UpdateIAMPolicyAssignmentOutput) SetRequestId(v string) *UpdateIAMPolicyAssignmentOutput { +func (s *UpdateUserOutput) SetRequestId(v string) *UpdateUserOutput { s.RequestId = &v return s } // SetStatus sets the Status field's value. -func (s *UpdateIAMPolicyAssignmentOutput) SetStatus(v int64) *UpdateIAMPolicyAssignmentOutput { +func (s *UpdateUserOutput) SetStatus(v int64) *UpdateUserOutput { s.Status = &v return s } -type UpdateIpRestrictionInput struct { +// SetUser sets the User field's value. +func (s *UpdateUserOutput) SetUser(v *User) *UpdateUserOutput { + s.User = v + return s +} + +// Information about the format for a source file or files. +type UploadSettings struct { _ struct{} `type:"structure"` - // The ID of the Amazon Web Services account that contains the IP rules. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // Whether the file has a header row, or the files each have a header row. + ContainsHeader *bool `type:"boolean"` - // A value that specifies whether IP rules are turned on. - Enabled *bool `type:"boolean"` + // The delimiter between values in the file. + Delimiter *string `min:"1" type:"string"` - // A map that describes the updated IP rules with CIDR ranges and descriptions. - IpRestrictionRuleMap map[string]*string `type:"map"` + // File format. + Format *string `type:"string" enum:"FileFormat"` + + // A row number to start reading data from. + StartFromRow *int64 `min:"1" type:"integer"` + + // Text qualifier. + TextQualifier *string `type:"string" enum:"TextQualifier"` } // String returns the string representation. @@ -43805,7 +78124,7 @@ type UpdateIpRestrictionInput struct { // 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 UpdateIpRestrictionInput) String() string { +func (s UploadSettings) String() string { return awsutil.Prettify(s) } @@ -43814,18 +78133,18 @@ func (s UpdateIpRestrictionInput) String() string { // 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 UpdateIpRestrictionInput) GoString() string { +func (s UploadSettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateIpRestrictionInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateIpRestrictionInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) +func (s *UploadSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UploadSettings"} + if s.Delimiter != nil && len(*s.Delimiter) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Delimiter", 1)) } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + if s.StartFromRow != nil && *s.StartFromRow < 1 { + invalidParams.Add(request.NewErrParamMinValue("StartFromRow", 1)) } if invalidParams.Len() > 0 { @@ -43834,85 +78153,96 @@ func (s *UpdateIpRestrictionInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *UpdateIpRestrictionInput) SetAwsAccountId(v string) *UpdateIpRestrictionInput { - s.AwsAccountId = &v +// SetContainsHeader sets the ContainsHeader field's value. +func (s *UploadSettings) SetContainsHeader(v bool) *UploadSettings { + s.ContainsHeader = &v return s } -// SetEnabled sets the Enabled field's value. -func (s *UpdateIpRestrictionInput) SetEnabled(v bool) *UpdateIpRestrictionInput { - s.Enabled = &v +// SetDelimiter sets the Delimiter field's value. +func (s *UploadSettings) SetDelimiter(v string) *UploadSettings { + s.Delimiter = &v return s } -// SetIpRestrictionRuleMap sets the IpRestrictionRuleMap field's value. -func (s *UpdateIpRestrictionInput) SetIpRestrictionRuleMap(v map[string]*string) *UpdateIpRestrictionInput { - s.IpRestrictionRuleMap = v +// SetFormat sets the Format field's value. +func (s *UploadSettings) SetFormat(v string) *UploadSettings { + s.Format = &v return s } -type UpdateIpRestrictionOutput struct { +// SetStartFromRow sets the StartFromRow field's value. +func (s *UploadSettings) SetStartFromRow(v int64) *UploadSettings { + s.StartFromRow = &v + return s +} + +// SetTextQualifier sets the TextQualifier field's value. +func (s *UploadSettings) SetTextQualifier(v string) *UploadSettings { + s.TextQualifier = &v + return s +} + +// A registered user of Amazon QuickSight. +type User struct { _ struct{} `type:"structure"` - // The ID of the Amazon Web Services account that contains the IP rules. - AwsAccountId *string `min:"12" type:"string"` + // The active status of user. When you create an Amazon QuickSight user that’s + // not an IAM user or an Active Directory user, that user is inactive until + // they sign in and provide a password. + Active *bool `type:"boolean"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The Amazon Resource Name (ARN) for the user. + Arn *string `type:"string"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` -} + // The custom permissions profile associated with this user. + CustomPermissionsName *string `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 UpdateIpRestrictionOutput) String() string { - return awsutil.Prettify(s) -} + // The user's email address. + Email *string `type:"string"` -// 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 UpdateIpRestrictionOutput) GoString() string { - return s.String() -} + // The type of supported external login provider that provides identity to let + // the user federate into Amazon QuickSight with an associated IAM role. The + // type can be one of the following. + // + // * COGNITO: Amazon Cognito. The provider URL is cognito-identity.amazonaws.com. + // + // * CUSTOM_OIDC: Custom OpenID Connect (OIDC) provider. + ExternalLoginFederationProviderType *string `type:"string"` -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *UpdateIpRestrictionOutput) SetAwsAccountId(v string) *UpdateIpRestrictionOutput { - s.AwsAccountId = &v - return s -} + // The URL of the external login provider. + ExternalLoginFederationProviderUrl *string `type:"string"` -// SetRequestId sets the RequestId field's value. -func (s *UpdateIpRestrictionOutput) SetRequestId(v string) *UpdateIpRestrictionOutput { - s.RequestId = &v - return s -} + // The identity ID for the user in the external login provider. + ExternalLoginId *string `type:"string"` -// SetStatus sets the Status field's value. -func (s *UpdateIpRestrictionOutput) SetStatus(v int64) *UpdateIpRestrictionOutput { - s.Status = &v - return s -} + // The type of identity authentication used by the user. + IdentityType *string `type:"string" enum:"IdentityType"` -type UpdatePublicSharingSettingsInput struct { - _ struct{} `type:"structure"` + // The principal ID of the user. + PrincipalId *string `type:"string"` - // The Amazon Web Services account ID associated with your Amazon QuickSight - // subscription. + // The Amazon QuickSight role for the user. The user role can be one of the + // following:. // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // * READER: A user who has read-only access to dashboards. + // + // * AUTHOR: A user who can create data sources, datasets, analyses, and + // dashboards. + // + // * ADMIN: A user who is an author, who can also manage Amazon Amazon QuickSight + // settings. + // + // * RESTRICTED_READER: This role isn't currently available for use. + // + // * RESTRICTED_AUTHOR: This role isn't currently available for use. + Role *string `type:"string" enum:"UserRole"` - // A Boolean value that indicates whether public sharing is turned on for an - // Amazon QuickSight account. - PublicSharingEnabled *bool `type:"boolean"` + // The user's user name. This value is required if you are registering a user + // that will be managed in Amazon QuickSight. In the output, the value for UserName + // is N/A when the value for IdentityType is IAM and the corresponding IAM user + // is deleted. + UserName *string `min:"1" type:"string"` } // String returns the string representation. @@ -43920,7 +78250,7 @@ type UpdatePublicSharingSettingsInput struct { // 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 UpdatePublicSharingSettingsInput) String() string { +func (s User) String() string { return awsutil.Prettify(s) } @@ -43929,104 +78259,87 @@ func (s UpdatePublicSharingSettingsInput) String() string { // 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 UpdatePublicSharingSettingsInput) GoString() string { +func (s User) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *UpdatePublicSharingSettingsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdatePublicSharingSettingsInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetActive sets the Active field's value. +func (s *User) SetActive(v bool) *User { + s.Active = &v + return s } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *UpdatePublicSharingSettingsInput) SetAwsAccountId(v string) *UpdatePublicSharingSettingsInput { - s.AwsAccountId = &v +// SetArn sets the Arn field's value. +func (s *User) SetArn(v string) *User { + s.Arn = &v return s } -// SetPublicSharingEnabled sets the PublicSharingEnabled field's value. -func (s *UpdatePublicSharingSettingsInput) SetPublicSharingEnabled(v bool) *UpdatePublicSharingSettingsInput { - s.PublicSharingEnabled = &v +// SetCustomPermissionsName sets the CustomPermissionsName field's value. +func (s *User) SetCustomPermissionsName(v string) *User { + s.CustomPermissionsName = &v return s } -type UpdatePublicSharingSettingsOutput struct { - _ struct{} `type:"structure"` - - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` +// SetEmail sets the Email field's value. +func (s *User) SetEmail(v string) *User { + s.Email = &v + return s +} - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` +// SetExternalLoginFederationProviderType sets the ExternalLoginFederationProviderType field's value. +func (s *User) SetExternalLoginFederationProviderType(v string) *User { + s.ExternalLoginFederationProviderType = &v + return s } -// 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 UpdatePublicSharingSettingsOutput) String() string { - return awsutil.Prettify(s) +// SetExternalLoginFederationProviderUrl sets the ExternalLoginFederationProviderUrl field's value. +func (s *User) SetExternalLoginFederationProviderUrl(v string) *User { + s.ExternalLoginFederationProviderUrl = &v + return 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 UpdatePublicSharingSettingsOutput) GoString() string { - return s.String() +// SetExternalLoginId sets the ExternalLoginId field's value. +func (s *User) SetExternalLoginId(v string) *User { + s.ExternalLoginId = &v + return s } -// SetRequestId sets the RequestId field's value. -func (s *UpdatePublicSharingSettingsOutput) SetRequestId(v string) *UpdatePublicSharingSettingsOutput { - s.RequestId = &v +// SetIdentityType sets the IdentityType field's value. +func (s *User) SetIdentityType(v string) *User { + s.IdentityType = &v return s } -// SetStatus sets the Status field's value. -func (s *UpdatePublicSharingSettingsOutput) SetStatus(v int64) *UpdatePublicSharingSettingsOutput { - s.Status = &v +// SetPrincipalId sets the PrincipalId field's value. +func (s *User) SetPrincipalId(v string) *User { + s.PrincipalId = &v return s } -type UpdateTemplateAliasInput struct { - _ struct{} `type:"structure"` +// SetRole sets the Role field's value. +func (s *User) SetRole(v string) *User { + s.Role = &v + return s +} - // The alias of the template that you want to update. If you name a specific - // alias, you update the version that the alias points to. You can specify the - // latest version of the template by providing the keyword $LATEST in the AliasName - // parameter. The keyword $PUBLISHED doesn't apply to templates. - // - // AliasName is a required field - AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"` +// SetUserName sets the UserName field's value. +func (s *User) SetUserName(v string) *User { + s.UserName = &v + return s +} - // The ID of the Amazon Web Services account that contains the template alias - // that you're updating. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` +// The user with the provided name isn't found. This error can happen in any +// operation that requires finding a user based on a provided user name, such +// as DeleteUser, DescribeUser, and so on. +type UserNotFoundException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - // The ID for the template. - // - // TemplateId is a required field - TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"` + Message_ *string `locationName:"Message" type:"string"` - // The version number of the template. - // - // TemplateVersionNumber is a required field - TemplateVersionNumber *int64 `min:"1" type:"long" required:"true"` + // The Amazon Web Services request ID for this request. + RequestId *string `type:"string"` } // String returns the string representation. @@ -44034,7 +78347,7 @@ type UpdateTemplateAliasInput struct { // 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 UpdateTemplateAliasInput) String() string { +func (s UserNotFoundException) String() string { return awsutil.Prettify(s) } @@ -44043,79 +78356,54 @@ func (s UpdateTemplateAliasInput) String() string { // 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 UpdateTemplateAliasInput) GoString() string { +func (s UserNotFoundException) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateTemplateAliasInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateTemplateAliasInput"} - if s.AliasName == nil { - invalidParams.Add(request.NewErrParamRequired("AliasName")) - } - if s.AliasName != nil && len(*s.AliasName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("AliasName", 1)) - } - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.TemplateId == nil { - invalidParams.Add(request.NewErrParamRequired("TemplateId")) - } - if s.TemplateId != nil && len(*s.TemplateId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1)) - } - if s.TemplateVersionNumber == nil { - invalidParams.Add(request.NewErrParamRequired("TemplateVersionNumber")) - } - if s.TemplateVersionNumber != nil && *s.TemplateVersionNumber < 1 { - invalidParams.Add(request.NewErrParamMinValue("TemplateVersionNumber", 1)) +func newErrorUserNotFoundException(v protocol.ResponseMetadata) error { + return &UserNotFoundException{ + RespMetadata: v, } +} - if invalidParams.Len() > 0 { - return invalidParams +// Code returns the exception type name. +func (s *UserNotFoundException) Code() string { + return "QuickSightUserNotFoundException" +} + +// Message returns the exception's message. +func (s *UserNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ } - return nil + return "" } -// SetAliasName sets the AliasName field's value. -func (s *UpdateTemplateAliasInput) SetAliasName(v string) *UpdateTemplateAliasInput { - s.AliasName = &v - return s +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *UserNotFoundException) OrigErr() error { + return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *UpdateTemplateAliasInput) SetAwsAccountId(v string) *UpdateTemplateAliasInput { - s.AwsAccountId = &v - return s +func (s *UserNotFoundException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) } -// SetTemplateId sets the TemplateId field's value. -func (s *UpdateTemplateAliasInput) SetTemplateId(v string) *UpdateTemplateAliasInput { - s.TemplateId = &v - return s +// Status code returns the HTTP status code for the request's response error. +func (s *UserNotFoundException) StatusCode() int { + return s.RespMetadata.StatusCode } -// SetTemplateVersionNumber sets the TemplateVersionNumber field's value. -func (s *UpdateTemplateAliasInput) SetTemplateVersionNumber(v int64) *UpdateTemplateAliasInput { - s.TemplateVersionNumber = &v - return s +// RequestID returns the service's response RequestID for request. +func (s *UserNotFoundException) RequestID() string { + return s.RespMetadata.RequestID } -type UpdateTemplateAliasOutput struct { +// The range options for the data zoom scroll bar. +type VisibleRangeOptions struct { _ struct{} `type:"structure"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` - - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` - - // The template alias. - TemplateAlias *TemplateAlias `type:"structure"` + // The percent range in the visible range. + PercentRange *PercentVisibleRange `type:"structure"` } // String returns the string representation. @@ -44123,7 +78411,7 @@ type UpdateTemplateAliasOutput struct { // 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 UpdateTemplateAliasOutput) String() string { +func (s VisibleRangeOptions) String() string { return awsutil.Prettify(s) } @@ -44132,65 +78420,151 @@ func (s UpdateTemplateAliasOutput) String() string { // 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 UpdateTemplateAliasOutput) GoString() string { +func (s VisibleRangeOptions) GoString() string { return s.String() } -// SetRequestId sets the RequestId field's value. -func (s *UpdateTemplateAliasOutput) SetRequestId(v string) *UpdateTemplateAliasOutput { - s.RequestId = &v +// SetPercentRange sets the PercentRange field's value. +func (s *VisibleRangeOptions) SetPercentRange(v *PercentVisibleRange) *VisibleRangeOptions { + s.PercentRange = v return s } -// SetStatus sets the Status field's value. -func (s *UpdateTemplateAliasOutput) SetStatus(v int64) *UpdateTemplateAliasOutput { - s.Status = &v - return s -} +// A visual displayed on a sheet in an analysis, dashboard, or template. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type Visual struct { + _ struct{} `type:"structure"` -// SetTemplateAlias sets the TemplateAlias field's value. -func (s *UpdateTemplateAliasOutput) SetTemplateAlias(v *TemplateAlias) *UpdateTemplateAliasOutput { - s.TemplateAlias = v - return s -} + // A bar chart. + // + // For more information, see Using bar charts (https://docs.aws.amazon.com/quicksight/latest/user/bar-charts.html) + // in the Amazon QuickSight User Guide. + BarChartVisual *BarChartVisual `type:"structure"` -type UpdateTemplateInput struct { - _ struct{} `type:"structure"` + // A box plot. + // + // For more information, see Using box plots (https://docs.aws.amazon.com/quicksight/latest/user/box-plots.html) + // in the Amazon QuickSight User Guide. + BoxPlotVisual *BoxPlotVisual `type:"structure"` - // The ID of the Amazon Web Services account that contains the template that - // you're updating. + // A combo chart. // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // For more information, see Using combo charts (https://docs.aws.amazon.com/quicksight/latest/user/combo-charts.html) + // in the Amazon QuickSight User Guide. + ComboChartVisual *ComboChartVisual `type:"structure"` - // The name for the template. - Name *string `min:"1" type:"string"` + // 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) + // in the Amazon QuickSight User Guide. + CustomContentVisual *CustomContentVisual `type:"structure"` - // The entity that you are using as a source when you update the template. In - // SourceEntity, you specify the type of object you're using as source: SourceTemplate - // for a template or SourceAnalysis for an analysis. Both of these require an - // Amazon Resource Name (ARN). For SourceTemplate, specify the ARN of the source - // template. For SourceAnalysis, specify the ARN of the source analysis. The - // SourceTemplate ARN can contain any Amazon Web Services account and any Amazon - // QuickSight-supported Amazon Web Services Region;. + // An empty visual. + EmptyVisual *EmptyVisual `type:"structure"` + + // A filled map. // - // Use the DataSetReferences entity within SourceTemplate or SourceAnalysis - // to list the replacement datasets for the placeholders listed in the original. - // The schema in each dataset must match its placeholder. + // For more information, see Creating filled maps (https://docs.aws.amazon.com/quicksight/latest/user/filled-maps.html) + // in the Amazon QuickSight User Guide. + FilledMapVisual *FilledMapVisual `type:"structure"` + + // A funnel chart. // - // SourceEntity is a required field - SourceEntity *TemplateSourceEntity `type:"structure" required:"true"` + // For more information, see Using funnel charts (https://docs.aws.amazon.com/quicksight/latest/user/funnel-visual-content.html) + // in the Amazon QuickSight User Guide. + FunnelChartVisual *FunnelChartVisual `type:"structure"` - // The ID for the template. + // A gauge chart. // - // TemplateId is a required field - TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"` + // For more information, see Using gauge charts (https://docs.aws.amazon.com/quicksight/latest/user/gauge-chart.html) + // in the Amazon QuickSight User Guide. + GaugeChartVisual *GaugeChartVisual `type:"structure"` - // A description of the current template version that is being updated. Every - // time you call UpdateTemplate, you create a new version of the template. Each - // version of the template maintains a description of the version in the VersionDescription - // field. - VersionDescription *string `min:"1" type:"string"` + // A geospatial map or a points on map visual. + // + // For more information, see Creating point maps (https://docs.aws.amazon.com/quicksight/latest/user/point-maps.html) + // in the Amazon QuickSight User Guide. + GeospatialMapVisual *GeospatialMapVisual `type:"structure"` + + // A heat map. + // + // For more information, see Using heat maps (https://docs.aws.amazon.com/quicksight/latest/user/heat-map.html) + // in the Amazon QuickSight User Guide. + HeatMapVisual *HeatMapVisual `type:"structure"` + + // A histogram. + // + // For more information, see Using histograms (https://docs.aws.amazon.com/quicksight/latest/user/histogram-charts.html) + // in the Amazon QuickSight User Guide. + HistogramVisual *HistogramVisual `type:"structure"` + + // An insight visual. + // + // For more information, see Working with insights (https://docs.aws.amazon.com/quicksight/latest/user/computational-insights.html) + // in the Amazon QuickSight User Guide. + InsightVisual *InsightVisual `type:"structure"` + + // A key performance indicator (KPI). + // + // For more information, see Using KPIs (https://docs.aws.amazon.com/quicksight/latest/user/kpi.html) + // in the Amazon QuickSight User Guide. + KPIVisual *KPIVisual `type:"structure"` + + // A line chart. + // + // For more information, see Using line charts (https://docs.aws.amazon.com/quicksight/latest/user/line-charts.html) + // in the Amazon QuickSight User Guide. + LineChartVisual *LineChartVisual `type:"structure"` + + // A pie or donut chart. + // + // For more information, see Using pie charts (https://docs.aws.amazon.com/quicksight/latest/user/pie-chart.html) + // in the Amazon QuickSight User Guide. + PieChartVisual *PieChartVisual `type:"structure"` + + // A pivot table. + // + // For more information, see Using pivot tables (https://docs.aws.amazon.com/quicksight/latest/user/pivot-table.html) + // in the Amazon QuickSight User Guide. + PivotTableVisual *PivotTableVisual `type:"structure"` + + // A sankey diagram. + // + // For more information, see Using Sankey diagrams (https://docs.aws.amazon.com/quicksight/latest/user/sankey-diagram.html) + // in the Amazon QuickSight User Guide. + SankeyDiagramVisual *SankeyDiagramVisual `type:"structure"` + + // A scatter plot. + // + // For more information, see Using scatter plots (https://docs.aws.amazon.com/quicksight/latest/user/scatter-plot.html) + // in the Amazon QuickSight User Guide. + ScatterPlotVisual *ScatterPlotVisual `type:"structure"` + + // A table visual. + // + // For more information, see Using tables as visuals (https://docs.aws.amazon.com/quicksight/latest/user/tabular.html) + // in the Amazon QuickSight User Guide. + TableVisual *TableVisual `type:"structure"` + + // A tree map. + // + // For more information, see Using tree maps (https://docs.aws.amazon.com/quicksight/latest/user/tree-map.html) + // in the Amazon QuickSight User Guide. + TreeMapVisual *TreeMapVisual `type:"structure"` + + // A waterfall chart. + // + // For more information, see Using waterfall charts (https://docs.aws.amazon.com/quicksight/latest/user/waterfall-chart.html) + // in the Amazon QuickSight User Guide. + WaterfallVisual *WaterfallVisual `type:"structure"` + + // A word cloud. + // + // For more information, see Using word clouds (https://docs.aws.amazon.com/quicksight/latest/user/word-cloud.html) + // in the Amazon QuickSight User Guide. + WordCloudVisual *WordCloudVisual `type:"structure"` } // String returns the string representation. @@ -44198,7 +78572,7 @@ type UpdateTemplateInput struct { // 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 UpdateTemplateInput) String() string { +func (s Visual) String() string { return awsutil.Prettify(s) } @@ -44207,37 +78581,121 @@ func (s UpdateTemplateInput) String() string { // 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 UpdateTemplateInput) GoString() string { +func (s Visual) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateTemplateInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateTemplateInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) +func (s *Visual) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Visual"} + if s.BarChartVisual != nil { + if err := s.BarChartVisual.Validate(); err != nil { + invalidParams.AddNested("BarChartVisual", err.(request.ErrInvalidParams)) + } } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + if s.BoxPlotVisual != nil { + if err := s.BoxPlotVisual.Validate(); err != nil { + invalidParams.AddNested("BoxPlotVisual", err.(request.ErrInvalidParams)) + } } - if s.Name != nil && len(*s.Name) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + if s.ComboChartVisual != nil { + if err := s.ComboChartVisual.Validate(); err != nil { + invalidParams.AddNested("ComboChartVisual", err.(request.ErrInvalidParams)) + } } - if s.SourceEntity == nil { - invalidParams.Add(request.NewErrParamRequired("SourceEntity")) + if s.CustomContentVisual != nil { + if err := s.CustomContentVisual.Validate(); err != nil { + invalidParams.AddNested("CustomContentVisual", err.(request.ErrInvalidParams)) + } } - if s.TemplateId == nil { - invalidParams.Add(request.NewErrParamRequired("TemplateId")) + if s.EmptyVisual != nil { + if err := s.EmptyVisual.Validate(); err != nil { + invalidParams.AddNested("EmptyVisual", err.(request.ErrInvalidParams)) + } } - if s.TemplateId != nil && len(*s.TemplateId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1)) + if s.FilledMapVisual != nil { + if err := s.FilledMapVisual.Validate(); err != nil { + invalidParams.AddNested("FilledMapVisual", err.(request.ErrInvalidParams)) + } } - if s.VersionDescription != nil && len(*s.VersionDescription) < 1 { - invalidParams.Add(request.NewErrParamMinLen("VersionDescription", 1)) + if s.FunnelChartVisual != nil { + if err := s.FunnelChartVisual.Validate(); err != nil { + invalidParams.AddNested("FunnelChartVisual", err.(request.ErrInvalidParams)) + } } - if s.SourceEntity != nil { - if err := s.SourceEntity.Validate(); err != nil { - invalidParams.AddNested("SourceEntity", err.(request.ErrInvalidParams)) + if s.GaugeChartVisual != nil { + if err := s.GaugeChartVisual.Validate(); err != nil { + invalidParams.AddNested("GaugeChartVisual", err.(request.ErrInvalidParams)) + } + } + if s.GeospatialMapVisual != nil { + if err := s.GeospatialMapVisual.Validate(); err != nil { + invalidParams.AddNested("GeospatialMapVisual", err.(request.ErrInvalidParams)) + } + } + if s.HeatMapVisual != nil { + if err := s.HeatMapVisual.Validate(); err != nil { + invalidParams.AddNested("HeatMapVisual", err.(request.ErrInvalidParams)) + } + } + if s.HistogramVisual != nil { + if err := s.HistogramVisual.Validate(); err != nil { + invalidParams.AddNested("HistogramVisual", err.(request.ErrInvalidParams)) + } + } + if s.InsightVisual != nil { + if err := s.InsightVisual.Validate(); err != nil { + invalidParams.AddNested("InsightVisual", err.(request.ErrInvalidParams)) + } + } + if s.KPIVisual != nil { + if err := s.KPIVisual.Validate(); err != nil { + invalidParams.AddNested("KPIVisual", err.(request.ErrInvalidParams)) + } + } + if s.LineChartVisual != nil { + if err := s.LineChartVisual.Validate(); err != nil { + invalidParams.AddNested("LineChartVisual", err.(request.ErrInvalidParams)) + } + } + if s.PieChartVisual != nil { + if err := s.PieChartVisual.Validate(); err != nil { + invalidParams.AddNested("PieChartVisual", err.(request.ErrInvalidParams)) + } + } + if s.PivotTableVisual != nil { + if err := s.PivotTableVisual.Validate(); err != nil { + invalidParams.AddNested("PivotTableVisual", err.(request.ErrInvalidParams)) + } + } + if s.SankeyDiagramVisual != nil { + if err := s.SankeyDiagramVisual.Validate(); err != nil { + invalidParams.AddNested("SankeyDiagramVisual", err.(request.ErrInvalidParams)) + } + } + if s.ScatterPlotVisual != nil { + if err := s.ScatterPlotVisual.Validate(); err != nil { + invalidParams.AddNested("ScatterPlotVisual", err.(request.ErrInvalidParams)) + } + } + if s.TableVisual != nil { + if err := s.TableVisual.Validate(); err != nil { + invalidParams.AddNested("TableVisual", err.(request.ErrInvalidParams)) + } + } + if s.TreeMapVisual != nil { + if err := s.TreeMapVisual.Validate(); err != nil { + invalidParams.AddNested("TreeMapVisual", err.(request.ErrInvalidParams)) + } + } + if s.WaterfallVisual != nil { + if err := s.WaterfallVisual.Validate(); err != nil { + invalidParams.AddNested("WaterfallVisual", err.(request.ErrInvalidParams)) + } + } + if s.WordCloudVisual != nil { + if err := s.WordCloudVisual.Validate(); err != nil { + invalidParams.AddNested("WordCloudVisual", err.(request.ErrInvalidParams)) } } @@ -44247,131 +78705,175 @@ func (s *UpdateTemplateInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *UpdateTemplateInput) SetAwsAccountId(v string) *UpdateTemplateInput { - s.AwsAccountId = &v +// SetBarChartVisual sets the BarChartVisual field's value. +func (s *Visual) SetBarChartVisual(v *BarChartVisual) *Visual { + s.BarChartVisual = v return s } -// SetName sets the Name field's value. -func (s *UpdateTemplateInput) SetName(v string) *UpdateTemplateInput { - s.Name = &v +// SetBoxPlotVisual sets the BoxPlotVisual field's value. +func (s *Visual) SetBoxPlotVisual(v *BoxPlotVisual) *Visual { + s.BoxPlotVisual = v return s } -// SetSourceEntity sets the SourceEntity field's value. -func (s *UpdateTemplateInput) SetSourceEntity(v *TemplateSourceEntity) *UpdateTemplateInput { - s.SourceEntity = v +// SetComboChartVisual sets the ComboChartVisual field's value. +func (s *Visual) SetComboChartVisual(v *ComboChartVisual) *Visual { + s.ComboChartVisual = v return s } -// SetTemplateId sets the TemplateId field's value. -func (s *UpdateTemplateInput) SetTemplateId(v string) *UpdateTemplateInput { - s.TemplateId = &v +// SetCustomContentVisual sets the CustomContentVisual field's value. +func (s *Visual) SetCustomContentVisual(v *CustomContentVisual) *Visual { + s.CustomContentVisual = v return s } -// SetVersionDescription sets the VersionDescription field's value. -func (s *UpdateTemplateInput) SetVersionDescription(v string) *UpdateTemplateInput { - s.VersionDescription = &v +// SetEmptyVisual sets the EmptyVisual field's value. +func (s *Visual) SetEmptyVisual(v *EmptyVisual) *Visual { + s.EmptyVisual = v return s } -type UpdateTemplateOutput struct { - _ struct{} `type:"structure"` +// SetFilledMapVisual sets the FilledMapVisual field's value. +func (s *Visual) SetFilledMapVisual(v *FilledMapVisual) *Visual { + s.FilledMapVisual = v + return s +} - // The Amazon Resource Name (ARN) for the template. - Arn *string `type:"string"` +// SetFunnelChartVisual sets the FunnelChartVisual field's value. +func (s *Visual) SetFunnelChartVisual(v *FunnelChartVisual) *Visual { + s.FunnelChartVisual = v + return s +} - // The creation status of the template. - CreationStatus *string `type:"string" enum:"ResourceStatus"` +// SetGaugeChartVisual sets the GaugeChartVisual field's value. +func (s *Visual) SetGaugeChartVisual(v *GaugeChartVisual) *Visual { + s.GaugeChartVisual = v + return s +} - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` +// SetGeospatialMapVisual sets the GeospatialMapVisual field's value. +func (s *Visual) SetGeospatialMapVisual(v *GeospatialMapVisual) *Visual { + s.GeospatialMapVisual = v + return s +} - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` +// SetHeatMapVisual sets the HeatMapVisual field's value. +func (s *Visual) SetHeatMapVisual(v *HeatMapVisual) *Visual { + s.HeatMapVisual = v + return s +} - // The ID for the template. - TemplateId *string `min:"1" type:"string"` +// SetHistogramVisual sets the HistogramVisual field's value. +func (s *Visual) SetHistogramVisual(v *HistogramVisual) *Visual { + s.HistogramVisual = v + return s +} - // The ARN for the template, including the version information of the first - // version. - VersionArn *string `type:"string"` +// SetInsightVisual sets the InsightVisual field's value. +func (s *Visual) SetInsightVisual(v *InsightVisual) *Visual { + s.InsightVisual = v + return s } -// 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 UpdateTemplateOutput) String() string { - return awsutil.Prettify(s) +// SetKPIVisual sets the KPIVisual field's value. +func (s *Visual) SetKPIVisual(v *KPIVisual) *Visual { + s.KPIVisual = v + return 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 UpdateTemplateOutput) GoString() string { - return s.String() +// SetLineChartVisual sets the LineChartVisual field's value. +func (s *Visual) SetLineChartVisual(v *LineChartVisual) *Visual { + s.LineChartVisual = v + return s } -// SetArn sets the Arn field's value. -func (s *UpdateTemplateOutput) SetArn(v string) *UpdateTemplateOutput { - s.Arn = &v +// SetPieChartVisual sets the PieChartVisual field's value. +func (s *Visual) SetPieChartVisual(v *PieChartVisual) *Visual { + s.PieChartVisual = v return s } -// SetCreationStatus sets the CreationStatus field's value. -func (s *UpdateTemplateOutput) SetCreationStatus(v string) *UpdateTemplateOutput { - s.CreationStatus = &v +// SetPivotTableVisual sets the PivotTableVisual field's value. +func (s *Visual) SetPivotTableVisual(v *PivotTableVisual) *Visual { + s.PivotTableVisual = v return s } -// SetRequestId sets the RequestId field's value. -func (s *UpdateTemplateOutput) SetRequestId(v string) *UpdateTemplateOutput { - s.RequestId = &v +// SetSankeyDiagramVisual sets the SankeyDiagramVisual field's value. +func (s *Visual) SetSankeyDiagramVisual(v *SankeyDiagramVisual) *Visual { + s.SankeyDiagramVisual = v return s } -// SetStatus sets the Status field's value. -func (s *UpdateTemplateOutput) SetStatus(v int64) *UpdateTemplateOutput { - s.Status = &v +// SetScatterPlotVisual sets the ScatterPlotVisual field's value. +func (s *Visual) SetScatterPlotVisual(v *ScatterPlotVisual) *Visual { + s.ScatterPlotVisual = v return s } -// SetTemplateId sets the TemplateId field's value. -func (s *UpdateTemplateOutput) SetTemplateId(v string) *UpdateTemplateOutput { - s.TemplateId = &v +// SetTableVisual sets the TableVisual field's value. +func (s *Visual) SetTableVisual(v *TableVisual) *Visual { + s.TableVisual = v return s } -// SetVersionArn sets the VersionArn field's value. -func (s *UpdateTemplateOutput) SetVersionArn(v string) *UpdateTemplateOutput { - s.VersionArn = &v +// SetTreeMapVisual sets the TreeMapVisual field's value. +func (s *Visual) SetTreeMapVisual(v *TreeMapVisual) *Visual { + s.TreeMapVisual = v return s } -type UpdateTemplatePermissionsInput struct { +// SetWaterfallVisual sets the WaterfallVisual field's value. +func (s *Visual) SetWaterfallVisual(v *WaterfallVisual) *Visual { + s.WaterfallVisual = v + return s +} + +// SetWordCloudVisual sets the WordCloudVisual field's value. +func (s *Visual) SetWordCloudVisual(v *WordCloudVisual) *Visual { + s.WordCloudVisual = v + return s +} + +// A custom action defined on a visual. +type VisualCustomAction struct { _ struct{} `type:"structure"` - // The ID of the Amazon Web Services account that contains the template. + // A list of VisualCustomActionOperations. // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // This is a union type structure. For this structure to be valid, only one + // of the attributes can be defined. + // + // ActionOperations is a required field + ActionOperations []*VisualCustomActionOperation `min:"1" type:"list" required:"true"` - // A list of resource permissions to be granted on the template. - GrantPermissions []*ResourcePermission `type:"list"` + // The ID of the VisualCustomAction. + // + // CustomActionId is a required field + CustomActionId *string `min:"1" type:"string" required:"true"` - // A list of resource permissions to be revoked from the template. - RevokePermissions []*ResourcePermission `type:"list"` + // The name of the VisualCustomAction. + // + // Name is a required field + Name *string `min:"1" type:"string" required:"true"` - // The ID for the template. + // The status of the VisualCustomAction. + Status *string `type:"string" enum:"WidgetStatus"` + + // The trigger of the VisualCustomAction. // - // TemplateId is a required field - TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"` + // Valid values are defined as follows: + // + // * DATA_POINT_CLICK: Initiates a custom action by a left pointer click + // on a data point. + // + // * DATA_POINT_MENU: Initiates a custom action by right pointer click from + // the menu. + // + // Trigger is a required field + Trigger *string `type:"string" required:"true" enum:"VisualCustomActionTrigger"` } // String returns the string representation. @@ -44379,7 +78881,7 @@ type UpdateTemplatePermissionsInput struct { // 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 UpdateTemplatePermissionsInput) String() string { +func (s VisualCustomAction) String() string { return awsutil.Prettify(s) } @@ -44388,42 +78890,41 @@ func (s UpdateTemplatePermissionsInput) String() string { // 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 UpdateTemplatePermissionsInput) GoString() string { +func (s VisualCustomAction) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateTemplatePermissionsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateTemplatePermissionsInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) +func (s *VisualCustomAction) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "VisualCustomAction"} + if s.ActionOperations == nil { + invalidParams.Add(request.NewErrParamRequired("ActionOperations")) } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + if s.ActionOperations != nil && len(s.ActionOperations) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ActionOperations", 1)) } - if s.TemplateId == nil { - invalidParams.Add(request.NewErrParamRequired("TemplateId")) + if s.CustomActionId == nil { + invalidParams.Add(request.NewErrParamRequired("CustomActionId")) } - if s.TemplateId != nil && len(*s.TemplateId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1)) + if s.CustomActionId != nil && len(*s.CustomActionId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("CustomActionId", 1)) } - if s.GrantPermissions != nil { - for i, v := range s.GrantPermissions { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GrantPermissions", i), err.(request.ErrInvalidParams)) - } - } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) } - if s.RevokePermissions != nil { - for i, v := range s.RevokePermissions { + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.Trigger == nil { + invalidParams.Add(request.NewErrParamRequired("Trigger")) + } + if s.ActionOperations != nil { + for i, v := range s.ActionOperations { if v == nil { continue } if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RevokePermissions", i), err.(request.ErrInvalidParams)) + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ActionOperations", i), err.(request.ErrInvalidParams)) } } } @@ -44434,47 +78935,56 @@ func (s *UpdateTemplatePermissionsInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *UpdateTemplatePermissionsInput) SetAwsAccountId(v string) *UpdateTemplatePermissionsInput { - s.AwsAccountId = &v +// SetActionOperations sets the ActionOperations field's value. +func (s *VisualCustomAction) SetActionOperations(v []*VisualCustomActionOperation) *VisualCustomAction { + s.ActionOperations = v return s } -// SetGrantPermissions sets the GrantPermissions field's value. -func (s *UpdateTemplatePermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateTemplatePermissionsInput { - s.GrantPermissions = v +// SetCustomActionId sets the CustomActionId field's value. +func (s *VisualCustomAction) SetCustomActionId(v string) *VisualCustomAction { + s.CustomActionId = &v return s } -// SetRevokePermissions sets the RevokePermissions field's value. -func (s *UpdateTemplatePermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateTemplatePermissionsInput { - s.RevokePermissions = v +// SetName sets the Name field's value. +func (s *VisualCustomAction) SetName(v string) *VisualCustomAction { + s.Name = &v return s } -// SetTemplateId sets the TemplateId field's value. -func (s *UpdateTemplatePermissionsInput) SetTemplateId(v string) *UpdateTemplatePermissionsInput { - s.TemplateId = &v +// SetStatus sets the Status field's value. +func (s *VisualCustomAction) SetStatus(v string) *VisualCustomAction { + s.Status = &v return s } -type UpdateTemplatePermissionsOutput struct { - _ struct{} `type:"structure"` +// SetTrigger sets the Trigger field's value. +func (s *VisualCustomAction) SetTrigger(v string) *VisualCustomAction { + s.Trigger = &v + return s +} - // A list of resource permissions to be set on the template. - Permissions []*ResourcePermission `min:"1" type:"list"` +// The operation that is defined by the custom action. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type VisualCustomActionOperation struct { + _ struct{} `type:"structure"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The filter operation that filters data included in a visual or in an entire + // sheet. + FilterOperation *CustomActionFilterOperation `type:"structure"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The navigation operation that navigates between different sheets in the same + // analysis. + NavigationOperation *CustomActionNavigationOperation `type:"structure"` - // The Amazon Resource Name (ARN) of the template. - TemplateArn *string `type:"string"` + // The set parameter operation that sets parameters in custom action. + SetParametersOperation *CustomActionSetParametersOperation `type:"structure"` - // The ID for the template. - TemplateId *string `min:"1" type:"string"` + // The URL operation that opens a link to another webpage. + URLOperation *CustomActionURLOperation `type:"structure"` } // String returns the string representation. @@ -44482,7 +78992,7 @@ type UpdateTemplatePermissionsOutput struct { // 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 UpdateTemplatePermissionsOutput) String() string { +func (s VisualCustomActionOperation) String() string { return awsutil.Prettify(s) } @@ -44491,63 +79001,73 @@ func (s UpdateTemplatePermissionsOutput) String() string { // 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 UpdateTemplatePermissionsOutput) GoString() string { +func (s VisualCustomActionOperation) GoString() string { return s.String() } -// SetPermissions sets the Permissions field's value. -func (s *UpdateTemplatePermissionsOutput) SetPermissions(v []*ResourcePermission) *UpdateTemplatePermissionsOutput { - s.Permissions = v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *VisualCustomActionOperation) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "VisualCustomActionOperation"} + if s.FilterOperation != nil { + if err := s.FilterOperation.Validate(); err != nil { + invalidParams.AddNested("FilterOperation", err.(request.ErrInvalidParams)) + } + } + if s.NavigationOperation != nil { + if err := s.NavigationOperation.Validate(); err != nil { + invalidParams.AddNested("NavigationOperation", err.(request.ErrInvalidParams)) + } + } + if s.SetParametersOperation != nil { + if err := s.SetParametersOperation.Validate(); err != nil { + invalidParams.AddNested("SetParametersOperation", err.(request.ErrInvalidParams)) + } + } + if s.URLOperation != nil { + if err := s.URLOperation.Validate(); err != nil { + invalidParams.AddNested("URLOperation", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetRequestId sets the RequestId field's value. -func (s *UpdateTemplatePermissionsOutput) SetRequestId(v string) *UpdateTemplatePermissionsOutput { - s.RequestId = &v +// SetFilterOperation sets the FilterOperation field's value. +func (s *VisualCustomActionOperation) SetFilterOperation(v *CustomActionFilterOperation) *VisualCustomActionOperation { + s.FilterOperation = v return s } -// SetStatus sets the Status field's value. -func (s *UpdateTemplatePermissionsOutput) SetStatus(v int64) *UpdateTemplatePermissionsOutput { - s.Status = &v +// SetNavigationOperation sets the NavigationOperation field's value. +func (s *VisualCustomActionOperation) SetNavigationOperation(v *CustomActionNavigationOperation) *VisualCustomActionOperation { + s.NavigationOperation = v return s } -// SetTemplateArn sets the TemplateArn field's value. -func (s *UpdateTemplatePermissionsOutput) SetTemplateArn(v string) *UpdateTemplatePermissionsOutput { - s.TemplateArn = &v +// SetSetParametersOperation sets the SetParametersOperation field's value. +func (s *VisualCustomActionOperation) SetSetParametersOperation(v *CustomActionSetParametersOperation) *VisualCustomActionOperation { + s.SetParametersOperation = v return s } -// SetTemplateId sets the TemplateId field's value. -func (s *UpdateTemplatePermissionsOutput) SetTemplateId(v string) *UpdateTemplatePermissionsOutput { - s.TemplateId = &v +// SetURLOperation sets the URLOperation field's value. +func (s *VisualCustomActionOperation) SetURLOperation(v *CustomActionURLOperation) *VisualCustomActionOperation { + s.URLOperation = v return s } -type UpdateThemeAliasInput struct { - _ struct{} `type:"structure"` - - // The name of the theme alias that you want to update. - // - // AliasName is a required field - AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"` - - // The ID of the Amazon Web Services account that contains the theme alias that - // you're updating. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - - // The ID for the theme. - // - // ThemeId is a required field - ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"` +// The visual display options for the visual palette. +type VisualPalette struct { + _ struct{} `type:"structure"` - // The version number of the theme that the alias should reference. - // - // ThemeVersionNumber is a required field - ThemeVersionNumber *int64 `min:"1" type:"long" required:"true"` + // The chart color options for the visual palette. + ChartColor *string `type:"string"` + + // The color map options for the visual palette. + ColorMap []*DataPathColor `type:"list"` } // String returns the string representation. @@ -44555,7 +79075,7 @@ type UpdateThemeAliasInput struct { // 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 UpdateThemeAliasInput) String() string { +func (s VisualPalette) String() string { return awsutil.Prettify(s) } @@ -44564,36 +79084,22 @@ func (s UpdateThemeAliasInput) String() string { // 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 UpdateThemeAliasInput) GoString() string { +func (s VisualPalette) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateThemeAliasInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateThemeAliasInput"} - if s.AliasName == nil { - invalidParams.Add(request.NewErrParamRequired("AliasName")) - } - if s.AliasName != nil && len(*s.AliasName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("AliasName", 1)) - } - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.ThemeId == nil { - invalidParams.Add(request.NewErrParamRequired("ThemeId")) - } - if s.ThemeId != nil && len(*s.ThemeId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1)) - } - if s.ThemeVersionNumber == nil { - invalidParams.Add(request.NewErrParamRequired("ThemeVersionNumber")) - } - if s.ThemeVersionNumber != nil && *s.ThemeVersionNumber < 1 { - invalidParams.Add(request.NewErrParamMinValue("ThemeVersionNumber", 1)) +func (s *VisualPalette) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "VisualPalette"} + if s.ColorMap != nil { + for i, v := range s.ColorMap { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColorMap", i), err.(request.ErrInvalidParams)) + } + } } if invalidParams.Len() > 0 { @@ -44602,41 +79108,27 @@ func (s *UpdateThemeAliasInput) Validate() error { return nil } -// SetAliasName sets the AliasName field's value. -func (s *UpdateThemeAliasInput) SetAliasName(v string) *UpdateThemeAliasInput { - s.AliasName = &v - return s -} - -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *UpdateThemeAliasInput) SetAwsAccountId(v string) *UpdateThemeAliasInput { - s.AwsAccountId = &v - return s -} - -// SetThemeId sets the ThemeId field's value. -func (s *UpdateThemeAliasInput) SetThemeId(v string) *UpdateThemeAliasInput { - s.ThemeId = &v +// SetChartColor sets the ChartColor field's value. +func (s *VisualPalette) SetChartColor(v string) *VisualPalette { + s.ChartColor = &v return s } -// SetThemeVersionNumber sets the ThemeVersionNumber field's value. -func (s *UpdateThemeAliasInput) SetThemeVersionNumber(v int64) *UpdateThemeAliasInput { - s.ThemeVersionNumber = &v +// SetColorMap sets the ColorMap field's value. +func (s *VisualPalette) SetColorMap(v []*DataPathColor) *VisualPalette { + s.ColorMap = v return s } -type UpdateThemeAliasOutput struct { +// The subtitle label options for a visual. +type VisualSubtitleLabelOptions struct { _ struct{} `type:"structure"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` - - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The long text format of the subtitle label, such as plain text or rich text. + FormatText *LongFormatText `type:"structure"` - // Information about the theme alias. - ThemeAlias *ThemeAlias `type:"structure"` + // The visibility of the subtitle label. + Visibility *string `type:"string" enum:"Visibility"` } // String returns the string representation. @@ -44644,7 +79136,7 @@ type UpdateThemeAliasOutput struct { // 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 UpdateThemeAliasOutput) String() string { +func (s VisualSubtitleLabelOptions) String() string { return awsutil.Prettify(s) } @@ -44653,58 +79145,46 @@ func (s UpdateThemeAliasOutput) String() string { // 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 UpdateThemeAliasOutput) GoString() string { +func (s VisualSubtitleLabelOptions) GoString() string { return s.String() } -// SetRequestId sets the RequestId field's value. -func (s *UpdateThemeAliasOutput) SetRequestId(v string) *UpdateThemeAliasOutput { - s.RequestId = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *VisualSubtitleLabelOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "VisualSubtitleLabelOptions"} + if s.FormatText != nil { + if err := s.FormatText.Validate(); err != nil { + invalidParams.AddNested("FormatText", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetStatus sets the Status field's value. -func (s *UpdateThemeAliasOutput) SetStatus(v int64) *UpdateThemeAliasOutput { - s.Status = &v +// SetFormatText sets the FormatText field's value. +func (s *VisualSubtitleLabelOptions) SetFormatText(v *LongFormatText) *VisualSubtitleLabelOptions { + s.FormatText = v return s } -// SetThemeAlias sets the ThemeAlias field's value. -func (s *UpdateThemeAliasOutput) SetThemeAlias(v *ThemeAlias) *UpdateThemeAliasOutput { - s.ThemeAlias = v +// SetVisibility sets the Visibility field's value. +func (s *VisualSubtitleLabelOptions) SetVisibility(v string) *VisualSubtitleLabelOptions { + s.Visibility = &v return s } -type UpdateThemeInput struct { +// The title label options for a visual. +type VisualTitleLabelOptions struct { _ struct{} `type:"structure"` - // The ID of the Amazon Web Services account that contains the theme that you're - // updating. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - - // The theme ID, defined by Amazon QuickSight, that a custom theme inherits - // from. All themes initially inherit from a default Amazon QuickSight theme. - // - // BaseThemeId is a required field - BaseThemeId *string `min:"1" type:"string" required:"true"` - - // The theme configuration, which contains the theme display properties. - Configuration *ThemeConfiguration `type:"structure"` - - // The name for the theme. - Name *string `min:"1" type:"string"` - - // The ID for the theme. - // - // ThemeId is a required field - ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"` + // The short text format of the title label, such as plain text or rich text. + FormatText *ShortFormatText `type:"structure"` - // A description of the theme version that you're updating Every time that you - // call UpdateTheme, you create a new version of the theme. Each version of - // the theme maintains a description of the version in VersionDescription. - VersionDescription *string `min:"1" type:"string"` + // The visibility of the title label. + Visibility *string `type:"string" enum:"Visibility"` } // String returns the string representation. @@ -44712,7 +79192,7 @@ type UpdateThemeInput struct { // 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 UpdateThemeInput) String() string { +func (s VisualTitleLabelOptions) String() string { return awsutil.Prettify(s) } @@ -44721,36 +79201,17 @@ func (s UpdateThemeInput) String() string { // 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 UpdateThemeInput) GoString() string { +func (s VisualTitleLabelOptions) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateThemeInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateThemeInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.BaseThemeId == nil { - invalidParams.Add(request.NewErrParamRequired("BaseThemeId")) - } - if s.BaseThemeId != nil && len(*s.BaseThemeId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("BaseThemeId", 1)) - } - if s.Name != nil && len(*s.Name) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Name", 1)) - } - if s.ThemeId == nil { - invalidParams.Add(request.NewErrParamRequired("ThemeId")) - } - if s.ThemeId != nil && len(*s.ThemeId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1)) - } - if s.VersionDescription != nil && len(*s.VersionDescription) < 1 { - invalidParams.Add(request.NewErrParamMinLen("VersionDescription", 1)) +func (s *VisualTitleLabelOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "VisualTitleLabelOptions"} + if s.FormatText != nil { + if err := s.FormatText.Validate(); err != nil { + invalidParams.AddNested("FormatText", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -44759,62 +79220,77 @@ func (s *UpdateThemeInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *UpdateThemeInput) SetAwsAccountId(v string) *UpdateThemeInput { - s.AwsAccountId = &v +// SetFormatText sets the FormatText field's value. +func (s *VisualTitleLabelOptions) SetFormatText(v *ShortFormatText) *VisualTitleLabelOptions { + s.FormatText = v return s } -// SetBaseThemeId sets the BaseThemeId field's value. -func (s *UpdateThemeInput) SetBaseThemeId(v string) *UpdateThemeInput { - s.BaseThemeId = &v +// SetVisibility sets the Visibility field's value. +func (s *VisualTitleLabelOptions) SetVisibility(v string) *VisualTitleLabelOptions { + s.Visibility = &v return s } -// SetConfiguration sets the Configuration field's value. -func (s *UpdateThemeInput) SetConfiguration(v *ThemeConfiguration) *UpdateThemeInput { - s.Configuration = v - return s -} +// VPC connection properties. +type VpcConnectionProperties struct { + _ struct{} `type:"structure"` -// SetName sets the Name field's value. -func (s *UpdateThemeInput) SetName(v string) *UpdateThemeInput { - s.Name = &v - return s + // The Amazon Resource Name (ARN) for the VPC connection. + // + // VpcConnectionArn is a required field + VpcConnectionArn *string `type:"string" required:"true"` } -// SetThemeId sets the ThemeId field's value. -func (s *UpdateThemeInput) SetThemeId(v string) *UpdateThemeInput { - s.ThemeId = &v - return s +// 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 VpcConnectionProperties) String() string { + return awsutil.Prettify(s) } -// SetVersionDescription sets the VersionDescription field's value. -func (s *UpdateThemeInput) SetVersionDescription(v string) *UpdateThemeInput { - s.VersionDescription = &v - return 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 VpcConnectionProperties) GoString() string { + return s.String() } -type UpdateThemeOutput struct { - _ struct{} `type:"structure"` +// Validate inspects the fields of the type to determine if they are valid. +func (s *VpcConnectionProperties) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "VpcConnectionProperties"} + if s.VpcConnectionArn == nil { + invalidParams.Add(request.NewErrParamRequired("VpcConnectionArn")) + } - // The Amazon Resource Name (ARN) for the theme. - Arn *string `type:"string"` + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} - // The creation status of the theme. - CreationStatus *string `type:"string" enum:"ResourceStatus"` +// SetVpcConnectionArn sets the VpcConnectionArn field's value. +func (s *VpcConnectionProperties) SetVpcConnectionArn(v string) *VpcConnectionProperties { + s.VpcConnectionArn = &v + return s +} - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` +// The field well configuration of a waterfall visual. +type WaterfallChartAggregatedFieldWells struct { + _ struct{} `type:"structure"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The breakdown field wells of a waterfall visual. + Breakdowns []*DimensionField `type:"list"` - // The ID for the theme. - ThemeId *string `min:"1" type:"string"` + // The category field wells of a waterfall visual. + Categories []*DimensionField `type:"list"` - // The Amazon Resource Name (ARN) for the new version of the theme. - VersionArn *string `type:"string"` + // The value field wells of a waterfall visual. + Values []*MeasureField `type:"list"` } // String returns the string representation. @@ -44822,7 +79298,7 @@ type UpdateThemeOutput struct { // 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 UpdateThemeOutput) String() string { +func (s WaterfallChartAggregatedFieldWells) String() string { return awsutil.Prettify(s) } @@ -44831,64 +79307,101 @@ func (s UpdateThemeOutput) String() string { // 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 UpdateThemeOutput) GoString() string { +func (s WaterfallChartAggregatedFieldWells) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *UpdateThemeOutput) SetArn(v string) *UpdateThemeOutput { - s.Arn = &v - return s -} - -// SetCreationStatus sets the CreationStatus field's value. -func (s *UpdateThemeOutput) SetCreationStatus(v string) *UpdateThemeOutput { - s.CreationStatus = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *WaterfallChartAggregatedFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "WaterfallChartAggregatedFieldWells"} + if s.Breakdowns != nil { + for i, v := range s.Breakdowns { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Breakdowns", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Categories != nil { + for i, v := range s.Categories { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Categories", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Values != nil { + for i, v := range s.Values { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Values", i), err.(request.ErrInvalidParams)) + } + } + } -// SetRequestId sets the RequestId field's value. -func (s *UpdateThemeOutput) SetRequestId(v string) *UpdateThemeOutput { - s.RequestId = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetStatus sets the Status field's value. -func (s *UpdateThemeOutput) SetStatus(v int64) *UpdateThemeOutput { - s.Status = &v +// SetBreakdowns sets the Breakdowns field's value. +func (s *WaterfallChartAggregatedFieldWells) SetBreakdowns(v []*DimensionField) *WaterfallChartAggregatedFieldWells { + s.Breakdowns = v return s } -// SetThemeId sets the ThemeId field's value. -func (s *UpdateThemeOutput) SetThemeId(v string) *UpdateThemeOutput { - s.ThemeId = &v +// SetCategories sets the Categories field's value. +func (s *WaterfallChartAggregatedFieldWells) SetCategories(v []*DimensionField) *WaterfallChartAggregatedFieldWells { + s.Categories = v return s } -// SetVersionArn sets the VersionArn field's value. -func (s *UpdateThemeOutput) SetVersionArn(v string) *UpdateThemeOutput { - s.VersionArn = &v +// SetValues sets the Values field's value. +func (s *WaterfallChartAggregatedFieldWells) SetValues(v []*MeasureField) *WaterfallChartAggregatedFieldWells { + s.Values = v return s } -type UpdateThemePermissionsInput struct { +// The configuration for a waterfall visual. +type WaterfallChartConfiguration struct { _ struct{} `type:"structure"` - // The ID of the Amazon Web Services account that contains the theme. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // The options that determine the presentation of the category axis. + CategoryAxisDisplayOptions *AxisDisplayOptions `type:"structure"` - // A list of resource permissions to be granted for the theme. - GrantPermissions []*ResourcePermission `type:"list"` + // The options that determine the presentation of the category axis label. + CategoryAxisLabelOptions *ChartAxisLabelOptions `type:"structure"` - // A list of resource permissions to be revoked from the theme. - RevokePermissions []*ResourcePermission `type:"list"` + // The data label configuration of a waterfall visual. + DataLabels *DataLabelOptions `type:"structure"` - // The ID for the theme. - // - // ThemeId is a required field - ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"` + // The field well configuration of a waterfall visual. + FieldWells *WaterfallChartFieldWells `type:"structure"` + + // The legend configuration of a waterfall visual. + Legend *LegendOptions `type:"structure"` + + // The options that determine the presentation of the y-axis. + PrimaryYAxisDisplayOptions *AxisDisplayOptions `type:"structure"` + + // The options that determine the presentation of the y-axis label. + PrimaryYAxisLabelOptions *ChartAxisLabelOptions `type:"structure"` + + // The sort configuration of a waterfall visual. + SortConfiguration *WaterfallChartSortConfiguration `type:"structure"` + + // The visual palette configuration of a waterfall visual. + VisualPalette *VisualPalette `type:"structure"` + + // The options that determine the presentation of a waterfall visual. + WaterfallChartOptions *WaterfallChartOptions `type:"structure"` } // String returns the string representation. @@ -44896,7 +79409,7 @@ type UpdateThemePermissionsInput struct { // 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 UpdateThemePermissionsInput) String() string { +func (s WaterfallChartConfiguration) String() string { return awsutil.Prettify(s) } @@ -44905,43 +79418,41 @@ func (s UpdateThemePermissionsInput) String() string { // 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 UpdateThemePermissionsInput) GoString() string { +func (s WaterfallChartConfiguration) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateThemePermissionsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateThemePermissionsInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) +func (s *WaterfallChartConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "WaterfallChartConfiguration"} + if s.CategoryAxisLabelOptions != nil { + if err := s.CategoryAxisLabelOptions.Validate(); err != nil { + invalidParams.AddNested("CategoryAxisLabelOptions", err.(request.ErrInvalidParams)) + } } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + if s.DataLabels != nil { + if err := s.DataLabels.Validate(); err != nil { + invalidParams.AddNested("DataLabels", err.(request.ErrInvalidParams)) + } } - if s.ThemeId == nil { - invalidParams.Add(request.NewErrParamRequired("ThemeId")) + if s.FieldWells != nil { + if err := s.FieldWells.Validate(); err != nil { + invalidParams.AddNested("FieldWells", err.(request.ErrInvalidParams)) + } } - if s.ThemeId != nil && len(*s.ThemeId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1)) + if s.PrimaryYAxisLabelOptions != nil { + if err := s.PrimaryYAxisLabelOptions.Validate(); err != nil { + invalidParams.AddNested("PrimaryYAxisLabelOptions", err.(request.ErrInvalidParams)) + } } - if s.GrantPermissions != nil { - for i, v := range s.GrantPermissions { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GrantPermissions", i), err.(request.ErrInvalidParams)) - } + if s.SortConfiguration != nil { + if err := s.SortConfiguration.Validate(); err != nil { + invalidParams.AddNested("SortConfiguration", err.(request.ErrInvalidParams)) } } - if s.RevokePermissions != nil { - for i, v := range s.RevokePermissions { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RevokePermissions", i), err.(request.ErrInvalidParams)) - } + if s.VisualPalette != nil { + if err := s.VisualPalette.Validate(); err != nil { + invalidParams.AddNested("VisualPalette", err.(request.ErrInvalidParams)) } } @@ -44951,47 +79462,72 @@ func (s *UpdateThemePermissionsInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *UpdateThemePermissionsInput) SetAwsAccountId(v string) *UpdateThemePermissionsInput { - s.AwsAccountId = &v +// SetCategoryAxisDisplayOptions sets the CategoryAxisDisplayOptions field's value. +func (s *WaterfallChartConfiguration) SetCategoryAxisDisplayOptions(v *AxisDisplayOptions) *WaterfallChartConfiguration { + s.CategoryAxisDisplayOptions = v return s } -// SetGrantPermissions sets the GrantPermissions field's value. -func (s *UpdateThemePermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateThemePermissionsInput { - s.GrantPermissions = v +// SetCategoryAxisLabelOptions sets the CategoryAxisLabelOptions field's value. +func (s *WaterfallChartConfiguration) SetCategoryAxisLabelOptions(v *ChartAxisLabelOptions) *WaterfallChartConfiguration { + s.CategoryAxisLabelOptions = v return s } -// SetRevokePermissions sets the RevokePermissions field's value. -func (s *UpdateThemePermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateThemePermissionsInput { - s.RevokePermissions = v +// SetDataLabels sets the DataLabels field's value. +func (s *WaterfallChartConfiguration) SetDataLabels(v *DataLabelOptions) *WaterfallChartConfiguration { + s.DataLabels = v return s } -// SetThemeId sets the ThemeId field's value. -func (s *UpdateThemePermissionsInput) SetThemeId(v string) *UpdateThemePermissionsInput { - s.ThemeId = &v +// SetFieldWells sets the FieldWells field's value. +func (s *WaterfallChartConfiguration) SetFieldWells(v *WaterfallChartFieldWells) *WaterfallChartConfiguration { + s.FieldWells = v return s } -type UpdateThemePermissionsOutput struct { - _ struct{} `type:"structure"` +// SetLegend sets the Legend field's value. +func (s *WaterfallChartConfiguration) SetLegend(v *LegendOptions) *WaterfallChartConfiguration { + s.Legend = v + return s +} - // The resulting list of resource permissions for the theme. - Permissions []*ResourcePermission `min:"1" type:"list"` +// SetPrimaryYAxisDisplayOptions sets the PrimaryYAxisDisplayOptions field's value. +func (s *WaterfallChartConfiguration) SetPrimaryYAxisDisplayOptions(v *AxisDisplayOptions) *WaterfallChartConfiguration { + s.PrimaryYAxisDisplayOptions = v + return s +} - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` +// SetPrimaryYAxisLabelOptions sets the PrimaryYAxisLabelOptions field's value. +func (s *WaterfallChartConfiguration) SetPrimaryYAxisLabelOptions(v *ChartAxisLabelOptions) *WaterfallChartConfiguration { + s.PrimaryYAxisLabelOptions = v + return s +} - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` +// SetSortConfiguration sets the SortConfiguration field's value. +func (s *WaterfallChartConfiguration) SetSortConfiguration(v *WaterfallChartSortConfiguration) *WaterfallChartConfiguration { + s.SortConfiguration = v + return s +} - // The Amazon Resource Name (ARN) of the theme. - ThemeArn *string `type:"string"` +// SetVisualPalette sets the VisualPalette field's value. +func (s *WaterfallChartConfiguration) SetVisualPalette(v *VisualPalette) *WaterfallChartConfiguration { + s.VisualPalette = v + return s +} - // The ID for the theme. - ThemeId *string `min:"1" type:"string"` +// SetWaterfallChartOptions sets the WaterfallChartOptions field's value. +func (s *WaterfallChartConfiguration) SetWaterfallChartOptions(v *WaterfallChartOptions) *WaterfallChartConfiguration { + s.WaterfallChartOptions = v + return s +} + +// The field well configuration of a waterfall visual. +type WaterfallChartFieldWells struct { + _ struct{} `type:"structure"` + + // The field well configuration of a waterfall visual. + WaterfallChartAggregatedFieldWells *WaterfallChartAggregatedFieldWells `type:"structure"` } // String returns the string representation. @@ -44999,7 +79535,7 @@ type UpdateThemePermissionsOutput struct { // 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 UpdateThemePermissionsOutput) String() string { +func (s WaterfallChartFieldWells) String() string { return awsutil.Prettify(s) } @@ -45008,139 +79544,152 @@ func (s UpdateThemePermissionsOutput) String() string { // 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 UpdateThemePermissionsOutput) GoString() string { +func (s WaterfallChartFieldWells) GoString() string { return s.String() } -// SetPermissions sets the Permissions field's value. -func (s *UpdateThemePermissionsOutput) SetPermissions(v []*ResourcePermission) *UpdateThemePermissionsOutput { - s.Permissions = v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *WaterfallChartFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "WaterfallChartFieldWells"} + if s.WaterfallChartAggregatedFieldWells != nil { + if err := s.WaterfallChartAggregatedFieldWells.Validate(); err != nil { + invalidParams.AddNested("WaterfallChartAggregatedFieldWells", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetRequestId sets the RequestId field's value. -func (s *UpdateThemePermissionsOutput) SetRequestId(v string) *UpdateThemePermissionsOutput { - s.RequestId = &v +// SetWaterfallChartAggregatedFieldWells sets the WaterfallChartAggregatedFieldWells field's value. +func (s *WaterfallChartFieldWells) SetWaterfallChartAggregatedFieldWells(v *WaterfallChartAggregatedFieldWells) *WaterfallChartFieldWells { + s.WaterfallChartAggregatedFieldWells = v return s } -// SetStatus sets the Status field's value. -func (s *UpdateThemePermissionsOutput) SetStatus(v int64) *UpdateThemePermissionsOutput { - s.Status = &v - return s +// The options that determine the presentation of a waterfall visual. +type WaterfallChartOptions struct { + _ struct{} `type:"structure"` + + // This option determines the total bar label of a waterfall visual. + TotalBarLabel *string `type:"string"` } -// SetThemeArn sets the ThemeArn field's value. -func (s *UpdateThemePermissionsOutput) SetThemeArn(v string) *UpdateThemePermissionsOutput { - s.ThemeArn = &v - return s +// 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 WaterfallChartOptions) String() string { + return awsutil.Prettify(s) } -// SetThemeId sets the ThemeId field's value. -func (s *UpdateThemePermissionsOutput) SetThemeId(v string) *UpdateThemePermissionsOutput { - s.ThemeId = &v +// 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 WaterfallChartOptions) GoString() string { + return s.String() +} + +// SetTotalBarLabel sets the TotalBarLabel field's value. +func (s *WaterfallChartOptions) SetTotalBarLabel(v string) *WaterfallChartOptions { + s.TotalBarLabel = &v return s } -type UpdateUserInput struct { +// The sort configuration of a waterfall visual. +type WaterfallChartSortConfiguration struct { _ struct{} `type:"structure"` - // The ID for the Amazon Web Services account that the user is in. Currently, - // you use the ID for the Amazon Web Services account that contains your Amazon - // QuickSight account. - // - // AwsAccountId is a required field - AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` - - // The URL of the custom OpenID Connect (OIDC) provider that provides identity - // to let a user federate into Amazon QuickSight with an associated Identity - // and Access Management(IAM) role. This parameter should only be used when - // ExternalLoginFederationProviderType parameter is set to CUSTOM_OIDC. - CustomFederationProviderUrl *string `type:"string"` - - // (Enterprise edition only) The name of the custom permissions profile that - // you want to assign to this user. Customized permissions allows you to control - // a user's access by restricting access the following operations: - // - // * Create and update data sources - // - // * Create and update datasets - // - // * Create and update email reports - // - // * Subscribe to email reports - // - // A set of custom permissions includes any combination of these restrictions. - // Currently, you need to create the profile names for custom permission sets - // by using the Amazon QuickSight console. Then, you use the RegisterUser API - // operation to assign the named set of permissions to a Amazon QuickSight user. - // - // Amazon QuickSight custom permissions are applied through IAM policies. Therefore, - // they override the permissions typically granted by assigning Amazon QuickSight - // users to one of the default security cohorts in Amazon QuickSight (admin, - // author, reader). - // - // This feature is available only to Amazon QuickSight Enterprise edition subscriptions. - CustomPermissionsName *string `min:"1" type:"string"` + // The limit on the number of bar groups that are displayed. + BreakdownItemsLimit *ItemsLimitConfiguration `type:"structure"` - // The email address of the user that you want to update. - // - // Email is a required field - Email *string `type:"string" required:"true"` + // The sort configuration of the category fields. + CategorySort []*FieldSortOptions `type:"list"` +} - // The type of supported external login provider that provides identity to let - // a user federate into Amazon QuickSight with an associated Identity and Access - // Management(IAM) role. The type of supported external login provider can be - // one of the following. - // - // * COGNITO: Amazon Cognito. The provider URL is cognito-identity.amazonaws.com. - // When choosing the COGNITO provider type, don’t use the "CustomFederationProviderUrl" - // parameter which is only needed when the external provider is custom. - // - // * CUSTOM_OIDC: Custom OpenID Connect (OIDC) provider. When choosing CUSTOM_OIDC - // type, use the CustomFederationProviderUrl parameter to provide the custom - // OIDC provider URL. - // - // * NONE: This clears all the previously saved external login information - // for a user. Use the DescribeUser (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_DescribeUser.html) - // API operation to check the external login information. - ExternalLoginFederationProviderType *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 WaterfallChartSortConfiguration) String() string { + return awsutil.Prettify(s) +} - // The identity ID for a user in the external login provider. - ExternalLoginId *string `type:"string"` +// 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 WaterfallChartSortConfiguration) GoString() string { + return s.String() +} - // The namespace. Currently, you should set this to default. - // - // Namespace is a required field - Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` +// Validate inspects the fields of the type to determine if they are valid. +func (s *WaterfallChartSortConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "WaterfallChartSortConfiguration"} + if s.CategorySort != nil { + for i, v := range s.CategorySort { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CategorySort", i), err.(request.ErrInvalidParams)) + } + } + } - // The Amazon QuickSight role of the user. The role can be one of the following - // default security cohorts: - // - // * READER: A user who has read-only access to dashboards. - // - // * AUTHOR: A user who can create data sources, datasets, analyses, and - // dashboards. - // - // * ADMIN: A user who is an author, who can also manage Amazon QuickSight - // settings. - // - // The name of the Amazon QuickSight role is invisible to the user except for - // the console screens dealing with permissions. - // - // Role is a required field - Role *string `type:"string" required:"true" enum:"UserRole"` + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} - // A flag that you use to indicate that you want to remove all custom permissions - // from this user. Using this parameter resets the user to the state it was - // in before a custom permissions profile was applied. This parameter defaults - // to NULL and it doesn't accept any other value. - UnapplyCustomPermissions *bool `type:"boolean"` +// SetBreakdownItemsLimit sets the BreakdownItemsLimit field's value. +func (s *WaterfallChartSortConfiguration) SetBreakdownItemsLimit(v *ItemsLimitConfiguration) *WaterfallChartSortConfiguration { + s.BreakdownItemsLimit = v + return s +} - // The Amazon QuickSight user name that you want to update. +// SetCategorySort sets the CategorySort field's value. +func (s *WaterfallChartSortConfiguration) SetCategorySort(v []*FieldSortOptions) *WaterfallChartSortConfiguration { + s.CategorySort = v + return s +} + +// A waterfall chart. +// +// For more information, see Using waterfall charts (https://docs.aws.amazon.com/quicksight/latest/user/waterfall-chart.html) +// in the Amazon QuickSight User Guide. +type WaterfallVisual struct { + _ struct{} `type:"structure"` + + // The list of custom actions that are configured for a visual. + Actions []*VisualCustomAction `type:"list"` + + // The configuration for a waterfall visual. + ChartConfiguration *WaterfallChartConfiguration `type:"structure"` + + // The column hierarchy that is used during drill-downs and drill-ups. + ColumnHierarchies []*ColumnHierarchy `type:"list"` + + // The subtitle that is displayed on the visual. + Subtitle *VisualSubtitleLabelOptions `type:"structure"` + + // The title that is displayed on the visual. + Title *VisualTitleLabelOptions `type:"structure"` + + // The unique identifier of a visual. This identifier must be unique within + // the context of a dashboard, template, or analysis. Two dashboards, analyses, + // or templates can have visuals with the same identifiers. // - // UserName is a required field - UserName *string `location:"uri" locationName:"UserName" min:"1" type:"string" required:"true"` + // VisualId is a required field + VisualId *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -45148,7 +79697,7 @@ type UpdateUserInput struct { // 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 UpdateUserInput) String() string { +func (s WaterfallVisual) String() string { return awsutil.Prettify(s) } @@ -45157,39 +79706,53 @@ func (s UpdateUserInput) String() string { // 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 UpdateUserInput) GoString() string { +func (s WaterfallVisual) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateUserInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateUserInput"} - if s.AwsAccountId == nil { - invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) - } - if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) - } - if s.CustomPermissionsName != nil && len(*s.CustomPermissionsName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("CustomPermissionsName", 1)) +func (s *WaterfallVisual) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "WaterfallVisual"} + if s.VisualId == nil { + invalidParams.Add(request.NewErrParamRequired("VisualId")) } - if s.Email == nil { - invalidParams.Add(request.NewErrParamRequired("Email")) + if s.VisualId != nil && len(*s.VisualId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("VisualId", 1)) } - if s.Namespace == nil { - invalidParams.Add(request.NewErrParamRequired("Namespace")) + if s.Actions != nil { + for i, v := range s.Actions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Actions", i), err.(request.ErrInvalidParams)) + } + } } - if s.Namespace != nil && len(*s.Namespace) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + if s.ChartConfiguration != nil { + if err := s.ChartConfiguration.Validate(); err != nil { + invalidParams.AddNested("ChartConfiguration", err.(request.ErrInvalidParams)) + } } - if s.Role == nil { - invalidParams.Add(request.NewErrParamRequired("Role")) + if s.ColumnHierarchies != nil { + for i, v := range s.ColumnHierarchies { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnHierarchies", i), err.(request.ErrInvalidParams)) + } + } } - if s.UserName == nil { - invalidParams.Add(request.NewErrParamRequired("UserName")) + if s.Subtitle != nil { + if err := s.Subtitle.Validate(); err != nil { + invalidParams.AddNested("Subtitle", err.(request.ErrInvalidParams)) + } } - if s.UserName != nil && len(*s.UserName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UserName", 1)) + if s.Title != nil { + if err := s.Title.Validate(); err != nil { + invalidParams.AddNested("Title", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -45198,77 +79761,121 @@ func (s *UpdateUserInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *UpdateUserInput) SetAwsAccountId(v string) *UpdateUserInput { - s.AwsAccountId = &v +// SetActions sets the Actions field's value. +func (s *WaterfallVisual) SetActions(v []*VisualCustomAction) *WaterfallVisual { + s.Actions = v return s } -// SetCustomFederationProviderUrl sets the CustomFederationProviderUrl field's value. -func (s *UpdateUserInput) SetCustomFederationProviderUrl(v string) *UpdateUserInput { - s.CustomFederationProviderUrl = &v +// SetChartConfiguration sets the ChartConfiguration field's value. +func (s *WaterfallVisual) SetChartConfiguration(v *WaterfallChartConfiguration) *WaterfallVisual { + s.ChartConfiguration = v return s } -// SetCustomPermissionsName sets the CustomPermissionsName field's value. -func (s *UpdateUserInput) SetCustomPermissionsName(v string) *UpdateUserInput { - s.CustomPermissionsName = &v +// SetColumnHierarchies sets the ColumnHierarchies field's value. +func (s *WaterfallVisual) SetColumnHierarchies(v []*ColumnHierarchy) *WaterfallVisual { + s.ColumnHierarchies = v return s } -// SetEmail sets the Email field's value. -func (s *UpdateUserInput) SetEmail(v string) *UpdateUserInput { - s.Email = &v +// SetSubtitle sets the Subtitle field's value. +func (s *WaterfallVisual) SetSubtitle(v *VisualSubtitleLabelOptions) *WaterfallVisual { + s.Subtitle = v return s } -// SetExternalLoginFederationProviderType sets the ExternalLoginFederationProviderType field's value. -func (s *UpdateUserInput) SetExternalLoginFederationProviderType(v string) *UpdateUserInput { - s.ExternalLoginFederationProviderType = &v +// SetTitle sets the Title field's value. +func (s *WaterfallVisual) SetTitle(v *VisualTitleLabelOptions) *WaterfallVisual { + s.Title = v return s } -// SetExternalLoginId sets the ExternalLoginId field's value. -func (s *UpdateUserInput) SetExternalLoginId(v string) *UpdateUserInput { - s.ExternalLoginId = &v +// SetVisualId sets the VisualId field's value. +func (s *WaterfallVisual) SetVisualId(v string) *WaterfallVisual { + s.VisualId = &v return s } -// SetNamespace sets the Namespace field's value. -func (s *UpdateUserInput) SetNamespace(v string) *UpdateUserInput { - s.Namespace = &v - return s +// Provides the forecast to meet the target for a particular date. +type WhatIfPointScenario struct { + _ struct{} `type:"structure"` + + // The date that you need the forecast results for. + // + // Date is a required field + Date *time.Time `type:"timestamp" required:"true"` + + // The target value that you want to meet for the provided date. + // + // Value is a required field + Value *float64 `type:"double" required:"true"` } -// SetRole sets the Role field's value. -func (s *UpdateUserInput) SetRole(v string) *UpdateUserInput { - s.Role = &v - return s +// 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 WhatIfPointScenario) String() string { + return awsutil.Prettify(s) } -// SetUnapplyCustomPermissions sets the UnapplyCustomPermissions field's value. -func (s *UpdateUserInput) SetUnapplyCustomPermissions(v bool) *UpdateUserInput { - s.UnapplyCustomPermissions = &v +// 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 WhatIfPointScenario) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *WhatIfPointScenario) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "WhatIfPointScenario"} + if s.Date == nil { + invalidParams.Add(request.NewErrParamRequired("Date")) + } + if s.Value == nil { + invalidParams.Add(request.NewErrParamRequired("Value")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDate sets the Date field's value. +func (s *WhatIfPointScenario) SetDate(v time.Time) *WhatIfPointScenario { + s.Date = &v return s } -// SetUserName sets the UserName field's value. -func (s *UpdateUserInput) SetUserName(v string) *UpdateUserInput { - s.UserName = &v +// SetValue sets the Value field's value. +func (s *WhatIfPointScenario) SetValue(v float64) *WhatIfPointScenario { + s.Value = &v return s } -type UpdateUserOutput struct { +// Provides the forecast to meet the target for a particular date range. +type WhatIfRangeScenario struct { _ struct{} `type:"structure"` - // The Amazon Web Services request ID for this operation. - RequestId *string `type:"string"` + // The end date in the date range that you need the forecast results for. + // + // EndDate is a required field + EndDate *time.Time `type:"timestamp" required:"true"` - // The HTTP status of the request. - Status *int64 `location:"statusCode" type:"integer"` + // The start date in the date range that you need the forecast results for. + // + // StartDate is a required field + StartDate *time.Time `type:"timestamp" required:"true"` - // The Amazon QuickSight user. - User *User `type:"structure"` + // The target value that you want to meet for the provided date range. + // + // Value is a required field + Value *float64 `type:"double" required:"true"` } // String returns the string representation. @@ -45276,7 +79883,7 @@ type UpdateUserOutput struct { // 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 UpdateUserOutput) String() string { +func (s WhatIfRangeScenario) String() string { return awsutil.Prettify(s) } @@ -45285,46 +79892,57 @@ func (s UpdateUserOutput) String() string { // 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 UpdateUserOutput) GoString() string { +func (s WhatIfRangeScenario) GoString() string { return s.String() } -// SetRequestId sets the RequestId field's value. -func (s *UpdateUserOutput) SetRequestId(v string) *UpdateUserOutput { - s.RequestId = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *WhatIfRangeScenario) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "WhatIfRangeScenario"} + if s.EndDate == nil { + invalidParams.Add(request.NewErrParamRequired("EndDate")) + } + if s.StartDate == nil { + invalidParams.Add(request.NewErrParamRequired("StartDate")) + } + if s.Value == nil { + invalidParams.Add(request.NewErrParamRequired("Value")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEndDate sets the EndDate field's value. +func (s *WhatIfRangeScenario) SetEndDate(v time.Time) *WhatIfRangeScenario { + s.EndDate = &v return s } -// SetStatus sets the Status field's value. -func (s *UpdateUserOutput) SetStatus(v int64) *UpdateUserOutput { - s.Status = &v +// SetStartDate sets the StartDate field's value. +func (s *WhatIfRangeScenario) SetStartDate(v time.Time) *WhatIfRangeScenario { + s.StartDate = &v return s } -// SetUser sets the User field's value. -func (s *UpdateUserOutput) SetUser(v *User) *UpdateUserOutput { - s.User = v +// SetValue sets the Value field's value. +func (s *WhatIfRangeScenario) SetValue(v float64) *WhatIfRangeScenario { + s.Value = &v return s } -// Information about the format for a source file or files. -type UploadSettings struct { +// The aggregated field wells of a word cloud. +type WordCloudAggregatedFieldWells struct { _ struct{} `type:"structure"` - // Whether the file has a header row, or the files each have a header row. - ContainsHeader *bool `type:"boolean"` - - // The delimiter between values in the file. - Delimiter *string `min:"1" type:"string"` - - // File format. - Format *string `type:"string" enum:"FileFormat"` + // The group by field well of a word cloud. Values are grouped by group by fields. + GroupBy []*DimensionField `type:"list"` - // A row number to start reading data from. - StartFromRow *int64 `min:"1" type:"integer"` - - // Text qualifier. - TextQualifier *string `type:"string" enum:"TextQualifier"` + // The size field well of a word cloud. Values are aggregated based on group + // by fields. + Size []*MeasureField `type:"list"` } // String returns the string representation. @@ -45332,7 +79950,7 @@ type UploadSettings struct { // 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 UploadSettings) String() string { +func (s WordCloudAggregatedFieldWells) String() string { return awsutil.Prettify(s) } @@ -45341,18 +79959,32 @@ func (s UploadSettings) String() string { // 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 UploadSettings) GoString() string { +func (s WordCloudAggregatedFieldWells) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UploadSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UploadSettings"} - if s.Delimiter != nil && len(*s.Delimiter) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Delimiter", 1)) +func (s *WordCloudAggregatedFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "WordCloudAggregatedFieldWells"} + if s.GroupBy != nil { + for i, v := range s.GroupBy { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GroupBy", i), err.(request.ErrInvalidParams)) + } + } } - if s.StartFromRow != nil && *s.StartFromRow < 1 { - invalidParams.Add(request.NewErrParamMinValue("StartFromRow", 1)) + if s.Size != nil { + for i, v := range s.Size { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Size", i), err.(request.ErrInvalidParams)) + } + } } if invalidParams.Len() > 0 { @@ -45361,96 +79993,117 @@ func (s *UploadSettings) Validate() error { return nil } -// SetContainsHeader sets the ContainsHeader field's value. -func (s *UploadSettings) SetContainsHeader(v bool) *UploadSettings { - s.ContainsHeader = &v +// SetGroupBy sets the GroupBy field's value. +func (s *WordCloudAggregatedFieldWells) SetGroupBy(v []*DimensionField) *WordCloudAggregatedFieldWells { + s.GroupBy = v return s } -// SetDelimiter sets the Delimiter field's value. -func (s *UploadSettings) SetDelimiter(v string) *UploadSettings { - s.Delimiter = &v +// SetSize sets the Size field's value. +func (s *WordCloudAggregatedFieldWells) SetSize(v []*MeasureField) *WordCloudAggregatedFieldWells { + s.Size = v return s } -// SetFormat sets the Format field's value. -func (s *UploadSettings) SetFormat(v string) *UploadSettings { - s.Format = &v - return s -} +// The configuration of a word cloud visual. +type WordCloudChartConfiguration struct { + _ struct{} `type:"structure"` -// SetStartFromRow sets the StartFromRow field's value. -func (s *UploadSettings) SetStartFromRow(v int64) *UploadSettings { - s.StartFromRow = &v - return s -} + // The label options (label text, label visibility, and sort icon visibility) + // for the word cloud category. + CategoryLabelOptions *ChartAxisLabelOptions `type:"structure"` -// SetTextQualifier sets the TextQualifier field's value. -func (s *UploadSettings) SetTextQualifier(v string) *UploadSettings { - s.TextQualifier = &v - return s -} + // The field wells of the visual. + FieldWells *WordCloudFieldWells `type:"structure"` -// A registered user of Amazon QuickSight. -type User struct { - _ struct{} `type:"structure"` + // The sort configuration of a word cloud visual. + SortConfiguration *WordCloudSortConfiguration `type:"structure"` - // The active status of user. When you create an Amazon QuickSight user that’s - // not an IAM user or an Active Directory user, that user is inactive until - // they sign in and provide a password. - Active *bool `type:"boolean"` + // The options for a word cloud visual. + WordCloudOptions *WordCloudOptions `type:"structure"` +} - // The Amazon Resource Name (ARN) for the user. - Arn *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 WordCloudChartConfiguration) String() string { + return awsutil.Prettify(s) +} - // The custom permissions profile associated with this user. - CustomPermissionsName *string `min:"1" type:"string"` +// 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 WordCloudChartConfiguration) GoString() string { + return s.String() +} - // The user's email address. - Email *string `type:"string"` +// Validate inspects the fields of the type to determine if they are valid. +func (s *WordCloudChartConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "WordCloudChartConfiguration"} + if s.CategoryLabelOptions != nil { + if err := s.CategoryLabelOptions.Validate(); err != nil { + invalidParams.AddNested("CategoryLabelOptions", err.(request.ErrInvalidParams)) + } + } + if s.FieldWells != nil { + if err := s.FieldWells.Validate(); err != nil { + invalidParams.AddNested("FieldWells", err.(request.ErrInvalidParams)) + } + } + if s.SortConfiguration != nil { + if err := s.SortConfiguration.Validate(); err != nil { + invalidParams.AddNested("SortConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.WordCloudOptions != nil { + if err := s.WordCloudOptions.Validate(); err != nil { + invalidParams.AddNested("WordCloudOptions", err.(request.ErrInvalidParams)) + } + } - // The type of supported external login provider that provides identity to let - // the user federate into Amazon QuickSight with an associated IAM role. The - // type can be one of the following. - // - // * COGNITO: Amazon Cognito. The provider URL is cognito-identity.amazonaws.com. - // - // * CUSTOM_OIDC: Custom OpenID Connect (OIDC) provider. - ExternalLoginFederationProviderType *string `type:"string"` + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} - // The URL of the external login provider. - ExternalLoginFederationProviderUrl *string `type:"string"` +// SetCategoryLabelOptions sets the CategoryLabelOptions field's value. +func (s *WordCloudChartConfiguration) SetCategoryLabelOptions(v *ChartAxisLabelOptions) *WordCloudChartConfiguration { + s.CategoryLabelOptions = v + return s +} - // The identity ID for the user in the external login provider. - ExternalLoginId *string `type:"string"` +// SetFieldWells sets the FieldWells field's value. +func (s *WordCloudChartConfiguration) SetFieldWells(v *WordCloudFieldWells) *WordCloudChartConfiguration { + s.FieldWells = v + return s +} - // The type of identity authentication used by the user. - IdentityType *string `type:"string" enum:"IdentityType"` +// SetSortConfiguration sets the SortConfiguration field's value. +func (s *WordCloudChartConfiguration) SetSortConfiguration(v *WordCloudSortConfiguration) *WordCloudChartConfiguration { + s.SortConfiguration = v + return s +} - // The principal ID of the user. - PrincipalId *string `type:"string"` +// SetWordCloudOptions sets the WordCloudOptions field's value. +func (s *WordCloudChartConfiguration) SetWordCloudOptions(v *WordCloudOptions) *WordCloudChartConfiguration { + s.WordCloudOptions = v + return s +} - // The Amazon QuickSight role for the user. The user role can be one of the - // following:. - // - // * READER: A user who has read-only access to dashboards. - // - // * AUTHOR: A user who can create data sources, datasets, analyses, and - // dashboards. - // - // * ADMIN: A user who is an author, who can also manage Amazon Amazon QuickSight - // settings. - // - // * RESTRICTED_READER: This role isn't currently available for use. - // - // * RESTRICTED_AUTHOR: This role isn't currently available for use. - Role *string `type:"string" enum:"UserRole"` +// The field wells of a word cloud visual. +// +// This is a union type structure. For this structure to be valid, only one +// of the attributes can be defined. +type WordCloudFieldWells struct { + _ struct{} `type:"structure"` - // The user's user name. This value is required if you are registering a user - // that will be managed in Amazon QuickSight. In the output, the value for UserName - // is N/A when the value for IdentityType is IAM and the corresponding IAM user - // is deleted. - UserName *string `min:"1" type:"string"` + // The aggregated field wells of a word cloud. + WordCloudAggregatedFieldWells *WordCloudAggregatedFieldWells `type:"structure"` } // String returns the string representation. @@ -45458,7 +80111,7 @@ type User struct { // 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 User) String() string { +func (s WordCloudFieldWells) String() string { return awsutil.Prettify(s) } @@ -45467,87 +80120,133 @@ func (s User) String() string { // 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 User) GoString() string { +func (s WordCloudFieldWells) GoString() string { return s.String() } -// SetActive sets the Active field's value. -func (s *User) SetActive(v bool) *User { - s.Active = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *WordCloudFieldWells) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "WordCloudFieldWells"} + if s.WordCloudAggregatedFieldWells != nil { + if err := s.WordCloudAggregatedFieldWells.Validate(); err != nil { + invalidParams.AddNested("WordCloudAggregatedFieldWells", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetArn sets the Arn field's value. -func (s *User) SetArn(v string) *User { - s.Arn = &v +// SetWordCloudAggregatedFieldWells sets the WordCloudAggregatedFieldWells field's value. +func (s *WordCloudFieldWells) SetWordCloudAggregatedFieldWells(v *WordCloudAggregatedFieldWells) *WordCloudFieldWells { + s.WordCloudAggregatedFieldWells = v return s } -// SetCustomPermissionsName sets the CustomPermissionsName field's value. -func (s *User) SetCustomPermissionsName(v string) *User { - s.CustomPermissionsName = &v - return s +// The word cloud options for a word cloud visual. +type WordCloudOptions struct { + _ struct{} `type:"structure"` + + // The cloud layout options (fluid, normal) of a word cloud. + CloudLayout *string `type:"string" enum:"WordCloudCloudLayout"` + + // The length limit of each word from 1-100. + MaximumStringLength *int64 `min:"1" type:"integer"` + + // The word casing options (lower_case, existing_case) for the words in a word + // cloud. + WordCasing *string `type:"string" enum:"WordCloudWordCasing"` + + // The word orientation options (horizontal, horizontal_and_vertical) for the + // words in a word cloud. + WordOrientation *string `type:"string" enum:"WordCloudWordOrientation"` + + // The word padding options (none, small, medium, large) for the words in a + // word cloud. + WordPadding *string `type:"string" enum:"WordCloudWordPadding"` + + // The word scaling options (emphasize, normal) for the words in a word cloud. + WordScaling *string `type:"string" enum:"WordCloudWordScaling"` } -// SetEmail sets the Email field's value. -func (s *User) SetEmail(v string) *User { - s.Email = &v - return s +// 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 WordCloudOptions) String() string { + return awsutil.Prettify(s) } -// SetExternalLoginFederationProviderType sets the ExternalLoginFederationProviderType field's value. -func (s *User) SetExternalLoginFederationProviderType(v string) *User { - s.ExternalLoginFederationProviderType = &v - return 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 WordCloudOptions) GoString() string { + return s.String() } -// SetExternalLoginFederationProviderUrl sets the ExternalLoginFederationProviderUrl field's value. -func (s *User) SetExternalLoginFederationProviderUrl(v string) *User { - s.ExternalLoginFederationProviderUrl = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *WordCloudOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "WordCloudOptions"} + if s.MaximumStringLength != nil && *s.MaximumStringLength < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaximumStringLength", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCloudLayout sets the CloudLayout field's value. +func (s *WordCloudOptions) SetCloudLayout(v string) *WordCloudOptions { + s.CloudLayout = &v return s } -// SetExternalLoginId sets the ExternalLoginId field's value. -func (s *User) SetExternalLoginId(v string) *User { - s.ExternalLoginId = &v +// SetMaximumStringLength sets the MaximumStringLength field's value. +func (s *WordCloudOptions) SetMaximumStringLength(v int64) *WordCloudOptions { + s.MaximumStringLength = &v return s } -// SetIdentityType sets the IdentityType field's value. -func (s *User) SetIdentityType(v string) *User { - s.IdentityType = &v +// SetWordCasing sets the WordCasing field's value. +func (s *WordCloudOptions) SetWordCasing(v string) *WordCloudOptions { + s.WordCasing = &v return s } -// SetPrincipalId sets the PrincipalId field's value. -func (s *User) SetPrincipalId(v string) *User { - s.PrincipalId = &v +// SetWordOrientation sets the WordOrientation field's value. +func (s *WordCloudOptions) SetWordOrientation(v string) *WordCloudOptions { + s.WordOrientation = &v return s } -// SetRole sets the Role field's value. -func (s *User) SetRole(v string) *User { - s.Role = &v +// SetWordPadding sets the WordPadding field's value. +func (s *WordCloudOptions) SetWordPadding(v string) *WordCloudOptions { + s.WordPadding = &v return s } -// SetUserName sets the UserName field's value. -func (s *User) SetUserName(v string) *User { - s.UserName = &v +// SetWordScaling sets the WordScaling field's value. +func (s *WordCloudOptions) SetWordScaling(v string) *WordCloudOptions { + s.WordScaling = &v return s } -// The user with the provided name isn't found. This error can happen in any -// operation that requires finding a user based on a provided user name, such -// as DeleteUser, DescribeUser, and so on. -type UserNotFoundException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +// The sort configuration of a word cloud visual. +type WordCloudSortConfiguration struct { + _ struct{} `type:"structure"` - Message_ *string `locationName:"Message" type:"string"` + // The limit on the number of groups that are displayed in a word cloud. + CategoryItemsLimit *ItemsLimitConfiguration `type:"structure"` - // The Amazon Web Services request ID for this request. - RequestId *string `type:"string"` + // The sort configuration of group by fields. + CategorySort []*FieldSortOptions `type:"list"` } // String returns the string representation. @@ -45555,7 +80254,7 @@ type UserNotFoundException struct { // 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 UserNotFoundException) String() string { +func (s WordCloudSortConfiguration) String() string { return awsutil.Prettify(s) } @@ -45564,56 +80263,70 @@ func (s UserNotFoundException) String() string { // 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 UserNotFoundException) GoString() string { +func (s WordCloudSortConfiguration) GoString() string { return s.String() } -func newErrorUserNotFoundException(v protocol.ResponseMetadata) error { - return &UserNotFoundException{ - RespMetadata: v, +// Validate inspects the fields of the type to determine if they are valid. +func (s *WordCloudSortConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "WordCloudSortConfiguration"} + if s.CategorySort != nil { + for i, v := range s.CategorySort { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CategorySort", i), err.(request.ErrInvalidParams)) + } + } } -} - -// Code returns the exception type name. -func (s *UserNotFoundException) Code() string { - return "QuickSightUserNotFoundException" -} -// Message returns the exception's message. -func (s *UserNotFoundException) Message() string { - if s.Message_ != nil { - return *s.Message_ + if invalidParams.Len() > 0 { + return invalidParams } - return "" -} - -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *UserNotFoundException) OrigErr() error { return nil } -func (s *UserNotFoundException) Error() string { - return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) -} - -// Status code returns the HTTP status code for the request's response error. -func (s *UserNotFoundException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetCategoryItemsLimit sets the CategoryItemsLimit field's value. +func (s *WordCloudSortConfiguration) SetCategoryItemsLimit(v *ItemsLimitConfiguration) *WordCloudSortConfiguration { + s.CategoryItemsLimit = v + return s } -// RequestID returns the service's response RequestID for request. -func (s *UserNotFoundException) RequestID() string { - return s.RespMetadata.RequestID +// SetCategorySort sets the CategorySort field's value. +func (s *WordCloudSortConfiguration) SetCategorySort(v []*FieldSortOptions) *WordCloudSortConfiguration { + s.CategorySort = v + return s } -// VPC connection properties. -type VpcConnectionProperties struct { +// A word cloud. +// +// For more information, see Using word clouds (https://docs.aws.amazon.com/quicksight/latest/user/word-cloud.html) +// in the Amazon QuickSight User Guide. +type WordCloudVisual struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) for the VPC connection. + // The list of custom actions that are configured for a visual. + Actions []*VisualCustomAction `type:"list"` + + // The configuration settings of the visual. + ChartConfiguration *WordCloudChartConfiguration `type:"structure"` + + // The column hierarchy that is used during drill-downs and drill-ups. + ColumnHierarchies []*ColumnHierarchy `type:"list"` + + // The subtitle that is displayed on the visual. + Subtitle *VisualSubtitleLabelOptions `type:"structure"` + + // The title that is displayed on the visual. + Title *VisualTitleLabelOptions `type:"structure"` + + // The unique identifier of a visual. This identifier must be unique within + // the context of a dashboard, template, or analysis. Two dashboards, analyses, + // or templates can have visuals with the same identifiers.. // - // VpcConnectionArn is a required field - VpcConnectionArn *string `type:"string" required:"true"` + // VisualId is a required field + VisualId *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -45621,7 +80334,7 @@ type VpcConnectionProperties struct { // 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 VpcConnectionProperties) String() string { +func (s WordCloudVisual) String() string { return awsutil.Prettify(s) } @@ -45630,15 +80343,53 @@ func (s VpcConnectionProperties) String() string { // 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 VpcConnectionProperties) GoString() string { +func (s WordCloudVisual) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *VpcConnectionProperties) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "VpcConnectionProperties"} - if s.VpcConnectionArn == nil { - invalidParams.Add(request.NewErrParamRequired("VpcConnectionArn")) +func (s *WordCloudVisual) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "WordCloudVisual"} + if s.VisualId == nil { + invalidParams.Add(request.NewErrParamRequired("VisualId")) + } + if s.VisualId != nil && len(*s.VisualId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("VisualId", 1)) + } + if s.Actions != nil { + for i, v := range s.Actions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Actions", i), err.(request.ErrInvalidParams)) + } + } + } + if s.ChartConfiguration != nil { + if err := s.ChartConfiguration.Validate(); err != nil { + invalidParams.AddNested("ChartConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.ColumnHierarchies != nil { + for i, v := range s.ColumnHierarchies { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnHierarchies", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Subtitle != nil { + if err := s.Subtitle.Validate(); err != nil { + invalidParams.AddNested("Subtitle", err.(request.ErrInvalidParams)) + } + } + if s.Title != nil { + if err := s.Title.Validate(); err != nil { + invalidParams.AddNested("Title", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -45647,9 +80398,39 @@ func (s *VpcConnectionProperties) Validate() error { return nil } -// SetVpcConnectionArn sets the VpcConnectionArn field's value. -func (s *VpcConnectionProperties) SetVpcConnectionArn(v string) *VpcConnectionProperties { - s.VpcConnectionArn = &v +// SetActions sets the Actions field's value. +func (s *WordCloudVisual) SetActions(v []*VisualCustomAction) *WordCloudVisual { + s.Actions = v + return s +} + +// SetChartConfiguration sets the ChartConfiguration field's value. +func (s *WordCloudVisual) SetChartConfiguration(v *WordCloudChartConfiguration) *WordCloudVisual { + s.ChartConfiguration = v + return s +} + +// SetColumnHierarchies sets the ColumnHierarchies field's value. +func (s *WordCloudVisual) SetColumnHierarchies(v []*ColumnHierarchy) *WordCloudVisual { + s.ColumnHierarchies = v + return s +} + +// SetSubtitle sets the Subtitle field's value. +func (s *WordCloudVisual) SetSubtitle(v *VisualSubtitleLabelOptions) *WordCloudVisual { + s.Subtitle = v + return s +} + +// SetTitle sets the Title field's value. +func (s *WordCloudVisual) SetTitle(v *VisualTitleLabelOptions) *WordCloudVisual { + s.Title = v + return s +} + +// SetVisualId sets the VisualId field's value. +func (s *WordCloudVisual) SetVisualId(v string) *WordCloudVisual { + s.VisualId = &v return s } @@ -45737,6 +80518,62 @@ func AnalysisFilterAttribute_Values() []string { } } +const ( + // AnchorOptionNow is a AnchorOption enum value + AnchorOptionNow = "NOW" +) + +// AnchorOption_Values returns all elements of the AnchorOption enum +func AnchorOption_Values() []string { + return []string{ + AnchorOptionNow, + } +} + +const ( + // ArcThicknessSmall is a ArcThickness enum value + ArcThicknessSmall = "SMALL" + + // ArcThicknessMedium is a ArcThickness enum value + ArcThicknessMedium = "MEDIUM" + + // ArcThicknessLarge is a ArcThickness enum value + ArcThicknessLarge = "LARGE" + + // ArcThicknessWhole is a ArcThickness enum value + ArcThicknessWhole = "WHOLE" +) + +// ArcThickness_Values returns all elements of the ArcThickness enum +func ArcThickness_Values() []string { + return []string{ + ArcThicknessSmall, + ArcThicknessMedium, + ArcThicknessLarge, + ArcThicknessWhole, + } +} + +const ( + // ArcThicknessOptionsSmall is a ArcThicknessOptions enum value + ArcThicknessOptionsSmall = "SMALL" + + // ArcThicknessOptionsMedium is a ArcThicknessOptions enum value + ArcThicknessOptionsMedium = "MEDIUM" + + // ArcThicknessOptionsLarge is a ArcThicknessOptions enum value + ArcThicknessOptionsLarge = "LARGE" +) + +// ArcThicknessOptions_Values returns all elements of the ArcThicknessOptions enum +func ArcThicknessOptions_Values() []string { + return []string{ + ArcThicknessOptionsSmall, + ArcThicknessOptionsMedium, + ArcThicknessOptionsLarge, + } +} + const ( // AssignmentStatusEnabled is a AssignmentStatus enum value AssignmentStatusEnabled = "ENABLED" @@ -45777,6 +80614,174 @@ func AuthenticationMethodOption_Values() []string { } } +const ( + // AxisBindingPrimaryYaxis is a AxisBinding enum value + AxisBindingPrimaryYaxis = "PRIMARY_YAXIS" + + // AxisBindingSecondaryYaxis is a AxisBinding enum value + AxisBindingSecondaryYaxis = "SECONDARY_YAXIS" +) + +// AxisBinding_Values returns all elements of the AxisBinding enum +func AxisBinding_Values() []string { + return []string{ + AxisBindingPrimaryYaxis, + AxisBindingSecondaryYaxis, + } +} + +const ( + // BarChartOrientationHorizontal is a BarChartOrientation enum value + BarChartOrientationHorizontal = "HORIZONTAL" + + // BarChartOrientationVertical is a BarChartOrientation enum value + BarChartOrientationVertical = "VERTICAL" +) + +// BarChartOrientation_Values returns all elements of the BarChartOrientation enum +func BarChartOrientation_Values() []string { + return []string{ + BarChartOrientationHorizontal, + BarChartOrientationVertical, + } +} + +const ( + // BarsArrangementClustered is a BarsArrangement enum value + BarsArrangementClustered = "CLUSTERED" + + // BarsArrangementStacked is a BarsArrangement enum value + BarsArrangementStacked = "STACKED" + + // BarsArrangementStackedPercent is a BarsArrangement enum value + BarsArrangementStackedPercent = "STACKED_PERCENT" +) + +// BarsArrangement_Values returns all elements of the BarsArrangement enum +func BarsArrangement_Values() []string { + return []string{ + BarsArrangementClustered, + BarsArrangementStacked, + BarsArrangementStackedPercent, + } +} + +const ( + // BaseMapStyleTypeLightGray is a BaseMapStyleType enum value + BaseMapStyleTypeLightGray = "LIGHT_GRAY" + + // BaseMapStyleTypeDarkGray is a BaseMapStyleType enum value + BaseMapStyleTypeDarkGray = "DARK_GRAY" + + // BaseMapStyleTypeStreet is a BaseMapStyleType enum value + BaseMapStyleTypeStreet = "STREET" + + // BaseMapStyleTypeImagery is a BaseMapStyleType enum value + BaseMapStyleTypeImagery = "IMAGERY" +) + +// BaseMapStyleType_Values returns all elements of the BaseMapStyleType enum +func BaseMapStyleType_Values() []string { + return []string{ + BaseMapStyleTypeLightGray, + BaseMapStyleTypeDarkGray, + BaseMapStyleTypeStreet, + BaseMapStyleTypeImagery, + } +} + +const ( + // BoxPlotFillStyleSolid is a BoxPlotFillStyle enum value + BoxPlotFillStyleSolid = "SOLID" + + // BoxPlotFillStyleTransparent is a BoxPlotFillStyle enum value + BoxPlotFillStyleTransparent = "TRANSPARENT" +) + +// BoxPlotFillStyle_Values returns all elements of the BoxPlotFillStyle enum +func BoxPlotFillStyle_Values() []string { + return []string{ + BoxPlotFillStyleSolid, + BoxPlotFillStyleTransparent, + } +} + +const ( + // CategoricalAggregationFunctionCount is a CategoricalAggregationFunction enum value + CategoricalAggregationFunctionCount = "COUNT" + + // CategoricalAggregationFunctionDistinctCount is a CategoricalAggregationFunction enum value + CategoricalAggregationFunctionDistinctCount = "DISTINCT_COUNT" +) + +// CategoricalAggregationFunction_Values returns all elements of the CategoricalAggregationFunction enum +func CategoricalAggregationFunction_Values() []string { + return []string{ + CategoricalAggregationFunctionCount, + CategoricalAggregationFunctionDistinctCount, + } +} + +const ( + // CategoryFilterMatchOperatorEquals is a CategoryFilterMatchOperator enum value + CategoryFilterMatchOperatorEquals = "EQUALS" + + // CategoryFilterMatchOperatorDoesNotEqual is a CategoryFilterMatchOperator enum value + CategoryFilterMatchOperatorDoesNotEqual = "DOES_NOT_EQUAL" + + // CategoryFilterMatchOperatorContains is a CategoryFilterMatchOperator enum value + CategoryFilterMatchOperatorContains = "CONTAINS" + + // CategoryFilterMatchOperatorDoesNotContain is a CategoryFilterMatchOperator enum value + CategoryFilterMatchOperatorDoesNotContain = "DOES_NOT_CONTAIN" + + // CategoryFilterMatchOperatorStartsWith is a CategoryFilterMatchOperator enum value + CategoryFilterMatchOperatorStartsWith = "STARTS_WITH" + + // CategoryFilterMatchOperatorEndsWith is a CategoryFilterMatchOperator enum value + CategoryFilterMatchOperatorEndsWith = "ENDS_WITH" +) + +// CategoryFilterMatchOperator_Values returns all elements of the CategoryFilterMatchOperator enum +func CategoryFilterMatchOperator_Values() []string { + return []string{ + CategoryFilterMatchOperatorEquals, + CategoryFilterMatchOperatorDoesNotEqual, + CategoryFilterMatchOperatorContains, + CategoryFilterMatchOperatorDoesNotContain, + CategoryFilterMatchOperatorStartsWith, + CategoryFilterMatchOperatorEndsWith, + } +} + +const ( + // CategoryFilterSelectAllOptionsFilterAllValues is a CategoryFilterSelectAllOptions enum value + CategoryFilterSelectAllOptionsFilterAllValues = "FILTER_ALL_VALUES" +) + +// CategoryFilterSelectAllOptions_Values returns all elements of the CategoryFilterSelectAllOptions enum +func CategoryFilterSelectAllOptions_Values() []string { + return []string{ + CategoryFilterSelectAllOptionsFilterAllValues, + } +} + +const ( + // ColorFillTypeDiscrete is a ColorFillType enum value + ColorFillTypeDiscrete = "DISCRETE" + + // ColorFillTypeGradient is a ColorFillType enum value + ColorFillTypeGradient = "GRADIENT" +) + +// ColorFillType_Values returns all elements of the ColorFillType enum +func ColorFillType_Values() []string { + return []string{ + ColorFillTypeDiscrete, + ColorFillTypeGradient, + } +} + const ( // ColumnDataTypeString is a ColumnDataType enum value ColumnDataTypeString = "STRING" @@ -45801,6 +80806,22 @@ func ColumnDataType_Values() []string { } } +const ( + // ColumnRoleDimension is a ColumnRole enum value + ColumnRoleDimension = "DIMENSION" + + // ColumnRoleMeasure is a ColumnRole enum value + ColumnRoleMeasure = "MEASURE" +) + +// ColumnRole_Values returns all elements of the ColumnRole enum +func ColumnRole_Values() []string { + return []string{ + ColumnRoleDimension, + ColumnRoleMeasure, + } +} + const ( // ColumnTagNameColumnGeographicRole is a ColumnTagName enum value ColumnTagNameColumnGeographicRole = "COLUMN_GEOGRAPHIC_ROLE" @@ -45817,6 +80838,146 @@ func ColumnTagName_Values() []string { } } +const ( + // ComparisonMethodDifference is a ComparisonMethod enum value + ComparisonMethodDifference = "DIFFERENCE" + + // ComparisonMethodPercentDifference is a ComparisonMethod enum value + ComparisonMethodPercentDifference = "PERCENT_DIFFERENCE" + + // ComparisonMethodPercent is a ComparisonMethod enum value + ComparisonMethodPercent = "PERCENT" +) + +// ComparisonMethod_Values returns all elements of the ComparisonMethod enum +func ComparisonMethod_Values() []string { + return []string{ + ComparisonMethodDifference, + ComparisonMethodPercentDifference, + ComparisonMethodPercent, + } +} + +const ( + // ConditionalFormattingIconDisplayOptionIconOnly is a ConditionalFormattingIconDisplayOption enum value + ConditionalFormattingIconDisplayOptionIconOnly = "ICON_ONLY" +) + +// ConditionalFormattingIconDisplayOption_Values returns all elements of the ConditionalFormattingIconDisplayOption enum +func ConditionalFormattingIconDisplayOption_Values() []string { + return []string{ + ConditionalFormattingIconDisplayOptionIconOnly, + } +} + +const ( + // ConditionalFormattingIconSetTypePlusMinus is a ConditionalFormattingIconSetType enum value + ConditionalFormattingIconSetTypePlusMinus = "PLUS_MINUS" + + // ConditionalFormattingIconSetTypeCheckX is a ConditionalFormattingIconSetType enum value + ConditionalFormattingIconSetTypeCheckX = "CHECK_X" + + // ConditionalFormattingIconSetTypeThreeColorArrow is a ConditionalFormattingIconSetType enum value + ConditionalFormattingIconSetTypeThreeColorArrow = "THREE_COLOR_ARROW" + + // ConditionalFormattingIconSetTypeThreeGrayArrow is a ConditionalFormattingIconSetType enum value + ConditionalFormattingIconSetTypeThreeGrayArrow = "THREE_GRAY_ARROW" + + // ConditionalFormattingIconSetTypeCaretUpMinusDown is a ConditionalFormattingIconSetType enum value + ConditionalFormattingIconSetTypeCaretUpMinusDown = "CARET_UP_MINUS_DOWN" + + // ConditionalFormattingIconSetTypeThreeShape is a ConditionalFormattingIconSetType enum value + ConditionalFormattingIconSetTypeThreeShape = "THREE_SHAPE" + + // ConditionalFormattingIconSetTypeThreeCircle is a ConditionalFormattingIconSetType enum value + ConditionalFormattingIconSetTypeThreeCircle = "THREE_CIRCLE" + + // ConditionalFormattingIconSetTypeFlags is a ConditionalFormattingIconSetType enum value + ConditionalFormattingIconSetTypeFlags = "FLAGS" + + // ConditionalFormattingIconSetTypeBars is a ConditionalFormattingIconSetType enum value + ConditionalFormattingIconSetTypeBars = "BARS" + + // ConditionalFormattingIconSetTypeFourColorArrow is a ConditionalFormattingIconSetType enum value + ConditionalFormattingIconSetTypeFourColorArrow = "FOUR_COLOR_ARROW" + + // ConditionalFormattingIconSetTypeFourGrayArrow is a ConditionalFormattingIconSetType enum value + ConditionalFormattingIconSetTypeFourGrayArrow = "FOUR_GRAY_ARROW" +) + +// ConditionalFormattingIconSetType_Values returns all elements of the ConditionalFormattingIconSetType enum +func ConditionalFormattingIconSetType_Values() []string { + return []string{ + ConditionalFormattingIconSetTypePlusMinus, + ConditionalFormattingIconSetTypeCheckX, + ConditionalFormattingIconSetTypeThreeColorArrow, + ConditionalFormattingIconSetTypeThreeGrayArrow, + ConditionalFormattingIconSetTypeCaretUpMinusDown, + ConditionalFormattingIconSetTypeThreeShape, + ConditionalFormattingIconSetTypeThreeCircle, + ConditionalFormattingIconSetTypeFlags, + ConditionalFormattingIconSetTypeBars, + ConditionalFormattingIconSetTypeFourColorArrow, + ConditionalFormattingIconSetTypeFourGrayArrow, + } +} + +const ( + // CrossDatasetTypesAllDatasets is a CrossDatasetTypes enum value + CrossDatasetTypesAllDatasets = "ALL_DATASETS" + + // CrossDatasetTypesSingleDataset is a CrossDatasetTypes enum value + CrossDatasetTypesSingleDataset = "SINGLE_DATASET" +) + +// CrossDatasetTypes_Values returns all elements of the CrossDatasetTypes enum +func CrossDatasetTypes_Values() []string { + return []string{ + CrossDatasetTypesAllDatasets, + CrossDatasetTypesSingleDataset, + } +} + +const ( + // CustomContentImageScalingConfigurationFitToHeight is a CustomContentImageScalingConfiguration enum value + CustomContentImageScalingConfigurationFitToHeight = "FIT_TO_HEIGHT" + + // CustomContentImageScalingConfigurationFitToWidth is a CustomContentImageScalingConfiguration enum value + CustomContentImageScalingConfigurationFitToWidth = "FIT_TO_WIDTH" + + // CustomContentImageScalingConfigurationDoNotScale is a CustomContentImageScalingConfiguration enum value + CustomContentImageScalingConfigurationDoNotScale = "DO_NOT_SCALE" + + // CustomContentImageScalingConfigurationScaleToVisual is a CustomContentImageScalingConfiguration enum value + CustomContentImageScalingConfigurationScaleToVisual = "SCALE_TO_VISUAL" +) + +// CustomContentImageScalingConfiguration_Values returns all elements of the CustomContentImageScalingConfiguration enum +func CustomContentImageScalingConfiguration_Values() []string { + return []string{ + CustomContentImageScalingConfigurationFitToHeight, + CustomContentImageScalingConfigurationFitToWidth, + CustomContentImageScalingConfigurationDoNotScale, + CustomContentImageScalingConfigurationScaleToVisual, + } +} + +const ( + // CustomContentTypeImage is a CustomContentType enum value + CustomContentTypeImage = "IMAGE" + + // CustomContentTypeOtherEmbeddedContent is a CustomContentType enum value + CustomContentTypeOtherEmbeddedContent = "OTHER_EMBEDDED_CONTENT" +) + +// CustomContentType_Values returns all elements of the CustomContentType enum +func CustomContentType_Values() []string { + return []string{ + CustomContentTypeImage, + CustomContentTypeOtherEmbeddedContent, + } +} + const ( // DashboardBehaviorEnabled is a DashboardBehavior enum value DashboardBehaviorEnabled = "ENABLED" @@ -45933,6 +81094,74 @@ func DashboardUIState_Values() []string { } } +const ( + // DataLabelContentValue is a DataLabelContent enum value + DataLabelContentValue = "VALUE" + + // DataLabelContentPercent is a DataLabelContent enum value + DataLabelContentPercent = "PERCENT" + + // DataLabelContentValueAndPercent is a DataLabelContent enum value + DataLabelContentValueAndPercent = "VALUE_AND_PERCENT" +) + +// DataLabelContent_Values returns all elements of the DataLabelContent enum +func DataLabelContent_Values() []string { + return []string{ + DataLabelContentValue, + DataLabelContentPercent, + DataLabelContentValueAndPercent, + } +} + +const ( + // DataLabelOverlapDisableOverlap is a DataLabelOverlap enum value + DataLabelOverlapDisableOverlap = "DISABLE_OVERLAP" + + // DataLabelOverlapEnableOverlap is a DataLabelOverlap enum value + DataLabelOverlapEnableOverlap = "ENABLE_OVERLAP" +) + +// DataLabelOverlap_Values returns all elements of the DataLabelOverlap enum +func DataLabelOverlap_Values() []string { + return []string{ + DataLabelOverlapDisableOverlap, + DataLabelOverlapEnableOverlap, + } +} + +const ( + // DataLabelPositionInside is a DataLabelPosition enum value + DataLabelPositionInside = "INSIDE" + + // DataLabelPositionOutside is a DataLabelPosition enum value + DataLabelPositionOutside = "OUTSIDE" + + // DataLabelPositionLeft is a DataLabelPosition enum value + DataLabelPositionLeft = "LEFT" + + // DataLabelPositionTop is a DataLabelPosition enum value + DataLabelPositionTop = "TOP" + + // DataLabelPositionBottom is a DataLabelPosition enum value + DataLabelPositionBottom = "BOTTOM" + + // DataLabelPositionRight is a DataLabelPosition enum value + DataLabelPositionRight = "RIGHT" +) + +// DataLabelPosition_Values returns all elements of the DataLabelPosition enum +func DataLabelPosition_Values() []string { + return []string{ + DataLabelPositionInside, + DataLabelPositionOutside, + DataLabelPositionLeft, + DataLabelPositionTop, + DataLabelPositionBottom, + DataLabelPositionRight, + } +} + const ( // DataSetFilterAttributeQuicksightViewerOrOwner is a DataSetFilterAttribute enum value DataSetFilterAttributeQuicksightViewerOrOwner = "QUICKSIGHT_VIEWER_OR_OWNER" @@ -46157,6 +81386,30 @@ func DataSourceType_Values() []string { } } +const ( + // DateAggregationFunctionCount is a DateAggregationFunction enum value + DateAggregationFunctionCount = "COUNT" + + // DateAggregationFunctionDistinctCount is a DateAggregationFunction enum value + DateAggregationFunctionDistinctCount = "DISTINCT_COUNT" + + // DateAggregationFunctionMin is a DateAggregationFunction enum value + DateAggregationFunctionMin = "MIN" + + // DateAggregationFunctionMax is a DateAggregationFunction enum value + DateAggregationFunctionMax = "MAX" +) + +// DateAggregationFunction_Values returns all elements of the DateAggregationFunction enum +func DateAggregationFunction_Values() []string { + return []string{ + DateAggregationFunctionCount, + DateAggregationFunctionDistinctCount, + DateAggregationFunctionMin, + DateAggregationFunctionMax, + } +} + const ( // EditionStandard is a Edition enum value EditionStandard = "STANDARD" @@ -46273,6 +81526,26 @@ func FileFormat_Values() []string { } } +const ( + // FilterNullOptionAllValues is a FilterNullOption enum value + FilterNullOptionAllValues = "ALL_VALUES" + + // FilterNullOptionNullsOnly is a FilterNullOption enum value + FilterNullOptionNullsOnly = "NULLS_ONLY" + + // FilterNullOptionNonNullsOnly is a FilterNullOption enum value + FilterNullOptionNonNullsOnly = "NON_NULLS_ONLY" +) + +// FilterNullOption_Values returns all elements of the FilterNullOption enum +func FilterNullOption_Values() []string { + return []string{ + FilterNullOptionAllValues, + FilterNullOptionNullsOnly, + FilterNullOptionNonNullsOnly, + } +} + const ( // FilterOperatorStringEquals is a FilterOperator enum value FilterOperatorStringEquals = "StringEquals" @@ -46289,6 +81562,22 @@ func FilterOperator_Values() []string { } } +const ( + // FilterVisualScopeAllVisuals is a FilterVisualScope enum value + FilterVisualScopeAllVisuals = "ALL_VISUALS" + + // FilterVisualScopeSelectedVisuals is a FilterVisualScope enum value + FilterVisualScopeSelectedVisuals = "SELECTED_VISUALS" +) + +// FilterVisualScope_Values returns all elements of the FilterVisualScope enum +func FilterVisualScope_Values() []string { + return []string{ + FilterVisualScopeAllVisuals, + FilterVisualScopeSelectedVisuals, + } +} + const ( // FolderFilterAttributeParentFolderArn is a FolderFilterAttribute enum value FolderFilterAttributeParentFolderArn = "PARENT_FOLDER_ARN" @@ -46330,10 +81619,102 @@ const ( FolderTypeShared = "SHARED" ) -// FolderType_Values returns all elements of the FolderType enum -func FolderType_Values() []string { +// FolderType_Values returns all elements of the FolderType enum +func FolderType_Values() []string { + return []string{ + FolderTypeShared, + } +} + +const ( + // FontDecorationUnderline is a FontDecoration enum value + FontDecorationUnderline = "UNDERLINE" + + // FontDecorationNone is a FontDecoration enum value + FontDecorationNone = "NONE" +) + +// FontDecoration_Values returns all elements of the FontDecoration enum +func FontDecoration_Values() []string { + return []string{ + FontDecorationUnderline, + FontDecorationNone, + } +} + +const ( + // FontStyleNormal is a FontStyle enum value + FontStyleNormal = "NORMAL" + + // FontStyleItalic is a FontStyle enum value + FontStyleItalic = "ITALIC" +) + +// FontStyle_Values returns all elements of the FontStyle enum +func FontStyle_Values() []string { + return []string{ + FontStyleNormal, + FontStyleItalic, + } +} + +const ( + // FontWeightNameNormal is a FontWeightName enum value + FontWeightNameNormal = "NORMAL" + + // FontWeightNameBold is a FontWeightName enum value + FontWeightNameBold = "BOLD" +) + +// FontWeightName_Values returns all elements of the FontWeightName enum +func FontWeightName_Values() []string { + return []string{ + FontWeightNameNormal, + FontWeightNameBold, + } +} + +const ( + // ForecastComputationSeasonalityAutomatic is a ForecastComputationSeasonality enum value + ForecastComputationSeasonalityAutomatic = "AUTOMATIC" + + // ForecastComputationSeasonalityCustom is a ForecastComputationSeasonality enum value + ForecastComputationSeasonalityCustom = "CUSTOM" +) + +// ForecastComputationSeasonality_Values returns all elements of the ForecastComputationSeasonality enum +func ForecastComputationSeasonality_Values() []string { + return []string{ + ForecastComputationSeasonalityAutomatic, + ForecastComputationSeasonalityCustom, + } +} + +const ( + // FunnelChartMeasureDataLabelStyleValueOnly is a FunnelChartMeasureDataLabelStyle enum value + FunnelChartMeasureDataLabelStyleValueOnly = "VALUE_ONLY" + + // FunnelChartMeasureDataLabelStylePercentageByFirstStage is a FunnelChartMeasureDataLabelStyle enum value + FunnelChartMeasureDataLabelStylePercentageByFirstStage = "PERCENTAGE_BY_FIRST_STAGE" + + // FunnelChartMeasureDataLabelStylePercentageByPreviousStage is a FunnelChartMeasureDataLabelStyle enum value + FunnelChartMeasureDataLabelStylePercentageByPreviousStage = "PERCENTAGE_BY_PREVIOUS_STAGE" + + // FunnelChartMeasureDataLabelStyleValueAndPercentageByFirstStage is a FunnelChartMeasureDataLabelStyle enum value + FunnelChartMeasureDataLabelStyleValueAndPercentageByFirstStage = "VALUE_AND_PERCENTAGE_BY_FIRST_STAGE" + + // FunnelChartMeasureDataLabelStyleValueAndPercentageByPreviousStage is a FunnelChartMeasureDataLabelStyle enum value + FunnelChartMeasureDataLabelStyleValueAndPercentageByPreviousStage = "VALUE_AND_PERCENTAGE_BY_PREVIOUS_STAGE" +) + +// FunnelChartMeasureDataLabelStyle_Values returns all elements of the FunnelChartMeasureDataLabelStyle enum +func FunnelChartMeasureDataLabelStyle_Values() []string { return []string{ - FolderTypeShared, + FunnelChartMeasureDataLabelStyleValueOnly, + FunnelChartMeasureDataLabelStylePercentageByFirstStage, + FunnelChartMeasureDataLabelStylePercentageByPreviousStage, + FunnelChartMeasureDataLabelStyleValueAndPercentageByFirstStage, + FunnelChartMeasureDataLabelStyleValueAndPercentageByPreviousStage, } } @@ -46385,6 +81766,22 @@ func GeoSpatialDataRole_Values() []string { } } +const ( + // GeospatialSelectedPointStylePoint is a GeospatialSelectedPointStyle enum value + GeospatialSelectedPointStylePoint = "POINT" + + // GeospatialSelectedPointStyleCluster is a GeospatialSelectedPointStyle enum value + GeospatialSelectedPointStyleCluster = "CLUSTER" +) + +// GeospatialSelectedPointStyle_Values returns all elements of the GeospatialSelectedPointStyle enum +func GeospatialSelectedPointStyle_Values() []string { + return []string{ + GeospatialSelectedPointStylePoint, + GeospatialSelectedPointStyleCluster, + } +} + const ( // GroupFilterAttributeGroupName is a GroupFilterAttribute enum value GroupFilterAttributeGroupName = "GROUP_NAME" @@ -46409,6 +81806,158 @@ func GroupFilterOperator_Values() []string { } } +const ( + // HistogramBinTypeBinCount is a HistogramBinType enum value + HistogramBinTypeBinCount = "BIN_COUNT" + + // HistogramBinTypeBinWidth is a HistogramBinType enum value + HistogramBinTypeBinWidth = "BIN_WIDTH" +) + +// HistogramBinType_Values returns all elements of the HistogramBinType enum +func HistogramBinType_Values() []string { + return []string{ + HistogramBinTypeBinCount, + HistogramBinTypeBinWidth, + } +} + +const ( + // HorizontalTextAlignmentLeft is a HorizontalTextAlignment enum value + HorizontalTextAlignmentLeft = "LEFT" + + // HorizontalTextAlignmentCenter is a HorizontalTextAlignment enum value + HorizontalTextAlignmentCenter = "CENTER" + + // HorizontalTextAlignmentRight is a HorizontalTextAlignment enum value + HorizontalTextAlignmentRight = "RIGHT" + + // HorizontalTextAlignmentAuto is a HorizontalTextAlignment enum value + HorizontalTextAlignmentAuto = "AUTO" +) + +// HorizontalTextAlignment_Values returns all elements of the HorizontalTextAlignment enum +func HorizontalTextAlignment_Values() []string { + return []string{ + HorizontalTextAlignmentLeft, + HorizontalTextAlignmentCenter, + HorizontalTextAlignmentRight, + HorizontalTextAlignmentAuto, + } +} + +const ( + // IconCaretUp is a Icon enum value + IconCaretUp = "CARET_UP" + + // IconCaretDown is a Icon enum value + IconCaretDown = "CARET_DOWN" + + // IconPlus is a Icon enum value + IconPlus = "PLUS" + + // IconMinus is a Icon enum value + IconMinus = "MINUS" + + // IconArrowUp is a Icon enum value + IconArrowUp = "ARROW_UP" + + // IconArrowDown is a Icon enum value + IconArrowDown = "ARROW_DOWN" + + // IconArrowLeft is a Icon enum value + IconArrowLeft = "ARROW_LEFT" + + // IconArrowUpLeft is a Icon enum value + IconArrowUpLeft = "ARROW_UP_LEFT" + + // IconArrowDownLeft is a Icon enum value + IconArrowDownLeft = "ARROW_DOWN_LEFT" + + // IconArrowRight is a Icon enum value + IconArrowRight = "ARROW_RIGHT" + + // IconArrowUpRight is a Icon enum value + IconArrowUpRight = "ARROW_UP_RIGHT" + + // IconArrowDownRight is a Icon enum value + IconArrowDownRight = "ARROW_DOWN_RIGHT" + + // IconFaceUp is a Icon enum value + IconFaceUp = "FACE_UP" + + // IconFaceDown is a Icon enum value + IconFaceDown = "FACE_DOWN" + + // IconFaceFlat is a Icon enum value + IconFaceFlat = "FACE_FLAT" + + // IconOneBar is a Icon enum value + IconOneBar = "ONE_BAR" + + // IconTwoBar is a Icon enum value + IconTwoBar = "TWO_BAR" + + // IconThreeBar is a Icon enum value + IconThreeBar = "THREE_BAR" + + // IconCircle is a Icon enum value + IconCircle = "CIRCLE" + + // IconTriangle is a Icon enum value + IconTriangle = "TRIANGLE" + + // IconSquare is a Icon enum value + IconSquare = "SQUARE" + + // IconFlag is a Icon enum value + IconFlag = "FLAG" + + // IconThumbsUp is a Icon enum value + IconThumbsUp = "THUMBS_UP" + + // IconThumbsDown is a Icon enum value + IconThumbsDown = "THUMBS_DOWN" + + // IconCheckmark is a Icon enum value + IconCheckmark = "CHECKMARK" + + // IconX is a Icon enum value + IconX = "X" +) + +// Icon_Values returns all elements of the Icon enum +func Icon_Values() []string { + return []string{ + IconCaretUp, + IconCaretDown, + IconPlus, + IconMinus, + IconArrowUp, + IconArrowDown, + IconArrowLeft, + IconArrowUpLeft, + IconArrowDownLeft, + IconArrowRight, + IconArrowUpRight, + IconArrowDownRight, + IconFaceUp, + IconFaceDown, + IconFaceFlat, + IconOneBar, + IconTwoBar, + IconThreeBar, + IconCircle, + IconTriangle, + IconSquare, + IconFlag, + IconThumbsUp, + IconThumbsDown, + IconCheckmark, + IconX, + } +} + const ( // IdentityStoreQuicksight is a IdentityStore enum value IdentityStoreQuicksight = "QUICKSIGHT" @@ -46531,309 +82080,933 @@ const ( // IngestionErrorTypeUnroutableHost is a IngestionErrorType enum value IngestionErrorTypeUnroutableHost = "UNROUTABLE_HOST" - // IngestionErrorTypeSqlException is a IngestionErrorType enum value - IngestionErrorTypeSqlException = "SQL_EXCEPTION" + // IngestionErrorTypeSqlException is a IngestionErrorType enum value + IngestionErrorTypeSqlException = "SQL_EXCEPTION" + + // IngestionErrorTypeS3FileInaccessible is a IngestionErrorType enum value + IngestionErrorTypeS3FileInaccessible = "S3_FILE_INACCESSIBLE" + + // IngestionErrorTypeIotFileNotFound is a IngestionErrorType enum value + IngestionErrorTypeIotFileNotFound = "IOT_FILE_NOT_FOUND" + + // IngestionErrorTypeIotDataSetFileEmpty is a IngestionErrorType enum value + IngestionErrorTypeIotDataSetFileEmpty = "IOT_DATA_SET_FILE_EMPTY" + + // IngestionErrorTypeInvalidDataSourceConfig is a IngestionErrorType enum value + IngestionErrorTypeInvalidDataSourceConfig = "INVALID_DATA_SOURCE_CONFIG" + + // IngestionErrorTypeDataSourceAuthFailed is a IngestionErrorType enum value + IngestionErrorTypeDataSourceAuthFailed = "DATA_SOURCE_AUTH_FAILED" + + // IngestionErrorTypeDataSourceConnectionFailed is a IngestionErrorType enum value + IngestionErrorTypeDataSourceConnectionFailed = "DATA_SOURCE_CONNECTION_FAILED" + + // IngestionErrorTypeFailureToProcessJsonFile is a IngestionErrorType enum value + IngestionErrorTypeFailureToProcessJsonFile = "FAILURE_TO_PROCESS_JSON_FILE" + + // IngestionErrorTypeInternalServiceError is a IngestionErrorType enum value + IngestionErrorTypeInternalServiceError = "INTERNAL_SERVICE_ERROR" + + // IngestionErrorTypeRefreshSuppressedByEdit is a IngestionErrorType enum value + IngestionErrorTypeRefreshSuppressedByEdit = "REFRESH_SUPPRESSED_BY_EDIT" + + // IngestionErrorTypePermissionNotFound is a IngestionErrorType enum value + IngestionErrorTypePermissionNotFound = "PERMISSION_NOT_FOUND" + + // IngestionErrorTypeElasticsearchCursorNotEnabled is a IngestionErrorType enum value + IngestionErrorTypeElasticsearchCursorNotEnabled = "ELASTICSEARCH_CURSOR_NOT_ENABLED" + + // IngestionErrorTypeCursorNotEnabled is a IngestionErrorType enum value + IngestionErrorTypeCursorNotEnabled = "CURSOR_NOT_ENABLED" +) + +// IngestionErrorType_Values returns all elements of the IngestionErrorType enum +func IngestionErrorType_Values() []string { + return []string{ + IngestionErrorTypeFailureToAssumeRole, + IngestionErrorTypeIngestionSuperseded, + IngestionErrorTypeIngestionCanceled, + IngestionErrorTypeDataSetDeleted, + IngestionErrorTypeDataSetNotSpice, + IngestionErrorTypeS3UploadedFileDeleted, + IngestionErrorTypeS3ManifestError, + IngestionErrorTypeDataToleranceException, + IngestionErrorTypeSpiceTableNotFound, + IngestionErrorTypeDataSetSizeLimitExceeded, + IngestionErrorTypeRowSizeLimitExceeded, + IngestionErrorTypeAccountCapacityLimitExceeded, + IngestionErrorTypeCustomerError, + IngestionErrorTypeDataSourceNotFound, + IngestionErrorTypeIamRoleNotAvailable, + IngestionErrorTypeConnectionFailure, + IngestionErrorTypeSqlTableNotFound, + IngestionErrorTypePermissionDenied, + IngestionErrorTypeSslCertificateValidationFailure, + IngestionErrorTypeOauthTokenFailure, + IngestionErrorTypeSourceApiLimitExceededFailure, + IngestionErrorTypePasswordAuthenticationFailure, + IngestionErrorTypeSqlSchemaMismatchError, + IngestionErrorTypeInvalidDateFormat, + IngestionErrorTypeInvalidDataprepSyntax, + IngestionErrorTypeSourceResourceLimitExceeded, + IngestionErrorTypeSqlInvalidParameterValue, + IngestionErrorTypeQueryTimeout, + IngestionErrorTypeSqlNumericOverflow, + IngestionErrorTypeUnresolvableHost, + IngestionErrorTypeUnroutableHost, + IngestionErrorTypeSqlException, + IngestionErrorTypeS3FileInaccessible, + IngestionErrorTypeIotFileNotFound, + IngestionErrorTypeIotDataSetFileEmpty, + IngestionErrorTypeInvalidDataSourceConfig, + IngestionErrorTypeDataSourceAuthFailed, + IngestionErrorTypeDataSourceConnectionFailed, + IngestionErrorTypeFailureToProcessJsonFile, + IngestionErrorTypeInternalServiceError, + IngestionErrorTypeRefreshSuppressedByEdit, + IngestionErrorTypePermissionNotFound, + IngestionErrorTypeElasticsearchCursorNotEnabled, + IngestionErrorTypeCursorNotEnabled, + } +} + +const ( + // IngestionRequestSourceManual is a IngestionRequestSource enum value + IngestionRequestSourceManual = "MANUAL" + + // IngestionRequestSourceScheduled is a IngestionRequestSource enum value + IngestionRequestSourceScheduled = "SCHEDULED" +) + +// IngestionRequestSource_Values returns all elements of the IngestionRequestSource enum +func IngestionRequestSource_Values() []string { + return []string{ + IngestionRequestSourceManual, + IngestionRequestSourceScheduled, + } +} + +// This defines the type of ingestion request. This is returned as part of create +// ingestion response. +const ( + // IngestionRequestTypeInitialIngestion is a IngestionRequestType enum value + IngestionRequestTypeInitialIngestion = "INITIAL_INGESTION" + + // IngestionRequestTypeEdit is a IngestionRequestType enum value + IngestionRequestTypeEdit = "EDIT" + + // IngestionRequestTypeIncrementalRefresh is a IngestionRequestType enum value + IngestionRequestTypeIncrementalRefresh = "INCREMENTAL_REFRESH" + + // IngestionRequestTypeFullRefresh is a IngestionRequestType enum value + IngestionRequestTypeFullRefresh = "FULL_REFRESH" +) + +// IngestionRequestType_Values returns all elements of the IngestionRequestType enum +func IngestionRequestType_Values() []string { + return []string{ + IngestionRequestTypeInitialIngestion, + IngestionRequestTypeEdit, + IngestionRequestTypeIncrementalRefresh, + IngestionRequestTypeFullRefresh, + } +} + +const ( + // IngestionStatusInitialized is a IngestionStatus enum value + IngestionStatusInitialized = "INITIALIZED" + + // IngestionStatusQueued is a IngestionStatus enum value + IngestionStatusQueued = "QUEUED" + + // IngestionStatusRunning is a IngestionStatus enum value + IngestionStatusRunning = "RUNNING" + + // IngestionStatusFailed is a IngestionStatus enum value + IngestionStatusFailed = "FAILED" + + // IngestionStatusCompleted is a IngestionStatus enum value + IngestionStatusCompleted = "COMPLETED" + + // IngestionStatusCancelled is a IngestionStatus enum value + IngestionStatusCancelled = "CANCELLED" +) + +// IngestionStatus_Values returns all elements of the IngestionStatus enum +func IngestionStatus_Values() []string { + return []string{ + IngestionStatusInitialized, + IngestionStatusQueued, + IngestionStatusRunning, + IngestionStatusFailed, + IngestionStatusCompleted, + IngestionStatusCancelled, + } +} + +// This defines the type of ingestion user wants to trigger. This is part of +// create ingestion request. +const ( + // IngestionTypeIncrementalRefresh is a IngestionType enum value + IngestionTypeIncrementalRefresh = "INCREMENTAL_REFRESH" + + // IngestionTypeFullRefresh is a IngestionType enum value + IngestionTypeFullRefresh = "FULL_REFRESH" +) + +// IngestionType_Values returns all elements of the IngestionType enum +func IngestionType_Values() []string { + return []string{ + IngestionTypeIncrementalRefresh, + IngestionTypeFullRefresh, + } +} + +const ( + // InputColumnDataTypeString is a InputColumnDataType enum value + InputColumnDataTypeString = "STRING" + + // InputColumnDataTypeInteger is a InputColumnDataType enum value + InputColumnDataTypeInteger = "INTEGER" + + // InputColumnDataTypeDecimal is a InputColumnDataType enum value + InputColumnDataTypeDecimal = "DECIMAL" + + // InputColumnDataTypeDatetime is a InputColumnDataType enum value + InputColumnDataTypeDatetime = "DATETIME" + + // InputColumnDataTypeBit is a InputColumnDataType enum value + InputColumnDataTypeBit = "BIT" + + // InputColumnDataTypeBoolean is a InputColumnDataType enum value + InputColumnDataTypeBoolean = "BOOLEAN" + + // InputColumnDataTypeJson is a InputColumnDataType enum value + InputColumnDataTypeJson = "JSON" +) + +// InputColumnDataType_Values returns all elements of the InputColumnDataType enum +func InputColumnDataType_Values() []string { + return []string{ + InputColumnDataTypeString, + InputColumnDataTypeInteger, + InputColumnDataTypeDecimal, + InputColumnDataTypeDatetime, + InputColumnDataTypeBit, + InputColumnDataTypeBoolean, + InputColumnDataTypeJson, + } +} + +const ( + // JoinTypeInner is a JoinType enum value + JoinTypeInner = "INNER" + + // JoinTypeOuter is a JoinType enum value + JoinTypeOuter = "OUTER" + + // JoinTypeLeft is a JoinType enum value + JoinTypeLeft = "LEFT" + + // JoinTypeRight is a JoinType enum value + JoinTypeRight = "RIGHT" +) + +// JoinType_Values returns all elements of the JoinType enum +func JoinType_Values() []string { + return []string{ + JoinTypeInner, + JoinTypeOuter, + JoinTypeLeft, + JoinTypeRight, + } +} + +const ( + // LayoutElementTypeVisual is a LayoutElementType enum value + LayoutElementTypeVisual = "VISUAL" + + // LayoutElementTypeFilterControl is a LayoutElementType enum value + LayoutElementTypeFilterControl = "FILTER_CONTROL" + + // LayoutElementTypeParameterControl is a LayoutElementType enum value + LayoutElementTypeParameterControl = "PARAMETER_CONTROL" + + // LayoutElementTypeTextBox is a LayoutElementType enum value + LayoutElementTypeTextBox = "TEXT_BOX" +) + +// LayoutElementType_Values returns all elements of the LayoutElementType enum +func LayoutElementType_Values() []string { + return []string{ + LayoutElementTypeVisual, + LayoutElementTypeFilterControl, + LayoutElementTypeParameterControl, + LayoutElementTypeTextBox, + } +} + +const ( + // LegendPositionAuto is a LegendPosition enum value + LegendPositionAuto = "AUTO" + + // LegendPositionRight is a LegendPosition enum value + LegendPositionRight = "RIGHT" + + // LegendPositionBottom is a LegendPosition enum value + LegendPositionBottom = "BOTTOM" + + // LegendPositionTop is a LegendPosition enum value + LegendPositionTop = "TOP" +) + +// LegendPosition_Values returns all elements of the LegendPosition enum +func LegendPosition_Values() []string { + return []string{ + LegendPositionAuto, + LegendPositionRight, + LegendPositionBottom, + LegendPositionTop, + } +} + +const ( + // LineChartLineStyleSolid is a LineChartLineStyle enum value + LineChartLineStyleSolid = "SOLID" + + // LineChartLineStyleDotted is a LineChartLineStyle enum value + LineChartLineStyleDotted = "DOTTED" + + // LineChartLineStyleDashed is a LineChartLineStyle enum value + LineChartLineStyleDashed = "DASHED" +) + +// LineChartLineStyle_Values returns all elements of the LineChartLineStyle enum +func LineChartLineStyle_Values() []string { + return []string{ + LineChartLineStyleSolid, + LineChartLineStyleDotted, + LineChartLineStyleDashed, + } +} + +const ( + // LineChartMarkerShapeCircle is a LineChartMarkerShape enum value + LineChartMarkerShapeCircle = "CIRCLE" + + // LineChartMarkerShapeTriangle is a LineChartMarkerShape enum value + LineChartMarkerShapeTriangle = "TRIANGLE" + + // LineChartMarkerShapeSquare is a LineChartMarkerShape enum value + LineChartMarkerShapeSquare = "SQUARE" + + // LineChartMarkerShapeDiamond is a LineChartMarkerShape enum value + LineChartMarkerShapeDiamond = "DIAMOND" + + // LineChartMarkerShapeRoundedSquare is a LineChartMarkerShape enum value + LineChartMarkerShapeRoundedSquare = "ROUNDED_SQUARE" +) + +// LineChartMarkerShape_Values returns all elements of the LineChartMarkerShape enum +func LineChartMarkerShape_Values() []string { + return []string{ + LineChartMarkerShapeCircle, + LineChartMarkerShapeTriangle, + LineChartMarkerShapeSquare, + LineChartMarkerShapeDiamond, + LineChartMarkerShapeRoundedSquare, + } +} + +const ( + // LineChartTypeLine is a LineChartType enum value + LineChartTypeLine = "LINE" + + // LineChartTypeArea is a LineChartType enum value + LineChartTypeArea = "AREA" + + // LineChartTypeStackedArea is a LineChartType enum value + LineChartTypeStackedArea = "STACKED_AREA" +) + +// LineChartType_Values returns all elements of the LineChartType enum +func LineChartType_Values() []string { + return []string{ + LineChartTypeLine, + LineChartTypeArea, + LineChartTypeStackedArea, + } +} + +const ( + // LineInterpolationLinear is a LineInterpolation enum value + LineInterpolationLinear = "LINEAR" + + // LineInterpolationSmooth is a LineInterpolation enum value + LineInterpolationSmooth = "SMOOTH" + + // LineInterpolationStepped is a LineInterpolation enum value + LineInterpolationStepped = "STEPPED" +) + +// LineInterpolation_Values returns all elements of the LineInterpolation enum +func LineInterpolation_Values() []string { + return []string{ + LineInterpolationLinear, + LineInterpolationSmooth, + LineInterpolationStepped, + } +} + +const ( + // MapZoomModeAuto is a MapZoomMode enum value + MapZoomModeAuto = "AUTO" + + // MapZoomModeManual is a MapZoomMode enum value + MapZoomModeManual = "MANUAL" +) + +// MapZoomMode_Values returns all elements of the MapZoomMode enum +func MapZoomMode_Values() []string { + return []string{ + MapZoomModeAuto, + MapZoomModeManual, + } +} + +const ( + // MaximumMinimumComputationTypeMaximum is a MaximumMinimumComputationType enum value + MaximumMinimumComputationTypeMaximum = "MAXIMUM" + + // MaximumMinimumComputationTypeMinimum is a MaximumMinimumComputationType enum value + MaximumMinimumComputationTypeMinimum = "MINIMUM" +) + +// MaximumMinimumComputationType_Values returns all elements of the MaximumMinimumComputationType enum +func MaximumMinimumComputationType_Values() []string { + return []string{ + MaximumMinimumComputationTypeMaximum, + MaximumMinimumComputationTypeMinimum, + } +} + +const ( + // MemberTypeDashboard is a MemberType enum value + MemberTypeDashboard = "DASHBOARD" + + // MemberTypeAnalysis is a MemberType enum value + MemberTypeAnalysis = "ANALYSIS" + + // MemberTypeDataset is a MemberType enum value + MemberTypeDataset = "DATASET" +) + +// MemberType_Values returns all elements of the MemberType enum +func MemberType_Values() []string { + return []string{ + MemberTypeDashboard, + MemberTypeAnalysis, + MemberTypeDataset, + } +} + +const ( + // MissingDataTreatmentOptionInterpolate is a MissingDataTreatmentOption enum value + MissingDataTreatmentOptionInterpolate = "INTERPOLATE" + + // MissingDataTreatmentOptionShowAsZero is a MissingDataTreatmentOption enum value + MissingDataTreatmentOptionShowAsZero = "SHOW_AS_ZERO" + + // MissingDataTreatmentOptionShowAsBlank is a MissingDataTreatmentOption enum value + MissingDataTreatmentOptionShowAsBlank = "SHOW_AS_BLANK" +) + +// MissingDataTreatmentOption_Values returns all elements of the MissingDataTreatmentOption enum +func MissingDataTreatmentOption_Values() []string { + return []string{ + MissingDataTreatmentOptionInterpolate, + MissingDataTreatmentOptionShowAsZero, + MissingDataTreatmentOptionShowAsBlank, + } +} + +const ( + // NamespaceErrorTypePermissionDenied is a NamespaceErrorType enum value + NamespaceErrorTypePermissionDenied = "PERMISSION_DENIED" + + // NamespaceErrorTypeInternalServiceError is a NamespaceErrorType enum value + NamespaceErrorTypeInternalServiceError = "INTERNAL_SERVICE_ERROR" +) + +// NamespaceErrorType_Values returns all elements of the NamespaceErrorType enum +func NamespaceErrorType_Values() []string { + return []string{ + NamespaceErrorTypePermissionDenied, + NamespaceErrorTypeInternalServiceError, + } +} + +const ( + // NamespaceStatusCreated is a NamespaceStatus enum value + NamespaceStatusCreated = "CREATED" + + // NamespaceStatusCreating is a NamespaceStatus enum value + NamespaceStatusCreating = "CREATING" + + // NamespaceStatusDeleting is a NamespaceStatus enum value + NamespaceStatusDeleting = "DELETING" + + // NamespaceStatusRetryableFailure is a NamespaceStatus enum value + NamespaceStatusRetryableFailure = "RETRYABLE_FAILURE" + + // NamespaceStatusNonRetryableFailure is a NamespaceStatus enum value + NamespaceStatusNonRetryableFailure = "NON_RETRYABLE_FAILURE" +) + +// NamespaceStatus_Values returns all elements of the NamespaceStatus enum +func NamespaceStatus_Values() []string { + return []string{ + NamespaceStatusCreated, + NamespaceStatusCreating, + NamespaceStatusDeleting, + NamespaceStatusRetryableFailure, + NamespaceStatusNonRetryableFailure, + } +} + +const ( + // NegativeValueDisplayModePositive is a NegativeValueDisplayMode enum value + NegativeValueDisplayModePositive = "POSITIVE" + + // NegativeValueDisplayModeNegative is a NegativeValueDisplayMode enum value + NegativeValueDisplayModeNegative = "NEGATIVE" +) + +// NegativeValueDisplayMode_Values returns all elements of the NegativeValueDisplayMode enum +func NegativeValueDisplayMode_Values() []string { + return []string{ + NegativeValueDisplayModePositive, + NegativeValueDisplayModeNegative, + } +} + +const ( + // NumberScaleNone is a NumberScale enum value + NumberScaleNone = "NONE" + + // NumberScaleAuto is a NumberScale enum value + NumberScaleAuto = "AUTO" + + // NumberScaleThousands is a NumberScale enum value + NumberScaleThousands = "THOUSANDS" + + // NumberScaleMillions is a NumberScale enum value + NumberScaleMillions = "MILLIONS" + + // NumberScaleBillions is a NumberScale enum value + NumberScaleBillions = "BILLIONS" + + // NumberScaleTrillions is a NumberScale enum value + NumberScaleTrillions = "TRILLIONS" +) + +// NumberScale_Values returns all elements of the NumberScale enum +func NumberScale_Values() []string { + return []string{ + NumberScaleNone, + NumberScaleAuto, + NumberScaleThousands, + NumberScaleMillions, + NumberScaleBillions, + NumberScaleTrillions, + } +} + +const ( + // NumericEqualityMatchOperatorEquals is a NumericEqualityMatchOperator enum value + NumericEqualityMatchOperatorEquals = "EQUALS" + + // NumericEqualityMatchOperatorDoesNotEqual is a NumericEqualityMatchOperator enum value + NumericEqualityMatchOperatorDoesNotEqual = "DOES_NOT_EQUAL" +) + +// NumericEqualityMatchOperator_Values returns all elements of the NumericEqualityMatchOperator enum +func NumericEqualityMatchOperator_Values() []string { + return []string{ + NumericEqualityMatchOperatorEquals, + NumericEqualityMatchOperatorDoesNotEqual, + } +} + +const ( + // NumericFilterSelectAllOptionsFilterAllValues is a NumericFilterSelectAllOptions enum value + NumericFilterSelectAllOptionsFilterAllValues = "FILTER_ALL_VALUES" +) + +// NumericFilterSelectAllOptions_Values returns all elements of the NumericFilterSelectAllOptions enum +func NumericFilterSelectAllOptions_Values() []string { + return []string{ + NumericFilterSelectAllOptionsFilterAllValues, + } +} + +const ( + // NumericSeparatorSymbolComma is a NumericSeparatorSymbol enum value + NumericSeparatorSymbolComma = "COMMA" + + // NumericSeparatorSymbolDot is a NumericSeparatorSymbol enum value + NumericSeparatorSymbolDot = "DOT" + + // NumericSeparatorSymbolSpace is a NumericSeparatorSymbol enum value + NumericSeparatorSymbolSpace = "SPACE" +) + +// NumericSeparatorSymbol_Values returns all elements of the NumericSeparatorSymbol enum +func NumericSeparatorSymbol_Values() []string { + return []string{ + NumericSeparatorSymbolComma, + NumericSeparatorSymbolDot, + NumericSeparatorSymbolSpace, + } +} + +const ( + // OtherCategoriesInclude is a OtherCategories enum value + OtherCategoriesInclude = "INCLUDE" + + // OtherCategoriesExclude is a OtherCategories enum value + OtherCategoriesExclude = "EXCLUDE" +) + +// OtherCategories_Values returns all elements of the OtherCategories enum +func OtherCategories_Values() []string { + return []string{ + OtherCategoriesInclude, + OtherCategoriesExclude, + } +} + +const ( + // PanelBorderStyleSolid is a PanelBorderStyle enum value + PanelBorderStyleSolid = "SOLID" + + // PanelBorderStyleDashed is a PanelBorderStyle enum value + PanelBorderStyleDashed = "DASHED" + + // PanelBorderStyleDotted is a PanelBorderStyle enum value + PanelBorderStyleDotted = "DOTTED" +) + +// PanelBorderStyle_Values returns all elements of the PanelBorderStyle enum +func PanelBorderStyle_Values() []string { + return []string{ + PanelBorderStyleSolid, + PanelBorderStyleDashed, + PanelBorderStyleDotted, + } +} + +const ( + // PaperOrientationPortrait is a PaperOrientation enum value + PaperOrientationPortrait = "PORTRAIT" + + // PaperOrientationLandscape is a PaperOrientation enum value + PaperOrientationLandscape = "LANDSCAPE" +) - // IngestionErrorTypeS3FileInaccessible is a IngestionErrorType enum value - IngestionErrorTypeS3FileInaccessible = "S3_FILE_INACCESSIBLE" +// PaperOrientation_Values returns all elements of the PaperOrientation enum +func PaperOrientation_Values() []string { + return []string{ + PaperOrientationPortrait, + PaperOrientationLandscape, + } +} - // IngestionErrorTypeIotFileNotFound is a IngestionErrorType enum value - IngestionErrorTypeIotFileNotFound = "IOT_FILE_NOT_FOUND" +const ( + // PaperSizeUsLetter is a PaperSize enum value + PaperSizeUsLetter = "US_LETTER" - // IngestionErrorTypeIotDataSetFileEmpty is a IngestionErrorType enum value - IngestionErrorTypeIotDataSetFileEmpty = "IOT_DATA_SET_FILE_EMPTY" + // PaperSizeUsLegal is a PaperSize enum value + PaperSizeUsLegal = "US_LEGAL" - // IngestionErrorTypeInvalidDataSourceConfig is a IngestionErrorType enum value - IngestionErrorTypeInvalidDataSourceConfig = "INVALID_DATA_SOURCE_CONFIG" + // PaperSizeUsTabloidLedger is a PaperSize enum value + PaperSizeUsTabloidLedger = "US_TABLOID_LEDGER" - // IngestionErrorTypeDataSourceAuthFailed is a IngestionErrorType enum value - IngestionErrorTypeDataSourceAuthFailed = "DATA_SOURCE_AUTH_FAILED" + // PaperSizeA0 is a PaperSize enum value + PaperSizeA0 = "A0" - // IngestionErrorTypeDataSourceConnectionFailed is a IngestionErrorType enum value - IngestionErrorTypeDataSourceConnectionFailed = "DATA_SOURCE_CONNECTION_FAILED" + // PaperSizeA1 is a PaperSize enum value + PaperSizeA1 = "A1" - // IngestionErrorTypeFailureToProcessJsonFile is a IngestionErrorType enum value - IngestionErrorTypeFailureToProcessJsonFile = "FAILURE_TO_PROCESS_JSON_FILE" + // PaperSizeA2 is a PaperSize enum value + PaperSizeA2 = "A2" - // IngestionErrorTypeInternalServiceError is a IngestionErrorType enum value - IngestionErrorTypeInternalServiceError = "INTERNAL_SERVICE_ERROR" + // PaperSizeA3 is a PaperSize enum value + PaperSizeA3 = "A3" - // IngestionErrorTypeRefreshSuppressedByEdit is a IngestionErrorType enum value - IngestionErrorTypeRefreshSuppressedByEdit = "REFRESH_SUPPRESSED_BY_EDIT" + // PaperSizeA4 is a PaperSize enum value + PaperSizeA4 = "A4" - // IngestionErrorTypePermissionNotFound is a IngestionErrorType enum value - IngestionErrorTypePermissionNotFound = "PERMISSION_NOT_FOUND" + // PaperSizeA5 is a PaperSize enum value + PaperSizeA5 = "A5" - // IngestionErrorTypeElasticsearchCursorNotEnabled is a IngestionErrorType enum value - IngestionErrorTypeElasticsearchCursorNotEnabled = "ELASTICSEARCH_CURSOR_NOT_ENABLED" + // PaperSizeJisB4 is a PaperSize enum value + PaperSizeJisB4 = "JIS_B4" - // IngestionErrorTypeCursorNotEnabled is a IngestionErrorType enum value - IngestionErrorTypeCursorNotEnabled = "CURSOR_NOT_ENABLED" + // PaperSizeJisB5 is a PaperSize enum value + PaperSizeJisB5 = "JIS_B5" ) -// IngestionErrorType_Values returns all elements of the IngestionErrorType enum -func IngestionErrorType_Values() []string { +// PaperSize_Values returns all elements of the PaperSize enum +func PaperSize_Values() []string { return []string{ - IngestionErrorTypeFailureToAssumeRole, - IngestionErrorTypeIngestionSuperseded, - IngestionErrorTypeIngestionCanceled, - IngestionErrorTypeDataSetDeleted, - IngestionErrorTypeDataSetNotSpice, - IngestionErrorTypeS3UploadedFileDeleted, - IngestionErrorTypeS3ManifestError, - IngestionErrorTypeDataToleranceException, - IngestionErrorTypeSpiceTableNotFound, - IngestionErrorTypeDataSetSizeLimitExceeded, - IngestionErrorTypeRowSizeLimitExceeded, - IngestionErrorTypeAccountCapacityLimitExceeded, - IngestionErrorTypeCustomerError, - IngestionErrorTypeDataSourceNotFound, - IngestionErrorTypeIamRoleNotAvailable, - IngestionErrorTypeConnectionFailure, - IngestionErrorTypeSqlTableNotFound, - IngestionErrorTypePermissionDenied, - IngestionErrorTypeSslCertificateValidationFailure, - IngestionErrorTypeOauthTokenFailure, - IngestionErrorTypeSourceApiLimitExceededFailure, - IngestionErrorTypePasswordAuthenticationFailure, - IngestionErrorTypeSqlSchemaMismatchError, - IngestionErrorTypeInvalidDateFormat, - IngestionErrorTypeInvalidDataprepSyntax, - IngestionErrorTypeSourceResourceLimitExceeded, - IngestionErrorTypeSqlInvalidParameterValue, - IngestionErrorTypeQueryTimeout, - IngestionErrorTypeSqlNumericOverflow, - IngestionErrorTypeUnresolvableHost, - IngestionErrorTypeUnroutableHost, - IngestionErrorTypeSqlException, - IngestionErrorTypeS3FileInaccessible, - IngestionErrorTypeIotFileNotFound, - IngestionErrorTypeIotDataSetFileEmpty, - IngestionErrorTypeInvalidDataSourceConfig, - IngestionErrorTypeDataSourceAuthFailed, - IngestionErrorTypeDataSourceConnectionFailed, - IngestionErrorTypeFailureToProcessJsonFile, - IngestionErrorTypeInternalServiceError, - IngestionErrorTypeRefreshSuppressedByEdit, - IngestionErrorTypePermissionNotFound, - IngestionErrorTypeElasticsearchCursorNotEnabled, - IngestionErrorTypeCursorNotEnabled, + PaperSizeUsLetter, + PaperSizeUsLegal, + PaperSizeUsTabloidLedger, + PaperSizeA0, + PaperSizeA1, + PaperSizeA2, + PaperSizeA3, + PaperSizeA4, + PaperSizeA5, + PaperSizeJisB4, + PaperSizeJisB5, } } const ( - // IngestionRequestSourceManual is a IngestionRequestSource enum value - IngestionRequestSourceManual = "MANUAL" + // ParameterValueTypeMultiValued is a ParameterValueType enum value + ParameterValueTypeMultiValued = "MULTI_VALUED" - // IngestionRequestSourceScheduled is a IngestionRequestSource enum value - IngestionRequestSourceScheduled = "SCHEDULED" + // ParameterValueTypeSingleValued is a ParameterValueType enum value + ParameterValueTypeSingleValued = "SINGLE_VALUED" ) -// IngestionRequestSource_Values returns all elements of the IngestionRequestSource enum -func IngestionRequestSource_Values() []string { +// ParameterValueType_Values returns all elements of the ParameterValueType enum +func ParameterValueType_Values() []string { return []string{ - IngestionRequestSourceManual, - IngestionRequestSourceScheduled, + ParameterValueTypeMultiValued, + ParameterValueTypeSingleValued, } } -// This defines the type of ingestion request. This is returned as part of create -// ingestion response. const ( - // IngestionRequestTypeInitialIngestion is a IngestionRequestType enum value - IngestionRequestTypeInitialIngestion = "INITIAL_INGESTION" - - // IngestionRequestTypeEdit is a IngestionRequestType enum value - IngestionRequestTypeEdit = "EDIT" + // PivotTableConditionalFormattingScopeRoleField is a PivotTableConditionalFormattingScopeRole enum value + PivotTableConditionalFormattingScopeRoleField = "FIELD" - // IngestionRequestTypeIncrementalRefresh is a IngestionRequestType enum value - IngestionRequestTypeIncrementalRefresh = "INCREMENTAL_REFRESH" + // PivotTableConditionalFormattingScopeRoleFieldTotal is a PivotTableConditionalFormattingScopeRole enum value + PivotTableConditionalFormattingScopeRoleFieldTotal = "FIELD_TOTAL" - // IngestionRequestTypeFullRefresh is a IngestionRequestType enum value - IngestionRequestTypeFullRefresh = "FULL_REFRESH" + // PivotTableConditionalFormattingScopeRoleGrandTotal is a PivotTableConditionalFormattingScopeRole enum value + PivotTableConditionalFormattingScopeRoleGrandTotal = "GRAND_TOTAL" ) -// IngestionRequestType_Values returns all elements of the IngestionRequestType enum -func IngestionRequestType_Values() []string { +// PivotTableConditionalFormattingScopeRole_Values returns all elements of the PivotTableConditionalFormattingScopeRole enum +func PivotTableConditionalFormattingScopeRole_Values() []string { return []string{ - IngestionRequestTypeInitialIngestion, - IngestionRequestTypeEdit, - IngestionRequestTypeIncrementalRefresh, - IngestionRequestTypeFullRefresh, + PivotTableConditionalFormattingScopeRoleField, + PivotTableConditionalFormattingScopeRoleFieldTotal, + PivotTableConditionalFormattingScopeRoleGrandTotal, } } const ( - // IngestionStatusInitialized is a IngestionStatus enum value - IngestionStatusInitialized = "INITIALIZED" + // PivotTableMetricPlacementRow is a PivotTableMetricPlacement enum value + PivotTableMetricPlacementRow = "ROW" - // IngestionStatusQueued is a IngestionStatus enum value - IngestionStatusQueued = "QUEUED" + // PivotTableMetricPlacementColumn is a PivotTableMetricPlacement enum value + PivotTableMetricPlacementColumn = "COLUMN" +) - // IngestionStatusRunning is a IngestionStatus enum value - IngestionStatusRunning = "RUNNING" +// PivotTableMetricPlacement_Values returns all elements of the PivotTableMetricPlacement enum +func PivotTableMetricPlacement_Values() []string { + return []string{ + PivotTableMetricPlacementRow, + PivotTableMetricPlacementColumn, + } +} - // IngestionStatusFailed is a IngestionStatus enum value - IngestionStatusFailed = "FAILED" +const ( + // PivotTableSubtotalLevelAll is a PivotTableSubtotalLevel enum value + PivotTableSubtotalLevelAll = "ALL" - // IngestionStatusCompleted is a IngestionStatus enum value - IngestionStatusCompleted = "COMPLETED" + // PivotTableSubtotalLevelCustom is a PivotTableSubtotalLevel enum value + PivotTableSubtotalLevelCustom = "CUSTOM" - // IngestionStatusCancelled is a IngestionStatus enum value - IngestionStatusCancelled = "CANCELLED" + // PivotTableSubtotalLevelLast is a PivotTableSubtotalLevel enum value + PivotTableSubtotalLevelLast = "LAST" ) -// IngestionStatus_Values returns all elements of the IngestionStatus enum -func IngestionStatus_Values() []string { +// PivotTableSubtotalLevel_Values returns all elements of the PivotTableSubtotalLevel enum +func PivotTableSubtotalLevel_Values() []string { return []string{ - IngestionStatusInitialized, - IngestionStatusQueued, - IngestionStatusRunning, - IngestionStatusFailed, - IngestionStatusCompleted, - IngestionStatusCancelled, + PivotTableSubtotalLevelAll, + PivotTableSubtotalLevelCustom, + PivotTableSubtotalLevelLast, } } -// This defines the type of ingestion user wants to trigger. This is part of -// create ingestion request. const ( - // IngestionTypeIncrementalRefresh is a IngestionType enum value - IngestionTypeIncrementalRefresh = "INCREMENTAL_REFRESH" + // PrimaryValueDisplayTypeHidden is a PrimaryValueDisplayType enum value + PrimaryValueDisplayTypeHidden = "HIDDEN" - // IngestionTypeFullRefresh is a IngestionType enum value - IngestionTypeFullRefresh = "FULL_REFRESH" + // PrimaryValueDisplayTypeComparison is a PrimaryValueDisplayType enum value + PrimaryValueDisplayTypeComparison = "COMPARISON" + + // PrimaryValueDisplayTypeActual is a PrimaryValueDisplayType enum value + PrimaryValueDisplayTypeActual = "ACTUAL" ) -// IngestionType_Values returns all elements of the IngestionType enum -func IngestionType_Values() []string { +// PrimaryValueDisplayType_Values returns all elements of the PrimaryValueDisplayType enum +func PrimaryValueDisplayType_Values() []string { return []string{ - IngestionTypeIncrementalRefresh, - IngestionTypeFullRefresh, + PrimaryValueDisplayTypeHidden, + PrimaryValueDisplayTypeComparison, + PrimaryValueDisplayTypeActual, } } const ( - // InputColumnDataTypeString is a InputColumnDataType enum value - InputColumnDataTypeString = "STRING" - - // InputColumnDataTypeInteger is a InputColumnDataType enum value - InputColumnDataTypeInteger = "INTEGER" + // ReferenceLineLabelHorizontalPositionLeft is a ReferenceLineLabelHorizontalPosition enum value + ReferenceLineLabelHorizontalPositionLeft = "LEFT" - // InputColumnDataTypeDecimal is a InputColumnDataType enum value - InputColumnDataTypeDecimal = "DECIMAL" + // ReferenceLineLabelHorizontalPositionCenter is a ReferenceLineLabelHorizontalPosition enum value + ReferenceLineLabelHorizontalPositionCenter = "CENTER" - // InputColumnDataTypeDatetime is a InputColumnDataType enum value - InputColumnDataTypeDatetime = "DATETIME" + // ReferenceLineLabelHorizontalPositionRight is a ReferenceLineLabelHorizontalPosition enum value + ReferenceLineLabelHorizontalPositionRight = "RIGHT" +) - // InputColumnDataTypeBit is a InputColumnDataType enum value - InputColumnDataTypeBit = "BIT" +// ReferenceLineLabelHorizontalPosition_Values returns all elements of the ReferenceLineLabelHorizontalPosition enum +func ReferenceLineLabelHorizontalPosition_Values() []string { + return []string{ + ReferenceLineLabelHorizontalPositionLeft, + ReferenceLineLabelHorizontalPositionCenter, + ReferenceLineLabelHorizontalPositionRight, + } +} - // InputColumnDataTypeBoolean is a InputColumnDataType enum value - InputColumnDataTypeBoolean = "BOOLEAN" +const ( + // ReferenceLineLabelVerticalPositionAbove is a ReferenceLineLabelVerticalPosition enum value + ReferenceLineLabelVerticalPositionAbove = "ABOVE" - // InputColumnDataTypeJson is a InputColumnDataType enum value - InputColumnDataTypeJson = "JSON" + // ReferenceLineLabelVerticalPositionBelow is a ReferenceLineLabelVerticalPosition enum value + ReferenceLineLabelVerticalPositionBelow = "BELOW" ) -// InputColumnDataType_Values returns all elements of the InputColumnDataType enum -func InputColumnDataType_Values() []string { +// ReferenceLineLabelVerticalPosition_Values returns all elements of the ReferenceLineLabelVerticalPosition enum +func ReferenceLineLabelVerticalPosition_Values() []string { return []string{ - InputColumnDataTypeString, - InputColumnDataTypeInteger, - InputColumnDataTypeDecimal, - InputColumnDataTypeDatetime, - InputColumnDataTypeBit, - InputColumnDataTypeBoolean, - InputColumnDataTypeJson, + ReferenceLineLabelVerticalPositionAbove, + ReferenceLineLabelVerticalPositionBelow, } } const ( - // JoinTypeInner is a JoinType enum value - JoinTypeInner = "INNER" - - // JoinTypeOuter is a JoinType enum value - JoinTypeOuter = "OUTER" + // ReferenceLinePatternTypeSolid is a ReferenceLinePatternType enum value + ReferenceLinePatternTypeSolid = "SOLID" - // JoinTypeLeft is a JoinType enum value - JoinTypeLeft = "LEFT" + // ReferenceLinePatternTypeDashed is a ReferenceLinePatternType enum value + ReferenceLinePatternTypeDashed = "DASHED" - // JoinTypeRight is a JoinType enum value - JoinTypeRight = "RIGHT" + // ReferenceLinePatternTypeDotted is a ReferenceLinePatternType enum value + ReferenceLinePatternTypeDotted = "DOTTED" ) -// JoinType_Values returns all elements of the JoinType enum -func JoinType_Values() []string { +// ReferenceLinePatternType_Values returns all elements of the ReferenceLinePatternType enum +func ReferenceLinePatternType_Values() []string { return []string{ - JoinTypeInner, - JoinTypeOuter, - JoinTypeLeft, - JoinTypeRight, + ReferenceLinePatternTypeSolid, + ReferenceLinePatternTypeDashed, + ReferenceLinePatternTypeDotted, } } const ( - // MemberTypeDashboard is a MemberType enum value - MemberTypeDashboard = "DASHBOARD" - - // MemberTypeAnalysis is a MemberType enum value - MemberTypeAnalysis = "ANALYSIS" + // ReferenceLineValueLabelRelativePositionBeforeCustomLabel is a ReferenceLineValueLabelRelativePosition enum value + ReferenceLineValueLabelRelativePositionBeforeCustomLabel = "BEFORE_CUSTOM_LABEL" - // MemberTypeDataset is a MemberType enum value - MemberTypeDataset = "DATASET" + // ReferenceLineValueLabelRelativePositionAfterCustomLabel is a ReferenceLineValueLabelRelativePosition enum value + ReferenceLineValueLabelRelativePositionAfterCustomLabel = "AFTER_CUSTOM_LABEL" ) -// MemberType_Values returns all elements of the MemberType enum -func MemberType_Values() []string { +// ReferenceLineValueLabelRelativePosition_Values returns all elements of the ReferenceLineValueLabelRelativePosition enum +func ReferenceLineValueLabelRelativePosition_Values() []string { return []string{ - MemberTypeDashboard, - MemberTypeAnalysis, - MemberTypeDataset, + ReferenceLineValueLabelRelativePositionBeforeCustomLabel, + ReferenceLineValueLabelRelativePositionAfterCustomLabel, } } const ( - // NamespaceErrorTypePermissionDenied is a NamespaceErrorType enum value - NamespaceErrorTypePermissionDenied = "PERMISSION_DENIED" + // RelativeDateTypePrevious is a RelativeDateType enum value + RelativeDateTypePrevious = "PREVIOUS" - // NamespaceErrorTypeInternalServiceError is a NamespaceErrorType enum value - NamespaceErrorTypeInternalServiceError = "INTERNAL_SERVICE_ERROR" + // RelativeDateTypeThis is a RelativeDateType enum value + RelativeDateTypeThis = "THIS" + + // RelativeDateTypeLast is a RelativeDateType enum value + RelativeDateTypeLast = "LAST" + + // RelativeDateTypeNow is a RelativeDateType enum value + RelativeDateTypeNow = "NOW" + + // RelativeDateTypeNext is a RelativeDateType enum value + RelativeDateTypeNext = "NEXT" ) -// NamespaceErrorType_Values returns all elements of the NamespaceErrorType enum -func NamespaceErrorType_Values() []string { +// RelativeDateType_Values returns all elements of the RelativeDateType enum +func RelativeDateType_Values() []string { return []string{ - NamespaceErrorTypePermissionDenied, - NamespaceErrorTypeInternalServiceError, + RelativeDateTypePrevious, + RelativeDateTypeThis, + RelativeDateTypeLast, + RelativeDateTypeNow, + RelativeDateTypeNext, } } const ( - // NamespaceStatusCreated is a NamespaceStatus enum value - NamespaceStatusCreated = "CREATED" + // RelativeFontSizeExtraSmall is a RelativeFontSize enum value + RelativeFontSizeExtraSmall = "EXTRA_SMALL" - // NamespaceStatusCreating is a NamespaceStatus enum value - NamespaceStatusCreating = "CREATING" + // RelativeFontSizeSmall is a RelativeFontSize enum value + RelativeFontSizeSmall = "SMALL" - // NamespaceStatusDeleting is a NamespaceStatus enum value - NamespaceStatusDeleting = "DELETING" + // RelativeFontSizeMedium is a RelativeFontSize enum value + RelativeFontSizeMedium = "MEDIUM" - // NamespaceStatusRetryableFailure is a NamespaceStatus enum value - NamespaceStatusRetryableFailure = "RETRYABLE_FAILURE" + // RelativeFontSizeLarge is a RelativeFontSize enum value + RelativeFontSizeLarge = "LARGE" - // NamespaceStatusNonRetryableFailure is a NamespaceStatus enum value - NamespaceStatusNonRetryableFailure = "NON_RETRYABLE_FAILURE" + // RelativeFontSizeExtraLarge is a RelativeFontSize enum value + RelativeFontSizeExtraLarge = "EXTRA_LARGE" ) -// NamespaceStatus_Values returns all elements of the NamespaceStatus enum -func NamespaceStatus_Values() []string { +// RelativeFontSize_Values returns all elements of the RelativeFontSize enum +func RelativeFontSize_Values() []string { return []string{ - NamespaceStatusCreated, - NamespaceStatusCreating, - NamespaceStatusDeleting, - NamespaceStatusRetryableFailure, - NamespaceStatusNonRetryableFailure, + RelativeFontSizeExtraSmall, + RelativeFontSizeSmall, + RelativeFontSizeMedium, + RelativeFontSizeLarge, + RelativeFontSizeExtraLarge, + } +} + +const ( + // ResizeOptionFixed is a ResizeOption enum value + ResizeOptionFixed = "FIXED" + + // ResizeOptionResponsive is a ResizeOption enum value + ResizeOptionResponsive = "RESPONSIVE" +) + +// ResizeOption_Values returns all elements of the ResizeOption enum +func ResizeOption_Values() []string { + return []string{ + ResizeOptionFixed, + ResizeOptionResponsive, } } @@ -46905,6 +83078,194 @@ func RowLevelPermissionPolicy_Values() []string { } } +const ( + // SectionPageBreakStatusEnabled is a SectionPageBreakStatus enum value + SectionPageBreakStatusEnabled = "ENABLED" + + // SectionPageBreakStatusDisabled is a SectionPageBreakStatus enum value + SectionPageBreakStatusDisabled = "DISABLED" +) + +// SectionPageBreakStatus_Values returns all elements of the SectionPageBreakStatus enum +func SectionPageBreakStatus_Values() []string { + return []string{ + SectionPageBreakStatusEnabled, + SectionPageBreakStatusDisabled, + } +} + +const ( + // SelectAllValueOptionsAllValues is a SelectAllValueOptions enum value + SelectAllValueOptionsAllValues = "ALL_VALUES" +) + +// SelectAllValueOptions_Values returns all elements of the SelectAllValueOptions enum +func SelectAllValueOptions_Values() []string { + return []string{ + SelectAllValueOptionsAllValues, + } +} + +const ( + // SelectedFieldOptionsAllFields is a SelectedFieldOptions enum value + SelectedFieldOptionsAllFields = "ALL_FIELDS" +) + +// SelectedFieldOptions_Values returns all elements of the SelectedFieldOptions enum +func SelectedFieldOptions_Values() []string { + return []string{ + SelectedFieldOptionsAllFields, + } +} + +const ( + // SelectedTooltipTypeBasic is a SelectedTooltipType enum value + SelectedTooltipTypeBasic = "BASIC" + + // SelectedTooltipTypeDetailed is a SelectedTooltipType enum value + SelectedTooltipTypeDetailed = "DETAILED" +) + +// SelectedTooltipType_Values returns all elements of the SelectedTooltipType enum +func SelectedTooltipType_Values() []string { + return []string{ + SelectedTooltipTypeBasic, + SelectedTooltipTypeDetailed, + } +} + +const ( + // SheetContentTypePaginated is a SheetContentType enum value + SheetContentTypePaginated = "PAGINATED" + + // SheetContentTypeInteractive is a SheetContentType enum value + SheetContentTypeInteractive = "INTERACTIVE" +) + +// SheetContentType_Values returns all elements of the SheetContentType enum +func SheetContentType_Values() []string { + return []string{ + SheetContentTypePaginated, + SheetContentTypeInteractive, + } +} + +const ( + // SheetControlDateTimePickerTypeSingleValued is a SheetControlDateTimePickerType enum value + SheetControlDateTimePickerTypeSingleValued = "SINGLE_VALUED" + + // SheetControlDateTimePickerTypeDateRange is a SheetControlDateTimePickerType enum value + SheetControlDateTimePickerTypeDateRange = "DATE_RANGE" +) + +// SheetControlDateTimePickerType_Values returns all elements of the SheetControlDateTimePickerType enum +func SheetControlDateTimePickerType_Values() []string { + return []string{ + SheetControlDateTimePickerTypeSingleValued, + SheetControlDateTimePickerTypeDateRange, + } +} + +const ( + // SheetControlListTypeMultiSelect is a SheetControlListType enum value + SheetControlListTypeMultiSelect = "MULTI_SELECT" + + // SheetControlListTypeSingleSelect is a SheetControlListType enum value + SheetControlListTypeSingleSelect = "SINGLE_SELECT" +) + +// SheetControlListType_Values returns all elements of the SheetControlListType enum +func SheetControlListType_Values() []string { + return []string{ + SheetControlListTypeMultiSelect, + SheetControlListTypeSingleSelect, + } +} + +const ( + // SheetControlSliderTypeSinglePoint is a SheetControlSliderType enum value + SheetControlSliderTypeSinglePoint = "SINGLE_POINT" + + // SheetControlSliderTypeRange is a SheetControlSliderType enum value + SheetControlSliderTypeRange = "RANGE" +) + +// SheetControlSliderType_Values returns all elements of the SheetControlSliderType enum +func SheetControlSliderType_Values() []string { + return []string{ + SheetControlSliderTypeSinglePoint, + SheetControlSliderTypeRange, + } +} + +const ( + // SimpleNumericalAggregationFunctionSum is a SimpleNumericalAggregationFunction enum value + SimpleNumericalAggregationFunctionSum = "SUM" + + // SimpleNumericalAggregationFunctionAverage is a SimpleNumericalAggregationFunction enum value + SimpleNumericalAggregationFunctionAverage = "AVERAGE" + + // SimpleNumericalAggregationFunctionMin is a SimpleNumericalAggregationFunction enum value + SimpleNumericalAggregationFunctionMin = "MIN" + + // SimpleNumericalAggregationFunctionMax is a SimpleNumericalAggregationFunction enum value + SimpleNumericalAggregationFunctionMax = "MAX" + + // SimpleNumericalAggregationFunctionCount is a SimpleNumericalAggregationFunction enum value + SimpleNumericalAggregationFunctionCount = "COUNT" + + // SimpleNumericalAggregationFunctionDistinctCount is a SimpleNumericalAggregationFunction enum value + SimpleNumericalAggregationFunctionDistinctCount = "DISTINCT_COUNT" + + // SimpleNumericalAggregationFunctionVar is a SimpleNumericalAggregationFunction enum value + SimpleNumericalAggregationFunctionVar = "VAR" + + // SimpleNumericalAggregationFunctionVarp is a SimpleNumericalAggregationFunction enum value + SimpleNumericalAggregationFunctionVarp = "VARP" + + // SimpleNumericalAggregationFunctionStdev is a SimpleNumericalAggregationFunction enum value + SimpleNumericalAggregationFunctionStdev = "STDEV" + + // SimpleNumericalAggregationFunctionStdevp is a SimpleNumericalAggregationFunction enum value + SimpleNumericalAggregationFunctionStdevp = "STDEVP" + + // SimpleNumericalAggregationFunctionMedian is a SimpleNumericalAggregationFunction enum value + SimpleNumericalAggregationFunctionMedian = "MEDIAN" +) + +// SimpleNumericalAggregationFunction_Values returns all elements of the SimpleNumericalAggregationFunction enum +func SimpleNumericalAggregationFunction_Values() []string { + return []string{ + SimpleNumericalAggregationFunctionSum, + SimpleNumericalAggregationFunctionAverage, + SimpleNumericalAggregationFunctionMin, + SimpleNumericalAggregationFunctionMax, + SimpleNumericalAggregationFunctionCount, + SimpleNumericalAggregationFunctionDistinctCount, + SimpleNumericalAggregationFunctionVar, + SimpleNumericalAggregationFunctionVarp, + SimpleNumericalAggregationFunctionStdev, + SimpleNumericalAggregationFunctionStdevp, + SimpleNumericalAggregationFunctionMedian, + } +} + +const ( + // SortDirectionAsc is a SortDirection enum value + SortDirectionAsc = "ASC" + + // SortDirectionDesc is a SortDirection enum value + SortDirectionDesc = "DESC" +) + +// SortDirection_Values returns all elements of the SortDirection enum +func SortDirection_Values() []string { + return []string{ + SortDirectionAsc, + SortDirectionDesc, + } +} + const ( // StatusEnabled is a Status enum value StatusEnabled = "ENABLED" @@ -46921,6 +83282,114 @@ func Status_Values() []string { } } +const ( + // TableBorderStyleNone is a TableBorderStyle enum value + TableBorderStyleNone = "NONE" + + // TableBorderStyleSolid is a TableBorderStyle enum value + TableBorderStyleSolid = "SOLID" +) + +// TableBorderStyle_Values returns all elements of the TableBorderStyle enum +func TableBorderStyle_Values() []string { + return []string{ + TableBorderStyleNone, + TableBorderStyleSolid, + } +} + +const ( + // TableCellImageScalingConfigurationFitToCellHeight is a TableCellImageScalingConfiguration enum value + TableCellImageScalingConfigurationFitToCellHeight = "FIT_TO_CELL_HEIGHT" + + // TableCellImageScalingConfigurationFitToCellWidth is a TableCellImageScalingConfiguration enum value + TableCellImageScalingConfigurationFitToCellWidth = "FIT_TO_CELL_WIDTH" + + // TableCellImageScalingConfigurationDoNotScale is a TableCellImageScalingConfiguration enum value + TableCellImageScalingConfigurationDoNotScale = "DO_NOT_SCALE" +) + +// TableCellImageScalingConfiguration_Values returns all elements of the TableCellImageScalingConfiguration enum +func TableCellImageScalingConfiguration_Values() []string { + return []string{ + TableCellImageScalingConfigurationFitToCellHeight, + TableCellImageScalingConfigurationFitToCellWidth, + TableCellImageScalingConfigurationDoNotScale, + } +} + +const ( + // TableFieldIconSetTypeLink is a TableFieldIconSetType enum value + TableFieldIconSetTypeLink = "LINK" +) + +// TableFieldIconSetType_Values returns all elements of the TableFieldIconSetType enum +func TableFieldIconSetType_Values() []string { + return []string{ + TableFieldIconSetTypeLink, + } +} + +const ( + // TableOrientationVertical is a TableOrientation enum value + TableOrientationVertical = "VERTICAL" + + // TableOrientationHorizontal is a TableOrientation enum value + TableOrientationHorizontal = "HORIZONTAL" +) + +// TableOrientation_Values returns all elements of the TableOrientation enum +func TableOrientation_Values() []string { + return []string{ + TableOrientationVertical, + TableOrientationHorizontal, + } +} + +const ( + // TableTotalsPlacementStart is a TableTotalsPlacement enum value + TableTotalsPlacementStart = "START" + + // TableTotalsPlacementEnd is a TableTotalsPlacement enum value + TableTotalsPlacementEnd = "END" +) + +// TableTotalsPlacement_Values returns all elements of the TableTotalsPlacement enum +func TableTotalsPlacement_Values() []string { + return []string{ + TableTotalsPlacementStart, + TableTotalsPlacementEnd, + } +} + +const ( + // TableTotalsScrollStatusPinned is a TableTotalsScrollStatus enum value + TableTotalsScrollStatusPinned = "PINNED" + + // TableTotalsScrollStatusScrolled is a TableTotalsScrollStatus enum value + TableTotalsScrollStatusScrolled = "SCROLLED" +) + +// TableTotalsScrollStatus_Values returns all elements of the TableTotalsScrollStatus enum +func TableTotalsScrollStatus_Values() []string { + return []string{ + TableTotalsScrollStatusPinned, + TableTotalsScrollStatusScrolled, + } +} + +const ( + // TargetVisualOptionsAllVisuals is a TargetVisualOptions enum value + TargetVisualOptionsAllVisuals = "ALL_VISUALS" +) + +// TargetVisualOptions_Values returns all elements of the TargetVisualOptions enum +func TargetVisualOptions_Values() []string { + return []string{ + TargetVisualOptionsAllVisuals, + } +} + const ( // TemplateErrorTypeSourceNotFound is a TemplateErrorType enum value TemplateErrorTypeSourceNotFound = "SOURCE_NOT_FOUND" @@ -46961,6 +83430,22 @@ func TextQualifier_Values() []string { } } +const ( + // TextWrapNone is a TextWrap enum value + TextWrapNone = "NONE" + + // TextWrapWrap is a TextWrap enum value + TextWrapWrap = "WRAP" +) + +// TextWrap_Values returns all elements of the TextWrap enum +func TextWrap_Values() []string { + return []string{ + TextWrapNone, + TextWrapWrap, + } +} + const ( // ThemeErrorTypeInternalFailure is a ThemeErrorType enum value ThemeErrorTypeInternalFailure = "INTERNAL_FAILURE" @@ -46993,6 +83478,118 @@ func ThemeType_Values() []string { } } +const ( + // TimeGranularityYear is a TimeGranularity enum value + TimeGranularityYear = "YEAR" + + // TimeGranularityQuarter is a TimeGranularity enum value + TimeGranularityQuarter = "QUARTER" + + // TimeGranularityMonth is a TimeGranularity enum value + TimeGranularityMonth = "MONTH" + + // TimeGranularityWeek is a TimeGranularity enum value + TimeGranularityWeek = "WEEK" + + // TimeGranularityDay is a TimeGranularity enum value + TimeGranularityDay = "DAY" + + // TimeGranularityHour is a TimeGranularity enum value + TimeGranularityHour = "HOUR" + + // TimeGranularityMinute is a TimeGranularity enum value + TimeGranularityMinute = "MINUTE" + + // TimeGranularitySecond is a TimeGranularity enum value + TimeGranularitySecond = "SECOND" + + // TimeGranularityMillisecond is a TimeGranularity enum value + TimeGranularityMillisecond = "MILLISECOND" +) + +// TimeGranularity_Values returns all elements of the TimeGranularity enum +func TimeGranularity_Values() []string { + return []string{ + TimeGranularityYear, + TimeGranularityQuarter, + TimeGranularityMonth, + TimeGranularityWeek, + TimeGranularityDay, + TimeGranularityHour, + TimeGranularityMinute, + TimeGranularitySecond, + TimeGranularityMillisecond, + } +} + +const ( + // TooltipTitleTypeNone is a TooltipTitleType enum value + TooltipTitleTypeNone = "NONE" + + // TooltipTitleTypePrimaryValue is a TooltipTitleType enum value + TooltipTitleTypePrimaryValue = "PRIMARY_VALUE" +) + +// TooltipTitleType_Values returns all elements of the TooltipTitleType enum +func TooltipTitleType_Values() []string { + return []string{ + TooltipTitleTypeNone, + TooltipTitleTypePrimaryValue, + } +} + +const ( + // TopBottomComputationTypeTop is a TopBottomComputationType enum value + TopBottomComputationTypeTop = "TOP" + + // TopBottomComputationTypeBottom is a TopBottomComputationType enum value + TopBottomComputationTypeBottom = "BOTTOM" +) + +// TopBottomComputationType_Values returns all elements of the TopBottomComputationType enum +func TopBottomComputationType_Values() []string { + return []string{ + TopBottomComputationTypeTop, + TopBottomComputationTypeBottom, + } +} + +const ( + // TopBottomSortOrderPercentDifference is a TopBottomSortOrder enum value + TopBottomSortOrderPercentDifference = "PERCENT_DIFFERENCE" + + // TopBottomSortOrderAbsoluteDifference is a TopBottomSortOrder enum value + TopBottomSortOrderAbsoluteDifference = "ABSOLUTE_DIFFERENCE" +) + +// TopBottomSortOrder_Values returns all elements of the TopBottomSortOrder enum +func TopBottomSortOrder_Values() []string { + return []string{ + TopBottomSortOrderPercentDifference, + TopBottomSortOrderAbsoluteDifference, + } +} + +const ( + // URLTargetConfigurationNewTab is a URLTargetConfiguration enum value + URLTargetConfigurationNewTab = "NEW_TAB" + + // URLTargetConfigurationNewWindow is a URLTargetConfiguration enum value + URLTargetConfigurationNewWindow = "NEW_WINDOW" + + // URLTargetConfigurationSameTab is a URLTargetConfiguration enum value + URLTargetConfigurationSameTab = "SAME_TAB" +) + +// URLTargetConfiguration_Values returns all elements of the URLTargetConfiguration enum +func URLTargetConfiguration_Values() []string { + return []string{ + URLTargetConfigurationNewTab, + URLTargetConfigurationNewWindow, + URLTargetConfigurationSameTab, + } +} + const ( // UserRoleAdmin is a UserRole enum value UserRoleAdmin = "ADMIN" @@ -47020,3 +83617,175 @@ func UserRole_Values() []string { UserRoleRestrictedReader, } } + +const ( + // ValueWhenUnsetOptionRecommendedValue is a ValueWhenUnsetOption enum value + ValueWhenUnsetOptionRecommendedValue = "RECOMMENDED_VALUE" + + // ValueWhenUnsetOptionNull is a ValueWhenUnsetOption enum value + ValueWhenUnsetOptionNull = "NULL" +) + +// ValueWhenUnsetOption_Values returns all elements of the ValueWhenUnsetOption enum +func ValueWhenUnsetOption_Values() []string { + return []string{ + ValueWhenUnsetOptionRecommendedValue, + ValueWhenUnsetOptionNull, + } +} + +const ( + // VerticalTextAlignmentTop is a VerticalTextAlignment enum value + VerticalTextAlignmentTop = "TOP" + + // VerticalTextAlignmentMiddle is a VerticalTextAlignment enum value + VerticalTextAlignmentMiddle = "MIDDLE" + + // VerticalTextAlignmentBottom is a VerticalTextAlignment enum value + VerticalTextAlignmentBottom = "BOTTOM" +) + +// VerticalTextAlignment_Values returns all elements of the VerticalTextAlignment enum +func VerticalTextAlignment_Values() []string { + return []string{ + VerticalTextAlignmentTop, + VerticalTextAlignmentMiddle, + VerticalTextAlignmentBottom, + } +} + +const ( + // VisibilityHidden is a Visibility enum value + VisibilityHidden = "HIDDEN" + + // VisibilityVisible is a Visibility enum value + VisibilityVisible = "VISIBLE" +) + +// Visibility_Values returns all elements of the Visibility enum +func Visibility_Values() []string { + return []string{ + VisibilityHidden, + VisibilityVisible, + } +} + +const ( + // VisualCustomActionTriggerDataPointClick is a VisualCustomActionTrigger enum value + VisualCustomActionTriggerDataPointClick = "DATA_POINT_CLICK" + + // VisualCustomActionTriggerDataPointMenu is a VisualCustomActionTrigger enum value + VisualCustomActionTriggerDataPointMenu = "DATA_POINT_MENU" +) + +// VisualCustomActionTrigger_Values returns all elements of the VisualCustomActionTrigger enum +func VisualCustomActionTrigger_Values() []string { + return []string{ + VisualCustomActionTriggerDataPointClick, + VisualCustomActionTriggerDataPointMenu, + } +} + +const ( + // WidgetStatusEnabled is a WidgetStatus enum value + WidgetStatusEnabled = "ENABLED" + + // WidgetStatusDisabled is a WidgetStatus enum value + WidgetStatusDisabled = "DISABLED" +) + +// WidgetStatus_Values returns all elements of the WidgetStatus enum +func WidgetStatus_Values() []string { + return []string{ + WidgetStatusEnabled, + WidgetStatusDisabled, + } +} + +const ( + // WordCloudCloudLayoutFluid is a WordCloudCloudLayout enum value + WordCloudCloudLayoutFluid = "FLUID" + + // WordCloudCloudLayoutNormal is a WordCloudCloudLayout enum value + WordCloudCloudLayoutNormal = "NORMAL" +) + +// WordCloudCloudLayout_Values returns all elements of the WordCloudCloudLayout enum +func WordCloudCloudLayout_Values() []string { + return []string{ + WordCloudCloudLayoutFluid, + WordCloudCloudLayoutNormal, + } +} + +const ( + // WordCloudWordCasingLowerCase is a WordCloudWordCasing enum value + WordCloudWordCasingLowerCase = "LOWER_CASE" + + // WordCloudWordCasingExistingCase is a WordCloudWordCasing enum value + WordCloudWordCasingExistingCase = "EXISTING_CASE" +) + +// WordCloudWordCasing_Values returns all elements of the WordCloudWordCasing enum +func WordCloudWordCasing_Values() []string { + return []string{ + WordCloudWordCasingLowerCase, + WordCloudWordCasingExistingCase, + } +} + +const ( + // WordCloudWordOrientationHorizontal is a WordCloudWordOrientation enum value + WordCloudWordOrientationHorizontal = "HORIZONTAL" + + // WordCloudWordOrientationHorizontalAndVertical is a WordCloudWordOrientation enum value + WordCloudWordOrientationHorizontalAndVertical = "HORIZONTAL_AND_VERTICAL" +) + +// WordCloudWordOrientation_Values returns all elements of the WordCloudWordOrientation enum +func WordCloudWordOrientation_Values() []string { + return []string{ + WordCloudWordOrientationHorizontal, + WordCloudWordOrientationHorizontalAndVertical, + } +} + +const ( + // WordCloudWordPaddingNone is a WordCloudWordPadding enum value + WordCloudWordPaddingNone = "NONE" + + // WordCloudWordPaddingSmall is a WordCloudWordPadding enum value + WordCloudWordPaddingSmall = "SMALL" + + // WordCloudWordPaddingMedium is a WordCloudWordPadding enum value + WordCloudWordPaddingMedium = "MEDIUM" + + // WordCloudWordPaddingLarge is a WordCloudWordPadding enum value + WordCloudWordPaddingLarge = "LARGE" +) + +// WordCloudWordPadding_Values returns all elements of the WordCloudWordPadding enum +func WordCloudWordPadding_Values() []string { + return []string{ + WordCloudWordPaddingNone, + WordCloudWordPaddingSmall, + WordCloudWordPaddingMedium, + WordCloudWordPaddingLarge, + } +} + +const ( + // WordCloudWordScalingEmphasize is a WordCloudWordScaling enum value + WordCloudWordScalingEmphasize = "EMPHASIZE" + + // WordCloudWordScalingNormal is a WordCloudWordScaling enum value + WordCloudWordScalingNormal = "NORMAL" +) + +// WordCloudWordScaling_Values returns all elements of the WordCloudWordScaling enum +func WordCloudWordScaling_Values() []string { + return []string{ + WordCloudWordScalingEmphasize, + WordCloudWordScalingNormal, + } +} diff --git a/service/quicksight/quicksightiface/interface.go b/service/quicksight/quicksightiface/interface.go index 85e422f5210..8ca27fb9415 100644 --- a/service/quicksight/quicksightiface/interface.go +++ b/service/quicksight/quicksightiface/interface.go @@ -220,6 +220,10 @@ type QuickSightAPI interface { DescribeAnalysisWithContext(aws.Context, *quicksight.DescribeAnalysisInput, ...request.Option) (*quicksight.DescribeAnalysisOutput, error) DescribeAnalysisRequest(*quicksight.DescribeAnalysisInput) (*request.Request, *quicksight.DescribeAnalysisOutput) + DescribeAnalysisDefinition(*quicksight.DescribeAnalysisDefinitionInput) (*quicksight.DescribeAnalysisDefinitionOutput, error) + DescribeAnalysisDefinitionWithContext(aws.Context, *quicksight.DescribeAnalysisDefinitionInput, ...request.Option) (*quicksight.DescribeAnalysisDefinitionOutput, error) + DescribeAnalysisDefinitionRequest(*quicksight.DescribeAnalysisDefinitionInput) (*request.Request, *quicksight.DescribeAnalysisDefinitionOutput) + DescribeAnalysisPermissions(*quicksight.DescribeAnalysisPermissionsInput) (*quicksight.DescribeAnalysisPermissionsOutput, error) DescribeAnalysisPermissionsWithContext(aws.Context, *quicksight.DescribeAnalysisPermissionsInput, ...request.Option) (*quicksight.DescribeAnalysisPermissionsOutput, error) DescribeAnalysisPermissionsRequest(*quicksight.DescribeAnalysisPermissionsInput) (*request.Request, *quicksight.DescribeAnalysisPermissionsOutput) @@ -228,6 +232,10 @@ type QuickSightAPI interface { DescribeDashboardWithContext(aws.Context, *quicksight.DescribeDashboardInput, ...request.Option) (*quicksight.DescribeDashboardOutput, error) DescribeDashboardRequest(*quicksight.DescribeDashboardInput) (*request.Request, *quicksight.DescribeDashboardOutput) + DescribeDashboardDefinition(*quicksight.DescribeDashboardDefinitionInput) (*quicksight.DescribeDashboardDefinitionOutput, error) + DescribeDashboardDefinitionWithContext(aws.Context, *quicksight.DescribeDashboardDefinitionInput, ...request.Option) (*quicksight.DescribeDashboardDefinitionOutput, error) + DescribeDashboardDefinitionRequest(*quicksight.DescribeDashboardDefinitionInput) (*request.Request, *quicksight.DescribeDashboardDefinitionOutput) + DescribeDashboardPermissions(*quicksight.DescribeDashboardPermissionsInput) (*quicksight.DescribeDashboardPermissionsOutput, error) DescribeDashboardPermissionsWithContext(aws.Context, *quicksight.DescribeDashboardPermissionsInput, ...request.Option) (*quicksight.DescribeDashboardPermissionsOutput, error) DescribeDashboardPermissionsRequest(*quicksight.DescribeDashboardPermissionsInput) (*request.Request, *quicksight.DescribeDashboardPermissionsOutput) @@ -292,6 +300,10 @@ type QuickSightAPI interface { DescribeTemplateAliasWithContext(aws.Context, *quicksight.DescribeTemplateAliasInput, ...request.Option) (*quicksight.DescribeTemplateAliasOutput, error) DescribeTemplateAliasRequest(*quicksight.DescribeTemplateAliasInput) (*request.Request, *quicksight.DescribeTemplateAliasOutput) + DescribeTemplateDefinition(*quicksight.DescribeTemplateDefinitionInput) (*quicksight.DescribeTemplateDefinitionOutput, error) + DescribeTemplateDefinitionWithContext(aws.Context, *quicksight.DescribeTemplateDefinitionInput, ...request.Option) (*quicksight.DescribeTemplateDefinitionOutput, error) + DescribeTemplateDefinitionRequest(*quicksight.DescribeTemplateDefinitionInput) (*request.Request, *quicksight.DescribeTemplateDefinitionOutput) + DescribeTemplatePermissions(*quicksight.DescribeTemplatePermissionsInput) (*quicksight.DescribeTemplatePermissionsOutput, error) DescribeTemplatePermissionsWithContext(aws.Context, *quicksight.DescribeTemplatePermissionsInput, ...request.Option) (*quicksight.DescribeTemplatePermissionsOutput, error) DescribeTemplatePermissionsRequest(*quicksight.DescribeTemplatePermissionsInput) (*request.Request, *quicksight.DescribeTemplatePermissionsOutput) diff --git a/service/s3control/api.go b/service/s3control/api.go index cbe7d702b20..3395eba4a4e 100644 --- a/service/s3control/api.go +++ b/service/s3control/api.go @@ -3208,7 +3208,7 @@ func (c *S3Control) GetMultiRegionAccessPointRequest(input *GetMultiRegionAccess op := &request.Operation{ Name: opGetMultiRegionAccessPoint, HTTPMethod: "GET", - HTTPPath: "/v20180820/mrap/instances/{name}", + HTTPPath: "/v20180820/mrap/instances/{name+}", } if input == nil { @@ -3303,7 +3303,7 @@ func (c *S3Control) GetMultiRegionAccessPointPolicyRequest(input *GetMultiRegion op := &request.Operation{ Name: opGetMultiRegionAccessPointPolicy, HTTPMethod: "GET", - HTTPPath: "/v20180820/mrap/instances/{name}/policy", + HTTPPath: "/v20180820/mrap/instances/{name+}/policy", } if input == nil { @@ -3393,7 +3393,7 @@ func (c *S3Control) GetMultiRegionAccessPointPolicyStatusRequest(input *GetMulti op := &request.Operation{ Name: opGetMultiRegionAccessPointPolicyStatus, HTTPMethod: "GET", - HTTPPath: "/v20180820/mrap/instances/{name}/policystatus", + HTTPPath: "/v20180820/mrap/instances/{name+}/policystatus", } if input == nil { @@ -3455,6 +3455,102 @@ func (c *S3Control) GetMultiRegionAccessPointPolicyStatusWithContext(ctx aws.Con return out, req.Send() } +const opGetMultiRegionAccessPointRoutes = "GetMultiRegionAccessPointRoutes" + +// GetMultiRegionAccessPointRoutesRequest generates a "aws/request.Request" representing the +// client's request for the GetMultiRegionAccessPointRoutes operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetMultiRegionAccessPointRoutes for more information on using the GetMultiRegionAccessPointRoutes +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetMultiRegionAccessPointRoutesRequest method. +// req, resp := client.GetMultiRegionAccessPointRoutesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetMultiRegionAccessPointRoutes +func (c *S3Control) GetMultiRegionAccessPointRoutesRequest(input *GetMultiRegionAccessPointRoutesInput) (req *request.Request, output *GetMultiRegionAccessPointRoutesOutput) { + op := &request.Operation{ + Name: opGetMultiRegionAccessPointRoutes, + HTTPMethod: "GET", + HTTPPath: "/v20180820/mrap/instances/{mrap+}/routes", + } + + if input == nil { + input = &GetMultiRegionAccessPointRoutesInput{} + } + + output = &GetMultiRegionAccessPointRoutesOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("{AccountId}.", input.hostLabels)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + req.Handlers.Build.PushBackNamed(request.NamedHandler{ + Name: "contentMd5Handler", + Fn: checksum.AddBodyContentMD5Handler, + }) + return +} + +// GetMultiRegionAccessPointRoutes API operation for AWS S3 Control. +// +// Returns the routing configuration for a Multi-Region Access Point, indicating +// which Regions are active or passive. +// +// To obtain routing control changes and failover requests, use the Amazon S3 +// failover control infrastructure endpoints in these five Amazon Web Services +// Regions: +// +// - us-east-1 +// +// - us-west-2 +// +// - ap-southeast-2 +// +// - ap-northeast-1 +// +// - eu-west-1 +// +// Your Amazon S3 bucket does not need to be in these five Regions. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS S3 Control's +// API operation GetMultiRegionAccessPointRoutes for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetMultiRegionAccessPointRoutes +func (c *S3Control) GetMultiRegionAccessPointRoutes(input *GetMultiRegionAccessPointRoutesInput) (*GetMultiRegionAccessPointRoutesOutput, error) { + req, out := c.GetMultiRegionAccessPointRoutesRequest(input) + return out, req.Send() +} + +// GetMultiRegionAccessPointRoutesWithContext is the same as GetMultiRegionAccessPointRoutes with the addition of +// the ability to pass a context and additional request options. +// +// See GetMultiRegionAccessPointRoutes for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *S3Control) GetMultiRegionAccessPointRoutesWithContext(ctx aws.Context, input *GetMultiRegionAccessPointRoutesInput, opts ...request.Option) (*GetMultiRegionAccessPointRoutesOutput, error) { + req, out := c.GetMultiRegionAccessPointRoutesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetPublicAccessBlock = "GetPublicAccessBlock" // GetPublicAccessBlockRequest generates a "aws/request.Request" representing the @@ -5825,6 +5921,115 @@ func (c *S3Control) PutStorageLensConfigurationTaggingWithContext(ctx aws.Contex return out, req.Send() } +const opSubmitMultiRegionAccessPointRoutes = "SubmitMultiRegionAccessPointRoutes" + +// SubmitMultiRegionAccessPointRoutesRequest generates a "aws/request.Request" representing the +// client's request for the SubmitMultiRegionAccessPointRoutes operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See SubmitMultiRegionAccessPointRoutes for more information on using the SubmitMultiRegionAccessPointRoutes +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the SubmitMultiRegionAccessPointRoutesRequest method. +// req, resp := client.SubmitMultiRegionAccessPointRoutesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/SubmitMultiRegionAccessPointRoutes +func (c *S3Control) SubmitMultiRegionAccessPointRoutesRequest(input *SubmitMultiRegionAccessPointRoutesInput) (req *request.Request, output *SubmitMultiRegionAccessPointRoutesOutput) { + op := &request.Operation{ + Name: opSubmitMultiRegionAccessPointRoutes, + HTTPMethod: "PATCH", + HTTPPath: "/v20180820/mrap/instances/{mrap+}/routes", + } + + if input == nil { + input = &SubmitMultiRegionAccessPointRoutesInput{} + } + + output = &SubmitMultiRegionAccessPointRoutesOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restxml.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("{AccountId}.", input.hostLabels)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + req.Handlers.Build.PushBackNamed(request.NamedHandler{ + Name: "contentMd5Handler", + Fn: checksum.AddBodyContentMD5Handler, + }) + return +} + +// SubmitMultiRegionAccessPointRoutes API operation for AWS S3 Control. +// +// Submits an updated route configuration for a Multi-Region Access Point. This +// API operation updates the routing status for the specified Regions from active +// to passive, or from passive to active. A value of 0 indicates a passive status, +// which means that traffic won't be routed to the specified Region. A value +// of 100 indicates an active status, which means that traffic will be routed +// to the specified Region. At least one Region must be active at all times. +// +// When the routing configuration is changed, any in-progress operations (uploads, +// copies, deletes, and so on) to formerly active Regions will continue to run +// to their final completion state (success or failure). The routing configurations +// of any Regions that aren’t specified remain unchanged. +// +// Updated routing configurations might not be immediately applied. It can take +// up to 2 minutes for your changes to take effect. +// +// To submit routing control changes and failover requests, use the Amazon S3 +// failover control infrastructure endpoints in these five Amazon Web Services +// Regions: +// +// - us-east-1 +// +// - us-west-2 +// +// - ap-southeast-2 +// +// - ap-northeast-1 +// +// - eu-west-1 +// +// Your Amazon S3 bucket does not need to be in these five Regions. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS S3 Control's +// API operation SubmitMultiRegionAccessPointRoutes for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/SubmitMultiRegionAccessPointRoutes +func (c *S3Control) SubmitMultiRegionAccessPointRoutes(input *SubmitMultiRegionAccessPointRoutesInput) (*SubmitMultiRegionAccessPointRoutesOutput, error) { + req, out := c.SubmitMultiRegionAccessPointRoutesRequest(input) + return out, req.Send() +} + +// SubmitMultiRegionAccessPointRoutesWithContext is the same as SubmitMultiRegionAccessPointRoutes with the addition of +// the ability to pass a context and additional request options. +// +// See SubmitMultiRegionAccessPointRoutes for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *S3Control) SubmitMultiRegionAccessPointRoutesWithContext(ctx aws.Context, input *SubmitMultiRegionAccessPointRoutesInput, opts ...request.Option) (*SubmitMultiRegionAccessPointRoutesOutput, error) { + req, out := c.SubmitMultiRegionAccessPointRoutesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdateJobPriority = "UpdateJobPriority" // UpdateJobPriorityRequest generates a "aws/request.Request" representing the @@ -11986,6 +12191,120 @@ func (s *GetMultiRegionAccessPointPolicyStatusOutput) SetEstablished(v *PolicySt return s } +type GetMultiRegionAccessPointRoutesInput struct { + _ struct{} `locationName:"GetMultiRegionAccessPointRoutesRequest" type:"structure"` + + // The Amazon Web Services account ID for the owner of the Multi-Region Access + // Point. + // + // AccountId is a required field + AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"` + + // The Multi-Region Access Point ARN. + // + // Mrap is a required field + Mrap *string `location:"uri" locationName:"mrap" type:"string" required:"true"` +} + +// 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 GetMultiRegionAccessPointRoutesInput) 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 GetMultiRegionAccessPointRoutesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetMultiRegionAccessPointRoutesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetMultiRegionAccessPointRoutesInput"} + if s.AccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AccountId")) + } + if s.AccountId != nil && len(*s.AccountId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AccountId", 1)) + } + if s.Mrap == nil { + invalidParams.Add(request.NewErrParamRequired("Mrap")) + } + if s.Mrap != nil && len(*s.Mrap) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Mrap", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAccountId sets the AccountId field's value. +func (s *GetMultiRegionAccessPointRoutesInput) SetAccountId(v string) *GetMultiRegionAccessPointRoutesInput { + s.AccountId = &v + return s +} + +// SetMrap sets the Mrap field's value. +func (s *GetMultiRegionAccessPointRoutesInput) SetMrap(v string) *GetMultiRegionAccessPointRoutesInput { + s.Mrap = &v + return s +} + +func (s *GetMultiRegionAccessPointRoutesInput) hostLabels() map[string]string { + return map[string]string{ + "AccountId": aws.StringValue(s.AccountId), + } +} + +type GetMultiRegionAccessPointRoutesOutput struct { + _ struct{} `type:"structure"` + + // The Multi-Region Access Point ARN. + Mrap *string `type:"string"` + + // The different routes that make up the route configuration. Active routes + // return a value of 100, and passive routes return a value of 0. + Routes []*MultiRegionAccessPointRoute `locationNameList:"Route" 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 GetMultiRegionAccessPointRoutesOutput) 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 GetMultiRegionAccessPointRoutesOutput) GoString() string { + return s.String() +} + +// SetMrap sets the Mrap field's value. +func (s *GetMultiRegionAccessPointRoutesOutput) SetMrap(v string) *GetMultiRegionAccessPointRoutesOutput { + s.Mrap = &v + return s +} + +// SetRoutes sets the Routes field's value. +func (s *GetMultiRegionAccessPointRoutesOutput) SetRoutes(v []*MultiRegionAccessPointRoute) *GetMultiRegionAccessPointRoutesOutput { + s.Routes = v + return s +} + type GetPublicAccessBlockInput struct { _ struct{} `locationName:"GetPublicAccessBlockRequest" type:"structure"` @@ -14857,6 +15176,103 @@ func (s *MultiRegionAccessPointReport) SetStatus(v string) *MultiRegionAccessPoi return s } +// A structure for a Multi-Region Access Point that indicates where Amazon S3 +// traffic can be routed. Routes can be either active or passive. Active routes +// can process Amazon S3 requests through the Multi-Region Access Point, but +// passive routes are not eligible to process Amazon S3 requests. +// +// Each route contains the Amazon S3 bucket name and the Amazon Web Services +// Region that the bucket is located in. The route also includes the TrafficDialPercentage +// value, which shows whether the bucket and Region are active (indicated by +// a value of 100) or passive (indicated by a value of 0). +type MultiRegionAccessPointRoute struct { + _ struct{} `type:"structure"` + + // The name of the Amazon S3 bucket for which you'll submit a routing configuration + // change. Either the Bucket or the Region value must be provided. If both are + // provided, the bucket must be in the specified Region. + Bucket *string `min:"3" type:"string"` + + // The Amazon Web Services Region to which you'll be submitting a routing configuration + // change. Either the Bucket or the Region value must be provided. If both are + // provided, the bucket must be in the specified Region. + Region *string `min:"1" type:"string"` + + // The traffic state for the specified bucket or Amazon Web Services Region. + // + // A value of 0 indicates a passive state, which means that no new traffic will + // be routed to the Region. + // + // A value of 100 indicates an active state, which means that traffic will be + // routed to the specified Region. + // + // When the routing configuration for a Region is changed from active to passive, + // any in-progress operations (uploads, copies, deletes, and so on) to the formerly + // active Region will continue to run to until a final success or failure status + // is reached. + // + // If all Regions in the routing configuration are designated as passive, you'll + // receive an InvalidRequest error. + // + // TrafficDialPercentage is a required field + TrafficDialPercentage *int64 `type:"integer" required:"true"` +} + +// 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 MultiRegionAccessPointRoute) 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 MultiRegionAccessPointRoute) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *MultiRegionAccessPointRoute) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "MultiRegionAccessPointRoute"} + if s.Bucket != nil && len(*s.Bucket) < 3 { + invalidParams.Add(request.NewErrParamMinLen("Bucket", 3)) + } + if s.Region != nil && len(*s.Region) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Region", 1)) + } + if s.TrafficDialPercentage == nil { + invalidParams.Add(request.NewErrParamRequired("TrafficDialPercentage")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBucket sets the Bucket field's value. +func (s *MultiRegionAccessPointRoute) SetBucket(v string) *MultiRegionAccessPointRoute { + s.Bucket = &v + return s +} + +// SetRegion sets the Region field's value. +func (s *MultiRegionAccessPointRoute) SetRegion(v string) *MultiRegionAccessPointRoute { + s.Region = &v + return s +} + +// SetTrafficDialPercentage sets the TrafficDialPercentage field's value. +func (s *MultiRegionAccessPointRoute) SetTrafficDialPercentage(v int64) *MultiRegionAccessPointRoute { + s.TrafficDialPercentage = &v + return s +} + // The Multi-Region Access Point details that are returned when querying about // an asynchronous request. type MultiRegionAccessPointsAsyncResponse struct { @@ -19466,6 +19882,126 @@ func (s *StorageLensTag) SetValue(v string) *StorageLensTag { return s } +type SubmitMultiRegionAccessPointRoutesInput struct { + _ struct{} `locationName:"SubmitMultiRegionAccessPointRoutesRequest" type:"structure" xmlURI:"http://awss3control.amazonaws.com/doc/2018-08-20/"` + + // The Amazon Web Services account ID for the owner of the Multi-Region Access + // Point. + // + // AccountId is a required field + AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"` + + // The Multi-Region Access Point ARN. + // + // Mrap is a required field + Mrap *string `location:"uri" locationName:"mrap" type:"string" required:"true"` + + // The different routes that make up the new route configuration. Active routes + // return a value of 100, and passive routes return a value of 0. + // + // RouteUpdates is a required field + RouteUpdates []*MultiRegionAccessPointRoute `locationNameList:"Route" type:"list" required:"true"` +} + +// 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 SubmitMultiRegionAccessPointRoutesInput) 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 SubmitMultiRegionAccessPointRoutesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *SubmitMultiRegionAccessPointRoutesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SubmitMultiRegionAccessPointRoutesInput"} + if s.AccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AccountId")) + } + if s.AccountId != nil && len(*s.AccountId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AccountId", 1)) + } + if s.Mrap == nil { + invalidParams.Add(request.NewErrParamRequired("Mrap")) + } + if s.Mrap != nil && len(*s.Mrap) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Mrap", 1)) + } + if s.RouteUpdates == nil { + invalidParams.Add(request.NewErrParamRequired("RouteUpdates")) + } + if s.RouteUpdates != nil { + for i, v := range s.RouteUpdates { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RouteUpdates", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAccountId sets the AccountId field's value. +func (s *SubmitMultiRegionAccessPointRoutesInput) SetAccountId(v string) *SubmitMultiRegionAccessPointRoutesInput { + s.AccountId = &v + return s +} + +// SetMrap sets the Mrap field's value. +func (s *SubmitMultiRegionAccessPointRoutesInput) SetMrap(v string) *SubmitMultiRegionAccessPointRoutesInput { + s.Mrap = &v + return s +} + +// SetRouteUpdates sets the RouteUpdates field's value. +func (s *SubmitMultiRegionAccessPointRoutesInput) SetRouteUpdates(v []*MultiRegionAccessPointRoute) *SubmitMultiRegionAccessPointRoutesInput { + s.RouteUpdates = v + return s +} + +func (s *SubmitMultiRegionAccessPointRoutesInput) hostLabels() map[string]string { + return map[string]string{ + "AccountId": aws.StringValue(s.AccountId), + } +} + +type SubmitMultiRegionAccessPointRoutesOutput struct { + _ struct{} `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 SubmitMultiRegionAccessPointRoutesOutput) 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 SubmitMultiRegionAccessPointRoutesOutput) GoString() string { + return s.String() +} + type Tagging struct { _ struct{} `type:"structure"` diff --git a/service/s3control/s3controliface/interface.go b/service/s3control/s3controliface/interface.go index eda44b59d07..1cfbcbfea8f 100644 --- a/service/s3control/s3controliface/interface.go +++ b/service/s3control/s3controliface/interface.go @@ -204,6 +204,10 @@ type S3ControlAPI interface { GetMultiRegionAccessPointPolicyStatusWithContext(aws.Context, *s3control.GetMultiRegionAccessPointPolicyStatusInput, ...request.Option) (*s3control.GetMultiRegionAccessPointPolicyStatusOutput, error) GetMultiRegionAccessPointPolicyStatusRequest(*s3control.GetMultiRegionAccessPointPolicyStatusInput) (*request.Request, *s3control.GetMultiRegionAccessPointPolicyStatusOutput) + GetMultiRegionAccessPointRoutes(*s3control.GetMultiRegionAccessPointRoutesInput) (*s3control.GetMultiRegionAccessPointRoutesOutput, error) + GetMultiRegionAccessPointRoutesWithContext(aws.Context, *s3control.GetMultiRegionAccessPointRoutesInput, ...request.Option) (*s3control.GetMultiRegionAccessPointRoutesOutput, error) + GetMultiRegionAccessPointRoutesRequest(*s3control.GetMultiRegionAccessPointRoutesInput) (*request.Request, *s3control.GetMultiRegionAccessPointRoutesOutput) + GetPublicAccessBlock(*s3control.GetPublicAccessBlockInput) (*s3control.GetPublicAccessBlockOutput, error) GetPublicAccessBlockWithContext(aws.Context, *s3control.GetPublicAccessBlockInput, ...request.Option) (*s3control.GetPublicAccessBlockOutput, error) GetPublicAccessBlockRequest(*s3control.GetPublicAccessBlockInput) (*request.Request, *s3control.GetPublicAccessBlockOutput) @@ -306,6 +310,10 @@ type S3ControlAPI interface { PutStorageLensConfigurationTaggingWithContext(aws.Context, *s3control.PutStorageLensConfigurationTaggingInput, ...request.Option) (*s3control.PutStorageLensConfigurationTaggingOutput, error) PutStorageLensConfigurationTaggingRequest(*s3control.PutStorageLensConfigurationTaggingInput) (*request.Request, *s3control.PutStorageLensConfigurationTaggingOutput) + SubmitMultiRegionAccessPointRoutes(*s3control.SubmitMultiRegionAccessPointRoutesInput) (*s3control.SubmitMultiRegionAccessPointRoutesOutput, error) + SubmitMultiRegionAccessPointRoutesWithContext(aws.Context, *s3control.SubmitMultiRegionAccessPointRoutesInput, ...request.Option) (*s3control.SubmitMultiRegionAccessPointRoutesOutput, error) + SubmitMultiRegionAccessPointRoutesRequest(*s3control.SubmitMultiRegionAccessPointRoutesInput) (*request.Request, *s3control.SubmitMultiRegionAccessPointRoutesOutput) + UpdateJobPriority(*s3control.UpdateJobPriorityInput) (*s3control.UpdateJobPriorityOutput, error) UpdateJobPriorityWithContext(aws.Context, *s3control.UpdateJobPriorityInput, ...request.Option) (*s3control.UpdateJobPriorityOutput, error) UpdateJobPriorityRequest(*s3control.UpdateJobPriorityInput) (*request.Request, *s3control.UpdateJobPriorityOutput) diff --git a/service/securityhub/api.go b/service/securityhub/api.go index 845c782e804..faa1ff93bd9 100644 --- a/service/securityhub/api.go +++ b/service/securityhub/api.go @@ -45510,7 +45510,7 @@ func (s *SortCriterion) SetSortOrder(v string) *SortCriterion { return s } -// Provides information about a specific standard. +// Provides information about a specific security standard. type Standard struct { _ struct{} `type:"structure"` @@ -45530,6 +45530,9 @@ type Standard struct { // The ARN of a standard. StandardsArn *string `type:"string"` + + // Provides details about the management of a standard. + StandardsManagedBy *StandardsManagedBy `type:"structure"` } // String returns the string representation. @@ -45574,6 +45577,12 @@ func (s *Standard) SetStandardsArn(v string) *Standard { return s } +// SetStandardsManagedBy sets the StandardsManagedBy field's value. +func (s *Standard) SetStandardsManagedBy(v *StandardsManagedBy) *Standard { + s.StandardsManagedBy = v + return s +} + // Details for an individual security standard control. type StandardsControl struct { _ struct{} `type:"structure"` @@ -45695,6 +45704,50 @@ func (s *StandardsControl) SetTitle(v string) *StandardsControl { return s } +// Provides details about the management of a security standard. +type StandardsManagedBy struct { + _ struct{} `type:"structure"` + + // An identifier for the company that manages a specific security standard. + // For existing standards, the value is equal to Amazon Web Services. + Company *string `type:"string"` + + // An identifier for the product that manages a specific security standard. + // For existing standards, the value is equal to the Amazon Web Services service + // that manages the standard. + Product *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 StandardsManagedBy) 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 StandardsManagedBy) GoString() string { + return s.String() +} + +// SetCompany sets the Company field's value. +func (s *StandardsManagedBy) SetCompany(v string) *StandardsManagedBy { + s.Company = &v + return s +} + +// SetProduct sets the Product field's value. +func (s *StandardsManagedBy) SetProduct(v string) *StandardsManagedBy { + s.Product = &v + return s +} + // The reason for the current status of a standard subscription. type StandardsStatusReason struct { _ struct{} `type:"structure"`